body {
    background-color: #ffffff;
}
.bg-body {
    background-color: #eee5da;
}

header, main {
    position: relative;
    z-index: 2;
}
@media (max-width: 768px) {
    header, main {
        position: initial;
    }
    .header-bg {
        display: none;
    }
    .grecaptcha-badge {
        display: none;
    }
}

:root {
    --primary-color: #885F1F;
    --secondary-color: #68615D;
    --third-color: #F1DCB2;
}

.bg-primary{
    background-color: var(--primary-color) !important;
}

.col-primary{
    color: var(--primary-color) !important;
}

.col-secondary{
    color: var(--secondary-color) !important;
}

.col-ffffff, .col-white{
    color: #ffffff !important;
}

.evidence-menu-link a{
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

*{
    font-family: "Poppins", sans-serif;
    font-style: normal;
}

.hero-title, .slider-item h4{
    font-family: "Judson", sans-serif;
}

header {
    margin-bottom: 20px;
}

.top-bar {
    background: #885F1F;
    color: white;
    width: 100%;
    position :relative; 
    font-weight: 300;
}

.top-bar b{
    font-weight: 500;
}

.top-bar .container{
    padding:6px 0;
}

.top-bar-text {
    text-align: left;
    padding-right: 100px;
    line-height: 20px;
    font-size: 13px;
}

.top-bar-icons {
    position: absolute;
    right: 10px;
    top: calc(50% - 10px);
    display: flex;
    align-items: center;
}
@media (max-width: 768px) {
    .top-bar {
        padding: 0 10px;
    }
}

.mobile-menu-toggle {
    display: none;
    float: left;
    font-size: 36px;
    padding-left: 10px;
    color: var(--primary-color);
}

.logo-container {
    padding: 20px 0px;
    text-align: center;     
    border-bottom:1px solid #885F1F;
}

.logo-container img {
    max-width: 350px;
}

.mobile-logo{
    display:none;
}

.toggle-menu {
    display: none;
}

nav{
    width: 70%;
    max-width: 1440px;
    margin:0 auto;
    padding-top: 10px;
}

nav .menu {
    width: 100%;
    display: flex; /* Dispone le voci in riga */
    justify-content: space-between;
    list-style: none; /* Rimuove i pallini */
    padding: 0px;
    padding-bottom: 0px;
}

nav .menu li a {
    color: #39251B;
    font-family: "Judson", sans-serif;
    padding:10px;
    font-weight: 600;
    font-size: 20px;
}
nav .menu li a:hover{
    opacity:0.7;
}

@media (max-width: 1440px) {
    nav{width: 80%;}
}

@media (max-width: 1250px) {
    nav{
        width: 90%;
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* Voci di menu */
.menu > li {
  white-space: nowrap;
}

/* "Altro" come ultimo elemento */
.menu > li.othermenu {
  position: relative;
}

/* Sottomenu nascosto inizialmente */
.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;
}

/* Mostra sottovoci al passaggio su "Altro" */
.menu > li.othermenu:hover > ul.menu {
  display: flex;
}

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

/* Responsive: nasconde voci a step */
@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;
}

@media (max-width: 768px) {
    header{
        margin-bottom: 0px;
    }
    .header-main {
        box-shadow: 0 5px 9px 0 rgba(0, 0, 0, .2);
        padding: 8px;
    }        
    .mobile-logo{
        display: block;
        width: 75%;
        margin-left: 10px;
    }
    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-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: 24px;
        margin-top: 12px;
        padding: 12px 20px;
        padding-right: 30px;
        display: block;
    }
    .mobile-menu-toggle {
        display: block;
        padding-top:10px;
    }
    .logo-container img{
        height:60px;
    }
    .menu>li {
        margin-right: 1rem;
    }
    .close-menu {
        display: block;
    }
}

/* lingue */
.language-switcher {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  font-size: 14px;
  z-index: 1000;
}

