/* Hotel Ristorante Defanti — stile del sito (mobile-first) */

@font-face {
    font-family: "Open Sans";
    src: url("../Fonts/open-sans-variable.woff2") format("woff2");
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Merriweather";
    src: url("../Fonts/merriweather-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Merriweather";
    src: url("../Fonts/merriweather-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --blue: #0072bb;
    --blue-dark: #005a94;
    --dark: #1c1c1c;
    --dark-2: #2a2a2a;
    --text: #4a4a4a;
    --muted: #767676;
    --line: #e2e2e2;
    --bg: #e6e6e6;
    --surface: #fff;
    --font-sans: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-serif: "Merriweather", Georgia, "Times New Roman", serif;
    --container: 1170px;
    --gutter: 16px;
    --radius: 2px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 1rem/1.7 var(--font-sans);
}

img,
video,
iframe {
    max-width: 100%;
}

img {
    height: auto;
    display: block;
}

a {
    color: var(--blue);
    text-underline-offset: 2px;
}

a:hover {
    color: var(--blue-dark);
}

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--dark);
    line-height: 1.35;
    margin: 0 0 .75em;
}

h1 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }

p, ul, ol, table, figure {
    margin: 0 0 1.1em;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: var(--gutter);
    top: -100px;
    z-index: 100;
    background: var(--blue);
    color: #fff;
    padding: .5em 1em;
}

.skip-link:focus {
    top: var(--gutter);
}

.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* Pulsanti */
.button,
.powermail_submit,
button[type="submit"] {
    display: inline-block;
    background: var(--blue);
    color: #fff;
    border: 0;
    border-radius: var(--radius);
    padding: .55em 1.2em;
    font: 600 .8rem/1.4 var(--font-sans);
    text-transform: uppercase;
    letter-spacing: .04em;
    text-decoration: none;
    cursor: pointer;
}

.button:hover,
.powermail_submit:hover,
button[type="submit"]:hover {
    background: var(--blue-dark);
    color: #fff;
}

.button--large {
    padding: .8em 1.6em;
    font-size: .875rem;
}

/* Header */
.site-header {
    background: var(--surface);
    position: relative;
    z-index: 20;
}

.topbar {
    background: var(--dark);
    color: #fff;
    font-size: .75rem;
}

.topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 34px;
}

.topbar__map {
    color: #fff;
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
}

.topbar__map:hover {
    color: #fff;
    background: var(--blue);
}

.lang-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: .25rem;
}

.lang-menu a,
.lang-menu span {
    display: block;
    padding: .35em .5em;
    color: #fff;
    text-decoration: none;
    text-transform: lowercase;
    line-height: 1;
}

.lang-menu a:hover {
    background: var(--blue);
}

.lang-menu .is-active {
    text-decoration: underline;
    font-weight: 700;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-block: 14px;
}

.logo img {
    width: 120px;
}

/* Navigazione: mobile */
.nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: .6em;
    background: var(--dark);
    color: #fff;
    border: 0;
    padding: .7em 1em;
    font: 600 .8rem var(--font-sans);
    text-transform: uppercase;
    letter-spacing: .05em;
    cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    position: relative;
    transition: transform .2s;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.main-nav {
    flex-basis: 100%;
    display: none;
    margin-top: 14px;
    border-top: 3px solid var(--blue);
}

.main-nav.is-open {
    display: block;
}

