/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.2
*/

/* Tavbook header: align the logo with the slider's 94% photograph box. */
.header-fw #Top_bar .logo {
    margin-left: 3vw;
    margin-right: 30px;
}
#Top_bar .logo #logo {
    display: flex;
    align-items: center;
    width: max-content;
    height: 78px;
    padding: 0;
    margin: 21px 0;
    line-height: 0;
    border-radius: 4px;
    overflow: hidden;
}
#Top_bar #logo img {
    border-radius: 4px;
    width: auto;
    height: 78px;
    max-height: 100%;
}
#Top_bar.is-sticky .logo #logo {
    height: 45.5px !important;
    margin: 7.25px 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
}
#Top_bar.is-sticky #logo img {
    height: 45.5px !important;
    max-height: 45.5px !important;
}
@media only screen and (max-width: 767px) {
    .mobile-header-mini #Top_bar .logo {
        float: left !important;
        width: auto !important;
        height: 75px !important;
        margin: 0 0 0 3vw !important;
    }
    .mobile-header-mini #Top_bar .logo #logo {
        width: max-content !important;
        height: 65px !important;
        margin: 5px 0 !important;
        padding: 0 !important;
        line-height: 0 !important;
    }
    .mobile-header-mini #Top_bar #logo img {
        height: 65px !important;
        max-height: 65px !important;
    }
    .mobile-header-mini #Top_bar a.responsive-menu-toggle {
        top: 37.5px !important;
    }
}

/* Come funziona: editable BeBuilder sections, scoped to the reused page. */
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) #Content {
    background: #fafbff;
    color: #34394c;
}
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how {
    padding: 0 5vw;
    color: #34394c;
}
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how > .section_wrapper {
    max-width: 1200px;
    width: 100%;
    padding: 0;
}
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how .column,
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how .mcb-column-inner {
    margin: 0;
}
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how .mcb-wrap-inner {
    padding: 0;
}
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how h1,
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how h2 {
    color: #192065;
    font-weight: 500;
    letter-spacing: -0.025em;
}
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how h1 {
    font-size: clamp(32px, 3.7vw, 54px);
    line-height: 1.15;
    margin: 0 0 20px;
    max-width: 1000px;
}
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how h2 {
    font-size: clamp(27px, 2.7vw, 36px);
    line-height: 1.25;
    margin: 0 0 22px;
}
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how p {
    font-size: 17px;
    line-height: 1.85;
    font-weight: 400;
    margin: 0 0 18px;
}
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how p:last-child {
    margin-bottom: 0;
}
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how.tb-how-intro {
    padding-top: 54px;
    padding-bottom: 58px;
}
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how-intro p {
    max-width: 960px;
    font-size: 18px;
    line-height: 1.8;
}
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how.tb-how-step {
    padding-top: 28px;
    padding-bottom: 52px;
}
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how-step > .section_wrapper {
    display: flex;
    align-items: center;
    column-gap: 64px;
}
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how-step > .section_wrapper > .wrap {
    flex: 1 1 0;
    width: calc(50% - 32px);
    min-width: 0;
}
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how .tb-how-label {
    color: #a35900;
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: 0.12em;
    font-weight: 500;
    margin-bottom: 16px;
}
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how .image_frame,
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how .image_wrapper {
    display: block;
    margin: 0;
    border: 0;
    border-radius: 4px;
    overflow: hidden;
}
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: contain;
    border-radius: 4px;
}
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how .image_frame .image_wrapper .image_links,
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how .image_frame .image_wrapper:after {
    display: none;
}
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how.tb-how-owners {
    padding-top: 20px;
    padding-bottom: 80px;
}
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how-owners > .section_wrapper {
    background: #192065;
    padding: 48px 56px;
    border-radius: 4px;
    box-sizing: border-box;
}
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how-owners h2,
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how-owners p {
    color: #fff;
}
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how-owners p {
    max-width: 800px;
    margin-bottom: 26px;
}
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how .tb-how-cta-button {
    background: #f2ab41;
    color: #192065;
    border-radius: 4px;
    white-space: normal;
    max-width: 100%;
    box-sizing: border-box;
    font-weight: 500;
    line-height: 1.5;
    margin: 24px 0 0;
}
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how .tb-how-cta-button:hover {
    background: #ffc365;
    color: #192065;
}
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how a:focus-visible {
    outline: 3px solid #f2ab41;
    outline-offset: 5px;
}
@media only screen and (min-width: 768px) and (max-width: 959px) {
    :is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how-step > .section_wrapper {
        column-gap: 32px;
    }
    :is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how p {
        font-size: 16px;
        line-height: 1.75;
    }
}
@media only screen and (max-width: 767px) {
    :is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how {
        padding-left: 6vw;
        padding-right: 6vw;
    }
    :is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how.tb-how-intro {
        padding-top: 36px;
        padding-bottom: 28px;
    }
    :is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how.tb-how-step {
        padding-top: 24px;
        padding-bottom: 32px;
    }
    :is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how-step > .section_wrapper {
        row-gap: 26px;
    }
    :is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how-step > .section_wrapper > .wrap {
        flex: none;
        width: 100%;
    }
    :is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how h2 {
        margin-bottom: 18px;
    }
    :is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how p {
        font-size: 16px;
        line-height: 1.8;
    }
    :is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how.tb-how-owners {
        padding-top: 16px;
        padding-bottom: 48px;
    }
    :is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how-owners > .section_wrapper {
        padding: 30px 24px;
    }
}
:is(.page-id-11, .page-id-15, .page-id-17, .page-id-19) .tb-how-owners .column_button {
    padding-top: 24px;
}

