.explore-page {
    --topic-accent: var(--editorial-accent);
    --topic-rule: var(--editorial-line);
    max-width: 1050px;
    padding-block: 24px 48px;
}

.explore-page[data-topic-theme="blues"] {
    --topic-accent: var(--sm-blues-amber);
    --topic-rule: var(--sm-blues-copper);
}

.explore-crumbs {
    margin-bottom: 20px;
    color: var(--editorial-muted);
    font-size: .9rem;
}

.explore-crumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.explore-crumbs li + li::before {
    content: "/";
    margin-inline-end: 10px;
}

.explore-crumbs a,
.explore-page :is(section, details) a {
    text-underline-offset: .22em;
}

.explore-intro {
    margin-bottom: 24px;
}

.explore-intro-copy > p {
    max-width: 62ch;
    margin-top: 8px;
    color: var(--editorial-muted);
    font-size: 1.05rem;
}

.explore-intro--illustrated,
.explore-topics .explore-topic-entry {
    display: grid;
    align-items: start;
    gap: clamp(1rem, 3vw, 2.15rem);
}

.explore-intro--illustrated { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
.explore-intro--illustrated:has(.editorial-image) { align-items: center; }
.explore-resource .explore-intro--illustrated { grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); }
.explore-intro-jump { display: inline-block; margin-top: .7rem; color: var(--editorial-accent); text-underline-offset: .22em; }
.explore-topics .explore-topic-entry { grid-template-columns: minmax(0, 1fr) minmax(0, .72fr); padding-block: 1.3rem; }
.explore-topic-entry h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.explore-topic-entry p { max-width: 50ch; }

.editorial-image { margin: 0; }
.editorial-image img { display: block; width: 100%; height: auto; }
.editorial-image--banner img { border-top: 2px solid var(--topic-rule); }
.editorial-image--figure { max-width: 850px; }
.editorial-image.is-portrait { max-width: 21.5rem; }
.editorial-image figcaption {
    border-bottom: 1px solid var(--editorial-line);
    color: var(--editorial-muted);
    font-size: .91rem;
    padding: .55rem 0 .65rem;
}
.editorial-image figcaption small { display: block; margin-top: .3rem; color: inherit; font-weight: 500; }
.editorial-image figcaption a { color: inherit; }

