/* ============================================
   PARLEY — Аналитички портал
   Main Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-page:      #F4F6F8;
  --bg-white:     #FFFFFF;
  --blue-deep:    #1A2744;
  --blue-mid:     #243358;
  --blue-light:   #3A5080;
  --amber:        #D4933A;
  --amber-dark:   #B87A28;
  --amber-light:  #F0B85A;
  --text-dark:    #1E2B3C;
  --text-body:    #3A4A5C;
  --text-muted:   #6B7A8D;
  --border:       #DDE3EC;
  --border-light: #EDF0F5;
  --shadow-sm:    0 1px 4px rgba(26,39,68,.07);
  --shadow-md:    0 4px 18px rgba(26,39,68,.10);
  --shadow-lg:    0 8px 36px rgba(26,39,68,.13);
  --radius:       6px;
  --radius-lg:    12px;
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Inter', system-ui, sans-serif;
  --max-w:        1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg-page);
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--amber); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; }

/* ---- Container ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  background: var(--blue-deep);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}

.header-top {
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 7px 0;
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-date {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  letter-spacing: .04em;
}

.header-ticker {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  overflow: hidden;
  white-space: nowrap;
}

.header-ticker span { color: var(--amber-light); font-weight: 500; margin-right: 4px; }

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}

.logo-wrap { display: flex; align-items: center; gap: 12px; text-decoration: none; }

.logo-mark {
  width: 42px; height: 42px;
  background: var(--amber);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 800;
  color: var(--blue-deep);
  letter-spacing: -.5px;
  flex-shrink: 0;
}

.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: .01em;
}
.logo-tagline {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 3px;
}

.header-search {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 30px;
  padding: 6px 16px;
  gap: 8px;
  flex: 0 0 260px;
}

.header-search input {
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 13px;
  width: 100%;
}

.header-search input::placeholder { color: rgba(255,255,255,.4); }

.header-search button {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  padding: 0;
  transition: color .2s;
}
.header-search button:hover { color: var(--amber); }

/* ---- Nav ---- */
.site-nav {
  background: var(--blue-mid);
  border-top: 1px solid rgba(255,255,255,.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-inner a {
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 500;
  padding: 13px 18px;
  letter-spacing: .03em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-inner a:hover,
.nav-inner a.active {
  color: #fff;
  border-bottom-color: var(--amber);
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #fff;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(26,39,68,.85) 40%,
    rgba(26,39,68,.20) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 52px 0;
}

.hero-content {
  max-width: 620px;
}

.hero-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-excerpt {
  font-size: 16px;
  color: rgba(255,255,255,.8);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  color: rgba(255,255,255,.55);
}

.hero-meta .author { color: var(--amber-light); font-weight: 500; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--amber);
  color: var(--blue-deep);
  border-color: var(--amber);
}
.btn-primary:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  color: var(--blue-deep);
}

.btn-outline {
  background: transparent;
  color: var(--blue-deep);
  border-color: var(--blue-deep);
}
.btn-outline:hover {
  background: var(--blue-deep);
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  color: #fff;
}

.btn-sm { padding: 7px 16px; font-size: 12px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-lg { padding: 88px 0; }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--blue-deep);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--amber);
  margin-top: 8px;
}

.section-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: .03em;
  white-space: nowrap;
}
.section-link:hover { color: var(--amber-dark); }

/* ============================================
   ARTICLE CARDS
   ============================================ */
.cards-grid {
  display: grid;
  gap: 28px;
}

.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }
.cards-grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.card:hover .card-img img { transform: scale(1.04); }

.card-body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 10px;
  flex: 1;
}

.card-title a:hover { color: var(--amber); }

.card-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
  margin-top: auto;
}

.card-meta .author { font-weight: 600; color: var(--text-dark); }

/* ---- Featured Card (large horizontal) ---- */
.card-featured {
  flex-direction: row;
  grid-column: 1 / -1;
  max-height: 320px;
}

.card-featured .card-img {
  flex: 0 0 45%;
  aspect-ratio: unset;
}

.card-featured .card-body { padding: 32px 36px; }

.card-featured .card-title {
  font-size: clamp(20px, 2.4vw, 26px);
}

.card-featured .card-excerpt {
  -webkit-line-clamp: 4;
  margin-bottom: 20px;
}