/* Native BeTheme copyright: readable credit, preserving footer placement. */
#Footer .footer_copy .copyright {
    color: #c8cbd5;
    line-height: 1.7;
}
#Footer .footer_copy .copyright a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}
#Footer .footer_copy .copyright a:hover {
    color: #f2ab41;
}

/* Reserve room for the tagline’s vertical padding. */
#Top_bar:not(.is-sticky) { min-height: 141px; }
#Top_bar.is-sticky { min-height: 94px; }
@media only screen and (max-width: 767px) {
    #Top_bar:not(.is-sticky), #Top_bar.is-sticky { min-height: 114px; }
}

/* Text container shares the native logo's exact width and horizontal position. */
#Top_bar .logo {
    position: relative;
}
#Top_bar .logo .tavbook-logo-tagline {
    padding-top: 10px;
    padding-bottom: 10px;
    position: absolute;
    top: 102px;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    color: #f2ab41;
    text-align: justify;
    text-align-last: justify;
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    white-space: nowrap;
}
@media only screen and (min-width: 768px) {
    #Top_bar.is-sticky {
        height: 90px !important;
    }
    #Top_bar.is-sticky .logo {
        height: 90px !important;
    }
    #Top_bar.is-sticky .logo .tavbook-logo-tagline {
        top: 56px;
        white-space: nowrap;
        font-size: 9.25px;
        line-height: 16px;
    }
    #Top_bar.is-sticky .top_bar_right {
        transform: translateY(15px);
    }
    #Top_bar.is-sticky a.responsive-menu-toggle {
        top: 45px !important;
    }
}
@media only screen and (max-width: 767px) {
    .mobile-header-mini #Top_bar .logo {
        height: 114px !important;
    }
    #Top_bar .logo .tavbook-logo-tagline {
        top: 73px;
        font-size: 13.5px;
        letter-spacing: -0.1px;
        line-height: 16px;
    }
}

@media only screen and (min-width: 1240px) {
    #Top_bar.is-sticky .menu_wrapper {
        transform: translateY(15px);
    }
}

.page-id-15 .tb-how-intro .column_button { padding-top: 24px; }

/* Existing Contact Form 7 form, presented in the site's Italian editorial style. */
.page-id-19 .tb-contact-form .wpcf7 {
    max-width: 800px;
}
.page-id-19 .tb-contact-fields label {
    display: block;
    color: #192065;
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 22px;
}
.page-id-19 .tb-contact-fields .tb-required {
    font-size: 13px;
    font-weight: 400;
    color: #5b6175;
}
.page-id-19 .tb-contact-fields .wpcf7-form-control-wrap {
    display: block;
    margin-top: 8px;
}
.page-id-19 .tb-contact-fields input[type="text"],
.page-id-19 .tb-contact-fields input[type="email"],
.page-id-19 .tb-contact-fields input[type="tel"],
.page-id-19 .tb-contact-fields textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 13px 15px;
    margin: 0;
    border: 1px solid #b9bfce;
    border-radius: 4px;
    background: #fff;
    color: #34394c;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.6;
}
.page-id-19 .tb-contact-fields input:focus,
.page-id-19 .tb-contact-fields textarea:focus {
    border-color: #192065;
    outline: 2px solid #192065;
    outline-offset: 2px;
}
.page-id-19 .tb-contact-fields input[type="submit"] {
    max-width: 100%;
    white-space: normal;
    background: #f2ab41;
    color: #192065;
    border: 0;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
    padding: 14px 24px;
}

