:root {
    --content-padding: 0px;
    --hendre-brand: #5278a2;
    --hendre-brand-dark: #385474;
    --hendre-cream: #f6f2ed;
    --header-background: #5a78a3;
    --nav-text: #fff;
    --nav-active: #fff;
    --nav-hover: #f6f2ed;
    --nav-arrow: #fff;
    --nav-arrow-hover: #f6f2ed;
    --dropdown-background: #5a78a3;
    --dropdown-text: #fff;
    --dropdown-hover-background: #385474;
    --dropdown-hover-text: #fff;
    --contact-background: #fff;
    --contact-text: #5278a2;
    --contact-hover-background: #385474;
    --contact-hover-text: #fff;
    --header-font-family: "Alegreya Sans", sans-serif;
    --nav-font-size: 16px;
    --nav-gap: clamp(.8rem, 1.5vw, 1.6rem);
    --header-min-height: 110px;
    --header-padding-x: clamp(1.25rem, 3vw, 3.25rem);
    --logo-max-width: 260px;
    --logo-max-height: 136px;
    --footer-background: #5278a2;
    --footer-link-hover: #f6f2ed;
    --footer-credit-link: #fff;
    --footer-font-family: "Alegreya Sans", sans-serif;
}

html {
    color: var(--hendre-brand);
    scroll-behavior: smooth;
}

.skip-link {
    position: fixed;
    top: 0;
    left: 1rem;
    z-index: 1000;
    padding: .65rem 1rem;
    color: #fff;
    background: var(--hendre-brand-dark);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

body {
    color: var(--hendre-brand);
    font-family: "Alegreya Sans", sans-serif;
    font-size: clamp(1.125rem, 1.35vw, 1.5rem);
    line-height: 1.5;
}

.content {
    padding: 0;
}

.page-heading {
    width: min(100% - 3rem, 84.375rem);
    margin: 0 auto;
    padding: 3rem 0 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
.nxb-banner__title,
.nxb-text-block__heading,
.nxb-media-text-split__heading {
    color: inherit;
    font-family: "Playfair Display", serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    color: #1b426c;
}

.site-header {
    position: relative;
    z-index: 100;
    grid-template-columns: minmax(190px, auto) 1fr auto;
    box-shadow: 0 2px 2px rgba(0, 0, 0, .05);
}

.header-logo img {
    width: auto;
    max-width: var(--logo-max-width);
}

.main-navigation {
    justify-self: end;
}

.main-navigation a {
    letter-spacing: .01em;
}

.main-navigation li.active > span > a,
.main-navigation li:hover > span > a,
.main-navigation li:focus-within > span > a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .35em;
}

.nxb-component-frame {
    box-sizing: border-box;
}

.nxb-component-frame--top-no-spacing { padding-top: 0; }
.nxb-component-frame--top-small { padding-top: 1.5rem; }
.nxb-component-frame--top-medium { padding-top: 3rem; }
.nxb-component-frame--top-large { padding-top: 5rem; }
.nxb-component-frame--bottom-no-spacing { padding-bottom: 0; }
.nxb-component-frame--bottom-small { padding-bottom: 1.5rem; }
.nxb-component-frame--bottom-medium { padding-bottom: 3rem; }
.nxb-component-frame--bottom-large { padding-bottom: 5rem; }

.nxb-text-block {
    --text-block-colour: #5278a2;
    --text-block-accent: #1b426c;
}

.nxb-text-block--background-light-grey {
    --text-block-background: #f6f2ed;
}

.nxb-text-block--background-dark {
    --text-block-background: #385474;
    --text-block-colour: #fff;
}

.nxb-text-block--background-brand {
    --text-block-background: #5278a2;
    --text-block-colour: #fff;
    --text-block-accent: #fff;
}

.nxb-text-block__inner,
.nxb-contact-form__inner,
.nxb-gallery,
.nxb-simple-pods,
.nxb-sitemap,
.nxb-search-results {
    width: min(100% - 3rem, 84.375rem);
    margin-inline: auto;
}

.nxb-text-block__secondary-heading,
.nxb-media-text-split__eyebrow {
    font-family: "Alegreya", serif;
}

.nxb-text-block__intro-text,
.nxb-banner__intro {
    font-family: "Alegreya", serif;
}

.nxb-banner {
    --nxb-banner-accent: #5278a2;
}

.nxb-banner__title {
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    text-shadow: 1px 0 10px #000;
}

.nxb-banner__subtitle,
.nxb-banner__intro {
    text-shadow: 1px 0 10px #000;
}

.nxb-banner--size-medium-crop {
    min-height: clamp(24rem, 52vw, 38rem);
}

.nxb-media-text-split__body {
    font-size: inherit;
}

.nxb-simple-pods {
    --nxb-simple-pods-accent: #5278a2;
    --nxb-simple-pods-text: #5278a2;
    --nxb-simple-pods-muted: #385474;
}

.cottages-page-links .nxb-simple-pods__image {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.nxb-contact-form {
    --nxb-contact-colour: #5278a2;
    --nxb-contact-accent: #5278a2;
    --nxb-contact-button-background: #5278a2;
    --nxb-contact-button-border: #5278a2;
}

.site-footer {
    position: relative;
    text-align: center;
}

.site-footer .footer-inner {
    max-width: 84.375rem;
}

.site-footer .footer-logo img {
    margin-inline: auto;
}

.site-footer .footer-locations {
    margin-top: 1.5rem;
}

.site-footer .hendre-contact-details {
    width: min(100%, 32rem);
    margin-inline: auto;
}

.site-footer .hendre-contact-details .nxb-simple-pods__grid {
    grid-template-columns: minmax(0, 1fr);
}

.site-footer .hendre-contact-details .nxb-simple-pods__content {
    align-items: center;
}

.footer-services-navigation:empty {
    display: none;
}

.hendre-contact-details .nxb-simple-pods__card {
    border: 0;
    background: transparent;
    color: #fff;
    box-shadow: none;
}

.hendre-contact-details .nxb-simple-pods__link,
.hendre-contact-details .nxb-simple-pods__text,
.hendre-contact-details a {
    color: #fff;
}

.footer-navigation {
    justify-content: center;
}

@media (max-width: 1180px) {
    :root {
        --header-min-height: 100px;
        --logo-max-height: 80px;
    }

    .site-header {
        grid-template-columns: 1fr auto;
    }
}

@media (max-width: 800px) {
    body {
        font-size: 1.125rem;
    }

    .nxb-component-frame--top-large { padding-top: 3.5rem; }
    .nxb-component-frame--bottom-large { padding-bottom: 3.5rem; }

    .nxb-text-block__inner,
    .nxb-contact-form__inner,
    .nxb-gallery,
    .nxb-simple-pods,
    .nxb-sitemap,
    .nxb-search-results {
        width: min(100% - 2rem, 84.375rem);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo img {
        margin-inline: auto;
    }
}
