/* ============================================================
   SIYAQ Center — Think Tank Design System
   Inspired by Chatham House / Carnegie / RAND × SIYAQ brand
   ============================================================ */

:root {
  /* Official logo: navy + grey + white */
  --navy: #003058;
  --navy-mid: #002640;
  --navy-deep: #001a2e;
  --navy-light: #1a4a6e;
  /* Grey from logo (accent line / labels) */
  --gold: #686868;
  --gold-light: #8a8a8a;
  --gold-muted: rgba(104, 104, 104, 0.12);
  /* Carnegie-style signal for editorial labels only */
  --signal: #9b1b2f;
  --white: #ffffff;
  --paper: #f3f5f7;
  --gray-50: #f3f5f7;
  --gray-100: #e8ecf0;
  --gray-200: #d0d7de;
  --gray-500: #686868;
  --gray-700: #003058;
  --text: #1a2b3c;
  --text-muted: #5a6570;
  --shadow-sm: 0 1px 3px rgba(0, 48, 88, 0.05);
  --shadow: 0 12px 40px rgba(0, 48, 88, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 48, 88, 0.12);
  --radius: 2px;
  --radius-lg: 4px;
  --font: "IBM Plex Sans Arabic", "Tajawal", sans-serif;
  --font-display: "IBM Plex Sans Arabic", "Tajawal", sans-serif;
  --bs-font-sans-serif: var(--font);
  --bs-body-font-family: var(--font);
  --topbar-h: 34px;
  --nav-h: 128px;
  --header-total: calc(var(--topbar-h) + var(--nav-h));
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  --border-editorial: #cfd6dd;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  direction: rtl;
  text-align: right;
  padding-top: var(--header-total);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }

.container-main { width: min(1280px, 92vw); margin-inline: auto; }

/* ── HEADER WRAP ── */
.site-header-wrap {
  position: fixed;
  top: 0; inset-inline: 0;
  z-index: 1030;
  background: var(--white);
  box-shadow: 0 1px 0 var(--gray-200);
}

.site-topbar {
  height: var(--topbar-h);
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.site-topbar .container-main {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-topbar a {
  color: rgba(255, 255, 255, 0.85);
}

.site-topbar a:hover { color: #fff; }

.site-topbar .topbar-en {
  font-weight: 600;
  color: #fff;
  opacity: 0.9;
}

/* ── NAVBAR ── */
.nav-search-btn {
  background: none;
  border: 1px solid transparent;
  color: var(--navy);
  font-size: 0.95rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  transition: background var(--transition);
  flex-shrink: 0;
}

.nav-search-btn:hover { background: var(--gray-100); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  height: 40px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  height: 40px;
  box-sizing: border-box;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: transparent;
  border: none;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0 0.7rem;
  height: 32px;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  line-height: 1;
  white-space: nowrap;
}

.lang-btn .lang-code {
  font-size: 0.62rem;
  font-weight: 600;
  opacity: 0.55;
  letter-spacing: 0.06em;
}

.lang-btn:hover {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.8);
}

.lang-btn.active {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 48, 88, 0.22);
}

.lang-btn.active .lang-code {
  opacity: 0.75;
  color: #fff;
}

@media (max-width: 991px) {
  .lang-btn .lang-native { display: none; }
  .lang-btn .lang-code { font-size: 0.72rem; opacity: 1; }
  .lang-btn { padding: 0.4rem 0.65rem; min-width: 2.4rem; }
}

html.lang-en body {
  font-family: "IBM Plex Sans Arabic", "Helvetica Neue", Arial, sans-serif;
}

html.lang-en .featured-story h1 {
  max-width: 22ch;
}

.navbar-siyak {
  position: relative;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: none;
  box-shadow: none;
}

.navbar-siyak .container-main {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.navbar-brand-siyak {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-wordmark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 20rem;
}

.brand-wordmark--lockup {
  max-width: none;
}

.brand-logo {
  flex-shrink: 0;
  display: block;
  width: auto;
  height: 48px;
  image-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.brand-logo--horizontal {
  height: 112px;
  width: auto;
  max-width: min(540px, 72vw);
  object-fit: contain;
}

.brand-logo--vertical {
  height: auto;
  width: 200px;
  max-width: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.brand-wordmark .brand-name {
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-wordmark .brand-sub {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--text-muted);
  display: block;
  line-height: 1.35;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
  flex: 1;
  justify-content: center;
  min-width: 0;
  height: 40px;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 0.65rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 0;
  position: relative;
  transition: color var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--navy);
  background: transparent;
}

.nav-menu a.active::after,
.nav-menu a:hover::after {
  content: "";
  position: absolute;
  inset-inline: 0.65rem;
  bottom: 4px;
  height: 2px;
  background: var(--navy);
}

.nav-menu a.nav-cta {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  margin-inline-start: 0.35rem;
  padding-inline: 1rem;
  border-radius: var(--radius-lg);
  height: 40px;
}

.nav-menu a.nav-cta::after { display: none; }
.nav-menu a.nav-cta:hover { background: var(--navy-light); color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.35rem;
  color: var(--navy);
  cursor: pointer;
  padding: 0.35rem;
}

@media (max-width: 991px) {
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: calc(var(--topbar-h) + var(--nav-h));
    inset-inline: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    z-index: 10;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { width: 100%; }
  .nav-menu a.active::after,
  .nav-menu a:hover::after { display: none; }
  .brand-logo--horizontal {
    height: 80px;
    max-width: min(340px, 74vw);
  }
  .site-topbar .topbar-en { display: none; }
}

/* ── BUTTONS ── */
.btn-siyak-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-siyak-gold:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 48, 88, 0.28);
  color: #fff;
}

.btn-siyak-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem 1.5rem;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius);
  font-family: var(--font);
  transition: all var(--transition);
}

