:root {
    --tina-black: #231f20;
    --tina-green: #c7ca96;
    --tina-green-hover: #b9bd82;
    --tina-white: #ffffff;
    --tina-panel-width: min(76vw, 1320px);
    --tina-footer-width: min(75vw, 1320px);
}

/* Evita che eventuali impostazioni del tema Astra interferiscano con header/footer Tina. */
.tina-site-header,
.tina-site-footer,
.tina-site-header *,
.tina-site-footer * {
    box-sizing: border-box;
}

.tina-site-header a,
.tina-site-footer a {
    color: #000;
    text-decoration: none;
}

/* HEADER */
.tina-site-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    pointer-events: none;
}

body.home .tina-site-header {
    position: fixed;
    top: 0;
    left: 0;
}

.admin-bar.home .tina-site-header {
    top: 32px;
}

.tina-header-wrap {
    width: var(--tina-panel-width);
    margin: clamp(28px, 6vh, 70px) auto 0;
    position: relative;
    pointer-events: auto;
}

body:not(.home) .tina-header-wrap {
    margin-top: clamp(22px, 4vw, 48px);
}

.tina-header-panel {
    min-height: clamp(78px, 7vw, 120px);
    background: var(--tina-white);
    display: grid;
    grid-template-columns: minmax(70px, 150px) 1fr minmax(110px, 150px);
    align-items: center;
    padding: 0 clamp(24px, 3vw, 48px);
    box-shadow: 0 0 0 rgba(0,0,0,0);
}

.tina-menu-toggle {
    width: 34px;
    height: 32px;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    cursor: pointer;
    color: var(--tina-black);
}

.tina-menu-toggle:focus-visible,
.tina-booking-button:focus-visible,
.tina-language a:focus-visible,
.tina-site-footer a:focus-visible,
.tina-menu-close:focus-visible {
    outline: 2px solid var(--tina-black);
    outline-offset: 4px;
}

.tina-menu-line {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.tina-brand {
    justify-self: center;
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: clamp(10px, 1vw, 18px);
    line-height: 1;
    color: var(--tina-black);
    white-space: nowrap;
}

.tina-brand img {
    display: block;
    max-height: clamp(52px, 5vw, 90px);
    width: auto;
    max-width: 350px;
}

.tina-brand-small {
    font-size: clamp(21px, 1.9vw, 38px);
    letter-spacing: .18em;
    font-weight: 400;
    text-transform: uppercase;
}

.tina-brand-script {
    font-size: clamp(52px, 5.6vw, 96px);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -.035em;
}

.tina-language {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: clamp(10px, .95vw, 17px);
    font-weight: 500;
    letter-spacing: .02em;
    color: var(--tina-black);
}

.tina-language  a{
    font-size: 14px !important;
}

.tina-language .is-active {
    font-weight: 700;
}

.tina-booking-button {
    position: absolute;
    top: 100%;
    right: 0;
    width: clamp(150px, 8.6vw, 198px);
    min-height: clamp(57px, 3vw, 78px);
    background: var(--tina-green);
    color: var(--tina-black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(15px, 1vw, 18px);
    font-weight: 500;
    text-transform: uppercase;
    transition: background-color .2s ease, color .2s ease;
}

.tina-booking-button:hover {
    background: var(--tina-green-hover);
    color: var(--tina-black);
}

/* OFFCANVAS */
.tina-offcanvas-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .36);
    z-index: 1001;
    pointer-events: auto;
}

.tina-offcanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: min(88vw, 420px);
    height: 100vh;
    background: var(--tina-white);
    z-index: 1002;
    transform: translateX(-105%);
    transition: transform .28s ease;
    pointer-events: auto;
    box-shadow: 0 20px 50px rgba(0,0,0,.18);
}

.admin-bar .tina-offcanvas {
    top: 32px;
    height: calc(100vh - 32px);
}

.tina-offcanvas.is-open {
    transform: translateX(0);
}

.tina-offcanvas-inner {
    padding: 34px 34px 48px;
    height: 100%;
    overflow-y: auto;
}

.tina-menu-close {
    border: 0;
    background: transparent;
    color: var(--tina-black);
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    margin: 0 0 34px;
}

.tina-offcanvas-brand {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 42px;
    color: var(--tina-black);
}

.tina-offcanvas-brand .tina-brand-small {
    font-size: 18px;
}

.tina-offcanvas-brand .tina-brand-script {
    font-size: 48px;
}

.tina-offcanvas-nav,
.tina-offcanvas-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tina-offcanvas-nav li {
    margin: 0;
    padding: 0;
}

.tina-offcanvas-nav a {
    display: block;
    padding: 14px 0;
    color: var(--tina-black);
    font-size: 20px;
    font-weight: 500;
    border-bottom: 1px solid rgba(35, 31, 32, .12);
}

.tina-offcanvas-nav a:hover {
    color: #000;
}

/* FOOTER */
.tina-site-footer {
    position: relative;
    z-index: 999;
    width: 100%;
    pointer-events: none;
}

body.home .tina-site-footer {
    position: fixed;
    left: 0;
    bottom: 0;
}

.tina-footer-panel {
    width: var(--tina-footer-width);
    margin: 0 auto clamp(24px, 4.7vh, 58px);
    background: var(--tina-white);
    color: var(--tina-black);
    padding: 16px clamp(24px, 3vw, 48px) 17px;
    pointer-events: auto;
    position: relative;
}

