.shq-exhibit {
    margin-top: 0.75rem;
}

.shq-designation {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5f6f82;
    margin-bottom: 0.6rem;
}

.shq-hero,
.shq-page-header {
    background-color: #f1f5fa;
    border: 1px solid #d8e0ea;
    border-left: 4px solid #2f9aba;
    border-radius: 0.45rem;
    padding: 1.1rem 1.1rem 1rem;
    margin-bottom: 1rem;
}

.shq-exhibit h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #1f3a5f;
    margin-bottom: 0.35rem;
}

.shq-subtitle {
    font-size: 1.05rem;
    color: #334155;
    margin-bottom: 0.8rem;
}

.shq-recordings-subtitle {
    font-size: 1.14rem;
    font-weight: 600;
    color: #2f4f6f;
    margin-bottom: 0.95rem;
}

.shq-nav {
    margin-bottom: 1.2rem;
}

.shq-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.shq-nav a {
    display: inline-block;
    padding: 0.35rem 0.65rem;
    border: 1px solid #cad5e4;
    border-radius: 0.35rem;
    text-decoration: none;
    background-color: #ffffff;
    color: #1f3a5f;
    font-weight: 500;
}

.shq-nav a:hover,
.shq-nav a:focus {
    background-color: #e9f2f8;
    border-color: #2f9aba;
}

.shq-nav a.active {
    background-color: #1f3a5f;
    border-color: #1f3a5f;
    color: #ffffff;
}

.shq-section-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.shq-card {
    background-color: #ffffff;
    border: 1px solid #d8e0ea;
    border-radius: 0.45rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.shq-home-card {
    display: flex;
    flex-direction: column;
}

.shq-home-card-thumb {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 528 / 298;
    object-fit: contain;
    border: 1px solid #d8e0ea;
    border-radius: 0.35rem;
    margin-bottom: 0.8rem;
}

.shq-card h2 {
    font-size: 1.25rem;
    color: #1f3a5f;
    margin-bottom: 0.55rem;
}

.shq-catalog-group h2 {
    border-bottom: 1px solid #dbe4f0;
    padding-bottom: 0.5rem;
    margin-bottom: 0.9rem;
}

.shq-catalog-group-heading {
    padding: 0.4rem 0.55rem;
    border-radius: 0.35rem;
    border: 1px solid #dbe4f0;
}

.shq-catalog-group-heading-1 {
    background-color: #E6EDF5;
    color: #344B63;
}

.shq-catalog-group-heading-2 {
    background-color: #E5EFE4;
    color: #3C5940;
}

.shq-catalog-group-heading-3 {
    background-color: #F5EBD8;
    color: #70582F;
}

.shq-catalog-group-heading-4 {
    background-color: #EEE5F2;
    color: #60466E;
}

.shq-song-list {
    display: grid;
    gap: 0.85rem;
}

.shq-song-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 0.85rem;
    background-color: #f8fafd;
    border: 1px solid #dbe4f0;
    border-radius: 0.4rem;
    padding: 0.75rem;
}

.shq-song-item.shq-song-item-selected {
    background-color: #eef4fb;
    border-color: #5f84ad;
    box-shadow: inset 0 0 0 2px #5f84ad;
}

.shq-song-item.shq-song-item-selected .shq-song-content h3::after {
    content: " Last selected";
    display: inline-block;
    margin-left: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #2f4f6f;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.shq-song-number {
    height: 42px;
    width: 42px;
    border-radius: 999px;
    background-color: #1f3a5f;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
}

.shq-song-content h3 {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
    color: #1f3a5f;
}

.shq-song-content p {
    margin-bottom: 0.45rem;
}

.shq-attribution,
.shq-detail-placeholder {
    font-size: 0.95rem;
    color: #475569;
}

.shq-song-link {
    white-space: normal;
}

.shq-warning-card {
    border-left: 4px solid #b45309;
    background-color: #fff7ed;
}

.shq-audio-wrap audio {
    width: 100%;
    max-width: 640px;
}