.btn-siyak-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-siyak-outline-light {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-siyak-outline-light:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: var(--white);
}

.btn-siyak-navy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.btn-siyak-navy:hover { background: var(--navy-mid); color: var(--white); }

/* ── HERO ── */
.hero-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(197,160,89,0.08) 0%, transparent 55%);
}

.hero-section .container-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.hero-logo { width: 140px; height: 140px; }

.hero-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.hero-section h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 1rem;
}

.hero-section .hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

@media (max-width: 767px) {
  .hero-section .container-main { grid-template-columns: 1fr; text-align: center; }
  .hero-section .hero-desc { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-logo { margin-inline: auto; width: 100px; height: 100px; }
}

/* ── STATS ── */
.stats-section {
  background: var(--white);
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
}

.stat-item { text-align: center; padding: 0.5rem; }

.stat-item .stat-num {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.stat-item .stat-num span { color: var(--gold); }

.stat-item .stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  font-weight: 500;
}

@media (max-width: 767px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── SECTIONS ── */
.section { padding: 4.5rem 0; }
.section-gray { background: var(--gray-50); }

.section-header { margin-bottom: 2.5rem; }

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--signal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.section-title {
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.section-desc { color: var(--text-muted); max-width: 620px; }

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.link-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-bottom: 1px solid transparent;
}

.link-more:hover {
  color: var(--signal);
  border-bottom-color: var(--signal);
}

/* ── CARDS ── */
.card-siyak {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.card-siyak:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(197, 160, 89, 0.35);
}

.card-siyak .card-img-top {
  height: 180px;
  object-fit: cover;
  width: 100%;
}

.card-siyak .card-body { padding: 1.35rem; flex-grow: 1; display: flex; flex-direction: column; }

.card-siyak .card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.card-siyak .card-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.card-siyak .card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.45;
}

.card-siyak .card-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.card-siyak .card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
}

.card-siyak .card-link:hover { color: var(--navy); }

.card-siyak .card-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--gold-muted);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.card-siyak .card-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

/* ── PUBLICATIONS ── */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 2rem; }

.filter-btn {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--text-muted);
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold-light);
}

.pub-card .pub-type {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.pub-card .pub-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

/* ── TEAM ── */
.team-card .team-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--gray-100);
}

.team-card .team-role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

/* ── NEWSLETTER CTA ── */
/* ── CONTEXT BANNER (إصدارات / نشرات) ── */
.section-tight { padding-top: 0; }

.context-banner {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-inline-start: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.context-banner-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.context-banner-logo {
  display: block;
}

.context-banner p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.85;
  text-align: center;
}

/* ── NEWSLETTER ISSUES ── */
.home-newsletters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.home-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.home-news-card {
  padding: 0;
  border-top: none;
}

