/* CFUSBR — Center for US–Bangladesh Relations */

:root {
  --navy: #0c1a2e;
  --navy-mid: #152a45;
  --navy-light: #1e3a5f;
  --burgundy: #6b1e2e;
  --burgundy-soft: #8f2d42;
  --gold: #c9a227;
  --gold-muted: #a68b2a;
  --cream: #f7f4ef;
  --cream-dark: #ebe6dc;
  --ink: #1a1a1a;
  --ink-muted: #4a4a4a;
  --ink-light: #6b6b6b;
  --white: #ffffff;
  --border: rgba(12, 26, 46, 0.12);
  --shadow: 0 4px 24px rgba(12, 26, 46, 0.08);
  --shadow-lg: 0 12px 48px rgba(12, 26, 46, 0.14);
  --font-serif: "Cormorant Garamond", "Georgia", serif;
  --font-sans: "Source Sans 3", "Segoe UI", sans-serif;
  --font-display: "Libre Baskerville", "Times New Roman", serif;
  --max-width: 1280px;
  --content-width: 720px;
  --header-height: 72px;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

/* ─── Utilities ─── */

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.label--light {
  color: var(--gold);
}

/* ─── Top bar ─── */

.top-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar__tagline {
  font-style: italic;
  font-family: var(--font-serif);
  color: rgba(255, 255, 255, 0.9);
}

.top-bar__links {
  display: flex;
  gap: 1.25rem;
}

.top-bar__links a:hover {
  color: var(--gold);
}

/* ─── Header ─── */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(12, 26, 46, 0.04);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 2rem;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  flex-shrink: 0;
}

.logo__abbr {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
}

.logo__abbr span {
  color: var(--burgundy);
}

.logo__full {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-top: 0.2rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0.5rem 0.85rem;
  border-radius: 2px;
  position: relative;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--burgundy);
}

.main-nav a.is-active::after {
  content: "";
  position: absolute;
  bottom: 0.15rem;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background: var(--burgundy);
}

.header-search {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  background: var(--cream);
}

.header-search input {
  border: none;
  background: transparent;
  padding: 0.45rem 0.75rem;
  font-family: inherit;
  font-size: 0.875rem;
  width: 160px;
  outline: none;
}

.header-search button {
  background: var(--navy);
  border: none;
  color: var(--white);
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.header-search button:hover {
  background: var(--burgundy);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--navy);
}

/* ─── Hero (index) ─── */

.hero {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(107, 30, 46, 0.35) 0%, transparent 50%),
    linear-gradient(180deg, transparent 60%, rgba(12, 26, 46, 0.9) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: end;
  padding-block: 3.5rem 0;
  min-height: 520px;
}

.hero__main {
  padding-bottom: 3rem;
}

.hero__category {
  margin-bottom: 1rem;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  max-width: 30ch;
}

.hero__title a:hover {
  color: var(--gold);
}