/* ---- Compact list card ---- */
.card-list {
  flex-direction: row;
  gap: 0;
}

.card-list .card-img {
  flex: 0 0 100px;
  aspect-ratio: 1;
}

.card-list .card-body { padding: 12px 14px; }
.card-list .card-title { font-size: 14px; }
.card-list .card-excerpt { display: none; }
.card-list .card-meta { display: none; }

/* ============================================
   SIDEBAR
   ============================================ */
.layout-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.sidebar { display: flex; flex-direction: column; gap: 32px; }

.widget {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.widget-head {
  background: var(--blue-deep);
  padding: 14px 20px;
}

.widget-head h3 {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .02em;
}

.widget-body { padding: 16px 20px; }

/* Trending list */
.trending-list { display: flex; flex-direction: column; gap: 0; }

.trending-item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: flex-start;
}

.trending-item:last-child { border-bottom: none; }

.trending-num {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
}

.trending-item:hover .trending-num { color: var(--amber); }

.trending-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.45;
}

.trending-item a:hover .trending-title { color: var(--amber); }

.trending-cat {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 3px;
  letter-spacing: .04em;
}

/* Tags widget */
.tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

.tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--blue-mid);
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 5px 14px;
  transition: all .2s;
}

.tag:hover {
  background: var(--amber);
  color: var(--blue-deep);
  border-color: var(--amber);
}

/* Newsletter widget */
.newsletter-widget { padding: 24px; text-align: center; }

.newsletter-widget h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--blue-deep);
  margin-bottom: 10px;
}

.newsletter-widget p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.6;
}

.newsletter-form { display: flex; flex-direction: column; gap: 10px; }

.newsletter-form input {
  width: 100%;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-dark);
  background: var(--bg-page);
  outline: none;
  transition: border-color .2s;
}

.newsletter-form input:focus { border-color: var(--amber); }

/* ============================================
   CATEGORY STRIP
   ============================================ */
.categories-strip {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.categories-strip-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.categories-strip-inner::-webkit-scrollbar { display: none; }

.cat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 3px solid transparent;
  transition: all .2s;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.cat-pill:hover,
.cat-pill.active {
  border-bottom-color: var(--amber);
}

.cat-pill-icon {
  font-size: 22px;
  margin-bottom: 6px;
}

.cat-pill-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cat-pill:hover .cat-pill-name,
.cat-pill.active .cat-pill-name { color: var(--amber); }

/* ============================================
   ARTICLE PAGE
   ============================================ */
.article-header { margin-bottom: 36px; }

.article-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-kicker::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--amber);
}

.article-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  color: var(--blue-deep);
  line-height: 1.22;
  margin-bottom: 18px;
}

.article-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  font-weight: 400;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.meta-author { display: flex; align-items: center; gap: 10px; }

.meta-author-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--blue-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--amber);
  flex-shrink: 0;
}

.meta-author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.meta-author-title {
  font-size: 11px;
  color: var(--text-muted);
}

.meta-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
}

.meta-item {
  font-size: 13px;
  color: var(--text-muted);
}
.meta-item strong { color: var(--text-dark); font-weight: 600; }

/* Article hero image */
.article-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: var(--shadow-md);
}

.article-hero-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.article-hero-img figcaption {
  background: var(--bg-page);
  padding: 10px 16px;
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}

/* Article body */
.article-body {
  font-size: 17px;
  line-height: 1.82;
  color: var(--text-body);
}

.article-body h2 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 26px);
  color: var(--blue-deep);
  margin: 40px 0 16px;
  font-weight: 700;
}

.article-body h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--blue-mid);
  margin: 30px 0 12px;
  font-weight: 600;
}

.article-body p { margin-bottom: 22px; }

.article-body a { color: var(--amber); text-decoration: underline; }

.article-body blockquote {
  border-left: 4px solid var(--amber);
  margin: 32px 0;
  padding: 18px 28px;
  background: rgba(212,147,58,.06);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-body blockquote p {
  font-family: var(--font-serif);
  font-size: 19px;
  font-style: italic;
  color: var(--blue-deep);
  margin-bottom: 8px;
  line-height: 1.5;
}

.article-body blockquote cite {
  font-size: 13px;
  color: var(--text-muted);
  font-style: normal;
}

.article-body ul, .article-body ol {
  margin: 0 0 22px 20px;
  list-style: disc;
}

.article-body ol { list-style: decimal; }

.article-body li { margin-bottom: 8px; }

.article-body figure {
  margin: 36px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.article-body figure img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.article-body figure figcaption {
  background: var(--bg-page);
  padding: 10px 16px;
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  border-top: 1px solid var(--border);
}

.article-body .infobox {
  background: var(--blue-deep);
  color: rgba(255,255,255,.9);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 36px 0;
}

.article-body .infobox h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--amber-light);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.article-body .infobox p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.8);
  margin-bottom: 0;
}