.home-news-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy);
  margin-bottom: 0.9rem;
}

.home-news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--transition);
}

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

.home-news-card .hn-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--signal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.home-news-card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  line-height: 1.45;
}

.home-news-card h3 a {
  color: inherit;
  text-decoration: none;
}

.home-news-card h3 a:hover {
  color: var(--navy, #003058);
}

.home-news-card p {
  color: var(--grey, #686868);
  font-size: 0.92rem;
  margin: 0 0 0.75rem;
  line-height: 1.6;
}

.home-news-card .hn-date {
  font-size: 0.82rem;
  color: var(--grey, #686868);
}

@media (max-width: 800px) {
  .home-news-grid {
    grid-template-columns: 1fr;
  }
}

.newsletter-issues {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-issue {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--gray-200);
  border-radius: 0;
  transition: opacity var(--transition);
}

.newsletter-issue:hover { border-color: var(--navy); box-shadow: none; }
.newsletter-issue--soon { opacity: 0.72; }

.ni-issue {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  text-align: center;
  line-height: 1.35;
  border-radius: var(--radius-lg);
  padding: 0.75rem 0.5rem;
  min-height: 5rem;
}

.ni-type {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--signal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ni-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0.25rem 0 0.5rem;
  color: var(--navy);
}

.ni-body h3 a { color: inherit; }
.ni-body h3 a:hover { color: var(--gold); }

.ni-body p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.ni-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.ni-action {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.82rem;
}

.ni-action:hover { color: var(--gold); }
.ni-action--muted { opacity: 0.5; pointer-events: none; }

@media (max-width: 576px) {
  .newsletter-issue { grid-template-columns: 1fr; }
  .ni-issue { min-height: auto; padding: 0.6rem; }
}

.newsletter-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.newsletter-box h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.newsletter-box p { color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.newsletter-box .btn-siyak-gold { flex-shrink: 0; }

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  flex: 1;
  min-width: 260px;
  max-width: 440px;
}

.newsletter-form input {
  flex: 1;
  min-width: 180px;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }

.newsletter-form input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.12);
}

.newsletter-form .subscribe-msg {
  flex-basis: 100%;
  width: 100%;
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}
.newsletter-form .subscribe-msg.ok { color: #b8e0c8; }
.newsletter-form .subscribe-msg.err { color: #f0b4b4; }

/* ── PAGE HEADER ── */
.page-header {
  background: var(--navy);
  padding: 3rem 0;
  position: relative;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 0%, rgba(197,160,89,0.07) 0%, transparent 50%);
}

.page-header .container-main { position: relative; z-index: 1; }

.page-header h1 {
  color: var(--white);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.page-header .lead {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  max-width: 580px;
}

.breadcrumb-siyak {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.82rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.4);
}

.breadcrumb-siyak a { color: rgba(255,255,255,0.65); }
.breadcrumb-siyak a:hover { color: var(--gold); }

/* ── ABOUT ── */
.about-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
  border-inline-start: 3px solid var(--gold);
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.about-block h3 {
  font-size: 0.95rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.about-block p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.8; }

.value-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  border: 1px solid var(--gray-200);
}

.value-item i { color: var(--gold); margin-top: 0.15rem; }

.goal-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.goal-card:hover { box-shadow: var(--shadow); }

.goal-num {
  width: 32px; height: 32px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.82rem;
  margin-bottom: 0.75rem;
}

/* ── CONTACT ── */
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 48px; height: 48px;
  background: var(--gold-muted);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-info-item h4 {
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.contact-info-item a:hover { color: var(--gold); }

.social-links { display: flex; gap: 0.6rem; margin-top: 1.5rem; }

.social-links a {
  width: 40px; height: 40px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
}

.social-links a:hover { background: var(--gold-light); color: #fff; }

/* ── FOOTER ── */
.footer-siyak {
  background: var(--navy);
  color: rgba(255,255,255,0.62);
  padding: 3.75rem 0 0;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.7fr) repeat(3, minmax(140px, 1fr));
  gap: 2.5rem 2.75rem;
  align-items: start;
  padding-bottom: 2.75rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 200px;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  align-self: start;
  line-height: 0;
}

.footer-logo--vertical {
  display: block;
  width: 148px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.footer-tagline {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
  max-width: 30ch;
}

.footer-col h5 {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 1.1rem;
  padding-block-start: 0.35rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin: 0 0 0.55rem;
  line-height: 1.4;
}

.footer-links a,
.footer-links li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.58);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.15rem 0 1.35rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.38);
}

