/*
Theme Name: Illdy Child SalernoFood
Template: illdy
Version: 1.0.0
Description: Tema child per SalernoFood Gluten Free
*/
/* =====================================================
   SALERNO FOOD GLUTEN FREE
   CTA FULL WIDTH GLOBALI
===================================================== */

.sf-global-cta-section {
    width: 100%;
    position: relative;
    padding: 92px 20px;
    box-sizing: border-box;
    overflow: hidden;

    background-color: #3b241a;
    background-image: url("assets/img/pattern.png");
    background-repeat: repeat;
    background-size: auto;
    background-position: top left;
}

.sf-global-cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(244, 183, 0, 0.22), transparent 26%),
        radial-gradient(circle at 88% 72%, rgba(255, 255, 255, 0.10), transparent 24%);
    pointer-events: none;
}

.sf-global-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(59, 36, 26, 0.94),
        rgba(59, 36, 26, 0.86)
    );
    z-index: 1;
}

.sf-global-cta-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.sf-global-cta-content {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.sf-global-cta-kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: #f4b700;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.3px;
}

.sf-global-cta-content h2 {
    margin: 0;
    color: #ffffff;
    font-size: 46px;
    line-height: 1.14;
    font-weight: 700;
}

.sf-global-cta-content p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    line-height: 1.75;
}

.sf-global-cta-decor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 24px 0 28px;
}

.sf-global-cta-decor span:first-child {
    width: 18px;
    height: 8px;
    border-radius: 50%;
    border-bottom: 3px solid #f4b700;
    transform: rotate(18deg);
    display: inline-block;
}

.sf-global-cta-decor span:last-child {
    width: 42px;
    height: 2px;
    background: #f4b700;
    display: inline-block;
}

.sf-global-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.sf-global-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 180px;
    height: 50px;
    padding: 0 30px;

    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.3px;

    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.sf-global-cta-button-primary {
    background: #f4b700;
    color: #3b241a;
    border: 1px solid #f4b700;
    box-shadow: 0 12px 26px rgba(244, 183, 0, 0.25);
}

.sf-global-cta-button-primary:hover {
    background: #ffffff;
    color: #3b241a;
    border-color: #ffffff;
    transform: translateY(-2px);
    text-decoration: none;
}

.sf-global-cta-button-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.sf-global-cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
    text-decoration: none;
}


/* VARIANTI LEGGERMENTE DIVERSE PER PAGINA */

.sf-global-cta-prodotti {
    background-color: #3b241a;
}

.sf-global-cta-chi-siamo {
    background-color: #4a3023;
}

.sf-global-cta-contatti {
    background-color: #2f201a;
}


/* RESPONSIVE */

@media screen and (max-width: 900px) {

    .sf-global-cta-section {
        padding: 76px 18px;
    }

    .sf-global-cta-content h2 {
        font-size: 38px;
    }

    .sf-global-cta-content p {
        font-size: 16px;
    }
}

@media screen and (max-width: 650px) {

    .sf-global-cta-section {
        padding: 62px 16px;
    }

    .sf-global-cta-content h2 {
        font-size: 31px;
    }

    .sf-global-cta-content p {
        font-size: 15px;
    }

    .sf-global-cta-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .sf-global-cta-button {
        width: 100%;
    }
}

@media screen and (max-width: 420px) {

    .sf-global-cta-section {
        padding: 54px 14px;
    }

    .sf-global-cta-content h2 {
        font-size: 29px;
    }
}
/* =====================================================
   SALERNO FOOD GLUTEN FREE
   SOCIAL ICONS HEADER DESKTOP
   Icone dopo il menu, cerchio bianco, ombra leggera
===================================================== */

.sf-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    width: 100%;
}