/* Homepage palette: deliberately scoped away from the hero and other pages. */
body.home, .home #Wrapper, .home #Content { background-color: #d5e3f2; }
.home #Content { color: #26344a; }
.home #Content :is(h1,h2,h3,h4,h5,h6) { color: #19235b; }
.home #Content :is(h1,h2,h3,h4,h5,h6) span { color: inherit !important; }
.home #Content :is(p,li,blockquote,.testimonials_slider .author) { color: #26344a; }
.home #Content a:not(.button):not(.icon_bar):not(.image_frame) { color: #19235b; }
.home #Content .tb-home-card { border-radius: 4px; }
.home #Content .tb-home-dark :is(h1,h2,h3,h4,h5,h6,p,li) { color: #fff; }
.home #Content .tb-home-dark { color: #fff; }
.home #Footer { background-color: #19235b; color: #fff; }
.home #Footer :is(h1,h2,h3,h4,h5,h6,p,a,.copyright,li) { color: #fff; }
.home #Content .testimonials_slider .blockquote { background: #fff; color: #26344a; }
.home #Content .icon_bar { color: #19235b; background: #fff; }

/* Native BeTheme FAQ accordion, matching Tavbook editorial pages. */
.page-id-17 .tb-faq-group .accordion .question { background: #fff; border: 1px solid #d5dfef; border-radius: 4px; margin-bottom: 14px; box-shadow: none; }
.page-id-17 .tb-faq-group .accordion .question > .title { color: #19235b; background: transparent; font-size: 19px; line-height: 1.5; font-weight: 500; padding: 22px 24px 22px 60px; }
.page-id-17 .tb-faq-group .accordion .question > .title::before { display: none; }
.page-id-17 .tb-faq-group .accordion .question > .title i { color: #19235b; left: 20px; top: 25px; }
.page-id-17 .tb-faq-group .accordion .answer { background: #fff; color: #26344a; padding: 0 24px 22px 60px; }
.page-id-17 .tb-faq-group .accordion .answer p { margin-bottom: 0; }
.page-id-17 .tb-faq-group .question > .title:focus-visible { outline: 3px solid #19235b; outline-offset: 3px; }
.page-id-17 .tb-how-owners h3 { color: #fff; font-size: clamp(27px,3vw,36px); line-height: 1.3; font-weight: 500; }
@media(max-width:767px) {
 .page-id-17 .tb-faq-group .accordion .question > .title { font-size: 17px; padding: 18px 16px 18px 46px; }
 .page-id-17 .tb-faq-group .accordion .question > .title i { left: 14px; top: 20px; }
 .page-id-17 .tb-faq-group .accordion .answer { padding: 0 16px 18px 20px; }
}
.home #Content .column.tb-home-dark :is(p,li) { color: #fff; }
.page-id-17 .tb-faq-group .accordion .question > .title { position: relative; }
.page-id-17 .tb-faq-group .accordion .question > .title i { position: absolute; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; line-height: 22px; text-align: center; }

/* Two original homepage photo cards; native content/backgrounds stay in BeBuilder. */
.home #Content .tb-home-features .tb-home-feature .column_attr {
    box-sizing: border-box;
    min-height: 410px;
    padding: 76px 8% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.home #Content .tb-home-features .tb-home-feature h2 {
    font-size: clamp(28px, 2.6vw, 40px);
    line-height: 1.2;
    font-weight: 500;
    margin-bottom: 22px;
}
.home #Content .tb-home-features .tb-home-feature p {
    font-size: 17px;
    line-height: 1.7;
    max-width: 450px;
    margin-bottom: 0;
}
.home #Content .tb-home-feature .button { margin: 0; }
@media (max-width: 767px) {
    .home #Content .tb-home-features .wrap { width: 100%; padding: 0 !important; }
    .home #Content .tb-home-features .tb-home-feature .column_attr {
        margin-top: 0 !important;
        min-height: 380px;
        padding: 52px 8% !important;
    }
    .home #Content .tb-home-features .wrap + .wrap { margin-top: 24px; }
}

/* Editorial legal pages; no typography changes to marketing sections. */
.page #Content .tb-legal { color: #26344a; font-size: 17px; line-height: 1.8; }
.page #Content .tb-legal > .section_wrapper { max-width: 1100px; width: 88%; margin: auto; }
.page #Content .tb-legal :is(h1,h2,h3) { color: #19235b; font-weight: 500; }
.page #Content .tb-legal h1 { font-size: clamp(32px,3.7vw,50px); line-height: 1.2; margin-bottom: 30px; }
.page #Content .tb-legal h2 { font-size: clamp(23px,2.4vw,30px); line-height: 1.35; margin: 34px 0 18px; }
.page #Content .tb-legal p { margin-bottom: 18px; }
.page #Content .tb-legal a, .page-id-19 .tb-privacy-notice a { color: #19235b; text-decoration: underline; text-underline-offset: 3px; }
.page #Content .tb-legal strong { font-weight: 600; }
.page #Content .tb-legal .tb-legal-updated { margin-top: 36px; font-size: 14px; }
.page #Content .tb-legal-table { overflow-x: auto; margin: 24px 0; }
.page #Content .tb-legal table { background: #fff; border-collapse: collapse; width: 100%; font-size: 15px; }
.page #Content .tb-legal :is(th,td) { color: #26344a; border: 1px solid #d5dfef; padding: 16px; text-align: left; vertical-align: top; }
.page #Content .tb-legal th { background: #d5e3f2; color: #19235b; font-weight: 500; }
.page #Content .tb-legal code { overflow-wrap: anywhere; }
#Footer .tb-legal-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 16px; }
#Footer .tb-legal-links a { color: #fff; font-size: 14px; line-height: 1.7; text-decoration: underline; text-underline-offset: 3px; }
.page-id-19 .tb-privacy-notice { font-size: 14px; line-height: 1.7; margin: 24px 0; color: #26344a; max-width: 850px; }
@media(max-width:767px) {
 .page #Content .tb-legal { padding-top: 36px; padding-bottom: 44px; font-size: 16px; }
 .page #Content .tb-legal :is(th,td) { padding: 10px; font-size: 13px; }
 #Footer .tb-legal-links { justify-content: center; gap: 10px 18px; }
}
@media(max-width:767px) {
 .page #Content .tb-legal table thead {
    position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
 }
 .page #Content .tb-legal table :is(tbody,tr,td) { display: block; width: auto; }
 .page #Content .tb-legal table td { font-size: 15px; line-height: 1.7; padding: 16px; border-bottom: 0; }
 .page #Content .tb-legal table td:last-child { border-bottom: 1px solid #d5dfef; }
 .page #Content .tb-legal table td::before {
    content: attr(data-label); display: block; color: #19235b; font-weight: 500; margin-bottom: 8px;
 }
}
#Footer .tb-footer-information { list-style: none; margin: 14px 0 0; padding: 0; }
#Footer .tb-footer-information li { margin-bottom: 9px; }
#Footer .tb-footer-information a { color: #fff; line-height: 1.7; }
#Footer .tb-footer-information a:hover { text-decoration: underline; }

/* Footer brand and useful information typography. */
#Footer .tb-footer-information-title { font-size: 22px; line-height: 1.35; color: #f2ab41 !important; }
#Footer .tb-footer-information a { font-size: calc(16px - 1pt); }
#Footer .tb-footer-logo { display: inline-block; max-width: 100%; width: 300px; box-sizing: border-box; padding: 12px; border-radius: 4px; background: #fff; }
#Footer .tb-footer-logo img { display: block; width: 100%; height: auto; }

/* Copyright: reduce the existing desktop/mobile sizes by two points. */
#Footer .footer_copy .copyright { font-size: calc(16px - 2pt); }
@media (max-width: 767px) {
    #Footer .footer_copy .copyright { font-size: calc(13px - 2pt); }
}

/* Footer tagline follows the logo width at every viewport. */
#Footer .tb-footer-brand { width: 300px; max-width: 100%; container-type: inline-size; }
#Footer .tb-footer-brand .tb-footer-logo { display: block; width: 100%; }
#Footer .tb-footer-tagline {
    color: #f2ab41 !important;
    padding: 10px 0;
    font-size: clamp(10px, 6.3cqi, 19px);
    line-height: 1.5;
    white-space: nowrap;
    text-align: justify;
    text-align-last: justify;
}

/* Original homepage banner: independent diagonal panel over its native photo. */
.home #Content .tb-evening-banner-card .column_attr::before {
    content: ""; display: block; visibility: visible; width: auto; height: auto; position: absolute; inset: 0; background: #2a338e;
    clip-path: polygon(0 0,53% 0,42% 100%,0 100%); pointer-events: none;
}
.home #Content .tb-evening-banner-card .tb-banner-copy {
    position: relative; z-index: 1; width: 45%; max-width: 520px;
}
.home #Content .tb-evening-banner-card h6 { color: #fff; margin-bottom: 18px; font-size: 12px; letter-spacing: .12em; }
.home #Content .tb-evening-banner-card h2 { color: #fff; font-size: clamp(28px,2.65vw,42px); line-height: 1.25; font-weight: 500; margin-bottom: 0; }
.home #Content .tb-evening-banner-card .button { margin: 0; }
.home #Content .tb-evening-banner-card .tb-banner-photo { display: none; }
@media(max-width:1023px) {
    .home #Content .tb-evening-banner-card .column_attr { padding: 0 !important; }
    .home #Content .tb-evening-banner-card .column_attr::before { content: none; }
    .home #Content .tb-evening-banner-card .tb-banner-copy { width: auto; max-width: none; padding: 40px 8%; background: #2a338e; }
    .home #Content .tb-evening-banner-card h2 { font-size: clamp(23px,6.5vw,36px); }
    .home #Content .tb-evening-banner-card .tb-banner-photo {
        display: block; width: 100%; aspect-ratio: 2.4 / 1;
        background-image: inherit; background-size: cover; background-position: 65% center; background-repeat: no-repeat;
    }
}

