html, body {
    min-height: 100%;
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #24322d;
    background: #fbf8f1;
}

a,
.btn-link {
    color: #2f6f5b;
}

.btn {
    border-radius: 8px;
    font-weight: 700;
}

.btn-primary {
    color: #24322d;
    background-color: #8fcf73;
    border-color: #8fcf73;
}

.btn-primary:hover {
    color: #24322d;
    background-color: #a8dc8b;
    border-color: #a8dc8b;
}

.btn-dark {
    background: #f4efe4;
    border-color: #f4efe4;
}

.btn-outline-light {
    color: #f7f2e8;
    border-color: rgba(247, 242, 232, 0.65);
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.12rem #fbf8f1, 0 0 0 0.28rem rgba(184, 227, 92, 0.8);
}

.content {
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
}

h1:focus {
    outline: none;
}

.top-row-status {
    color: #66736c;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.hero-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 2rem;
    align-items: stretch;
    min-height: 430px;
    padding: clamp(2rem, 5vw, 4.25rem);
    overflow: hidden;
    color: #f7f2e8;
    background: #f4efe4;
    border-radius: 8px;
}

.hero-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(184, 227, 92, 0.12), transparent 34%),
        linear-gradient(315deg, rgba(242, 122, 63, 0.16), transparent 38%);
    pointer-events: none;
}

.hero-copy,
.wall-panel {
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin: 0 0 0.65rem;
    color: #7f8a84;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-shell .eyebrow {
    color: #8fcf73;
}

.hero-copy h1 {
    max-width: 11ch;
    margin: 0;
    font-size: clamp(3rem, 8vw, 6.25rem);
    line-height: 0.9;
    letter-spacing: 0;
}

