/* Public styles for Esperienze Outdoor v2.13 - namespaced with eo- */
.eo-esperienze-outdoor-container {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    padding: 20px;
    max-width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.eo-esperienze-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Filters (top of page) - centered */
.eo-esperienze-outdoor-container .eo-filtri-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}
.eo-esperienze-outdoor-container .eo-filtro-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.eo-esperienze-outdoor-container .eo-filtro-btn:hover,
.eo-esperienze-outdoor-container .eo-filtro-btn.eo-active {
    background: #4a7c3f;
    color: white;
    border-color: #4a7c3f;
}

/* GRIGLIA ESPERIENZE */
.eo-esperienze-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* CARD ESPERIENZA */
.eo-esperienza-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eo-esperienza-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Responsive image: show top part, adapt height as requested */
.eo-esperienza-image {
    width: 100% !important;
    height: clamp(160px, 27vh, 320px) !important;
    object-fit: cover !important;
    object-position: top center !important;
    display: block !important;
}

.eo-esperienza-content {
    padding: 20px;
}

.eo-esperienza-location {
    color: #5a7d3e;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.eo-esperienza-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2d5016;
    line-height: 1.3;
}

.eo-esperienza-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.eo-detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.eo-detail-value {
    font-weight: 600;
    color: #2d5016;
}

.eo-detail-label {
    font-size: 0.8rem;
    color: #666;
    margin-top: 3px;
}

.eo-rating { margin-bottom:4px; }

.eo-stars { display:inline-block; vertical-align: middle; font-size: 0.95rem; }
.eo-star-full { color: #ffc107; }
.eo-star-empty { color: #ddd; margin-left: 4px; }

.eo-participants {
    color: #5a7d3e;
}

.eo-esperienza-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.eo-price-text {
    font-size: 0.9rem;
    color: #666;
}

.eo-price-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d5016;
}

/* Buttons wrapper and sizing */
.eo-buttons-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 8px;
    justify-content: flex-end;
}

/* When two or more buttons present, stack vertically (prenota above) */
.eo-buttons-wrapper.eo-buttons-stack {
    flex-direction: column;
    align-items: stretch;
}

/* Stack buttons full width */
.eo-buttons-wrapper.eo-buttons-stack .eo-prenota-btn,
.eo-buttons-wrapper.eo-buttons-stack .eo-guide-btn,
.eo-buttons-wrapper.eo-buttons-stack .eo-request-btn,
.eo-buttons-wrapper.eo-buttons-stack .eo-info-btn {
    width: 100%;
    display: block;
}

/* Single button default sizing */
.eo-buttons-wrapper .eo-prenota-btn,
.eo-buttons-wrapper .eo-guide-btn,
.eo-buttons-wrapper .eo-request-btn,
.eo-buttons-wrapper .eo-info-btn {
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    min-width: 120px;
    text-align: center;
}

/* Colors */
.eo-prenota-btn { background: #4a7c3f; color: white; border:none; }
.eo-prenota-btn:hover { background:#3a632f; }
.eo-guide-btn { background:#2e6fb0; color:white; border:none; }
.eo-guide-btn:hover { background:#245682; }
.eo-request-btn { background: #6aa05c; color: white; border: none; }
.eo-request-btn:hover { background: #568a4b; }
.eo-info-btn { background: #777; color: white; border: none; }
.eo-info-btn:hover { background: #555; }

.eo-period { font-size: 0.95rem; color: #5a7d3e; margin-left:6px; }

/* Bottoni aggiuntivi: stesso stile di "Prenota" */
.eo-guide-btn,
.eo-info-btn,
.eo-request-btn {
    background-color: #009688;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    margin-top: 8px;
    transition: background-color 0.3s ease;
    font-size: 0.95em; /* leggermente più piccolo per testi lunghi */
}

.eo-guide-btn:hover,
.eo-info-btn:hover,
.eo-request-btn:hover {
    background-color: #00796b;
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .eo-esperienze-grid {
        grid-template-columns: 1fr;
    }

    .eo-page-title {
        font-size: 2rem;
    }

    .eo-esperienze-outdoor-container {
        padding: 10px;
    }
}
/* Centra titolo e sottotitolo nella sezione principale */
.eo-page-title,
.eo-page-subtitle {
    text-align: center;
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.eo-page-title {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 8px;
}

.eo-page-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: #444;
    margin-bottom: 30px;
}