/* Compact layout is exclusive to the contact form section on page 19. */
.page-id-19 .tb-contact-layout > .section_wrapper {
    display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 32px; align-items: start;
}
.page-id-19 .tb-contact-layout > .section_wrapper::before,
.page-id-19 .tb-contact-layout > .section_wrapper::after { display: none; }
.page-id-19 .tb-contact-layout > .section_wrapper > .wrap { width: 100%; min-width: 0; float: none; }
.page-id-19 .tb-contact-layout .wpcf7 { max-width: none; width: 100%; }
.page-id-19 .tb-contact-compact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.page-id-19 .tb-contact-compact .tb-contact-full { grid-column: 1 / -1; }
.page-id-19 .tb-contact-compact .tb-contact-field { min-width: 0; }
.page-id-19 .tb-contact-compact label { margin: 0; font-size: 16px; line-height: 1.4; }
.page-id-19 .tb-contact-compact .wpcf7-form-control-wrap { margin-top: 5px; }
.page-id-19 .tb-contact-compact :is(input[type=text], input[type=email], input[type=tel], select, textarea) {
    font-size: 16px; line-height: 1.4; padding: 8px 12px; margin: 0; width: 100%; min-height: 0; box-sizing: border-box;
}
.page-id-19 .tb-contact-compact :is(input[type=text], input[type=email], input[type=tel], select) { height: 40px; }
.page-id-19 .tb-contact-compact textarea { height: 116px; min-height: 116px; resize: vertical; }
.page-id-19 .tb-contact-compact p { margin: 0; }
.page-id-19 .tb-contact-compact br { display: none; }
.page-id-19 .tb-contact-compact .tb-privacy-notice { font-size: 14px; line-height: 1.55; margin: 0; }
.page-id-19 .tb-contact-compact input[type=submit] { margin: 0; padding: 10px 22px; }
.page-id-19 .tb-contact-layout .wpcf7-not-valid-tip { margin-top: 4px; font-size: 14px; line-height: 1.4; }
.page-id-19 .tb-contact-layout .wpcf7-response-output { margin: 14px 0 0; padding: 10px 12px; font-size: 16px; line-height: 1.5; }
/* The form determines the shared row height; the portrait fills that row. */
.page-id-19 .tb-contact-layout > .section_wrapper > .tb-contact-visual {
    position: relative; align-self: stretch;
}
.page-id-19 .tb-contact-visual :is(.mcb-wrap-inner, .column, .mcb-column-inner, .column_attr) { position: static; }
.page-id-19 .tb-contact-layout .tb-contact-visual .tb-contact-photo {
    position: absolute; inset: 0; display: block;
    width: 100%; height: 100%; max-width: none; max-height: none;
    aspect-ratio: auto; object-fit: cover; object-position: 50% 35%;
    margin: 0; border-radius: 4px;
}
@media(max-width:767px) {
    .page-id-19 .tb-contact-layout > .section_wrapper { grid-template-columns: minmax(0, 1fr); }
    .page-id-19 .tb-contact-compact { grid-template-columns: minmax(0, 1fr); }
    .page-id-19 .tb-contact-layout .tb-contact-visual .tb-contact-photo {
        position: static; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: contain;
    }
}