.hero-text {
    max-width: 34rem;
    margin: 1.4rem 0 0;
    color: #d7ddcf;
    font-size: 1.12rem;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.wall-panel {
    min-height: 310px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background:
        radial-gradient(circle at 18% 22%, rgba(255,255,255,0.12) 0 1px, transparent 2px),
        radial-gradient(circle at 76% 62%, rgba(255,255,255,0.09) 0 1px, transparent 2px),
        linear-gradient(145deg, #343b37, #232926);
    box-shadow: inset 0 0 80px rgba(0,0,0,0.18);
}

.hold {
    position: absolute;
    display: block;
    border-radius: 40% 55% 45% 50%;
    box-shadow: 0 16px 30px rgba(0,0,0,0.28);
}

.hold-a {
    width: 82px;
    height: 48px;
    left: 17%;
    top: 19%;
    background: #8fcf73;
    transform: rotate(-12deg);
}

.hold-b {
    width: 64px;
    height: 60px;
    right: 20%;
    top: 28%;
    background: #e89b6a;
    transform: rotate(18deg);
}

.hold-c {
    width: 92px;
    height: 42px;
    left: 32%;
    bottom: 27%;
    background: #7dbdcc;
    transform: rotate(11deg);
}

.hold-d {
    width: 58px;
    height: 58px;
    right: 28%;
    bottom: 13%;
    background: #efe1bf;
    transform: rotate(-24deg);
}

.route-line {
    position: absolute;
    left: 25%;
    top: 25%;
    width: 48%;
    height: 54%;
    border-left: 2px dashed rgba(247, 242, 232, 0.34);
    border-bottom: 2px dashed rgba(247, 242, 232, 0.26);
    transform: skewX(-16deg);
}

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

.metric-tile,
.next-panel,
.empty-state {
    border: 1px solid #ded6c8;
    border-radius: 8px;
    background: #fffdf8;
    box-shadow: 0 14px 40px rgba(32, 38, 35, 0.06);
}

.metric-tile {
    min-height: 150px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.metric-label {
    color: #6d766f;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.metric-tile strong {
    font-size: 3rem;
    line-height: 1;
}

.accent-lime {
    border-top: 5px solid #8fcf73;
}

.accent-orange {
    border-top: 5px solid #e89b6a;
}

.accent-sky {
    border-top: 5px solid #7dbdcc;
}

.next-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1rem;
    padding: 1.5rem;
}

.next-panel h2,
.page-heading h1,
.empty-state h2 {
    margin: 0 0 0.5rem;
}

.next-panel p,
.page-heading p,
.empty-state p {
    max-width: 48rem;
    margin-bottom: 0;
    color: #59645e;
    line-height: 1.6;
}

.page-heading {
    padding: 2.5rem 0 1.25rem;
}

.empty-state {
    display: grid;
    place-items: center;
    text-align: center;
    min-height: 320px;
    padding: 2rem;
}

.empty-icon {
    display: grid;
    place-items: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
    color: #24322d;
    background: #8fcf73;
    border-radius: 8px;
    font-size: 2rem;
    font-weight: 900;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #2f8f5c;
}

.invalid {
    outline: 1px solid #b13b2e;
}

.validation-message {
    color: #b13b2e;
}

.blazor-error-boundary {
    padding: 1rem;
    color: white;
    background: #7d2d22;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

.darker-border-checkbox.form-check-input {
    border-color: #6d766f;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

@media (max-width: 900px) {
    .hero-shell,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .wall-panel {
        min-height: 260px;
    }

    .next-panel {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .content {
        padding-top: 1rem;
    }

    .hero-shell {
        min-height: auto;
        padding: 1.5rem;
    }

    .hero-copy h1 {
        font-size: 3.2rem;
    }
}

.logbook-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
    gap: 1rem;
    align-items: start;
}

.logbook-form-panel,
.logbook-list-panel {
    border: 1px solid #ded6c8;
    border-radius: 8px;
    background: #fffdf8;
    box-shadow: 0 14px 40px rgba(32, 38, 35, 0.06);
    padding: 1.25rem;
}

.section-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-title-row h2 {
    margin: 0;
    font-size: 1.25rem;
}

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

.field-span-2 {
    grid-column: 1 / -1;
}

.form-control,
.form-select {
    border-color: #d8d0c1;
    border-radius: 8px;
    background-color: #fffdf8;
}

.notes-input {
    min-height: 120px !important;
}

.pill {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0 0.7rem;
    color: #31553f;
    background: rgba(184, 227, 92, 0.28);
    border: 1px solid rgba(49, 85, 63, 0.16);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

.empty-state.compact {
    min-height: 280px;
    box-shadow: none;
}

.boulder-list {
    display: grid;
    gap: 0.85rem;
}

.boulder-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: start;
    padding: 1rem;
    border: 1px solid #e1d9cc;
    border-radius: 8px;
    background: #fffdf8;
}

.boulder-row-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.25rem;
}

.boulder-row-title strong {
    font-size: 1.05rem;
}

.boulder-row-title span {
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding: 0 0.55rem;
    color: #24322d;
    background: #8fcf73;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 900;
}

.boulder-row-meta,
.boulder-row-place {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    color: #6b756f;
    font-size: 0.86rem;
    font-weight: 700;
}

.boulder-row-place {
    margin-top: 0.35rem;
    color: #3d4a43;
}

.boulder-row p {
    margin: 0.65rem 0 0;
    color: #56615b;
    line-height: 1.55;
}

.btn-outline-danger {
    border-radius: 8px;
}

@media (max-width: 980px) {
    .logbook-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .form-grid,
    .boulder-row {
        grid-template-columns: 1fr;
    }

    .field-span-2 {
        grid-column: auto;
    }
}

.form-status {
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
    color: #553a12;
    background: #fff2cf;
    border: 1px solid #ecd59d;
    border-radius: 8px;
    font-weight: 700;
}

.upload-box {
    display: grid;
    gap: 0.45rem;
    padding: 1rem;
    border: 1px dashed #c9bfad;
    border-radius: 8px;
    background: #fffdf8;
}

.upload-box label {
    color: #33443a;
    font-weight: 900;
}

.upload-box span,
.upload-box small {
    color: #68736c;
}

.media-strip {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.55rem;
    margin-bottom: 0.9rem;
}

.media-strip img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e0d7c8;
    background: #efe7d7;
}

.row-actions {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.dashboard-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 1rem;
    margin-top: 1rem;
}

.dashboard-panel {
    align-items: stretch;
}

.mini-list {
    display: grid;
    gap: 0.55rem;
    margin-top: 1rem;
}

.mini-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 0.9rem;
    color: #24322d;
    background: #fffdf8;
    border: 1px solid #e0d7c8;
    border-radius: 8px;
    text-decoration: none;
}

.mini-row:hover {
    color: #24322d;
    border-color: #8fcf73;
}

.mini-row span {
    color: #68736c;
    font-size: 0.88rem;
    font-weight: 700;
    text-align: right;
}

@media (max-width: 900px) {
    .dashboard-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .row-actions,
    .mini-row {
        align-items: stretch;
        flex-direction: column;
    }

    .mini-row span {
        text-align: left;
    }
}

.compact-heading {
    padding-top: 1.5rem;
}

.profile-panel {
    max-width: 760px;
    padding: 1.25rem;
    border: 1px solid #ded6c8;
    border-radius: 8px;
    background: #fffdf8;
    box-shadow: 0 14px 40px rgba(32, 38, 35, 0.06);
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(150px, 0.55fr) minmax(150px, 0.55fr) auto;
    gap: 0.75rem;
    align-items: stretch;
    margin-bottom: 1rem;
    padding: 0.85rem;
    border: 1px solid #e3dbcf;
    border-radius: 8px;
    background: #fffdf8;
}

.filter-panel .btn {
    min-height: 58px;
}

.checkbox-line {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.25rem;
    color: #425048;
    font-weight: 700;
}

.checkbox-line input {
    width: 1.05rem;
    height: 1.05rem;
}

.media-thumb {
    position: relative;
    margin: 0;
}

.media-remove {
    position: absolute;
    right: 0.45rem;
    bottom: 0.45rem;
    min-height: 1.8rem;
    padding: 0 0.55rem;
    color: white;
    background: rgba(31, 36, 34, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 800;
}

.media-remove:hover {
    background: #7d2d22;
}

.external-link {
    display: inline-flex;
    margin-top: 0.75rem;
    color: #31553f;
    font-weight: 800;
    text-decoration: none;
}

.external-link:hover {
    color: #24322d;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .filter-panel {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .filter-panel {
        grid-template-columns: 1fr;
    }
}

/* Lighter visual refresh */
.sidebar {
    background: #f3eadc !important;
    border-right: 1px solid #e1d6c6 !important;
}

.navbar-brand,
.nav-item ::deep .nav-link,
.nav-item ::deep a.active,
.nav-item ::deep .nav-link:hover {
    color: #24322d !important;
}

.nav-item ::deep a.active {
    background: rgba(143, 207, 115, 0.24) !important;
}

.nav-symbol {
    color: #5d9f4d !important;
}

.brand-mark {
    color: #24322d !important;
    background: #a8dc8b !important;
}

.hero-shell {
    color: #26332e !important;
    background: linear-gradient(135deg, #fff9ed 0%, #f4ecdd 58%, #e9ddcb 100%) !important;
    border: 1px solid #e0d4c4;
}

.hero-shell::before {
    background: linear-gradient(135deg, rgba(143, 207, 115, 0.16), transparent 36%), linear-gradient(315deg, rgba(232, 155, 106, 0.14), transparent 42%) !important;
}

.hero-shell .eyebrow {
    color: #5d9f4d !important;
}

.hero-text {
    color: #5b6b62 !important;
}

.btn-outline-light {
    color: #24322d !important;
    border-color: #9b9285 !important;
}

.rock-hero-image {
    position: relative;
    z-index: 1;
    min-height: 320px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(92, 79, 64, 0.18);
    background:
        linear-gradient(90deg, rgba(255, 249, 237, 0.18), rgba(255, 249, 237, 0) 42%),
        url("images/home-bouldering-hero.png") center right / cover no-repeat;
    box-shadow: 0 18px 55px rgba(83, 64, 47, 0.16);
}

.rock-hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(36, 50, 45, 0), rgba(36, 50, 45, 0.08));
    pointer-events: none;
}
.wall-panel,
.hold,
.route-line {
    display: none !important;
}