.language-switcher > li {
  position: relative;
  display: inline-block;
}
.language-switcher img {
    max-width: none;
    width: 22px;
}
.language-switcher a {
  text-decoration: none;
  color: #fff;
  padding: 6px 10px;
  display: block;
  background-color: #885F1F;
  border-radius: 4px;
}

.language-switcher .language-options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #885F1F;
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: 4px;
  min-width: 100%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.language-switcher .language-options li a {
  padding: 6px 10px;
}

.language-switcher > li:hover .language-options {
  display: block;
}

/* Responsive */
@media (max-width: 576px) {
  .language-switcher {
    font-size: 13px;
  }
}


/* HERO */
.hero-section {
    background-size: cover;
    background-position: center;
    padding: 50px 0;
    color: #39251B;
    width: 100%;
}

.hero-content {
    max-width: 1440px;
    margin: 0 auto; 
}

.hero-left,
.hero-right {
    float: left;
    width: 45%;
}

.hero-left-img{
    display: none;
}

.hero-right{
    float: right;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #39251B;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #68615D;
    font-weight: 300;
    text-align: justify;
}

.hero-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #885F1F;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
    font-size: 15px;
    font-family: "Judson", sans-serif;
}

.hero-button:hover {
    background-color: #885F1F;
}

.hero-right img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* HERO WHITE */
.hero-section-white{
    /*background-color: #f5f5f5;*/
    padding-top:300px;
    padding-bottom: 250px;
    margin-top: -160px;
    background-size: cover;
    background-position: center;
    width: 100%;
}
.stamp-blog{
    margin-top: -100px;
    padding-top: 30px !important;
    /*background: #f5f5f5;*/
    padding-bottom: 30px;
}
.hero-section-white .hero-description{
    font-size: 1rem;
    font-weight :300;
}
.hero-section-white .hero-title{
    margin-top:20px;
    margin-bottom:10px;
}
.hero-section-white .hero-title, .hero-section-white .hero-description {
    color: #ffffff;
    /*padding:0px 20px;*/
}
.hero-section-white .hero-button, .hero-section-white .hero-button:hover {
    background-color: #ffffff;
    color: #885F1F;
}
.hero-section-white img {
    width: 90%;
}

.stamp-description{
    width:45%;
    color: #68615D;
}
.stamp-blog .hero-button{
    position: absolute;
    right: 10px;
    bottom: 0px;
}

.aboutus, .recipes {
    padding: 250px 20px;
    margin-bottom: 120px;
}
.aboutus-tradition {
    padding: 190px 20px;
}
@media (max-width: 768px) {
    .aboutus, .recipes {
        margin-bottom: 0;
    }
}

@media (max-width: 1200px) {
    .hero-description {
        font-size: 1rem;
    }
}

@media (max-width: 992px) {    
    .hero-section{
        padding: 20px 10px;
    }
    .hero-title{
        margin-top: 0px;
        text-align: center;
    }
    .hero-left,
    .hero-right {
        width: 100%;
    }
    .hero-left {
        text-align: center;
    }
    .hero-left-img {
        display: block;
        width: 60%;
        margin-left: 25%;
    }
    .hero-right-about img {
        display: none;
    }
    .hero-button {
        width:60%;
        text-align: center;
        margin:20px auto;
        display: block;
        font-size: 18px;        
    }
    
    .hero-section-white img{
        width:50%;
        margin-left:25%;
    }
    
    .hero-section-white{
        margin-top:-200px;
        padding-top: 300px;
        padding-bottom: 250px;
    }
    .stamp-blog{
        margin-top: -200px;
    }
    .stamp-description{
        width:100%;
    }
    .stamp-blog .hero-button{
        position: relative;
    }
}

@media (max-width: 768px) { 
    .hero-section-white img{
        width:60%;
        margin-left:20%;
    }
}

@media (max-width: 575px) { 
    .hero-section-white .hero-title{
        margin-top: 10px;
    }
    .hero-section-white img{
        width:80%;
        margin-left:10%;
    }
    .event-images{
        width:80% !important;
        margin-left:10%;
    }
}

