/* English learning pages and their entry links. */
.learning-guides { padding: 72px 0; }
.learning-guides h2 { font-size: clamp(1.65rem, 3.5vw, 2.4rem); line-height: 1.35; margin-bottom: 16px; }
.learning-guides .learning-intro { color: var(--text-sub); max-width: 720px; margin-bottom: 28px; }
.learning-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.learning-card { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--border-glass); border-radius: 18px; background: var(--bg-card); color: var(--text-main); }
.learning-card:hover { border-color: var(--gold-soft); }
.learning-card h3 { font-size: 1.15rem; line-height: 1.5; margin: 0 0 12px; color: var(--text-main); }
.learning-card p { color: var(--text-sub); line-height: 1.75; font-size: .95rem; margin: 0 0 20px; }
.learning-card span { margin-top: auto; color: var(--gold-soft); }
.learning-card:focus-visible, .guide-page a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.guide-page .logo a { display: flex; align-items: center; gap: 12px; color: inherit; }
.guide-page .nav-menu { gap: 24px; }
.guide-skip { position: fixed; top: 8px; left: 12px; z-index: 2000; transform: translateY(-160%); padding: 10px 18px; background: var(--bg-dark); color: var(--gold); }
.guide-skip:focus { transform: none; }
.guide-hero { padding: 132px 24px 44px; max-width: 950px; margin: auto; }
.guide-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; color: var(--text-sub); font-size: .88rem; margin-bottom: 28px; }
.guide-breadcrumb a { color: var(--gold-soft); }
.guide-eyebrow { color: var(--gold-soft); letter-spacing: .12em; font-size: .8rem; text-transform: uppercase; margin-bottom: 12px; }
.guide-hero h1 { font-family: Georgia, serif; font-size: clamp(2.15rem, 4.5vw, 3.35rem); line-height: 1.2; font-weight: 500; letter-spacing: -.02em; margin-bottom: 24px; }
.guide-lead { max-width: 780px; color: #c7c7d1; font-size: 1.15rem; line-height: 1.8; }
.guide-meta { color: var(--text-sub); font-size: .82rem; margin-top: 22px; }
.guide-meta a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.guide-article { max-width: 830px; margin: auto; padding: 0 24px 60px; }
.guide-article h2 { margin: 52px 0 18px; font-size: clamp(1.5rem, 3vw, 1.9rem); line-height: 1.4; }
.guide-article h3 { margin: 30px 0 12px; font-size: 1.2rem; line-height: 1.5; }
.guide-article p, .guide-article li { color: #b9b9c6; line-height: 1.9; }
.guide-article p { margin-bottom: 18px; }
.guide-article ul, .guide-article ol { margin: 0 0 24px; padding-left: 26px; }
.guide-article ul { list-style: disc; }
.guide-article li { margin-bottom: 12px; }
.guide-article strong { color: var(--text-main); }
.guide-article a:not(.btn) { color: #e4c575; text-decoration: underline; text-underline-offset: 3px; }
.guide-page [id], .learning-guides[id] { scroll-margin-top: 100px; }
.guide-toc { background: var(--bg-card); border: 1px solid var(--border-glass); border-radius: 16px; padding: 22px 28px 10px; }
.guide-toc h2 { font-size: 1rem; margin: 0 0 12px; }
.guide-toc ol { margin-bottom: 12px; }
.guide-note { padding: 22px 26px; border-left: 3px solid var(--gold-soft); background: rgba(212,175,55,.06); margin: 26px 0; border-radius: 0 12px 12px 0; }
.guide-note p:last-child { margin-bottom: 0; }
.guide-table-wrap { max-width: 100%; overflow-x: auto; margin: 24px 0; border: 1px solid var(--border-glass); border-radius: 12px; }
.guide-table-hint { display: none; }
.guide-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .92rem; }
.guide-table th, .guide-table td { padding: 16px; vertical-align: top; border-bottom: 1px solid var(--border-glass); min-width: 135px; }
.guide-table th { background: var(--bg-card); color: var(--text-main); }
.guide-table td { color: #b9b9c6; }
.guide-table tbody tr:last-child td, .guide-table tbody tr:last-child th { border-bottom: 0; }
.guide-figure { margin: 30px auto; max-width: 360px; }
.guide-figure img { width: 100%; border-radius: 20px; border: 1px solid var(--border-glass); }
.guide-figure figcaption { color: var(--text-sub); font-size: .82rem; line-height: 1.7; margin-top: 14px; }
.guide-cta { margin: 48px 0 0; padding: 30px; border: 1px solid rgba(212,175,55,.3); border-radius: 18px; background: var(--bg-card); }
.guide-cta h2 { margin: 0 0 14px; }
.guide-cta .btn { white-space: normal; text-align: center; max-width: 100%; }
.guide-cta .guide-trial-note { font-size: .82rem; margin: 14px 0 0; }
.guide-sources { border-top: 1px solid var(--border-glass); margin-top: 42px; padding-top: 20px; font-size: .88rem; }
.guide-sources h2 { font-size: 1rem; margin: 0 0 12px; }
.guide-footer { border-top: 1px solid var(--border-glass); padding: 32px 24px; text-align: center; color: var(--text-sub); font-size: .9rem; }
.guide-footer a { color: var(--gold-soft); }
.guide-footer ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin-bottom: 16px; }
@media (max-width: 800px) {
    .learning-grid { grid-template-columns: 1fr; }
    .learning-guides { padding: 48px 0; }
    .guide-hero { padding-top: 116px; }
    .guide-article, .guide-hero { padding-left: 20px; padding-right: 20px; }
    .guide-note, .guide-toc, .guide-cta { padding: 20px; }
    .guide-table th, .guide-table td { padding: 12px; }
    .guide-table-hint { display: block; font-size: .82rem; }
    .guide-page .logo-text { font-size: 1.05rem; }
    .has-route-flow .time-quality-section { padding: 24px; }
    .has-route-flow .quality-box { grid-template-columns: minmax(0, 1fr); }
}