.hero__excerpt {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 52ch;
  margin-bottom: 1.5rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

.hero__meta strong {
  color: var(--gold);
  font-weight: 600;
}

.hero__sidebar {
  grid-column: 2;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

.hero__sidebar h3 {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__brief {
  padding-block: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__brief:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hero__brief:first-of-type {
  padding-top: 0;
}

.hero__brief a {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.45;
  display: block;
  margin-bottom: 0.35rem;
}

.hero__brief a:hover {
  color: var(--gold);
}

.hero__brief time {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ─── Section headers ─── */

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--navy);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}

.section-header a {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.section-header a:hover {
  color: var(--gold-muted);
}

/* ─── Category pills ─── */

.category-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.category-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.category-strip__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-right: 0.5rem;
}

.category-pill {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--navy);
  background: var(--cream);
  transition: all var(--transition);
}

.category-pill:hover,
.category-pill.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ─── Article cards ─── */

.section {
  padding: 3.5rem 0;
}

.section--alt {
  background: var(--white);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.article-card__image {
  aspect-ratio: 16 / 10;
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
}

.article-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(12, 26, 46, 0.4) 100%);
}

.article-card__image--politics {
  background: linear-gradient(145deg, #1a3a5c 0%, #0c1a2e 100%);
}

.article-card__image--policy {
  background: linear-gradient(145deg, #3d1f2a 0%, #1a0a10 100%);
}

.article-card__image--governance {
  background: linear-gradient(145deg, #2a3d2a 0%, #0f1a0f 100%);
}

.article-card__image--diplomacy {
  background: linear-gradient(145deg, #2a2a4a 0%, #12122a 100%);
}

.article-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card__category {
  margin-bottom: 0.65rem;
}

.article-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 0.75rem;
  flex: 1;
}

.article-card__title a:hover {
  color: var(--burgundy);
}

.article-card__excerpt {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--ink-light);
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.article-card__author {
  font-weight: 600;
  color: var(--navy);
}

a.article-card__author:hover {
  color: var(--burgundy);
}

/* Author links (inline bylines) */

.author-link {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.author-link:hover {
  color: var(--burgundy);
}

.hero__meta .author-link {
  color: rgba(255, 255, 255, 0.65);
}

.hero__meta .author-link strong,
.hero__meta .author-link {
  color: var(--gold);
  font-weight: 600;
}

.hero__meta .author-link:hover,
.hero__meta .author-link:hover strong {
  color: var(--white);
}

.page-header__meta .author-link {
  color: rgba(255, 255, 255, 0.65);
}

.page-header__meta .author-link strong {
  color: var(--gold);
  font-weight: 600;
}

.page-header__meta .author-link:hover,
.page-header__meta .author-link:hover strong {
  color: var(--white);
}

.article-list-item__meta .author-link strong {
  color: var(--navy);
}

.article-list-item__meta .author-link:hover strong {
  color: var(--burgundy);
}

.article-body a.author-link,
.article-body a.tdb-author-name {
  color: var(--burgundy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.article-body a.author-link:hover,
.article-body a.tdb-author-name:hover {
  color: var(--navy);
}

.author-box__name a {
  color: var(--navy);
}

.author-box__name a:hover {
  color: var(--burgundy);
}

.author-box__cta {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.author-box__cta:hover {
  color: var(--navy);
}

/* ─── Featured row (2 col) ─── */

.featured-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.featured-lead {
  position: relative;
}

.featured-lead__image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, var(--navy-light) 0%, var(--burgundy) 100%);
  border-radius: 2px;
  margin-bottom: 1.5rem;
  position: relative;
}

.featured-lead__image::before {
  content: "FEATURED ANALYSIS";
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: var(--gold);
  color: var(--navy);
  padding: 0.35rem 0.65rem;
}

.featured-lead__title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1rem;
}

.featured-lead__title a:hover {
  color: var(--burgundy);
}

.featured-lead__excerpt {
  font-size: 1.0625rem;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.featured-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--white);
}

.featured-list__item {
  padding: 1.35rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  transition: background var(--transition);
}

.featured-list__item:last-child {
  border-bottom: none;
}

.featured-list__item:hover {
  background: var(--cream);
}

.featured-list__num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--cream-dark);
  line-height: 1;
  min-width: 2ch;
}

.featured-list__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.featured-list__title a:hover {
  color: var(--burgundy);
}

.featured-list__meta {
  font-size: 0.8125rem;
  color: var(--ink-light);
}

/* ─── Mission band ─── */

.mission-band {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
  position: relative;
}

.mission-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gold);
}

.mission-band__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.45;
  max-width: 28ch;
  margin: 0 auto 1.5rem;
  color: rgba(255, 255, 255, 0.95);
}