@media (max-width: 485px) { 
    .hero-section-white img{
        width:100%;
        margin-left:0%;
    }
    .event-images{
        width:100% !important;
        margin-left:0%;
    }
}
@media (min-width: 992px) { 
    .event-images{
        width:60% !important;
        margin-bottom: 40px;
    }
    .event-section {
        margin-top: -65px;
    }
}

/********* PAGE TITLE *********/
.page-title {
    color: #39251B;
    text-align: center;
    font-size: 50px;
    margin: 25px 0 0 0;
}
@media (max-width: 575px) {
    .page-title {
        font-size: 40px;
    }
}

/********* ITEMS LIST *********/
.items-list {
    padding: 20px 0;
}
.items-list h4 {
    color: #39251B;
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 24px;
    padding: 0 10px;
}
.items-list .btn-action {
    display: block;
    text-align: center;
    background-color: inherit;
    color: #885F1F;
    border: 1px solid #885F1F;
    padding: 10px 15px;
    width: 100%;
    font-size: 15px;
    font-family: "Judson", sans-serif;
    margin-top: 20px;
}
.items-list img {
    width: 100%;
}
.items-list .item-list-content {
    margin-bottom: 50px;
}
.items-list .hero-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #885F1F;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
    font-size: 15px;
    font-family: "Judson", sans-serif;
}

.items-list .hero-button:hover {
    background-color: #885F1F;
}
@media (max-width: 768px) {
    .items-list {
        padding: 30px 10px;
    }
}

/********* BREADCRUMB *********/
.breadcrumb-nav {
    padding: 10px 0;
    font-size: 0.95rem;
}

.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    color: #39251C;
}

.breadcrumb li+li::before {
    content: "/";
    margin: 0 8px;
    color: #ccc;
}

.breadcrumb a {
    text-decoration: none;
    color: #39251C;
}

.breadcrumb a:hover {
    color: #885F1F;
}

.breadcrumb .active {
    color: #885F1F;
    font-weight: 500;
}

/* Responsive font size */
@media (max-width: 576px) {
    .breadcrumb-nav {
        font-size: 0.85rem;
    }

    .breadcrumb li+li::before {
        margin: 0 5px;
    }
}

/********* SLIDER *********/
.slider-section {
    padding: 60px 20px;
    text-align: center;
}

.slider-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.slider-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666;
}

.slider-container {
    position: relative;
    overflow: hidden;
    max-width: 1440px;
    margin: 0 auto;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-item {
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 10px;
}

.slider-item .content-box {
    padding: 5px;
}

.slider-item h4 {
    color: #39251B;
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 24px;
    padding:0 10px;
    height: 72px;
}
.slider-item .btn-action {
    background-color: #ffffff;
    color: #885F1F;
    border: 1px solid #885F1F;
    padding: 15px 25px;
    width: 100%;
    font-size: 15px;
    font-family: "Judson", sans-serif;
    text-align: center;
}

.slider-item .product-img {
    width: 100%;
    /*max-height: 200px;*/
    object-fit: contain;
}

.slider-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.arrow {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    pointer-events: auto;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 5px;
    cursor: pointer;
}

.dot.active {
    background: #885F1F;
}

.slider-button {
    margin-top: 30px;
    display: inline-block;
    padding: 12px 24px;
    background-color: #885F1F;
    color: white;
    text-decoration: none;
    font-family: "Judson", sans-serif;
    font-size: 15px;
}

@media (min-width: 576px) {
    .slider-item {
        flex: 0 0 50%;
    }
    .slider-section.recipes .slider-item:nth-child(even) {
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .slider-section{
        padding: 30px 10px;
    }
    .slider-button {
        width:60%;
        text-align: center;
        margin:0px auto;
        margin-top:30px;
        font-size: 18px;        
    }
}

@media (min-width: 768px) {    
    .slider-item {
        flex: 0 0 33.3333%;
    }
}

@media (min-width: 992px) {
    .slider-item {
        flex: 0 0 25%;
    }
}

/* PROJECT EVENT */
.home-blog {
    display: flex;
    width: 100%;
    max-width: 1200px;
    /* contenuto boxed */
    margin: 0 auto;
    min-height: 150px;
    /* altezza minima della sezione */
    padding: 20px;
    box-sizing: border-box;
}

.home-blog .content-left,
.home-blog .content-right {
    width: 50%;
    box-sizing: border-box;
}

.home-blog .content-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
}

.home-blog .content-right {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.home-blog .btn-action {
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    background-color: #885F1F;
    color: #ffffff;
    border: 0;
}
.event-images {
    width: 60%;
}

/* Responsive per schermi piccoli */
@media (max-width: 600px) {
    .home-blog {
        flex-direction: column;
        min-height: auto;
    }

    .home-blog .content-left,
    .home-blog .content-right {
        width: 100%;
    }

    .home-blog .content-right {
        justify-content: flex-start;
        margin-top: 15px;
    }
}

/* CONTACT */
.contact-section {
    background-size: cover;
    background-position: center;
    /*background-color: #f5f5f5;*/
    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: #39251B;
}

.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: #885F1F;
    color: #fff;
    font-family: "Judson", sans-serif;
    font-size: 15px;
    border: none;
    cursor: pointer;
}

.contact-form .form-submit:hover {
    background: #885F1F;
}
.thankyou-message {
    text-align: center;
    margin: 50px;
}
.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: #885F1F;
    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: #885F1F;
}

