/* ==========================================================
   FAQ - Stile dedicato (faq.css)
   Coordinato con stile "Camere" / Victorian Elegance
   ========================================================== */

.ve-faq-section {
    padding: 4rem 0;
    background: #f7efe2; /* uguale ai fondi chiari usati in camere */
}

/* Divider sotto il titolo */
.ve-section-divider {
    width: 90px;
    height: 1px;
    margin: 0.75rem auto 2.5rem auto;
    background: rgba(197,164,109,0.7);
	display:block;
}


/* BOX PRINCIPALE FAQ – identico a .ve-camera-description-box */
.ve-faq-inner {
    max-width: 980px;
    margin: 26px auto;             /* come nelle camere */
    background: #f8f1e8;
    padding: 22px 24px;
    border-radius: 18px;
    border: 1px solid rgba(197,164,109,0.55);
    box-shadow: 0 10px 26px rgba(0,0,0,0.05);
}





/* Titoli coerenti con le camere */
.ve-faq-title {
    text-align: center;
    margin-bottom: 0.5rem;
}

.ve-faq-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: #5a4630;
    font-size: 1rem;
    line-height: 1.6;
}

/* Gruppi */
.ve-faq-group {
    margin-bottom: 2.5rem;
}

.ve-faq-group-title {
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 1.2rem;
    color: #5a4630;
}

/* ===== CARD FAQ – come ve-room-card ===== */
.ve-faq-item {
    margin-bottom: 0.9rem;
    background: #f8f1e8; /* invece del bianco puro */
    border-radius: 18px;
    border: 1px solid rgba(197,164,109,0.6);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    display: block;
}


/* Header (summary) in stile flex con icona a destra */
.ve-faq-item > summary {
    cursor: pointer;
    padding: 0.95rem 1.3rem;
    font-size: 1rem;
    font-weight: 500;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Nessun marker nativo */
.ve-faq-item > summary::-webkit-details-marker {
    display: none;
}

/* Testo domanda */
.ve-faq-question {
    flex: 1;
}

/* Icona circolare */
.ve-faq-icon {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid rgba(90,70,48,0.55);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

/* Disegno del + con due linee */
.ve-faq-icon::before,
.ve-faq-icon::after {
    content: "";
    position: absolute;
    background: rgba(90,70,48,0.9);
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Linea orizzontale */
.ve-faq-icon::before {
    width: 12px;
    height: 2px;
}

/* Linea verticale */
.ve-faq-icon::after {
    width: 2px;
    height: 12px;
}

/* Hover sul summary */
.ve-faq-item > summary:hover {
    background: #f1ebe0;
}

/* Stato aperto: icona "meno" e leggera rotazione */
.ve-faq-item.is-open .ve-faq-icon {
    background: #5a4630;
    border-color: #5a4630;
    transform: rotate(90deg);
}

.ve-faq-item.is-open .ve-faq-icon::before {
    background: #f8f3ea;
}

.ve-faq-item.is-open .ve-faq-icon::after {
    opacity: 0; /* sparisce la linea verticale -> diventa "-" */
}

/* Contenuto risposta con animazione altezza */
.ve-faq-answer {
    padding: 0 1.3rem;
    padding-bottom: 0; /* gestito da animazione */
    max-height: 0;
    overflow: hidden;
    line-height: 1.6;
    color: #444;
    font-size: 0.95rem;
    border-top: 1px solid rgba(0,0,0,0.04);
    transition: max-height 0.35s ease, padding-bottom 0.35s ease;
}

/* Quando aperto, diamo spazio sotto */
.ve-faq-item.is-open .ve-faq-answer {
    padding-bottom: 1.1rem;
}

/* Mobile */
@media (max-width: 600px) {
    .ve-faq-inner {
        max-width: 100%;
    }

    .ve-faq-item > summary {
        padding: 0.85rem 1rem;
    }

    .ve-faq-answer {
        padding: 0 1rem;
    }
}
/* Nasconde la sidebar solo nella pagina FAQ e allarga il contenuto */
.page-id-91 .sidebar,
.page-id-91 .widget-area,
.page-id-91 #secondary {
    display: none;
}

.page-id-91 #primary,
.page-id-91 .content-area,
.page-id-91 .site-main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

}


/* ==========================================================
   BOX INTRO FAQ – IDENTICO AL BOX DELLE CAMERE
   ========================================================== */

/* ===== BOX INTRO FAQ – come ve-intro-box ===== */
.ve-camere-box {
    max-width: 780px;
    margin: 0 auto 3rem auto;

    background: #f7efe2;
    padding: 24px 28px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid rgba(180, 150, 120, 0.25);
}



.ve-faq-intro {
    margin: 0;
    color: #5a4630;
    font-size: 1rem;
    line-height: 1.65;
    text-align: center;
}
/* ==========================================================
   FRECCIA "TORNA SU" – stile Masseria Cascino
   ========================================================== */

.ve-faq-backtotop {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 3rem 0 1rem 0;
    text-decoration: none;
}

.ve-faq-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #8a5a40;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Freccia direzionale */
.ve-faq-arrow::before {
    content: "";
    width: 14px;
    height: 14px;
    border-left: 3px solid #8a5a40;
    border-top: 3px solid #8a5a40;
    transform: rotate(45deg);
    margin-bottom: -4px;
}

/* Hover: elegante effetto oro invertito */
.ve-faq-arrow:hover {
    background: #8a5a40;
    border-color: #8a5a40;
    transform: translateY(-4px);
}

.ve-faq-arrow:hover::before {
    border-color: #fff;
}

.page-id-91 .site-main,
.page-id-91 .content-area,
.page-id-91 .entry-content,
.page-id-91 #primary {
    overflow: visible !important;
}


.page-id-91 .entry-content {
    overflow: visible !important;
}
/* ===========================
   BOX PAGINE LEGALI (Termini, Privacy, ecc.)
   Usa lo stesso "peso" visivo dei box FAQ
=========================== */

/* Box principale pagina legale */
.ve-legal-box {
    background-color: #f8f4ec;
    border: 2px solid rgba(197,164,109,0.55);  /* stesso tono oro delle FAQ */
    border-radius: 12px;
    padding: 2.2rem 2.4rem;
    margin: 0 auto 3rem auto;
    box-shadow: 0 10px 26px rgba(0,0,0,0.05);  /* un filo più profonda, come ve-faq-inner */
    max-width: 900px;
}


/* Titoli dentro il box legale */
.ve-legal-box h2,
.ve-legal-box h3 {
    margin-top: 1.8rem;
    margin-bottom: 0.75rem;
}

/* Primo sottotitolo un po' più vicino al testo introduttivo */
.ve-legal-box h3:first-of-type {
    margin-top: 1.2rem;
}

/* Paragrafi */
.ve-legal-box p {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 0.9rem;
}

/* Mini-box di nota finale dentro il box legale */
.ve-legal-highlight-box {
    background-color: #efdfb8;   /* crema dorato più contrastato */
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 1.25rem 1.5rem;
    margin-top: 2rem;
    font-size: 0.98rem;
    font-style: italic;
}