.explore-chord-comparison { margin: 0; padding: .7rem 1rem; background: #1c3034; border-left: 2px solid var(--topic-rule); }
.explore-chord-comparison figcaption { color: var(--topic-accent); font-weight: 700; }
.explore-chord-comparison dl { margin: .45rem 0; }
.explore-chord-comparison dl > div { display: grid; grid-template-columns: 4.45rem 1fr; align-items: center; margin-block: .28rem; }
.explore-chord-comparison dd { margin: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.explore-chord-comparison dd span { background: #f0ebe0; color: #202729; font-weight: 700; min-width: 1.8rem; text-align: center; padding: .11rem .25rem; }
.explore-chord-comparison dd .added-note { background: #f1ba75; color: #252016; }
.explore-chord-comparison p { color: var(--editorial-muted); font-size: .92rem; }

.explore-bass-roots {
    margin: 0;
    padding: .7rem 1rem;
    background: #1c3034;
    border-left: 2px solid var(--topic-rule);
}
.explore-bass-roots figcaption { color: var(--topic-accent); font-weight: 700; }
.explore-bass-roots dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; margin: .55rem 0; }
.explore-bass-roots dl > div { border-top: 1px solid var(--editorial-line); padding: .32rem .35rem; }
.explore-bass-roots dt, .explore-bass-roots p { color: var(--editorial-muted); font-size: .9rem; }
.explore-bass-roots dd { margin: 0; color: var(--editorial-text); font-size: 1.2rem; font-weight: 700; }

.explore-bass-demo { margin-top: .8rem; padding: .85rem 0 0; border-top: 1px solid var(--editorial-line); }
.explore-bass-controls { display: flex; flex-wrap: wrap; gap: .55rem .75rem; align-items: end; }
.explore-bass-controls label { display: grid; gap: .24rem; font-size: .9rem; font-weight: 650; }
.explore-bass-controls :is(select, button) {
    min-height: 42px;
    max-width: 100%;
    padding: .4rem .7rem;
    border: 1px solid var(--editorial-line);
    border-radius: 3px;
    background: var(--editorial-rail);
    color: var(--editorial-text);
    font: inherit;
}
.explore-bass-controls [data-bass-play] { background: var(--editorial-accent); color: #162414; font-weight: 700; }
.explore-bass-controls button:disabled { opacity: .6; }
.explore-bass-status { min-height: 1.5em; margin: .42rem 0 0; color: var(--editorial-muted); }

.explore-topics,
.explore-list ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.explore-topics li,
.explore-list li {
    padding: 16px 0;
    border-top: 1px solid var(--editorial-line);
}

.explore-topics h2,
.explore-list h3 {
    margin: 0 0 6px;
}

.explore-topics a,
.explore-list a {
    color: var(--editorial-accent);
    text-underline-offset: .2em;
}

.explore-topics p,
.explore-list p,
.explore-related p {
    color: var(--editorial-muted);
}

.explore-page :is(.explore-section, .explore-related, .explore-plans, .explore-sources) {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--editorial-line);
}

.explore-resource .explore-intro {
    margin-bottom: 12px;
}

.explore-resource h2,
.explore-list h2,
.explore-related h2 {
    margin: 0 0 8px;
    font-size: 1.28rem;
    line-height: 1.3;
}

.explore-section > p,
.explore-section details p,
.explore-related p {
    max-width: 67ch;
    margin: 0 0 8px;
}

.explore-page .explore-demo {
    border-top-color: var(--topic-rule);
    margin-top: 16px;
}

.explore-demo > h2 {
    color: var(--topic-accent);
}

.explore-demo [data-blues-chords] {
    margin-top: 10px;
}

.explore-status {
    color: var(--topic-accent);
    font-size: .875rem;
}

.explore-goals,
.explore-section details {
    margin-top: 8px;
}

.explore-page summary {
    display: list-item;
    min-height: 36px;
    width: fit-content;
    padding-block: 6px;
    font-weight: 650;
    cursor: pointer;
}

.explore-page details ul {
    margin-block: 4px 8px;
    padding-inline-start: 1.4rem;
}

.explore-plans { color: var(--editorial-muted); }
.explore-plans summary { color: var(--editorial-text); }
.explore-terms { margin-block: 4px 8px; }
.explore-terms div { margin-block: 4px 8px; }
.explore-terms dt { font-weight: 650; }
.explore-terms dd { margin: 0; }

.explore-action {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 6px 12px;
    border: 1px solid var(--editorial-line);
    border-radius: 3px;
    color: var(--editorial-accent);
    font-weight: 650;
    text-decoration: none;
}

.explore-action:hover { background: var(--editorial-rail); }

.explore-blues-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
    gap: 2rem;
    align-items: start;
    padding-top: 1.2rem;
    border-top: 1px solid var(--topic-rule);
}
.explore-blues-layout .explore-list li { padding: 0; border: 0; }
.explore-blues-layout .explore-related { margin-top: 1.2rem; }
.explore-phrase { margin: 0; padding: 1.1rem; background: #1c3034; border-bottom: 2px solid #b9804d; }
.explore-phrase figcaption { color: var(--topic-accent); font-size: 1.12rem; font-weight: 750; }
.explore-phrase ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; list-style: none; padding: 0; margin: .7rem 0; }
.explore-phrase li { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .25rem; padding: .54rem .4rem; border: 1px solid #658087; min-width: 0; }
.explore-phrase strong { font-size: 1.15rem; }
.explore-phrase li :is(small, span) { color: var(--editorial-muted); font-size: .82rem; }
.explore-phrase li span { text-align: right; }
.explore-phrase li[data-degree="3"] { background: #44382d; border-color: #b0875d; }
.explore-phrase li[data-degree="4"] { background: #583e31; border-color: #ca9168; }
.explore-phrase p { color: var(--editorial-muted); font-size: .94rem; }
.explore-plans ul { columns: 2; }
.explore-related > div + div { margin-top: .75rem; }

@media (max-width: 720px) {
    .explore-intro--illustrated,
    .explore-resource .explore-intro--illustrated,
    .explore-topics .explore-topic-entry { grid-template-columns: minmax(0, 1fr); }
    .explore-blues-layout { grid-template-columns: 1fr; gap: 1.25rem; }
}

@media (max-width: 560px) {
    .explore-page { padding-block-start: 16px; }
    .explore-crumbs { margin-bottom: 16px; }
    .explore-plans ul { columns: 1; }
}