.mission-band__cite {
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ─── Newsletter ─── */

.newsletter {
  background: var(--cream-dark);
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.newsletter .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.newsletter h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.newsletter p {
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

.newsletter__form {
  display: flex;
  gap: 0;
  max-width: 420px;
  margin-left: auto;
  width: 100%;
}

.newsletter__form input {
  flex: 1;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-right: none;
  font-family: inherit;
  font-size: 0.9375rem;
  background: var(--white);
  border-radius: 2px 0 0 2px;
  outline: none;
}

.newsletter__form input:focus {
  border-color: var(--navy);
}

.newsletter__form button {
  padding: 0.85rem 1.5rem;
  background: var(--burgundy);
  color: var(--white);
  border: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0 2px 2px 0;
  transition: background var(--transition);
}

.newsletter__form button:hover {
  background: var(--navy);
}

/* ─── Footer ─── */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 0;
}

.site-footer .container {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo__abbr {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 32ch;
}

.footer-col h4 {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-col ul li {
  margin-bottom: 0.65rem;
}

.footer-col a {
  font-size: 0.9375rem;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding: 1.25rem 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  border: none;
  padding: 0;
}

/* ─── Page header (inner pages) ─── */

.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 0;
  position: relative;
}

.page-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--burgundy), var(--gold), var(--burgundy));
}

.page-header--compact {
  padding: 2rem 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8125rem;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.55);
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.35);
}

.page-header__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.page-header__desc {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 60ch;
  line-height: 1.65;
}

.page-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ─── Article detail ─── */

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3.5rem;
  padding: 3rem 0 4rem;
  align-items: start;
}

.article-content {
  /* max-width: var(--content-width); */
  text-align: justify;
}

.article-content .label {
  margin-bottom: 1rem;
  display: inline-block;
}

.article-lead {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--navy);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.article-body p {
  margin-bottom: 1.35rem;
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2.5rem 0 1rem;
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}

.article-body blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-left: 4px solid var(--burgundy);
  background: var(--white);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--navy);
  box-shadow: var(--shadow);
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.35rem 1.5rem;
}

.article-body ul {
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-pullquote {
  float: right;
  width: 42%;
  margin: 0 0 1.5rem 2rem;
  padding: 1.25rem;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.4;
  border-radius: 2px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.article-tags a {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  background: var(--cream-dark);
  border-radius: 2px;
  color: var(--navy);
}

.article-tags a:hover {
  background: var(--navy);
  color: var(--white);
}

/* Author box */

.author-box {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  margin-top: 3rem;
}

.author-box__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--navy-light), var(--burgundy));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

a.author-box__avatar:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow);
}

.author-box__name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.author-box__role {
  font-size: 0.8125rem;
  color: var(--burgundy);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.author-box__bio {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* Sidebar */

.article-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.sidebar-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-block h4 {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--burgundy);
}

.sidebar-article {
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.sidebar-article:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-article:first-child {
  padding-top: 0;
}

.sidebar-article a {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
  display: block;
  margin-bottom: 0.25rem;
}

.sidebar-article a:hover {
  color: var(--burgundy);
}

.sidebar-article time {
  font-size: 0.75rem;
  color: var(--ink-light);
}

.share-buttons {
  display: flex;
  gap: 0.5rem;
}

.share-buttons a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  transition: all var(--transition);
}

.share-buttons a:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Related articles */

.related-section {
  background: var(--white);
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
}

/* ─── Category page ─── */

.category-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  padding: 3rem 0 4rem;
  align-items: start;
}

