@media screen {
/* Theme-specific accessible shades; official LDS brand tokens stay intact. */
.lds-ghost-theme { --lds-ghost-accessible-action: color-mix(in srgb, var(--lds-ghost-brand-accent, #82a523) 40%, black); }
/* The JS-derived shade is inherited from the root when available. */
html[style*="--lds-ghost-accessible-action"] .lds-ghost-theme { --lds-ghost-accessible-action: inherit; }
.lds-ghost-theme :is(.gh-button, .gh-btn, .lds-button, .lds-ghost-content-cta__button) {
    background: var(--lds-ghost-accessible-action) !important;
    border-color: var(--lds-ghost-accessible-action) !important;
    color: #fff !important;
}
.lds-ghost-theme :is(.gh-button, .gh-btn, .lds-button, .lds-ghost-content-cta__button):hover { filter: brightness(.88); }
.lds-ghost-theme :is(.gh-content a:not(.gh-btn):not(.lds-button):not(.lds-ghost-content-cta__button), .lds-ghost-event-calendar a, .lds-ghost-entry-image-caption a, .lds-ghost-category-photo-credit a, .gh-card-content > strong, .lds-ghost-entry-topics-list a) { color: var(--lds-ghost-accessible-action); }
.lds-ghost-theme .gh-post-upgrade-cta :is(h2,p) { color: var(--lds-colour-text, #444642) !important; }
.lds-ghost-theme :is(a,button,select):focus-visible {
    outline: 2px solid #222 !important;
    outline-offset: 3px;
    box-shadow: 0 0 0 3px #fff !important;
}
.lds-ghost-theme .lds-ghost-entry-topics--bottom { width: min(var(--container-width, 1200px), calc(100% - 8vmin)); max-width: none; margin: 3.2rem auto 0; padding-bottom: 1.6rem; }
.lds-ghost-theme .lds-ghost-entry-topics--bottom .lds-ghost-entry-topics-label { font-size: 1.3rem; }
.lds-ghost-theme .gh-card-action-label { text-align: right; overflow-wrap: anywhere; }
.lds-ghost-mobile-topic-filter { display: none; }
@media screen and (max-width: 700px) {
    .lds-ghost-theme .lds-ghost-sponsor-grid { grid-template-columns: minmax(0, 1fr) !important; }
    .lds-ghost-theme .lds-ghost-sponsor-grid > * { grid-column: 1; min-width: 0; }
    .lds-ghost-theme .lds-footer-vnext__bottom,
    .lds-ghost-theme .lds-footer-vnext__utilities { min-width: 0; max-width: 100%; }
    .lds-ghost-theme .lds-footer-vnext__acknowledgements--page { display: flex; flex-wrap: wrap; width: 100%; min-width: 0; flex: none; gap: 1.6rem; }
    .lds-ghost-theme .lds-footer-vnext__acknowledgements--page .kg-image-card { flex: 0 1 auto; width: auto; max-width: 100%; margin: 0; }
    .lds-ghost-theme .lds-footer-vnext__acknowledgements--page .kg-image-card img { object-fit: contain; }
    .lds-ghost-theme .lds-footer-vnext__acknowledgement-text,
    .lds-ghost-theme .lds-footer-vnext__copyright { overflow-wrap: anywhere; }
    .lds-ghost-theme [data-tag-filter-topic-buttons] { display: none; }
    .lds-ghost-mobile-topic-filter { display: grid; gap: .8rem; font-size: 1.5rem; }
    .lds-ghost-mobile-topic-filter select { width: 100%; min-height: 44px; padding: .8rem; border-radius: 0; color: var(--lds-colour-text, #444642); background: #fff; border: 1px solid var(--lds-colour-border, #d8dad9); font: inherit; }
}

.lds-ghost-filter-results { margin: 1.6rem 0 .8rem; font-size: 1.4rem; }
.lds-ghost-filter-reset { min-height: 44px; padding: .6rem 1.2rem; border: 1px solid currentColor; color: var(--lds-ghost-accessible-action); background: #fff; font: inherit; cursor: pointer; }
.lds-ghost-filter-reset[hidden] { display: none; }
@media screen and (max-width: 700px) {
    .lds-ghost-theme .lds-footer-vnext__bottom { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
    .lds-ghost-theme .lds-footer-vnext__bottom > * { flex: none; width: 100%; }
    .lds-ghost-theme .lds-footer-vnext__acknowledgements--page .kg-image-card { flex: 0 1 14rem; width: 14rem; }
}
@media screen and (max-width: 700px) {
    .lds-ghost-theme .lds-footer-vnext__bottom > .lds-footer-vnext__acknowledgement-text { flex: none !important; }
}

}
@media print { .lds-ghost-entry-topics--bottom, .lds-ghost-mobile-topic-filter { display: none; } }
@media screen {
    .lds-ghost-theme .lds-ghost-tag-filter-buttons button[aria-pressed="true"],
    .lds-ghost-theme .lds-ghost-load-more__button:hover,
    .lds-ghost-theme .lds-ghost-load-more__button:focus-visible,
    .lds-ghost-theme .lds-ghost-load-more__button[aria-busy="true"],
    .lds-ghost-theme .kg-btn-accent {
        background: var(--lds-ghost-accessible-action) !important;
        border-color: var(--lds-ghost-accessible-action) !important;
        color: #fff !important;
    }
}