/* Menu prima dei social */
.sf-header-actions .header-navigation {
    float: none !important;
    order: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Lista menu */
.sf-header-actions .header-navigation ul {
    margin: 0;
    padding: 0;
}

/* Social dopo il menu */
.sf-header-social {
    order: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    flex-shrink: 0;
    margin-left: 8px;
}

/* Pulsante hamburger dopo tutto, ma visibile solo mobile secondo tema */
.sf-header-actions .open-responsive-menu {
    order: 3;
}

/* Icone social */
.sf-header-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
    color: #3b241a;

    font-size: 15px;
    text-decoration: none;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.20);
    border: 1px solid rgba(255, 255, 255, 0.85);

    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.sf-header-social a i {
    color: inherit;
    line-height: 1;
}

/* Hover */
.sf-header-social a:hover,
.sf-header-social a:focus {
    background: #f4b700;
    color: #3b241a;
    transform: translateY(-2px);
    box-shadow: 0 9px 24px rgba(0, 0, 0, 0.26);
    text-decoration: none;
    outline: none;
}

.sf-header-social a:focus-visible {
    outline: 3px solid #f4b700;
    outline-offset: 3px;
}

/* Mobile: social nascosti */
@media screen and (max-width: 767px) {

    .sf-header-actions {
        display: block;
    }

    .sf-header-social {
        display: none !important;
    }
}
/* =====================================================
   SALERNO FOOD GLUTEN FREE
   MENU HEADER DESKTOP - LINK IN STILE PILL
===================================================== */

@media screen and (min-width: 768px) {

    .sf-header-actions .header-navigation ul {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        margin: 0;
        padding: 0;
    }

    .sf-header-actions .header-navigation ul li {
        margin: 0;
        padding: 0;
    }

    .sf-header-actions .header-navigation ul li a {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        min-height: 36px;
        padding: 0 15px;

        border-radius: 999px;

        background: rgba(255, 255, 255, 0.88);
        color: #3b241a !important;

        font-size: 14px;
        font-weight: 700;
        line-height: 1;
        text-decoration: none;

        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
        border: 1px solid rgba(255, 255, 255, 0.75);

        transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    }

    .sf-header-actions .header-navigation ul li a:hover,
    .sf-header-actions .header-navigation ul li a:focus {
        background: #f4b700;
        color: #3b241a !important;
        transform: translateY(-2px);
        box-shadow: 0 9px 24px rgba(0, 0, 0, 0.22);
        text-decoration: none;
        outline: none;
    }

    .sf-header-actions .header-navigation ul li.current-menu-item > a,
    .sf-header-actions .header-navigation ul li.current_page_item > a {
        background: #f4b700;
        color: #3b241a !important;
    }

    .sf-header-actions .header-navigation ul li a:focus-visible {
        outline: 3px solid #f4b700;
        outline-offset: 3px;
    }
}
/* =====================================================
   SALERNO FOOD GLUTEN FREE
   HEADER PAGINE INTERNE - RIQUADRO TESTO LEGGIBILE
===================================================== */

.sf-custom-page-header {
    text-align: center;
}

.sf-custom-page-header .container {
    position: relative;
    z-index: 3;
}

.sf-custom-page-header .col-sm-12 {
    display: inline-block;
    max-width: 900px;
    padding: 34px 42px;
    border-radius: 18px;

    background: rgba(59, 36, 26, 0.68);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.sf-custom-page-header h1 {
    margin: 0 0 16px 0;
    color: #ffffff;
    font-size: 54px;
    line-height: 1.1;
    font-weight: 700;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.35);
}

.sf-page-header-subtitle {
    max-width: 780px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.94);
    font-size: 20px;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* Piccola linea decorativa sotto il titolo */
.sf-custom-page-header h1::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin: 18px auto 0;
    background: #f4b700;
    border-radius: 999px;
}


/* RESPONSIVE */

@media screen and (max-width: 768px) {

    .sf-custom-page-header .col-sm-12 {
        max-width: calc(100% - 32px);
        padding: 28px 24px;
        border-radius: 16px;
    }

    .sf-custom-page-header h1 {
        font-size: 38px;
    }

    .sf-page-header-subtitle {
        font-size: 17px;
        line-height: 1.5;
    }
}

