/* Hallmark · macrostructure: preserved Headline editorial · tone: modern high-contrast · anchor hue: red
 * contrast: pass (40–41) · tokens: pass (48) · responsive: pass (34, 49–51)
 * pre-emit critique: P5 H4 E5 S5 R5 V4
 */
/* --- utilities --- */
.gh-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* --- a11y contrast overrides (loads after screen.css) ---
   On full-feature-image posts the theme colours the sidebar Share button
   white (for the dark cover), but the sidebar sits on the light page body,
   so force a readable colour in both themes. */
/* Byline author links: ensure a >=24px touch target (WCAG 2.5.8) even when
   two authors sit side by side in the sidebar. */
.gh-author-name-list .gh-author-name a{display:inline-block;min-height:24px;padding-block:3px}
.gh-article-sidebar .gh-button-share{display:block;margin-top:16px}
.gh-social-links a{align-items:center;justify-content:center;min-width:32px;min-height:32px}
.gh-foot .gh-subscribe-title{color:var(--color-action-text)}
.gh-copyright{text-align:center}
:where(a,button,input,select,textarea):focus-visible{outline:3px solid var(--color-focus);outline-offset:3px}
.gh-btn:active,.gh-feed-link:active{transform:translateY(1px)}
:where(button,input,select,textarea):disabled{cursor:not-allowed;opacity:.55}
.gh-content a,.gh-article-tag,.gh-topic-link{color:var(--color-accent-red);text-decoration-thickness:.08em;text-underline-offset:.18em}
.gh-content a:hover,.gh-article-tag:hover,.gh-topic-link:hover{color:var(--color-accent-red-hover);opacity:1}
.nav-current>a{color:var(--color-accent-violet);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
.gh-head-actions-right{display:flex;align-items:center;gap:10px}
.gh-head-actions-right .gh-btn{margin:0}
@media (min-width:992px){
    .is-head-stacked .gh-head-menu::before,
    .is-head-stacked .gh-head-menu::after{z-index:1;background-color:var(--color-light-gray);opacity:1}
}
.gh-subscribe-btn{color:var(--color-accent-ink);background:var(--color-action-background)}
.gh-subscribe-btn:hover{color:var(--color-accent-ink);background:var(--color-action-background-hover);opacity:1}
.gh-subscribe-outline-btn{color:var(--color-accent-violet);border:2px solid currentColor;background:transparent}
.gh-subscribe-outline-btn:hover{color:var(--color-accent-violet-hover);opacity:1}
body{background:var(--color-background)}
html,body{overflow-x:clip}
h1,h2,h3,h4,h5,h6{min-width:0;overflow-wrap:anywhere}
.gh-btn,.gh-feed-link,.nav a,.gh-foot a,.gh-breadcrumbs a{white-space:nowrap}
/* ============================================
   FOOTER FEEDS
   ============================================ */

.gh-footer-feeds {
    padding: 60px 0 40px;
    background: var(--color-lighter-gray);
    border-bottom: 1px solid var(--color-light-gray);
}

.gh-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gh-feeds-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.gh-feed-card {
    background: var(--color-surface);
    padding: 32px 24px;
    border-radius: 12px;
    border: 1px solid var(--color-light-gray);
    text-align: center;
    transition: var(--gh-transition);
}

.gh-feed-card:hover {
    border-color: var(--color-accent-violet);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--color-card-shadow);
}

.gh-feed-title {
    font-family: 'Lora', serif;
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 6px 0;
    color: var(--color-primary-text);
}

.gh-feed-desc {
    font-size: 16px;
    color: var(--color-secondary-text);
    margin: 0 0 16px 0;
}

.gh-feed-link {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: var(--color-accent-red);
    border: 2px solid currentColor;
    background: transparent;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.gh-feed-link:hover {
    background: var(--color-action-background);
    border-color: var(--color-action-background);
    color: var(--color-accent-ink);
}

/* Responsive */
@media (max-width: 768px) {
    .gh-feeds-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .gh-footer-feeds {
        padding: 40px 0 30px;
    }
}
.gh-breadcrumbs {
    margin-bottom: 24px;
    font-size: 1.4rem;
    color: var(--color-secondary-text);
}

.gh-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.gh-breadcrumbs li:not(:last-child)::after {
    margin-left: 6px;
    content: "/";
}

.gh-breadcrumbs a {
    color: inherit;
    text-decoration: underline;
}

.gh-breadcrumbs [aria-current="page"] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-toc {
    padding: 24px;
    margin-bottom: 48px;
    background: var(--color-lighter-gray);
    border-block: 1px solid var(--color-light-gray);
}

.post-toc ol {
    margin-bottom: 0;
}

.post-toc a {
    color: var(--color-accent-red);
}

.toc-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-right: 8px;
    color: var(--color-accent-violet);
    font-family: var(--font-sans);
    font-size: 1.6rem;
    text-decoration: none;
    vertical-align: middle;
}

.toc-back:hover {
    color: var(--color-accent-violet-hover);
}