.gallery-days {
    display: grid;
    gap: 1rem;
}

.gallery-day,
.explore-card {
    border: 1px solid #ded6c8;
    border-radius: 8px;
    background: #fffdf8;
    box-shadow: 0 14px 40px rgba(32, 38, 35, 0.06);
}

.gallery-day {
    padding: 1.25rem;
}

.gallery-day-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.gallery-day-header h2 {
    margin: 0;
}

.day-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.day-stats span {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0 0.65rem;
    color: #31553f;
    background: rgba(143, 207, 115, 0.24);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
}

.gallery-grid,
.explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.85rem;
}

.gallery-card,
.explore-card {
    overflow: hidden;
    color: #24322d;
    text-decoration: none;
}

.gallery-card {
    display: grid;
    border: 1px solid #e1d9cc;
    border-radius: 8px;
    background: #fffdf8;
}

.gallery-card:hover,
.explore-card:hover {
    color: #24322d;
    border-color: #8fcf73;
}

.gallery-card img,
.explore-card img,
.gallery-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #eadfcc;
}

.gallery-placeholder {
    display: grid;
    place-items: center;
    color: #5b5145;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.24), transparent 35%),
        linear-gradient(145deg, #d7c2a6, #a98f73 58%, #e7d8c0);
    font-weight: 900;
}

.gallery-card div,
.explore-card div {
    display: grid;
    gap: 0.3rem;
    padding: 0.9rem;
}

.gallery-card strong,
.explore-card h2 {
    margin: 0;
    font-size: 1.05rem;
}

.gallery-card span,
.explore-card p {
    margin: 0;
    color: #617068;
    font-weight: 700;
}

.explore-grid {
    align-items: stretch;
}

.explore-card {
    display: grid;
}

.btn-dark {
    color: #fffdf8 !important;
    background: #2f3f37 !important;
    border-color: #2f3f37 !important;
}

@media (max-width: 640px) {
    .gallery-day-header {
        flex-direction: column;
    }

    .day-stats {
        justify-content: flex-start;
    }
}
/* Mobile polish */
.inline-form {
    display: inline-flex;
    margin: 0;
}

input[type="file"] {
    max-width: 100%;
}

@media (max-width: 640px) {
    html,
    body {
        overflow-x: hidden;
    }

    .content {
        padding: 0.85rem 0.85rem 1.75rem !important;
    }

    .top-row {
        display: none !important;
    }

    .page-heading {
        padding: 1.15rem 0 0.85rem;
    }

    .page-heading h1,
    .hero-copy h1 {
        font-size: 2.45rem;
        line-height: 1;
    }

    .page-heading p,
    .hero-text {
        font-size: 0.98rem;
        line-height: 1.5;
    }

    .hero-shell {
        gap: 1rem;
        margin: 0 -0.1rem;
        padding: 1.1rem;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.65rem;
        margin-top: 1rem;
    }

    .hero-actions .btn,
    .next-panel .btn,
    .row-actions .btn,
    .row-actions a.btn,
    .filter-panel .btn {
        width: 100%;
        min-height: 2.75rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .rock-hero-image {
        min-height: 190px;
    }

    .dashboard-grid,
    .dashboard-columns,
    .logbook-layout,
    .gallery-grid,
    .explore-grid {
        gap: 0.75rem;
    }

    .metric-tile,
    .next-panel,
    .logbook-form-panel,
    .logbook-list-panel,
    .gallery-day,
    .profile-panel,
    .empty-state {
        padding: 1rem;
        box-shadow: 0 10px 28px rgba(32, 38, 35, 0.05);
    }

    .metric-tile {
        min-height: 115px;
    }

    .metric-tile strong {
        font-size: 2.35rem;
    }

    .section-title-row,
    .gallery-day-header {
        flex-direction: column;
        gap: 0.65rem;
    }

    .section-title-row .pill {
        align-self: flex-start;
    }

    .form-grid,
    .filter-panel {
        gap: 0.65rem;
    }

    .form-floating > .form-control,
    .form-floating > .form-select {
        min-height: 3.35rem;
        height: 3.35rem;
        font-size: 1rem;
    }

    .form-floating > textarea.form-control {
        min-height: 115px !important;
        height: 115px;
    }

    .upload-box {
        padding: 0.85rem;
    }

    .boulder-row {
        padding: 0.9rem;
    }

    .boulder-row-title {
        align-items: flex-start;
        gap: 0.45rem;
    }

    .boulder-row-title strong {
        width: 100%;
        font-size: 1.02rem;
    }

    .boulder-row-meta,
    .boulder-row-place {
        font-size: 0.82rem;
        line-height: 1.4;
    }

    .row-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .row-actions .inline-form {
        display: flex;
        width: 100%;
    }

    .row-actions .inline-form .btn {
        width: 100%;
    }

    .media-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .media-strip img {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .media-remove {
        position: static;
        width: 100%;
        margin-top: 0.35rem;
        color: #fffdf8;
        background: #3b4740;
    }

    .media-thumb .inline-form {
        display: flex;
        width: 100%;
    }

    .mini-row {
        gap: 0.35rem;
    }

    .gallery-grid,
    .explore-grid {
        grid-template-columns: 1fr;
    }

    .gallery-card div,
    .explore-card div {
        padding: 0.8rem;
    }
}

@media (max-width: 390px) {
    .content {
        padding-left: 0.65rem !important;
        padding-right: 0.65rem !important;
    }

    .row-actions {
        grid-template-columns: 1fr;
    }

    .media-strip {
        grid-template-columns: 1fr;
    }
}
/* Logbook mobile redesign */
@media (max-width: 640px) {
    .logbook-layout {
        gap: 0.8rem;
    }

    .logbook-form-panel,
    .logbook-list-panel {
        padding: 0.85rem;
        border-radius: 8px;
    }

    .logbook-form-panel .section-title-row,
    .logbook-list-panel .section-title-row {
        margin-bottom: 0.75rem;
    }

    .logbook-form-panel h2,
    .logbook-list-panel h2 {
        font-size: 1.08rem;
    }

    .logbook-form-panel .eyebrow,
    .logbook-list-panel .eyebrow {
        margin-bottom: 0.35rem;
        font-size: 0.7rem;
    }

    .logbook-form-panel .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .logbook-form-panel .field-span-2,
    .logbook-form-panel .upload-box,
    .logbook-form-panel .notes-input {
        grid-column: 1 / -1;
    }

    .logbook-form-panel .form-floating > .form-control,
    .logbook-form-panel .form-floating > .form-select {
        min-height: 3rem;
        height: 3rem;
        padding-top: 1.2rem;
        padding-bottom: 0.35rem;
        font-size: 0.95rem;
    }

    .logbook-form-panel .form-floating > label {
        padding-top: 0.72rem;
        font-size: 0.82rem;
    }

    .logbook-form-panel textarea.form-control,
    .logbook-form-panel .notes-input {
        min-height: 86px !important;
        height: 86px;
    }

    .logbook-form-panel .upload-box {
        gap: 0.3rem;
        padding: 0.7rem;
    }

    .logbook-form-panel .btn-primary {
        min-height: 3rem;
        margin-top: 0.65rem !important;
    }

    .filter-panel {
        padding: 0;
        border: none;
        background: transparent;
    }

    .filter-panel .form-floating > .form-control,
    .filter-panel .form-floating > .form-select {
        min-height: 3rem;
        height: 3rem;
    }

    .boulder-list {
        gap: 0.7rem;
    }

    .boulder-row {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        padding: 0;
        overflow: hidden;
        border-color: #ded6c8;
        box-shadow: 0 10px 24px rgba(32, 38, 35, 0.05);
    }

    .boulder-row > div:first-child {
        display: flex;
        flex-direction: column;
        gap: 0.45rem;
        padding: 0.85rem;
    }

    .boulder-row .media-strip {
        order: -1;
        display: flex;
        gap: 0.45rem;
        margin: -0.85rem -0.85rem 0.45rem;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        padding-bottom: 0.1rem;
    }

    .boulder-row .media-thumb {
        min-width: 82%;
        scroll-snap-align: start;
    }

    .boulder-row .media-strip img {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        border: 0;
        border-radius: 0;
    }

    .boulder-row-title {
        gap: 0.4rem;
        margin-bottom: 0;
    }

    .boulder-row-title strong {
        font-size: 1.1rem;
        line-height: 1.2;
    }

    .boulder-row-title span {
        min-height: 1.55rem;
        padding: 0 0.48rem;
        font-size: 0.76rem;
    }

    .boulder-row-meta,
    .boulder-row-place {
        gap: 0.3rem;
        font-size: 0.8rem;
    }

    .boulder-row p {
        margin-top: 0.15rem;
        font-size: 0.94rem;
    }

    .boulder-row .external-link {
        margin-top: 0.2rem;
    }

    .boulder-row > .row-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        width: 100%;
        padding: 0 0.85rem 0.85rem;
    }

    .boulder-row > .row-actions .btn,
    .boulder-row > .row-actions .inline-form,
    .boulder-row > .row-actions .inline-form button {
        width: 100%;
    }

    .boulder-row > .row-actions .btn {
        min-height: 2.75rem;
    }

    .media-thumb .inline-form {
        position: absolute;
        right: 0.5rem;
        bottom: 0.5rem;
        width: auto;
    }

    .media-remove {
        position: static;
        width: auto;
        margin-top: 0;
        min-height: 2rem;
        border-radius: 6px;
    }

    .rock-hero-image {
        min-height: 210px;
        background-position: center center;
    }
}

@media (max-width: 390px) {
    .logbook-form-panel .form-grid {
        grid-template-columns: 1fr;
    }

    .boulder-row > .row-actions {
        grid-template-columns: 1fr;
    }

    .boulder-row .media-thumb {
        min-width: 100%;
    }
}
/* Dashboard, gallery, explore refinements */
.dashboard-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.dashboard-columns-wide {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.dashboard-secondary-grid {
    margin-top: 1rem;
}

.chart-heading-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    width: 100%;
}

.year-filter {
    min-width: 150px;
}

.grade-panel {
    align-items: stretch;
}

.grade-chart {
    display: grid;
    gap: 0.65rem;
    width: 100%;
    margin-top: 1rem;
}

.grade-bar-row {
    display: grid;
    grid-template-columns: 3.5rem minmax(0, 1fr) 2.25rem;
    gap: 0.65rem;
    align-items: center;
}

.grade-label,
.grade-bar-row strong {
    color: #38463f;
    font-weight: 900;
}

.grade-bar-row strong {
    text-align: right;
}

.grade-bar-track {
    height: 0.8rem;
    overflow: hidden;
    background: #eee5d7;
    border-radius: 999px;
}

.grade-bar-track span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #8fcf73, #7dbdcc);
    border-radius: inherit;
}

.route-placeholder,
.explore-placeholder {
    position: relative;
    min-height: 150px;
    overflow: hidden;
    background:
        radial-gradient(circle at 24% 26%, rgba(255,255,255,0.55) 0 7%, transparent 18%),
        radial-gradient(circle at 76% 34%, rgba(143, 207, 115, 0.45) 0 6%, transparent 18%),
        radial-gradient(circle at 52% 76%, rgba(125, 189, 204, 0.42) 0 7%, transparent 19%),
        linear-gradient(145deg, #d8c2a6, #a98e72 58%, #eadbc2);
}

.route-placeholder::before {
    content: "";
    position: absolute;
    inset: 14% 18%;
    border-left: 2px dashed rgba(54, 43, 34, 0.35);
    border-bottom: 2px dashed rgba(54, 43, 34, 0.25);
    transform: skewX(-16deg);
}

.route-placeholder span,
.explore-placeholder span {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    display: inline-flex;
    min-height: 2rem;
    align-items: center;
    padding: 0 0.7rem;
    color: #24322d;
    background: rgba(255,253,248,0.85);
    border-radius: 999px;
    font-weight: 900;
}

.explore-card {
    min-height: 100%;
}

.explore-placeholder {
    aspect-ratio: 4 / 3;
    min-height: auto;
}

.filter-panel {
    grid-template-columns: minmax(180px, 1fr) minmax(150px, 0.5fr) minmax(150px, 0.5fr) auto auto;
}

@media (max-width: 900px) {
    .chart-heading-row {
        flex-direction: column;
    }

    .year-filter {
        width: 100%;
    }

    .filter-panel {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .grade-bar-row {
        grid-template-columns: 2.75rem minmax(0, 1fr) 1.75rem;
        gap: 0.45rem;
    }

    .filter-panel {
        grid-template-columns: 1fr;
    }
}

/* Compact dashboard and neutral community placeholders */
.hero-shell {
    min-height: 300px !important;
    padding: clamp(1.35rem, 3vw, 2.4rem) clamp(1.5rem, 4vw, 3rem) !important;
    gap: clamp(1rem, 3vw, 1.8rem) !important;
}

.hero-copy h1 {
    font-size: clamp(2.7rem, 5.4vw, 4.65rem) !important;
    line-height: 0.95 !important;
}

.hero-text {
    max-width: 28rem !important;
    margin-top: 0.8rem !important;
    font-size: 1rem !important;
    line-height: 1.45 !important;
}

.hero-actions {
    margin-top: 1.25rem !important;
}

.rock-hero-image {
    min-height: 230px !important;
}

.content {
    padding-top: 1rem !important;
}

.page-heading {
    padding: 1.25rem 0 0.8rem !important;
}

.route-placeholder,
.explore-placeholder {
    background:
        linear-gradient(180deg, rgba(36, 50, 45, 0.08), rgba(36, 50, 45, 0.02)),
        url("images/home-bouldering-hero.png") center / cover no-repeat !important;
}

.explore-placeholder::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,253,248,0.20), rgba(36,50,45,0.32));
}

