.learn-main { max-width: 1480px; padding-inline: clamp(.75rem, 2vw, 2rem); }
.learn-layout { --learn-header-height: 110px; --learn-bar-clearance: 0px; display: grid; grid-template-columns: 240px minmax(0,1fr); align-items: start; gap: clamp(1.25rem, 3vw, 2.5rem); }
.whisky-learning { width: 100%; min-width: 0; max-width: 1120px; margin: 0 auto; padding: 1rem 0 4rem; overflow-wrap: anywhere; }
.learn-layout [id] { scroll-margin-top: calc(var(--learn-header-height) + var(--learn-bar-clearance) + 24px); }
.learn-navigation { position: sticky; top: calc(var(--learn-header-height) + 12px); align-self: start; z-index: 20; min-width: 0; margin-top: 1rem; }
.learn-navigation [hidden] { display: none !important; }
.learn-contents { border: 1px solid rgba(212,175,55,.35); border-radius: 14px; background: var(--surface); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.learn-contents summary { display: grid; grid-template-columns: 22px minmax(0,1fr) 16px; gap: .6rem; align-items: center; padding: .85rem .9rem; cursor: pointer; min-height: 62px; list-style: none; }
.learn-contents summary::-webkit-details-marker { display: none; }
.learn-navigation svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--gold-strong); }
.learn-contents-chevron { transition: transform .15s ease; }
.learn-contents[open] .learn-contents-chevron { transform: rotate(180deg); }
.learn-summary-copy { display: flex; flex-direction: column; min-width: 0; gap: .1rem; }
.learn-summary-copy strong { color: var(--gold-strong); font-size: .95rem; }
.learn-summary-copy > span { color: var(--muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.learn-contents-body { display: flex; flex-direction: column; max-height: calc(100dvh - var(--learn-header-height) - 160px); overflow: hidden; border-top: 1px solid rgba(212,175,55,.2); padding: .5rem; }
.learn-index-scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.learn-guide-search { flex-shrink: 0; }
.learn-guide-search { padding: .3rem .35rem .7rem; }
.learn-guide-search label { display: block; font-size: .78rem; color: var(--muted); margin-bottom: .35rem; }
.learn-guide-search input { width: 100%; min-height: 44px; border: 1px solid rgba(212,175,55,.35); border-radius: 9px; background: var(--bg); color: var(--text); font-size: 1rem; padding: .5rem .65rem; }
.learn-chapter-menu ol, .learn-subtopics ul, #learn-search-results { list-style: none; padding: 0; margin: 0; }
.learn-chapter-menu a { display: flex; gap: .65rem; align-items: center; padding: .55rem .5rem; min-height: 44px; color: var(--text); border-left: 3px solid transparent; border-radius: 7px; text-decoration: none; font-size: .88rem; line-height: 1.4; }
.learn-menu-number { color: var(--gold-strong); font-size: .74rem; flex-shrink: 0; }
.learn-navigation a:hover { background: rgba(212,175,55,.09); }
.learn-navigation a[aria-current="location"] { color: var(--gold-strong); background: rgba(212,175,55,.12); border-left-color: var(--gold); font-weight: 700; }
.learn-subtopics { border-top: 1px solid rgba(212,175,55,.2); margin-top: .7rem; padding-top: .6rem; }
.learn-menu-label { color: var(--gold-strong); font-size: .75rem; font-weight: 700; margin: .3rem .5rem .5rem; }
.learn-subtopics a, #learn-search-results a { display: block; min-height: 44px; padding: .6rem .6rem; border-left: 3px solid transparent; border-radius: 7px; color: var(--text); font-size: .84rem; line-height: 1.5; text-decoration: none; }
.learn-result-context { display: block; color: var(--muted); font-size: .74rem; margin-top: .2rem; }
.learn-search-empty { color: var(--muted); padding: .5rem; font-size: .88rem; }
.learn-return-top { display: flex; align-items: center; min-height: 44px; color: var(--gold-strong); font-size: .8rem; padding: .65rem .5rem; border-top: 1px solid rgba(212,175,55,.2); margin-top: .5rem; }
.learn-step-controls { display: flex; gap: .5rem; margin-top: .65rem; }
.learn-step-controls a { display: flex; flex: 1; align-items: center; justify-content: center; gap: .35rem; color: var(--gold-strong); background: var(--surface); border: 1px solid rgba(212,175,55,.3); border-radius: 9px; min-height: 44px; font-size: .8rem; text-decoration: none; }
.learn-step-controls a[aria-disabled="true"] { opacity: .35; cursor: default; pointer-events: none; }
.learn-navigation a:focus-visible, .learn-navigation summary:focus-visible, .learn-navigation input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (max-width: 1199.98px) {
 .learn-layout { display: block; --learn-bar-clearance: 68px; }
 .learn-navigation { display: flex; align-items: stretch; gap: .5rem; top: calc(var(--learn-header-height) + 6px); margin: 0 0 .75rem; padding: .25rem 0; background: var(--bg); box-shadow: 0 0 0 .5rem var(--bg); }
 .learn-contents { flex: 1; min-width: 0; }
 .learn-contents summary { padding: .6rem .7rem; min-height: 58px; }
 .learn-summary-copy { line-height: 1.3; }
 .learn-summary-copy > span { line-height: 1.4; }
 .learn-contents-body { position: absolute; top: calc(100% + 6px); left: 0; right: 0; max-height: calc(100dvh - var(--learn-header-height) - var(--learn-bar-clearance) - var(--wk-mobile-nav-height, 0px) - 32px); border: 1px solid rgba(212,175,55,.4); border-radius: 12px; background: var(--surface); box-shadow: 0 12px 30px rgba(0,0,0,.3); padding: .65rem; }
 .learn-step-controls { flex-shrink: 0; margin: 0; gap: .35rem; }
 .learn-step-controls a { width: 44px; min-height: 58px; }
 .learn-step-controls a > span { display: none; }
 .learn-chapter-menu a { font-size: .95rem; }
 .learn-subtopics a, #learn-search-results a { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .learn-contents-chevron { transition: none; } }
.learn-hero { padding: clamp(1.5rem, 5vw, 3.5rem); border: 1px solid var(--gold); border-radius: 24px; background: radial-gradient(ellipse at top right, rgba(212,175,55,.14), transparent 65%), var(--surface); }
.learn-hero h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); margin-bottom: 1rem; }
.learn-kicker { color: var(--gold-strong); font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.learn-lead { font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.8; max-width: 800px; }
.learn-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.learn-actions .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; white-space: normal; }
.learn-collector-topics { padding: 1.2rem 1.5rem; margin: 1.5rem 0; border: 1px solid rgba(212,175,55,.3); border-radius: 14px; background: var(--surface); }
.learn-collector-topics > p { color: var(--gold-strong); }
.learn-collector-topics ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 2rem; margin: 0; padding-left: 1.3rem; }
.learn-collector-topics li { padding-left: .25rem; }
.learn-personal-actions { margin-bottom: 2rem; }
.learn-icon { color: var(--gold-strong); flex-shrink: 0; }
.learn-context { color: var(--muted); font-size: .95rem; line-height: 1.8; margin: 1.8rem 0 2rem; }
.whisky-learning .learn-topics { background: var(--surface); border: 1px solid rgba(212,175,55,.3); border-radius: 14px; padding: 0 1.2rem; margin: 1.5rem 0; }
.learn-topics summary { cursor: pointer; font-weight: 650; padding: 1rem 0; min-height: 48px; }
.learn-topics[open] summary { color: var(--gold-strong); }
.learn-topics ul { margin-bottom: 1rem; }
.learn-topics li { margin-bottom: .25rem; }
.learn-transition { margin: 2rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(212,175,55,.2); }
.learn-transition a, .learn-related a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold-strong); text-underline-offset: 3px; }
.learn-tasting-example { border: 1px solid rgba(212,175,55,.3); border-radius: 14px; padding: clamp(1rem,3vw,1.6rem); margin: 1.5rem 0; }
.learn-chapter { display: grid; grid-template-columns: 80px minmax(0,1fr); gap: 1.6rem; border-top: 1px solid rgba(212,175,55,.3); padding: 2.5rem 0; }
.learn-chapter-symbol { display: flex; flex-direction: column; align-items: center; gap: .75rem; color: var(--gold-strong); }
.learn-chapter-symbol > span { font-size: 2rem; font-family: Georgia, serif; }
.learn-chapter-copy { min-width: 0; }
.learn-depth { margin-top: 1.8rem; padding-top: .4rem; border-top: 1px solid rgba(212,175,55,.18); }
.learn-depth h3 { font-size: 1.25rem; margin: 1.8rem 0 .8rem; line-height: 1.4; }
.learn-depth p, .learn-process-list { max-width: 820px; line-height: 1.85; }
.learn-process-list { padding-left: 1.5rem; }
.learn-process-list li { margin-bottom: .8rem; padding-left: .3rem; }
.learn-takeaway, .learn-label-example { max-width: 820px; background: var(--surface); border-left: 3px solid var(--gold); padding: 1.2rem 1.4rem; margin-top: 1.5rem; }
.learn-takeaway > strong, .learn-label-example > strong { color: var(--gold-strong); }
.learn-site-help { max-width: 820px; margin: 1.5rem 0; padding: 1rem 1.2rem; border: 1px solid rgba(212,175,55,.25); border-radius: 12px; background: var(--surface); }
.learn-site-help > strong { color: var(--gold-strong); }
.learn-site-help p { margin: .6rem 0 0; font-size: .95rem; }
.learn-help-link, .learn-site-help a { color: var(--gold-strong); text-decoration: underline; text-underline-offset: 3px; }
.learn-takeaway p, .learn-label-example p { margin: .6rem 0 0; }
.learn-type-depth { border-top: 1px solid rgba(212,175,55,.2); margin-top: 1rem; padding-top: 1rem; }
.learn-type-depth h4 { font-size: .95rem; color: var(--gold-strong); margin-bottom: .5rem; }
.learn-type-depth p { font-size: .95rem; line-height: 1.85; }
.learn-cut-flow { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; padding: 0; margin: 1.5rem 0; list-style: none; counter-reset: cut; }
.learn-cut-flow li { background: var(--surface); border: 1px solid rgba(212,175,55,.3); border-top: 3px solid var(--gold); border-radius: 12px; padding: 1.1rem; counter-increment: cut; }
.learn-cut-flow li::before { content: counter(cut, decimal-leading-zero); display: block; color: var(--muted); font-size: .8rem; margin-bottom: .5rem; }
.learn-cut-flow .learn-cut-heart { border-color: var(--gold-strong); }
.learn-cut-flow h4 { font-size: 1.15rem; color: var(--gold-strong); margin: 0 0 .4rem; }
.learn-cut-term { display: block; font-size: .8rem; color: var(--muted); margin-bottom: .7rem; }
.learn-cut-flow p { font-size: .95rem; margin: 0; }
.learn-subheading { font-size: 1.05rem; margin-top: 1.6rem; color: var(--gold-strong); }
.learn-table-wrap { max-width: 100%; overflow-x: auto; margin: 1.2rem 0; }
.learn-table-wrap:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.learn-table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: .95rem; }
.learn-table th, .learn-table td { padding: 1rem; border: 1px solid rgba(212,175,55,.3); vertical-align: top; line-height: 1.7; }
.learn-table th { color: var(--gold-strong); }
.learn-table caption { caption-side: top; color: var(--muted); padding: .7rem 0; }
.learn-chapter-copy > h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 1rem; }
.learn-chapter-copy > p, .learn-chapter details p { max-width: 820px; line-height: 1.85; }
.learn-chapter details { background: var(--surface); border: 1px solid rgba(212,175,55,.25); border-radius: 12px; padding: 0 1.1rem; margin: 1.2rem 0; }
.learn-chapter summary { cursor: pointer; padding: 1rem 0; font-weight: 650; min-height: 48px; }
.learn-chapter details[open] summary { color: var(--gold-strong); }
.whisky-learning .learn-source { font-size: .82rem; line-height: 1.6; color: var(--muted); margin: .8rem 0; }
.learn-source a, .learn-map-link { color: var(--gold-strong); text-decoration: underline; text-underline-offset: 3px; }
.learn-map-link { display: inline-block; padding: .6rem 0; min-height: 44px; }
.learn-type-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin: 1.6rem 0; }
.learn-type { padding: 1.4rem; background: var(--surface); border: 1px solid rgba(212,175,55,.3); border-radius: 14px; }
.learn-type h3 { font-size: 1.25rem; margin-bottom: .8rem; }
.learn-type > p:not(.learn-kicker):not(.learn-source) { line-height: 1.8; margin-bottom: .8rem; }
.learn-type .learn-kicker { font-size: .72rem; }
.learn-glossary { margin: 1.5rem 0; }
.learn-glossary > div { padding: 1rem 1.2rem; border-left: 3px solid var(--gold); background: var(--surface); margin-bottom: .7rem; }
.learn-glossary dt { margin-bottom: .4rem; color: var(--gold-strong); }
.learn-glossary dd { line-height: 1.8; margin-bottom: 0; }
.learn-next { background: var(--surface); border: 1px solid var(--gold); border-radius: 20px; padding: clamp(1.5rem,4vw,2.5rem); }
.whisky-learning a:focus-visible, .whisky-learning summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
@media (max-width: 650px) {
 .learn-collector-topics ol { grid-template-columns: minmax(0,1fr); }
 .learn-chapter { grid-template-columns: minmax(0,1fr); gap: .8rem; padding: 2rem 0; }
 .learn-chapter-symbol { flex-direction: row; justify-content: flex-start; }
 .learn-chapter-symbol .learn-icon { width: 42px; height: 42px; }
 .learn-type-grid { grid-template-columns: minmax(0,1fr); }
 .learn-cut-flow { grid-template-columns: minmax(0,1fr); }
 .learn-table th, .learn-table td { padding: .65rem; font-size: .85rem; }
 .learn-actions { flex-direction: column; align-items: stretch; }
 .learn-hero { border-radius: 16px; }
}
