/* ===================================================
   Amrit Bhoomi Article Page Layout (Sticky Sidebar 70/27)
   =================================================== */

:root {
  --content-width: 70%;
  --sidebar-width: 27%;
  --gap-space: 3%;
  --bg-light: #ffffff;
  --bg-alt: #f8f9fa;
  --text-color: #111827;
  --border-color: #e5e7eb;
  --accent: #c1121f;
  --max-width: 1400px;
}

/* Explicit heading sizes to avoid UA deprecation warnings */
h1 { font-size: 1.8rem; line-height: 1.3; margin: 0.6em 0 0.4em; }
h2 { font-size: 1.4rem; line-height: 1.35; margin: 0.7em 0 0.4em; }
h3 { font-size: 1.15rem; line-height: 1.4; margin: 0.6em 0 0.3em; }
h4 { font-size: 1rem; line-height: 1.4; margin: 0.5em 0 0.3em; }

body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text-color);
  background: var(--bg-light);
  margin: 0;
  line-height: 1.6;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

/* Force footer to 3-column single row on article pages */
.footer .footer-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  gap: 30px !important;
}
.footer .footer-col,
.footer .footer-brand-contact {
  flex: 1 1 0 !important;
  min-width: 0 !important;
}

.footer .footer-bottom {
  text-align: center !important;
  width: 100%;
}

/* Skip rendering offscreen blocks to improve Speed Index/TBT */
.cv-auto {
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

/* Popup Ad */
.popup-ad {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.popup-ad.is-open {
  display: flex;
}

.popup-ad__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.popup-ad__card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  width: min(92vw, 380px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  z-index: 1;
  text-align: center;
}

.popup-ad__card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
}

.popup-ad__label {
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 6px;
}

.popup-ad__title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.popup-ad__cta {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #0f5ed1;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
}

.popup-ad__close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: #6b7280;
}

/* ==========================
   Main Article Layout
   ========================== */

.container.article-detail {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 2rem auto;
  padding: 0 16px;
  gap: var(--gap-space);
}

.container.article-detail > article {
  flex: 0 1 var(--content-width);
  min-width: 0;
  background: var(--bg-light);
}

.container.article-detail > aside.sidebar-ads {
  flex: 0 1 var(--sidebar-width);
  min-width: 0;
  background: var(--bg-alt);
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  align-self: flex-start;
  height: fit-content;
  position: sticky;
  top: 80px; /* adjust for header height */
  z-index: 2;
}

.sidebar-ads .ad-box {
  margin-bottom: 1.5rem;
  text-align: center;
}

.sidebar-ads .ad-box img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Stack layout on tablet & below */
@media (max-width: 1024px) {
  .container.article-detail {
    flex-direction: column;
    gap: 24px;
  }

  .container.article-detail > article,
  .container.article-detail > aside.sidebar-ads {
    flex: 1 1 100%;
    min-width: 0;
    position: static;
  }
}

@media (max-width: 768px) {
  .footer .footer-row {
    flex-direction: column !important;
    flex-wrap: wrap !important;
    gap: 18px !important;
  }

  .footer .footer-col,
  .footer .footer-brand-contact {
    flex: 1 1 100% !important;
    width: 100% !important;
  }
}

  /* Product Grid: Always 2 per row */
.product-grid-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

/* Product Card */
.p-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  margin-bottom: 1rem;
  transition: 0.25s ease;
}

.p-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.p-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* ---- FIXED: Perfect square image ---- */
.p-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;      /* PERFECT SQUARE */
  overflow: hidden;
}

.p-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;       /* shows whole product */
  background: #f9fafb;       /* light background */
  padding: 6px;
}

/* Card Body */
.p-card-body {
  padding: 10px;
}

.p-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.p-price {
  font-size: 0.9rem;
  color: #047857;
  font-weight: 700;
}

/* Support CTA */

.support-cta p {
  font-size: 0.85rem;
  color: #4b5563;
  margin: 0 20px 10px;
}

.support-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #14532d;
  color: #f9fafb;
  font-size: 0.9rem;
  font-weight: 600;
}

