/* Loads after Rhythm + FYDesigns so the desktop header stays one 90px bar. */

@media (min-width: 1025px) {
    .main-nav .row.aqua-header-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        height: 90px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .main-nav .row.aqua-header-row::before,
    .main-nav .row.aqua-header-row::after {
        display: none !important;
        content: none !important;
    }

    .main-nav,
    .main-nav .full-wrapper,
    .main-nav .full-wrapper > .container {
        height: 90px !important;
        overflow: visible !important;
    }

    .main-nav .aqua-header-row > .aqua-other-nav,
    .main-nav .aqua-header-row > .logo-container,
    .main-nav .aqua-header-row > .side-nav {
        float: none !important;
        position: absolute !important;
        top: 0 !important;
        height: 90px !important;
        margin-top: 0 !important;
        min-height: 0 !important;
    }

    .main-nav .aqua-header-row > .aqua-other-nav {
        left: 15px !important;
        right: 50% !important;
        width: auto !important;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        padding: 0 130px 0 0 !important;
    }

    .main-nav .aqua-header-row > .logo-container {
        left: 50% !important;
        right: auto !important;
        width: 200px !important;
        max-width: 200px !important;
        transform: translateX(-50%);
        z-index: 2;
        overflow: visible;
        padding: 0 !important;
    }

    .main-nav .aqua-header-row > .logo-container .nav-logo-wrap,
    .main-nav .aqua-header-row > .logo-container .logo {
        height: 90px !important;
        overflow: visible !important;
    }

    .main-nav .aqua-header-row > .logo-container .logo img {
        margin-top: 0 !important;
        transform: scale(1.45);
        transform-origin: center top;
    }

    .main-nav .aqua-header-row > .side-nav {
        left: 50% !important;
        right: 15px !important;
        width: auto !important;
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        padding: 0 0 0 130px !important;
    }

    .main-nav:not(.mobile-on) .aqua-other-nav .aqua-header-left {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-end !important;
        height: 90px !important;
        width: auto !important;
        margin: 0 !important;
    }

    .main-nav:not(.mobile-on) .aqua-other-nav .aqua-header-left > li {
        float: none !important;
        display: flex !important;
        align-items: center !important;
        width: auto !important;
        height: 90px !important;
        line-height: 90px !important;
        margin-right: 14px !important;
    }

    .main-nav:not(.mobile-on) .aqua-header-left__weather #block-fyd-fyd-custom-weather,
    .main-nav:not(.mobile-on) .aqua-header-left__weather .weather {
        position: static !important;
        display: flex !important;
        align-items: center !important;
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
        left: auto !important;
        top: auto !important;
    }

    .main-nav:not(.mobile-on) .aqua-header-left__weather .icon,
    .main-nav:not(.mobile-on) .aqua-header-left__weather .icon img {
        position: static !important;
        float: none !important;
        display: block !important;
    }

    .main-nav:not(.mobile-on) .aqua-header-left__weather .weather-text {
        display: block !important;
        margin: 0 0 0 6px !important;
        line-height: 90px !important;
    }

    .main-nav:not(.mobile-on) .aqua-header-left__weather .weather-text p {
        margin: 0 !important;
        line-height: 90px !important;
        color: #fff !important;
    }

    .main-nav:not(.mobile-on) .side-nav .inner-nav.desktop-nav {
        float: none !important;
        position: static !important;
        top: auto !important;
        display: flex !important;
        align-items: center !important;
        height: 90px !important;
        max-width: 100%;
        margin: 0 !important;
    }

    .main-nav:not(.mobile-on) .side-nav .aqua-mobile-nav-shell {
        display: none !important;
    }

    .main-nav:not(.mobile-on) .side-nav .inner-nav.desktop-nav > ul.clearlist {
        display: flex !important;
        flex-wrap: nowrap !important;
        float: none !important;
        align-items: center !important;
        height: 90px !important;
        margin: 0 !important;
        white-space: nowrap;
    }

    .main-nav:not(.mobile-on) .side-nav .tb-megamenu-item.level-1 {
        float: none !important;
        margin-left: 14px !important;
        white-space: nowrap;
    }

    .main-nav:not(.mobile-on) .side-nav .tb-megamenu-item.level-1 > a,
    .main-nav:not(.mobile-on) .side-nav .tb-megamenu-item.level-1 > .mn-has-sub {
        height: auto !important;
        line-height: 1.2 !important;
        white-space: nowrap;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* About Us CSR: space between body copy and floated Guinness (etc.) logos */
.about-us-section--csr .content-body img[style*='float'],
.view-display-id-pc_vb_about_csr .content-body img[style*='float'] {
    margin-bottom: 1.25rem;
    margin-left: 2.5rem;
}

@media (min-width: 768px) {
    .about-us-section--csr .content-body img[style*='float'],
    .view-display-id-pc_vb_about_csr .content-body img[style*='float'] {
        margin-left: 3.5rem;
    }
}

/* Contact Us: map → Join our team → footer with no gaps */
body.page-contact-us .contact-us-page {
    padding-bottom: 0;
    margin-bottom: 0;
}

body.page-contact-us .view-display-id-mc_vb_contact_map .view-content,
body.page-contact-us .view-display-id-mc_vb_contact_map p {
    margin-bottom: 0 !important;
}

body.page-contact-us .contact-us-page + .contact-us-career-band {
    margin-top: 0;
}

body.page-contact-us #footer .aqua-footer__primary {
    margin-top: 0 !important;
}

body.page-contact-us .career-headline.post-prev-text p {
    margin-bottom: 0 !important;
    max-width: none;
}

@media only screen and (max-width: 1024px) {
    body.page-contact-us .career-headline.post-prev-text p {
        font-size: 50px !important;
    }
}

/* Gallery hub + album grids: legacy Rhythm/FYDesigns CSS loads after Vite and breaks thumb sizing */
.gallery-archive__image {
    aspect-ratio: 4 / 3 !important;
    overflow: hidden !important;
    position: relative !important;
}

.gallery-archive__image img,
.content-extras-block__thumb img,
.view-display-id-gallery_eva_page .eva-gallery img,
.view-display-id-gallery_eva_page .content-extras-block__gallery img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    margin-bottom: 0 !important;
}

.content-extras-block__thumb {
    display: block !important;
    aspect-ratio: 4 / 3 !important;
    overflow: hidden !important;
}

.content-extras-block__gallery .content-extras-block__cell {
    margin-bottom: 10px !important;
}

/* Experience body copy matches the Featured Photos intro under the heading (loads after FYDesigns). */
body.front .gallery-featured .gallery-featured__intro,
body.front .gallery-featured .gallery-featured__intro span,
body.front .home-experience .home-experience__intro,
body.front .home-experience .home-experience__intro p,
body.front .home-experience .home-experience__intro span {
    font-size: 18px !important;
    font-family: roboto, arial, sans-serif !important;
    font-weight: 400 !important;
    line-height: 25px !important;
    color: #666 !important;
}

body.front .home-experience .attractions-header-container .home-experience__intro em,
body.front .home-experience .attractions-header-container .home-experience__intro strong em {
    color: #0f5ea1 !important;
}
