@font-face {
    font-family: 'AllerDisplay';
    src: url('/frontend/fonts/AllerDisplay.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --titles-font: 'AllerDisplay';
    --text-font: 'Montserrat';
    --fourth-bg-color: #E7C123;
    --fourth-color: #E7C123;
}

*{
    padding: 0px;
    margin: 0px;
}

body{
    font-family: var(--text-font), sans-serif;
}

.justify-content-center {
    justify-content: center;
}
.center {
    text-align: center;
}
.logo{
    width: 100%;
    margin:10px auto;
    text-align: center;
}

.logo a img {
    width: 100px;
}

nav{
    width: 100%;
    background-color: var(--primary-bg-color);
    color: var(--primary-color);
}

.bg-primary{
    background-color: var(--primary-bg-color);
}
.bg-secondary{
    background-color: var(--secondary-bg-color);
}
.bg-tertiary{
    background-color: var(--tertiary-bg-color);
}
.bg-fourth{
    background-color: var(--fourth-bg-color);
}
.color-primary{
    background-color: var(--primary-color);
}

nav .menu {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 6px 0px;
}

nav .menu li{
    list-style: none;
}

nav .menu li a {
    color: var(--primary-color);
    padding:14px 10px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
}

nav .menu li a:hover{
    opacity:0.7;
}

.menu>li{
    margin-right: 10px;
}

.toggle-menu {
    display: none;
}
.submenu{
    position: relative;
}
.submenu ul{
    display: none;
    position: absolute;
    background-color: white;
    right: 0px;
    top: 100%;
    box-shadow: 0 6px 16px rgba(0,0,0,0.6);
    z-index: 10001;
    padding:4px 8px 10px;
}
.submenu>ul>li{
    padding: 8px 6px;
    min-width: 120px;
    text-align: left;
    font-size: 18px;    
}
.submenu>ul>li a{
    color: var(--tertiary-color);
}
.menu>li.submenu:hover ul{
    display: block;
}
.submenu.selected > ul{
    display:block;
}

.submenu .submenu ul{
    top: 0px;
    left: 100%;
    right: auto;
}

.menu > li {
    white-space: nowrap;
}

.menu > li.othermenu {
    position: relative;
}

.menu > li.othermenu > ul.menu {
    display: none;
    position: absolute;
    width: auto;
    top: 100%;
    right: 0;
    background: white;
    padding: 0.5rem 1rem;
    list-style: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    flex-direction: column;
    gap: 0.5rem;
    z-index: 1000;
}

.menu > li.othermenu:hover > ul.menu {
    display: flex;
}

.menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

@media screen and (max-width: 1250px) {
    .menu-voice-size-1250 { display: none !important; }
    .submenu-voice-size-1250 { display: flex !important; }
}
@media screen and (max-width: 985px) {
    .menu-voice-size-985 { display: none !important; }
    .submenu-voice-size-985 { display: flex !important; }
}
@media screen and (max-width: 855px) {
    .menu-voice-size-855 { display: none !important; }
    .submenu-voice-size-855 { display: flex !important; }
}

@media screen and (max-width: 768px) {
    /*.menu li:not(.othermenu){ display: flex !important; }*/
    .menu li.othermenu{ display: none !important; }
}

.close-menu{
    color: #ffffff;
    position: absolute;
    right: 24px;
    top: 24px;
    font-size: 36px;
    display: none;
    cursor: pointer;
}

.mobile-logo{
    display: none;   
}

.mobile-menu-toggle {
    display: none;
    position: absolute;
    font-size: 28px;
    padding:5px 8px;
    background-color: var(--primary-bg-color);    
    border-radius:5px;
    top: 30px;
    right: 20px;
}
.mobile-menu-toggle i{
    color: #ffffff;
}

@media (max-width: 768px) { 
    .logo{
        text-align: left;
        padding-left: 20px;
    }
    .mobile-logo{
        display: block;
        margin-left: 10px;
        width: 100px;
    }
    .close-menu{
        display: block;
    }
    nav {
        width: 100%;
        display: none;
        visibility: hidden;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10001;
        transition: visibility 0.4s;
        background-color: var(--primary-bg-color);
        height: 100vh;
        overflow: auto;
        padding: 10px;
    }
    nav.open{
        display: block;
        visibility: visible;
    }
    nav .menu {
        display: block;
        width: 100%;
        padding-top: 10px;
    }
    nav .menu li a {
        color: #ffffff;
        font-size: 20px;
        margin-top: 12px;
        padding: 8px 12px;
        padding-right: 30px;
        display: block;
    }
    .submenu ul{
        background-color: transparent;
        position: relative;
        box-shadow: none;
    }
    .submenu>ul>li{
        border-bottom: 0px;
        padding-left: 20px;
    }
    nav .menu li.submenu ul li a {
        /*color: var(--primary-color);*/
    }
    .mobile-menu-toggle {
        display: block;
        padding-top:10px;
    }
    .logo-container img{
        height:60px;
    }
    .menu>li {
        margin-right: 1rem;
    }
}

.header-bg-image {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    height: 400px;
    background-position: center;
    background-position-y: top;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 470px) {
    .header-bg-image {
        height: 300px;
    }
}
.page-title {
    position: relative;
    font-size: 60px;
    color: #ffffff;
    font-weight: 600;
    font-family: var(--titles-font);
    text-align:center;
}

@media screen and (max-width: 768px) {
    font-size: 44px;
}

@media screen and (max-width: 470px) {
    .page-title {
        font-size: 30px;
        line-height: 30px;
        margin-top: 0px;
    }  
}


/* FOOTER */
.iub__us-widget {
    display: none !important;
}
.grecaptcha-badge {
    display: none !important;
}
.footer-top {
    background-color: #004339;
    color: white;
    padding: 40px 20px 0;
    font-size: 14px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    flex: 1 1 200px;
    margin: 20px;
}

.footer-column.with-1-subcolumns:first-of-type {
    max-width: 150px;
    flex: 0 0 150px;
}

.footer-column.with-2-subcolumns{
    display: flex;
    gap: 40px;
}

.footer-subcolumn {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-subcolumn-item {
    margin-bottom: 8px;
    color: white;
}

.footer-subcolumn-item a {
    color: white;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-subcolumn-item a:hover {
    color: #c3e72f;
}

.footer-subcolumn-item-icon-address i,
.footer-subcolumn-item-icon-mobile i,
.footer-subcolumn-item-icon-phone i,
.footer-subcolumn-item-icon-email i {
    margin-right: 8px;
    color: #c3e72f;
}

.footer-subcolumn-item-icon-address,
.footer-subcolumn-item-icon-mobile,
.footer-subcolumn-item-icon-email {
    display: flex;
    align-items: flex-start;
    line-height: 1.4;
}

.footer-logo {
    max-width: 120px;
    height: auto;
}

.footer-social{
    line-height: 20px;
}

.footer-social p {
    text-transform: uppercase;
    margin-top: 0px;
    margin-bottom: 0px;
    font-weight: bold;
    float: left;
    margin-right: 20px;
    font-size: 20px;
}

.footer-social a {
    display: block;
    float: left;
    margin-right: 16px;
    font-size: 20px;
    color: white;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: #c3e72f;
}

.footer-subcolumn-item-text {
    font-size: 12px;
    line-height: 1.5;
    color: #ccc;
}

.footer-bottom {
    background-color: white;
    padding: 8px 0px;
    text-align: center;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .footer-column.with-1-subcolumns:first-of-type {
        max-width: 100%;
        flex:0;
    }
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-column {
        margin: 10px 0;
    }
}

.footer-subcolumn-item-icon-brand, .footer-subcolumn-item-icon-partner{
    color: var(--primary-bg-color);
}

.footer-subcolumn-item-icon-brand a, .footer-subcolumn-item-icon-partner a{
    color: var(--primary-bg-color);
    font-weight: bold;
}

/* slider */
.sr-slider-container{
    overflow: hidden;
    position: relative;
}

.sr-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.sr-slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 550px;    
}

.sr-slide .sr-slide-overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 100%);
}