.support-btn:hover {
  background: #15803d;
}

/* ==========================
   Visually hidden header (SEO)
   ========================== */

.hide-header-visually {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;

  /* Old pattern (for older browsers) */
  clip: rect(0, 0, 0, 0) !important;

  /* Modern pattern */
  clip-path: inset(50%) !important;

  white-space: nowrap !important;
  border: 0 !important;
}


/* ==========================
   Article Header & Meta
   ========================== */

.article-header h1 {
  font-size: 1.8rem;
  margin: 0 0 0.5rem;
  color: var(--accent);
  line-height: 1.3;
}

.article-header .article-meta {
  font-size: 0.9rem;
  color: #6b7280;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1rem;
}

.article-header .article-meta i {
  color: var(--accent);
}

/* ==========================
   Hero Image
   ========================== */

.article-hero {
  margin: 1.5rem 0;
  border-radius: 8px;
  overflow: hidden;
}

.article-hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  max-width: 100%;
  margin: 0 auto;
}

/* ==========================
   Article Body + Collapsed Content
   ========================== */

/* Wrapper */
.article-body {
  margin-top: 12px;
}

/* Long article special background */
.article-body.long-article {
  background: #f9fafb;
  border-radius: 10px;
  padding: 10px 14px;
}

/* Core content (used in "read more" logic) */
.article-content {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.7;
  position: relative;
}

/* Images inside content */
.article-content img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 12px auto;
}

.article-content figure {
  margin: 16px 0;
}

/* Videos / iframes inside content */
.article-content iframe,
.article-content video {
  width: 100%;
  max-width: 100%;
  /* Do NOT set height:100% here — with no constrained parent it resolves to 0
     and competes with aspect-ratio. Let aspect-ratio drive the height instead. */
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
}

/* .ratio wrapper: aspect-ratio only; no ::before padding hack */
.article-content .ratio {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: block;
}
.article-content .ratio > iframe,
.article-content .ratio > video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* ── Shorts / custom-aspect wrapper ─────────────────────────
   When a parent wrapper (.yt-shorts-wrap or any custom div)
   already sets its own aspect-ratio, the inner .lite-yt / .ratio
   must stretch to fill it — NOT impose a second 16:9 ratio.
   ─────────────────────────────────────────────────────────── */
.yt-shorts-wrap,
[class*="-wrap"] .lite-yt ~ * {
  position: relative; /* ensure absolute children anchor here */
}

.yt-shorts-wrap .lite-yt,
.yt-shorts-wrap .ratio {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: unset !important;  /* let the wrapper control ratio */
  border-radius: inherit;
}

/* iframe injected by JS after click also fills the wrapper */
.yt-shorts-wrap iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  aspect-ratio: unset !important;
}

/* Lite YouTube placeholder */
.lite-yt {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.lite-yt::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.35), rgba(0,0,0,0.2));
}

.lite-yt button {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: #111827;
  font-size: 1.5rem;
  z-index: 1;
}

