/* ===== RESET & BASE ===== */
html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand palette */
  --navy: #0a2540;
  --navy-light: #0f3460;
  --blue: #1a73e8;
  --blue-light: #e8f0fe;
  --accent: #00c9a7;
  --accent-dark: #00a88a;
  --gold: #d4a843;
  --red: #e04040;
  --green: #1db954;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #adb5bd;
  --gray-500: #6c757d;
  --gray-600: #495057;
  --gray-700: #343a40;
  --gray-800: #212529;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Spacing */
  --section-gap: 64px;
  --container-max: 1200px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--blue);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 3px solid var(--accent);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--white);
}

.logo:hover {
  color: var(--accent);
}

.logo__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--accent);
  color: var(--navy);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
}

.logo__img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.logo__text {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav__list {
  display: flex;
  gap: 28px;
}

.nav__link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav__link:hover {
  color: var(--white);
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle--active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle--active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle--active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== AVATARS ===== */
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.avatar--sm {
  width: 28px;
  height: 28px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
}

.btn--primary:hover {
  background: #155ab6;
  color: var(--white);
}

.btn--accent {
  background: var(--accent);
  color: var(--navy);
}

.btn--accent:hover {
  background: var(--accent-dark);
  color: var(--navy);
}

.btn--block {
  width: 100%;
}

/* ===== BADGES ===== */
.badge {
  display: inline-block;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 50px;
  background: var(--blue);
  color: var(--white);
}

.badge--accent {
  background: var(--accent);
  color: var(--navy);
}

.badge--category {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--navy);
  color: var(--white);
}

.badge--sm {
  padding: 3px 10px;
  font-size: 0.7rem;
}

/* ===== SECTIONS ===== */
.section {
  padding: var(--section-gap) 0;
}

.section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section__title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.section__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
}

.section__link:hover {
  text-decoration: underline;
}

/* ===== FEATURED GRID ===== */
.featured__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 6px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.card__image {
  position: relative;
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s;
}

.card:hover .card__image img {
  transform: scale(1.05);
}

.card__body {
  padding: 20px;
}

.card__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 10px;
}

.card__excerpt {
  font-size: 0.88rem;
  color: var(--gray-500);
  margin-bottom: 16px;
  line-height: 1.6;
}

.card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--gray-500);
}

.card__date {
  color: var(--gray-400);
}

.card__meta .card__date::before {
  content: '·';
  margin-right: 8px;
}

/* ===== TAGS ===== */
.tag {
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 50px;
  color: var(--gray-600);
  transition: all 0.2s;
}

.tag:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* ===== SIDEBAR ===== */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sidebar__widget {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--gray-200);
}

.sidebar__widget--cta {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  border: none;
}

.sidebar__widget--cta small {
  display: block;
  margin-top: 12px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.sidebar__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}

.sidebar__title--light {
  color: var(--white);
}

.sidebar-form__input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 0.88rem;
  margin-bottom: 10px;
  font-family: var(--font-sans);
}

.sidebar-form__input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.sidebar-form__input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.15);
}

/* ===== NEWSLETTER ===== */
.newsletter {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 56px 0;
}

.newsletter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.newsletter__title {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 8px;
}

.newsletter__text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  max-width: 500px;
}

.newsletter__form {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.newsletter__input {
  padding: 14px 18px;
  font-size: 0.9rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  width: 300px;
  font-family: var(--font-sans);
  transition: border-color 0.2s;
}

.newsletter__input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter__input:focus {
  outline: none;
  border-color: var(--accent);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-800);
  color: var(--gray-400);
  padding: 56px 0 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
}

.footer__brand {
  max-width: 600px;
  flex-shrink: 0;
}

.logo--footer .logo__text {
  color: var(--white);
}

.footer__tagline {
  margin-top: 12px;
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer__address {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-top: 14px;
  line-height: 1.6;
}

.footer__links {
  display: flex;
  gap: 64px;
}

.footer__col h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer__col li {
  margin-bottom: 10px;
}

.footer__col a {
  font-size: 0.88rem;
  color: var(--gray-400);
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--accent);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid var(--gray-700);
  font-size: 0.82rem;
}