.category-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.category-nav {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.category-nav h3 {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  padding: 1rem 1.25rem;
}

.category-nav ul li a {
  display: block;
  padding: 0.85rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.category-nav ul li:last-child a {
  border-bottom: none;
}

.category-nav ul li a:hover,
.category-nav ul li a.is-active {
  background: var(--cream);
  color: var(--burgundy);
  padding-left: 1.5rem;
}

.category-nav__count {
  float: right;
  font-weight: 400;
  color: var(--ink-light);
  font-size: 0.8125rem;
}

.category-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.category-toolbar__count {
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.category-toolbar__count strong {
  color: var(--navy);
}

.category-sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.category-sort select {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.875rem;
  background: var(--white);
  border-radius: 2px;
  cursor: pointer;
}

/* List view for category */

.article-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.article-list-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.article-list-item:first-child {
  padding-top: 0;
}

.article-list-item:hover {
  background: rgba(255, 255, 255, 0.6);
  margin-inline: -1rem;
  padding-inline: 1rem;
  border-radius: 2px;
}

.article-list-item__thumb {
  /* aspect-ratio: 4 / 3;
  border-radius: 2px; */
  background: var(--navy-mid);
}

.article-list-item__thumb--politics {
  background: linear-gradient(145deg, #1a3a5c, #0c1a2e);
}

.article-list-item__thumb--policy {
  background: linear-gradient(145deg, #3d1f2a, #1a0a10);
}

.article-list-item__content .label {
  margin-bottom: 0.5rem;
}

.article-list-item__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.article-list-item__title a:hover {
  color: var(--burgundy);
}

.article-list-item__excerpt {
  color: var(--ink-muted);
  margin-bottom: 1rem;
  line-height: 1.65;
}

.article-list-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.8125rem;
  color: var(--ink-light);
}

.article-list-item__meta strong {
  color: var(--navy);
}

/* Pagination */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.pagination a,
.pagination span {
  min-width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--white);
  color: var(--navy);
  transition: all var(--transition);
}

.pagination a:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.pagination .is-current {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}

.pagination .is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ─── Author / Writer profile ─── */

.author-hero {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem 0 3rem;
  position: relative;
}

.author-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--burgundy), var(--gold), var(--burgundy));
}

.breadcrumb--dark {
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.55);
}

.breadcrumb--dark a:hover {
  color: var(--gold);
}

.author-hero__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
}

.author-hero__avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--navy-light), var(--burgundy));
  border: 4px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--white);
  flex-shrink: 0;
}

.author-box__avatar img,
.author-hero__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-hero__name {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.author-hero__title {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.25rem;
}

.author-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
}

.author-hero__meta strong {
  color: var(--gold);
}

.author-hero__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.author-hero__social a {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  color: var(--white);
  transition: all var(--transition);
}

.author-hero__social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.author-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3.5rem;
  padding: 3rem 0 4rem;
  align-items: start;
}

.author-section {
  margin-bottom: 3rem;
}

.author-section h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  /* margin-bottom: 1.25rem; */
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--burgundy);
}

.author-section__body p {
  margin-bottom: 1.25rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

.author-section__body p:last-child {
  margin-bottom: 0;
}

.author-section .section-header {
  margin-bottom: 1.5rem;
}

.author-section__count {
  font-size: 0.875rem;
  color: var(--ink-light);
  font-weight: 600;
}

.author-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.author-publications .article-list-item {
  align-items: start;
}

.author-publications .article-list-item__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1.25rem;
  margin-bottom: 0.5rem;
}

.author-publications .article-list-item__kicker .label {
  margin-bottom: 0;
}

.author-publications .article-list-item:first-child {
  padding-top: 0;
}

.author-publications .article-list-item:not(:has(.article-list-item__thumb)) {
  grid-template-columns: 1fr;
}

.author-publications .article-list-item__thumb {
  position: relative;
  display: block;
  width: 220px;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  align-self: start;
  justify-self: start;
  overflow: hidden;
  border-radius: 2px;
  background-color: transparent;
}

.author-publications .article-list-item__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
}

.author-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.author-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.author-stats dt {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 0.2rem;
}

.author-stats dd {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
}

.author-appearances {
  list-style: disc;
  margin-left: 1.25rem;
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.author-appearances li {
  margin-bottom: 0.65rem;
}

.author-appearances em {
  font-style: italic;
  color: var(--navy);
}

.sidebar-article__role {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-light);
  margin-top: 0.15rem;
}

/* ─── Social icons ─── */

.social-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.social-icons a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  transition: all var(--transition);
}

.social-icons a:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.social-icons--light a {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.social-icons--light a:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.social-icons svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.top-bar__right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.social-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0;
}

.social-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-bar__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

/* ─── Authors slider (index) ─── */

.authors-slider {
  background: var(--white);
  border-block: 1px solid var(--border);
  padding: 3rem 0;
  overflow: hidden;
}

.authors-slider .section-header {
  margin-bottom: 1.75rem;
}

.authors-slider__viewport {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--cream);
}

.authors-slider__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.author-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem 2.5rem;
  min-height: 200px;
}