.route-placeholder::before {
    display: none !important;
}

.route-placeholder span,
.explore-placeholder span {
    z-index: 1;
}

@media (max-width: 640px) {
    .hero-shell {
        padding: 1rem !important;
    }

    .rock-hero-image {
        min-height: 165px !important;
    }
}
/* Boulder detail page */
.boulder-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
    gap: 1rem;
    align-items: stretch;
    margin-top: 1rem;
}

.boulder-detail-copy,
.boulder-detail-media,
.boulder-detail-layout .next-panel,
.boulder-detail-gallery {
    border: 1px solid #ded6c8;
    border-radius: 8px;
    background: #fffdf8;
    box-shadow: 0 14px 40px rgba(32, 38, 35, 0.06);
}

.boulder-detail-copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
    padding: clamp(1.25rem, 3vw, 2rem);
}

.boulder-detail-copy h1 {
    margin: 0;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1;
}

.boulder-detail-meta,
.boulder-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.boulder-detail-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0 0.7rem;
    color: #31553f;
    background: rgba(143, 207, 115, 0.24);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
}

.boulder-detail-place {
    margin: 0;
    color: #53625a;
    font-size: 1.05rem;
    font-weight: 800;
}

.boulder-detail-media {
    overflow: hidden;
    min-height: 420px;
}

