﻿/* -------------------- GÉNÉRAL -------------------- */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    scroll-behavior: smooth;
    font-family: 'Georgia', serif;
    background:
        radial-gradient(circle at top left, rgba(214, 179, 120, 0.22), transparent 24%),
        linear-gradient(180deg, #f6f1e6 0%, #f2eadb 50%, #f8f5ef 100%);
    color: white;
}

/* -------------------- VIDÉO & SECTIONS -------------------- */
.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.video-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* -------------------- OVERLAY (TEXTE PAR DESSUS LA VIDÉO) -------------------- */
.overlay {
    position: absolute;
    top: 20px;
    left: 150px;
    z-index: 2;
    background: url('/img/old-paper-texture.png') center/cover no-repeat;
    background-color: rgba(255, 255, 240, 0.85);
    border: 1px solid #d0bfa3;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    padding: 40px;
    max-width: 700px;
    border-radius: 10px;
    color: #2c2c2c;
    line-height: 1.6;
}

    .overlay h1 {
        font-size: 2em;
        margin-bottom: 10px;
        font-family: 'Garamond', 'Georgia', serif;
        text-align: center;
        color: #4a3f2f;
    }

    .overlay p {
        font-size: 1.1em;
        text-align: justify;
        text-indent: 2em;
    }

    /* Variante accueil */
    .overlay.welcome {
        background: rgba(255, 255, 255, 0.8);
        max-width: 800px;
        margin: 60px auto;
        text-align: center;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

        .overlay.welcome h1 {
            font-size: 2.5em;
            color: #2c3e50;
        }

        .overlay.welcome p {
            font-size: 1.2em;
            line-height: 1.6;
            color: #34495e;
        }

/* -------------------- ICÔNES FIXES DROITE -------------------- */
.icon-container {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(255,255,255,0.85);
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 0 6px rgba(0,0,0,0.15);
    z-index: 20;
}

.icon {
    width: 40px;
    height: 40px;
    opacity: 0.8;
    cursor: pointer;
    transition: transform 0.3s, opacity 0.3s;
}

    .icon:hover {
        transform: scale(1.2);
        opacity: 1;
    }

/* -------------------- QUICK NAVIGATION -------------------- */
.quick-nav {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.nav-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2c3e50;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

    .nav-btn:hover {
        background-color: #1abc9c;
        color: #fff;
    }

/* -------------------- INFO-BOXES (hebergements, resto...) -------------------- */
.info-box {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 15px;
    margin-top: 20px;
    border-radius: 10px;
    max-width: 600px;
    transition: transform 0.3s ease-in-out;
}

    .info-box:hover {
        transform: scale(1.05);
    }

    .info-box h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .info-box ul {
        list-style: none;
        padding-left: 0;
    }

        .info-box ul li {
            margin-bottom: 5px;
        }

/* -------------------- CARTE / MODAL -------------------- */
.map-toggle-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(30, 30, 30, 0.85);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 10px 18px;
    font-size: 16px;
    cursor: pointer;
    z-index: 9999;
    transition: background 0.3s ease;
}

    .map-toggle-btn:hover {
        background: rgba(255, 255, 255, 0.95);
        color: #000;
    }

.modal {
    display: none;
    position: fixed;
    z-index: 9998;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
}

.modal-content {
    background-color: #fff;
    margin: 4% auto;
    border: 1px solid #888;
    width: 85%;
    max-width: 900px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.modal .close {
    position: absolute;
    top: 8px;
    right: 16px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    z-index: 2;
}

#map {
    height: 100%;
    width: 100%;
    z-index: 1;
}

/* -------------------- TIMELINE NAV (desktop et mobile) -------------------- */
.timeline-nav {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .timeline-nav ul {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .timeline-nav li a {
        display: flex;
        align-items: center;
        gap: 8px;
        background: rgba(255,255,255,0.85);
        padding: 8px 10px;
        border-radius: 20px;
        text-decoration: none;
        color: #2c3e50;
        font-weight: 600;
        box-shadow: 0 0 6px rgba(0,0,0,0.15);
    }

        .timeline-nav li a img {
            width: 20px;
            height: 20px;
        }

        .timeline-nav li a span {
            white-space: nowrap;
            font-size: 14px;
        }

/* MOBILE - Menu burger + timeline */
@media (max-width: 768px) {
    .timeline-nav {
        display: none;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.95);
        width: 100%;
        height: calc(100vh - 60px);
        padding: 20px;
        flex-direction: column;
        gap: 10px;
        overflow-y: auto;
    }

        .timeline-nav.open {
            display: flex;
        }

    .mobile-header {
        display: flex;
        position: fixed;
        top: 0;
        height: 60px;
        width: 100%;
        background-color: #1abc9c;
        color: white;
        padding: 10px 16px;
        align-items: center;
        justify-content: space-between;
        z-index: 1100;
    }

    .burger {
        font-size: 24px;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
    }

    .mobile-title {
        font-weight: bold;
    }

    .quick-nav {
        flex-direction: column;
        align-items: center;
    }

    .nav-btn {
        width: 90%;
        text-align: center;
    }

    .info-box {
        max-width: 100%;
    }

    .home-logo-carousel {
        height: 68px;
    }

    .home-logo-carousel-track {
        gap: 20px;
        animation-duration: 28s;
    }

    .home-logo-carousel-item img {
        height: 36px;
        max-width: 120px;
    }
}


.timeline-item-with-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.timeline-main-link {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

    .timeline-main-link span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.timeline-kayak-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1c5d7a 0%, #2f86a6 100%);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 8px 20px rgba(20, 59, 79, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

    .timeline-kayak-btn:hover {
        color: #fff;
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: 0 12px 24px rgba(20, 59, 79, 0.35);
        filter: brightness(1.05);
    }

    .timeline-kayak-btn img {
        width: 18px;
        height: 18px;
        object-fit: contain;
        filter: brightness(0) invert(1);
    }

    .timeline-kayak-btn span {
        font-size: 0.9rem;
        font-weight: 600;
        letter-spacing: 0.02em;
    }

.home-logo-carousel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    height: 78px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: rgba(255, 251, 245, 0.93);
    border-top: 1px solid rgba(23, 52, 77, 0.15);
    box-shadow: 0 -12px 26px rgba(18, 44, 65, 0.2);
    backdrop-filter: blur(8px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.home-logo-carousel-track {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    min-width: max-content;
    padding: 0 16px;
    will-change: transform;
}

.home-logo-carousel-item {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-logo-carousel-item img {
    height: 44px;
    max-width: 150px;
    object-fit: contain;
    filter: saturate(1.02) contrast(1.03);
}

.home-logo-carousel-item a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-logo-carousel.is-finished {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
}
html, body {
    min-height: 100%;
}

body {
    background: radial-gradient(circle at top left, rgba(255,255,255,.35), transparent 20%), linear-gradient(180deg, #f6efe3 0%, #efe4d2 100%);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding-top: var(--top-bar-offset, 86px);
}

.auth-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.auth-links .nav-link {
    border-radius: 999px;
    padding: 8px 14px !important;
    font-weight: 600;
}

.auth-links .nav-link:hover {
    background: rgba(255,255,255,0.75);
    text-decoration: none;
}

.site-main-nav-wrap {
    position: sticky;
    top: 0;
    z-index: 3000;
    background: #fffaf2;
    border-bottom: 1px solid rgba(23, 52, 77, 0.08);
}

.site-main-nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: thin;
}

.site-main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 4px 10px;
    border-radius: 999px;
    text-decoration: none;
    color: #17344d;
    font-weight: 600;
    font-size: .9rem;
    background: transparent;
    transition: all .2s ease;
    white-space: nowrap;
}

.site-main-nav a:hover {
    background: rgba(255,255,255,0.78);
    color: #17344d;
    text-decoration: none;
}

.site-main-auth {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 12px;
    border-left: 1px solid rgba(23, 52, 77, 0.14);
    position: relative;
}

.site-main-auth .auth-links {
    list-style: none;
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 260px;
    max-width: min(360px, calc(100vw - 14px));
    width: max-content;
    background: rgba(255, 252, 247, 0.98);
    border: 1px solid rgba(23, 52, 77, 0.14);
    border-radius: 12px;
    box-shadow: 0 14px 28px rgba(18, 44, 65, 0.2);
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    white-space: normal;
    z-index: 3100;
}

.site-main-auth .auth-links .nav-item {
    margin: 0;
    width: 100%;
}

.top-auth-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(23, 52, 77, 0.18);
    background: rgba(255, 255, 255, 0.72);
    color: #17344d;
    font-weight: 700;
    font-size: .86rem;
    cursor: pointer;
    white-space: nowrap;
}

.top-auth-toggle:hover,
.top-auth-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.95);
}

.site-main-auth.is-open .auth-links {
    display: flex;
}

.site-main-auth .auth-links .nav-link,
.site-main-auth .auth-links .btn-link.nav-link {
    width: 100%;
    justify-content: flex-start;
}

#top-bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3000;
    width: 100%;
    padding: 8px 12px;
    border-radius: 0;
    background: rgba(255, 252, 247, 0.95);
    border: none;
    border-bottom: 1px solid rgba(23, 52, 77, 0.13);
    box-shadow: 0 16px 30px rgba(18, 44, 65, 0.17);
    backdrop-filter: blur(10px);
}

