/* ============================================================
   BlogDetailContent.css — PDF-matched article content styles
   Supplement to BlogDetail.css — import AFTER BlogDetail.css
   ============================================================ */

/* ── HERO IMAGE: show full image, no cropping ── */
.ah-hero-image {
  height: auto !important;
  border-radius: 16px !important;
  overflow: hidden;
}

.ah-hero-gradient {
  display: block !important;
  background: none !important;
}

.ah-hero-image img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 16px !important;
  display: block;
}

/* ── FULL-WIDTH ARTICLE IMAGE ── */
.article-full-img {
  width: 100%;
  border-radius: 12px;
  display: block;
  margin: 1.75rem 0 2rem;
  object-fit: cover;
  max-height: 420px;
}

/* ── INTRO COVER IMAGE — unused, hero handles cover ── */
.intro-cover-img {
  display: none;
}

/* ── SUBSECTION HEADING (h3 inside article) ── */
.article-content h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 800;
  color: var(--white);
  margin: 2.5rem 0 0.85rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* ── SECTION DIVIDER ── */
.section-divider {
  border: none;
  border-top: 1px solid var(--w08);
  margin: 3.5rem 0;
}

/* ── STACK TABLE ── */
.stack-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0 1.25rem;
  font-size: 0.9rem;
}

.stack-table thead tr {
  border-bottom: 2px solid var(--w12);
}

.stack-table thead th {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  padding: 0.65rem 1rem 0.65rem 0;
  text-align: left;
  font-weight: 700;
}

.stack-table tbody tr {
  border-bottom: 1px solid var(--w08);
  transition: background 0.15s;
}

.stack-table tbody tr:hover {
  background: var(--w03);
}

.stack-table tbody td {
  padding: 0.85rem 1rem 0.85rem 0;
  vertical-align: top;
  line-height: 1.6;
}

.stack-table tbody td:first-child {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--w50);
  font-weight: 700;
  white-space: nowrap;
  padding-right: 2rem;
  width: 130px;
}

.stack-table tbody td:last-child {
  color: var(--w70);
  font-size: 0.88rem;
}

/* ── CONTACT EMAIL LINK ── */
.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 1px solid var(--o35);
  padding-bottom: 1px;
  transition: opacity 0.2s;
  margin: 0.5rem 0 1rem;
}

.contact-email-link:hover {
  opacity: 0.75;
}

/* ── PLAIN BELIEF ITEM (replaces sector-list for beliefs section) ── */
.belief-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--w08);
}

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

.belief-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.belief-item p {
  margin: 0 !important;
  font-size: 0.9rem;
  color: var(--w50);
  line-height: 1.75;
}

/* ── SUBSECTION image+text block ── */
.article-subsection {
  margin-bottom: 3.5rem;
}

.article-subsection h3 {
  margin-top: 1.25rem;
}

/* ── LIGHT MODE overrides ── */
html[data-theme="light"] .stack-table thead th {
  color: var(--primary);
}
html[data-theme="light"] .stack-table tbody td:first-child {
  color: #555;
}
html[data-theme="light"] .stack-table tbody td:last-child {
  color: #222;
}
html[data-theme="light"] .stack-table tbody tr:hover {
  background: #f5f5f5;
}
html[data-theme="light"] .belief-item strong {
  color: #111;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .article-full-img,
  .intro-cover-img {
    max-height: 260px;
    border-radius: 10px;
  }

  .stack-table tbody td:first-child {
    width: 100px;
    padding-right: 1rem;
  }
}