/* Tags on articles */
.article-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 36px 0;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}

.article-tags-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
}

/* Author box */
.author-box {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin: 36px 0;
}

.author-box-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--blue-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 800;
  color: var(--amber);
  flex-shrink: 0;
}

.author-box-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 4px;
}

.author-box-role {
  font-size: 12px;
  color: var(--amber);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 10px;
}

.author-box-bio {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Related articles */
.related-section { margin-top: 56px; }

.related-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

/* ============================================
   STATS BAND
   ============================================ */
.stats-band {
  background: var(--blue-deep);
  padding: 56px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {}

.stat-num {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  padding: 18px 0 0;
  margin-bottom: 32px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb span:last-child { color: var(--text-dark); font-weight: 500; }

/* ============================================
   CONTACT PAGE (full)
   ============================================ */
.contact-main { padding: 0 0 72px; }

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 52px;
  align-items: start;
  padding-bottom: 64px;
}

.contact-form-side h1 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--blue-deep);
  margin-bottom: 12px;
}

.contact-intro {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.contact-form {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.form-row-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 7px;
}

.form-group label span { color: var(--amber); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-dark);
  background: var(--bg-page);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(212,147,58,.13);
}

.form-group textarea { min-height: 148px; resize: vertical; }

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #e74c3c;
}

.field-error {
  display: block;
  font-size: 12px;
  color: #c0392b;
  margin-top: 5px;
  min-height: 16px;
}

.form-checkbox { display: flex; flex-direction: column; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--amber);
}

.checkbox-label a { color: var(--amber); text-decoration: underline; }

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--amber);
  color: var(--blue-deep);
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s, transform .15s;
  width: 100%;
  margin-top: 6px;
}

.btn-submit:hover { background: var(--amber-dark); transform: translateY(-1px); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.contact-success-message {
  background: #d1fae5;
  border: 1.5px solid #6ee7b7;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 24px;
}

.success-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: #065f46;
}

.success-inner svg { flex-shrink: 0; color: #059669; }
.success-inner strong { font-size: 16px; font-weight: 700; display: block; margin-bottom: 6px; }
.success-inner p { font-size: 14px; line-height: 1.65; margin: 0; }

.contact-info-side { display: flex; flex-direction: column; gap: 20px; }

.contact-info-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.contact-info-card h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
}

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-detail:last-child { margin-bottom: 0; }

.contact-detail-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(26,39,68,.07);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--blue-deep);
}

.contact-detail strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.contact-detail p {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0 0 3px;
}

.contact-detail small { font-size: 12px; color: var(--text-muted); }

.contact-detail a { color: var(--amber); }
.contact-detail a:hover { text-decoration: underline; }

.contact-press-card,
.contact-correction-card {
  background: var(--blue-deep);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  color: rgba(255,255,255,.85);
}

.contact-press-card h3,
.contact-correction-card h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--amber-light);
  margin-bottom: 10px;
}

.contact-press-card p,
.contact-correction-card p { font-size: 13px; line-height: 1.7; margin-bottom: 12px; }

.contact-press-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
}

.contact-press-link:hover { color: var(--amber-light); }

/* Policy table */
.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.policy-table th {
  background: var(--blue-deep);
  color: rgba(255,255,255,.9);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
}

.policy-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-body);
  line-height: 1.55;
}

.policy-table tr:hover td { background: rgba(212,147,58,.04); }

/* ============================================
   ABOUT PAGE
   ============================================ */
/* About hero */
.about-hero {
  background: var(--bg-white);
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.about-hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: center;
}

.about-hero-text h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--blue-deep);
  margin-bottom: 20px;
}

.about-hero-text p {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 18px;
}

.about-hero-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img { width: 100%; height: 320px; object-fit: cover; display: block; }

/* About mission */
.about-mission {
  background: var(--bg-page);
  padding: 72px 0;
}