.sr-slide .sr-slide-content{
    position: absolute;
    text-align: center;
    width: 800px;
    left: calc(50% - 400px);
    top: 40%;
}

.sr-slide .sr-slide-content .btn{
    display: block;
    margin:20px auto;
    border-radius: 20px 0px 20px 0px;
    font-size: 16px;
    padding:8px 12px;
    width: 200px;
    font-weight: 600;
    text-align: center;
}

.sr-slide-title {
    font-weight: 400;
    font-size: 44px;
    margin-bottom: 0px;  
}

.sr-slide-title b{
    color: white;
}

.sr-slide-subtitle {
    font-weight: 500;
    font-size: 44px;
    font-family: var(--titles-font);
}

@media (max-width: 840px) {
    .sr-slide {
        height: 300px;    
    }
    
    .sr-slide .sr-slide-content{
        width: 60%;
        left:20%;
        right:20%;
        top:30%;
        padding-left:10px;
        padding-right:10px;        
    }
    
    .sr-slide-title {
        font-size: 24px;
    }
    
    .sr-slide-subtitle{
        font-size: 28px;
    }
}

@media (max-width: 575px) {
    .sr-slide {
        height: 200px;    
    }
    
    .sr-slide .sr-slide-content{
        width: 100%;
        left:0px;
        top:30px !important;
        padding-left:10px;
        padding-right:10px;        
    }
    
    .sr-slide-title {
        font-size: 20px;
        margin-top: 20px;
    }
    
    .sr-slide-subtitle{
        font-size: 24px;
    }
}

.sr-prev, .sr-next {
    position: absolute;    
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 10;
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;    
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;    
    font-size: 20px;    
}
.sr-prev:hover, .sr-next:hover {
    opacity: 0.85;
}

.sr-prev {
    content: "\f104";
    left: 8%;
}

.sr-next {
    content: "\f105";
    right: 8%;
}

.sr-prev::before {
    content: "\f104";
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
}

.sr-next::before {
    content: "\f105";
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
}

.sr-dots {
    display: none;
    text-align: center;
    margin-top: 10px;
}

.sr-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 5px;
    background-color: gray;
    border-radius: 50%;
    cursor: pointer;
}

.sr-dots .active {
    background-color: black;
}
@media (max-width: 768px) {
    .sr-prev, .sr-next {
        width: 28px;
        height: 28px;
        font-size: 16px;   
        bottom: 10px;
        top: unset;
    }
    
    .sr-prev {
        left: 10px;
    }
    
    .sr-next {
        right: 10px;
    }
}

/* il nostro project home */
.project-section {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 400px;
}

.project-left {
    position: relative;
    width: 55%;
    background-color: #ffffff;
    padding: 0px 40px;
    box-sizing: border-box;
}

.project-section .decorative-leaf {
    position: absolute;
    left: 0;
    top: 8%;
    transform: scaleX(-1);
    opacity: 0.2;
    pointer-events: none;
    max-width: 240px;
}

.project-section .decorative-leaf img {
    width: 100%;
    height: auto;
}

.project-text {
    position: absolute;
    z-index: 2;
    max-width: 400px;
    left: calc(50% - 200px);
    top: calc(50% - 100px);
    
}

.project-text h2 {
    color: #004339;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 5px;
    font-family: var(--titles-font);
}

.project-text .underline {
    width: 50px;
    height: 4px;
    background-color: var(--primary-bg-color);
    margin-bottom: 10px;
}

.project-text p {
    color: #222;
    font-size: 16px;
    line-height: 1.6;
}

