/* Nav dropdown: the navigation block itself needs a stacking context above hero-inner (z-index: 2).
   Elevating the nav block (which has no background) to z-index: 10 makes header controls and
   dropdowns paint above the cover, without covering the cover bleed with a background. */
body.single-shot_prompt .site-header .wp-block-navigation {
    position: relative;
    z-index: 10;
}

.kuehn-shot-notice {
    margin: 0 0 var(--space-element, 24px);
    padding: 14px 16px;
    border: 1px solid color-mix(in srgb, var(--kuehn-accent, #8b6f5a) 28%, var(--kuehn-site-border, #e9e9ec));
    border-radius: var(--radius-md, 12px);
    background: color-mix(in srgb, var(--kuehn-accent, #8b6f5a) 7%, var(--kuehn-site-surface, #fff));
}

.kuehn-shot-prompt,
.kuehn-shot-story-single,
.patreon-profile-story-shots {
    color: var(--kuehn-site-text, #1c2024);
}

/* ==========================================================================
   Hero – Full-bleed, blurry cover background, overflowing sharp cover
   ========================================================================== */

/* Custom property – how far the cover sticks out above/below the hero */
.kuehn-shot-prompt__hero {
    --sbts-hero-bleed: 80px;
    /* Push hero down so the upward cover-bleed clears the navigation */
    --sbts-hero-nav-gap: 24px;
}

.kuehn-shot-prompt__hero {
    position: relative;
    /* Full-bleed breakout from any constrained parent */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    /* overflow: visible so the cover can stick out vertically */
    overflow: visible;
    /* No old card props */
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    /* Gap between nav bottom and hero top → cover bleed won't touch the header */
    margin-top: var(--sbts-hero-nav-gap);
    /* Space between hero bottom edge and content below */
    margin-bottom: calc(var(--sbts-hero-bleed) + var(--space-element, 24px));
    color: #fff;
}

/* The clip layer – absolutely covers only the hero bounds, clips the blur */
.kuehn-shot-prompt__hero-bg-clip {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    /* No border-radius: full-bleed to viewport edges */
}

.kuehn-shot-prompt__hero-bg {
    position: absolute;
    inset: -40px;
    background-size: cover;
    background-position: center top;
    filter: blur(44px) saturate(1.15);
}

.kuehn-shot-prompt__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.76) 100%);
}

/* Inner grid: text + cover column, constrained to content width */
.kuehn-shot-prompt__hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--layout-content, 1000px);
    margin: 0 auto;
    padding: var(--space-block, 48px) var(--space-page-gutter, 24px);
    display: grid;
    grid-template-columns: 1fr min(360px, 42%);
    gap: 48px;
    align-items: center;
}

/* Text side */
.kuehn-shot-prompt__hero-copy {
    min-width: 0;
}

/* Cover column: anchors the floating cover */
.kuehn-shot-prompt__hero-cover {
    position: relative;
    align-self: stretch;
    min-height: 200px;
    overflow: visible;
}

/* Cover float: native image ratio 49:73 (784×1168 px).
   Positioned to bleed out above and below the hero.
   The hero itself has padding-top = bleed so it doesn't reach the nav. */
.kuehn-shot-prompt__cover-float {
    position: absolute;
    left: 50%;
    top: calc(-1 * var(--sbts-hero-bleed));
    bottom: calc(-1 * var(--sbts-hero-bleed));
    transform: translateX(-50%);
    width: min(300px, 100%);
    z-index: 3;
    overflow: hidden;
    border-radius: 20px;
    box-shadow:
        0 4px 12px rgba(10, 8, 6, 0.18),
        0 20px 56px rgba(10, 8, 6, 0.42),
        0 48px 96px rgba(10, 8, 6, 0.24);
}

.kuehn-shot-prompt__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 0; /* radius handled by cover-float container */
    display: block;
    background: #1a1612;
}