.about-mission-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.mission-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--amber);
}

.mission-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(26,39,68,.06);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-deep);
  margin-bottom: 18px;
}

.mission-card h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 10px;
}

.mission-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* Team section */
.team-section { background: var(--bg-white); }
.section-pad { padding: 72px 0; }

.section-header-centered {
  text-align: center;
  margin-bottom: 44px;
}

.section-header-centered h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800;
  color: var(--blue-deep);
  margin-bottom: 12px;
}

.section-header-centered p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

.team-member {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}

.team-member:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.team-photo-wrap {
  height: 200px;
  overflow: hidden;
}

.team-photo { width: 100%; height: 100%; object-fit: cover; }

.team-member h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--blue-deep);
  margin: 20px 20px 4px;
}

.team-role {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--amber);
  margin: 0 20px 10px;
}

.team-member p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 20px 20px;
}

/* Editorial section */
.editorial-section {
  background: var(--blue-deep);
  padding: 72px 0;
}

.editorial-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: center;
}

.editorial-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}

.editorial-text p {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  line-height: 1.75;
  margin-bottom: 16px;
}

.editorial-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.editorial-img { width: 100%; height: 300px; object-fit: cover; }

/* Awards section */
.awards-section { background: var(--bg-page); }

.awards-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.award-item {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--amber);
}

.award-item h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 10px;
}

.award-item p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

.about-lead {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 32px;
  border-left: 4px solid var(--amber);
  padding-left: 24px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-card-img {
  height: 220px;
  overflow: hidden;
}

.team-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.team-card-body { padding: 20px; }

.team-card-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 4px;
}

.team-card-role {
  font-size: 12px;
  font-weight: 600;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 12px;
}

.team-card-bio {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--amber);
}

.value-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: rgba(212,147,58,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.value-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 10px;
}

.value-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 52px;
  align-items: start;
}

.contact-form-wrap {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form-wrap h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 8px;
}

.contact-form-wrap p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-dark);
  background: var(--bg-page);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(212,147,58,.12);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.contact-info { display: flex; flex-direction: column; gap: 24px; }

.contact-info-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--blue-deep);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  color: var(--amber);
}

.contact-info-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.contact-info-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Success message */
.form-success {
  display: none;
  background: #d1fae5;
  border: 1.5px solid #6ee7b7;
  border-radius: var(--radius);
  padding: 16px 20px;
  color: #065f46;
  font-size: 14px;
  font-weight: 500;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.form-success.show { display: flex; }

/* ============================================
   POLICY PAGES
   ============================================ */
.policy-header {
  background: var(--blue-deep);
  padding: 60px 0 50px;
  text-align: center;
}

.policy-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.policy-header p {
  font-size: 15px;
  color: rgba(255,255,255,.6);
}

.policy-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 52px 24px;
}

.policy-body h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--blue-deep);
  margin: 40px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.policy-body h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--blue-mid);
  margin: 24px 0 10px;
}

.policy-body p { font-size: 15px; color: var(--text-body); margin-bottom: 18px; line-height: 1.75; }

.policy-body ul, .policy-body ol {
  margin: 0 0 18px 24px;
  list-style: disc;
}

.policy-body ol { list-style: decimal; }

.policy-body li { font-size: 15px; color: var(--text-body); margin-bottom: 7px; line-height: 1.65; }

.policy-body a { color: var(--amber); text-decoration: underline; }

.policy-updated {
  background: rgba(212,147,58,.08);
  border: 1px solid rgba(212,147,58,.25);
  border-radius: var(--radius);
  padding: 14px 20px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.policy-updated strong { color: var(--amber-dark); }

/* ============================================
   SEARCH PAGE
   ============================================ */
.search-header {
  background: var(--blue-deep);
  padding: 48px 0;
}

.search-bar {
  display: flex;
  gap: 0;
  max-width: 640px;
}

.search-bar input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius) 0 0 var(--radius);
  font-size: 16px;
  outline: none;
}

.search-bar button {
  padding: 14px 24px;
  background: var(--amber);
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-deep);
  transition: background .2s;
}

.search-bar button:hover { background: var(--amber-dark); }

.search-result {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 20px;
}

.search-result-img {
  flex: 0 0 120px;
  height: 84px;
  border-radius: var(--radius);
  overflow: hidden;
}