.footer {
    background: transparent;
}

#language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 10px;
    border-right: 1px solid rgba(23, 52, 77, 0.12);
}

    #language-selector button {
        border: none;
        background: #fff;
        border-radius: 999px;
        padding: 7px 11px;
        font-size: 1rem;
        cursor: pointer;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
        transition: transform .2s ease, background .2s ease;
    }

        #language-selector button:hover {
            transform: translateY(-1px);
            background: #fffdf8;
        }

        #language-selector button.is-active {
            background: #17344d;
            color: #fff;
            box-shadow: 0 6px 14px rgba(23, 52, 77, 0.28);
        }

#quick-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.quick-nav-search {
    position: relative;
    flex: 0 0 auto;
    min-width: 250px;
    max-width: 340px;
}

.quick-nav-search-input {
    width: 100%;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(23, 52, 77, 0.2);
    background: rgba(255, 255, 255, 0.9);
    color: #17344d;
    padding: 0 12px;
    font-size: .88rem;
    outline: none;
}

.quick-nav-search-input:focus {
    border-color: rgba(23, 52, 77, 0.4);
    box-shadow: 0 0 0 3px rgba(23, 52, 77, 0.12);
}

.quick-nav-search-results {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(440px, 80vw);
    max-height: 62vh;
    overflow-y: auto;
    border-radius: 16px;
    border: 1px solid rgba(23, 52, 77, 0.14);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 34px rgba(23, 52, 77, 0.18);
    padding: 8px;
    z-index: 3200;
}

