/* ==========================================================================
   Template personalizzati
   ========================================================================== */
.page-content > *, .entry-content > *, .entry-summary > * {
    max-width: 1170px;
}
.wp-block-getwid-section .wp-block-getwid-section__wrapper .wp-block-getwid-section__inner-wrapper {
    max-width: 1170px;
}

/* ==========================================================================
   Template Header Trasparente
   ========================================================================== */

/* Miglioramenti per l'header trasparente */
body.absolute-menu .site-header {
    transition: all 0.3s ease;
}

/* Assicura che il logo bianco sia visibile sull'header trasparente */
body.absolute-menu .site-header .site-branding .white-logo {
    display: block;
}

body.absolute-menu .site-header .site-branding .dark-logo {
    display: none;
}

/* Migliora la visibilità del menu su sfondo trasparente */
body.absolute-menu .site-header .main-navigation #primary-menu > li > a {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

body.absolute-menu .site-header .main-navigation #primary-menu > li > a:hover {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Migliora la visibilità del titolo del sito */
body.absolute-menu .site-header .site-title a {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Overlay più scuro per migliorare la leggibilità */
body.page-has-post-thumbnail .entry-header-background:after {
    background: linear-gradient(rgba(37, 46, 89, 0.4), rgba(37, 46, 89, 0.6));
    opacity: 1;
    mix-blend-mode: overlay;
}

/* Stili per il template Header Trasparente */
/* Rimuoviamo il padding del contenuto per far iniziare dal top */
.page-template-page-trasparente .site-content {
    padding-top: 0;
    padding-bottom: 0;
}

/* Il contenuto deve iniziare dalla cima per permettere all'header di sovrapporsi */
.page-template-page-trasparente .entry-content {
    min-height: 100vh; /* Altezza minima per permettere la sovrapposizione */
}

/* Se il primo elemento del contenuto è un blocco cover o hero, 
   lo styling sarà gestito dai blocchi stessi */
.page-template-page-trasparente .entry-content > *:first-child {
    margin-top: 0;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .page-template-page-trasparente .entry-header {
        padding-top: 100px;
        padding-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .page-template-page-trasparente .entry-header {
        padding-top: 80px;
        padding-bottom: 30px;
    }
}


/* ==========================================================================
   Header - sub menu
   ========================================================================== */
.sub-menu li a {
    text-transform: none;
    text-align: left;
}
.sub-menu li:hover a,
.sub-menu li.current-menu-item > a {
    color: #191919 !important;
}

   

/* ==========================================================================
   Singola Camera - Hero Fullscreen
   ========================================================================== */

.single-mphb_room_type .site-content {
    padding: 0;
}

.room-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.room-hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.room-hero__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.15) 40%,
        rgba(0, 0, 0, 0.05) 100%
    );
    z-index: 1;
}

/* Titolo allineato al logo dell'header (stessi padding di .site-header) */
.room-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 20px;
}

.room-hero__title {
    color: #fff;
    font-family: "Playfair Display", serif;
    font-weight: 400;
    font-size: 60px;
    line-height: 1.1;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .room-hero__content {
        padding: 0 3.75rem;
    }
}


/*
.entry-content-inner-wrapper {
    background-color: #E5E2CD;
} */

.single-mphb_room_type .entry-content {
    padding: 5rem 1rem;
}

@media (max-width: 991px) {
    .room-hero {
        height: 80vh;
    }

    .room-hero__title {
        font-size: 45px;
    }
}

@media (max-width: 768px) {
    .room-hero {
        height: 70vh;
    }

    .room-hero__title {
        font-size: 36px;
    }
}


/* ==========================================================================
   Search bar nera
   ========================================================================== */

.mphb_sc_search-wrapper {
    background-color: #191919;
    color: #fff;
    padding: 20px;
    border-radius: 0px;
    padding: 0;
}
.search-absolute.mphb_sc_search-wrapper {
    /* margin-top: -75px;
    margin-bottom: -75px; */
    z-index: 999999;
    position: relative;
    padding: 0;
    margin: 0px auto;
}
.search-absolute.mphb_sc_search-wrapper form.mphb_sc_search-form {
   position: absolute;
   top: 0;
   left: 0;
    background-color: #191919;
    width: 100%;
    transform: translateY(-50%);
    margin: 0;
}