/* Collapsed: show limited lines (approx 30%) */
.article-content.is-collapsed {
  overflow: hidden;
  /* Fallbacks */
  display: block;
  /* WebKit clamp */
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.p-desc {
  font-size: 0.85rem;
  color: #555;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  /* WebKit multi-line clamp */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}


/* Mobile: tighter preview */
@media (max-width: 767px) {
  .article-content.is-collapsed {
    -webkit-line-clamp: 7; /* ~30% on smaller screens */
  }
}

/* Tablet / Desktop: more preview */
@media (min-width: 768px) {
  .article-content.is-collapsed {
    -webkit-line-clamp: 12; /* more lines on larger screens */
  }
}

/* Fade overlay with smooth fade-out */
.fade-overlay {
  margin-top: -40px;
  padding-top: 40px;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;

  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 1) 55%,
    rgba(255, 255, 255, 0) 100%
  );

  color: #0055a4;
  text-decoration: none;

  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* When clicked: JS adds .is-fading → animate and hide */
.fade-overlay.is-fading {
  opacity: 0;
  transform: translateY(10px);
}

/* Pill background for text */
.fade-text {
  background: rgba(255,255,255,0.9);
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

/* Arrow-down animation */
.arrow-down {
  font-size: 0.9rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.fade-overlay:hover .arrow-down {
  transform: translateY(3px);
}

/* Safety: hide overlay when expanded */
.article-content:not(.is-collapsed) + .fade-overlay {
  display: none;
}

/* ==========================
   Share Actions (Desktop + Mobile)
   ========================== */

.article-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
  align-items: center;
}

/* Default (desktop/tablet) style */
.article-actions .act {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 0.9rem;
  background: #ffffff;
  color: #111827;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.article-actions .act i {
  font-size: 1rem;
}

/* Brand icon colors (desktop) */
.article-actions .facebook i { color: #1877f2; }
.article-actions .twitter  i { color: #1d9bf0; }
.article-actions .linkedin i { color: #0a66c2; }
.article-actions .whatsapp i { color: #22c55e; }
.article-actions .save     i { color: #f59e0b; }

.article-actions .act:hover {
  background: #f3f4f6;
  transform: translateY(-1px);
}

/* Mobile: round icons in single row */
@media (max-width: 768px) {
  .article-actions {
    flex-wrap: nowrap;          /* force single row */
    justify-content: center;
    overflow-x: auto;           /* scroll if width too small */
    padding-bottom: 4px;
  }

  .article-actions .act {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    border: none;
    flex: 0 0 auto;             /* prevent wrapping */
  }

  /* Icons white on colored circles */
  .article-actions .act i {
    color: #ffffff;
  }

  .article-actions .facebook { background: #1877f2; }
  .article-actions .twitter  { background: #1d9bf0; }
  .article-actions .linkedin { background: #0a66c2; }
  .article-actions .whatsapp { background: #22c55e; }
  .article-actions .save     { background: #f59e0b; }

  /* Hide labels on mobile to save space */
  .article-actions .act span {
    display: none;
  }
}

/* ==========================
   Author Box
   ========================== */

.article-author {
  display: grid;
  grid-template-columns: 20% 80%;
  gap: 16px;
  background: var(--bg-alt);
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 2rem;
  align-items: center;
}

.article-author img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #e5e7eb;
}

.article-author-info {
  display: block;
  white-space: normal;
}

.article-author-info h3,
.article-author-info h4 {
  margin: 0 0 6px;
}

.article-author-info p {
  margin: 0 0 8px;
  color: #374151;
}

.author-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.author-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 8px;
  background: #0f5ed1;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.author-btn.secondary {
  background: #eef2ff;
  color: #1f2937;
  border: 1px solid #e5e7eb;
}


/* ==========================
   Comments
   ========================== */

.article-comments {
  margin-top: 2rem;
}

.article-comments h3 {
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.comment-form {
  margin-bottom: 1.5rem;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 10px;
  margin: 6px 0;
  border: 1px solid var(--border-color);
  border-radius: 5px;
}

.comment-form button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 5px;
  cursor: pointer;
}

.comment-form button:hover {
  background: #a40f18;
}

.comments-list .comment {
  display: flex;
  gap: 10px;
  margin-bottom: 0.85rem;
}

.comment-img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #e5e7eb;
}

.comment-body {
  background: #ffffff;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  flex: 1;
}

.comment-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: #6b7280;
  margin-bottom: 4px;
}

.comment-head strong {
  color: #111827;
  font-weight: 700;
}

.comments-toggle {
  margin: 1rem 0 .5rem;
}

.comments-toggle-btn {
  background: var(--bg-alt, #f4f5f7);
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  font: inherit;
}

.comments-toggle-btn[aria-expanded="true"] {
  background: #eef2ff;
  border-color: #c7d2fe;
}

.comments-panel {
  margin-top: .75rem;
}

.comment-success {
  background:#ecfdf5;
  color:#065f46;
  border:1px solid #a7f3d0;
  padding:.5rem .75rem;
  border-radius:6px;
}

.comment-error {
  background:#fef2f2;
  color:#991b1b;
  border:1px solid #fecaca;
  padding:.5rem .75rem;
  border-radius:6px;
}

/* ==========================
   Related Articles
   ========================== */

.related-articles {
  margin-top: 3rem;
}

.related-articles h2 {
  margin-bottom: 1rem;
  color: var(--accent);
}

.related-articles .grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.related-articles.latest-by-category .latest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.related-articles .grid .card {
  display: block;
  min-width: 0;
}

.related-articles .card {
  background: var(--bg-alt);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.related-articles .card:hover {
  transform: translateY(-3px);
}

.related-articles .card img {
    width: 100%;
    height: 140px;        /* adjust as needed */
    object-fit: cover;    /* crop nicely */
    border-radius: 6px;
    display: block;
}

.related-articles .card-body {
  padding: 10px 14px;
}

.related-articles .card-body h3 {
  font-size: 1rem;
  margin: 0.4rem 0;
}

.related-articles .card-body p {
  font-size: 0.9rem;
  color: #444;
}

/* ==========================
   WhatsApp Sidebar Ad
   ========================== */

.whatsapp-container {
  margin-top: 1.5rem;
  text-align: center;
}

.whatsapp-ad {
  display: block;
  border: 2px solid #25d366;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: #fff;
}

.whatsapp-ad:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.whatsapp-ad img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 2px solid #25d366;
}

.cta-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f5132;
  margin: 0.75rem 0;
  text-shadow: none;
}

/* ==========================
   Sidebar Product Cards
   ========================== */

.sidebar-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.no-products {
  color: #666;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 1rem;
}




@media (max-width: 600px) {
  .container.article-detail {
    margin: 1rem auto;
    padding: 0 12px;
    gap: 18px;
  }

  .article-header h1 {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .article-header .article-meta {
    gap: 8px;
    font-size: 0.82rem;
  }
  .related-articles .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .article-author {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 12px;
  }

  .article-author img {
    width: min(120px, 40vw);
    margin: 0 auto;
  }

  .article-author-info h3 {
    font-size: 1rem;
  }

  .article-author-info h4 {
    font-size: 0.95rem;
  }

  .article-author-info p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .author-btn {
    font-size: 0.8rem;
    padding: 5px 10px;
  }

  .author-actions {
    justify-content: center;
  }

  .related-articles .card img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .sidebar-ads {
    padding: 12px !important;
  }
}
/* Web Story pill button */
.webstory-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0.5rem 0 1rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f97316;       /* orange accent */
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.webstory-pill i {
  font-size: 0.95rem;
}

.webstory-pill:hover {
  background: #ea580c;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}

/* Mobile tweak: center it */
@media (max-width: 600px) {
  .webstory-pill {
    margin-top: 0.75rem;
  }
}

/* ============================================================
   ARTICLE PAGE — E-E-A-T & SEO ENHANCEMENTS
   Header 2.0 | Story Highlights | Author Card 2.0
============================================================ */

/* ---- Improved Article Header ---- */
.art-meta-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.art-cat-badge {
  background: #0A1F44;
  color: #fff;
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Inter', system-ui, sans-serif;
  text-decoration: none;
  transition: background 0.2s;
}
.art-cat-badge:hover { background: #FF6B00; }
.art-reading-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: #6B7280;
  font-family: 'Inter', system-ui, sans-serif;
}

/* Title */
.art-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
  color: #0A1F44;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

/* Byline row */
.art-byline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
  margin-bottom: 8px;
}
.art-byline-left {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.art-avatar-link { flex-shrink: 0; }
.art-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #E5E7EB;
}
.art-byline-text { flex: 1; min-width: 0; }
.art-byline-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  font-family: 'Inter', system-ui, sans-serif;
}
.art-byline-name a { color: #0A1F44; text-decoration: none; }
.art-byline-name a:hover { color: #FF6B00; text-decoration: underline; }
.art-author-role {
  color: #6B7280;
  font-weight: 400;
  font-size: 0.85rem;
}
.art-byline-dates {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 3px;
}
.art-date-pub,
.art-date-upd {
  font-size: 0.78rem;
  color: #6B7280;
  font-family: 'Inter', system-ui, sans-serif;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.art-date-label {
  font-weight: 600;
  color: #374151;
}
.art-date-label-upd {
  font-weight: 600;
  color: #FF6B00;
}
.art-date-upd { color: #FF6B00; }

/* Quick share buttons */
.art-quick-share {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.art-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.1s;
}
.art-share-btn:hover { opacity: 0.85; transform: scale(1.05); }
.art-share-wa { background: #25D366; }
.art-share-tw { background: #1DA1F2; }
.art-share-fb { background: #1877F2; }

/* Views */
.art-views {
  font-size: 0.78rem;
  color: #9CA3AF;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Inter', system-ui, sans-serif;
}

/* ---- Story Highlights Box ---- */
.art-highlights-box {
  background: #F0F4FF;
  border: 1px solid #C7D2FE;
  border-left: 4px solid #0A1F44;
  border-radius: 8px;
  padding: 16px 18px;
  margin: 16px 0 20px;
}
.art-highlights-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.art-highlights-icon {
  font-size: 1rem;
  line-height: 1;
}
.art-highlights-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0A1F44;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.art-highlights-list {
  margin: 0;
  padding: 0 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.art-highlights-list li {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #1F2937;
  font-family: 'Inter', system-ui, sans-serif;
}
.art-highlights-list li::marker {
  color: #FF6B00;
}

/* ---- Author Card 2.0 ---- */
.art-author-card {
  background: #FAFAFA;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 20px;
  margin: 24px 0;
}
.art-author-inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.art-author-photo-col { flex-shrink: 0; }
.art-author-photo-wrap {
  position: relative;
  width: 80px;
  height: 80px;
}
.art-author-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #0A1F44;
  display: block;
}
.art-verified-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: #0A1F44;
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

.art-author-details { flex: 1; min-width: 0; }
.art-author-label-text {
  font-size: 0.72rem;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 2px;
  font-family: 'Inter', system-ui, sans-serif;
}
.art-author-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 3px;
  color: #0A1F44;
}
.art-author-name a { color: inherit; text-decoration: none; }
.art-author-name a:hover { color: #FF6B00; }
.art-author-title {
  font-size: 0.82rem;
  color: #FF6B00;
  font-weight: 600;
  margin-bottom: 4px;
  font-family: 'Inter', system-ui, sans-serif;
}
.art-author-location {
  font-size: 0.78rem;
  color: #9CA3AF;
  margin-bottom: 8px;
  font-family: 'Inter', system-ui, sans-serif;
  display: flex;
  align-items: center;
  gap: 4px;
}
.art-author-location i { color: #FF6B00; }
.art-author-bio {
  font-size: 0.875rem;
  color: #4B5563;
  line-height: 1.6;
  margin: 0 0 12px;
  font-family: 'Inter', system-ui, sans-serif;
}
.art-author-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.art-author-social {
  display: flex;
  gap: 8px;
}
.art-soc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 0.8rem;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}
.art-soc-icon:hover { opacity: 0.8; }
.art-soc-x  { background: #1DA1F2; }
.art-soc-wa { background: #25D366; }
.art-author-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.art-author-btn-primary,
.art-author-btn-sec {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
  font-family: 'Inter', system-ui, sans-serif;
}
.art-author-btn-primary { background: #25D366; color: #fff; }
.art-author-btn-sec { background: #0A1F44; color: #fff; }
.art-author-btn-primary:hover,
.art-author-btn-sec:hover { opacity: 0.85; }

/* Mobile: stack author card */
@media (max-width: 540px) {
  .art-byline { flex-direction: column; gap: 10px; }
  .art-quick-share { align-self: flex-start; }
  .art-author-inner { flex-direction: column; align-items: center; text-align: center; }
  .art-author-footer { justify-content: center; }
  .art-author-location { justify-content: center; }
  .art-author-social { justify-content: center; }
}
