/* ============================================================
   hibahku.my — Article Page Styles  (Light Reading Theme)
   Shared across all blog/articles/*.html pages
   ============================================================ */

/* ─── ARTICLE PAGE LAYOUT ─── */
.article-page { padding-top: 0; }

/* ─── ARTICLE HERO ─── */
.article-hero {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
  padding: clamp(80px, 12vw, 120px) 0 clamp(52px, 7vw, 80px);
  position: relative;
  overflow: hidden;
}

.article-hero::before {
  content: '';
  position: absolute;
  top: -140px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(230,57,70,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.article-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 85%, rgba(230,57,70,0.03), transparent 42%),
    radial-gradient(circle at 92% 15%, rgba(29,185,84,0.04), transparent 38%);
  pointer-events: none;
}

.article-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.article-breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.article-breadcrumb a:hover { color: var(--green); }
.article-breadcrumb-sep { color: var(--text-faint); font-size: 0.65rem; }
.article-breadcrumb-current { color: var(--text-body); }

.article-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--ink);
}

.article-hero h1 em { font-style: normal; color: var(--red); }

.article-hero-intro {
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 660px;
  margin-bottom: 32px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.article-meta-cat {
  background: rgba(230,57,70,0.08);
  border: 1px solid rgba(230,57,70,0.22);
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.article-meta-icon { font-size: 0.85rem; }

.article-share-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  background: #25d366;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.article-share-wa:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}

.article-hero-thumb {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.article-hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ─── IN-CONTENT STORY FIGURE ─── */
.story-figure {
  margin: 36px 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.story-figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.story-figure figcaption {
  font-size: 0.95rem;
  font-weight: 600;
  font-style: italic;
  color: var(--text-muted);
  text-align: center;
  padding: 12px 16px;
  background: var(--bg-alt);
}

/* ─── INLINE MID-ARTICLE CTA ─── */
.inline-cta {
  margin: 40px 0;
  padding: 26px 24px;
  background: linear-gradient(135deg, rgba(29,185,84,0.09), rgba(29,185,84,0.03));
  border: 1px solid rgba(29,185,84,0.22);
  border-radius: var(--radius);
  text-align: center;
}

.inline-cta p {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 16px;
}

.article-content .inline-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #000;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  border-bottom: none;
  transition: background 0.2s, transform 0.15s;
}

.article-content .inline-cta-btn:hover {
  background: #1ebe5d;
  border-color: transparent;
  transform: translateY(-1px);
}

/* ─── ARTICLE LAYOUT ─── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  align-items: start;
}

/* ─── ARTICLE CONTENT ─── */
.article-content { min-width: 0; }

.article-content h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 48px 0 18px;
  padding-left: 0;
  border-left: none;
  line-height: 1.3;
  position: relative;
  display: inline-block;
  cursor: default;
}
.article-content h2::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  transition: width 0.35s ease;
}
.article-content h2:hover::after {
  width: 100%;
}

.article-content h2:first-child { margin-top: 0; }

.article-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 28px 0 12px;
}

.article-content p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 18px;
}

.article-content ul,
.article-content ol {
  margin: 0 0 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-content li {
  font-size: 0.93rem;
  color: var(--text-body);
  line-height: 1.75;
  padding-left: 6px;
}

.article-content ul li::marker { color: var(--green); }
.article-content ol li::marker { color: var(--green); font-weight: 700; }
.article-content strong { color: var(--ink); font-weight: 600; }

.article-content a {
  color: var(--green-dark);
  border-bottom: 1px solid var(--green-border);
  transition: border-color 0.2s;
}

.article-content a:hover { border-color: var(--green); }
.article-content hr { border: none; border-top: 1px solid var(--border); margin: 44px 0; }

/* ─── HOOK BLOCK — RED URGENCY ─── */
.hook-block {
  background: rgba(230,57,70,0.05);
  border: 1px solid rgba(230,57,70,0.2);
  border-radius: var(--radius);
  padding: 28px;
  margin: 0 0 32px;
}

.hook-block p {
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-body);
}

.hook-block p:last-child { margin-bottom: 0; }
.hook-block strong { color: #c0222f; }

/* ─── HIGHLIGHT BOX (GREEN) ─── */
.article-highlight {
  background: rgba(29,185,84,0.05);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 28px 0;
}

.article-highlight p { margin-bottom: 0; font-size: 0.92rem; color: var(--text-body); }

/* ─── DEFINITION CARD ─── */
.definition-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 28px 0;
}