.footer__socials {
  display: flex;
  gap: 20px;
}

.footer__socials a {
  color: var(--gray-400);
  font-weight: 700;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer__socials a:hover {
  color: var(--accent);
}

/* ============================================ */
/* ===== BLOG DETAIL PAGE STYLES ===== */
/* ============================================ */

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: var(--gray-50);
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--gray-500);
}

.breadcrumb__list li:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: var(--gray-300);
}

.breadcrumb__list a {
  color: var(--gray-500);
}

.breadcrumb__list a:hover {
  color: var(--blue);
}

.breadcrumb__list li[aria-current="page"] {
  color: var(--navy);
  font-weight: 500;
}

/* ===== ARTICLE HEADER ===== */
.article-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 80px 0 80px;
}

.article-header__title {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  line-height: 1.15;
  margin: 16px 0 20px;
  letter-spacing: -0.02em;
}

.article-header__subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 700px;
}

.article-header__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.article-header__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.article-header__author .avatar {
  width: 48px;
  height: 48px;
}

.article-header__author-name {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
}

.article-header__author-name:hover {
  color: var(--accent);
}

.article-header__author-role {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.article-header__details {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.article-header__date,
.article-header__reading {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-header__date svg,
.article-header__reading svg {
  opacity: 0.5;
}

/* ===== HERO IMAGE ===== */
.article-hero-image {
  margin-top: -50px;
  padding-bottom: 8px;
}

.article-hero-image__figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 -2px 11px rgba(0, 0, 0, 0.15);
}

.article-hero-image__figure img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.article-hero-image__figure figcaption {
  background: var(--gray-50);
  padding: 10px 16px;
  font-size: 0.78rem;
  color: var(--gray-500);
  border-top: 1px solid var(--gray-200);
}

/* ===== ARTICLE CONTENT LAYOUT ===== */
.article-content__layout {
  display: grid;
  grid-template-columns: 48px 1fr 320px;
  gap: 36px;
  align-items: start;
}

/* ===== SHARE BAR (sticky) ===== */
.share-bar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.share-bar__label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
}

.share-bar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-600);
  transition: background 0.2s, color 0.2s;
}

.share-bar__btn:hover {
  background: var(--navy);
  color: var(--white);
}

/* ===== ARTICLE BODY (Prose) ===== */
.article-body {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-700);
}

.article-body__lead p {
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--gray-800);
  font-weight: 500;
  border-left: 4px solid var(--accent);
  padding-left: 20px;
  margin-bottom: 32px;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--navy);
  margin: 40px 0 16px;
  padding-top: 8px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.article-body h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--navy);
  margin: 32px 0 12px;
  line-height: 1.35;
}

/* Blockquote */
.article-blockquote {
  margin: 32px 0;
  padding: 28px 28px 28px 24px;
  background: var(--gray-50);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.article-blockquote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--navy);
  margin-bottom: 12px;
}

.article-blockquote cite {
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* In-article figure */
.article-figure {
  margin: 36px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.article-figure img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.article-figure figcaption {
  padding: 10px 16px;
  font-size: 0.8rem;
  color: var(--gray-500);
  background: var(--gray-50);
}

/* Callout / Data Table */
.article-callout {
  margin: 36px 0;
  padding: 28px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}

.article-callout h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--navy);
  margin: 0 0 16px;
  padding: 0;
}

.article-callout__list {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--gray-600);
}

.article-callout__list strong {
  color: var(--navy);
}

/* Article body lists */
.article-body ul {
  list-style: disc;
  padding-left: 24px;
  margin: 16px 0;
}

.article-body ol {
  list-style: decimal;
  padding-left: 24px;
  margin: 16px 0;
}

.article-body li {
  margin-bottom: 8px;
  line-height: 1.7;
  color: var(--gray-700);
}