.shq-audio-note {
    color: #5f6f82;
    margin-bottom: 0.65rem;
}

.shq-rights-notice h3 {
    font-size: 1.05rem;
    color: #334155;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.shq-rights-notice h3:first-of-type {
    margin-top: 0.25rem;
}

.shq-rights-notice-snippet {
    margin-top: 1rem;
    padding: 0.875rem;
    border: 1px solid #d9dee4;
    background-color: #f7f8fa;
    border-radius: 0.375rem;
}

.shq-rights-notice-snippet h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #3f4b5a;
    margin-bottom: 0.5rem;
}

.shq-rights-notice-snippet p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #4a5565;
    margin-bottom: 0.5rem;
}

.shq-rights-notice-snippet p:last-child {
    margin-bottom: 0;
}

.shq-rights-notice-snippet a {
    color: #1f3a5f;
    font-weight: 500;
}

.shq-rights-notice-snippet a:hover,
.shq-rights-notice-snippet a:focus {
    text-decoration: underline;
}

.shq-song-details-card h2 {
    margin-bottom: 0.45rem;
}

.shq-song-brief {
    margin-bottom: 0.65rem;
    color: #334155;
}

.shq-song-meta-list {
    display: grid;
    gap: 0.35rem;
}

.shq-song-meta-item {
    margin: 0;
    line-height: 1.4;
}

.shq-transcript-block p {
    white-space: pre-wrap;
}

.shq-song-nav-links {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.75rem;
    align-items: center;
}

.shq-song-nav-links a {
    text-decoration: none;
    color: #1f3a5f;
    font-weight: 500;
}

.shq-song-nav-links a:hover,
.shq-song-nav-links a:focus {
    text-decoration: underline;
}

.shq-placeholder {
    color: #5f6f82;
    font-style: italic;
}

.shq-placeholder-block {
    padding: 0.55rem 0.7rem;
    margin-bottom: 0.5rem;
    background-color: #f8fafc;
    border: 1px dashed #aac0d8;
    border-radius: 0.35rem;
    color: #475569;
}

.shq-list {
    margin-bottom: 0;
}

.shq-story-article {
    max-width: 900px;
    margin: 0 auto 1.2rem;
}

.shq-story-section {
    margin-bottom: 2rem;
}

.shq-story-section::after {
    content: "";
    display: table;
    clear: both;
}

.shq-story-section h2 {
    font-size: 1.45rem;
    color: #1f3a5f;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid #dbe4f0;
    padding-bottom: 0.35rem;
}

.shq-research-intro {
    font-size: 1.04rem;
    margin-bottom: 1rem;
}

.shq-research-section h3 {
    font-size: 1.15rem;
    color: #334155;
    margin-top: 1.1rem;
    margin-bottom: 0.6rem;
}

.shq-research-table-wrap {
    margin: 0.6rem 0 1rem;
}

.shq-research-table {
    font-size: 0.92rem;
}

.shq-research-table th,
.shq-research-table td {
    padding: 0.35rem 0.45rem;
}

.shq-story-table-wrap {
    max-width: 760px;
    margin: 0.7rem 0 1.2rem;
}

.shq-story-table-intro {
    font-size: 0.98rem;
    margin-bottom: 0.5rem;
}