.definition-card-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 12px;
}

/* Label opsyenal: hutang-selepas-mati.html guna -term tanpa -label */
.definition-card-term {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 10px;
}

.definition-card p {
  margin-bottom: 0;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.75;
}

/* ─── EXPERT BOX ─── */
.expert-box {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0;
  margin: 32px 0;
  border-radius: var(--radius);
  border: 1px solid rgba(29,185,84,0.2);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.expert-box-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 20px;
  background: rgba(29,185,84,0.06);
  border-right: 1px solid rgba(29,185,84,0.15);
  text-align: center;
}

.expert-box-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.expert-box-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
}

.expert-box-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-body);
  line-height: 1.4;
}

.expert-box blockquote {
  margin: 0;
  padding: 28px 28px;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.8;
  font-style: italic;
  background: var(--card);
  border: none;
  position: relative;
}

.expert-box blockquote::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 3rem;
  line-height: 1;
  color: rgba(29,185,84,0.2);
  font-family: Georgia, serif;
  font-style: normal;
}

@media (max-width: 640px) {
  .expert-box { grid-template-columns: 1fr; }
  .expert-box-header {
    flex-direction: row;
    justify-content: flex-start;
    border-right: none;
    border-bottom: 1px solid rgba(29,185,84,0.15);
    padding: 16px 20px;
    gap: 14px;
    text-align: left;
  }
}

/* ─── WARNING BOX ─── */
.warning-box {
  background: rgba(230,57,70,0.04);
  border: 1px solid rgba(230,57,70,0.18);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 28px 0;
}

.warning-box-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.warning-box p { margin-bottom: 0; font-size: 0.92rem; color: var(--text-body); line-height: 1.75; }

/* ─── STORY CARD ─── */
.story-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 32px;
  margin: 28px 0;
  position: relative;
  overflow: hidden;
}

.story-card::before {
  content: '"';
  position: absolute;
  top: 8px; right: 20px;
  font-size: 5rem;
  color: rgba(0,0,0,0.04);
  font-family: Georgia, serif;
  line-height: 1;
}

.story-card-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.story-card-label span { color: var(--red); }

.story-card p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 14px;
}

.story-card p:last-child { margin-bottom: 0; }

/* ─── PROCESS STEPS ─── */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 28px 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom, var(--green), rgba(29,185,84,0.1));
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  position: relative;
}

.process-step-num,
.process-steps .process-step:last-child .process-step-num {
  width: 40px;
  height: 40px;
  background: var(--bg);
  border: 2px solid rgba(29,185,84,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--green);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}

.process-step-content { flex: 1; padding-top: 8px; }

.process-step-content strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.process-step-content span:not(.process-step-duration) {
  display: block;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 8px;
}

.process-step-duration {
  display: inline-flex;
  align-items: center;
  background: rgba(230,57,70,0.08);
  border: 1px solid rgba(230,57,70,0.18);
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  margin-top: 8px;
}

/* ─── MISTAKES LIST ─── */
.mistake-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.mistake-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.mistake-item:hover {
  border-color: rgba(230,57,70,0.22);
  background: rgba(230,57,70,0.02);
  box-shadow: var(--shadow);
}

.mistake-num {
  width: 30px;
  height: 30px;
  background: rgba(230,57,70,0.08);
  border: 1px solid rgba(230,57,70,0.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--red);
  flex-shrink: 0;
}

.mistake-item div { flex: 1; }

.mistake-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 5px;
}

.mistake-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── KES SEBENAR CARD ─── */
.case-study-card {
  background: var(--bg-alt);
  border: 1px solid rgba(230,57,70,0.18);
  border-radius: var(--radius);
  padding: 36px;
  margin: 32px 0;
  position: relative;
  overflow: hidden;
}


.case-study-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.case-study-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.case-study-fact {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.case-study-fact .fact-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--red);
  display: block;
  margin-bottom: 4px;
}

.case-study-fact .fact-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.case-study-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 12px;
}

.case-study-card p:last-child { margin-bottom: 0; }