.main-nav__list,
.main-nav__sub {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav__item {
    position: relative;
    border-bottom: 1px solid var(--line);
}

.main-nav a {
    display: block;
    padding: .8em 0;
    color: var(--dark);
    text-decoration: none;
    font: 400 .85rem/1.3 var(--font-serif);
    text-transform: uppercase;
    letter-spacing: .03em;
}

.main-nav a:hover,
.main-nav .is-active > a,
.main-nav a[aria-current="page"] {
    color: var(--blue);
}

.main-nav__expand {
    position: absolute;
    right: 0;
    top: 0;
    width: 44px;
    height: 44px;
    background: none;
    border: 0;
    color: var(--dark);
    cursor: pointer;
}

.main-nav__expand[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.main-nav__sub {
    display: none;
    padding-left: 1em;
    padding-bottom: .5em;
}

.main-nav__sub.is-open {
    display: block;
}

.main-nav__sub a {
    font-family: var(--font-sans);
    text-transform: none;
    font-size: .9rem;
    padding: .45em 0;
}

/* Hero slider */
.hero {
    position: relative;
    background: var(--dark);
    overflow: hidden;
}

.hero__track {
    display: grid;
}

.hero__slide {
    grid-area: 1 / 1;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease, visibility .8s;
}

.hero__slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero__slide img {
    width: 100%;
    aspect-ratio: 5 / 2;
    object-fit: cover;
}

@media (max-width: 599px) {
    .hero__slide img {
        aspect-ratio: 4 / 3;
    }
}

.hero__caption {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: var(--gutter);
    text-align: center;
    pointer-events: none;
}

.hero__title,
.hero__subtitle {
    font-family: var(--font-serif);
    color: #fff;
    padding: .35em .8em;
}

.hero__title {
    background: rgba(41, 84, 150, .88);
    font-size: clamp(1.1rem, .9rem + 1.2vw, 1.75rem);
}

.hero__subtitle {
    background: rgba(28, 28, 28, .7);
    font-size: clamp(.95rem, .85rem + .6vw, 1.3rem);
}

.hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .85);
    color: var(--dark);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.hero__nav:hover {
    background: #fff;
}

.hero__nav--prev { left: var(--gutter); }
.hero__nav--next { right: var(--gutter); }

.hero:not(.has-many) .hero__nav {
    display: none;
}

/* Barra prenotazione */
.booking-bar {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background: var(--dark);
    border-bottom: 4px solid var(--blue);
    padding: 16px;
    margin-top: -24px;
}

.booking-bar__field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #fff;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.booking-bar input,
.booking-bar select {
    width: 100%;
    min-height: 40px;
    border: 0;
    border-radius: var(--radius);
    padding: .4em .6em;
    font: 400 .95rem var(--font-sans);
    color: var(--dark);
    background: #fff;
}

.booking-bar .button {
    grid-column: 1 / -1;
    align-self: end;
    min-height: 40px;
}

/* Home: tre colonne */
.home-columns {
    display: grid;
    gap: 32px;
    background: var(--surface);
    padding-block: 40px;
}

/* Header pagine interne */
.page-header {
    position: relative;
    background: var(--dark-2);
    min-height: 140px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.page-header__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .55;
}

.page-header .container {
    position: relative;
    padding-block: 28px;
}

.page-header__title {
    display: inline-block;
    margin: 0;
    background: rgba(255, 255, 255, .92);
    padding: .3em .7em;
    font-size: clamp(1.15rem, 1rem + .8vw, 1.6rem);
}

/* Pagine interne: contenuto + colonna destra */
.layout-sidebar {
    background: var(--surface);
    padding-block: 32px 48px;
    display: grid;
    gap: 40px;
}

.layout-sidebar__content {
    min-width: 0;
}

.sidebar-box {
    margin-bottom: 32px;
}

.sidebar-box__title,
.frame h2,
.frame h3,
.home-columns h1,
.home-columns h2,
.home-columns h3 {
    position: relative;
    padding-bottom: .7em;
    margin-bottom: 1em;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
}

.sidebar-box__title::after,
.frame h2::after,
.frame h3::after,
.home-columns h1::after,
.home-columns h2::after,
.home-columns h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 40px;
    height: 3px;
    background: var(--blue);
}

.sidebar-box__title {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.sidebar-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    border-bottom: 1px solid var(--line);
}

.sidebar-menu a {
    display: block;
    padding: .55em 0 .55em 1.1em;
    position: relative;
    color: var(--text);
    text-decoration: none;
    font-size: .9rem;
}

.sidebar-menu a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-top: 1px solid var(--blue);
    border-right: 1px solid var(--blue);
    transform: translateY(-50%) rotate(45deg);
}

.sidebar-menu a:hover,
.sidebar-menu a[aria-current="page"] {
    color: var(--blue);
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: .9rem;
}

.contact-list li {
    display: flex;
    flex-wrap: wrap;
    gap: .3em;
    align-items: center;
    padding: .6em 0 .6em 44px;
    min-height: 44px;
    position: relative;
}

.contact-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--dark) no-repeat center / 16px;
}

.contact-list .contact-list__phone::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M6.6 10.8a15.2 15.2 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.contact-list .contact-list__fax::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M19 8H5a3 3 0 0 0-3 3v6h4v4h12v-4h4v-6a3 3 0 0 0-3-3Zm-3 11H8v-5h8v5Zm2-15H6v3h12V4Z'/%3E%3C/svg%3E"); }
.contact-list .contact-list__address::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E"); }
.contact-list .contact-list__email::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2Zm0 4-8 5-8-5V6l8 5 8-5v2Z'/%3E%3C/svg%3E"); }

.contact-list strong {
    color: var(--dark);
}

/* Contenuti (fluid_styled_content) */
.frame {
    margin-bottom: 2rem;
}

.ce-bodytext ul,
.layout-sidebar__content ul:not([class]) {
    padding-left: 1.2em;
}