.mphb_sc_search-wrapper form.mphb_sc_search-form {
    display: flex;    
    padding: 20px 0 20px 40px;
}
.mphb_sc_search-wrapper .mphb-required-fields-tip {
    display: none;
}

.mphb_sc_search-wrapper input,
.mphb_sc_search-wrapper select{
    background-color: #2E2E2E;
    border: 0px;
    color: #ffffff;
}

.mphb_sc_search-wrapper input::placeholder{
    color: #B5B5B5;
}

.mphb_sc_search-wrapper select.mphb-unselected{
    color: #B5B5B5;
}

.mphb_sc_search-wrapper label {
    color: #ffffff;
}

.mphb_sc_search-wrapper  .mphb_sc_search-form > p.mphb_sc_search-submit-button-wrapper {
    max-width: 200px;
    padding-right: 0px;
}
.mphb_sc_search-wrapper  .mphb_sc_search-form > p.mphb_sc_search-submit-button-wrapper .button {
    background-color: #fff;
    color: #191919;
    width: 100%;
    max-width: 100%;
    height: 100%;
    border-radius: 0px;

    height: calc(100% + 40px);
    transform: translateY(-20px);
    font-weight: bold;
    font-size: 16px;
}

.mphb_sc_search-form .mphb_sc_search-children,
.mphb_sc_search-form .mphb_sc_search-adults {
    max-width: 150px;
}

/* ==========================================================================
   Single card camera
   ========================================================================== */
.mphb_sc_rooms-wrapper .type-mphb_room_type {
    border-radius: 15px;
    border: 1px solid #e5e2cd;
}

.mphb_sc_rooms-wrapper .type-mphb_room_type .mphb-room-type-images {
    border-radius: 15px;
    overflow: hidden;
}
body .mphb_sc_rooms-wrapper .type-mphb_room_type .entry-title {
    font-size: 32px;    
    font-family: 'Playfair Display', serif;
}
body .mphb-loop-room-type-attributes li:before {
    color: #5f6060;
}

.mphb-regular-price .mphb-price {    
    font-family: 'Playfair Display', serif;
    font-size: 38px;
}
body .mphb-regular-price .mphb-price-period {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: bold;
    color: #9e9477;
}



/* ==========================================================================
   Single page camera
   ========================================================================== */
.mphb_room_type-template-default .entry-content-wrapper h2 {
    font-family: 'Playfair Display', serif;
    font-size: 45px;
}
.mphb_room_type-template-default .entry-content-wrapper p {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
}

 body.single.mphb_room_type-template-default .mphb_room_type .single-room-reservation-form-wrapper {
    background-color: #BCB18F;
}

body.mphb_room_type-template-default .entry-content-wrapper .single-room-reservation-form-wrapper input[type="submit"] {
    background-color: #fff;
    color: #191919;
}


body.single.mphb_room_type-template-default .mphb_room_type .single-room-reservation-form .mphb-regular-price .mphb-price {    
    font-size: 48px;
    color: #fff;
}
body.single.mphb_room_type-template-default .mphb_room_type .single-room-reservation-form .mphb-regular-price .mphb-price-period {
    font-size: 22px;
    color: #fff;
}



.wp-block-accordion-heading__toggle:hover,
.wp-block-accordion-heading__toggle:active,
.wp-block-accordion-heading__toggle:focus {
    color: #9e9477;
    background-color: transparent;
    text-decoration: none;
}
.wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title {
    text-decoration: none;
}
.wp-block-accordion-item.is-open .wp-block-accordion-heading__toggle {
    color: #9e9477;
    /* font-weight: 600; */
}
.wp-block-accordion-item {
    border-bottom: 1px solid #e5e2cd;
    padding: 10px 0;
}
.wp-block-accordion-item .wp-block-accordion-heading__toggle-icon {
    color: #9e9477;
    font-weight: 300;
    font-family: 'Roboto', sans-serif;
    font-size: 40px;
}
.wp-block-accordion-item h3 {
    margin: 0px;
}
.wp-block-accordion-panel {
    padding-bottom: 40px;
}