.boulder-detail-media img,
.boulder-detail-media .gallery-placeholder {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.boulder-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 1rem;
}

.boulder-detail-layout .next-panel {
    align-items: flex-start;
}

.boulder-detail-notes p:last-child {
    white-space: pre-wrap;
}

.boulder-detail-facts dl {
    display: grid;
    gap: 0.65rem;
    margin: 0;
}

.boulder-detail-facts dl div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #eee5d7;
}

.boulder-detail-facts dt {
    color: #6d766f;
    font-weight: 800;
}

.boulder-detail-facts dd {
    margin: 0;
    text-align: right;
    font-weight: 800;
}

.boulder-detail-gallery {
    margin-top: 1rem;
    padding: 1rem;
}

.explore-card {
    text-decoration: none;
}

@media (max-width: 900px) {
    .boulder-detail-hero,
    .boulder-detail-layout {
        grid-template-columns: 1fr;
    }

    .boulder-detail-media,
    .boulder-detail-media img,
    .boulder-detail-media .gallery-placeholder {
        min-height: 280px;
    }
}

@media (max-width: 640px) {
    .boulder-detail-actions .btn {
        width: 100%;
    }
}
/* Dashboard mobile stacking fix */
@media (max-width: 1100px) {
    .dashboard-columns,
    .dashboard-columns-wide {
        grid-template-columns: 1fr !important;
    }

    .dashboard-panel,
    .grade-panel {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .dashboard-columns,
    .dashboard-columns-wide {
        gap: 0.75rem;
    }

    .chart-heading-row {
        gap: 0.75rem;
    }

    .grade-panel h2,
    .dashboard-panel h2 {
        font-size: 1.45rem;
        line-height: 1.15;
    }

    .year-filter,
    .year-filter .form-select {
        width: 100%;
    }
}
/* Simplified account pages */
.account-shell {
    display: grid;
    place-items: start center;
    padding-top: clamp(1rem, 5vw, 4rem);
}

.account-panel {
    width: min(100%, 520px);
    padding: clamp(1rem, 3vw, 1.5rem);
    border: 1px solid #ded6c8;
    border-radius: 8px;
    background: #fffdf8;
    box-shadow: 0 14px 40px rgba(32, 38, 35, 0.06);
}

.account-panel h1 {
    margin: 0 0 1rem;
}

.account-secondary-link {
    margin: 1rem 0 0;
    text-align: center;
    font-weight: 800;
}
/* Grade badges on real photos */
.image-card-frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #eadfcc;
}