@media screen and (max-width: 420px) {

    .sf-custom-page-header .col-sm-12 {
        max-width: calc(100% - 24px);
        padding: 24px 18px;
    }

    .sf-custom-page-header h1 {
        font-size: 32px;
    }

    .sf-page-header-subtitle {
        font-size: 15px;
    }
}
/* =====================================================
   SALERNO FOOD GLUTEN FREE
   FOOTER CHIARO
===================================================== */

.sf-site-footer {
    background-color: #f7f1e7;
    background-image: url("assets/img/pattern.png");
    background-repeat: repeat;
    background-size: auto;
    color: #3b241a;
    border-top: 1px solid rgba(59, 36, 26, 0.10);
}

.sf-footer-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.sf-footer-top-decor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 34px 20px 10px;
}

.sf-footer-top-decor span {
    width: 42%;
    max-width: 460px;
    height: 1px;
    background: rgba(59, 36, 26, 0.18);
}

.sf-footer-top-decor img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    opacity: 0.78;
}

.sf-footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1.15fr 0.9fr 1fr;
    gap: 48px;
    padding: 54px 0 50px;
}

.sf-footer-column h3 {
    margin: 0 0 22px;
    color: #3b241a;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
}

.sf-footer-column h3::after {
    content: "";
    display: block;
    width: 42px;
    height: 2px;
    margin-top: 12px;
    background: #c99739;
}

.sf-footer-logo {
    max-width: 170px;
    height: auto;
    display: block;
    margin-bottom: 22px;
}

.sf-footer-logo-text {
    font-size: 28px;
    margin-bottom: 22px;
}

.sf-footer-brand p {
    margin: 0 0 18px;
    color: #4a3a33;
    font-size: 15px;
    line-height: 1.75;
}

.sf-footer-signature {
    margin-top: 22px !important;
    color: #b8863b !important;
    font-size: 18px !important;
    font-style: italic;
    line-height: 1.45 !important;
}

.sf-footer-contact-list,
.sf-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sf-footer-contact-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    color: #4a3a33;
    font-size: 15px;
    line-height: 1.6;
}

.sf-footer-contact-list i {
    width: 18px;
    margin-top: 4px;
    color: #c99739;
    text-align: center;
}

.sf-footer a {
    color: #3b241a;
    text-decoration: none;
}

.sf-footer a:hover {
    color: #c99739;
    text-decoration: none;
}

.sf-footer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 42px;
    margin-top: 10px;
    border: 1px solid #c99739;
    border-radius: 999px;
    color: #3b241a;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.sf-footer-button:hover {
    background: #c99739;
    color: #ffffff;
    transform: translateY(-2px);
}

.sf-footer-menu li {
    border-bottom: 1px solid rgba(59, 36, 26, 0.12);
}

.sf-footer-menu li a {
    display: flex;
    justify-content: space-between;
    padding: 11px 0;
    color: #4a3a33;
    font-size: 15px;
}

.sf-footer-menu li a::after {
    content: "›";
    color: #c99739;
    font-size: 20px;
    line-height: 1;
}

.sf-footer-hours p {
    margin: 0 0 18px;
    color: #4a3a33;
    font-size: 15px;
    line-height: 1.6;
}

.sf-footer-hours strong {
    color: #3b241a;
}

.sf-footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.sf-footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(201, 151, 57, 0.65);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #3b241a;
    background: rgba(255,255,255,0.55);
    box-shadow: 0 7px 18px rgba(0,0,0,0.08);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.sf-footer-social a:hover {
    background: #c99739;
    color: #ffffff;
    transform: translateY(-2px);
}

.sf-footer-bottom {
    border-top: 1px solid rgba(59, 36, 26, 0.14);
}

.sf-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 24px;
    padding-bottom: 24px;
}

.sf-footer-bottom p {
    margin: 0;
    color: #6b584f;
    font-size: 13px;
}