/* Native footer brand description, matching the logo box. */
#Footer .tb-footer-description { margin-top: 20px; width: 100%; text-align: left; }
#Footer .tb-footer-description p { margin: 0; color: #fff !important; font-size: 15px; line-height: 1.6; }
#Footer .tb-footer-description .tb-footer-description-lead { color: #f2ab41 !important; font-weight: 500; margin-bottom: 10px; }

/* Native right-hand footer column for SalsaItalia. */
#Footer .tb-footer-salsaitalia { text-align: left; }
#Footer .tb-salsaitalia-logo-link { display: block; width: 180px; max-width: 100%; margin-bottom: 18px; }
#Footer .tb-footer-salsaitalia .tb-salsaitalia-logo { display: block; width: 100%; height: auto; border-radius: 4px; }
#Footer .tb-footer-salsaitalia p { color: #fff !important; font-size: 15px; line-height: 1.6; margin: 0 0 14px; }
#Footer .tb-footer-salsaitalia .tb-salsaitalia-cta { color: #f2ab41 !important; font-size: 15px; line-height: 1.6; font-weight: 500; }
#Footer .tb-salsaitalia-cta:hover { text-decoration: underline; }

/* Second native footer column: Tavbook benefits. */
#Footer .tb-footer-benefits h6 { color: #f2ab41 !important; font-size: 22px; line-height: 1.35; margin-bottom: 16px; }
#Footer .tb-footer-benefits p { color: #fff !important; font-size: 15px; line-height: 1.6; margin: 0; text-align: left; }