.kuehn-shot-prompt__image--placeholder {
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.kuehn-shot-story-single__eyebrow {
    margin: 0 0 8px;
    color: var(--kuehn-accent, #8b6f5a);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 700;
}

/* Hero eyebrow: white on dark blurred background */
.kuehn-shot-prompt__eyebrow {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    font-weight: 700;
    display: none; /* eyebrow merged into title */
}

.kuehn-shot-story-single__header h1 {
    margin: 0 0 16px;
    font-family: var(--wp--preset--font-family--serif, Georgia, serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.08;
}

.kuehn-shot-prompt__title {
    margin: 0 0 16px;
    font-family: var(--wp--preset--font-family--serif, Georgia, serif);
    font-size: clamp(1.7rem, 2.8vw, 2.6rem);
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.kuehn-shot-prompt__number {
    display: inline;
    margin-left: 8px;
    opacity: 0.65;
    font-size: 0.85em;
    font-weight: 400;
}

.kuehn-shot-prompt__artist {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.kuehn-shot-prompt__artist-avatar img {
    display: block;
    width: 52px;
    height: 52px;
    border-radius: 50%;
}

.kuehn-shot-prompt__artist-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
}

.kuehn-shot-prompt__artist-name {
    font-weight: 600;
    color: #fff;
    text-decoration: none;
}

.kuehn-shot-prompt__intro {
    margin-bottom: 24px;
}

/* Stats pills row */
.kuehn-shot-prompt__meta-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
}

.kuehn-shot-prompt__pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1;
}

.kuehn-shot-prompt__like-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    font-family: inherit;
}

.kuehn-shot-prompt__like-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.35);
}

.kuehn-shot-prompt__like-btn.is-liked {
    background: rgba(239, 83, 80, 0.22);
    border-color: rgba(239, 83, 80, 0.45);
    color: #ef9090;
}

.kuehn-shot-prompt__like-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}



.kuehn-shot-prompt__questions {
    margin-top: 24px;
}

.kuehn-shot-prompt__questions-lead {
    margin: 0 0 14px;
    font-family: var(--wp--preset--font-family--serif, Georgia, serif);
    font-style: italic;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

.kuehn-shot-prompt__questions-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
    counter-reset: sbts-question;
}

.kuehn-shot-prompt__questions-list li {
    counter-increment: sbts-question;
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.5;
}

.kuehn-shot-prompt__questions-list li::before {
    content: counter(sbts-question);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.67rem;
    font-weight: 700;
    font-style: normal;
}

/* OLD hero-cover/image rules removed – see new rules above in the Hero block */

.kuehn-shot-prompt__editor-surface,
.kuehn-shot-prompt__stories {
    max-width: var(--layout-content, 1000px);
    margin-right: auto;
    margin-left: auto;
    padding-left: var(--space-page-gutter, 24px);
    padding-right: var(--space-page-gutter, 24px);
    margin-bottom: var(--space-section, 64px);
}

.kuehn-shot-story-single__content,
.kuehn-shot-delete-request,
.kuehn-shot-preview {
    margin-bottom: var(--space-section, 64px);
}

.kuehn-shot-prompt__section-head h2 {
    margin: 0 0 8px;
    font-size: clamp(1.3rem, 2vw, 1.9rem);
}