.article-body li::marker {
  color: var(--teal);
}

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.accordion__item {
  border-bottom: 1px solid var(--gray-200);
}

.accordion__item:last-child {
  border-bottom: none;
}

.accordion__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.accordion__header::-webkit-details-marker {
  display: none;
}

.accordion__header::marker {
  content: '';
  display: none;
}

.accordion__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  text-align: left;
}

.accordion__icon {
  flex-shrink: 0;
  color: var(--gray-400);
  transition: transform 0.3s ease;
}

.accordion__item[open] .accordion__icon {
  transform: rotate(180deg);
  color: var(--accent);
}

.accordion__item[open] .accordion__title {
  color: var(--blue);
}

.accordion__body {
  padding: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--gray-600);
  animation: accordionSlide 0.3s ease;
}

.accordion__body p {
  margin: 0;
}

.accordion__body strong {
  color: var(--navy);
}

@keyframes accordionSlide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.article-table th {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 2px solid var(--gray-300);
  font-weight: 600;
  color: var(--gray-600);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.article-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
}

.article-table tr:last-child td {
  border-bottom: none;
}

.rate-down { color: var(--red); font-weight: 600; }
.rate-up { color: var(--green); font-weight: 600; }
.rate-hold { color: var(--gold); font-weight: 600; }

/* Article Tags */
.article-tags {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.article-tags__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-right: 4px;
}

/* ===== SIDEBAR — additional detail-page widgets ===== */

/* Table of Contents */
.toc-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.toc-list__link {
  display: block;
  padding: 8px 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-200);
  transition: color 0.2s, padding-left 0.2s;
}

.toc-list li:last-child .toc-list__link {
  border-bottom: none;
}

.toc-list__link:hover {
  color: var(--blue);
  padding-left: 6px;
}

/* Related articles */
.related-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.related-list__item {
  display: flex;
  gap: 12px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.related-list__item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.related-list__img {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.related-list__title {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 4px;
  transition: color 0.2s;
}

.related-list__item:hover .related-list__title {
  color: var(--blue);
}

/* ===== AUTHOR BIO ===== */
.author-bio {
  padding: 48px 0;
  background: var(--gray-50);
}

.author-bio__card {
  display: flex;
  gap: 24px;
  align-items: start;
  max-width: 720px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin: 0 auto;
}

.author-bio__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  flex-shrink: 0;
}

.author-bio__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
}

.author-bio__name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--navy);
  margin: 4px 0 10px;
}

.author-bio__desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 14px;
}

.author-bio__links {
  display: flex;
  gap: 16px;
}

.author-bio__links a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
}

.author-bio__links a:hover {
  text-decoration: underline;
}

/* ===== COMMENTS ===== */
.comments__container {
  max-width: 720px;
  margin: 0 auto;
}

.comment-form {
  display: flex;
  gap: 14px;
  align-items: start;
  margin: 24px 0 40px;
}

.comment-form__avatar {
  flex-shrink: 0;
}

.comment-form__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.comment-form__input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  resize: vertical;
  transition: border-color 0.2s;
  background: var(--gray-50);
  color: var(--gray-700);
}

.comment-form__input:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}

/* Comment list */
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.comment {
  display: flex;
  gap: 14px;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-200);
}

.comment:last-child {
  border-bottom: none;
}

.comment .avatar {
  flex-shrink: 0;
}

.comment__body {
  flex: 1;
}

.comment__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.comment__author {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.comment__date {
  font-size: 0.78rem;
  color: var(--gray-400);
}

.comment__body > p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--gray-600);
  margin-bottom: 10px;
}

.comment__actions {
  display: flex;
  gap: 16px;
}

.comment__actions a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-400);
}

.comment__actions a:hover {
  color: var(--blue);
}

/* Load more */
.btn--outline {
  background: transparent;
  border: 2px solid var(--gray-300);
  color: var(--gray-600);
}

.btn--outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}

.load-more-btn {
  display: block;
  margin: 32px auto 0;
}