.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;
    }
}

/* FOOTER */
.site-footer {
    background: #ffffff;
    color: #68615D;
    font-size: 15px;
    padding: 20px 0;
}

.footer-top {
    padding: 20px;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    border-top: 1px solid #885F1F;
    padding-top: 50px;
}

/*.footer-col {
    width: 25%;
    padding: 0 15px;
    box-sizing: border-box;
    margin-bottom: 30px;
}*/

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

.site-footer a {
    color: inherit;
}
.footer-col p{
    margin-top:0px;
    margin-right: 10px;
}

.footer-logo {
    width: 240px;
    margin-bottom: 0px;
}
.footer-social{
    padding-left: 50px;
}

.footer-subcolumn-item {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
}
.footer-subcolumn-item i {
    font-size: 16px;
    line-height: 1;
    margin-top: 0;
    margin-bottom: 0;
    flex-shrink: 0;
    color: #885F1F;
}

.footer-subcolumn-item a,
.footer-subcolumn-item p,
.footer-subcolumn-item span {
    margin: 0;
    line-height: 1.4;
    display: inline-block;
}

.footer-subcolumn-item a {    
    margin-bottom: 10px;
    font-size: 18px;
    color: #68615D;
    text-decoration: none;
}

.footer-subcolumn-item a:not(.footer-subcolumn-item-icon-text,.footer-subcolumn-item-icon-address) {
    display: block;
    float: left;
}

.footer-subcolumn-item a.footer-subcolumn-item-icon-address{
    font-size: 15px;
}

.footer-subcolumn-item a:hover {
    opacity: 0.8;
}

[class^="footer-subcolumn-item-icon-"]{
    position: relative;
    padding-left: 24px;
}

[class^="footer-subcolumn-item-icon-"] i{
    position: absolute;
    left:0px;
    top:2px;
}

.footer-social a {
    color: #885F1F;
    margin-right: 16px;
    transition: color 0.3s;
    display: inline !important;
    float: none !important;
}

.footer-social a i{
    font-size: 24px;
}

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

.footer-bottom {
    padding: 20px 20px;
}

.footer-bottom-boxed {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    text-align: center;
    color: #68615D;
    font-size: 16px;
    border-top: 1px solid #885F1F;
}
.footer-bottom-content{
    max-width: 768px;
    margin: 0 auto;
}
.footer-bottom-boxed .footer-bottom-content div{
    float:left;
    margin-right:14px;
    font-size:15px;
    margin-top:8px;
}
.footer-bottom-boxed a {
    color: #885F1F;
}