.kuehn-shot-card,
.kuehn-shot-editor,
.kuehn-shot-preview__content,
.kuehn-shot-story-card,
.kuehn-shot-profile-card,
.kuehn-shot-story-single__content,
.kuehn-shot-delete-request {
    padding: 24px;
    border: 1px solid var(--kuehn-site-border, #e9e9ec);
    border-radius: var(--radius-md, 12px);
    background: var(--kuehn-site-surface, #fff);
}

.kuehn-shot-card--callout {
    background: color-mix(in srgb, var(--kuehn-accent, #8b6f5a) 6%, var(--kuehn-site-surface, #fff));
}

.kuehn-shot-card--muted {
    background: var(--kuehn-site-bg-alt, #fafafa);
}

.kuehn-shot-card__row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.kuehn-shot-editor__field {
    display: grid;
    gap: 8px;
    margin-bottom: 20px;
}

.kuehn-shot-editor__field input,
.kuehn-shot-delete-request textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--kuehn-site-border, #e9e9ec);
    border-radius: var(--radius-sm, 8px);
    background: var(--kuehn-site-surface, #fff);
    color: var(--kuehn-site-text, #1c2024);
}

.kuehn-shot-editor__actions,
.kuehn-shot-profile-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

/* ── Editor buttons ────────────────────────────────────────────────── */
.kuehn-shot-editor__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-sm, 8px);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    border: 1px solid transparent;
    text-decoration: none;
}

.kuehn-shot-editor__btn--secondary {
    background: transparent;
    color: var(--kuehn-site-text, #1c2024);
    border-color: var(--kuehn-site-border, #e9e9ec);
}

.kuehn-shot-editor__btn--secondary:hover {
    background: var(--kuehn-hover-bg, #f3f4f6);
    border-color: var(--kuehn-site-muted, #6c7075);
}

.kuehn-shot-editor__btn--primary {
    background: var(--kuehn-accent, #8b6f5a);
    color: #fff;
    border-color: var(--kuehn-accent, #8b6f5a);
}

.kuehn-shot-editor__btn--primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 2px 8px rgba(139, 111, 90, 0.35);
}

.kuehn-shot-editor__btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ── WYSIWYG editor dark mode ──────────────────────────────────────── */
[data-site-theme-resolved="dark"] .kuehn-shot-editor__wysiwyg .wp-editor-container {
    border-color: var(--kuehn-site-border, #2b3340);
    border-radius: var(--radius-sm, 8px);
    overflow: hidden;
}

[data-site-theme-resolved="dark"] .kuehn-shot-editor__wysiwyg .wp-editor-tabs {
    background: var(--kuehn-site-bg-alt, #171c25);
    border-bottom-color: var(--kuehn-site-border, #2b3340);
}

[data-site-theme-resolved="dark"] .kuehn-shot-editor__wysiwyg .wp-editor-tabs button,
[data-site-theme-resolved="dark"] .kuehn-shot-editor__wysiwyg .wp-editor-tabs .switch-tmce,
[data-site-theme-resolved="dark"] .kuehn-shot-editor__wysiwyg .wp-editor-tabs .switch-html {
    background: var(--kuehn-site-bg-alt, #171c25);
    color: var(--kuehn-site-muted, #a1a8b5);
    border-color: var(--kuehn-site-border, #2b3340);
}

[data-site-theme-resolved="dark"] .kuehn-shot-editor__wysiwyg .wp-editor-tabs .switch-tmce.active,
[data-site-theme-resolved="dark"] .kuehn-shot-editor__wysiwyg .wp-editor-tabs .switch-html.active {
    background: var(--kuehn-site-surface, #1a1f28);
    color: var(--kuehn-site-text, #e7eaf0);
}

[data-site-theme-resolved="dark"] .kuehn-shot-editor__wysiwyg .quicktags-toolbar {
    background: var(--kuehn-site-bg-alt, #171c25);
    border-bottom: 1px solid var(--kuehn-site-border, #2b3340);
}

[data-site-theme-resolved="dark"] .kuehn-shot-editor__wysiwyg .quicktags-toolbar input {
    background: var(--kuehn-site-bg-alt, #171c25);
    color: var(--kuehn-site-text, #e7eaf0);
    border-color: var(--kuehn-site-border, #2b3340);
}

[data-site-theme-resolved="dark"] .kuehn-shot-editor__wysiwyg .wp-editor-area {
    background: var(--kuehn-site-surface, #1a1f28);
    color: var(--kuehn-site-text, #e7eaf0);
    border-color: var(--kuehn-site-border, #2b3340);
}

/* TinyMCE chrome: toolbar panel + statusbar (both sit outside the iframe) */
[data-site-theme-resolved="dark"] .kuehn-shot-editor__wysiwyg .mce-container,
[data-site-theme-resolved="dark"] .kuehn-shot-editor__wysiwyg .mce-panel,
[data-site-theme-resolved="dark"] .kuehn-shot-editor__wysiwyg .mce-toolbar-grp,
[data-site-theme-resolved="dark"] .kuehn-shot-editor__wysiwyg .mce-toolbar,
[data-site-theme-resolved="dark"] .kuehn-shot-editor__wysiwyg .mce-statusbar,
[data-site-theme-resolved="dark"] .kuehn-shot-editor__wysiwyg .mce-edit-area {
    background: var(--kuehn-site-bg-alt, #171c25) !important;
    border-color: var(--kuehn-site-border, #2b3340) !important;
}

[data-site-theme-resolved="dark"] .kuehn-shot-editor__wysiwyg .mce-btn button,
[data-site-theme-resolved="dark"] .kuehn-shot-editor__wysiwyg .mce-btn {
    background: var(--kuehn-site-bg-alt, #171c25) !important;
    color: var(--kuehn-site-muted, #a1a8b5) !important;
    border-color: transparent !important;
}

[data-site-theme-resolved="dark"] .kuehn-shot-editor__wysiwyg .mce-btn:hover,
[data-site-theme-resolved="dark"] .kuehn-shot-editor__wysiwyg .mce-btn.mce-active {
    background: var(--kuehn-site-surface, #1a1f28) !important;
    color: var(--kuehn-site-text, #e7eaf0) !important;
}

[data-site-theme-resolved="dark"] .kuehn-shot-editor__wysiwyg .mce-ico {
    color: var(--kuehn-site-muted, #a1a8b5) !important;
}

[data-site-theme-resolved="dark"] .kuehn-shot-editor__wysiwyg .mce-statusbar .mce-path,
[data-site-theme-resolved="dark"] .kuehn-shot-editor__wysiwyg .mce-statusbar .mce-wordcount {
    color: var(--kuehn-site-muted, #a1a8b5) !important;
}

.kuehn-shot-story-grid,
.kuehn-shot-profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-grid-gap, 24px);
}

.kuehn-shot-story-card__meta,
.kuehn-shot-profile-card__top,
.kuehn-shot-story-single__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--kuehn-site-muted, #6c7075);
    font-size: 0.9rem;
}

.kuehn-shot-story-card h3,
.kuehn-shot-profile-card h3 {
    margin: 14px 0 10px;
}

.kuehn-shot-story-card__badge,
.kuehn-shot-profile-card__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: var(--radius-pill, 999px);
    font-size: 0.78rem;
    font-weight: 700;
    background: color-mix(in srgb, var(--kuehn-accent, #8b6f5a) 10%, transparent);
    color: color-mix(in srgb, var(--kuehn-accent, #8b6f5a) 90%, var(--kuehn-site-text, #1c2024));
}

.kuehn-shot-profile-card__status--pending {
    background: color-mix(in srgb, #d97706 12%, transparent);
    color: #a8620b;
}

.kuehn-shot-profile-card__status--publish,
.kuehn-shot-profile-card__status--deletion-request {
    background: color-mix(in srgb, #667eea 14%, transparent);
    color: #4b61cf;
}

.kuehn-shot-profile-card__prompt {
    margin: 0;
    color: var(--kuehn-site-muted, #6c7075);
}

.kuehn-shot-story-single {
    max-width: var(--layout-content, 1000px);
    margin: 0 auto;
}

.kuehn-shot-story-single__back {
    margin: 0 0 18px;
}

.kuehn-shot-story-single__content {
    max-width: var(--layout-narrow, 800px);
}

.kuehn-shot-story-single__content > :first-child {
    margin-top: 0;
}

.profile-nav__item--story-shots {
    --profile-nav-item-accent: #8b6f5a;
}

/* Hide the theme-rendered post title + date on shot_prompt and shot_story singles.
   These post types render their own headings inside the plugin content block.
   The dedicated single-shot_prompt.html / single-shot_story.html templates already
   omit the entry-header block; this rule is an extra safeguard for theme fallbacks. */
.single-shot_prompt .entry-header,
.single-shot_story  .entry-header {
    display: none;
}

@media (max-width: 900px) {
    .kuehn-shot-prompt__hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .kuehn-shot-prompt__hero-cover {
        order: -1;
        min-height: 240px;
    }

    .kuehn-shot-prompt__cover-float {
        width: min(200px, 55%);
    }

    /* Reduce bleed on smaller viewports */
    .kuehn-shot-prompt__hero {
        --sbts-hero-bleed: 32px;
    }

    .kuehn-shot-prompt__cover-float {
        width: min(180px, 50%);
    }
}

@media (max-width: 640px) {
    .kuehn-shot-card,
    .kuehn-shot-editor,
    .kuehn-shot-preview__content,
    .kuehn-shot-story-card,
    .kuehn-shot-profile-card,
    .kuehn-shot-story-single__content,
    .kuehn-shot-delete-request {
        padding: 18px;
    }

    .kuehn-shot-editor__actions,
    .kuehn-shot-profile-card__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .kuehn-shot-card__row {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   SBTS Archive – Cover grid
   ========================================================================== */

.kuehn-shot-archive {
    width: 100%;
    max-width: var(--layout-content, 1000px);
    margin: 0 auto;
    padding: 0 var(--space-edge, 20px) var(--space-section, 64px);
    color: var(--kuehn-site-text, #1c2024);
}

/* --- Archive page background ---------------------------------------------- */

body.post-type-archive-shot_prompt main {
    --kuehn-site-bg: transparent;
    background-image: url('/wp-content/uploads/2026/04/bg-sbts-hell.jpg');
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
}

[data-site-theme-resolved="dark"] body.post-type-archive-shot_prompt main {
    --kuehn-site-bg: transparent;
    background-image: url('/wp-content/uploads/2026/04/bg-sbts.jpg') !important;
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
}

/* --- Page header ---------------------------------------------------------- */

.kuehn-shot-archive__header {
    margin-bottom: 48px;
    text-align: center;
}

.kuehn-shot-archive__logo {
    display: block;
    max-width: 483px;
    width: 100%;
    height: auto;
    margin: 0 auto 16px;
}

.kuehn-shot-archive__subtitle {
    font-size: 1.0625rem;
    color: var(--kuehn-site-muted, #6b7280);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.55;
}

/* --- Grid ----------------------------------------------------------------- */

.kuehn-shot-archive__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 28px;
}

/* --- Card ----------------------------------------------------------------- */

.kuehn-shot-archive__card {
    /* nothing extra; link fills the card */
}

.kuehn-shot-archive__card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius-md, 12px);
    overflow: hidden;
    outline-offset: 3px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.kuehn-shot-archive__card-link:hover,
.kuehn-shot-archive__card-link:focus-visible {
    transform: translateY(-4px) scale(1.012);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.10),
        0 16px 40px rgba(0, 0, 0, 0.14);
}

/* --- Cover wrap: 49:73 aspect ratio --------------------------------------- */

.kuehn-shot-archive__cover-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 49 / 73;
    border-radius: var(--radius-md, 12px);
    overflow: hidden;
    background: var(--kuehn-site-bg-alt, #f3f3f5);
    flex-shrink: 0;
}

.kuehn-shot-archive__cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.35s ease;
}

.kuehn-shot-archive__card-link:hover .kuehn-shot-archive__cover-img {
    transform: scale(1.04);
}

.kuehn-shot-archive__cover-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg,
        color-mix(in srgb, var(--kuehn-accent, #8b6f5a) 18%, var(--kuehn-site-bg-alt, #f3f3f5)),
        var(--kuehn-site-bg-alt, #f3f3f5));
}

/* Bottom gradient overlay behind number badge */
.kuehn-shot-archive__cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.22) 45%,
        transparent 70%);
    pointer-events: none;
}

/* --- Number badge --------------------------------------------------------- */

.kuehn-shot-archive__number {
    position: absolute;
    bottom: 48px; /* above meta label; leave room for status badge */
    left: 14px;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
    pointer-events: none;
}

/* When there's no status badge, lower the number */
.kuehn-shot-archive__cover-wrap:not(:has(.kuehn-shot-archive__status)) .kuehn-shot-archive__number {
    bottom: 14px;
}

/* --- Status badge --------------------------------------------------------- */

.kuehn-shot-archive__status {
    position: absolute;
    bottom: 14px;
    left: 14px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    pointer-events: none;
}

.kuehn-shot-archive__status--open {
    background: color-mix(in srgb, var(--kuehn-accent, #8b6f5a) 90%, transparent);
    color: #fff;
}

.kuehn-shot-archive__status--closed {
    background: rgba(0, 0, 0, 0.45);
    color: rgba(255, 255, 255, 0.75);
}

/* --- Below-cover meta ----------------------------------------------------- */

.kuehn-shot-archive__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 4px 4px;
}

.kuehn-shot-archive__meta-label {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--kuehn-site-text, #1c2024);
}

.kuehn-shot-archive__meta-artist {
    font-size: 0.75rem;
    color: var(--kuehn-site-muted, #6b7280);
}

/* --- Empty state ---------------------------------------------------------- */

.kuehn-shot-archive__empty {
    text-align: center;
    color: var(--kuehn-site-muted, #6b7280);
    padding: 48px 0;
}

/* --- Dark mode ------------------------------------------------------------ */

[data-site-theme-resolved="dark"] .kuehn-shot-archive {
    color: var(--kuehn-site-text, #e7eaf0);
}

[data-site-theme-resolved="dark"] .kuehn-shot-archive__cover-wrap {
    background: #1e2530;
}

[data-site-theme-resolved="dark"] .kuehn-shot-archive__meta-label {
    color: var(--kuehn-site-text, #e7eaf0);
}

[data-site-theme-resolved="dark"] .kuehn-shot-archive__meta-artist {
    color: var(--kuehn-site-muted, #8a9099);
}

[data-site-theme-resolved="dark"] .kuehn-shot-archive__subtitle {
    color: var(--kuehn-site-muted, #8a9099);
}

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 900px) {
    .kuehn-shot-archive__grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 20px;
    }

    .kuehn-shot-archive__header {
        margin-bottom: 36px;
    }
}

@media (max-width: 600px) {
    .kuehn-shot-archive__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .kuehn-shot-archive__number {
        font-size: 1.25rem;
    }

    .kuehn-shot-archive__header {
        text-align: left;
    }

    .kuehn-shot-archive__subtitle {
        margin: 0;
    }
}
}