.sf-footer-legal {
    display: flex;
    gap: 16px;
    align-items: center;
    color: #6b584f;
    font-size: 13px;
}

.sf-footer-legal a {
    color: #6b584f;
}


/* RESPONSIVE */

@media screen and (max-width: 1000px) {
    .sf-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 38px;
    }
}

@media screen and (max-width: 650px) {
    .sf-footer-top-decor {
        padding-top: 28px;
    }

    .sf-footer-top-decor span {
        width: 34%;
    }

    .sf-footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 40px 0 42px;
    }

    .sf-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .sf-footer-social {
        justify-content: flex-start;
    }
} 
/* =====================================================
   SALERNO FOOD GLUTEN FREE
   PAGINE LEGALI - PRIVACY E COOKIE POLICY
===================================================== */

.sf-legal-page {
    width: 100%;
    padding: 82px 20px;
    background-color: #f7f1e7;
    background-image: url("assets/img/pattern.png");
    background-repeat: repeat;
    background-size: auto;
    background-position: top left;
    box-sizing: border-box;
}

.sf-legal-container {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.88);
    border-radius: 18px;
    padding: 54px 58px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    box-sizing: border-box;
}

.sf-legal-container h1 {
    margin: 0 0 12px;
    color: #3b241a;
    font-size: 44px;
    line-height: 1.15;
    font-weight: 700;
}

.sf-legal-updated {
    margin-bottom: 34px !important;
    color: #b8863b !important;
    font-size: 14px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.sf-legal-container h2 {
    margin: 38px 0 14px;
    color: #3b241a;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 700;
}

.sf-legal-container h3 {
    margin: 28px 0 10px;
    color: #3b241a;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
}

.sf-legal-container p,
.sf-legal-container li {
    color: #4a3a33;
    font-size: 16px;
    line-height: 1.75;
}

.sf-legal-container p {
    margin: 0 0 16px;
}

.sf-legal-container ul {
    margin: 0 0 22px 22px;
    padding: 0;
}

.sf-legal-container a {
    color: #9d6c24;
    font-weight: 700;
    text-decoration: none;
}

.sf-legal-container a:hover {
    color: #3b241a;
    text-decoration: underline;
}

@media screen and (max-width: 650px) {
    .sf-legal-page {
        padding: 54px 14px;
    }

    .sf-legal-container {
        padding: 36px 24px;
        border-radius: 15px;
    }

    .sf-legal-container h1 {
        font-size: 34px;
    }

    .sf-legal-container h2 {
        font-size: 23px;
    }

    .sf-legal-container p,
    .sf-legal-container li {
        font-size: 15px;
    }
}
/* =====================================================
   SALERNO FOOD GLUTEN FREE
   BLOCCHI SEO TESTUALI
===================================================== */

.sf-seo-intro {
    width: 100%;
    padding: 56px 20px;
    background-color: #fbf7ef;
    background-image: url("assets/img/pattern.png");
    background-repeat: repeat;
    background-size: auto;
    background-position: top left;
    box-sizing: border-box;
}

.sf-seo-container {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    background: rgba(255,255,255,0.78);
    border-radius: 18px;
    padding: 38px 44px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    box-sizing: border-box;
}

.sf-seo-container h2 {
    margin: 0 0 18px;
    color: #3b241a;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
}

.sf-seo-container p {
    margin: 0 0 16px;
    color: #4a3a33;
    font-size: 16px;
    line-height: 1.75;
}

.sf-seo-container p:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 650px) {
    .sf-seo-intro {
        padding: 42px 14px;
    }

    .sf-seo-container {
        padding: 30px 24px;
        border-radius: 15px;
    }

    .sf-seo-container h2 {
        font-size: 27px;
    }

    .sf-seo-container p {
        font-size: 15px;
    }
}
/* =====================================================
   SALERNO FOOD GLUTEN FREE
   HOME JUMBOTRON - MIGLIORAMENTO LEGGIBILITÀ TESTO
   Soluzione sicura: non modifica il layout Illdy
===================================================== */