/* Four native footer columns with modest breathing room and fine dividers. */
#Footer .widgets_wrapper > .container {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px;
}
#Footer .widgets_wrapper > .container::before,
#Footer .widgets_wrapper > .container::after { display: none; }
#Footer .widgets_wrapper > .container > .column {
    position: relative; width: 100%; min-width: 0; margin: 0; float: none;
}
#Footer .widgets_wrapper > .container > .column > .mcb-column-inner { margin: 0; }
#Footer .widgets_wrapper > .container > .column + .column::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: -18px;
    width: 1px; background: #28bffe; pointer-events: none;
}
#Footer .tb-footer-benefits h6 { font-size: 18px; letter-spacing: 0; white-space: nowrap; }
#Footer .tb-footer-benefits ul { list-style: disc outside; margin: 0; padding-left: 20px; color: #fff; font-size: 15px; line-height: 1.6; }
#Footer .tb-footer-benefits ul li { color: #fff !important; margin: 0 0 10px; padding-left: 2px; }
#Footer .tb-footer-benefits ul li::marker { color: #f2ab41; }
@media(min-width:768px) and (max-width:1023px) {
    #Footer .widgets_wrapper > .container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #Footer .widgets_wrapper > .container > .column:nth-child(3)::before { display: none; }
}
@media(max-width:767px) {
    #Footer .widgets_wrapper > .container { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    #Footer .widgets_wrapper > .container > .column + .column::before { display: none; }
}

/* Matching heading and list rhythm for the two central footer columns. */
#Footer :is(.tb-footer-benefits h6, .tb-footer-information-title) {
    font-size: 18px; line-height: 1.35; font-weight: 500;
    letter-spacing: 0; margin: 0 0 16px; white-space: nowrap;
}
#Footer :is(.tb-footer-benefits ul, .tb-footer-information) {
    list-style: disc outside; margin: 0; padding: 0 0 0 20px;
    color: #fff; font-size: 15px; line-height: 24px;
}
#Footer :is(.tb-footer-benefits ul, .tb-footer-information) li {
    margin: 0 0 10px; padding: 0 0 0 2px; min-height: 24px;
    font-size: 15px; line-height: 24px;
}
#Footer :is(.tb-footer-benefits ul, .tb-footer-information) li::marker { color: #f2ab41; }
#Footer .tb-footer-information a { font-size: inherit; line-height: inherit; }
@media(min-width:1024px) and (max-width:1239px) {
    #Footer :is(.tb-footer-benefits ul, .tb-footer-information) li { min-height: 48px; }
}
