.release-directory-hero {
    min-height: 310px;
    background:
        radial-gradient(circle at 83% 18%, rgba(185, 154, 104, 0.2), transparent 34%),
        linear-gradient(135deg, var(--surface) 0%, var(--bg-darker) 100%);
}

.release-directory-hero h1 {
    max-width: 820px;
    font-size: clamp(2.15rem, 5vw, 4.15rem);
}

.release-directory-hero-mark svg {
    width: 72%;
    height: 72%;
}

.release-section {
    padding: clamp(1rem, 3vw, 2rem);
    border: 1px solid rgba(185, 154, 104, 0.18);
    border-radius: 1rem;
    background: var(--bg-darker);
}

.release-section-heading {
    display: flex;
    gap: 1.5rem;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.release-section-heading h2 {
    margin: 0;
    color: var(--text);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

.release-section-heading .distillery-directory-eyebrow {
    margin-bottom: 0.2rem;
}

.release-section-heading > p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.release-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.release-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(185, 154, 104, 0.25);
    border-radius: 1rem;
    background: var(--surface);
    box-shadow: var(--shadow);
    flex-direction: column;
    transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.release-card:hover {
    transform: translateY(-2px);
    border-color: rgba(185, 154, 104, 0.5);
    box-shadow: var(--shadow-lg);
}

.release-card-media {
    position: relative;
    display: block;
    min-height: 230px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--bg-dark);
}

.release-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 8, 8, 0.58), transparent 58%);
    pointer-events: none;
}

.release-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.release-card:hover .release-card-media img {
    transform: scale(1.025);
}

.release-card-media-placeholder {
    display: grid;
    place-items: center;
    color: rgba(185, 154, 104, 0.48);
    background:
        radial-gradient(circle at 35% 30%, rgba(185, 154, 104, 0.14), transparent 35%),
        linear-gradient(135deg, var(--surface), var(--bg-dark));
}

.release-card-media-placeholder > svg {
    width: min(34%, 110px);
    height: auto;
    stroke-width: 1.5;
}