.project-right {
    width: 45%;
    background-color: var(--primary-bg-color);
    display: flex;
    align-items: end;
    padding: 0px 20px;
    padding-bottom: 0px;
    box-sizing: border-box;
    position: relative;
}

.project-image-stack {
    position: relative;
    width: fit-content;
    margin-left: -150px;
}

.project-image-stack .img-front {
    position: relative;
    z-index: 2;
    width: 280px;
}

.project-image-stack .img-back {
    position: absolute;
    top: 36px;
    left: 200px;
    z-index: 3;
    width: 220px;
    /*box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);*/
}

@media screen and (max-width: 1224px) {
    .project-image-stack{
        margin-left: -50px;
    }
}

@media screen and (max-width: 768px) {
    .project-section {
        flex-direction: column;
    }
    
    .project-left,
    .project-right {
        width: 100%;
    }
    
    .project-right{
        padding: 20px;
    }    
    
    .project-section .decorative-leaf {
        max-width: 100px;
        left: 10px;
        top: 20px;
        max-width: 150px;
        opacity:0.15;
    }
    
    .project-image-stack {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .project-image-stack .img-front,
    .project-image-stack .img-back {
        width: 60%;
        margin: 0 30px;
    }
    
    .project-right{
        display: block;        
    }
    
    .project-text{
        position: relative;
        width: 100%;
        padding:16px 0px;
        max-width: 100%;
        left: unset;
        top: unset;
    }
    
    .project-image-stack {
        display: block;
        margin-left: 0px;
    }
    
    .project-image-stack img{
        margin:0px;
    }
    
    .project-image-stack .img-back{
        position: relative;
        top: unset;
        left: unset;
        margin-top: -80px;
        float: right;
    }
}

/* servizi home page */
.services-section {
    padding: 60px 20px;
    padding-bottom: 40px;
    text-align: center;
    background: #fff;
}

.services-title {
    font-size: 32px;
    color: #004339;
    font-weight: 500;
    margin-bottom: 10px;
    font-family: var(--titles-font);
}

.services-underline {
    width: 60px;
    height: 4px;
    background-color: #94b822;
    margin: 0 auto 40px;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.services-box {
    background-color: #ffffff;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: none;
    transition: all 0.3s ease;
    margin: 10px;
}

.services-box.highlight {
    background-color: #f8f8f8;
}

.services-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px; 
}

.services-heading {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.services-box p {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

@media screen and (max-width: 768px) {
    .services-section {
        padding: 40px 0px;
    }
    
    .services-box {
        padding: 20px 60px;
        margin:10px 0px;
    }
    
    .services-icon {
        width: 60px;
        height: 60px;
    }
}

@media screen and (max-width: 768px) {
    .services-grid .col-12{
        padding:0px;
    }   
}

@media screen and (max-width: 425px) {    
    .services-box {
        margin: 0 16px;
        padding: 20px 10px;
    }
}

/* sezione eventi home */
.event-section {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 400px;
}

.event-right {
    position: relative;
    width: 55%;
    background-color: #ffffff;
    padding: 0px;
    /*padding-left: 100px;*/
    box-sizing: border-box;
}

.event-text {
    position: absolute;
    z-index: 2;
    max-width: 400px;
    left: calc(40% - 150px);
    top: calc(50% - 100px);    
}

.event-text h2 {
    color: #004339;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 5px;
    font-family: var(--titles-font);
}

.event-text .underline {
    width: 50px;
    height: 4px;
    background-color: var(--tertiary-bg-color);
    margin-bottom: 10px;
}

.event-text p {
    color: #222;
    font-size: 16px;
    line-height: 1.6;
}

.event-left {
    width: 45%;
    background-color: var(--tertiary-bg-color);
    /*display: flex;*/
    align-items: end;
    padding: 0px 30px;
    padding-bottom: 0px;
    box-sizing: border-box;
    position: relative;
    z-index:1;
}

.event-image-stack {
    float: right;
    padding-top: 60px;
}

.event-image-stack .img-front {
    position: relative;
    z-index: 2;
    width: 320px;
    /*box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);*/
}

.event-image-stack .img-back {
    z-index: 3;
    width: 240px;
    margin-right: -120px;
    /*box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);*/
}

@media screen and (max-width: 1224px){
    .event-image-stack .img-front {
        width: 220px;
    }
    
    .event-image-stack .img-back {
        width: 160px;
        margin-right: -100px;
    }
}

.event-btn{
    display: block;
    margin: 20px 0px;
    border-radius: 20px 0px 20px 0px;
    font-size: 16px;
    padding: 8px 12px;
    width: 200px;
    font-weight: 600;
    text-align: center;
    background-color: var(--tertiary-bg-color);
    color: white;
}

.event-btn:hover {
    opacity: 0.8;
}

@media screen and (max-width: 768px) {
    .event-section {        
        flex-direction: column;
    }
    
    .event-left,
    .event-right {
        width: 100%;
    }
    
    .event-left{
        display: block;        
        padding: 20px;
        order: 2;
    }
    
    .event-right{
        order: 1;
        padding:0 20px;
    }
    
    .event-image-stack {
        display: flex;
        flex-direction: column;
        position: relative;
        float: none;
        padding:0px;
    }
    
    .event-image-stack .img-front,
    .event-image-stack .img-back {
        position: static;
        width: 60%;
        margin: 0 30px;
        height: auto;
    }
    
    .event-image-stack .img-front{
        order:1;
        margin-top: -80px;
        align-self: flex-end;
        z-index: 3;
    }
    
    .event-text{
        position: relative;
        width: 100%;
        padding:16px 0px;
        max-width: 100%;
        left: unset;
        top: unset;
    }    
}

.event-gallery-section {
    padding: 80px 20px;
    text-align: center;
    background: #fff;
}

.event-gallery-title {
    font-size: 32px;
    color: #004339;
    font-weight: 500;
    margin-bottom: 10px;
    font-family: var(--titles-font);
}

.event-gallery-underline {
    width: 60px;
    height: 4px;
    background-color: #94b822;
    margin: 0 auto 40px;
}

@media screen and (max-width: 768px) {
    .event-gallery-section {
        padding: 40px 0px;
    }
}

/* fattoria didattica */
.farm-section {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 400px;
    margin-top: 40px;
}

.farm-left {
    position: relative;
    width: 55%;
    background-color: #ffffff;
    padding: 0px 40px;
    box-sizing: border-box;
}

.farm-section .decorative-leaf {
    position: absolute;
    left: 0;
    bottom: 0;
    pointer-events: none;
    max-width: 300px;
}

.farm-section .decorative-leaf img {
    width: 100%;
    height: auto;
}

.farm-text {
    position: absolute;
    z-index: 2;
    max-width: 400px;
    left: calc(60% - 200px);
    top: calc(50% - 100px);
    
}

.farm-text h2 {
    color: #004339;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 5px;
    font-family: var(--titles-font);
}

.farm-text .underline {
    width: 50px;
    height: 4px;
    background-color: var(--primary-bg-color);
    margin-bottom: 10px;
}

.farm-text p {
    color: #222;
    font-size: 16px;
    line-height: 1.6;
}

.farm-right {
    width: 45%;
    background-color: var(--secondary-bg-color);
    display: flex;
    align-items: end;
    padding: 0px 20px;
    padding-top: 60px;
    box-sizing: border-box;
    position: relative;
}

.farm-image-stack .img-front {
    z-index: 2;
    width: 240px;
    margin-left: -120px;
    /*box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);*/
}

.farm-image-stack .img-back {    
    width: 320px;
    /*box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);*/
}

@media screen and (max-width: 1224px) {
    .farm-image-stack{
        margin-left: -50px;
    }
    
    .farm-image-stack .img-front {
        width: 180px;
        margin-left: -50px;
    }
    
    .farm-image-stack .img-back {    
        width: 220px;
    }
}

@media screen and (max-width: 768px) {
    .farm-section {
        flex-direction: column;
    }
    
    .farm-left,
    .farm-right {
        width: 100%;
    }
    
    .farm-right{
        padding: 20px;
    }
    
    .farm-left{
        padding:0 20px;
    }
    
    
    .farm-section .decorative-leaf {
        max-width: 100px;
        left: 10px;
        top: 20px;
        max-width: 150px;
    }
    
    .farm-image-stack {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .farm-image-stack .img-front,
    .farm-image-stack .img-back {
        width: 60%;
        margin: 0 30px;;
    }
    
    .farm-right{
        display: block;        
    }
    
    .farm-text{
        position: relative;
        width: 100%;
        padding:16px 0px;
        max-width: 100%;
        left: unset;
        top: unset;
    }
    
    .farm-image-stack {
        display: block;
        margin-left: 0px;
    }
    
    .farm-image-stack img{
        margin:0px;
    }
    
    .farm-image-stack .img-back{
        position: relative;
        top: unset;
        left: unset;
        margin-top: -80px;
        float: right;
    }
}

.farm-btn{
    display: block;
    margin: 20px 0px;
    border-radius: 20px 0px 20px 0px;
    font-size: 16px;
    padding: 8px 12px;
    width: 200px;
    font-weight: 600;
    text-align: center;
    background-color: var(--primary-bg-color);
    color: white;
}

.farm-btn:hover {
    opacity: 0.8;
}

/* sezione inclusione home */
.inclusion-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 20px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-top: 50px;
}

/* Maschera ondulata sopra */
.inclusion-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1;
    pointer-events: none;
}

/* Box contenuto */
.inclusion-box {
    position: relative;
    z-index: 2;
    max-width: 800px;
    background: #fff;
    padding: 40px 30px;
    border-top-left-radius: 16px;
    border-bottom-right-radius: 16px;
    text-align: center;
    /*box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);*/
}
.inclusion-box ul {
    text-align: left;
    padding: 10px 20px 0px 20px;
    line-height: 2;
}

/* Icona */
.inclusion-box img {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.inclusion-box h2 {
    font-size: 28px;
    color: #004339;
    font-weight: 500;
    margin-bottom: 10px;
    padding:0px 150px;
    font-family: var(--titles-font), sans-serif;
}

.inclusion-box h2.inclusion-long-title {
    font-size: 24px;
    padding:0px 30px;
}

.inclusion-box .underline {
    width: 60px;
    height: 4px;
    margin: 0 auto 10px;
}

.inclusion-box p {
    font-size: 15px;
    color: #222;
    line-height: 1.6;
    margin-bottom: 30px;
}

.inclusion-box p strong {
    color: #000;
}

.inclusion-btn {
    display: inline-block;
    background-color: var(--secondary-bg-color);
    color: #fff;
    padding: 10px 22px;
    font-size: 14px;
    border-radius: 25px;
    text-decoration: none;
    border-radius: 20px 0px 20px 0px;
}

.inclusion-btn:hover {
    opacity: 0.8;
}

@media screen and (max-width: 768px) {
    .inclusion-section {
        padding-top: 10px;
    }
    .inclusion-box {
        padding: 30px 20px;
    }
    
    .inclusion-box h2 {
        padding:0px;
    }
    
    .inclusion-box p {
        font-size: 14px;
    }
    
    .inclusion-box img {
        width: 42px;
        height: 42px;
    }
}

@media screen and (max-width: 768px) {
    .inclusion-box h2 {
        font-size: 26px;
    }
}

/* sezione village home */
.village-section {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 400px;
}

.village-right {
    position: relative;
    width: 55%;
    background-color: #ffffff;
    padding: 0px 20px;
    box-sizing: border-box;
}

.village-section .decorative-leaf {
    position: absolute;
    right: 0;
    bottom: 0;
    pointer-events: none;
    max-width: 500px;
}

.village-section .decorative-leaf img {
    width: 100%;
    height: auto;
}

.village-text {
    position: absolute;
    z-index: 2;
    max-width: 400px;
    left: calc(40% - 200px);
    top: calc(50% - 100px);
    
}

.village-text h2 {
    color: #004339;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 5px;
    font-family: var(--titles-font);
}

.village-text .underline {
    width: 50px;
    height: 4px;
    background-color: var(--tertiary-bg-color);
    margin-bottom: 10px;
}

.village-text p {
    color: #222;
    font-size: 16px;
    line-height: 1.6;
}

.village-left {
    width: 45%;
    align-items: end;
    padding: 0px 20px;
    padding-bottom: 0px;
    box-sizing: border-box;
    position: relative;
    background-color: var(--primary-bg-color);
}

.village-image-stack {
    float: right;
    padding-top: 60px;
}

.village-image-stack .img-front {
    position: relative;
    z-index: 2;
    width: 240px;
    margin-right: 50px;
    /*box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);*/
}

.village-image-stack .img-back {
    position: absolute;
    bottom: 28px;
    right: -170px;
    z-index: 1;
    width: 240px;
    /*box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);*/
}

@media screen and (max-width: 1224px) {
    .village-image-stack .img-front {
        width: 220px;
        margin-right: 120px;
    }
    
    .village-image-stack .img-back {    
        width: 220px;
        right: -30px;
    }
}

.village-btn{
    display: block;
    margin: 20px 0px;
    border-radius: 20px 0px 20px 0px;
    font-size: 16px;
    padding: 8px 12px;
    width: 200px;
    font-weight: 600;
    text-align: center;
    background-color: var(--primary-bg-color);
    color: white;
}

.village-btn:hover {
    opacity: 0.8;
}

@media screen and (max-width: 1224px) {
    .village-image-stack{
        margin-left: -50px;
    }
}

@media screen and (max-width: 768px) {
    .village-section {        
        flex-direction: column;
    }
    
    .village-left,
    .village-right {
        width: 100%;
    }
    
    .village-left{
        display: block;        
        padding: 20px;
        order: 2;
    }
    
    .village-right{
        order: 1;
    }
    
    .village-section .decorative-leaf {
        max-width: 100px;
        right: 10px;
        bottom: 20px;
        max-width: 150px;
    }
    
    .village-image-stack {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        width: fit-content;
        padding-top:0px;
    }
    
    .village-image-stack .img-front,
    .village-image-stack .img-back {
        width: 60%;
        margin: 0 30px;;
    }
    
    .village-text{
        position: relative;
        width: 100%;
        padding:16px 0px;
        max-width: 100%;
        left: unset;
        top: unset;
    }
    
    .village-image-stack {
        display: block;
        margin-left: 0px;
    }
    
    .village-image-stack img{
        margin:0px;
    }
    
    .village-image-stack .img-back{
        position: relative;
        bottom: unset;
        right: unset;
        /*margin-top: -80px;*/
        float: left;
    }
    
    .village-image-stack .img-front{
        float: right;
        margin-top: -80px;
        z-index: 4;
        margin-right: 0px;
    }
}

/* bed breakfast */
.bb-section {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 400px;
    margin-top: 40px;
}

.bb-left {
    position: relative;
    width: 55%;
    background-color: #ffffff;
    padding: 0px 40px;
    box-sizing: border-box;
}

.bb-text {
    position: absolute;
    z-index: 2;
    max-width: 500px;
    left: calc(50% - 200px);
    top: calc(50% - 100px);
    
}

.bb-text h2 {
    color: #004339;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 5px;
    font-family: var(--titles-font);
}

.bb-text .underline {
    width: 50px;
    height: 4px;
    background-color: rgba(231, 193, 35, 1);
    margin-bottom: 10px;
}

.bb-text p {
    color: #222;
    font-size: 16px;
    line-height: 1.6;
}

.bb-right {
    width: 45%;
    background-color: rgba(231, 193, 35, 1);
    display: flex;
    align-items: end;
    padding: 0px 20px;
    padding-bottom: 0px;
    box-sizing: border-box;
    position: relative;
}

.bb-image-stack {
    position: relative;
    width: fit-content;
    margin-left: -150px;
}

.bb-image-stack .img-front {
    position: relative;
    z-index: 2;
    width: 280px;
}

.bb-image-stack .img-back {
    position: absolute;
    top: 40px;
    left: 230px;
    z-index: 3;
    width: 260px;
}

.bb-btn{
    display: block;
    margin: 20px 0px;
    border-radius: 20px 0px 20px 0px;
    font-size: 16px;
    padding: 8px 12px;
    width: 200px;
    font-weight: 600;
    text-align: center;
    background-color: rgba(231, 193, 35, 1);
    color: white;
}

.bb-btn:hover {
    opacity: 0.8;
}

@media screen and (max-width: 1224px) {
    .bb-image-stack{
        margin-left: -50px;
    }
}

@media screen and (max-width: 768px) {
    .bb-section {
        flex-direction: column;
    }
    
    .bb-left,
    .bb-right {
        width: 100%;
    }
    
    .bb-right{
        padding: 20px;
    }
    
    .bb-image-stack {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .bb-image-stack .img-front,
    .bb-image-stack .img-back {
        width: 60%;
        margin: 0 30px;;
    }
    
    .bb-right{
        display: block;        
    }
    
    .bb-text{
        position: relative;
        width: 100%;
        padding:16px 0px;
        max-width: 100%;
        left: unset;
        top: unset;
    }
    
    .bb-image-stack {
        display: block;
        margin-left: 0px;
    }
    
    .bb-image-stack img{
        margin:0px;
    }
    
    .bb-image-stack .img-back{
        position: relative;
        top: unset;
        left: unset;
        margin-top: -80px;
        float: right;
    }
}

/* page left item */
.page-left-item-section {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 400px;
    margin-bottom: 50px;
}

.page-left-item-left {
    position: relative;
    width: 55%;
    background-color: #ffffff;
    padding: 0px 40px;
    box-sizing: border-box;
}

.page-left-item-section .decorative-leaf {
    position: absolute;
    left: 0;
    top: 8%;
    transform: scaleX(-1);
    opacity: 0.2;
    pointer-events: none;
    max-width: 240px;
}

.page-left-item-section .decorative-leaf img {
    width: 100%;
    height: auto;
}

.page-left-item-text {
    position: absolute;
    z-index: 2;
    max-width: 400px;
    left: calc(60% - 200px);
    top: calc(50% - 150px);
    
}

.page-left-item-text h2 {
    color: #004339;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 5px;
    font-family: var(--titles-font);
}

.page-left-item-text .underline {
    width: 50px;
    height: 4px;
    margin-bottom: 10px;
}

.page-left-item-text p {
    color: #222;
    font-size: 16px;
    line-height: 1.6;
}

.page-left-item-right {
    width: 45%;
    display: flex;
    align-items: end;
    padding: 0px 20px;
    padding-bottom: 0px;
    box-sizing: border-box;
    position: relative;
}

.page-left-item-image-stack {
    position: relative;
    width: fit-content;
    margin-left: -150px;
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-left-item-image-stack .img-front {
    position: relative;
    z-index: 2;
    width: 280px;
}

.page-left-item-image-stack .img-back {
    position: absolute;
    top: 90px;
    left: 200px;
    z-index: 3;
    width: 220px;
    /*box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);*/
}

@media screen and (max-width: 1224px) {
    .page-left-item-image-stack{
        margin-left: -50px;
    }
}

@media screen and (max-width: 768px) {
    .page-left-item-section {
        flex-direction: column;
    }
    
    .page-left-item-left,
    .page-left-item-right {
        width: 100%;
    }
    
    .page-left-item-right{
        padding: 20px;
    }    
    
    .page-left-item-section .decorative-leaf {
        max-width: 100px;
        left: 10px;
        top: 20px;
        max-width: 150px;
        opacity:0.15;
    }
    
    .page-left-item-image-stack {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .page-left-item-image-stack .img-front,
    .page-left-item-image-stack .img-back {
        width: 60%;
        margin: 0 30px;
    }
    
    .page-left-item-right{
        display: block;        
    }
    
    .page-left-item-text{
        position: relative;
        width: 100%;
        padding:16px 0px;
        max-width: 100%;
        left: unset;
        top: unset;
    }
    
    .page-left-item-image-stack {
        display: block;
        margin-left: 0px;
    }
    
    .page-left-item-image-stack img{
        margin:0px;
    }
    
    .page-left-item-image-stack .img-back{
        position: relative;
        top: unset;
        left: unset;
        margin-top: -80px;
        float: right;
    }
}

/* page right item */
.page-right-item-section {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 400px;
    margin-bottom: 50px;
}

.page-right-item-right {
    position: relative;
    width: 55%;
    background-color: #ffffff;
    padding: 0px;
    /*padding-left: 100px;*/
    box-sizing: border-box;
}

.page-right-item-text {
    position: absolute;
    z-index: 2;
    max-width: 400px;
    left: calc(40% - 150px);
    top: calc(50% - 160px);    
}

.page-right-item-text h2 {
    color: #004339;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 5px;
    font-family: var(--titles-font);
}

.page-right-item-text .underline {
    width: 50px;
    height: 4px;
    margin-bottom: 10px;
}

.page-right-item-text p {
    color: #222;
    font-size: 16px;
    line-height: 1.6;
}

.page-right-item-left {
    width: 45%;
    /*display: flex;*/
    align-items: end;
    padding: 0px 30px;
    padding-bottom: 0px;
    box-sizing: border-box;
    position: relative;
    z-index:1;
}

.page-right-item-image-stack {
    float: right;
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-right-item-image-stack .img-front {
    position: relative;
    z-index: 2;
    width: 320px;
    /*box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);*/
}

.page-right-item-image-stack .img-back {
    z-index: 3;
    width: 240px;
    margin-right: -120px;
    position: absolute;
    top: 100px;
    right: -40px;
    /*box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);*/
}

@media screen and (max-width: 1224px){
    .page-right-item-image-stack .img-front {
        width: 220px;
    }
    
    .page-right-item-image-stack .img-back {
        width: 160px;
        margin-right: 0px;
    }
}

.page-right-item-btn{
    display: block;
    margin: 20px 0px;
    border-radius: 20px 0px 20px 0px;
    font-size: 16px;
    padding: 8px 12px;
    width: 200px;
    font-weight: 600;
    text-align: center;
    background-color: var(--tertiary-bg-color);
    color: white;
}

.page-right-item-btn:hover {
    opacity: 0.8;
}

@media screen and (max-width: 768px) {
    .page-right-item-section {        
        flex-direction: column;
    }
    
    .page-right-item-left,
    .page-right-item-right {
        width: 100%;
    }
    
    .page-right-item-left{
        display: block;        
        padding: 20px;
        order: 2;
    }
    
    .page-right-item-right{
        order: 1;
        padding:0 20px;
    }
    
    .page-right-item-image-stack {
        display: flex;
        flex-direction: column;
        position: relative;
        float: none;
        padding:0px;
    }
    
    .page-right-item-image-stack .img-front,
    .page-right-item-image-stack .img-back {
        position: static;
        width: 90%;
        height: auto;
        margin: 0;
    }
    
    .page-right-item-image-stack .img-front{
        order:1;
        margin-top: -80px;
        align-self: flex-end;
        z-index: 3;
    }
    
    .page-right-item-text{
        position: relative;
        width: 100%;
        padding:16px 0px;
        max-width: 100%;
        left: unset;
        top: unset;
    }    
}

/* CONTACT */
.contact-section {
    background-size: cover;
    background-position: center;
    padding: 200px 20px;
    position: relative;
    margin-bottom: 200px;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.contact-form-wrapper {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin: 30px 0;
    text-align: center;
}
.contact-form-float {
    margin-bottom: -250px;
    max-width: 600px;
}
.contact-form .form-input,
.contact-form .form-textarea {
    border-radius: 0 !important;
}

.contact-form h2 {
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 600;
    color: #004339;
}

.contact-form .form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.contact-form .cols-2>* {
    flex: 1 1 50%;
}

.contact-form .form-input,
.contact-form .form-textarea {
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
}

.contact-form .form-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .form-submit {
    width: 100%;
    padding: 14px;
    background: #90b424;
    color: #fff;
    font-size: 15px;
    border: none;
    cursor: pointer;
}

.contact-form .form-submit:hover {
    background: #90b424;
}
.thankyou-message {
    text-align: center;
    margin: 50px;
}
.thankyou-message a {
    margin: 20px auto;
}
.obligatory-field {
    text-align: left;
    display: block;
    margin-bottom: 20px;
    font-size: 14px;
}

.social {
    margin-top: 1rem;
}

.social strong {
    display: block;
    margin-bottom: 0.3rem;
}

.social-icons a {
    display: inline-block;
    text-decoration: none;
    background-color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
    transition: opacity 0.2s;
}

.social-icons a i {
    color: var(--tertiary-color);
    font-size: 18px;
    line-height: 44px;
}

.social-icons a:hover {
    opacity: 0.7;
}

.contact-info {
    background-color: #ffffff;
    padding: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 16px;
}
.contact-info ul {
    list-style: none;
    padding-left: 0;
}
.contact-info ul li {
    line-height: 2;
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
}
.contact-info ul li i {
    font-size: 16px;
    line-height: 1;
    margin-top: 0;
    margin-bottom: 0;
    flex-shrink: 0;
    color: var(--tertiary-color);
}

.contact-info ul li a,
.contact-info ul li p,
.contact-info ul li span {
    margin: 0;
    line-height: 1.4;
    display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-form .cols-2>* {
        flex: 1 1 100%;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    .contact-section {
        padding: 100px 20px;
    }
}

/* Galleria */
/*.event-gallery {
    margin-top: 40px;
}*/

.event-gallery-grid {
    display: grid;
    gap: 15px;
    margin-top: 15px;
}

.gallery-description {
    text-align: center;
    margin-bottom: 30px;
}

/* Desktop: 4 colonne fisse */
@media (min-width: 768px) {
    .event-gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        margin:0 16px;
    }
}

/* Tablet: 3 colonne */
@media (max-width: 767.98px) {
    .event-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        margin:0 16px;
    }
}

/* Mobile: 2 colonne */
@media (max-width: 576px) {
    .event-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Immagini */
.event-gallery-grid img {
    width: 100%;
    height: 255px;
    object-fit: cover;
}
@media (max-width: 576px) {
    .event-gallery-grid img {
        height: 155px;
        object-fit: cover;
    }
}
#calendar-event{
    background-image: url(/frontend/images/calendar-background.png);
    background-size: cover;
    background-position: center;
    color: var(--third-color);
    padding: 10px;
    border-radius: 10px;    
}


.cp-calendar-prev-month {
    color: var(--third-color);
}

.cp-calendar-next-month {
    color: var(--third-color);
}

.cp-calendar-month, .cp-month-day{
    font-weight: 400;
    font-family: "Judson", sans-serif;
}

.cp-calendar-month{
    font-size: 30px;
}

.cp-month-day.cp-prev-month, .cp-month-day.cp-next-month{
    background-color: transparent;
    opacity: 0.7;
}
.cp-week-day.cp-week-end, .cp-month-day.cp-week-end{
    color:#eda969;
}

.cp-month-day:not(.disabled):active, .cp-month-day:not(.disabled):hover, .cp-month-day.selected{
    background-color: transparent !important;
    color: var(--third-color) !important;
    border:1px solid var(--third-color);
}

.cp-month-day.is-past{
    background-color: transparent !important;
    color: var(--third-color) !important;
    border:1px solid var(--third-color);
    opacity: 0.7;
}

.flex {
    display: flex;
    justify-content: space-around;
}

.calendar{
    border-radius: 10px;
    background-color: white;
    border:1px solid;
}

.week-day{
    font-weight: 600;
    text-align: center;
    min-width: 40px;
}

.week-day.week-end{
    font-weight: bold;
    color: #d32f2f;
}

.month-day.week-end{
    color: #d32f2f;
}

.weeks-days{
    border-bottom: 1px solid;
    padding-bottom: 10px;
    margin-bottom:10px;    
}

.calendar-header{
    display: table;
    width: 100%;    
    padding:5px;
    margin-bottom:10px;
}

.calendar-prev-month{
    display: table-cell;
    width: 30px;
    font-size: 20px;
    cursor: pointer;
    color: #333333;
}

.calendar-next-month{
    display: table-cell;
    width: 30px;
    text-align: right;
    font-size: 20px;
    cursor: pointer;
    color: #333333;
}

.calendar-prev-month:hover, .calendar-next-month:hover{
    opacity: 0.8;
}

.calendar-month{
    display: table-cell;
    text-align: center;
    font-weight: bold;
}
.month-day{
    text-align: center;
    padding:8px 0;
    min-width: 40px;
    color: #000000;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50%;
    position: relative;
    border:1px solid transparent;
    margin:6px 0px;
}

@media only screen and (max-width: 769px){
    .col-o770-2.is-empty {
        display: none;
    }
}

@media only screen and (min-width: 770px) {     
    .col-o770-2{
        width: 50%;
        float: left;
    }
}

@media only screen and (min-width: 990px) { 
    .col-o990-3{
        width: 33.3333%;
        float: left;
    }
}

@media only screen and (max-width: 770px) {       
    .col-u771-hidden{
        display: none;
    }
}

@media only screen and (max-width: 990px) { 
    .col-u991-hidden{
        display: none;
    }
}

.availability-yes{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    bottom:3px;
    left:calc(50% - 4px);
}

.badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: red;
    border-radius: 10px;
    font-size: 12px;
    padding-left: 5px;
    padding-right: 5px;
}

.badge:empty{
    display: none;
}

.calendar-prev-month {
    color: var(--third-color);
}

.calendar-next-month {
    color: var(--third-color);
}

.calendar-month, .month-day{
    font-weight: 900;
    font-family: "Judson", sans-serif;
    color: var(--third-color);
    font-size: 20px;
}

.calendar-month{
    font-size: 30px;
}

.month-day.prev-month, .month-day.next-month{
    background-color: transparent;
    opacity: 0.7;
}
.week-day.week-end, .month-day.week-end{
    color:#eda969;
}

.month-day:not(.disabled):active, .month-day:not(.disabled):hover, .month-day.selected{
    background-color: transparent !important;
    color: var(--third-color) !important;
    border:1px solid var(--third-color);
}
.month-day.is-past{
    background-color: transparent !important;
    color: var(--third-color) !important;
    border:1px solid var(--third-color);
    opacity: 0.7;
}

#fixed-booking-button-container{
    display: none;
    z-index: 100;
    position: fixed;
    left: 0; right: 0;
    bottom: env(safe-area-inset-bottom);
    background: #fff;
    padding: 12px 16px;
    box-shadow: 0 -6px 20px rgba(0,0,0,.08);
    z-index: 9999;    
    justify-content: center;
}

.fixed-booking-button{
    display: block;
    margin:0 auto;
    padding:8px 12px;
    border-radius: 20px 0px 20px 0px;
    font-size: 16px;
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    background-color: var(--primary-bg-color);    
    width: 220px;
}

/* Desktop: 4 colonne fisse */
@media (max-width: 768px) {
    #fixed-booking-button-container{
        display: block;        
    }
    body{
        padding-bottom: 84px;
    }
}

.contact-btn{
    display: block;
    margin: 20px auto;
    border-radius: 20px 0px 20px 0px;
    font-size: 16px;
    padding: 8px 12px;
    width: 200px;
    font-weight: 600;
    text-align: center;
    background-color: var(--primary-bg-color);
    color: white;
}

.contact-btn:hover {
    opacity: 0.8;
}

@media screen and (min-width: 768px) {
    .contact-btn:hover {
        cursor: default;
        opacity: 1;
    }
}
.video-container {
    position: relative;
    text-align: center;
    z-index: 1;
}
.video-container .bg-overlay {
    background: rgb(34 34 34 / 30%);
    position: absolute;
    width: 100%;
    display: block;
    z-index: 98;
    height: 100%;
}

.video-text {
    display: flex;
    flex-direction: column;
    justify-content: start;
    position: absolute;
    left: 0;
    top: 14%;
    right: 0;
    bottom: 0;
    color: white;
    padding-top: 10rem;
    padding-bottom: 0;
    z-index: 99;
}
.video-text h1 {
    font-size: 45px;
    margin: 0 0 10px 0;
    font-family: var(--titles-font);
    font-weight:200;
}
.video-text h2 {
    font-size: 65px;
    margin: 0;
    font-family: var(--titles-font);
}

.video-cover{
  position: relative;
  width: 100%;
  overflow: hidden;
}

.cover-16-9   { aspect-ratio: 16 / 9; }
.cover-9-16  { aspect-ratio: 9 / 16;display:none; }

.video-cover iframe{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 0;
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100vh;
}

.cover-16-9 iframe{
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100vh;
}

.cover-9-16 iframe{
  width: 56.25vh;
  height: 100vh;
  min-width: 100vw;
  min-height: 177.78vw;
}

@media screen and (max-width: 768px) {   
    .cover-16-9   {display:none; }
    .cover-9-16  {display:block; }    
}

@media (max-width: 768px) {
    .video-text{
        top: 10%;
        padding-left: 12px;
        padding-right: 12px;
    }
    .video-text h1 {
        font-size: 28px;
    }
    .video-text h2 {
        font-size: 32px;
    }
}

@media screen and (max-width: 768px) {
    .main-nav .menu > li:not(.othermenu) {
        display:block !important;
    }
    
    .main-nav .menu > li.submenu > a {
        position: relative;
    }
    
    .main-nav .menu > li.submenu > a::before {
        font-family: "Font Awesome 6 Pro";
        font-weight: 900;
        content: "\f078";
        position: absolute;
        right: 0.5em;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.2s ease;
        pointer-events: none;
    }
    
    .main-nav .menu > li.submenu.menu-open > a::before {
        content: "\f077"; /* fa-chevron-up */
    }
    
    .main-nav .menu > li.submenu > ul {
        display: none;
    }
    .main-nav .menu > li.submenu.menu-open > ul {
        display: block;
    }
}

.about-slogan{
    max-width: 800px;
    margin-left: auto;    
    margin-right: auto;    
}

@media screen and (max-width: 768px) {
    .about-slogan .services-title{
        padding-left: 24px !important;
        padding-right: 24px !important;
        font-size: 24px !important;
        line-height: 32px !important;
    }
}