/* SN0W — RESORT DETAIL PAGES
   Resort toolbar, dashboard, conditions, trail map, webcams, destination cards,
   and events. Load after /public/styles/main.css and /public/styles/snowfinder.css.
*/

/* =========================================================
   08. RESORT DETAIL PAGES
   ========================================================= */

/* Resort detail content uses the Snowfinder portal shell. */
.snowfinder-map-wrap:has(.snowfinder-resort) {
    align-items: stretch;
    justify-content: flex-start;
    padding: 0.6rem;
    cursor: default;
}

/* Keep the toolbar stationary; scroll only the dashboard below it. */
.snowfinder-resort {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    overflow: hidden;
    padding: 0 1rem;
    color: #fff;
    cursor: default;
}

/* Resort toolbar */
.resort-toolbar {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 100%;
    padding: 0.65rem 0 0.5rem;
}

/* Resort identity capsule */
.resort-identity {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 3.25rem;
    padding: 0.6rem 1.5rem;

    background: rgba(45, 45, 45, 0.95);
    border: 1px solid #777;
    border-radius: 32px 0 0 0;
    box-shadow: 3px 0 10px rgba(0, 0, 0, 0.3);
}

.resort-identity h1 {
    margin: 0;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Resort navigation capsule */
.resort-nav {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
    min-height: 2.65rem;
    margin: 0 0 0 -1rem;
    padding: 0.4rem 0.75rem 0.4rem 1.5rem;

    background: rgba(15, 15, 15, 0.85);
    border: 1px solid #555;
    border-left: 0;
    border-radius: 0 24px 24px 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.resort-nav::-webkit-scrollbar {
    display: none;
}

.resort-nav button {
    flex-shrink: 0;
    padding: 0.4rem 0.5rem;
    background: transparent;
    border: 0;
    color: #999;
    font: 700 11px Arial, Helvetica, sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
}

.resort-nav button:hover {
    color: #fff;
    transform: translateY(-1px) scale(1.25);
}

.resort-nav button.active {
    color: #fff;
}

.resort-nav button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Scrollable resort content, independent of toolbar and breadcrumbs. */
.resort-content {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    padding: 2rem 2rem 4rem;
    line-height: 1.6;
}

.resort-panel[hidden] {
    display: none;
}

.resort-panel h2 {
    margin-top: 0;
}

/* =========================================================
   RESORT OVERVIEW — INTRODUCTION
   ========================================================= */

.resort-intro {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.resort-intro-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 150px;
}

.resort-intro-logo img {
    display: block;
    max-width: 100%;
    max-height: 110px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.resort-intro-text {
    flex: 1;
    min-width: 0;
}

.resort-intro-text h2 {
    margin: 0 0 0.5rem;
}

.resort-intro-text p {
    margin: 0;
}

/* Divider */
.resort-divider {
    margin: 2rem 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* =========================================================
   RESORT OVERVIEW — STATUS TILES
   ========================================================= */

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

.resort-status-tile {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
    padding: 1rem;

    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}

.resort-status-label {
    color: #aaa;
    font: 700 10px Arial, Helvetica, sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.resort-status-value {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

/* =========================================================
   RESORT OVERVIEW — RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {
    .resort-intro {
        gap: 1rem;
    }

    .resort-intro-logo {
        flex-basis: 90px;
    }

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

    .resort-status-value {
        font-size: 1.15rem;
    }
}

@media (max-width: 420px) {
    .resort-intro {
        flex-direction: column;
        align-items: flex-start;
    }

    .resort-status-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   RESORT OVERVIEW — MOUNTAIN STATISTICS
   ========================================================= */

.resort-mountain-stats {
    margin-top: 2rem;
}

.resort-mountain-stats h2 {
    margin: 0 0 1rem;
    font-size: 1.25rem;
}

.resort-stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

@media (max-width: 420px) {
    .resort-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Resort identity website link */

.resort-website-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: inherit;
    text-decoration: none;
}

.resort-website-link svg {
    flex-shrink: 0;
    color: #aaa;
    transform: scale(1);
    transition: color 0.15s ease, transform 0.15s ease;
}

.resort-website-link:hover svg {
    color: #fff;
    transform: scale(1.25);
}

.resort-website-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

/* Resort contact and location */

.resort-contact {
    margin-top: 2rem;
}

.resort-contact h2 {
    margin: 0 0 1rem;
    font-size: 1.25rem;
}

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

.resort-contact-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    min-width: 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}

.resort-contact-item a {
    color: #fff;
    text-decoration: none;
    line-height: 1.5;
}

.resort-contact-item a:hover {
    text-decoration: underline;
}

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

/* =========================================================
   RESORT CONDITIONS
   ========================================================= */

.resort-conditions-section {
    margin-top: 2rem;
}

.resort-conditions-section h2 {
    margin: 0 0 1rem;
    font-size: 1.25rem;
}

.resort-weather-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resort-forecast-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.resort-forecast-detail {
    color: #bbb;
    font-size: 0.85rem;
}

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

.resort-report-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #aaa;
    font-size: 0.8rem;
}

.resort-report-details a {
    color: #fff;
    text-decoration: none;
}

.resort-report-details a:hover {
    text-decoration: underline;
}

@media (max-width: 700px) {
    .resort-weather-grid,
    .resort-forecast-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .resort-weather-grid,
    .resort-forecast-grid,
    .resort-operations-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   RESORT TRAIL MAP — full-height Mountain panel
   ========================================================= */

.resort-content:has(> .resort-trail-map-panel.active) {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0.75rem 1rem 1.75rem;
    touch-action: auto;
}

.resort-panel.resort-trail-map-panel.active {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
}

.trail-map-viewer {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 10px;
}

.trail-map-viewer > img {
    position: absolute;
    display: block;
    max-width: none;
    max-height: none;
    object-fit: fill;
    transform-origin: top left;
}

/* Fullscreen fits the entire image through the viewer script. */

.trail-map-viewer:fullscreen {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    background: #000;
}

.trail-map-overlay,
.trail-map-fullscreen-button {
    position: absolute;
    z-index: 2;
    color: #fff;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.trail-map-name {
    top: 0.75rem;
    left: 0.75rem;
    max-width: calc(100% - 5.5rem);
    padding: 0.45rem 0.7rem;
    font: 700 11px Arial, Helvetica, sans-serif;
    letter-spacing: 0.04em;
}

.trail-map-attribution {
    left: 0.75rem;
    top: 0.75rem;
    max-width: calc(100% - 5.5rem);
    padding: 0.35rem 0.6rem;
    font: 11px Arial, Helvetica, sans-serif;
}

.trail-map-attribution a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.trail-map-fullscreen-button {
    top: 0.75rem;
    right: 0.75rem;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    padding: 0.35rem;
    cursor: pointer;
}

.trail-map-fullscreen-button svg {
    display: block;
    width: 100%;
    height: 100%;
}

.trail-map-fullscreen-button:hover,
.trail-map-fullscreen-button:focus-visible {
    background: rgba(0, 0, 0, 0.9);
}

.trail-map-fullscreen-button[hidden] {
    display: none;
}

.trail-map-viewer:fullscreen .trail-map-fullscreen-button {
    transform: translateY(-4px);
}

/* Trail-map navigation lives over the image at the lower right. */
.trail-map-controls {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 3;
    display: flex;
    gap: 0.25rem;
    padding: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.65);
}

.trail-map-controls button {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    color: #fff;
    font: 700 20px Arial, Helvetica, sans-serif;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.trail-map-controls button:hover,
.trail-map-controls button:focus-visible {
    background: rgba(255, 255, 255, 0.2);
}

.trail-map-controls button:disabled {
    opacity: 0.35;
    cursor: default;
}

.trail-map-viewer {
    touch-action: none;
    cursor: grab;
}

.trail-map-viewer.trail-map-dragging {
    cursor: grabbing;
}

.trail-map-viewer > img {
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
    will-change: transform;
}

/* =========================================================
   RESORT WEBCAMS
   Main image and thumbnails share the available portal height.
   Layout follows the PORTAL width, not the browser window.
   ========================================================= */

/* Only the webcam tab opts out of regular dashboard scrolling/padding. */
.resort-content:has(> .resort-webcams-panel.active) {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0.75rem 1rem 1.75rem;
    touch-action: auto;
    container-type: inline-size;
}

.resort-panel.resort-webcams-panel.active {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
}

.webcam-viewer {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 0;
    min-width: 0;
}

.webcam-main {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 10px;
    background: #111;
}

.webcam-main img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fullscreen shows every pixel rather than cropping the camera image. */
.webcam-main:fullscreen {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    background: #000;
}

.webcam-main:fullscreen img {
    object-fit: contain;
}

.webcam-main:fullscreen .webcam-fullscreen-button {
    transform: translateY(-4px);
}

.webcam-overlay,
.webcam-fullscreen-button {
    position: absolute;
    z-index: 2;
    color: #fff;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    border-radius: 999px;
}

.webcam-camera-name {
    top: 0.75rem;
    left: 0.75rem;
    max-width: calc(100% - 5.5rem);
    padding: 0.45rem 0.7rem;
    font: 700 11px Arial, Helvetica, sans-serif;
    letter-spacing: 0.04em;
}

.webcam-attribution {
    right: 0.75rem;
    bottom: 0.75rem;
    max-width: calc(100% - 1.5rem);
    padding: 0.35rem 0.6rem;
    font: 11px Arial, Helvetica, sans-serif;
}

.webcam-attribution a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.webcam-fullscreen-button {
    top: 0.75rem;
    right: 0.75rem;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    padding: 0.35rem;
    cursor: pointer;
}

.webcam-fullscreen-button svg {
    width: 100%;
    height: 100%;
}

.webcam-fullscreen-button:hover,
.webcam-fullscreen-button:focus-visible {
    background: rgba(0, 0, 0, 0.9);
}

.webcam-fullscreen-button[hidden] {
    display: none;
}

.webcam-thumbnails {
    display: flex;
    flex: 0 0 auto;
    justify-content: center;
    gap: 0.75rem;
    min-width: 0;
    min-height: 0;
    padding: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior: contain;
    touch-action: pan-x;
}

.webcam-thumbnail {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    width: 120px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    cursor: pointer;
    opacity: 0.65;
    transition: opacity 0.15s ease, border-color 0.15s ease;
}

.webcam-thumbnail:hover {
    opacity: 0.9;
}

.webcam-thumbnail.active {
    border-color: #fff;
    opacity: 1;
}

.webcam-thumbnail:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.webcam-thumbnail img {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.webcam-thumbnail-label {
    display: block;
    padding: 0.4rem 0.3rem;
    font: 700 10px Arial, Helvetica, sans-serif;
    text-align: center;
    line-height: 1.3;
}

/* Wide portal: top-aligned thumbnails scroll vertically as cameras are added. */
@container (min-width: 850px) {
    .webcam-viewer {
        flex-direction: row;
    }

    .webcam-thumbnails {
        flex: 0 0 154px;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        overflow-x: hidden;
        overflow-y: auto;
        touch-action: pan-y;
    }

    .webcam-thumbnail {
        width: 100%;
    }
}

/* Narrow portal: keep thumbnails beneath the main camera. */
@container (max-width: 849px) {
    .webcam-thumbnails {
        justify-content: flex-start;
    }
}

/* =========================================================
   RESORT INFO PANELS — Après and Plan Your Trip
   Scrollable DCA on the left, fixed category controls on right.
   ========================================================= */

.resort-content:has(> .resort-info-panel.active) {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0.75rem 1rem 1.75rem;
    touch-action: auto;
    container-type: inline-size;
}

.resort-panel.resort-info-panel.active {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.resort-info-layout {
    display: flex;
    flex: 1 1 auto;
    gap: 0.75rem;
    min-width: 0;
    min-height: 0;
}

.resort-info-display {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    padding: 1.5rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
}

.resort-info-section[hidden] {
    display: none;
}

.resort-info-section h2 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.resort-info-lede {
    margin: 0 0 1.25rem;
    color: #ddd;
}

.resort-info-placeholder {
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.resort-info-placeholder > span {
    color: #aaa;
    font: 700 10px Arial, Helvetica, sans-serif;
    letter-spacing: 0.1em;
}

.resort-info-placeholder p {
    margin: 0.55rem 0 0;
}

.resort-info-nav {
    display: flex;
    flex: 0 0 154px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.65rem;
    min-height: 0;
    padding: 0.5rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

.resort-info-tab {
    flex: 0 0 auto;
    padding: 0.9rem 0.6rem;
    background: rgba(255, 255, 255, 0.07);
    color: #bbb;
    border: 2px solid transparent;
    border-radius: 8px;
    font: 700 11px Arial, Helvetica, sans-serif;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.resort-info-tab:hover {
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
}

.resort-info-tab.active {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.resort-info-tab:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.sn0w-destination-art span {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    letter-spacing: 0.04em;
}

@container (max-width: 620px) {
    .resort-info-layout {
        flex-direction: column;
    }

    .resort-info-nav {
        order: -1;
        flex: 0 0 auto;
        flex-direction: row;
        gap: 0.5rem;
        overflow-x: auto;
        overflow-y: hidden;
        touch-action: pan-x;
    }

    .resort-info-tab {
        white-space: nowrap;
    }

    .resort-info-display {
        padding: 1rem;
    }
}


/* Formerly inline in includes/resort.php — toolbar, destination cards, events. */

/* Extracted inline block 1 */
/* One continuous toolbar: resort identity, local time + date › navigation. */
.resort-toolbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    min-width: 0;
    padding: .65rem 0 .5rem;
}
.resort-toolbar > .resort-identity {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 35%;
    min-height: 3.25rem;
    padding: .6rem 1.2rem;
    background: rgba(45,45,45,.95);
    border: 1px solid #555;
    border-right: 0;
    border-radius: 32px 0 0 0;
    box-shadow: none;
}
.resort-toolbar > .resort-identity h1 {
    overflow: hidden;
    text-overflow: ellipsis;
}
.sn0w-resort-clock {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 14px;
    min-height: 3.25rem;
    padding: .45rem 1.15rem;
    background: rgba(15,15,15,.85);
    border: 1px solid #555;
    border-left: 0;
    border-right: 0;
    color: inherit;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.sn0w-resort-clock-time { font-size: .86rem; font-weight: 700; }
.sn0w-resort-clock-date { font-size: .78rem; color: #aeb4bb; }
.resort-toolbar > .resort-nav {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 3.25rem;
    margin: 0;
    padding: .4rem .7rem .4rem 1rem;
    border: 1px solid #555;
    border-left: 0;
    border-radius: 0 24px 24px 0;
    justify-content: space-evenly;
}
/* One chevron separates the local clock from the navigation. */
.sn0w-toolbar-nav-chevron {
    flex: 0 0 20px;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    border-top: 1px solid #555;
    border-bottom: 1px solid #555;
    background: rgba(15,15,15,.85);
    color: #87929c;
    font: 400 1.4rem/1 Arial, Helvetica, sans-serif;
    pointer-events: none;
}
.resort-toolbar > .resort-nav { padding-left: .7rem; }
/* When space gets tight, give navigation its own full-width row. */
@media (max-width: 1050px) {
    .resort-toolbar { flex-wrap: wrap; }
    .resort-toolbar > .resort-identity { flex: 1 1 auto; max-width: none; }
    .sn0w-resort-clock {
        border-right: 1px solid #555;
        border-radius: 0 24px 0 0;
    }
    .sn0w-toolbar-nav-chevron { display: none; }
    .resort-toolbar > .resort-nav {
        flex: 0 0 100%;
        margin-top: -1px;
        padding-left: .75rem;
        border-left: 1px solid #555;
        border-radius: 0 0 24px 24px;
        justify-content: flex-start;
    }
}
@media (max-width: 520px) {
    .resort-toolbar > .resort-identity { padding: .5rem .7rem; }
    .resort-toolbar > .resort-identity h1 { font-size: .98rem; }
    .sn0w-resort-clock { gap: 8px; padding: .4rem .6rem; }
    .sn0w-resort-clock-time { font-size: .74rem; }
    .sn0w-resort-clock-date { font-size: .69rem; }
}

/* Extracted inline block 2 */
/* Resort: Plan Your Trip and More destination cards */
.sn0w-destination-actions { display:flex; flex-wrap:wrap; gap:9px; align-items:center; margin-top:4px; }
.resort-panel[data-panel="plan"] a.sn0w-destination-action, .resort-panel[data-panel="more"] a.sn0w-destination-action { display:inline-flex; align-items:center; justify-content:center; width:42px; height:42px; border:1px solid rgba(201,213,223,.65); border-radius:7px; background:#273746; color:#fff !important; text-decoration:none !important; transition:background .15s ease,border-color .15s ease; }
.resort-panel[data-panel="plan"] a.sn0w-destination-action:hover, .resort-panel[data-panel="more"] a.sn0w-destination-action:hover, .resort-panel[data-panel="plan"] a.sn0w-destination-action:focus-visible, .resort-panel[data-panel="more"] a.sn0w-destination-action:focus-visible { background:#405467; border-color:#F7FAFC; }
.resort-panel[data-panel="plan"] .sn0w-destination-action svg, .resort-panel[data-panel="more"] .sn0w-destination-action svg { width:21px; height:21px; }
.resort-panel[data-panel="plan"] .sn0w-destination-list, .resort-panel[data-panel="more"] .sn0w-destination-list { display:grid; gap:14px; margin-top:22px; }
.resort-panel[data-panel="plan"] .sn0w-destination-card, .resort-panel[data-panel="more"] .sn0w-destination-card { display:grid; grid-template-columns: minmax(130px, 29%) minmax(0, 1fr); overflow:hidden; border:1px solid rgba(160,180,196,.28); border-radius:12px; background:rgba(110,125,140,.11); }
.resort-panel[data-panel="plan"] .sn0w-destination-art, .resort-panel[data-panel="more"] .sn0w-destination-art { min-height:158px; position:relative; display:grid; place-items:center; background:#273746; border-right:1px solid rgba(201,213,223,.28); }
.resort-panel[data-panel="plan"] .sn0w-destination-art::after, .resort-panel[data-panel="more"] .sn0w-destination-art::after { content:""; position:absolute; z-index:0; inset:17px; background:#111820; border:1px solid rgba(201,213,223,.65); border-radius:3px; pointer-events:none; }
.resort-panel[data-panel="plan"] .sn0w-destination-art .sn0w-business-monogram, .resort-panel[data-panel="more"] .sn0w-destination-art .sn0w-business-monogram { position:relative; z-index:1; color:#F7FAFC; font-size:clamp(1.7rem,3vw,2.8rem); font-weight:800; letter-spacing:.035em; line-height:1.1; text-align:center; padding:12px; overflow-wrap:anywhere; }
.resort-panel[data-panel="plan"] .sn0w-destination-body, .resort-panel[data-panel="more"] .sn0w-destination-body { min-width:0; padding:19px 22px; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:10px; }
.resort-panel[data-panel="plan"] .sn0w-destination-body h3, .resort-panel[data-panel="more"] .sn0w-destination-body h3 { margin:0; color:inherit; font-size:1.13rem; line-height:1.3; }
.resort-panel[data-panel="plan"] .sn0w-destination-body p, .resort-panel[data-panel="more"] .sn0w-destination-body p { margin:0; color:inherit; opacity:.85; line-height:1.5; font-size:.94rem; }
.resort-panel[data-panel="plan"] a.sn0w-destination-link, .resort-panel[data-panel="more"] a.sn0w-destination-link { display:inline-flex; align-items:center; gap:10px; margin-top:4px; padding:9px 15px; border:1px solid rgba(201,213,223,.65); border-radius:7px; background:#273746; color:#fff !important; font-size:.88rem; font-weight:700; line-height:1.3; text-decoration:none !important; transition:background .15s ease,border-color .15s ease; }
.resort-panel[data-panel="plan"] a.sn0w-destination-link:hover, .resort-panel[data-panel="more"] a.sn0w-destination-link:hover, .resort-panel[data-panel="plan"] a.sn0w-destination-link:focus-visible, .resort-panel[data-panel="more"] a.sn0w-destination-link:focus-visible { background:#405467; border-color:#F7FAFC; }
@media(max-width:640px) { .resort-panel[data-panel="plan"] .sn0w-destination-card, .resort-panel[data-panel="more"] .sn0w-destination-card { grid-template-columns:1fr; } .resort-panel[data-panel="plan"] .sn0w-destination-art, .resort-panel[data-panel="more"] .sn0w-destination-art { min-height:105px; border-right:0; border-bottom:1px solid rgba(160,180,196,.22); } .resort-panel[data-panel="plan"] .sn0w-destination-body, .resort-panel[data-panel="more"] .sn0w-destination-body { padding:16px; } }

/* Plan Your Trip: neutral grey treatment for artwork panels and destination buttons. */
.resort-panel[data-panel="plan"] .sn0w-destination-art {
    background: #4a4d52;
}
.resort-panel[data-panel="plan"] a.sn0w-destination-link {
    background: #62666b;
    border-color: #92969b;
    color: #fff !important;
}
.resort-panel[data-panel="plan"] a.sn0w-destination-link:hover,
.resort-panel[data-panel="plan"] a.sn0w-destination-link:focus-visible {
    background: #797d82;
    border-color: #d5d7da;
}

/* Tickets & Passes only: silver-to-graphite artwork panel and extra-deep charcoal CTA. */
.resort-panel[data-panel="plan"] .sn0w-pass-art {
    background: linear-gradient(135deg, #777a7f 0%, #4a4d52 43%, #24262b 100%);
}
.resort-panel[data-panel="plan"] .sn0w-pass-art + .sn0w-destination-body a.sn0w-destination-link {
    background: #151619;
    border-color: #777b81;
    color: #fff !important;
}
.resort-panel[data-panel="plan"] .sn0w-pass-art + .sn0w-destination-body a.sn0w-destination-link:hover,
.resort-panel[data-panel="plan"] .sn0w-pass-art + .sn0w-destination-body a.sn0w-destination-link:focus-visible {
    background: #2a2d32;
    border-color: #d5d7da;
}

/* Tickets: use the existing Mount Placeholder pass artwork without recoloring. */
.resort-panel[data-panel="plan"] .sn0w-pass-art::after { display: none; }
.resort-panel[data-panel="plan"] .sn0w-pass-art img {
    position: relative;
    z-index: 1;
    display: block;
    width: 80%;
    max-height: 136px;
    object-fit: contain;
}


/* Tickets & Passes: photographic hero fills the existing artwork panel.
   Keep the deep-charcoal CTA defined above. */
.resort-panel[data-panel="plan"] .sn0w-pass-photo {
    overflow: hidden;
    background: #24262b;
}
.resort-panel[data-panel="plan"] .sn0w-pass-photo img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: 30% center;
}

/* Rentals & Lessons: full-bleed photographic heroes, matching Tickets & Passes. */
.resort-panel[data-panel="plan"] .sn0w-plan-photo {
    overflow: hidden;
    background: #24262b;
}
.resort-panel[data-panel="plan"] .sn0w-plan-photo::after { display: none; }
.resort-panel[data-panel="plan"] .sn0w-plan-photo img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: 30% center;
}
.resort-panel[data-panel="plan"] .sn0w-plan-photo + .sn0w-destination-body a.sn0w-destination-link {
    background: #151619;
    border-color: #777b81;
    color: #fff !important;
}
.resort-panel[data-panel="plan"] .sn0w-plan-photo + .sn0w-destination-body a.sn0w-destination-link:hover,
.resort-panel[data-panel="plan"] .sn0w-plan-photo + .sn0w-destination-body a.sn0w-destination-link:focus-visible {
    background: #2a2d32;
    border-color: #d5d7da;
}

/* Keep the sponsored blurb prominent and the address secondary. */
.resort-panel[data-panel="plan"] .sn0w-destination-body p.sn0w-destination-location,
.resort-panel[data-panel="more"] .sn0w-destination-body p.sn0w-destination-location {
    color:#C9D5DF; opacity:.75; font-size:.79rem; line-height:1.4;
}

/* Sponsored photos replace the decorative monogram frame, without changing card layout. */
.resort-panel[data-panel="plan"] .sn0w-destination-photo,
.resort-panel[data-panel="more"] .sn0w-destination-photo { overflow:hidden; }
.resort-panel[data-panel="plan"] .sn0w-destination-photo::after,
.resort-panel[data-panel="more"] .sn0w-destination-photo::after { display:none; }
.resort-panel[data-panel="plan"] .sn0w-destination-photo img,
.resort-panel[data-panel="more"] .sn0w-destination-photo img {
    display:block; width:100%; height:100%; min-height:158px;
    position:absolute; inset:0; object-fit:cover; object-position:left top;
}
@media(max-width:640px) {
    .resort-panel[data-panel="plan"] .sn0w-destination-photo img,
    .resort-panel[data-panel="more"] .sn0w-destination-photo img { min-height:105px; }
}

/* Center the monogram and category as a single vertical stack. */
.resort-panel[data-panel="plan"] .sn0w-business-art-label,
.resort-panel[data-panel="more"] .sn0w-business-art-label {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: calc(100% - 46px);
    min-width: 0;
    text-align: center;
}
.resort-panel[data-panel="plan"] .sn0w-business-art-label .sn0w-business-monogram,
.resort-panel[data-panel="more"] .sn0w-business-art-label .sn0w-business-monogram {
    display: block;
    max-width: 100%;
    padding: 0;
    font-size: clamp(1.5rem, 2.6vw, 2.8rem);
    line-height: 1.05;
    overflow-wrap: normal;
    white-space: nowrap;
}
.resort-panel[data-panel="plan"] .sn0w-business-art-label .sn0w-business-type,
.resort-panel[data-panel="more"] .sn0w-business-art-label .sn0w-business-type {
    display: block;
    max-width: 100%;
    color: #C9D5DF;
    font: 700 10px Arial, Helvetica, sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.35;
    overflow-wrap: normal;
}
/* Sponsored listings: restrained gold accents, not a wholesale palette change. */
.resort-panel[data-panel="plan"] .sn0w-destination-premium,
.resort-panel[data-panel="more"] .sn0w-destination-premium {
    border-color: rgba(198,166,106,.85);
    box-shadow: inset 0 0 0 1px rgba(198,166,106,.12);
}
.resort-panel[data-panel="plan"] .sn0w-destination-premium .sn0w-destination-art,
.resort-panel[data-panel="more"] .sn0w-destination-premium .sn0w-destination-art {
    border-right-color: rgba(198,166,106,.55);
}
.resort-panel[data-panel="plan"] .sn0w-destination-premium .sn0w-destination-art::after,
.resort-panel[data-panel="more"] .sn0w-destination-premium .sn0w-destination-art::after {
    border-color: #C6A66A;
}
.resort-panel[data-panel="plan"] .sn0w-destination-premium .sn0w-business-monogram,
.resort-panel[data-panel="more"] .sn0w-destination-premium .sn0w-business-monogram {
    color: #D9C18B;
}
.resort-panel[data-panel="plan"] .sn0w-destination-premium .sn0w-business-type,
.resort-panel[data-panel="more"] .sn0w-destination-premium .sn0w-business-type {
    color: #D9C18B;
}
.resort-panel[data-panel="plan"] .sn0w-destination-premium .sn0w-sponsored-label,
.resort-panel[data-panel="more"] .sn0w-destination-premium .sn0w-sponsored-label {
    color: #D9C18B;
    opacity: 1;
}
@media(max-width:640px) {
    .resort-panel[data-panel="plan"] .sn0w-destination-premium .sn0w-destination-art,
    .resort-panel[data-panel="more"] .sn0w-destination-premium .sn0w-destination-art {
        border-right-color: transparent;
        border-bottom-color: rgba(198,166,106,.55);
    }
}
/* Premium cards share a desktop minimum height; allow content to grow for accessibility. */
@media (min-width:641px) {
    .resort-panel[data-panel="plan"] .sn0w-destination-premium,
    .resort-panel[data-panel="more"] .sn0w-destination-premium { min-height:220px; }
    .resort-panel[data-panel="plan"] .sn0w-destination-premium .sn0w-destination-body,
    .resort-panel[data-panel="more"] .sn0w-destination-premium .sn0w-destination-body { justify-content:flex-start; }
    .resort-panel[data-panel="plan"] .sn0w-destination-premium .sn0w-destination-actions,
    .resort-panel[data-panel="more"] .sn0w-destination-premium .sn0w-destination-actions { margin-top:auto; }
}

/* Sponsored directory cards; image is optional until a local photo is supplied. */
.resort-panel[data-panel="plan"] .sn0w-sponsored-label,
.resort-panel[data-panel="more"] .sn0w-sponsored-label { font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; font-weight:700; opacity:.8; }
.resort-panel[data-panel="plan"] .sn0w-destination-photo,
.resort-panel[data-panel="more"] .sn0w-destination-photo { overflow:hidden; }
.resort-panel[data-panel="plan"] .sn0w-destination-photo::after,
.resort-panel[data-panel="more"] .sn0w-destination-photo::after { display:none; }
.resort-panel[data-panel="plan"] .sn0w-destination-photo img,
.resort-panel[data-panel="more"] .sn0w-destination-photo img { width:100%; height:100%; position:absolute; inset:0; object-fit:cover; }

/* Extracted inline block 3 */
.sn0w-events { max-width:820px; margin:22px auto; }
.sn0w-events-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; }
.sn0w-events-toolbar h3 { margin:0; text-align:center; }
.sn0w-events-toolbar button { background:#273746; color:#fff; border:1px solid #6c8090; border-radius:7px; font-size:1.5rem; padding:4px 18px; cursor:pointer; }
.sn0w-events-weekdays, .sn0w-events-days { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:5px; }
.sn0w-events-weekdays { text-align:center; font-size:.8rem; opacity:.8; margin-bottom:7px; }
.sn0w-events-days button, .sn0w-events-days .sn0w-events-blank { min-height:66px; border-radius:7px; }
.sn0w-events-days button { background:rgba(110,125,140,.11); border:1px solid rgba(160,180,196,.28); color:inherit; cursor:pointer; position:relative; }
.sn0w-events-days button:hover, .sn0w-events-days button:focus-visible { border-color:#C9D5DF; }
.sn0w-events-days button[aria-pressed="true"] { outline:2px solid #C6A66A; outline-offset:-2px; }
.sn0w-events-days button.has-events::after { content:''; display:block; width:6px; height:6px; margin:6px auto 0; border-radius:50%; background:#C6A66A; }
.sn0w-events-detail { margin-top:20px; padding:14px 0; }
.sn0w-events-detail h4 { margin:0 0 10px; }
.sn0w-events-detail p { margin:0; }
.sn0w-events-detail article { padding:10px 0; border-top:1px solid rgba(160,180,196,.28); }
@media(max-width:640px) { .sn0w-events-days button, .sn0w-events-days .sn0w-events-blank { min-height:43px; } }

/* =========================================================
   PLAN YOUR TRIP — RESORT SERVICE FEATURE CARDS
   Tickets, rentals, and lessons use the same gold-accented,
   taller presentation as sponsored directory cards.
   No PHP class changes required.
   ========================================================= */
.resort-panel[data-panel="plan"] .sn0w-destination-card:has(> .sn0w-pass-photo),
.resort-panel[data-panel="plan"] .sn0w-destination-card:has(> .sn0w-plan-photo) {
    border-color: rgba(198, 166, 106, .85);
    box-shadow: inset 0 0 0 1px rgba(198, 166, 106, .12);
}

.resort-panel[data-panel="plan"] .sn0w-destination-card:has(> .sn0w-pass-photo) > .sn0w-destination-art,
.resort-panel[data-panel="plan"] .sn0w-destination-card:has(> .sn0w-plan-photo) > .sn0w-destination-art {
    border-right-color: rgba(198, 166, 106, .55);
}

@media (min-width: 641px) {
    .resort-panel[data-panel="plan"] .sn0w-destination-card:has(> .sn0w-pass-photo),
    .resort-panel[data-panel="plan"] .sn0w-destination-card:has(> .sn0w-plan-photo) {
        min-height: 220px;
    }

    .resort-panel[data-panel="plan"] .sn0w-destination-card:has(> .sn0w-pass-photo) > .sn0w-destination-body,
    .resort-panel[data-panel="plan"] .sn0w-destination-card:has(> .sn0w-plan-photo) > .sn0w-destination-body {
        justify-content: flex-start;
    }

    .resort-panel[data-panel="plan"] .sn0w-destination-card:has(> .sn0w-pass-photo) a.sn0w-destination-link,
    .resort-panel[data-panel="plan"] .sn0w-destination-card:has(> .sn0w-plan-photo) a.sn0w-destination-link {
        margin-top: auto;
    }
}

@media (max-width: 640px) {
    .resort-panel[data-panel="plan"] .sn0w-destination-card:has(> .sn0w-pass-photo) > .sn0w-destination-art,
    .resort-panel[data-panel="plan"] .sn0w-destination-card:has(> .sn0w-plan-photo) > .sn0w-destination-art {
        border-right-color: transparent;
        border-bottom-color: rgba(198, 166, 106, .55);
    }
}


/* =========================================================
   FULL-WIDTH RESORT NAV — 2026 layout experiment
   Flush to the masthead divider; square corners, edge to edge.
   Only resort pages are affected. Maps retain their own layout.
   ========================================================= */
.snowfinder-map-wrap:has(.snowfinder-resort) {
    top: 6.375rem;
    height: calc(100dvh - 9.875rem);
    padding: 0;
}

.snowfinder-map-wrap:has(.snowfinder-resort) .snowfinder-resort {
    padding: 0;
}

.snowfinder-map-wrap:has(.snowfinder-resort) .resort-toolbar {
    padding: 0;
    width: 100%;
}

.snowfinder-map-wrap:has(.snowfinder-resort) .resort-toolbar > .resort-identity,
.snowfinder-map-wrap:has(.snowfinder-resort) .resort-toolbar > .resort-nav,
.snowfinder-map-wrap:has(.snowfinder-resort) .sn0w-resort-clock {
    border-radius: 0;
}

/* Keep wrapped navigation square on narrower screens, too. */
@media (max-width: 1050px) {
    .snowfinder-map-wrap:has(.snowfinder-resort) .resort-toolbar > .resort-nav,
    .snowfinder-map-wrap:has(.snowfinder-resort) .sn0w-resort-clock {
        border-radius: 0;
    }
}


/* =========================================================
   EDGE-TO-EDGE RESORT TOOLBAR — gold lower rule
   No exterior vertical borders; preserve interior dividers.
   ========================================================= */
.snowfinder-map-wrap:has(.snowfinder-resort) .resort-toolbar {
    box-sizing: border-box;
    border-bottom: 2px solid #c6a66a;
}

.snowfinder-map-wrap:has(.snowfinder-resort) .resort-toolbar > .resort-identity {
    border-left: 0;
    border-bottom: 0;
}

.snowfinder-map-wrap:has(.snowfinder-resort) .resort-toolbar > .resort-nav {
    border-right: 0;
    border-bottom: 0;
}

.snowfinder-map-wrap:has(.snowfinder-resort) .sn0w-resort-clock,
.snowfinder-map-wrap:has(.snowfinder-resort) .sn0w-toolbar-nav-chevron {
    border-bottom: 0;
}

/* Wrapped mobile navigation must not reintroduce a side border. */
@media (max-width: 1050px) {
    .snowfinder-map-wrap:has(.snowfinder-resort) .resort-toolbar > .resort-nav {
        border-left: 0;
    }
}

/* =========================================================
   RESORT SOCIAL LINKS — consolidated from socials.css
   ========================================================= */
/* Social icons: /public/assets/site/socials/ */
.resort-socials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}
.resort-socials__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 6px;
    text-decoration: none;
}
.resort-socials__link:hover { background: rgba(255,255,255,.06); }
.resort-socials__link:focus-visible { outline: 2px solid #d7bc77; outline-offset: 2px; }
.resort-socials__icon { display: block; position: relative; width: 24px; height: 24px; }
.resort-socials__icon img { display: block; width: 24px; height: 24px; position: absolute; inset: 0; }
.resort-socials__hover { opacity: 0; }
.resort-socials__link:hover .resort-socials__default,
.resort-socials__link:focus-visible .resort-socials__default { opacity: 0; }
.resort-socials__link:hover .resort-socials__hover,
.resort-socials__link:focus-visible .resort-socials__hover { opacity: 1; }

/* Third card only appears when the socials include returned links. */
.resort-contact-grid--with-socials {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.resort-contact-socials .resort-socials {
    gap: .25rem;
}
@media (max-width: 1050px) and (min-width: 701px) {
    .resort-contact-grid--with-socials {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .resort-contact-grid--with-socials .resort-contact-socials {
        grid-column: 1 / -1;
    }
}
@media (max-width: 700px) {
    .resort-contact-grid--with-socials {
        grid-template-columns: 1fr;
    }
}