/* ─── COMPARISON BLOCK ─── */
.compare-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.compare-col {
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.compare-col--bad {
  background: rgba(230,57,70,0.04);
  border: 1px solid rgba(230,57,70,0.18);
}

.compare-col--good {
  background: rgba(29,185,84,0.05);
  border: 1px solid rgba(29,185,84,0.18);
}

.compare-col-header {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.compare-col--bad .compare-col-header { color: var(--red); }
.compare-col--good .compare-col-header { color: var(--green-dark); }

.compare-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-body);
  line-height: 1.6;
}

.compare-point-icon { flex-shrink: 0; font-size: 0.9rem; margin-top: 1px; }

/* ─── RISK GRID ─── */
.risk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.risk-card {
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.risk-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(230,57,70,0.2);
}

.risk-card-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  line-height: 1;
}

.risk-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}

.risk-card p {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
}

/* ─── COMPARISON TABLE ─── */
.comparison-table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: var(--card);
}

.comparison-table th,
.comparison-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  line-height: 1.5;
}

.comparison-table thead tr {
  background: var(--bg-deep);
}

.comparison-table th {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.comparison-table th.col-hibah {
  color: var(--green-dark);
}

.comparison-table tbody tr:last-child td { border-bottom: none; }

.comparison-table tbody tr:hover { background: var(--bg-alt); }

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.comparison-table .cell-hibah {
  background: rgba(29,185,84,0.04);
  color: var(--text-body);
}

.badge-yes {
  display: inline-block;
  background: rgba(29,185,84,0.12);
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  margin-right: 4px;
}

.badge-warning {
  display: inline-block;
  background: rgba(230,130,0,0.1);
  color: #b36200;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  margin-right: 4px;
}

/* ─── HIBAH BENEFITS ─── */
.hibah-benefit-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
}

.hibah-benefit-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-alt);
  border: 1px solid rgba(29,185,84,0.14);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.hibah-benefit-row:hover {
  border-color: rgba(29,185,84,0.28);
  background: rgba(29,185,84,0.04);
  box-shadow: var(--shadow);
}

.hibah-benefit-icon {
  width: 36px;
  height: 36px;
  background: rgba(29,185,84,0.1);
  border: 1px solid rgba(29,185,84,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.hibah-benefit-row div { flex: 1; }

.hibah-benefit-row strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.hibah-benefit-row span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── FAQ SECTION ─── */
.faq-article-section {
  background: var(--bg-alt);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 36px;
  margin: 48px 0 0;
}

.faq-article-header {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.faq-article-section h2 {
  font-size: 1.25rem !important;
  border: none !important;
  padding-left: 0 !important;
  margin: 0 0 28px !important;
  color: var(--ink) !important;
}

.faq-article-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-article-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-article-q {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  color: var(--ink);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.faq-article-q:hover { color: var(--green-dark); }

.faq-article-arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(29,185,84,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 1rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-article-item.open .faq-article-arrow {
  transform: rotate(45deg);
  background: var(--green);
  color: #000;
}

.faq-article-item.open { border-color: rgba(29,185,84,0.25); }

.faq-article-a {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.75;
  transition: max-height 0.35s ease, padding 0.3s ease;
}

.faq-article-item.open .faq-article-a {
  max-height: 300px;
  padding: 0 22px 18px;
}

/* ─── ARTICLE CTA ─── */
.article-cta {
  background: var(--bg);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 56px) clamp(28px, 5vw, 52px);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 60px 0 0;
  box-shadow: var(--shadow);
}

.article-cta::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 280px;
  background: radial-gradient(ellipse, rgba(29,185,84,0.08), transparent 65%);
  pointer-events: none;
}

.article-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
}

.article-cta-icon { font-size: 2.4rem; margin-bottom: 16px; display: block; }

.article-cta h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 14px !important;
  border: none !important;
  padding-left: 0 !important;
  margin-top: 0 !important;
  color: var(--ink) !important;
}

.article-cta h2 span { color: var(--green); }

.article-cta p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.article-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #000;
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.article-cta-btn:hover {
  background: #20c45a;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37,211,102,0.3);
}

/* Fix: stop .article-content a link colour + underline bleeding into the CTA button */
.article-content .article-cta-btn {
  color: #000;
  border-bottom: none;
}

.article-cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.article-cta-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.article-cta-trust-item .check { color: var(--green); }

/* ─── SIDEBAR ─── */
.article-sidebar {
  position: sticky;
  top: calc(var(--hk-nav-h, 64px) + 24px);
}

.sidebar-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.sidebar-card-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-card-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.sidebar-toc { display: flex; flex-direction: column; gap: 4px; }

.toc-link {
  display: block;
  padding: 8px 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  transition: var(--transition);
  line-height: 1.45;
}

.toc-link:hover,
.toc-link.active {
  color: var(--ink);
  background: rgba(0,0,0,0.04);
  border-left-color: var(--green);
}

.sidebar-cta {
  background: linear-gradient(135deg, rgba(29,185,84,0.08), rgba(29,185,84,0.02));
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.sidebar-cta-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.sidebar-cta h4 { font-size: 0.92rem; font-weight: 700; margin-bottom: 8px; color: var(--ink); }

.sidebar-cta p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.sidebar-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #000;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
}

.sidebar-cta-btn:hover {
  background: #20c45a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.25);
}

/* ─── RELATED ARTICLES ─── */
.related-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 72px 0;
}