.search-result-img img { width: 100%; height: 100%; object-fit: cover; }

.search-result-cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--amber);
  margin-bottom: 6px;
}

.search-result-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.35;
}

.search-result-title a:hover { color: var(--amber); }

.search-result-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   ARCHIVE / CATEGORY PAGE
   ============================================ */
.archive-header {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-light) 100%);
  padding: 52px 0;
}

.archive-breadcrumb {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.archive-breadcrumb a { color: rgba(255,255,255,.5); }
.archive-breadcrumb a:hover { color: var(--amber-light); }
.archive-breadcrumb span { color: var(--amber-light); }

.archive-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.archive-desc {
  font-size: 16px;
  color: rgba(255,255,255,.65);
  max-width: 560px;
  line-height: 1.65;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
}

.filter-btn {
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--bg-white);
  color: var(--text-muted);
  transition: all .2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: #fff;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 40px 0;
}

.page-btn {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--bg-white);
  color: var(--text-muted);
  transition: all .2s;
  text-decoration: none;
}

.page-btn:hover,
.page-btn.active {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: #fff;
}

/* ============================================
   AUTHORS PAGE
   ============================================ */
.authors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.author-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}

.author-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.author-card-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--blue-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 800;
  color: var(--amber);
  margin: 0 auto 16px;
}

.author-card-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 4px;
}

.author-card-role {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--amber);
  margin-bottom: 12px;
}

.author-card-bio {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.author-card-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}

.author-stat-num {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 800;
  color: var(--blue-deep);
}

.author-stat-label {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: .05em;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--blue-deep);
  color: rgba(255,255,255,.7);
  margin-top: 72px;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0 48px;
}

.footer-brand {}

.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }

.footer-logo-mark {
  width: 38px; height: 38px;
  background: var(--amber);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 800;
  color: var(--blue-deep);
}

.footer-logo-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,.55);
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 8px;
  color: rgba(255,255,255,.6);
}

.footer-contact-item a:hover { color: var(--amber-light); }

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  margin-bottom: 18px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  transition: color .2s;
}

.footer-links a:hover { color: var(--amber-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,.35);
}

.footer-policy-links {
  display: flex;
  gap: 20px;
}

.footer-policy-links a {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  transition: color .2s;
}

.footer-policy-links a:hover { color: var(--amber-light); }

/* ============================================
   BREAKING NEWS BAND
   ============================================ */
.breaking-band {
  background: var(--amber);
  padding: 10px 0;
}

.breaking-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
}

.breaking-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue-deep);
  background: var(--blue-deep);
  color: var(--amber);
  padding: 4px 14px;
  border-radius: 3px;
  flex-shrink: 0;
  white-space: nowrap;
}

.breaking-ticker {
  font-size: 13px;
  font-weight: 500;
  color: var(--blue-deep);
  white-space: nowrap;
  overflow: hidden;
  animation: ticker 30s linear infinite;
}

@keyframes ticker {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ============================================
   MISC
   ============================================ */
.bg-white { background: var(--bg-white); }
.bg-deep { background: var(--blue-deep); }
.bg-page { background: var(--bg-page); }

.text-amber { color: var(--amber); }
.text-muted { color: var(--text-muted); }
.text-dark { color: var(--text-dark); }
.text-white { color: #fff; }

.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.mb-24 { margin-bottom: 24px; }
.mt-24 { margin-top: 24px; }
.mb-48 { margin-bottom: 48px; }
.mt-48 { margin-top: 48px; }

.text-center { text-align: center; }
.fw-700 { font-weight: 700; }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 36px 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .layout-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .cards-grid-3 { grid-template-columns: 1fr; }
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid-2 { grid-template-columns: 1fr; }
  .card-featured { flex-direction: column; max-height: none; }
  .card-featured .card-img { flex: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .authors-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .header-search { display: none; }
  .nav-inner { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--blue-mid); padding: 8px 0; }
  .nav-inner.open { display: flex; }
  .nav-mobile-toggle { display: flex; }
  .site-nav { position: relative; }
  .nav-inner a { padding: 10px 20px; border-bottom: none; width: 100%; }
  .hero { height: 400px; }
  .sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .cards-grid-4 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .authors-grid { grid-template-columns: 1fr; }
  .hero { height: 320px; }
  .contact-form-wrap { padding: 24px; }
}