.quick-nav-search-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 9px 10px;
    border-radius: 10px;
    text-decoration: none;
    color: #1e2b36;
}

.quick-nav-search-item:hover,
.quick-nav-search-item:focus-visible {
    background: rgba(23, 52, 77, 0.08);
    text-decoration: none;
}

.quick-nav-search-item strong {
    color: #102f43;
    font-size: .92rem;
    line-height: 1.25;
}

.quick-nav-search-item small {
    color: #5f6f7b;
    font-size: .79rem;
    line-height: 1.25;
}

.quick-nav-search-section {
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .68rem;
    color: #8a6a3d;
    font-weight: 700;
}

.quick-nav-search-empty {
    padding: 10px 12px;
    color: #6b7780;
    font-size: .86rem;
}

.quick-nav-facebook,
.quick-nav-facebook:visited {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #1877f2 !important;
    color: #fff !important;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(24, 119, 242, 0.28);
}

.quick-nav-facebook svg {
    width: 20px;
    height: 20px;
    fill: #fff;
    display: block;
}

.quick-nav-facebook svg path {
    fill: #fff !important;
}

.quick-nav-network {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #17344d;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(23, 52, 77, 0.28);
}

.quick-nav-network svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    display: block;
}

.quick-nav-facebook:hover,
.quick-nav-facebook:focus-visible {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(24, 119, 242, 0.35);
}

.quick-nav-network:hover,
.quick-nav-network:focus-visible {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(23, 52, 77, 0.35);
}

.quick-nav-external-links {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 2px;
}

.quick-nav-external-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    text-decoration: none;
    font-size: .7rem;
    letter-spacing: .04em;
    font-weight: 700;
    color: #17344d;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(23, 52, 77, 0.2);
    transition: all .2s ease;
}

.quick-nav-external-pill:hover,
.quick-nav-external-pill:focus-visible {
    color: #17344d;
    background: #fff;
    border-color: rgba(23, 52, 77, 0.35);
    transform: translateY(-1px);
    text-decoration: none;
}

.quick-nav-brand {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 0 10px 0 0;
    min-width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(23, 52, 77, 0.18);
    box-shadow: 0 6px 14px rgba(23, 52, 77, 0.14);
    text-decoration: none;
}

.quick-nav-brand img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    flex: 0 0 auto;
}

.quick-nav-brand-text {
    font-size: .82rem;
    font-weight: 700;
    color: #17344d;
    white-space: nowrap;
    line-height: 1;
}

.quick-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.quick-nav-links::-webkit-scrollbar {
    display: none;
}

.quick-nav-links > a,
.site-main-auth .auth-links .nav-link,
.site-main-auth .auth-links .btn-link.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 5px 12px !important;
    border-radius: 999px;
    text-decoration: none;
    color: #17344d !important;
    font-weight: 600;
    font-size: .88rem;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid transparent;
    transition: all .2s ease;
    white-space: nowrap;
}

.site-main-auth .auth-links .btn-link.nav-link {
    border: none;
    cursor: pointer;
}

.quick-nav-links > a.quick-nav-admin-link {
    background: #17344d;
    color: #fff !important;
    border-color: #17344d;
    font-weight: 700;
}

.quick-nav-links > a:hover,
.quick-nav-links > a:focus-visible,
.site-main-auth .auth-links .nav-link:hover,
.site-main-auth .auth-links .nav-link:focus-visible {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(23, 52, 77, 0.2);
    color: #17344d;
    text-decoration: none;
}