/* Mantiene la struttura originale della jumbotron */
.header-front-page .bottom-header.front-page {
    position: relative;
    z-index: 2;
}

/* Velo scuro trasparente dietro a testo e pulsanti */
.header-front-page .bottom-header.front-page::before {
    content: "";
    position: absolute;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: min(96%, 1180px);
    height: 64%;

    background: rgba(59, 36, 26, 0.58);
    border-radius: 22px;

    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.32);

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    z-index: 1;
    pointer-events: none;
}

/* Porta tutti i contenuti sopra il velo */
.header-front-page .bottom-header.front-page .container,
.header-front-page .bottom-header.front-page .row,
.header-front-page .bottom-header.front-page .col-sm-12,
.header-front-page .bottom-header.front-page h1,
.header-front-page .bottom-header.front-page p,
.header-front-page .bottom-header.front-page .section-description,
.header-front-page .bottom-header.front-page .header-button-one,
.header-front-page .bottom-header.front-page .header-button-two {
    position: relative;
    z-index: 2;
}

/* Migliora il contrasto del titolo */
.header-front-page .bottom-header.front-page h1 {
    color: #ffffff !important;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.50);
}

/* Mantiene evidenti eventuali parole colorate nel titolo */
.header-front-page .bottom-header.front-page h1 span {
    color: #f4b700 !important;
}

/* Migliora il contrasto del testo descrittivo */
.header-front-page .bottom-header.front-page p,
.header-front-page .bottom-header.front-page .section-description {
    color: rgba(255, 255, 255, 0.96) !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

/* Pulsanti più leggibili */
.header-front-page .bottom-header.front-page .header-button-one {
    background: #f4b700 !important;
    color: #3b241a !important;
    border-color: #f4b700 !important;
    box-shadow: 0 10px 26px rgba(244, 183, 0, 0.28);
}

.header-front-page .bottom-header.front-page .header-button-two {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.82) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.header-front-page .bottom-header.front-page .header-button-one:hover {
    background: #ffffff !important;
    color: #3b241a !important;
    border-color: #ffffff !important;
}

.header-front-page .bottom-header.front-page .header-button-two:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}


/* RESPONSIVE TABLET */

@media screen and (max-width: 768px) {

    .header-front-page .bottom-header.front-page::before {
        width: calc(100% - 32px);
        height: 82%;
        border-radius: 18px;
    }

    .header-front-page .bottom-header.front-page h1 {
        font-size: 38px;
        line-height: 1.18;
    }

    .header-front-page .bottom-header.front-page p,
    .header-front-page .bottom-header.front-page .section-description {
        font-size: 16px;
        line-height: 1.55;
    }
}


/* RESPONSIVE MOBILE */

@media screen and (max-width: 480px) {

    .header-front-page .bottom-header.front-page::before {
        width: calc(100% - 24px);
        height: 86%;
        border-radius: 15px;
    }

    .header-front-page .bottom-header.front-page h1 {
        font-size: 31px;
        line-height: 1.18;
    }

    .header-front-page .bottom-header.front-page p,
    .header-front-page .bottom-header.front-page .section-description {
        font-size: 15px;
        line-height: 1.5;
    }
}
/* =====================================================
   SALERNO FOOD GLUTEN FREE
   HOME - ABOUT SECTION / GALLERIE IMMAGINI
===================================================== */

/* Sfondo generale della sezione About */
#about.front-page-section {
    background-color: #f7f1e7;
    background-image: url("assets/img/pattern.png");
    background-repeat: repeat;
    background-size: auto;
    background-position: top left;
    padding-top: 84px;
    padding-bottom: 90px;
}

/* Header della sezione */
#about .section-header {
    margin-bottom: 48px;
}

#about .section-header h3 {
    color: #3b241a;
}

#about .section-header .section-description {
    color: #4a3a33;
}

/* Riquadro unico che contiene le 3 gallerie */
#about .section-content .container {
    max-width: 1180px;
}

