.public-guide { width: min(1180px, calc(100% - 2 * var(--page-gutter))); margin: 28px auto 64px; }
.guide-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 26px; padding: 0; list-style: none; font-size: .8rem; color: var(--muted); }
.guide-breadcrumbs li + li::before { content: '/'; margin-right: 10px; color: #b78b9d; }
.guide-breadcrumbs a { color: var(--rose-dark); text-underline-offset: 4px; }
.guide-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(22px, 4vw, 44px); border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(130deg, #fff, #fff1f6); }
.guide-hero h1 { margin: 10px 0 18px; max-width: 22ch; font-size: clamp(1.65rem, 3vw, 2.55rem); line-height: 1.36; letter-spacing: -.025em; }
html.bangla-ui .guide-hero h1 { line-height: 1.5; letter-spacing: 0; }
.guide-lead { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.85; }
.guide-reviewed { margin: 16px 0 0; color: var(--muted); font-size: .77rem; }
.guide-answer { min-width: 0; padding: 26px; border: 1px solid #e7c6d4; border-radius: 20px; background: #fffafb; box-shadow: var(--soft-shadow); }
.guide-light { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #f9e0eb; color: var(--rose-dark); }
.guide-answer h2 { margin: 12px 0; font-size: 1.2rem; line-height: 1.6; }
.guide-answer p { margin: 0; color: #62414f; font-size: .95rem; line-height: 1.9; }
.guide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
.guide-primary, .guide-secondary { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 46px; padding: 11px 20px; border-radius: 12px; font-size: .92rem; font-weight: 750; line-height: 1.6; text-decoration: none; }
.guide-primary { color: #fff; background: var(--rose-dark); border: 1px solid var(--rose-dark); }
.guide-primary:hover { background: var(--deep); }
.guide-secondary { color: var(--deep); border: 1px solid #dbb1c2; background: #fff; }
.guide-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: clamp(28px, 5vw, 65px); align-items: start; margin-top: 40px; }
.guide-contents { display: grid; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.guide-contents h2 { margin: 0 0 8px; font-size: .95rem; line-height: 1.6; }
.guide-contents a { padding: 9px 6px; min-height: 44px; color: var(--muted); text-decoration: none; font-size: .86rem; line-height: 1.6; border-radius: 7px; }
.guide-contents a:hover { background: var(--cream); color: var(--deep); }
.guide-reading { min-width: 0; max-width: 760px; }
.guide-section { scroll-margin-top: 110px; margin-bottom: 34px; }
.guide-section + .guide-section { padding-top: 26px; border-top: 1px solid var(--line); }
.guide-section h2, .guide-next h2, .guide-related h2 { margin: 0 0 16px; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.65; }
.guide-section p, .guide-section li, .guide-next p { line-height: 1.95; font-size: 1rem; color: #614753; }
.guide-section p { margin: 0 0 15px; }
.guide-examples { padding: 16px 18px; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.guide-examples p { margin-bottom: 10px; font-size: .83rem; color: var(--muted); }
.guide-examples code { display: block; padding: 5px 0; font-size: .9rem; color: var(--deep); overflow-wrap: anywhere; }
.guide-steps { display: grid; gap: 22px; margin: 20px 0 0; padding: 0; list-style: none; }
.guide-steps li { display: flex; gap: 14px; }
.guide-step-number { display: grid; place-items: center; align-self: start; flex: 0 0 32px; height: 32px; margin-top: 2px; background: #f7e0e9; color: var(--deep); border-radius: 50%; font-size: .84rem; font-weight: 800; }
.guide-steps h3 { margin: 0 0 7px; font-size: 1.05rem; line-height: 1.7; }
.guide-steps p { margin: 0; }
.guide-checklist { margin: 16px 0 0; padding-left: 23px; }
.guide-checklist li { padding-left: 3px; margin: 10px 0; }
.guide-reciprocal { margin: 24px 0 0; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.guide-reciprocal figcaption { color: var(--deep); font-weight: 750; margin-bottom: 14px; font-size: .94rem; }
.guide-reciprocal > div { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; margin-top: 12px; text-align: center; font-size: .88rem; line-height: 1.7; }
.guide-reciprocal span { padding: 12px 8px; border-radius: 10px; background: #fff2f6; }
.guide-reciprocal b { font-size: 1.2rem; color: var(--rose-dark); }
.guide-score { display: flex; gap: 22px; align-items: center; padding: 22px; margin-top: 24px; border: 1px solid #e5c4d2; border-radius: 16px; background: #fff5f9; }
.guide-score > div { flex: 0 0 140px; }
.guide-score span { display: block; color: var(--muted); font-size: .78rem; line-height: 1.7; }
.guide-score strong { display: block; margin-top: 4px; color: var(--rose-dark); font-size: 1.9rem; line-height: 1.5; }
.guide-score p { margin: 0; font-size: .94rem; }
.guide-questions details { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; background: #fff; }
.guide-questions summary { padding: 16px 0; min-height: 48px; cursor: pointer; font-weight: 700; color: var(--ink); line-height: 1.75; }
.guide-questions details p { font-size: .96rem; padding-bottom: 4px; }
.guide-inline-link { display: inline-flex; gap: 8px; align-items: center; padding: 10px 0; color: var(--rose-dark); text-underline-offset: 4px; font-size: .91rem; }
.guide-source-note, .guide-independence { color: var(--muted); font-size: .83rem; line-height: 1.85; overflow-wrap: anywhere; }
.guide-source-note a { color: var(--rose-dark); text-underline-offset: 3px; }
.guide-independence { margin-top: 18px; }
.guide-next { display: flex; justify-content: space-between; gap: 28px; align-items: center; padding: clamp(22px, 4vw, 36px); margin-top: 30px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.guide-next > div { max-width: 700px; }
.guide-next p { margin: 0; }
.guide-next .eyebrow { margin-bottom: 10px; }
.guide-next .guide-primary { flex-shrink: 0; }
.guide-related { margin-top: 36px; }
.guide-related > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.guide-related a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px; min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--deep); text-decoration: none; font-size: .94rem; line-height: 1.8; }
.guide-related a:hover { background: var(--cream); }
.public-guide a:focus-visible, .public-guide summary:focus-visible { outline: 3px solid var(--rose-dark); outline-offset: 4px; }
@media (max-width: 900px) {
  .guide-hero { grid-template-columns: 1fr; }
  .guide-hero h1 { max-width: none; }
  .guide-layout { grid-template-columns: 1fr; gap: 28px; }
  .guide-contents { gap: 0; }
  .guide-reading { max-width: none; }
  .guide-related > div { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .public-guide { width: calc(100% - 36px); margin-top: 20px; }
  .guide-breadcrumbs ol { font-size: .74rem; margin-bottom: 18px; }
  .guide-hero { padding: 23px 20px; border-radius: 20px; gap: 24px; }
  .guide-hero h1 { font-size: 1.55rem; line-height: 1.55; }
  .guide-hero > div { text-align: center; }
  .guide-answer { padding: 20px; }
  .guide-actions { display: grid; grid-template-columns: 1fr; }
  .guide-lead { font-size: .96rem; }
  .guide-score { flex-direction: column; align-items: stretch; gap: 12px; }
  .guide-score > div { flex: none; }
  .guide-reciprocal { padding: 17px 14px; }
  .guide-reciprocal > div { font-size: .82rem; }
  .guide-next { flex-direction: column; align-items: stretch; gap: 20px; }
  .guide-next > div { text-align: center; }
  .guide-steps li { gap: 10px; }
}
