/* =====================
   RESET BASE
===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



body {
    font-family: 'Sofia Sans Semi Condensed', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto; 
}


/* =====================
   TIPOGRAFIA BASE
===================== */

h1, h2, h3 {
    font-family: 'Sofia Sans Semi Condensed', Arial, sans-serif;
    font-weight: 600;
    margin-bottom: 10px;
    color: #111;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 10px;
}

p.sottotitolo {
    color: #F39B42;
    font-weight: 700;
}

/* =====================
   VERSIONE MOBILE
===================== */

@media (max-width: 768px) {
    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.7rem; }
    h3 { font-size: 1.3rem; }

    p { font-size: 1.4rem; }
}




/* =====================
   LINK GLOBALI
===================== */
a {
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {

    text-decoration: underline;
}

/* =====================
   CLASSI UTILI GLOBALI
===================== */
.container {
    max-width: 1500px;     /* limite massimo */
    width: 100%;           /* si adatta allo schermo */
    margin: 0 auto;        /* centrato */
    padding: 0 15px;       /* padding sinistro e destro */
    box-sizing: border-box;
}


.text-center {
    text-align: center;
}


.container_review {
    max-width: 1500px;    /* massimo desktop */
    width: 100%;          /* occupa tutto lo spazio disponibile */
    margin: 0 auto;       /* centrato orizzontalmente */
    padding: 0 14px;      /* spazio dai bordi */
    box-sizing: border-box;
}

.text-center_review {
    text-align: center;
}




/* =====================
   CONTAINER SPAZIATORE
===================== */
.spacer {
    height: 30px; /* altezza dello spazio */
    width: 100%;  /* opzionale, prende tutta la larghezza */
}


/* =====================
   CONTAINER 2 BLOCCHI COLORATI
===================== */

.full-width-row {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* importante per padding/margin */
}

.full-width-col {
    display: flex;
    flex-direction: column; /* contenuto verticale dentro la colonna */
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden; /* evita che contenuti troppo larghi escano */
}

/* CONTENIMENTO IMMAGINI */
.full-width-col img {
    max-width: 100%;   /* mai più larga della colonna */
    height: auto;      /* mantiene proporzioni */
    display: block;    /* elimina gap sotto immagini */
}

/* MOBILE: colonne impilate e contenuti adattivi */
@media (max-width: 768px) {
    .full-width-row {
        flex-direction: column; /* stack verticale */
    }

    .full-width-col {
        flex: 1;               /* prendono tutta la larghezza */
        padding: 15px;         /* padding più piccolo su mobile */
    }
}


/* BASE X BOTTONI */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 22px;
    border-radius: 30px; /* rounded */
    border: none;

    font-family: inherit;   /* usa il font del sito */
    font-size: 1rem;
    font-weight: 600;

    cursor: pointer;
    text-decoration: none;
    line-height: 1;

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

/* VARIANTI COLORE */
.btn-primary {
    background-color: #FFCC00;
    color: #000;
}

.btn-secondary {
    background-color: #373737;
    color: #fff;
}

.btn-slider {
    background-color: #FB8B1D;
    color: #fff;
}

.btn-cookie {
    background-color: #0078FF;
    color: #fff;
}

.btn-outline {
    background-color: #DCDBDA;
    color: #61605F;
    border: 2px solid #61605F;
}

/* HOVER */
.btn-primary:hover {
    background-color: #e6b800;
}

.btn-cookie:hover {
    background-color: #0064D1;
}

.btn-secondary:hover {
    background-color: #444;
}

.btn-outline:hover {
    background-color: #61605F;
    color: #fff;
}
.btn-slider:hover {
    background-color: #C16205;
    color: #fff;
}

/* ACTIVE */
.btn:active {
    transform: scale(0.97);
}

/* DISABLED (opzionale) */
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}




.news-meta p {
    font-size: 1.2rem !important; /* circa 14px */
    font-style: italic;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.3 !important;
}
.news-meta strong {
    font-weight: 600;
    font-style: normal;
}
 
 /* colonne */
 
/* Desktop: colonne personalizzate */
.flex-grid {
    display: grid;
    width: 100%;
    max-width: 100%;
    gap: 20px;
    grid-template-columns: var(--cols);
}

/* Colonne interne */
.flex-grid > div {
    padding: 15px;
    border-radius: 10px;
    box-sizing: border-box;
    background: #;
}


/* Tablet: 2 colonne, ultima dispari a tutta larghezza */
@media (max-width: 992px) {
    .flex-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .flex-grid > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

/* Mobile: 1 colonna */
@media (max-width: 768px) {
    .flex-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================
   DISPOSIZIONE COLONNE SU MOBILE
===================== */

@media (max-width: 1050px) {
    .order-1 { order: 1; }
    .order-2 { order: 2; }
    .order-3 { order: 3; }
    .order-4 { order: 4; }
	.order-5 { order: 4; }
}

/* =====================
   CLASSE PER CENTRARE IL CONTENUTO SIA VERTICALMENTE CHE ORIZZONTALMENTE NEI CONTENITORI
===================== */
.col-center-both {
    display: flex;
    flex-direction: column; /* <— QUESTA È LA CHIAVE */
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* =====================
   CREA LEGGERA OMBRA E EFFETTO OVER SUI BOX DELLE COLONNE
===================== */

.box {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 25px;
    transition: all 0.25s ease;
}

.box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}