.iub__us-widget {
    display: none !important;
}

@media (max-width: 992px) {
    .footer-social {
        display: block;
        padding-left: 0;
    }
}

@media (max-width: 650px) {
    .footer-logo{
        width: 80%;        
        margin:0 10%;
    }
    .footer-bottom-boxed .footer-bottom-content div:first-child{
        float:none;
    }
    .footer-container{
        justify-content: unset;
        gap: unset;
        padding-top: 20px;
    }
    
    .footer-column.with-2-subcolumns{
        display: block;
        width: 100%;
    }
    
    .footer-column.with-2-subcolumns .footer-subcolumn{
        width: 45%;
        margin:0px 2.5%;
        float: left;
        display: block;
    }
    
    .footer-column{
        margin-bottom: 30px;
    }
    
    .footer-column:not(.with-2-subcolumns){
        width: 100%;        
    }
    .footer-column:not(.with-2-subcolumns) .footer-subcolumn{
        text-align: center;
    }
    .footer-column:not(.with-2-subcolumns) .footer-subcolumn .footer-subcolumn-item{
        display: block;
    }
    .footer-social a{
        margin:0 8px;
    }    
}

@media (max-width: 576px) {
    .footer-col-big img{
        width: 70%;
    }
    .footer-col.footer-col-big {
        width: 100%;
        text-align: center;
    }

    .footer-col ul,
    .footer-col-right p,
    .footer-col-right a,
    .footer-social {
        /*justify-content: center;*/
        /*text-align: center;*/
    }

    .footer-social {
        display: block;
        padding-left: 0;
    }
    
    footer-social p{
        margin-bottom:0px;
    }

    .footer-col-item {
        display: block;
    }
}

@media (max-width: 485px) {
    .footer-bottom{
        padding-left:0px;
        padding-right: 0px;
        padding-top: 0px;
    }
    .footer-top{
        padding:0px;
    }
    .footer-col{
        margin-bottom:20px;
    }
    .footer-col *{
        font-size: 15px;
    }
    .footer-bottom-boxed .footer-bottom-content div{
        font-size:14px;
        margin-left:0px;
        margin-right:0px;
        padding:0 6px;
    }
}

.hero-section.about{
    padding-top: 100px;
    padding-bottom: 150px;
}

@media (max-width: 992px) {
    .hero-section.about{
        padding-top: 170px;
        margin-top: -50px   
    }
}
h1{
    font-size: 80px;
    margin:20px 0px;
    font-weight: 500;
    
}
h1, h2{
    font-family: "Judson", sans-serif;
}
.menu-category{
    border-bottom:1px solid var(--secondary-color);
    padding:20px;
    font-size: 24px; 
}
.menu-category:last-child {
    border-bottom: 0 !important;
}

.menu-category-title{
    margin-top:0px;
    font-weight:500;
}

.menu-category p{
    font-family: "Judson", sans-serif;
    margin-top: 0px;
    margin-bottom:10px;
    font-size: 24px;
}

.food-menu-item {
    display: flex;
    gap: 20px;
}
.food-menu-text {
    flex: 1;
}
.food-menu-price{
    font-family: "Judson", sans-serif;
    font-weight: 700;
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .menu-category p {
        width: 70%;
        font-size: 18px;
    }
}

/********* EVENTI *********/
.agenda-section {
    background-color: #f9f9f9;
    padding: 60px 20px;
    font-family: sans-serif;
}

.agenda-flex {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding: 40px 20px;
    flex-wrap: wrap;
    /* per sicurezza su schermi piccoli */
}

.agenda-header h2 {
    font-size: 40px;
    font-weight: bold;
    margin: 0;
}

.agenda-header p {
    margin: 10px 0 20px;
}

.agenda-btn {
    background-color: #d77e1d;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    text-decoration: none;
    font-weight: 500;
    display: block;
    text-align: center;
}

.agenda-events {
    /*flex: 1;  si prende tutto lo spazio restante */
}

