/*
 Theme Name: Astra Child
 Template: astra
*/
/* --- EVENTO SINGOLO --- */

.evento-singolo-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #fff7f5; /* rosa pesca chiaro */
    border-radius: 16px;
    border: 2px solid #e8c7c1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    font-family: "Inter", sans-serif;
}

.evento-singolo-thumb img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
}

.evento-singolo-title {
    font-size: 32px;
    margin-bottom: 20px;
    color: #5a6f63; /* verde salvia */
    text-align: center;
}

.evento-singolo-meta {
    background: #fdf1ee;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-left: 6px solid #5a6f63;
    line-height: 1.6;
}

.evento-singolo-meta div {
    margin-bottom: 8px;
}

.evento-singolo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.evento-singolo-links a {
    background: #5a6f63; /* verde salvia */
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.evento-singolo-links a:hover {
    background: #7f9a8c;
}
/* ===========================
   NASCONDI HEADER IN PAGINA SPECIFICA
=========================== */
.page-grazie-per-esserti-iscritto .site-header {
    display: none;
}

/* ===========================
   MAILPOET – MOSTRA SOLO EMAIL
=========================== */
.mailpoet_manage_subscription form .mailpoet_form_field {
    display: none !important;
}
.mailpoet_manage_subscription form .mailpoet_form_field--email {
    display: block !important;
}

/* ===========================
   SLIDER LEZIONI
=========================== */
.lezioni-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    padding: 0 10px;
    overflow: hidden;
}
.lezione-card {
    background: linear-gradient(135deg, rgba(255, 200, 180, 0.2), rgba(255, 220, 200, 0.2));
    border-radius: 15px;
    padding: 20px;
    max-width: 280px;
    flex: 1 1 250px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: center;
}
.lezione-card .lezione-img img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}
.lezione-card h3.lezione-titolo {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 10px 0;
    color: #333;
}
.lezione-card p.lezione-info {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
}
.lezione-card a.lezione-link {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    color: #ff7f50;
    border: 1px solid #ff7f50;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.lezione-card a.lezione-link:hover {
    background-color: #ff7f50;
    color: #fff;
}
@media (max-width: 768px) {
    .lezioni-slider {
        flex-direction: column;
        align-items: center;
    }
    .lezione-card {
        width: 90%;
        margin-bottom: 20px;
    }
}

/* ===========================
   FOOTER SOCIAL
=========================== */
.footer-social-wrapper {
  text-align: center;
  margin: 10px 0;
}
.footer-social-list {
  list-style: none;
  display: inline-flex;
  gap: 15px;
}
.footer-social-list a img {
  width: 30px;
  height: 30px;
  opacity: 0.8;
  transition: opacity 0.3s, transform 0.3s;
}
.footer-social-list a img:hover {
  opacity: 1;
  transform: scale(1.1);
}
@media (max-width: 768px) {
  .footer-social-list a img {
    width: 25px;
    height: 25px;
  }
}

/* ===========================
   STAND OLIDAY
=========================== */
.oliday-stand-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}
.oliday-stand-list .stand-item {
    background: #ffe6e0;
    opacity: 0.95;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    width: 200px;
    padding: 15px;
    text-align: center;
    transition: 0.3s;
}
.oliday-stand-list .stand-item:hover {
    transform: translateY(-5px);
}
.oliday-stand-list .stand-thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
}
.oliday-stand-list .stand-titolo a {
    font-weight: 600;
    color: #333;
    text-decoration: none;
}
@media (max-width: 600px) {
    .oliday-stand-list {
        flex-direction: column;
        align-items: center;
    }
    .oliday-stand-list .stand-item {
        width: 80%;
        max-width: 300px;
    }
}