.footer-col--contact .footer-social {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.7);
  background: transparent;
  font-size: 0.85rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.footer-social a:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem 1.75rem;
  }
  .footer-brand { max-width: none; grid-column: 1 / -1; }
}

@media (max-width: 575px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { align-items: flex-start; }
}

.contact-form label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
  display: block;
}

.contact-form .form-control,
.contact-form .form-select {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
  font-family: var(--font);
  margin-bottom: 0.25rem;
  transition: border-color var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-muted);
}

/* ── UTILITIES ── */
.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-ready .fade-in {
  opacity: 0;
  transform: translateY(20px);
}

.js-ready .fade-in.visible { opacity: 1; transform: translateY(0); }

.highlight-box {
  background: var(--gray-50);
  border-inline-start: 3px solid var(--gold);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.85;
}

.highlight-box strong { color: var(--navy); }

/* ============================================================
   THINK TANK — Chatham / Carnegie / RAND × SIYAQ
   ============================================================ */

.editorial-hero {
  position: relative;
  padding: 2.75rem 0 3rem;
  background:
    linear-gradient(165deg, rgba(0, 48, 88, 0.04) 0%, transparent 45%),
    linear-gradient(180deg, var(--paper) 0%, var(--white) 70%);
  border-bottom: 1px solid var(--border-editorial);
  overflow: hidden;
}

.editorial-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.75rem;
  align-items: center;
  min-height: 0;
  z-index: 1;
}

.hero-media {
  margin: 0;
  height: min(52vh, 480px);
  min-height: 320px;
  overflow: hidden;
  background: var(--navy);
  animation: heroRise 0.9s var(--transition) both;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.1s var(--transition);
}

.hero-media:hover img { transform: scale(1.03); }

.featured-story {
  padding: 0.5rem 0 0.5rem 0;
  border-inline-start: none;
  padding-inline-start: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: heroRise 0.9s 0.08s var(--transition) both;
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.featured-story .hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.featured-story .hero-brand span {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-top: 0.35rem;
  text-transform: uppercase;
}

.featured-story .story-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--signal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.featured-story h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.28;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.featured-story h1 a:hover { color: var(--navy-light); }

.featured-story .story-excerpt {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.25rem;
  max-width: 34rem;
}

.featured-story .story-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

.featured-story .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* Spotlight photo row — Carnegie / Chatham */
.spotlight-section {
  padding: 3.5rem 0 4rem;
  background: var(--white);
  border-bottom: 1px solid var(--border-editorial);
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.spotlight-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  transition: opacity var(--transition);
}

.spotlight-card:hover { opacity: 0.92; }

.spotlight-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy);
  margin-bottom: 1rem;
}

.spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--transition);
}

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

.spotlight-type {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--signal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.spotlight-body h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 0.45rem;
}

.spotlight-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spotlight-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.spotlight-more {
  font-weight: 700;
  color: var(--navy);
}

.topics-band {
  background: var(--navy-deep);
  padding: 3.25rem 0;
  position: relative;
}

.topics-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 50%);
  pointer-events: none;
}

.topics-band .band-head {
  color: var(--white);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.topics-band .band-head h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.topics-band .band-head p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.55);
  max-width: 36rem;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--navy-deep);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}

.topic-tile {
  background: var(--navy);
  padding: 1.6rem 1.4rem;
  transition: background var(--transition), transform var(--transition);
  display: block;
}

.topic-tile:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

.topic-tile i {
  color: rgba(255,255,255,0.55);
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
  display: block;
}

.topic-tile h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 0.4rem;
}

.topic-tile p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

.topic-go {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
}
.topic-tile:hover .topic-go { color: var(--white); }

.analysis-section { padding: 4.5rem 0; background: var(--white); }

.analysis-list { border-top: 2px solid var(--navy); }

.analysis-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 1.75rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gray-200);
  transition: background var(--transition);
}

.analysis-row:hover { background: var(--paper); }