.shq-story-table {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.shq-story-table th,
.shq-story-table td {
    padding: 0.3rem 0.45rem;
    vertical-align: top;
}

.shq-col-number {
    width: 3.25rem;
    white-space: nowrap;
}

.shq-col-length {
    width: 4.75rem;
    text-align: right;
    white-space: nowrap;
}

.shq-story-table tfoot th {
    font-weight: 600;
    border-top: 2px solid #c9d5e6;
}

.shq-story-section p {
    white-space: pre-wrap;
    margin-bottom: 1rem;
    font-size: 1.03rem;
}

.shq-oral-history-quote {
    margin: 0.85rem 0 1rem;
    padding: 0.8rem 1rem;
    border-left: 4px solid #94a3b8;
    background-color: #f8fafc;
}

.shq-oral-history-quote p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.shq-oral-history-quote p:last-child {
    margin-bottom: 0;
}

.shq-oral-history-attribution {
    font-style: italic;
    color: #334155;
}

.shq-first-person-byline {
    font-style: italic;
    margin-top: 1.1rem;
    margin-bottom: 1rem;
}

.shq-personal-account-heading {
    margin-top: 2rem;
}

.shq-story-transition-subheading {
    margin-top: 1.4rem;
}

.shq-story-figure {
    margin: 0.45rem 0 1rem;
}

.shq-story-figure img {
    width: 100%;
    height: auto;
    border-radius: 0.3rem;
    border: 1px solid #d8e0ea;
}

.shq-story-figure figcaption {
    font-size: 0.92rem;
    color: #475569;
    margin-top: 0.45rem;
}

.shq-higgins-photo-stack .shq-story-figure {
    float: none;
    max-width: 100%;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.shq-higgins-photo-stack .shq-story-figure img {
    width: 100%;
}

.shq-figure-featured {
    max-width: 460px;
    float: right;
    margin-left: 1rem;
}

.shq-figure-inline {
    max-width: 360px;
    float: right;
    margin-left: 1rem;
}
.shq-figure-small {
    max-width: 280px;
    float: right;
    margin-left: 1rem;
}

.shq-figure-paired {
    display: inline-block;
    width: calc(50% - 0.4rem);
    vertical-align: top;
    margin-right: 0.5rem;
    max-width: 320px;
}

.shq-figure-missing {
    border: 1px dashed #b7c4d6;
    background-color: #f8fafc;
    color: #64748b;
    border-radius: 0.3rem;
    padding: 0.6rem;
    font-size: 0.9rem;
}

.shq-lightbox-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
}

.shq-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.88);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.shq-lightbox.is-open {
    display: flex;
}

.shq-lightbox-panel {
    position: relative;
    width: min(1100px, 95vw);
    max-height: 95vh;
    max-height: 95dvh;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 0.5rem;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
}

.shq-lightbox-media-wrap {
    max-height: calc(95vh - 3.5rem);
    max-height: calc(95dvh - 3.5rem);
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shq-lightbox-image {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 100px);
    max-height: calc(100dvh - 100px);
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

.shq-lightbox-close {
    position: absolute;
    top: 0.35rem;
    right: 0.45rem;
    border: 0;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.shq-lightbox-close:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
}

@media (max-width: 991.98px) {
    .shq-section-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .shq-exhibit h1 {
        font-size: 1.7rem;
    }

    .shq-subtitle {
        font-size: 0.98rem;
    }

    .shq-song-item {
        grid-template-columns: 1fr;
    }

    .shq-song-number {
        width: 38px;
        height: 38px;
    }

    .shq-song-nav-links {
        grid-template-columns: 1fr;
    }

    .shq-story-section h2 {
        font-size: 1.25rem;
    }

    .shq-story-section p {
        font-size: 1rem;
    }

    .shq-research-table {
        font-size: 0.86rem;
    }

    .shq-story-table {
        font-size: 0.84rem;
    }

    .shq-story-table-intro {
        font-size: 0.94rem;
    }

    .shq-oral-history-quote {
        padding: 0.7rem 0.8rem;
    }

    .shq-lightbox {
        padding: 0.4rem;
    }

    .shq-lightbox-panel {
        width: 100%;
        max-height: 95vh;
        max-height: 95dvh;
        padding: 0.5rem;
    }

    .shq-lightbox-media-wrap {
        max-height: calc(95vh - 3rem);
        max-height: calc(95dvh - 3rem);
    }

    .shq-lightbox-close {
        top: 0.2rem;
        right: 0.2rem;
        width: 2.2rem;
        height: 2.2rem;
        font-size: 1.65rem;
    }
}

@media (max-width: 991.98px) {
    .shq-higgins-photo-stack .shq-story-figure {
        float: none;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .shq-figure-inline,
    .shq-figure-small,
    .shq-figure-paired {
        float: none;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        display: block;
    }
}