.image-card-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-grade-badge {
    position: absolute;
    right: 0.7rem;
    bottom: 0.7rem;
    z-index: 2;
    display: inline-flex;
    min-height: 2rem;
    align-items: center;
    padding: 0 0.72rem;
    color: #24322d;
    background: rgba(255, 253, 248, 0.92);
    border: 1px solid rgba(36, 50, 45, 0.12);
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(32, 38, 35, 0.18);
    font-size: 0.95rem;
    font-weight: 900;
}

.boulder-detail-media {
    position: relative;
}

.detail-grade-badge {
    right: 1rem;
    bottom: 1rem;
    min-height: 2.4rem;
    padding: 0 0.95rem;
    font-size: 1.05rem;
}

.gallery-card > .image-card-frame,
.explore-card > .image-card-frame {
    display: block;
}
/* Boulder detail page polish */
.boulder-detail-hero {
    grid-template-columns: minmax(300px, 0.55fr) minmax(0, 1.45fr) !important;
    gap: 0.85rem !important;
    align-items: stretch !important;
}

.boulder-detail-copy {
    min-height: 0 !important;
    justify-content: flex-start !important;
    gap: 1rem !important;
    padding: clamp(1rem, 2vw, 1.45rem) !important;
}

.boulder-detail-copy h1 {
    font-size: clamp(2rem, 3.2vw, 3.15rem) !important;
    line-height: 1.02 !important;
}

