/* ============================================================
   TheCorporateTimes.com — Main Stylesheet v3
   Brand: Charcoal #1F1F1F + Saffron #F4A024
   Phase 1 update: typography, compact footer, article styles
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --charcoal: #1F1F1F;
  --saffron:  #F4A024;
  --white:    #FFFFFF;
  --light:    #F7F7F5;
  --border:   #E8E8E8;
  --text:     #1F1F1F;
  --muted:    #888888;
  --radius:   10px;
  --shadow:   0 2px 16px rgba(0,0,0,0.07);
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text); background: #fff; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--charcoal); text-decoration: none; }
a:hover { color: var(--saffron); }
img { max-width: 100%; display: block; }

/* ── NAVBAR ───────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center;
  justify-content: space-between; height: 58px;
}
.nav-brand { display: flex; align-items: center; gap: 9px; }
.nav-brand-text { line-height: 1.1; }
.nav-brand-text .t1 { font-size: 7px; font-weight: 700; color: var(--charcoal); letter-spacing: 3px; }
.nav-brand-text .t2 { font-size: 13px; font-weight: 700; color: var(--charcoal); letter-spacing: 0.8px; }
.nav-brand-text .t3 { font-size: 7px; font-weight: 700; color: var(--saffron); letter-spacing: 3px; }
.nav-menu { display: none; list-style: none; gap: 20px; align-items: center; }
.nav-menu a { font-size: 13px; color: var(--text); font-weight: 500; transition: color 0.15s; }
.nav-menu a:hover, .nav-menu a.active { color: var(--saffron); }
.nav-cta { background: var(--charcoal); color: var(--saffron) !important; padding: 8px 16px; border-radius: 20px; font-size: 12px !important; font-weight: 700 !important; }
.hamburger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 11px; margin: -11px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; touch-action: manipulation; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
.mobile-nav { display: none; padding: 10px 20px 14px; border-top: 1px solid var(--border); background: #fff; position: relative; z-index: 201; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 10px 0; font-size: 14px; color: var(--text); border-bottom: 1px solid var(--border); }
.mobile-nav a:last-child { border-bottom: none; }

/* ── TICKER ───────────────────────────────────────────────── */
.ticker-wrap { background: var(--charcoal); overflow: hidden; padding: 9px 0; }
.ticker-track { display: inline-flex; white-space: nowrap; animation: ticker 40s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-item { padding: 0 32px; font-size: 12px; font-weight: 600; color: var(--saffron); }
.ticker-item::before { content: '◆'; margin-right: 10px; opacity: 0.5; }
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn { display: inline-block; font-weight: 700; border: none; cursor: pointer; transition: 0.15s; text-align: center; }
.btn-dark { background: var(--charcoal); color: var(--saffron); padding: 11px 24px; border-radius: 24px; font-size: 13px; }
.btn-dark:hover { background: #333; color: var(--saffron); }
.btn-saffron { background: var(--saffron); color: var(--charcoal); padding: 11px 24px; border-radius: 24px; font-size: 13px; }
.btn-outline { background: transparent; color: var(--charcoal); padding: 10px 22px; border-radius: 24px; font-size: 13px; border: 1.5px solid var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: var(--saffron); }
.btn-sm { padding: 6px 14px; border-radius: 6px; font-size: 12px; }
.btn-block { display: block; width: 100%; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero { background: var(--charcoal); padding: 52px 20px; text-align: center; }
.hero h1 { font-size: clamp(22px,5vw,40px); font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 14px; }
.hero h1 em { color: var(--saffron); font-style: normal; }
.hero p { font-size: clamp(13px,2vw,16px); color: #AAA; max-width: 520px; margin: 0 auto 26px; line-height: 1.7; }
.hero-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ── CONTAINER ────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section { padding: 40px 0; }
.section-title { font-size: clamp(18px,3vw,24px); font-weight: 700; color: var(--charcoal); margin-bottom: 6px; }
.section-line { width: 32px; height: 3px; background: var(--saffron); border-radius: 2px; margin: 6px 0 10px; }
.section-sub { font-size: 13px; color: var(--muted); }

/* ── CARDS ────────────────────────────────────────────────── */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.card:hover { box-shadow: var(--shadow); }

/* ── NEWS GRID ────────────────────────────────────────────── */
.news-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.news-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.15s, transform 0.15s; background: #fff; }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.news-thumb { height: 170px; background: var(--light); display: flex; align-items: center; justify-content: center; font-size: 36px; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 14px; }
.news-body h3 { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.45; margin: 8px 0 6px; }
.news-body p { font-size: 12px; color: var(--muted); line-height: 1.55; }
.news-foot { padding: 8px 14px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.news-foot span { font-size: 11px; color: #AAA; }
.news-featured { background: var(--charcoal); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; }
.news-featured h2 { font-size: clamp(15px,2.5vw,20px); font-weight: 700; color: #fff; margin: 10px 0 10px; line-height: 1.35; }
.news-featured p { font-size: 13px; color: #AAA; margin-bottom: 14px; line-height: 1.65; }
.news-featured a.read { color: var(--saffron); font-weight: 700; font-size: 13px; }

/* ── BADGE ────────────────────────────────────────────────── */
.badge { display: inline-block; padding: 3px 9px; border-radius: 4px; font-size: 10px; font-weight: 700; letter-spacing: 0.4px; }

/* ── FELLOWSHIP STRIP ─────────────────────────────────────── */
.fellowship-strip { background: var(--charcoal); border-radius: var(--radius); padding: 32px 24px; text-align: center; }
.fellowship-strip h2 { font-size: clamp(17px,3vw,22px); font-weight: 700; color: #fff; margin-bottom: 8px; }
.fellowship-strip p { font-size: 13px; color: #AAA; margin-bottom: 18px; line-height: 1.7; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 18px; }
.pill { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: var(--saffron); font-size: 11px; font-weight: 600; padding: 5px 12px; border-radius: 20px; }
.cert-box { background: rgba(244,160,36,0.1); border: 1px solid rgba(244,160,36,0.3); border-radius: 8px; padding: 14px 18px; text-align: left; display: inline-block; margin-bottom: 18px; }
.cert-box strong { font-size: 12px; color: #fff; display: block; margin-bottom: 6px; }
.cert-box p { font-size: 11px; color: var(--saffron); line-height: 1.8; }

/* ── FORMS ────────────────────────────────────────────────── */
.form-wrap { max-width: 620px; margin: 0 auto; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.form-header { background: var(--charcoal); padding: 22px 26px; }
.form-header h2 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.form-header p { font-size: 11px; color: #AAA; }
.form-body { padding: 24px 26px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 11px; font-weight: 700; color: #555; margin-bottom: 5px; }
.form-group label .req { color: #c00; margin-left: 2px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 13px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 14px; color: var(--text); background: #fff;
  transition: border-color 0.15s; -webkit-appearance: none;
  font-family: inherit;
}
.form-group input[type="checkbox"], .form-group input[type="radio"] {
  width: auto; padding: 0; border: 0; -webkit-appearance: checkbox;
  appearance: auto; accent-color: var(--charcoal, #1F1F1F);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--charcoal);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.step-bar { display: flex; padding: 14px 26px; gap: 6px; background: var(--light); border-bottom: 1px solid var(--border); }
.step-item { flex: 1; text-align: center; }
.step-dot { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; margin: 0 auto 4px; border: 2px solid var(--border); color: #AAA; background: #fff; }
.step-dot.done { background: var(--charcoal); color: var(--saffron); border-color: var(--charcoal); }
.step-dot.active { background: var(--saffron); color: var(--charcoal); border-color: var(--saffron); }
.step-lbl { font-size: 9px; color: var(--muted); }
.step-lbl.active { color: var(--charcoal); font-weight: 700; }
.interest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.interest-item { display: flex; align-items: center; gap: 7px; background: var(--light); padding: 8px 10px; border-radius: 7px; border: 1.5px solid transparent; cursor: pointer; }
.interest-item:has(input:checked) { border-color: var(--charcoal); background: #F0EEE8; }
.interest-item input { accent-color: var(--charcoal); width: 14px; height: 14px; }
.interest-item span { font-size: 12px; color: var(--text); }
.tc-row { display: flex; align-items: flex-start; gap: 9px; background: var(--light); padding: 11px 13px; border-radius: 8px; }
.tc-row input { accent-color: var(--charcoal); width: 15px; height: 15px; margin-top: 2px; flex-shrink: 0; }
.tc-row label { font-size: 12px; color: var(--muted); line-height: 1.5; }
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 20px; }
.btn-back { background: none; border: 1.5px solid var(--border); color: var(--text); padding: 10px 20px; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; }
.btn-next { background: var(--charcoal); color: var(--saffron); padding: 10px 24px; border-radius: 8px; font-size: 13px; font-weight: 700; border: none; cursor: pointer; }
.btn-submit { background: var(--saffron); color: var(--charcoal); padding: 10px 28px; border-radius: 8px; font-size: 13px; font-weight: 700; border: none; cursor: pointer; }
.upload-zone { border: 2px dashed var(--border); border-radius: 10px; padding: 22px; text-align: center; cursor: pointer; background: var(--light); transition: 0.15s; }
.upload-zone:hover { border-color: var(--saffron); }
.upload-zone .uz-icon { font-size: 28px; margin-bottom: 6px; }
.upload-zone h4 { font-size: 13px; font-weight: 700; color: var(--charcoal); margin-bottom: 4px; }
.upload-zone p { font-size: 11px; color: var(--muted); }

/* ── ALERTS ───────────────────────────────────────────────── */
.alert { padding: 11px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; }
.alert-error { background: #FEE8E8; color: #8B1A1A; border: 1px solid #F5C0C0; }
.alert-success { background: #E8F4E8; color: #1A6B36; border: 1px solid #C8E6C9; }

/* ── POPUP ────────────────────────────────────────────────── */
.popup-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 9999; display: none; }
.popup-overlay.show { display: flex; }
.popup-box { background: #fff; border-radius: var(--radius); padding: 32px 24px; max-width: 360px; width: calc(100% - 40px); text-align: center; }
.popup-icon { width: 56px; height: 56px; border-radius: 50%; background: #E8F4E8; display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 14px; }
.popup-box h3 { font-size: 18px; font-weight: 700; color: var(--charcoal); margin-bottom: 8px; }
.popup-box p { font-size: 13px; color: var(--muted); margin-bottom: 10px; line-height: 1.6; }
.popup-regid { background: var(--light); border-radius: 8px; padding: 10px 16px; font-size: 15px; font-weight: 700; color: var(--charcoal); letter-spacing: 1.5px; margin: 10px 0 18px; }

/* ── ACCOUNT DASHBOARD ────────────────────────────────────── */
.dashboard-layout { display: grid; grid-template-columns: 1fr; gap: 20px; }
.account-sidebar { background: var(--charcoal); border-radius: var(--radius); overflow: hidden; }
.account-user { padding: 20px; border-bottom: 1px solid #2E2E2E; text-align: center; }
.user-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--saffron); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: var(--charcoal); margin: 0 auto 10px; }
.account-user h3 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.account-user p { font-size: 11px; color: #AAA; }
.account-user .regid { font-size: 10px; color: var(--saffron); letter-spacing: 1px; margin-top: 5px; }
.account-nav a { display: flex; align-items: center; gap: 9px; padding: 10px 16px; font-size: 12px; color: #AAA; transition: 0.15s; }
.account-nav a:hover, .account-nav a.active { color: #fff; background: rgba(255,255,255,0.06); }
.account-nav a.active { border-left: 3px solid var(--saffron); padding-left: 13px; }
.dash-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; }
.dash-card h3 { font-size: 13px; font-weight: 700; color: var(--charcoal); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.dash-card h3 a { font-size: 11px; font-weight: 700; color: var(--saffron); }
.info-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--light); font-size: 12px; }
.info-row:last-child { border-bottom: none; }
.info-row .lbl { color: var(--muted); min-width: 120px; }
.info-row .val { color: var(--text); font-weight: 500; text-align: right; }

/* ── ARTICLE SINGLE — PHASE 1 FIX ────────────────────────── */
.article-header { background: var(--charcoal); padding: 36px 20px; }
.article-header h1 { font-size: clamp(18px,3.5vw,26px); font-weight: 700; color: #fff; line-height: 1.35; margin-bottom: 12px; }
.author-bar { display: flex; align-items: center; gap: 12px; padding: 13px 20px; background: var(--light); border-bottom: 1px solid var(--border); }
.author-avatar-sm { width: 36px; height: 36px; border-radius: 50%; background: var(--charcoal); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--saffron); flex-shrink: 0; }

/* Article body — professional typography */
.article-body { max-width: 700px; margin: 0 auto; padding: 36px 20px 48px; }
.article-body p {
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 22px;
  color: #2A2A2A;
  letter-spacing: 0.01em;
}
.article-body h2 {
  font-size: 20px; font-weight: 700; color: var(--charcoal);
  margin: 36px 0 14px; padding-left: 14px;
  border-left: 3px solid var(--saffron);
  line-height: 1.3;
}
.article-body h3 {
  font-size: 17px; font-weight: 700; color: var(--charcoal);
  margin: 28px 0 10px; line-height: 1.35;
}
.article-body blockquote {
  background: var(--light); border-left: 4px solid var(--saffron);
  padding: 18px 22px; border-radius: 0 8px 8px 0;
  font-style: italic; color: #555; margin: 24px 0;
  font-size: 16px; line-height: 1.75;
}
.article-body ul, .article-body ol {
  padding-left: 24px; margin-bottom: 22px;
}
.article-body li {
  font-size: 16px; line-height: 1.75; margin-bottom: 8px; color: #2A2A2A;
}
.article-body strong { font-weight: 700; color: var(--charcoal); }
.article-body a { color: var(--saffron); font-weight: 600; }
.article-body img {
  width: 100%; border-radius: var(--radius); margin: 24px 0;
  border: 1px solid var(--border);
}
.article-lead {
  font-size: 18px; font-weight: 400; color: #555;
  line-height: 1.75; margin-bottom: 28px;
  padding: 18px 22px; border-left: 4px solid var(--charcoal);
  background: var(--light); border-radius: 0 8px 8px 0;
}

/* Mid-article ad */
.mid-article-ad {
  margin: 32px 0; padding: 16px;
  background: var(--light); border: 1px solid var(--border);
  border-radius: var(--radius); text-align: center;
}
.mid-article-ad .ad-label {
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  color: #BBB; margin-bottom: 10px;
}
.mid-article-ad img {
  max-width: 100%; border-radius: 6px; margin: 0 auto;
  border: none;
}

.sidebar-widget { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; margin-bottom: 14px; }
.sidebar-widget h4 { font-size: 12px; font-weight: 700; color: var(--charcoal); margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }

/* ── COMPACT FOOTER — PHASE 1 FIX ────────────────────────── */
.footer {
  background: var(--charcoal);
  padding: 28px 20px 16px;
  margin-top: 48px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr;
  gap: 20px; margin-bottom: 20px;
}
.footer-brand { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.footer-tagline { font-size: 11px; color: #666; line-height: 1.6; margin-bottom: 10px; }
.footer h4 { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; color: var(--saffron); text-transform: uppercase; margin-bottom: 10px; }
.footer-links { display: flex; flex-direction: column; gap: 5px; }
.footer-links a { font-size: 12px; color: #888; transition: color 0.15s; }
.footer-links a:hover { color: var(--saffron); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 7px; }
.footer-contact-item .fc-icon { font-size: 12px; flex-shrink: 0; margin-top: 1px; }
.footer-contact-item .fc-text { font-size: 11px; color: #777; line-height: 1.55; }
.footer-contact-item .fc-text a { color: #888; }
.footer-contact-item .fc-text a:hover { color: var(--saffron); }
.footer-map-link { font-size: 10px; font-weight: 700; color: var(--saffron); display: inline-block; margin-top: 2px; }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  border-top: 1px solid #2A2A2A; padding-top: 14px;
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 8px;
}
.footer-bottom p { font-size: 10px; color: #444; line-height: 1.6; }
.footer-bottom .footer-legal { font-size: 10px; color: #333; }

/* ── ADMIN ────────────────────────────────────────────────── */
.admin-wrap { display: flex; min-height: 100vh; }
.admin-sidebar { width: 210px; background: var(--charcoal); flex-shrink: 0; position: fixed; top: 0; left: 0; height: 100vh; overflow-y: auto; z-index: 100; }
.admin-brand { padding: 18px 16px 14px; border-bottom: 1px solid #2E2E2E; }
.admin-brand h3 { font-size: 12px; font-weight: 700; color: var(--saffron); margin-bottom: 2px; }
.admin-brand p { font-size: 10px; color: #555; }
.admin-nav a { display: flex; align-items: center; gap: 9px; padding: 10px 16px; font-size: 12px; color: #888; transition: 0.15s; }
.admin-nav a:hover, .admin-nav a.active { color: #fff; background: rgba(255,255,255,0.05); }
.admin-nav a.active { border-left: 3px solid var(--saffron); padding-left: 13px; }
.admin-nav .nav-group { font-size: 9px; font-weight: 700; letter-spacing: 1.5px; color: #444; text-transform: uppercase; padding: 10px 16px 4px; }
.admin-nav .nav-sep { border-top: 1px solid #2E2E2E; margin: 6px 0; }
.admin-main { margin-left: 210px; flex: 1; background: var(--light); padding: 24px; min-height: 100vh; }
.admin-topbar { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.admin-topbar h1 { font-size: 18px; font-weight: 700; color: var(--charcoal); }
.admin-topbar p { font-size: 11px; color: var(--muted); margin-top: 3px; }
.admin-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.admin-card-head { padding: 13px 16px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.admin-card-head h3 { font-size: 13px; font-weight: 700; color: var(--charcoal); }
.stat-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-bottom: 18px; }
.stat-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; text-align: center; }
.stat-box .num { font-size: 26px; font-weight: 700; color: var(--charcoal); margin-bottom: 3px; }
.stat-box .num.gold { color: var(--saffron); }
.stat-box .lbl { font-size: 11px; color: var(--muted); }
.stat-box .sub { font-size: 10px; color: #AAA; margin-top: 3px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.admin-table th { padding: 9px 12px; text-align: left; background: var(--light); font-weight: 700; font-size: 11px; color: var(--muted); border-bottom: 1px solid var(--border); }
.admin-table td { padding: 9px 12px; border-bottom: 1px solid var(--light); color: var(--text); vertical-align: middle; }
.admin-table tr:hover td { background: #FAFAF8; }
.status-tag { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 10px; }
.s-pending   { background: #FEF3E0; color: #7A4A00; }
.s-review    { background: #E3EEF9; color: #0A4A8F; }
.s-selected  { background: #E8F4E8; color: #1A6B36; }
.s-rejected  { background: #FEE8E8; color: #8B1A1A; }
.s-active    { background: #E8F4E8; color: #1A6B36; }
.s-suspended { background: #FEF3E0; color: #7A4A00; }
.s-featured  { background: #FEF3E0; color: #7A4A00; }
.s-open      { background: #E8F4E8; color: #1A6B36; }
.s-closed    { background: #F5F5F5; color: #888; }
.act-btn { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 5px; border: 1px solid var(--border); background: #fff; cursor: pointer; color: var(--text); }
.act-btn.primary { background: var(--charcoal); color: var(--saffron); border-color: var(--charcoal); }
.act-btn.danger { color: #c00; border-color: #f5c0c0; }
.act-btn.success { color: #1A6B36; border-color: #C8E6C9; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (min-width: 600px) {
  .news-grid { grid-template-columns: repeat(2,1fr); }
  .stat-grid { grid-template-columns: repeat(4,1fr); }
  .footer-inner { grid-template-columns: 1.8fr 1fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .nav-menu { display: flex; }
  .hamburger { display: none; }
  .news-grid { grid-template-columns: repeat(3,1fr); }
  .dashboard-layout { grid-template-columns: 200px 1fr; }
}
/* Contact page — mobile-first, 2 columns only once there is room */
.contact-2col { display: grid; grid-template-columns: 1fr; gap: 16px; }
.responsive-2col { display: grid; grid-template-columns: 1fr; gap: 16px; }
.form-2col { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 10px; }
.faq-2col { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 480px) {
  .form-2col { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 700px) {
  .contact-2col { grid-template-columns: 1fr 1fr; }
  .responsive-2col { grid-template-columns: 1fr 1fr; }
  .faq-2col { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .admin-sidebar { width: 100%; height: auto; position: relative; }
  .admin-main { margin-left: 0; }
  .admin-wrap { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .article-body { padding: 24px 16px 36px; }
  .article-body p { font-size: 15px; line-height: 1.8; }
}

/* ── ADVERTISEMENT DISPLAY — per position ─────────────────── */

/* Homepage Top Banner — full width, max 120px tall */
.ad-banner-top {
  width: 100%;
  background: var(--light);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 0;
  overflow: hidden;
}
.ad-banner-top img {
  width: 100%;
  max-width: 100%;
  max-height: 120px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}
.ad-banner-top a { display: block; }

/* Campaign Spotlight — full width, no height limit */
.ad-banner-campaign {
  max-width: 1100px;
  margin: 28px auto 0;
  padding: 0 20px;
}
.ad-banner-campaign img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}
.ad-banner-campaign a { display: block; }

/* Homepage Mid Banner — full width within container */
.ad-banner-mid {
  text-align: center;
  margin: 0 0 32px;
  padding: 4px 0;
  background: var(--light);
  border-radius: var(--radius);
  overflow: hidden;
}
.ad-banner-mid img {
  width: 100%;
  max-height: 150px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}
.ad-banner-mid a { display: block; }

/* Mid-article ad (inside article body) */
.mid-article-ad {
  margin: 32px 0;
  padding: 14px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.mid-article-ad .ad-label {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #BBB;
  margin-bottom: 8px;
}
.mid-article-ad img {
  width: 100%;
  max-height: 130px;
  object-fit: contain;
  border-radius: 6px;
  border: none;
  margin: 0 auto;
}
.mid-article-ad a { display: block; }

/* Popup ad */
.popup-overlay .ad-popup-inner {
  max-width: 500px;
  width: calc(100% - 40px);
}
.popup-overlay .ad-popup-inner img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* ── AD ZONES — Phase 4 ───────────────────────────────────── */
.ad-zone {
  position: relative;
  overflow: hidden;
}
.ad-label {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #BBB;
  text-align: center;
  padding: 4px 0 6px;
}
.ad-slide { transition: opacity 0.4s ease; }

/* Homepage top banner — full width, contain */
.ad-zone-homepage-top {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--border);
  text-align: center;
  overflow: hidden;
}
.ad-zone-homepage-top .ad-label { display: none; }
.ad-zone-homepage-top .ad-slide { line-height: 0; }
.ad-zone-homepage-top a {
  display: block;
  line-height: 0;
}
.ad-zone-homepage-top img {
  width: auto;
  max-width: 100%;
  height: 90px;
  max-height: 90px;
  display: inline-block;
  margin: 0 auto;
}
@media (max-width: 600px) {
  .ad-zone-homepage-top img { height: 60px; max-height: 60px; }
}

/* Campaign spotlight — full natural size */
.ad-zone-campaign {
  width: 100%;
  margin: 24px 0 0;
  padding: 0;
}
.ad-zone-campaign .ad-label { display: none; }
.ad-zone-campaign img {
  width: 100%;
  height: auto;
  display: block;
}
.ad-zone-campaign a { display: block; }

/* Article inline ad — full column width */
.ad-zone-inline {
  margin: 24px 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--light);
  border: 1px solid var(--border);
  padding: 4px;
}
.ad-zone-inline img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* Sidebar ad column */
.ad-zone-sidebar {
  margin-bottom: 14px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--light);
  border: 1px solid var(--border);
  padding: 4px;
}
.ad-zone-sidebar img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* Article layout with sidebar */
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-top: 28px;
  padding-bottom: 48px;
}
@media (min-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr 300px;
  }
}
.article-sidebar-col {
  position: sticky;
  top: 72px;
  align-self: start;
}
