/* HEADER CSS START */
.site-header { background: #166b8c; transition: box-shadow .4s ease-in-out, top .3s ease-in-out, background .3s ease-in-out; }
#top .site-header[data-site-header].is-scrolled { background: #166b8c; }
.site-navigation { background: #166b8c; }
.site-navigation a { transition: color .3s ease-in-out, background .3s ease-in-out; }
.site-navigation a[aria-current="page"], .site-navigation .main-navigation a:hover, .site-navigation .secondary-navigation a:hover { color: #d0f1ff; text-decoration: none; }
/* HEADER CSS END */

/* CARDS CSS START */
.nxb-simple-pods__media { overflow: hidden; }
.nxb-simple-pods__image, .nxb-listing__image { transition: transform .4s ease-in-out; }
.nxb-simple-pods__card:has(a):hover .nxb-simple-pods__image, .nxb-simple-pods__card:focus-within .nxb-simple-pods__image, .nxb-listing__card:hover .nxb-listing__image, .nxb-listing__card:focus-within .nxb-listing__image { transform: scale(1.05); }
.nxb-listing__media { overflow: hidden; }
.nxb-simple-pods__card--overlay .nxb-simple-pods__media::after { transition: opacity .4s ease-in-out; }
.nxb-simple-pods__card--overlay:has(a):hover .nxb-simple-pods__media::after, .nxb-simple-pods__card--overlay:focus-within .nxb-simple-pods__media::after { opacity: 1; }
/* CARDS CSS END */

/* GALLERY CSS START */
.gallery-lightbox-open { overflow: hidden; }
.nxb-gallery__lightbox { position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: 100dvh; margin: 0; overflow-x: hidden; overflow-y: auto; }
.nxb-gallery__lightbox[open] { animation: nxb-fade-in .15s linear; }
.nxb-gallery__lightbox::backdrop { background: rgba(0,0,0,.75); }
.nxb-gallery__lightbox-panel { display: flex; justify-content: center; align-items: center; }
.nxb-gallery__lightbox-figure { position: relative; display: block; width: 100%; height: auto; max-height: none; aspect-ratio: 16 / 9; }
.nxb-gallery__lightbox-image { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: 100%; max-height: 100%; }
.nxb-gallery__lightbox-image.is-changing { animation: nxb-fade-in .6s ease-in-out; }
.nxb-gallery__lightbox-image.is-leaving { pointer-events: none; animation: nxb-fade-out .6s ease-in-out; }
.nxb-gallery__lightbox-caption { position: absolute; bottom: 0; padding: 10px; background: rgba(0,0,0,.5); }
.nxb-gallery__lightbox-close { top: 0; right: 0; width: 50px; height: 50px; border: 0; border-radius: 0; background: transparent; font-size: 30px; }
.nxb-gallery__lightbox-arrow { position: absolute; z-index: 1; top: calc(50% - 20px); width: 40px; height: 40px; border: 0; border-radius: 0; background: #fff; color: #81bdd6; opacity: .5; transition: opacity .3s ease-in-out; }
.nxb-gallery__lightbox-arrow:hover, .nxb-gallery__lightbox-arrow:focus-visible { opacity: 1; }
.nxb-gallery__lightbox-arrow--previous { left: 0; }
.nxb-gallery__lightbox-arrow--next { right: 0; }
.nxb-gallery__lightbox-position { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* GALLERY CSS END */

/* FOOTER CSS START */
.site-main::after { content: ""; display: block; height: 120px; background: #fff; }
.footer-social img { width: 50px; height: 50px; }
/* FOOTER CSS END */

/* COOKIES CSS START */
.cookie-consent { font: 400 15px/1.65 "Bricolage Grotesque", sans-serif; color: #4a4a4a; }
.cookie-consent-open { scrollbar-gutter: stable; }
.cookie-consent__banner { left: 16px; right: 16px; bottom: 16px; width: auto; max-width: 760px; margin: 0 auto; padding: 16px; border: 0; border-radius: 12px; background: #fff; color: #4a4a4a; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.cookie-consent__banner .cookie-consent__banner-heading { margin: 0 0 6px; color: #166b8c; font: 400 18px/1.2 trajan-pro-3,Georgia,serif; }
.cookie-consent__banner .cookie-consent__banner-text { margin: 0 0 12px; color: inherit; font-size: 14px; line-height: 1.45; }
.cookie-consent__banner-actions { gap: 10px; margin: 0; }
.cookie-consent__banner .cookie-consent__button, .cookie-consent__banner .cookie-consent__button:hover, .cookie-consent__banner .cookie-consent__button:focus-visible { min-height: 0; padding: 9px 12px; border: 1px solid rgba(0,0,0,.25); border-radius: 8px; background: #fff; color: #000; font: 400 15px/1 "Bricolage Grotesque",sans-serif; }
.cookie-consent__banner .cookie-consent__button--strong { border-color: rgba(0,0,0,.35); font-weight: 700; }
.cookie-consent__banner-links { gap: 8px; margin: 10px 0 0; font-size: 13px; line-height: 24.75px; }
.cookie-consent__banner .cookie-consent__banner-links a, .cookie-consent__banner .cookie-consent__banner-links button { color: #81bdd6; font-weight: 400; text-decoration: none; }
.cookie-consent__banner-links span { color: #4a4a4a; }
.cookie-consent__floating { position: fixed; z-index: 1100; left: 16px; bottom: 16px; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: #166b8c; color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.cookie-consent__floating svg { width: 28px; height: 28px; }
.cookie-consent__floating:hover { background: #004058; }
.cookie-consent__floating:focus-visible { outline: 3px solid #e3b865; outline-offset: 3px; }
.cookie-consent__backdrop { background: rgba(0,0,0,.45); backdrop-filter: none; }
.cookie-consent__dialog { width: min(860px, 100%); padding: 18px; border: 0; border-radius: 12px; background: #fff; color: #4a4a4a; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.cookie-consent__dialog-header { display: flex; justify-content: space-between; gap: 12px; }
.cookie-consent__dialog-heading { margin: 0; color: #166b8c; font: 400 22px/1.2 trajan-pro-3, Georgia, serif; }
.cookie-consent__dialog-introduction { margin: 8px 0 0; color: inherit; line-height: 1.45; }
.cookie-consent__dialog .cookie-consent__button { min-height: 0; padding: 9px 12px; border: 1px solid rgba(0,0,0,.25); border-radius: 8px; background: #fff; color: #000; font: 400 15px/1 "Bricolage Grotesque",sans-serif; }
.cookie-consent__dialog .cookie-consent__button:hover { background: #f3f3f3; }
.cookie-consent__dialog .cookie-consent__close { padding: 8px 10px; }
.cookie-consent__dialog .cookie-consent__save { border-color: rgba(0,0,0,.35); font-weight: 700; }
.cookie-consent__option { margin: 0; padding: 10px 0; border-top: 0; border-bottom: 1px solid rgba(0,0,0,.12); }
.cookie-consent__dialog-header + .cookie-consent__option { margin-top: 14px; border-top: 1px solid rgba(0,0,0,.12); }
.cookie-consent__option-heading { gap: 12px; }
.cookie-consent__option h3 { color: inherit; font: 700 16px/24.75px "Bricolage Grotesque",sans-serif; }
.cookie-consent__always-active { color: #2f7d2f; font-size: 14px; line-height: 24.75px; letter-spacing: .75px; text-transform: none; }
.cookie-consent__option p { margin: 10px 0 0; padding-right: 70px; color: inherit; font-size: 14px; line-height: 21px; }
.cookie-consent__toggle { margin-bottom: 5px; }
.cookie-consent__toggle-track { background: #ccc; }
.cookie-consent__toggle input:checked + .cookie-consent__toggle-track { background: #166b8c; }
.cookie-consent__dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 16px; padding: 0; border: 0; }
.cookie-consent__dialog-policy { margin-left: auto; color: #81bdd6; font-size: 13px; line-height: 24.75px; font-weight: 400; text-decoration: none; }
/* COOKIES CSS END */

/* ANIMATION CSS START */
.site-main { overflow-x: clip; }
.nxb-reveal-pending { opacity: 0; }
.nxb-reveal-visible { animation-duration: 1.2s; animation-fill-mode: both; }
.nxb-reveal-visible.nxb-reveal-hero { animation-duration: 1s; }
.nxb-reveal-visible[data-reveal="fadeIn"] { animation-name: nxb-fade-in; }
.nxb-reveal-visible[data-reveal="fadeInUp"] { animation-name: nxb-fade-in-up; }
.nxb-reveal-visible[data-reveal="fadeInDown"] { animation-name: nxb-fade-in-down; }
.nxb-reveal-visible[data-reveal="fadeInLeft"] { animation-name: nxb-fade-in-left; }
.nxb-reveal-visible[data-reveal="fadeInRight"] { animation-name: nxb-fade-in-right; }
[data-reveal-delay="0.1"] { animation-delay: .1s; }
[data-reveal-delay="0.2"] { animation-delay: .2s; }
[data-reveal-delay="0.3"] { animation-delay: .3s; }
[data-reveal-delay="0.4"] { animation-delay: .4s; }
[data-reveal-delay="0.5"] { animation-delay: .5s; }
[data-reveal-delay="0.6"] { animation-delay: .6s; }
@keyframes nxb-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes nxb-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes nxb-fade-in-up { from { opacity: 0; translate: 0 100%; } to { opacity: 1; translate: 0 0; } }
@keyframes nxb-fade-in-down { from { opacity: 0; translate: 0 -100%; } to { opacity: 1; translate: 0 0; } }
@keyframes nxb-fade-in-left { from { opacity: 0; translate: -100% 0; } to { opacity: 1; translate: 0 0; } }
@keyframes nxb-fade-in-right { from { opacity: 0; translate: 100% 0; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .nxb-reveal-pending { opacity: 1; } .nxb-reveal-visible { animation: none; } }
/* ANIMATION CSS END */

@media (min-width: 1299px) {
    /* HEADER CSS START */
    .site-navigation .main-navigation { left: max(0px, calc((100% - 1800px)/2)); gap: 0; }
    .site-navigation .main-navigation > li > a { height: 120px; padding: 0 15px; line-height: 120px; }
    .site-navigation .secondary-navigation { right: calc(202px + max(0px, (100% - 1800px)/2)); gap: 0; }
    .site-navigation .secondary-navigation a { height: 120px; padding: 0 10px; line-height: 120px; }
    .header-ctas { right: calc(15px + max(0px, (100% - 1800px)/2)); top: 50%; transform: translateY(-50%); }
    .site-logo { transform: translateY(-1px); }
    .typography-editorial .site-logo { width: 376.25px; height: 116px; transform: translateY(-2px); }
    .typography-editorial .site-navigation .secondary-navigation { right: calc(213.75px + max(0px, (100% - 1800px)/2)); }
    /* HEADER CSS END */
    /* GALLERY CSS START */
    .nxb-gallery__lightbox-figure { width: min(1700px, calc(100% - 100px)); }
    /* GALLERY CSS END */
    /* FORMS CSS START */
    .nxb-contact-form__field input { height: 50px; }
    /* FORMS CSS END */
}

@media (min-width: 1200px) {
    /* HEADER CSS START */
    .typography-editorial .site-navigation a { font-size: 15px; }
    .typography-editorial .header-ctas a { letter-spacing: 1px; }
    /* HEADER CSS END */
    /* FORMS CSS START */
    .nxb-contact-form__inner { width: 100%; }
    /* FORMS CSS END */
    /* CATEGORIES CSS START */
    .page-type-category .page-heading { padding-bottom: 30px; }
    /* CATEGORIES CSS END */
}

/* HOME TYPOGRAPHY CSS START */
/* Home-page typography verified against the live site at all five breakpoints. */
body.page-type-home {
    --home-banner-font-size: 60px;
    --home-section-font-size: 32px;
    --home-card-font-size: 24px;
    --home-news-font-size: 28px;
    --home-button-font-size: 14px;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 15px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.65;
    letter-spacing: .75px;
}
.page-type-home .nxb-banner__title {
    font-family: trajan-pro-3, serif;
    font-size: var(--home-banner-font-size);
    font-weight: 600;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: .1px;
    text-transform: none;
}
.page-type-home #site-content .nxb-text-block__heading,
.page-type-home #site-content .component-heading h3 {
    font-family: trajan-pro-3, serif;
    font-size: var(--home-section-font-size);
    font-weight: 400;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
}
.page-type-home .nxb-banner__subtitle,
.page-type-home #site-content .nxb-text-block__secondary-heading,
.page-type-home #site-content .eyebrow {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 14px;
    font-weight: 600;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: 3.5px;
    text-transform: uppercase;
}
.page-type-home .nxb-banner__subtitle { font-size: 18px; }
.page-type-home .nxb-simple-pods__heading,
.page-type-home .site-footer__content .nxb-text-block__heading {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: var(--home-card-font-size);
    font-weight: 600;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
}
.page-type-home #site-content .nxb-listing > .component-heading h2,
.page-type-home #site-content .nxb-listing__body h2 {
    font-family: trajan-pro-3, serif;
    font-size: var(--home-news-font-size);
    font-weight: 600;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
}
.page-type-home #site-content .nxb-text-block__button,
.page-type-home #site-content .nxb-simple-pods__link,
.page-type-home #site-content .nxb-banner__button {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: var(--home-button-font-size);
    font-weight: 600;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: .5px;
    text-transform: none;
}




/* HOME TYPOGRAPHY CSS END */

/* PAGE TITLES CSS START */
h1.nxb-banner__title,
h1.page-heading,
.nxb-heading-size-h1 .nxb-text-block__heading { letter-spacing: .1px; }
/* PAGE TITLES CSS END */

/* FORMS TYPOGRAPHY CSS START */
.nxb-contact-form__field input,
.nxb-contact-form__field textarea { letter-spacing: .75px; }

/* FORMS TYPOGRAPHY CSS END */

/* SKIP LINK CSS START */
.skip-link {
    position: fixed;
    top: 0;
    left: 50%;
    right: auto;
    z-index: 10000;
    width: max-content;
    max-width: calc(100% - 30px);
    height: auto;
    padding: 10px;
    background: #fff;
    color: #81bdd6;
    font: 400 15px/1.65 "Bricolage Grotesque", sans-serif;
    letter-spacing: .75px;
    text-align: center;
    text-decoration: underline;
    transform: translate(-50%, -100%);
}
.skip-link:focus {
    top: 10px;
    color: #166b8c;
    transform: translate(-50%, 0);
}
.skip-link:focus-visible { outline: 3px solid #166b8c; outline-offset: 3px; }
/* SKIP LINK CSS END */


/* CAROUSEL CONTROLS CSS START */
.nxb-listing .carousel-pause { display: grid; place-items: center; }
.nxb-listing .carousel-pause::before {
    content: "";
    display: block;
    box-sizing: border-box;
    width: 10px;
    height: 12px;
    border: 0;
    border-left: 3px solid currentColor;
    border-right: 3px solid currentColor;
}
.nxb-listing .carousel-pause[data-paused="true"]::before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 9px;
    border-color: transparent transparent transparent currentColor;
    transform: translateX(1px);
}
/* CAROUSEL CONTROLS CSS END */