/* ===========================
   CARD FESTIVAL
=========================== */
.oliday-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.festival-card {
    background: linear-gradient(135deg, #ffe5d1, #ffd1c1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 12px;
    width: 300px;
    text-align: center;
    transition: 0.2s;
}
.festival-card:hover {
    transform: translateY(-5px);
}
.card-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.card-info {
    padding: 15px;
}
.card-title a {
    text-decoration: none;
    color: #333;
}

/* ===========================
   MANIFESTO FESTIVAL
=========================== */
.manifesto-festival {
    max-width: 1000px;
    margin: auto;
    padding: 40px 20px;
}
.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
@media(max-width:768px){
    .manifesto-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   ARCHIVIO SESSIONI MOBILE FIX
=========================== */
@media (max-width: 767px) {
    .archive.post-type-archive-oliday-sessioni .ast-article-inner img {
        object-fit: contain !important;
        width: 100% !important;
        height: auto !important;
    }
}

/* ===========================
   CARD EVENTI UTENTE (ROSA PESCA)
=========================== */
.eventi-utente-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.evento-card {
    background: linear-gradient(to bottom, #ffe5d6, #fff5f0);
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 250px;
    padding: 15px;
    text-align: center;
    transition: 0.3s;
}
.evento-card:hover {
    transform: translateY(-5px);
}
.evento-thumb img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}
.evento-titolo {
    font-weight: bold;
    margin-bottom: 5px;
}
.evento-tipo {
    font-size: 0.9em;
    color: #555;
}
/* ===========================
   PROGRAMMA COMPATTO (VERSIONE ORIGINALE)
=========================== */

.oliday-programma-compatta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 900px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.oliday-programma-compatta h2 {
    text-align: center;
    font-size: 1.5em;
    margin: 20px 0 10px;
    color: #333;
}

/* Evento singolo */
.evento-compatto {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: #fff3f0; /* rosa pesca leggero */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    font-size: 0.9em;
}

.evento-orario {
    flex: 0 0 55px;
    font-weight: bold;
    color: #d35400; /* arancio soft */
}

.evento-thumb img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
}

.evento-dati {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.evento-titolo {
    font-weight: bold;
    color: #333;
}

.evento-operatore a {
    text-decoration: none;
    color: #0073aa;
}

.evento-tipo {
    font-size: 0.8em;
    color: #555;
}

/* Pulsante WhatsApp */
.programma-whatsapp {
    margin-top: 2px;
    display: inline-block;
    background: #ff8c69;
    color: white;
    font-weight: bold;
    font-size: 0.8em;
    padding: 3px 6px;
    border-radius: 5px;
    text-decoration: none;
}

/* Mobile */
@media (max-width: 768px) {
    .evento-compatto {
        flex-direction: column;
        align-items: flex-start;
    }
    .evento-orario {
        width: auto;
    }
}

/* Stampa */
@media print {
    .evento-compatto {
        background: #fff;
        box-shadow: none;
        padding: 4px 0;
    }
    .evento-thumb,
    .programma-whatsapp {
        display: none;
    }
    .oliday-programma-compatta h2 {
        color: #000;
    }
}
.manifesto-festival {
    max-width: 1000px;
    margin: auto;
    padding: 40px 20px;
    font-family: 'Helvetica', sans-serif;
    background: #fff;
}

.manifesto-header {
    text-align: center;
    margin-bottom: 50px;
}

.manifesto-header h1 {
    font-size: 48px;
    color: #9fb9a6;
    margin-bottom: 12px;
    letter-spacing: 4px;
}

.manifesto-header p {
    font-size: 16px;
    color: #5a6b63;
    opacity: .8;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.manifesto-col h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: #c7b6e2;
}

.evento {
    display: grid;
    grid-template-columns: 70px 70px 1fr;
    gap: 15px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(120deg, #fff9f5, #fefefe);
    margin-bottom: 22px;
    box-shadow: 0 12px 20px rgba(0,0,0,.08);
    border-left: 6px solid #ccc;
    align-items: center;
}

.evento-thumb img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 15px;
}

.evento-orario {
    font-weight: bold;
    color: #0073aa;
}

.evento-dati {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.evento-titolo {
    font-weight: 600;
    font-size: 16px;
    color: #3b3b3b;
}

.evento-tipo {
    font-size: 14px;
    color: #5a6b63;
    font-style: italic;
}

/* Colori per categorie */
.evento.yurta {
    border-left-color: #f7b05b;
}

.evento.veranda {
    border-left-color: #9fb9a6;
}

.evento.chapiteau {
    border-left-color: #c7b6e2;
}

.evento.conferenza {
    border-left-color: #5a6b63;
}

.evento-altro {
    border-left-color: #f0a6b5;
}

/* Pulsante WhatsApp */
.programma-whatsapp,
.programma-whatsapp:visited,
.programma-whatsapp:focus,
.programma-whatsapp:active {
    display: inline-block;
    margin-top: 6px;
    padding: 6px 12px;
    background-color: #f7b05b;
    color: #ffffff !important;
    border-radius: 12px;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.25s ease;
    outline: none !important;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.programma-whatsapp:hover,
.programma-whatsapp:focus,
.programma-whatsapp:active {
    background-color: #e6a94c;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    color: #ffffff !important;
}

/* Mobile */
@media(max-width:768px){
    .manifesto-grid {
        grid-template-columns: 1fr;
    }
}
/* Forza dimensione immagine card eventi utente */
.eventi-utente-list .evento-thumb img {
    width: 150px !important;
    height: 150px !important;
    object-fit: cover;
    border-radius: 10%;
    margin-bottom: 12px;
}
.operatore-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.operatore-hero {
    text-align: center;
    margin-bottom: 40px;
}

.operatore-foto {
    width: 160px;
    height: 160px;
    border-radius: 100%;
    object-fit: cover;
    margin-bottom: 20px;
}

.operatore-nome {
    font-size: 2.4rem;
    margin-bottom: 10px;
}

.operatore-badge {
    display: inline-block;
    background: #ff7f50;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Sezioni */
section {
    margin-bottom: 50px;
}

section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* Card */
.centro-card,
.lezione-card,
.evento-card,
.festival-card {
    background: #fafafa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
}

/* Social */
.operatore-social {
    margin-top: 10px;
}

.social-icon {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    text-decoration: none;
    margin-right: 6px;
    color: #fff;
}

.social-icon.ig { background: #E1306C; }
.social-icon.fb { background: #1877F2; }
.social-icon.web { background: #555; }

/* Bottoni */
.btn {
    display: inline-block;
    padding: 8px 16px;
    background: #ff7f50;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 10px;
}

/* Mobile */
@media (max-width: 768px) {
    .operatore-wrapper {
        padding: 20px 15px;
    }

    .operatore-foto {
        width: 120px;
        height: 120px;
    }

    .operatore-nome {
        font-size: 2rem;
    }

    section {
        margin-bottom: 35px;
    }

    .centri-list,
    .lezioni-list,
    .eventi-list {
        display: block;
    }
}