.ce-gallery img {
    width: 100%;
}

.ce-gallery figure {
    margin: 0;
}

.ce-gallery figcaption {
    font-size: .8rem;
    color: var(--muted);
    padding-top: .4em;
}

.ce-row {
    display: grid;
    gap: 10px;
    margin-bottom: 10px;
}

.ce-gallery[data-ce-columns="2"] .ce-row { grid-template-columns: repeat(2, 1fr); }
.ce-gallery[data-ce-columns="3"] .ce-row { grid-template-columns: repeat(3, 1fr); }
.ce-gallery[data-ce-columns="4"] .ce-row,
.ce-gallery[data-ce-columns="5"] .ce-row,
.ce-gallery[data-ce-columns="6"] .ce-row { grid-template-columns: repeat(2, 1fr); }

.ce-column {
    min-width: 0;
}

.ce-textpic,
.ce-image {
    display: flow-root;
}

.ce-gallery {
    margin-bottom: 1rem;
}

.ce-intext.ce-right .ce-gallery,
.ce-intext.ce-left .ce-gallery {
    max-width: 100%;
}

table.contenttable,
.ce-bodytext table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}

.ce-bodytext td,
.ce-bodytext th {
    border-bottom: 1px solid var(--line);
    padding: .5em .4em;
    text-align: left;
    vertical-align: top;
}

.table-scroll {
    overflow-x: auto;
}

iframe {
    border: 0;
    width: 100%;
}

/* News (georgringer/news) */
.news .article {
    display: flow-root;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
}

.news .article .news-img-wrap:has(img) {
    margin-bottom: .8rem;
}

.news .article .news-img-wrap img {
    width: 100%;
}

.news .article .footer p {
    margin: .4em 0 0;
}

.news-list-category {
    margin-left: .6em;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--blue);
}

.news .article h3 {
    margin-bottom: .3em;
}

.news .article h3 a {
    color: var(--dark);
    text-decoration: none;
}

.news .article h3 a:hover {
    color: var(--blue);
}

.news-list-date,
.news .extra {
    font-size: .8rem;
    color: var(--muted);
}

.news .more {
    display: inline-block;
    background: var(--blue);
    color: #fff;
    padding: .1em .55em;
    font-size: .75rem;
    font-weight: 700;
    text-decoration: none;
}

.news-single .news-img-wrap {
    margin-bottom: 1.5rem;
}

.news-single .news-img-wrap .outer {
    margin-bottom: 10px;
}

.home-columns .news .article {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.home-columns .news .news-img-wrap,
.home-columns .news .f3-widget-paginator,
.home-columns .news-list-category {
    display: none;
}

.home-columns .news .article h3 {
    font-size: 1rem;
}

.f3-widget-paginator {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    margin: 0 0 1.5rem;
}

.f3-widget-paginator a,
.f3-widget-paginator .current {
    display: inline-block;
    min-width: 36px;
    padding: .3em .6em;
    text-align: center;
    border: 1px solid var(--line);
    text-decoration: none;
    font-size: .85rem;
}

.f3-widget-paginator .current {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

@media (min-width: 600px) {
    .news-list-view .article .news-img-wrap:has(img) {
        float: left;
        width: 200px;
        margin: .3rem 20px .5rem 0;
    }
}

/* Powermail */
.powermail_fieldwrap {
    margin-bottom: 1rem;
}

.powermail_label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: .3em;
    font-size: .9rem;
}

.powermail_input,
.powermail_textarea,
.powermail_select,
.powermail_date,
.layout-sidebar__content input[type="text"],
.layout-sidebar__content input[type="email"] {
    width: 100%;
    border: 1px solid #c9c9c9;
    border-radius: var(--radius);
    padding: .55em .7em;
    font: 400 1rem var(--font-sans);
    color: var(--dark);
    background: #fff;
}

.powermail_textarea {
    min-height: 140px;
}

.powermail_field_error,
.parsley-error {
    border-color: #b3261e !important;
}

.powermail_message_error,
.parsley-errors-list {
    color: #b3261e;
    list-style: none;
    padding: 0;
    font-size: .85rem;
}

.powermail_message_ok {
    background: #e7f3ea;
    border-left: 4px solid #2e7d32;
    padding: 1em;
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: #cfcfcf;
    font-size: .875rem;
}

.footer__grid {
    display: grid;
    gap: 32px;
    padding-block: 40px;
}

.footer__title {
    position: relative;
    color: #fff;
    font: 600 .8rem/1.4 var(--font-sans);
    text-transform: uppercase;
    letter-spacing: .06em;
    padding-bottom: .9em;
    margin-bottom: 1.2em;
}

.footer__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--blue);
}