#about .section-content .row {
    background: rgba(255, 255, 255, 0.82);
    border-radius: 22px;
    padding: 22px 30px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.10);
    box-sizing: border-box;
    align-items: center;
}
/* I tre widget/gallerie */
#about .section-content .widget {
    margin-bottom: 0;
}

/* Ogni colonna galleria */
#about .section-content .widget,
#about .section-content [class*="col-sm-4"] {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Se il widget contiene una gallery WordPress */
#about .section-content .gallery {
    width: 100%;
    height: 100%;
    margin: 0 !important;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

/* Singola immagine della gallery */
#about .section-content .gallery .gallery-item {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
}

/* Link immagine */
#about .section-content .gallery .gallery-icon,
#about .section-content .gallery .gallery-icon a {
    width: 100%;
    height: 100%;
    display: block;
}

/* Immagini tutte omogenee */
#about .section-content .gallery img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    object-position: center center;

    display: block;
    border: none !important;
    border-radius: 12px;

    box-shadow: 0 5px 14px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Effetto leggero hover */
#about .section-content .gallery img:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 22px rgba(0,0,0,0.14);
}

/* Se ci sono didascalie, le nascondiamo per mantenere pulizia */
#about .section-content .gallery-caption {
    display: none;
}

/* Titoli eventuali dei widget */
#about .section-content .widget-title,
#about .section-content h2,
#about .section-content h3 {
    margin-top: 0;
    color: #3b241a;
}


/* =====================================================
   RESPONSIVE ABOUT GALLERY
===================================================== */

@media screen and (max-width: 991px) {

    #about .section-content .row {
        padding: 28px 24px;
    }

    #about .section-content .widget,
    #about .section-content [class*="col-sm-4"] {
        min-height: auto;
        margin-bottom: 28px;
    }

    #about .section-content .widget:last-child,
    #about .section-content [class*="col-sm-4"]:last-child {
        margin-bottom: 0;
    }

    #about .section-content .gallery img {
        height: 130px;
    }
}

@media screen and (max-width: 650px) {

    #about.front-page-section {
        padding-top: 58px;
        padding-bottom: 64px;
    }

    #about .section-content .row {
        padding: 22px 18px;
        border-radius: 18px;
    }

    #about .section-content .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    #about .section-content .gallery img {
        height: 140px;
    }
}

@media screen and (max-width: 420px) {

    #about .section-content .gallery img {
        height: 120px;
    }
} 
/* =====================================================
   HOME - ABOUT SECTION
   Centra verticalmente le tre gallerie nel contenitore
===================================================== */

#about .section-content .row {
    display: flex;
    align-items: stretch;
}

/* Ogni colonna diventa un contenitore verticale */
#about .section-content [class*="col-sm-4"] {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Il widget occupa tutta la larghezza ma resta centrato verticalmente */
#about .section-content .widget {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* La galleria non deve stare attaccata in alto */
#about .section-content .gallery {
    height: auto;
    align-content: center;
}

/* Se ci sono solo immagini dentro al widget */
#about .section-content .widget_media_gallery,
#about .section-content .widget_block {
    justify-content: center;
}
@media screen and (max-width: 991px) {

    #about .section-content .row {
        display: block;
    }

    #about .section-content [class*="col-sm-4"] {
        display: block;
    }

    #about .section-content .widget {
        display: block;
    }
} /* Effetto visivo per immagini galleria cliccabili */

#about .section-content .gallery a {
    position: relative;
    display: block;
    cursor: zoom-in;
}

#about .section-content .gallery a::after {
    content: "+";
    position: absolute;
    right: 8px;
    bottom: 8px;

    width: 26px;
    height: 26px;
    border-radius: 50%;

    background: rgba(59, 36, 26, 0.78);
    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;
    line-height: 1;
    font-weight: 700;

    opacity: 0;
    transform: scale(0.86);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

#about .section-content .gallery a:hover::after {
    opacity: 1;
    transform: scale(1);
}