.event-card {
    width: 100%;
    overflow: hidden;
}

.event-card .event-img {
    height: 250px;
    background-size: cover;
    border-radius: 6px;
}

.event-info {
    display: flex;
    gap: 18px;
    padding: 16px 0px;
}

.event-date {
    text-align: center;
    font-weight: bold;
    font-size: 24px;
    position: relative;
    color: #885F1F;
}

.event-date::before {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    background-color: #885F1F;
}

.event-date .day {
    font-size: 32px;
    line-height: 32px;
}

.event-date .month {
    display: block;
    font-size: 18px;
    line-height: 18px;
    text-transform: lowercase;
    font-weight: normal;
    color: #333;
}

.event-text strong {
    display: block;
    margin-bottom: 4px;
    margin-top: 8px;
    font-weight: 600;
    color: #885F1F;
}

.event-text p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

@media (max-width: 991px) {
    .agenda-btn {
        display: none;
    }

    .event-card {
        margin-top: 20px;
    }

    .event-date {
        text-align: right;
    }

    .event-date::before {
        width: 90px;
        height: 6px;
    }

    .event-date .day {
        font-size: 40px;
        line-height: 40px;
    }

    .event-date .month {
        font-size: 28px;
        line-height: 20px;
    }
}

/********* EVENTI *********/
/* Contenitore generale */
.event-content {
    align-items: flex-start;
    margin-top: 30px;
}
.event-left {
    padding-left: 30px;
}
/*.event-container {
    padding: 20px;
    margin-top: 30px;
}*/

/* Titolo evento */
.event-title {
    font-size: 2rem;
    margin-bottom: 15px;
}

/* Immagine principale */
.event-main-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.event-main-image {
    float: left;
}

.event-right {
    background-color: #ffffff;
    padding: 20px;
}
.event-right, .event-description, .event-notes, .event-organizer {
    color: #68615D;
}
.event-section-title {
    color: #39251B;
}
.event-right a {
    color: inherit;
    text-decoration: underline;
}

/* Icone */
.event-icon {
    width: 20px;
    margin-right: 8px;
    color: #885f1f;
}

/* Blocchi testuali */
/*.event-description,*/
.event-notes,
.event-attachments {
    margin-top: 20px;
}

/* Riga info evento */
.event-location,
.event-organizer,
.event-dates,
.event-status {
    display: flex;
    align-items: center;
    font-size: 1rem;
    margin-bottom: 15px;
}
.item-list-subtitle {
    font-size: 14px;
    padding-left: 10px;
    color: #885f1f;
}

/* Lista allegati */
.event-attachments ul {
    list-style: none;
    padding: 0;
    display: flex;
    column-gap: 10px;
}

.event-attachments li {
    margin-bottom: 5px;
}

.event-attachments a {
    color: #885F1F;
    text-decoration: none;
    font-size: 24px;
}

/* Badge per lo stato */
.event-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: bold;
    color: #fff;
    margin-left: 5px;
}

.event-badge-upcoming {
    background-color: #347eb0;
}
.event-badge-ongoing {
    background-color: #28a745;
}
.event-badge-ended {
    background-color: #4d564f;
}
.event-badge-postponed {
    background-color: #ffc107;
}
.event-badge-canceled {
    background-color: #dc3545;
}

/* ---------------------------- */
/* RESPONSIVE BREAKPOINTS      */
/* ---------------------------- */

/* Tablet e sotto (<= 992px) */
@media (max-width: 992px) {

    .event-left,
    .event-right {
        margin-bottom: 30px;
    }
}

/* Mobile (<= 576px) */
@media (max-width: 576px) {
    .event-title {
        font-size: 1.5rem;
    }

    .event-icon {
        width: 18px;
        margin-right: 6px;
    }

    .event-location,
    .event-organizer,
    .event-dates,
    .event-status {
        font-size: 0.95rem;
    }

    .event-badge {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    .event-main-image {
        float: none;
    }
}

/* 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);
    }
}

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

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

/* Immagini */
.event-gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    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;
}