.analysis-row .ar-date {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  padding-top: 0.2rem;
  font-variant-numeric: tabular-nums;
}

.analysis-row .ar-type {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--signal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.analysis-row h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 0.4rem;
}

.analysis-row h3 a:hover { color: var(--navy-light); }

.analysis-row .ar-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 40rem;
}

.analysis-row .ar-action {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  padding-top: 0.2rem;
}

.analysis-row .ar-action:hover { color: var(--signal); }

/* Impact metrics — inline Carnegie */
.impact-strip {
  border-block: 1px solid var(--border-editorial);
  padding: 1.85rem 0;
  background: var(--white);
}

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

.impact-item .impact-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.impact-item .impact-num em {
  font-style: normal;
  color: var(--navy);
}

.impact-item .impact-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.35rem;
}

/* Research tools grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.tool-card {
  border: 1px solid var(--gray-200);
  padding: 1.35rem;
  background: var(--white);
  transition: all var(--transition);
  height: 100%;
}

.tool-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.tool-card .tool-num {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.tool-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.45rem;
}

.tool-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.tool-card .tool-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
}

/* Experts strip */
.experts-strip {
  background: var(--gray-50);
  border-top: 1px solid var(--border-editorial);
  padding: 3rem 0;
}

.experts-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.expert-mini {
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: border-color var(--transition);
}

.expert-mini:hover { border-color: var(--gold); }

.expert-mini img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.75rem;
  background: var(--gray-100);
}

.expert-mini h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.expert-mini p {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
}

/* Mission band */
.mission-band {
  background: var(--navy-deep);
  padding: 3.5rem 0;
  text-align: center;
  position: relative;
}

.mission-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.06), transparent 55%);
  pointer-events: none;
}

.mission-band blockquote {
  position: relative;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 600;
  color: var(--white);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.75;
}

.mission-band blockquote em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.72);
}

/* Page header — Chatham white style */
.page-header {
  background: var(--white);
  padding: 2.25rem 0 2rem;
  border-bottom: 1px solid var(--border-editorial);
}

.page-header::before { display: none; }

.page-header h1 {
  color: var(--navy);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
}

.page-header .lead { color: var(--text-muted); }

.breadcrumb-siyak { color: var(--text-muted); }
.breadcrumb-siyak a { color: var(--text-muted); }
.breadcrumb-siyak a:hover { color: var(--gold); }

/* Publications page — list + filter bar */
.pub-list-view .analysis-row { grid-template-columns: 110px 140px 1fr auto; }
.pub-list-view .analysis-row .ar-cat {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--gray-100);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  text-align: center;
}

/* Search modal */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.6);
  z-index: 2000;
  align-items: flex-start;
  justify-content: center;
  padding-top: calc(var(--header-total) + 1.25rem);
}

.search-overlay.open { display: flex; }

.search-panel {
  background: var(--white);
  width: min(600px, 92vw);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.search-panel input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.search-panel input:focus {
  outline: none;
  border-color: var(--gold);
}

.search-results { max-height: 320px; overflow-y: auto; }

.search-result-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.search-result-item a {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.92rem;
}

.search-result-item a:hover { color: var(--gold); }

.search-result-item span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* ── ARTICLE PAGE ── */
.article-header .article-kicker {
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  letter-spacing: 0.02em;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}
.article-meta i { margin-inline-end: 0.35rem; opacity: 0.8; }
.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}
.article-actions .btn-siyak-outline {
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.article-actions .btn-siyak-outline:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.article-layout {
  max-width: 760px;
  margin-inline: auto;
}
.article-cover {
  margin-bottom: 1.75rem;
}
.article-cover img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}
.article-body {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text);
}
.article-body p { margin-bottom: 1.15rem; }
.article-pdf-note {
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

@media (max-width: 991px) {
  .editorial-hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-media { height: 240px; min-height: 220px; }
  .featured-story { padding: 0 0 0.5rem; }
  .featured-story h1 { max-width: none; }
  .spotlight-grid { grid-template-columns: 1fr; }
  .topics-grid { grid-template-columns: 1fr 1fr; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .experts-row { grid-template-columns: 1fr 1fr; }
  .analysis-row { grid-template-columns: 1fr; gap: 0.35rem; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
  .topics-grid, .tools-grid, .experts-row { grid-template-columns: 1fr; }
}