.author-slide__avatar {
  width: 130px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--navy-light), var(--burgundy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--white);
  flex-shrink: 0;
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
}

.author-slide__avatar--alt {
  background: linear-gradient(145deg, #2a4a6a, #1a3050);
}

.author-slide__avatar--gold {
  background: linear-gradient(145deg, var(--gold-muted), var(--burgundy-soft));
}

.author-slide__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.author-slide__name a:hover {
  color: var(--burgundy);
}

.author-slide__role {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--burgundy);
  margin-bottom: 0.75rem;
}

.author-slide__bio {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 150ch;
  margin-bottom: 1rem;
}

.author-slide__link {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}

.author-slide__link:hover {
  color: var(--burgundy);
}

.author-slide__stat {
  text-align: center;
  padding-left: 2rem;
  border-left: 1px solid var(--border);
}

.author-slide__stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}

.author-slide__stat span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-light);
}

.authors-slider__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.authors-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--cream-dark);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}

.authors-slider__dot.is-active {
  background: var(--burgundy);
  transform: scale(1.15);
}

/* ─── Article share (after content) ─── */

.article-share {
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.article-share__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.article-share__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.article-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--cream);
  color: var(--navy);
  transition: all var(--transition);
}

.article-share__btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.article-share__btn:hover {
  color: var(--white);
  border-color: transparent;
}

.article-share__btn--facebook:hover { background: #1877f2; }
.article-share__btn--x:hover { background: #000; }
.article-share__btn--linkedin:hover { background: #0a66c2; }
.article-share__btn--whatsapp:hover { background: #25d366; }
.article-share__btn--copy:hover { background: var(--navy); }

.share-buttons a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ─── Static pages (about, contact, privacy) ─── */

.page-content {
  padding: 3rem 0 4rem;
}

.page-content__inner {
  max-width: var(--content-width);
}

.page-content__inner--wide {
  max-width: 900px;
}

.page-content h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2rem 0 1rem;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p,
.page-content li {
  color: var(--ink-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.page-content ul {
  margin: 0 0 1.25rem 1.5rem;
  list-style: disc;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.75rem;
  border-radius: 2px;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.9375rem;
  border-radius: 2px;
  background: var(--cream);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  padding: 0.85rem 1.75rem;
  background: var(--burgundy);
  color: var(--white);
  border: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
}

.contact-form button:hover {
  background: var(--navy);
}

.footer-social {
  margin-top: 1.25rem;
}

/* ─── Responsive ─── */

@media (max-width: 1024px) {
  .author-layout {
    grid-template-columns: 1fr;
  }

  .author-sidebar {
    position: static;
  }

  .author-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .author-hero__avatar {
    margin-inline: auto;
  }

  .author-hero__meta,
  .author-hero__social {
    justify-content: center;
  }

  .hero .container {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__sidebar {
    grid-column: auto;
    margin-bottom: 0;
  }

  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-row {
    grid-template-columns: 1fr;
  }

  .article-layout,
  .category-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar,
  .category-sidebar {
    position: static;
  }

  .article-pullquote {
    float: none;
    width: 100%;
    margin: 1.5rem 0;
  }

  .site-footer .container {
    grid-template-columns: 1fr 1fr;
  }

  .newsletter .container {
    grid-template-columns: 1fr;
  }

  .newsletter__form {
    margin-left: 0;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .main-nav,
  .header-search {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .site-header .container {
    position: relative;
    flex-wrap: wrap;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-list-item {
    grid-template-columns: 1fr;
  }

  .article-list-item__thumb {
    max-height: 200px;
    aspect-ratio: 16 / 9;
  }

  .site-footer .container {
    grid-template-columns: 1fr;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

  .author-slide {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.5rem;
  }

  .author-slide__avatar {
    margin-inline: auto;
  }

  .author-slide__stat {
    border-left: none;
    border-top: 1px solid var(--border);
    padding-left: 0;
    padding-top: 1.25rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .top-bar .container {
    flex-direction: column;
    align-items: flex-start;
  }
}