.release-type,
.release-image-count {
    position: absolute;
    z-index: 1;
    top: 0.8rem;
    display: inline-flex;
    gap: 0.3rem;
    align-items: center;
    min-height: 1.75rem;
    padding: 0.3rem 0.58rem;
    border-radius: 999px;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.release-type {
    left: 0.8rem;
    color: #211a0d;
    background: var(--gold);
}

.release-image-count {
    right: 0.8rem;
    color: var(--text);
    background: rgba(12, 12, 12, 0.78);
    backdrop-filter: blur(5px);
}

.release-image-count svg {
    width: 0.9rem;
    height: 0.9rem;
}

.release-card-content {
    display: flex;
    min-width: 0;
    padding: 1.1rem;
    flex: 1 1 auto;
    flex-direction: column;
}

.release-distillery {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.release-distillery a {
    color: var(--gold);
    text-decoration: none;
}

.release-distillery a:hover,
.release-distillery a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.release-card-content h2 {
    margin: 0;
    overflow-wrap: anywhere;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.25;
}

.release-card-content h2 a {
    color: var(--text);
    text-decoration: none;
}

.release-card-content h2 a:hover,
.release-card-content h2 a:focus-visible {
    color: var(--gold);
}

.release-whisky {
    margin: 0.55rem 0 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.release-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 1rem 0 0;
}

.release-facts > div {
    min-width: 0;
    padding: 0.65rem;
    border: 1px solid rgba(185, 154, 104, 0.15);
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.025);
}

.release-facts dt {
    color: var(--muted);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.release-facts dd {
    margin: 0.16rem 0 0;
    overflow-wrap: anywhere;
    color: var(--text);
    font-size: 0.84rem;
    font-weight: 700;
}

.release-card-footer {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
    color: var(--muted);
    font-size: 0.7rem;
}

.release-card-links {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.release-card-links a {
    display: inline-flex;
    gap: 0.25rem;
    align-items: center;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.release-card-links a svg {
    width: 0.9rem;
    height: 0.9rem;
    transition: transform 150ms ease;
}

.release-card-links a:hover svg,
.release-card-links a:focus-visible svg {
    transform: translateX(2px);
}

/* Shared release editor */
.release-editor-page,
.release-admin-page,
.release-detail-page {
    min-height: 100%;
    padding-bottom: 4rem;
}

.release-editor-shell,
.release-admin-shell,
.release-detail-shell {
    max-width: 1240px;
}

.release-breadcrumb {
    display: flex;
    margin-bottom: 1rem;
    align-items: center;
    gap: 0.45rem;
    color: var(--muted);
    font-size: 0.88rem;
}

.release-breadcrumb a { color: var(--muted); }
.release-breadcrumb a:hover,
.release-breadcrumb a:focus-visible { color: var(--gold); }
.release-breadcrumb svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; }

.release-editor-hero,
.release-admin-hero {
    min-height: 250px;
    margin-bottom: 1.25rem;
}

.release-editor-hero h1,
.release-admin-hero h1 { max-width: 820px; font-size: clamp(2.15rem, 5vw, 4.1rem); }
.release-editor-hero-mark svg,
.release-admin-hero-mark svg { width: 72%; height: 72%; }

.release-editor-form {
    --release-line: color-mix(in srgb, var(--gold) 30%, transparent);
    --release-muted: color-mix(in srgb, var(--text) 66%, transparent);
}

.release-editor-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(270px, 0.35fr);
    align-items: start;
    gap: 1.25rem;
}

.release-editor-main { display: grid; gap: 1rem; }

.release-form-section,
.release-publish-card,
.release-editor-summary,
.release-editor-actions {
    border: 1px solid var(--release-line);
    border-radius: 1.1rem;
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    box-shadow: var(--shadow);
}

.release-form-section { padding: clamp(1.15rem, 2.8vw, 2rem); }

.release-form-section-heading {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: center;
    gap: 0.85rem;
}

.release-form-step {
    display: grid;
    width: 2.6rem;
    height: 2.6rem;
    flex: 0 0 auto;
    color: var(--gold);
    border: 1px solid var(--release-line);
    border-radius: 0.8rem;
    background: color-mix(in srgb, var(--gold) 9%, transparent);
    font-family: var(--font-heading);
    place-items: center;
}

.release-form-section-heading p { margin: 0 0 0.12rem; color: var(--gold); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.release-form-section-heading h2,
.release-publish-card h2,
.release-editor-summary h2 { margin: 0; color: var(--text); font-family: var(--font-heading); font-size: clamp(1.2rem, 2vw, 1.6rem); }

.release-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 1rem;
}

.release-field-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.release-field-grid + .release-field-grid,
.release-field-grid + .release-field,
.release-form-section > .release-field + .release-field { margin-top: 1rem; }
.release-field { min-width: 0; }
.release-field-wide { grid-column: auto; }
.release-field label { display: block; margin-bottom: 0.4rem; color: var(--text); font-size: 0.82rem; font-weight: 700; }
.release-field label span { color: var(--gold); }

.release-field input,
.release-field textarea,
.release-field select {
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    padding: 0.72rem 0.85rem;
    color: var(--text);
    border: 1px solid color-mix(in srgb, var(--gold) 34%, transparent);
    border-radius: 0.75rem;
    outline: 0;
    background: color-mix(in srgb, var(--bg-darker) 82%, transparent);
    transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.release-field textarea { min-height: 180px; line-height: 1.55; resize: vertical; }
.release-field input:focus,
.release-field textarea:focus,
.release-field select:focus { border-color: var(--gold); background: var(--bg-darker); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 16%, transparent); }
.release-field small,
.release-upload small { display: block; margin-top: 0.38rem; color: var(--release-muted); font-size: 0.75rem; line-height: 1.45; }

.release-editor-page .select2-container .select2-selection--single {
    height: 48px;
    color: var(--text);
    border: 1px solid color-mix(in srgb, var(--gold) 34%, transparent);
    border-radius: 0.75rem;
    background: color-mix(in srgb, var(--bg-darker) 82%, transparent);
}

.release-editor-page .select2-container .select2-selection--single .select2-selection__rendered { padding: 0 2.3rem 0 0.85rem; color: var(--text); line-height: 46px; }
.release-editor-page .select2-container .select2-selection--single .select2-selection__arrow { top: 10px; right: 0.55rem; }
.release-editor-page .select2-container--focus .select2-selection--single,
.release-editor-page .select2-container--open .select2-selection--single { border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 16%, transparent); }
.select2-dropdown { color: var(--text); border-color: color-mix(in srgb, var(--gold) 34%, transparent); background: var(--surface); }
.select2-search--dropdown .select2-search__field { color: var(--text); border-color: color-mix(in srgb, var(--gold) 34%, transparent) !important; background: var(--bg-darker); }
.select2-container--default .select2-results__option--selected { background: color-mix(in srgb, var(--gold) 15%, var(--surface)); }
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { color: #211a0d; background: var(--gold); }

.release-upload {
    display: grid;
    position: relative;
    min-height: 112px;
    padding: 1rem;
    border: 1px dashed color-mix(in srgb, var(--gold) 48%, transparent);
    border-radius: 0.9rem;
    background: color-mix(in srgb, var(--gold) 6%, transparent);
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.85rem;
    transition: border-color 150ms ease, background-color 150ms ease;
}

.release-upload:hover,
.release-upload:focus-within,
.release-upload.has-files { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 10%, transparent); }
.release-upload > svg { width: 2rem; height: 2rem; color: var(--gold); fill: none; stroke: currentColor; stroke-width: 1.6; }
.release-upload label { color: var(--text); font-weight: 700; cursor: pointer; }
.release-upload input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
#release-image-selection { overflow: hidden; color: var(--gold); font-size: 0.78rem; font-weight: 700; grid-column: 2; text-overflow: ellipsis; white-space: nowrap; }

.release-upload-previews,
.release-existing-images { display: grid; margin-top: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
.release-upload-previews[hidden] { display: none; }
.release-upload-previews figure,
.release-existing-image { margin: 0; overflow: hidden; border: 1px solid var(--release-line); border-radius: 0.8rem; background: var(--bg-darker); }
.release-upload-previews img,
.release-existing-image > img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.release-upload-previews figcaption { padding: 0.55rem; overflow: hidden; color: var(--release-muted); font-size: 0.7rem; text-overflow: ellipsis; white-space: nowrap; }
.release-existing-image > div { display: grid; padding: 0.55rem; gap: 0.4rem; }
.release-existing-image span { color: var(--gold); font-size: 0.68rem; font-weight: 800; text-transform: uppercase; }
.release-image-delete { padding: 0; color: #e49a9a; border: 0; background: transparent; font-size: 0.75rem; font-weight: 700; text-align: left; }
.release-image-delete:hover,
.release-image-delete:focus-visible { color: #ffb6b6; text-decoration: underline; }

.release-editor-aside { display: grid; position: sticky; top: 1rem; gap: 0.85rem; }
.release-publish-card,
.release-editor-summary { padding: 1.35rem; }
.release-publish-card > small { display: block; margin-top: 0.8rem; color: var(--release-muted); font-size: 0.76rem; line-height: 1.45; }
.release-active-toggle { display: flex; margin-top: 1rem; align-items: center; gap: 0.65rem; color: var(--text); cursor: pointer; }
.release-active-toggle input { position: absolute; opacity: 0; }
.release-active-toggle > span { position: relative; width: 42px; height: 24px; border: 1px solid var(--release-line); border-radius: 999px; background: var(--bg-dark); transition: background 150ms ease; }
.release-active-toggle > span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform 150ms ease, background 150ms ease; }
.release-active-toggle input:checked + span { background: color-mix(in srgb, var(--gold) 28%, var(--bg-dark)); }
.release-active-toggle input:checked + span::after { background: var(--gold); transform: translateX(18px); }
.release-active-toggle input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--gold) 20%, transparent); outline-offset: 2px; }
.release-editor-summary ul { display: grid; margin: 1.1rem 0 0; padding: 0; gap: 0.75rem; list-style: none; }
.release-editor-summary li { display: flex; align-items: flex-start; gap: 0.55rem; color: var(--release-muted); font-size: 0.82rem; }
.release-editor-summary li svg,
.release-editor-actions svg { width: 1rem; height: 1rem; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.release-editor-summary li svg { margin-top: 0.1rem; color: var(--gold); }
.release-editor-actions { display: grid; padding: 0.85rem; gap: 0.55rem; }
.release-editor-actions .btn { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 0.5rem; }

/* Admin directory */
.release-flash { margin-bottom: 1rem; border-radius: 0.8rem; }
.release-admin-section { padding: clamp(1rem, 3vw, 2rem); border: 1px solid rgba(185, 154, 104, 0.2); border-radius: 1rem; background: var(--bg-darker); }
.release-admin-table-wrap { overflow-x: auto; border: 1px solid rgba(185, 154, 104, 0.2); border-radius: 0.9rem; }
.release-admin-table { width: 100%; border-collapse: collapse; color: var(--text); font-size: 0.82rem; }
.release-admin-table th { padding: 0.8rem; color: var(--gold); border-bottom: 1px solid rgba(185, 154, 104, 0.25); background: color-mix(in srgb, var(--surface) 92%, transparent); font-size: 0.67rem; letter-spacing: 0.06em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.release-admin-table td { padding: 0.85rem 0.8rem; border-bottom: 1px solid rgba(185, 154, 104, 0.12); vertical-align: middle; }
.release-admin-table tbody tr:last-child td { border-bottom: 0; }
.release-admin-table tbody tr:hover { background: color-mix(in srgb, var(--gold) 5%, transparent); }
.release-admin-table a { color: var(--gold); text-decoration: none; }
.release-admin-table small { display: block; margin-top: 0.25rem; color: var(--muted); }
.release-admin-name { color: var(--text) !important; font-weight: 800; }
.release-admin-name:hover { color: var(--gold) !important; }
.release-status { display: inline-flex; min-height: 30px; padding: 0.3rem 0.55rem; align-items: center; gap: 0.38rem; color: var(--muted); border: 1px solid rgba(185, 154, 104, 0.25); border-radius: 999px; background: transparent; font-size: 0.7rem; font-weight: 800; }
.release-status span { width: 0.48rem; height: 0.48rem; border-radius: 50%; background: var(--muted); }
.release-status.is-active { color: #a8dfb0; border-color: rgba(91, 183, 104, 0.38); }
.release-status.is-active span { background: #6fc67b; box-shadow: 0 0 0 4px rgba(111, 198, 123, 0.1); }
.release-admin-type { display: inline-block; padding: 0.25rem 0.48rem; color: var(--gold); border-radius: 999px; background: color-mix(in srgb, var(--gold) 10%, transparent); font-size: 0.68rem; font-weight: 750; }
.release-admin-source { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.72rem; }
.release-admin-source svg { width: 0.85rem; height: 0.85rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
.release-admin-actions { display: flex; justify-content: flex-end; gap: 0.4rem; }
.release-admin-actions a,
.release-admin-actions button { display: grid; width: 34px; height: 34px; padding: 0; color: var(--muted); border: 1px solid rgba(185, 154, 104, 0.25); border-radius: 0.55rem; background: transparent; place-items: center; }
.release-admin-actions a:hover { color: var(--gold); border-color: var(--gold); }
.release-admin-actions button:hover { color: #ffabab; border-color: rgba(255, 90, 90, 0.5); }
.release-admin-actions svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }

/* Public release detail */
.release-detail-header { display: flex; padding: clamp(1.35rem, 3vw, 2.25rem); align-items: end; justify-content: space-between; gap: 1.5rem; border: 1px solid rgba(185, 154, 104, 0.3); border-radius: 1.15rem; background: linear-gradient(135deg, var(--surface), var(--bg-darker)); box-shadow: var(--shadow); }
.release-detail-header h1 { max-width: 850px; margin: 0; color: var(--text); font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 4rem); line-height: 1; overflow-wrap: anywhere; }
.release-detail-header p:last-child { display: flex; margin: 0.8rem 0 0; flex-wrap: wrap; gap: 0.5rem; color: var(--muted); }
.release-detail-header p:last-child a { color: var(--gold); }
.release-detail-header-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 0.55rem; }
.release-detail-header-actions .btn { display: inline-flex; min-height: 44px; align-items: center; gap: 0.45rem; }
.release-detail-header-actions svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
.release-detail-grid { display: grid; margin-top: 1rem; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr); align-items: start; gap: 1rem; }
.release-gallery,
.release-detail-info,
.release-detail-description,
.release-detail-admin { border: 1px solid rgba(185, 154, 104, 0.24); border-radius: 1rem; background: var(--surface); box-shadow: var(--shadow); }
.release-gallery { padding: 0.85rem; }
.release-gallery-stage { display: grid; min-height: 520px; max-height: 680px; overflow: hidden; border-radius: 0.8rem; background: radial-gradient(circle at 50% 45%, rgba(185, 154, 104, 0.1), transparent 65%), var(--bg-dark); place-items: center; }
.release-gallery-stage img { display: block; width: 100%; height: 100%; max-height: 680px; padding: 0.5rem; filter: drop-shadow(0 18px 22px rgba(0,0,0,.32)); object-fit: contain; }
.release-gallery-thumbnails { display: flex; margin-top: 0.7rem; overflow-x: auto; gap: 0.55rem; }
.release-gallery-thumbnails button { width: 76px; height: 76px; padding: 0.25rem; flex: 0 0 auto; overflow: hidden; border: 1px solid rgba(185, 154, 104, 0.25); border-radius: 0.6rem; background: var(--bg-dark); }
.release-gallery-thumbnails button.is-active { border-color: var(--gold); box-shadow: 0 0 0 2px color-mix(in srgb, var(--gold) 14%, transparent); }
.release-gallery-thumbnails img { width: 100%; height: 100%; object-fit: contain; }
.release-gallery-empty { display: grid; min-height: 520px; color: rgba(185, 154, 104, 0.5); place-items: center; align-content: center; }
.release-gallery-empty svg { width: min(25%, 140px); fill: none; stroke: currentColor; stroke-width: 1.4; }
.release-gallery-empty p { color: var(--muted); }
.release-detail-info { position: sticky; top: 1rem; padding: 1.2rem; }
.release-detail-status { display: flex; padding-bottom: 1rem; align-items: center; gap: 0.55rem; border-bottom: 1px solid rgba(185, 154, 104, 0.18); }
.release-detail-status > span { width: 0.62rem; height: 0.62rem; border-radius: 50%; background: var(--muted); }
.release-detail-status > span.is-active { background: #6fc67b; box-shadow: 0 0 0 5px rgba(111, 198, 123, 0.1); }
.release-detail-facts { margin: 0; }
.release-detail-facts > div { display: flex; padding: 0.8rem 0; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgba(185, 154, 104, 0.13); }
.release-detail-facts dt { color: var(--muted); font-size: 0.75rem; font-weight: 650; }
.release-detail-facts dd { margin: 0; color: var(--text); font-size: 0.8rem; font-weight: 750; text-align: right; }
.release-source-link { display: flex; margin-top: 1rem; padding: 0.8rem; align-items: center; justify-content: space-between; gap: 0.75rem; color: var(--text); border: 1px solid rgba(185, 154, 104, 0.28); border-radius: 0.75rem; background: color-mix(in srgb, var(--gold) 7%, transparent); text-decoration: none; }
.release-source-link span { min-width: 0; }
.release-source-link strong,
.release-source-link small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.release-source-link small { margin-top: 0.2rem; color: var(--muted); font-size: 0.68rem; }
.release-source-link svg { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; color: var(--gold); fill: none; stroke: currentColor; stroke-width: 1.8; }
.release-detail-description { margin-top: 1rem; padding: clamp(1.2rem, 3vw, 2rem); }
.release-detail-description h2 { margin: 0; color: var(--text); font-family: var(--font-heading); font-size: clamp(1.35rem, 2.5vw, 1.8rem); }
.release-detail-description > div { max-width: 850px; margin-top: 0.9rem; color: var(--muted); line-height: 1.7; white-space: pre-line; }
.release-detail-admin { display: flex; margin-top: 1rem; padding: 0.85rem; justify-content: flex-end; gap: 0.55rem; }
.release-detail-admin form { margin: 0; }

@media (max-width: 1040px) {
    .release-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .release-editor-grid,
    .release-detail-grid { grid-template-columns: 1fr; }

    .release-editor-aside,
    .release-detail-info { position: static; }

    .release-editor-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
    .release-editor-page,
    .release-admin-page,
    .release-detail-page { padding-top: 1rem; }

    .release-editor-hero,
    .release-admin-hero { min-height: 0; grid-template-columns: 1fr; }

    .release-editor-hero-mark,
    .release-admin-hero-mark { display: none; }

    .release-field-grid,
    .release-field-grid-three,
    .release-editor-actions { grid-template-columns: 1fr; }

    .release-upload-previews,
    .release-existing-images { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .release-admin-table-wrap { overflow: visible; border: 0; }
    .release-admin-table,
    .release-admin-table tbody { display: grid; gap: 0.8rem; }
    .release-admin-table thead { display: none; }
    .release-admin-table tr { display: grid; padding: 0.85rem; border: 1px solid rgba(185, 154, 104, 0.22); border-radius: 0.85rem; background: var(--surface); gap: 0.55rem; }
    .release-admin-table td { display: grid; padding: 0; border: 0; grid-template-columns: minmax(90px, .45fr) minmax(0, 1fr); align-items: start; gap: 0.75rem; }
    .release-admin-table td::before { content: attr(data-label); color: var(--muted); font-size: 0.68rem; font-weight: 750; text-transform: uppercase; }
    .release-admin-actions { display: flex !important; margin-top: 0.3rem; justify-content: flex-end; grid-template-columns: none !important; }
    .release-admin-actions::before { display: none; }

    .release-detail-header { display: block; }
    .release-detail-header-actions { margin-top: 1rem; }
    .release-detail-header-actions .btn { flex: 1 1 180px; justify-content: center; }
    .release-gallery-stage,
    .release-gallery-empty { min-height: 320px; }
    .release-detail-admin { flex-direction: column; }
    .release-detail-admin .btn { width: 100%; }

    .release-section-heading {
        display: block;
    }

    .release-section-heading > p {
        margin-top: 0.45rem;
    }

    .release-grid {
        grid-template-columns: 1fr;
    }

    .release-directory-hero h1 {
        font-size: clamp(2.1rem, 11vw, 3.05rem);
    }
}

@media (max-width: 430px) {
    .release-section {
        padding: 0.75rem;
    }

    .release-card-media {
        min-height: 210px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .release-directory *,
    .release-directory *::before,
    .release-directory *::after {
        transition-duration: 0.01ms !important;
    }

    .release-editor-page *,
    .release-admin-page *,
    .release-detail-page * { transition-duration: 0.01ms !important; }
}