.quick-nav-links > a.quick-nav-admin-link:hover,
.quick-nav-links > a.quick-nav-admin-link:focus-visible {
    background: #0f2738;
    border-color: #0f2738;
    color: #fff !important;
}

.site-main-auth .auth-links .nav-link,
.site-main-auth .auth-links .btn-link.nav-link {
    width: 100%;
    justify-content: flex-start;
}

@media (max-width: 1200px) {
    #top-bar {
        top: 0;
        left: 0;
        padding: 8px 10px;
        border-radius: 0;
        width: 100%;
        overflow: visible;
    }

    #quick-nav {
        gap: 10px;
        align-items: flex-start;
    }

    .quick-nav-search {
        min-width: 200px;
        max-width: 250px;
    }

    .quick-nav-search-results {
        width: min(360px, calc(100vw - 22px));
        right: -2px;
    }

    .quick-nav-facebook {
        width: 36px;
        height: 36px;
    }

    .quick-nav-network {
        width: 36px;
        height: 36px;
    }

    .quick-nav-external-links {
        gap: 4px;
        overflow-x: auto;
        max-width: min(220px, 40vw);
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .quick-nav-external-links::-webkit-scrollbar {
        display: none;
    }

    .quick-nav-external-pill {
        min-width: 38px;
        height: 28px;
        padding: 0 8px;
        font-size: .64rem;
    }

    .quick-nav-brand {
        padding-right: 8px;
        height: 40px;
        border-radius: 10px;
    }
    .quick-nav-brand img {
        width: 40px;
        height: 40px;
    }
    .quick-nav-brand-text {
        font-size: .74rem;
    }

    .quick-nav-links {
        flex: 1 1 auto;
    }

    .quick-nav-links::-webkit-scrollbar {
        display: none;
    }

    .top-auth-toggle { flex: 0 0 auto; }

    .site-main-auth {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
    }

    .site-main-auth .auth-links { max-width: min(340px, calc(100vw - 14px)); }
}

@media (max-width: 768px) {
    #top-bar {
        padding: 6px 8px;
    }

    #quick-nav {
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
    }

    .quick-nav-brand {
        order: 1;
        flex: 0 0 auto;
        height: 36px;
        padding-right: 6px;
    }

    .quick-nav-brand img {
        width: 36px;
        height: 36px;
    }

    .quick-nav-brand-text {
        font-size: .7rem;
        max-width: 128px;
        white-space: normal;
        line-height: 1.05;
    }

    .quick-nav-search {
        order: 2;
        flex: 1 1 calc(100% - 44px);
        min-width: 0;
        max-width: none;
    }

    .quick-nav-search-input {
        height: 34px;
        font-size: .82rem;
    }

    .quick-nav-links {
        order: 3;
        flex: 1 1 100%;
        gap: 6px;
        padding-bottom: 2px;
    }

    .quick-nav-links > a {
        min-height: 30px;
        padding: 4px 10px !important;
        font-size: .78rem;
    }

    #language-selector {
        order: 4;
        gap: 4px;
        padding-right: 6px;
    }

    #language-selector button {
        padding: 5px 8px;
        font-size: .78rem;
    }

    .site-main-auth {
        order: 5;
    }

    .top-auth-toggle {
        min-height: 30px;
        padding: 4px 10px;
        font-size: .78rem;
    }

    .quick-nav-facebook {
        order: 6;
        width: 34px;
        height: 34px;
    }

    .video-section {
        align-items: flex-start;
        padding-top: 86px;
    }

    .overlay {
        top: 86px;
        left: 12px;
        right: 12px;
        width: auto;
        max-width: none;
        max-height: 56vh;
        overflow-y: auto;
        padding: 14px;
        border-radius: 12px;
        line-height: 1.45;
    }

    .overlay h1 {
        font-size: 1.2rem;
        margin-bottom: 8px;
        text-align: left;
    }

    .overlay p {
        font-size: .95rem;
        text-align: left;
        text-indent: 0;
        margin: 0;
    }

    .overlay.welcome {
        top: 96px;
        margin: 0;
    }

    .overlay.welcome h1 {
        font-size: 1.45rem;
        text-align: center;
    }

    .overlay.welcome p {
        font-size: .98rem;
        text-align: center;
    }

    .icon-container {
        top: auto;
        right: auto;
        left: 50%;
        bottom: 12px;
        transform: translateX(-50%);
        flex-direction: row;
        gap: 8px;
        width: calc(100vw - 24px);
        max-width: 420px;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        justify-content: flex-start;
        padding: 8px;
    }

    .icon {
        width: 34px;
        height: 34px;
        flex: 0 0 auto;
    }
}