.footer__photos {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    max-width: 280px;
}

.footer__photos img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: opacity .2s;
}

.footer__photos a:hover img {
    opacity: .8;
}

.footer__links {
    list-style: none;
    padding: 0;
}

.footer__links a {
    color: #fff;
    text-decoration: none;
    line-height: 2;
}

.footer__links a:hover {
    color: #6fb7e6;
}

.footer__bottom {
    border-top: 1px solid #333;
    font-size: .8rem;
}

.footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    padding-block: 18px;
}

.footer__bottom p {
    margin: 0;
}

.footer__meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer__meta a {
    color: #fff;
    text-decoration: none;
}

.footer__social {
    display: inline-grid !important;
    place-items: center;
    width: 36px;
    height: 36px;
    background: #3b5998;
}

.footer__social:hover {
    background: var(--blue);
}

/* Lightbox */
.lightbox-dialog {
    border: 0;
    padding: 0;
    background: transparent;
    max-width: 100vw;
    max-height: 100vh;
}

.lightbox-dialog::backdrop {
    background: rgba(0, 0, 0, .88);
}

.lightbox-dialog__img {
    max-width: 92vw;
    max-height: 86vh;
    width: auto;
    margin: auto;
}

.lightbox-dialog__close,
.lightbox-dialog__nav {
    position: fixed;
    background: rgba(255, 255, 255, .9);
    color: var(--dark);
    border: 0;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.lightbox-dialog__close { top: 16px; right: 16px; }
.lightbox-dialog__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-dialog__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Tablet */
@media (min-width: 600px) {
    .booking-bar {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ce-gallery[data-ce-columns="4"] .ce-row { grid-template-columns: repeat(4, 1fr); }
    .ce-gallery[data-ce-columns="5"] .ce-row { grid-template-columns: repeat(5, 1fr); }
    .ce-gallery[data-ce-columns="6"] .ce-row { grid-template-columns: repeat(6, 1fr); }

    .ce-intext.ce-right .ce-gallery {
        float: right;
        max-width: 50%;
        margin-left: 24px;
    }

    .ce-intext.ce-left .ce-gallery {
        float: left;
        max-width: 50%;
        margin-right: 24px;
    }

}

/* Desktop */
@media (min-width: 960px) {
    .logo img {
        width: 180px;
    }

    .nav-toggle,
    .main-nav__expand {
        display: none;
    }

    .main-nav {
        display: block;
        flex-basis: auto;
        margin: 0;
        border: 0;
    }

    .main-nav__list {
        display: flex;
    }

    .main-nav__item {
        border: 0;
    }

    .main-nav__item + .main-nav__item {
        border-left: 1px solid var(--line);
    }

    .main-nav__item > a {
        padding: 1.2em .75em 1.6em;
        font-size: .72rem;
        position: relative;
    }

    .main-nav__item.is-active > a::after {
        content: "";
        position: absolute;
        left: .75em;
        right: .75em;
        bottom: 0;
        height: 3px;
        background: var(--blue);
    }

    .main-nav__sub {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 220px;
        padding: 6px 0;
        background: var(--dark);
        opacity: 0;
        visibility: hidden;
        transform: translateY(6px);
        transition: opacity .15s, transform .15s, visibility .15s;
        z-index: 30;
    }

    .main-nav__item:hover > .main-nav__sub,
    .main-nav__item:focus-within > .main-nav__sub {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .main-nav__sub a {
        color: #fff;
        padding: .55em 1.1em;
        font-size: .85rem;
    }

    .main-nav__sub a:hover,
    .main-nav__sub .is-active > a {
        background: var(--blue);
        color: #fff;
    }

    .booking-bar {
        grid-template-columns: repeat(4, 1fr) auto;
        align-items: end;
        margin-top: -48px;
        padding: 20px 24px;
        width: 88%;
        margin-inline: auto;
    }

    .booking-bar .button {
        grid-column: auto;
    }

    .home-columns {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        padding: 48px 40px;
    }

    .page-header {
        min-height: 220px;
    }

    .layout-sidebar {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 48px;
        padding: 40px 40px 56px;
    }

    .footer__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1202px) {
    .container {
        padding-inline: 0;
        max-width: var(--container);
    }

    .home-columns,
    .layout-sidebar {
        padding-inline: 40px;
        max-width: var(--container);
    }
}

@media print {
    .topbar,
    .nav-toggle,
    .main-nav,
    .hero__nav,
    .booking-bar,
    .site-footer {
        display: none !important;
    }

    body {
        background: #fff;
    }
}