body:not(.home) .tina-footer-panel {
    margin-top: clamp(42px, 6vw, 80px);
    margin-bottom: 0;
}

.tina-footer-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px clamp(28px, 2.4vw, 44px);
    color: var(--tina-black);
}

.tina-footer-contacts {
    font-size: clamp(14px, 1vw, 18px);
    line-height: 1.35;
    margin-bottom: 13px;
}

.tina-footer-legal {
    font-size: clamp(13px, .88vw, 16px);
    line-height: 1.35;
}

.tina-site-footer a:hover {
    color: #000;
}

.tina-follow-label {
    margin-left: clamp(0px, .5vw, 10px);
}

.tina-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-left: -18px;
}

.tina-social-link svg {
    display: block;
    fill: currentColor;
}

.tina-monogram {
    position: absolute;
    left: 0;
    bottom: 100%;
    width: clamp(120px, 10.8vw, 178px);
    height: clamp(120px, 10.8vw, 178px);
    background: var(--tina-green);
    color: var(--tina-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(70px, 6.3vw, 112px);
    font-style: italic;
    line-height: 1;
    pointer-events: none;
}

.tina-monogram span {
    font-size: .45em;
    position: relative;
    top: -.28em;
    margin-left: -.06em;
}

/* Aiuta la homepage full screen quando il contenuto è una Cover o una sezione hero. */
body.home .site-content {
    min-height: 100vh;
}

/* MOBILE/TABLET */
@media (max-width: 1024px) {
    :root {
        --tina-panel-width: min(90vw, 920px);
        --tina-footer-width: min(90vw, 920px);
    }

    .tina-header-panel {
        grid-template-columns: 60px 1fr 80px;
        padding: 0 24px;
    }

    .tina-language {
        gap: 10px;
    }

    .tina-footer-panel {
        padding-left: 22px;
        padding-right: 22px;
    }

    .tina-footer-row {
        gap: 10px 22px;
    }

    .tina-social-link {
        margin-left: -10px;
    }
}

@media (max-width: 767px) {
    body.home .tina-site-header,
    body.home .tina-site-footer {
        position: relative;
        top: auto;
        bottom: auto;
    }

    .admin-bar.home .tina-site-header {
        top: auto;
    }

    .tina-header-wrap {
        width: 100%;
        margin: 0;
    }

    .tina-header-panel {
        min-height: 82px;
        grid-template-columns: 48px 1fr 58px;
        padding: 0 18px;
    }

    .tina-menu-toggle {
        width: 34px;
        height: 32px;
    }

    .tina-menu-line {
        height: 3px;
    }

    .tina-brand {
        gap: 7px;
        transform: translateY(-1px);
    }

    .tina-brand-small {
        font-size: 15px;
        letter-spacing: .15em;
    }

    .tina-brand-script {
        font-size: 38px;
    }

    .tina-brand img {
        max-height: 54px;
        max-width: 58vw;
    }

    .tina-language {
        gap: 6px;
        font-size: 12px;
    }

    .tina-booking-button {
        position: static;
        width: 100%;
        min-height: 58px;
    }

    .tina-footer-panel {
        width: 100%;
        margin: 0;
        padding: 20px 18px;
    }

    .tina-footer-contacts,
    .tina-footer-legal {
        flex-direction: column;
        gap: 9px;
        text-align: center;
    }

    .tina-follow-label {
        margin-left: 0;
    }

    .tina-social-link {
        margin-left: 0;
    }

    .tina-monogram {
        position: static;
        margin: 0 auto;
        width: 116px;
        height: 116px;
        font-size: 72px;
    }
}

@media (max-width: 782px) {
    .admin-bar .tina-offcanvas {
        top: 46px;
        height: calc(100vh - 46px);
    }
}

footer#colophon .site-primary-footer-wrap {
    background: white;
    width: 100%;
    
}

footer#colophon .ast-builder-grid-row {
    width: 100%;
    min-height: 80px;
    column-gap: 42px;
    padding: 8px 16px !important;
    box-sizing: border-box;
    align-items: center;
}

footer#colophon .site-footer-section {
    padding: 0;
    margin: 0;
    min-height: auto;
}

footer#colophon p {
    margin: 0;
    font-size:14px;
    line-height: 1.4;
    color: #000;
    
}


footer#colophon a {
    text-decoration: none;
    color: #000;
}

footer#colophon a:hover {
    text-decoration: underline;
}


.site-above-footer-wrap[data-section="section-above-footer-builder"] .ast-builder-grid-row {
    max-width: 1400px;
    min-height: 60px;
    margin-left: auto;
    margin-right: auto;
}

@media(max-width:567px){
    footer#colophon .ast-builder-grid-row {
        gap: 10px;
        padding: 5px 10px !important;
    }
    footer#colophon{
        width: 101% !important;
    }
}

@media (max-width: 544px) {
    .footer-widget-area[data-section="section-fb-html-1"] .ast-builder-html-element
{
        text-align: start;
    }
}

.home .ast-container, .ast-container-fluid {
    padding-left: 0px;
    padding-right: 0px;
}

footer#colophon {
    position: relative;
    background: white;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    width: var(--tina-panel-width) !important;
    z-index: 50;
  
}

@media(max-width:567px){
    footer#colophon {
    
    width: 100% !important;
    
  
    }
}