.related-head { text-align: center; margin-bottom: 44px; }

.related-head h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.related-head p { font-size: 0.88rem; color: var(--text-muted); margin-top: 10px; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}

.related-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.related-card:hover {
  border-color: var(--green-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.related-card-emoji { font-size: 2rem; }
.related-card-cat { font-size: 0.67rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-dark); }

.related-card h3 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  transition: color 0.2s;
}

.related-card:hover h3 { color: var(--green-dark); }
.related-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.65; flex: 1; }

.related-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s, gap 0.2s;
}

.related-card:hover .related-card-link { color: var(--green); gap: 10px; }

/* ─── FOOTER ─── */
.article-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 40px 0 28px;
}

.article-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo { font-size: 1rem; font-weight: 800; color: var(--ink); }
.footer-logo span { color: var(--green); }

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 0.8rem; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--ink); }

.footer-copy {
  font-size: 0.76rem;
  color: var(--text-faint);
  text-align: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; gap: 0; }
  .article-sidebar { display: none; }
  .compare-block { grid-template-columns: 1fr; }
  .risk-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .related-grid { grid-template-columns: 1fr; }
  .article-content h2 { font-size: 1.2rem; padding-left: 13px; }
  .case-study-card { padding: 24px; }
  .article-cta { padding: 36px 24px; }
  .case-study-facts { grid-template-columns: repeat(2, 1fr); }

  /* ── Mobile center-align ── */
  .article-hero-inner,
  .article-hero-inner h1,
  .article-hero-intro,
  .article-breadcrumb,
  .article-content h2,
  .article-content h3,
  .article-content p,
  .article-content blockquote,
  .article-highlight,
  .warning-box,
  .definition-card,
  .hook-block,
  .related-card,
  .article-footer-inner,
  .footer-copy { text-align: center; }

  .article-meta-bar { justify-content: center; flex-wrap: wrap; gap: 8px; }
  .article-share-wa { margin-left: 0; }
  .risk-card { text-align: center; }
  .risk-card-icon { text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
  .footer-logo { display: flex; justify-content: center; width: 100%; text-align: center; }
  .footer-logo span { text-align: center; }

  /* Keep lists left-aligned for readability */
  .article-content ul,
  .article-content ol { text-align: left; }

  /* h2: block + center on mobile, scroll-triggered underline */
  .article-content h2 { display: block; text-align: center; }
  .article-content h2:hover::after { width: 0; }
  .article-content h2.h2-in-view::after { width: 100%; }
}

/* ==========================================================================
   Blok sumber, checklist dan nota
   Dipindahkan keluar dari <style> inline artikel RCI Tabung Haji supaya
   semua artikel boleh guna dan tiada style inline dalam <head>.
   ========================================================================== */
.article-source {
  margin: 28px 0;
  padding: 16px 18px;
  border-left: 3px solid var(--green);
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: .82rem;
  line-height: 1.7;
}
.article-source a { color: var(--green-dark); font-weight: 700; }

.checklist-box {
  margin: 32px 0;
  padding: 26px;
  background: #f0f8f2;
  border: 1px solid #cfe6d4;
  border-radius: var(--radius);
}
.checklist-box ol { margin: 16px 0 0 24px; color: var(--ink); }
.checklist-box li { padding: 6px 0; }

.article-note { margin: 26px 0; font-size: .82rem; color: var(--text-muted); }