/* ===== LEAD FORM ===== */
.lead-form {
  margin: 48px 0 40px;
  padding: 36px 32px;
  background: linear-gradient(135deg, #f0f6ff 0%, #f8fafc 100%);
  border: 2px solid var(--blue, #2563eb);
  border-radius: 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lead-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue, #2563eb), var(--accent, #f97316));
}

.lead-form__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--blue, #2563eb);
  color: #fff;
  border-radius: 50%;
  margin-bottom: 16px;
}

.lead-form__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy, #0a2540);
  margin-bottom: 8px;
}

.lead-form__desc {
  font-size: 0.95rem;
  color: var(--gray-600, #64748b);
  max-width: 540px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.lead-form__form {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}

.lead-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.lead-form__field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy, #0a2540);
  margin-bottom: 6px;
}

.lead-form__req {
  color: #ef4444;
}

.lead-form__field input {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-family: 'Inter', sans-serif;
  border: 1.5px solid var(--gray-200, #e2e8f0);
  border-radius: 8px;
  background: #fff;
  color: var(--navy, #0a2540);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lead-form__field input:focus {
  outline: none;
  border-color: var(--blue, #2563eb);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.lead-form__field input::placeholder {
  color: var(--gray-400, #94a3b8);
}

.lead-form__submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 4px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.lead-form__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lead-form__note {
  font-size: 0.78rem;
  color: var(--gray-500, #94a3b8);
  text-align: center;
  margin-top: 12px;
}

.lead-form__success {
  padding: 24px 0 8px;
  text-align: center;
}

.lead-form__success h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #16a34a;
  margin: 12px 0 6px;
}

.lead-form__success p {
  font-size: 0.95rem;
  color: var(--gray-600, #64748b);
}

/* ===== MORE ARTICLES ===== */
.more-articles {
  background: var(--gray-50);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
  .article-content__layout {
    grid-template-columns: 1fr;
  }

  .share-bar {
    position: static;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 8px;
  }

  .article-header__title {
    font-size: 2.1rem;
  }

  .article-body {
    max-width: 100%;
  }

  .sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sidebar__widget {
    flex: 1 1 280px;
  }

  .author-bio__card {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .article-header {
    padding: 32px 0 36px;
  }

  .article-header__title {
    font-size: 1.6rem;
  }

  .article-header__subtitle {
    font-size: 1rem;
  }

  .article-header__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-hero-image__figure img {
    height: 240px;
  }

  .article-body {
    font-size: 0.98rem;
  }

  .article-body h2 {
    font-size: 1.35rem;
  }

  .article-figure img {
    height: 220px;
  }

  .article-callout {
    padding: 18px;
    overflow-x: auto;
  }

  .article-table {
    font-size: 0.78rem;
    min-width: 500px;
  }

  .author-bio__card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .author-bio__links {
    justify-content: center;
  }

  .comment-form {
    flex-direction: column;
  }

  .sidebar {
    flex-direction: column;
  }

  .sidebar__widget {
    flex: 1 1 100%;
  }

  .share-bar {
    gap: 8px;
  }

  .lead-form {
    padding: 28px 20px;
  }

  .lead-form__row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lead-form__title {
    font-size: 1.2rem;
  }

  .nav__list {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav__list--open {
    display: flex;
  }

  .nav__link {
    padding: 10px 0;
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .featured__grid {
    grid-template-columns: 1fr;
  }

  .newsletter__form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter__input {
    width: 100%;
  }

  .newsletter__title {
    font-size: 1.5rem;
  }

  .footer__top {
    flex-direction: column;
  }

  .footer__links {
    gap: 48px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .section__title {
    font-size: 1.4rem;
  }
}

@media (max-width: 1024px) {
  .featured__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter__inner {
    flex-direction: column;
    text-align: center;
  }

  .newsletter__text {
    max-width: none;
  }

  .footer__top {
    flex-direction: column;
  }

  .footer__links {
    gap: 32px;
  }
}