.boulder-detail-meta {
    gap: 0.42rem !important;
}

.boulder-detail-place {
    margin-top: 0.2rem !important;
    font-size: 0.98rem !important;
}

.boulder-detail-actions {
    margin-top: auto;
}

.boulder-detail-media,
.boulder-detail-media img,
.boulder-detail-media .gallery-placeholder {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
}

.boulder-detail-media img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.boulder-detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.65fr) !important;
    gap: 0.85rem !important;
}

.boulder-detail-layout .next-panel {
    margin-top: 0.85rem !important;
    padding: 1rem !important;
}

.boulder-detail-facts dl {
    gap: 0.45rem !important;
}

.boulder-detail-facts dl div {
    padding-bottom: 0.45rem !important;
}

@media (max-width: 900px) {
    .boulder-detail-hero,
    .boulder-detail-layout {
        grid-template-columns: 1fr !important;
    }

    .boulder-detail-media,
    .boulder-detail-media img,
    .boulder-detail-media .gallery-placeholder {
        aspect-ratio: 4 / 3;
    }
}
.browse-heading {
    align-items: flex-end;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.view-filter {
    min-width: 12rem;
}

@media (max-width: 720px) {
    .browse-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .view-filter,
    .view-filter .form-select {
        width: 100%;
    }
}
.project-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.project-filter-panel {
    margin-bottom: 1rem;
}

.project-board {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.project-card {
    overflow: hidden;
    border: 1px solid #ded6c8;
    border-radius: 8px;
    background: #fffdf8;
    box-shadow: 0 14px 40px rgba(32, 38, 35, 0.06);
}

.project-card-media {
    position: relative;
    display: block;
    color: inherit;
    text-decoration: none;
}

.project-card-media img,
.project-card-media .gallery-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.project-card-body {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
}

.project-card-body h2,
.project-card-body p {
    margin: 0;
}

.project-note {
    color: #617068;
    font-weight: 650;
}

.project-card-actions,
.project-send-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-send-form .form-control,
.project-send-form .form-select {
    flex: 1 1 8rem;
    min-height: 2.75rem;
}

.project-send-form .btn {
    flex: 1 1 100%;
}

@media (max-width: 640px) {
    .project-board {
        grid-template-columns: 1fr;
    }
}
.gallery-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.gallery-filter-panel {
    margin-bottom: 1rem;
}

@media (max-width: 700px) {
    .gallery-overview-grid {
        grid-template-columns: 1fr;
    }
}

/* Detail page 2.0 compact browsing layout */
.boulder-detail-hero {
    align-items: start !important;
    grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr) !important;
    margin-top: 0 !important;
}

.boulder-detail-copy {
    height: fit-content;
}

.boulder-detail-media {
    width: 100%;
    max-height: min(62vh, 620px);
}

.boulder-detail-media img,
.boulder-detail-media .gallery-placeholder {
    max-height: min(62vh, 620px);
}

.boulder-detail-layout {
    align-items: start;
}

@media (max-width: 900px) {
    .boulder-detail-hero {
        grid-template-columns: 1fr !important;
    }

    .boulder-detail-copy {
        order: 2;
    }

    .boulder-detail-media {
        order: 1;
        max-height: none;
    }

    .boulder-detail-media img,
    .boulder-detail-media .gallery-placeholder {
        max-height: none;
    }
}

.explore-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.explore-filter-panel {
    margin-bottom: 1rem;
}

@media (max-width: 700px) {
    .explore-overview-grid {
        grid-template-columns: 1fr;
    }
}

/* Dashboard year rhythm */
.season-panel {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.season-panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.season-panel-heading h2 {
    margin: 0;
    font-size: clamp(1.55rem, 2vw, 2.1rem);
}

.season-highlight {
    display: grid;
    justify-items: end;
    gap: 0.15rem;
    color: #4f5f56;
    font-weight: 800;
}

.season-highlight span {
    color: #6d766f;
    font-size: 0.74rem;
    letter-spacing: 0;
    text-transform: uppercase;
}

.season-highlight strong {
    color: #22332c;
    font-size: 1.05rem;
}

.season-chart {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0.55rem;
    min-height: 145px;
    align-items: end;
}

.season-month {
    display: grid;
    grid-template-rows: minmax(82px, 1fr) auto auto;
    gap: 0.35rem;
    min-width: 0;
    text-align: center;
}

.season-bar-track {
    display: flex;
    align-items: end;
    height: 100%;
    min-height: 82px;
    padding: 0.25rem;
    border: 1px solid #eee2d2;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.95), rgba(245, 238, 225, 0.72));
}

.season-bar-track span {
    display: block;
    width: 100%;
    min-height: 0.3rem;
    border-radius: 6px;
    background: linear-gradient(180deg, #8fcf73, #78bfc8);
    box-shadow: 0 8px 18px rgba(120, 191, 200, 0.2);
}

.season-month strong {
    overflow: hidden;
    color: #38463f;
    font-size: 0.82rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.season-month small {
    color: #6d766f;
    font-weight: 800;
}

@media (max-width: 760px) {
    .season-panel-heading {
        display: grid;
    }

    .season-highlight {
        justify-items: start;
    }

    .season-chart {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        min-height: 0;
    }

    .season-month {
        grid-template-rows: 72px auto auto;
    }
}

@media (max-width: 420px) {
    .season-chart {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Sessions */
.sessions-filter-panel {
    margin-bottom: 1rem;
}

.sessions-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.sessions-board {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1rem;
}

.session-card {
    overflow: hidden;
    border: 1px solid #ded6c8;
    border-radius: 8px;
    background: #fffdf8;
    box-shadow: 0 14px 40px rgba(32, 38, 35, 0.06);
}

.session-media-strip {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    aspect-ratio: 16 / 9;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: #eadfcc;
}

.session-media-strip img,
.session-media-strip .session-placeholder {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
}

.session-media-strip img:first-child:nth-last-child(1) {
    grid-column: 1 / -1;
}

.session-media-strip img:first-child:nth-last-child(3) {
    grid-row: span 2;
}

.session-placeholder {
    grid-column: 1 / -1;
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
}

.session-card-body {
    display: grid;
    gap: 0.8rem;
    padding: 1rem;
}

.session-card-body h2,
.session-card-body p {
    margin: 0;
}

.session-stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.session-stat-row span {
    display: inline-flex;
    min-height: 1.85rem;
    align-items: center;
    padding: 0 0.65rem;
    color: #31553f;
    background: rgba(143, 207, 115, 0.22);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
}

.session-boulder-list {
    display: grid;
    gap: 0.45rem;
}

.session-boulder-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-top: 1px solid #eee5d7;
    color: #22332c;
    text-decoration: none;
}

.session-boulder-list a:hover strong {
    text-decoration: underline;
}

.session-boulder-list span,
.session-more {
    color: #5f6f67;
    font-weight: 800;
}

@media (max-width: 760px) {
    .sessions-overview-grid,
    .sessions-board {
        grid-template-columns: 1fr;
    }

    .session-media-strip {
        aspect-ratio: 4 / 3;
    }
}

/* Media 2.0 video support */
.boulder-detail-media video {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(62vh, 620px);
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #17231f;
}

.video-thumb,
.video-card-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 5rem;
    color: #22332c;
    background: linear-gradient(135deg, rgba(143, 207, 115, 0.28), rgba(120, 191, 200, 0.2)), #fffdf8;
    border: 1px solid #ded6c8;
    text-decoration: none;
    font-weight: 900;
}

.video-thumb span,
.video-card-placeholder span {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0 0.75rem;
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.92);
    box-shadow: 0 8px 22px rgba(32, 38, 35, 0.14);
}

.image-card-frame .video-card-placeholder,
.project-card-media .video-card-placeholder,
.session-media-strip .video-card-placeholder {
    aspect-ratio: 4 / 3;
}

/* Session detail */
.session-detail-hero {
    display: grid;
    grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
    gap: 1rem;
    align-items: start;
    margin-bottom: 1rem;
}

.session-detail-copy,
.session-detail-media {
    border: 1px solid #ded6c8;
    border-radius: 8px;
    background: #fffdf8;
    box-shadow: 0 14px 40px rgba(32, 38, 35, 0.06);
}

.session-detail-copy {
    display: grid;
    gap: 1rem;
    padding: clamp(1rem, 2vw, 1.45rem);
}

.session-detail-copy h1 {
    margin: 0;
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    line-height: 1;
}

.session-detail-copy p {
    margin: 0;
}

.session-detail-media {
    position: relative;
    overflow: hidden;
}

.session-detail-media img,
.session-detail-media video,
.session-detail-media .gallery-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #17231f;
}

.session-detail-media video {
    object-fit: contain;
}

.session-photo-reel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.session-photo-reel a {
    overflow: hidden;
    border: 1px solid #ded6c8;
    border-radius: 8px;
    background: #fffdf8;
}

.session-photo-reel img,
.session-photo-reel .video-card-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.session-detail-list {
    display: grid;
    gap: 0.75rem;
}

.session-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #ded6c8;
    border-radius: 8px;
    color: #22332c;
    background: #fffdf8;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(32, 38, 35, 0.05);
}

.session-detail-row h2,
.session-detail-row p {
    margin: 0;
}

.session-detail-row > strong {
    display: inline-flex;
    min-height: 2.2rem;
    align-items: center;
    padding: 0 0.8rem;
    border-radius: 999px;
    background: rgba(143, 207, 115, 0.22);
}

@media (max-width: 900px) {
    .session-detail-hero {
        grid-template-columns: 1fr;
    }

    .session-detail-row {
        align-items: flex-start;
        flex-direction: column;
    }
}
