/* header fixed */
header .header-absolute {width: 100%;}
header .header-absolute.header-fixed {position: fixed !important;top: 0;left: 0;z-index: 9999;box-shadow: 0 4px 12px rgba(0,0,0,.15);background-color: #2e4049 !important;padding: 5px 0;animation: headerSlideDown .4s ease forwards;}
header .header-absolute.header-fixed.header-hide {animation: headerSlideUp .4s ease forwards;}
header .header-absolute.header-fixed img.size-full {height: 60px !important;}
@keyframes headerSlideDown {from {transform: translateY(-100%);}
 to {transform: translateY(0);}}
@keyframes headerSlideUp {from {transform: translateY(0);}
 to {transform: translateY(-100%);}}

/* lingua */
header#masthead .wpml-ls-item .wpml-ls-flag, header#masthead .wpml-ls-item {width: 100%;margin-bottom: 0;}
header#masthead .wpml-ls-item .wpml-ls-link {padding: 0;}
header .wpml-ls ul {width: 21px;}

/* testo scorrevole */
.marquee {overflow: hidden;position: relative;width: 100%;padding: 30px 0; /* fade bordi*/ mask-image: linear-gradient( to right, transparent, black 10%, black 90%, transparent );}
.marquee__track {display: flex;width: max-content;animation: scroll 18s linear infinite;}
.marquee__track span {font-size: 48px;font-weight: 300;letter-spacing: 2px;white-space: nowrap;padding-right: 3rem;color: #3A504C;}
@keyframes scroll {0% { transform: translateX(0); }
 100% { transform: translateX(-50%); }}
 
/* tabelle prezzi servizi spa */
.spa-card {padding: 32px;height: 100%;}
.spa-card h3 {margin: 0 0 30px;font-size: 22px;font-weight: 600;text-transform: uppercase;color: #3A504C;}
.spa-row {display: grid;grid-template-columns: 1fr 120px;gap: 40px;padding: 16px 0;}
.spa-row div:last-child {text-align: right;}
.spa-head {font-weight: 600;border-bottom: 1px solid #2C2821;margin-bottom: 10px;padding-bottom: 12px;}
.spa-row div:first-child {color: #2C2821;line-height: 1.5;}
.spa-row div:last-child {white-space: nowrap;text-align: right;}

/* nasconde i prezzi delle camere */
.item_info_price{display: none;}

/* animazione menu full screen */
.button-popup-menu-bg {position: absolute !important;inset: 0;background: var(--accent) !important; transform-origin: top center !important;transform: scaleY(0) !important;opacity: 0.96 !important; border-radius: 0 0 80% 80% !important; transition: transform 1.4s cubic-bezier(0.65, 0, 0.35, 1), border-radius 1.1s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.6s ease !important;}
.show-menu .button-popup-menu-bg {transform: scaleY(1) !important;border-radius: 0 !important;opacity: 1 !important; transition: transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1), border-radius 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease !important;}

/* Carosello testo (Elementor widget child) */
.elementor-text-carousel-wrapper .elementor-text-carousel-slide {height: 100%;}
.elementor-text-carousel-subtitle {margin-bottom: 0.5em;text-transform: uppercase;letter-spacing: 0.08em;}
.elementor-text-carousel-title {margin: 0 0 0.75em;}
.elementor-text-carousel-title a {color: inherit;text-decoration: none;}
.elementor-text-carousel-content > :last-child {margin-bottom: 0;}
.elementor-text-carousel-button-wrap {margin-top: 1.25em;}

/* icone svg custom */
.services-icon--svg {display: inline-flex;align-items: center;justify-content: center;}
.services-icon-img {width: 48px;height: 48px;object-fit: contain;display: block;}
.scrollup{ display: none!important; }

/* Single blog */
body.single-post:not(.amoja-full-width-content) .single-content {max-width: none;margin-left: 0;margin-right: 0;}

/* titolo articoli blog */
.delta.entry-title {font-size: 28px!important;}

/* checkbox privacy */
.privacy-inline {display: flex;align-items: flex-start;gap: 10px;cursor: pointer;flex-wrap: nowrap;}
.privacy-inline input[type="checkbox"] {margin: 3px 0 0 0;flex-shrink: 0;}
.privacy-text {display: inline;line-height: 1.4;font-size: 14px;white-space: normal;font-weight: 400;}
.wpcf7 form p {margin: 0;}
.button_div {margin-top: 20px;text-align: center!important;}
/* titolo custom */
.my-title-blog {font-size: 59px;font-weight: 500;line-height: 1.55em;color: #FFFFFF;text-align: center!important;}
.newsletter-privacy span {font-weight: 400;}

/* newsletter */
.newsletter-row {display: flex;gap: 15px;align-items: stretch;}
.newsletter-email {flex: 1;}
.newsletter-button {width: 180px;}
.newsletter-button input[type="submit"] {width: 100%;height: 100%;}
.newsletter-privacy {display: flex;align-items: flex-start;gap: 10px;color: #fff;font-size: 14px;line-height: 1.5;}
.newsletter-privacy input[type="checkbox"] {margin-top: 3px;flex-shrink: 0;}
.newsletter-privacy a {color: inherit;text-decoration: underline;}

/* nasconde il fla data e autore dei post */
div.entry-footer {display: none!important;}

/* placeholder newsletter */
form input::placeholder, form textarea::placeholder, form .wpcf7-validates-as-email::placeholder, form .wpcf7-validates-as-required::placeholder {color: inherit !important;opacity: 1 !important;}
footer .wpcf7-form-control.wpcf7-email::placeholder {color: rgb(255, 255, 255) !important;opacity: 1;}
form .privacy {font-size: 14px;}
form label {font-weight: 400;}
form .privacy > span {display: inline-block !important;}
form .form-cell-50 {flex: 0 0 47%;}
form {display: flex;flex-wrap: wrap;gap: 20px;justify-content: center;}
form .form-cell-100 {flex: 0 0 100%;}
form .wpcf7-form-control.wpcf7-date {border-width: 0 0 1px 0;width: 100%;border-color: var(--border);}
.wpcf7-email::placeholder {color: rgb(255, 255, 255) !important;opacity: 1;}
footer ul { list-style: none; }

/* blog */
.post-thumbnail {opacity: 1 !important;visibility: visible !important;transform: none !important;}
.blog-grid::before {opacity: 1 !important;transform: scale(1) !important;}
.blog-grid { color: #fff !important;}
.blog-grid::before a {color: var(--primary) !important;}
.blog-grid .entry-title a,
.blog-grid .entry-excerpt,
.blog-grid .entry-excerpt p,
.blog-grid .entry-meta,
.blog-grid .entry-meta a,
.blog-grid .posted-on,
.blog-grid .post-author,
.blog-grid .post-author .text-author {color: #fff !important;}
.blog-grid .categories-link a {display: inline-block;background: #877363;color: #fff !important;padding: 6px 14px;border-radius: 999px;text-decoration: none;font-size: 13px;font-weight: 600;line-height: 1;}
.blog-grid .categories-link a:hover {background: #877363;color: #fff !important;}
.blog-grid .posted-on i {color: #fff !important;}
.blog-list {background-color: #fff!important;}


/* contatti cta */
.contact-info-box{border-radius:18px;padding:40px;}
.contact-badge{display:inline-block;background:#2E4049;color:#fff;padding:8px 18px;border-radius:50px;font-size:18px;font-weight:400;/* margin-bottom:20px; */font-family: 'Jost', sans-serif;}
.contact-info-box h2{margin:0 0 15px;font-size:34px;color:#fff; font-family: 'Ortica Linear', sans-serif;}
.contact-intro{color:#fff;line-height:1.7;margin-bottom:35px;font-family: 'Jost', sans-serif; font-size: 18px; font-weight: 400;}
.contact-list{display:flex;flex-direction:column;gap:10px;}
.contact-item{display:flex;align-items:center;gap:18px;padding:18px 22px;border:1px solid #ececec;border-radius:14px;transition:.3s;}
.contact-item:hover{transform:translateY(-3px);border-color:#2E4049;box-shadow:0 10px 30px rgba(0,0,0,.08);}
.contact-icon{width:58px;height:58px;min-width:58px;border-radius:50%;background:#2E4049;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.contact-icon i{color:#fff;font-size:22px;line-height:1;}
.contact-item > div:last-child{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px; font-family: 'Ortica Linear', sans-serif; font-weight: 400;}
.contact-item span{display:block;font-size:18px;color:#fff;margin:0;line-height:1.2; font-family: 'Jost', sans-serif;}
.contact-item a{display:block;font-size:19px !important;font-weight:400;color:#fff !important;text-decoration:none;line-height:1.3;transition:.3s; font-family: 'Jost', sans-serif;}
.contact-item a:hover{color:#2E4049 !important;}
.contact-footer{margin-top:35px;padding-top:25px;border-top:1px solid #eee;color:#fff;line-height:1.7;font-size:16px; font-family: 'Jost', sans-serif; font-weight: 400;}

/* info footer */
.contact-list {list-style: none;padding: 0;margin: 0;}
.contact-list li {margin-bottom: 12px;}
.contact-list a {display: flex;align-items: center;gap: 10px;color: #fff;text-decoration: none;font-size: 18px;}
.contact-list a :hover {color: #877363;}
.contact-list a span,
.contact-list i {color: #fff;}
.contact-list i {width: 18px;font-size: 16px;}
.contact-list li {display: flex;align-items: center;gap: 10px;margin-bottom: 12px;color: #fff;}

/* booking cta */
/* .booking-cta {background: #877363;border-radius: 18px;padding: 30px;display: flex;align-items: center;justify-content: space-between;gap: 30px;}
.booking-content h3 {color: #fff;margin: 0 0 10px;font-size: 28px;}
.booking-content p {color: #fff;margin: 0 0 20px;line-height: 1.6;}
.booking-contacts {display: flex;gap: 20px;flex-wrap: wrap;}
.booking-contacts a {color: #fff;text-decoration: none;font-size: 15px;}
.booking-contacts i {margin-right: 8px;}
.booking-button {background: #2E4049;color: #ffffff;padding: 15px 28px;border-radius: 50px;text-decoration: none;white-space: nowrap;display: inline-flex;align-items: center;gap: 10px;transition: .3s ease;}
.booking-button:hover {color: #ffffff;transform: translateY(-2px);opacity: .9;} */

/* submit form cta */
.button_div {width: 100%;text-align: center;position: relative;}
.button_div .wpcf7-submit {display: inline-block;margin: 0 auto;}
.button_div .wpcf7-spinner {position: absolute;margin-left: 10px;top: 50%;transform: translateY(-50%);}


