/* Edina Trâm — Home v2 (Feedback 4): loaded AFTER page2.css. Home-only layout + collapse rules. */

/* Question headings were 12px tracked small-caps. ~3×, in the heading face,
   with a darker gold on ivory (champagne on dark) so the question is readable
   before the large answer. Thư Ngỏ stays the small kicker in .letter. */
.ed-head .ed-rule { align-items: flex-start; }
.ed-head .eyebrow {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.1vw, 36px);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1.22;
  color: #7A5610;
}
.ed--dark .ed-head .eyebrow { color: var(--champagne-glow); }
.ed-head .ed-idx { flex: none; padding-top: 0.2em; }

/* ── FourWorlds: tighter rows, wider quote ─────────────── */
.timeline .tl-body h3 { margin-bottom: 0; }
.timeline .tl-row { padding-bottom: clamp(16px, 2.4vw, 28px); }
.timeline { gap: clamp(16px, 2.4vw, 28px); }
.tl-note { max-width: 64ch; }

/* ── Native <details> collapses (Signs + Benefits) ─────── */
.sign-row, .benefit { display: block; }

.sign-row > summary,
.benefit > summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  align-items: baseline;
  gap: var(--space-5);
}
.sign-row > summary::-webkit-details-marker,
.benefit > summary::-webkit-details-marker { display: none; }

.sign-row > summary::after,
.benefit > summary::after {
  content: "";
  width: 9px; height: 9px;
  border-right: 2px solid var(--royal-gold);
  border-bottom: 2px solid var(--royal-gold);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease-out-expo, ease);
  justify-self: end;
  align-self: center;
}
.sign-row[open] > summary::after,
.benefit[open] > summary::after { transform: rotate(-135deg); }

.sign-row > summary:focus-visible,
.benefit > summary:focus-visible {
  outline: 2px solid var(--royal-gold);
  outline-offset: 4px;
}

/* Signs: number + English label + Vietnamese title in summary; description on expand */
.sign-row > summary { grid-template-columns: 56px 1fr auto; }
.sign-head { display: block; }
.sign-title { display: block; font-family: var(--font-heading); font-weight: var(--weight-semibold); font-size: var(--text-2xl); line-height: 1.2; color: var(--color-heading, inherit); }
.sign-desc { padding-left: calc(56px + var(--space-5)); }
.sign-desc p { color: var(--color-fg-muted); margin: var(--space-3) 0 0; }

/* Benefits: diamond bullet + title in summary; description on expand */
.benefit > summary { grid-template-columns: auto 1fr auto; gap: var(--space-6); }
.benefit > summary .di { width: 8px; height: 8px; background: var(--royal-gold); transform: rotate(45deg); align-self: center; }
.benefit-title { font-family: var(--font-heading); font-weight: var(--weight-semibold); font-size: var(--text-2xl); }
.benefit-desc { padding-left: calc(8px + var(--space-6)); }
.benefit-desc p { color: var(--color-fg-muted); font-size: var(--text-lg); margin: var(--space-3) 0 0; }

/* Testimonials moved into the benefits section */
.benefits + .testi-grid,
.home-highlight + .testi-grid { margin-top: clamp(40px, 6vw, 72px); }

/* ── Instructor profile ───────────────────────────────── */
.profile-list { grid-template-columns: 1fr; }
.profile-heading { font-family: var(--font-body); }
.inst-visual { background: none; border: 0; padding: 0; box-shadow: none; }

/* Section heading welcome line and the benefits highlight box (08 Nov 2026) */
.ed-welcome { margin-top: var(--space-4); }
.home-highlight {
  margin-top: clamp(32px, 5vw, 56px);
  max-width: 760px;
  border-left: 3px solid var(--royal-gold);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px) clamp(22px, 3.5vw, 40px);
  background: linear-gradient(135deg, rgba(200,162,68,0.16), rgba(241,216,154,0.10));
}
.home-highlight p { margin: 0; font-family: var(--font-heading); font-style: italic; font-weight: var(--weight-semibold); font-size: clamp(24px, 2.8vw, 32px); line-height: 1.35; color: var(--color-primary); }
.home-highlight p + p { margin-top: var(--space-2); color: var(--emerald-depth); }
