/* ==============================================================
   FEUXDART.FR - FEUILLES DE STYLE SEO & STRUCTURE SÉMANTIQUE
   Section éditoriale visible sous l'application carte plein écran
   (Desktop & Mobile), cohérente avec le thème sombre FeuxDart.
   ============================================================== */

.ssr-seo-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    background: #0b0f19;
    color: #f8fafc;
    border-top: 1px solid #1e293b;
    padding: 2rem 0 2.5rem 0;
}

.ssr-seo-article {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem;
}

.ssr-seo-homepage {
    width: 100%;
}

.ssr-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.25rem;
}

/* Breadcrumb */
.ssr-breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: #94a3b8;
}
.ssr-breadcrumb a {
    color: #f59e0b;
    text-decoration: none;
    font-weight: 600;
}
.ssr-breadcrumb a:hover {
    text-decoration: underline;
}

/* Event Header */
.ssr-badge-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}
.ssr-badge {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ssr-badge.status-valide {
    background: #10b981;
    color: #ffffff;
}
.ssr-badge.status-annule {
    background: #ef4444;
    color: #ffffff;
}
.ssr-badge.status-reporte {
    background: #8b5cf6;
    color: #ffffff;
}
.ssr-badge.ssr-badge-type {
    background: #1e293b;
    color: #38bdf8;
    border: 1px solid #334155;
}
.ssr-badge.ssr-badge-free {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.ssr-event-header h1 {
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 1.25rem 0;
    line-height: 1.3;
}

.ssr-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}
.ssr-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}
.ssr-meta-item i {
    font-size: 1.35rem;
    color: #f59e0b;
    margin-top: 3px;
}
.ssr-meta-item strong {
    display: block;
    color: #94a3b8;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.ssr-meta-item span,
.ssr-meta-item time {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
}

/* Event Banner */
.ssr-event-banner {
    width: 100%;
    max-height: 420px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1.75rem;
    background: #0f172a;
    border: 1px solid #334155;
}
.ssr-event-banner img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

/* AI Overview Box */
.ssr-ai-summary {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(15, 23, 42, 0.85));
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}
.ssr-ai-badge {
    font-size: 0.82rem;
    font-weight: 800;
    color: #f59e0b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}
.ssr-ai-summary p {
    margin: 0;
    font-size: 0.98rem;
    color: #e2e8f0;
    line-height: 1.6;
}
.ssr-ai-summary a {
    color: #f59e0b;
    font-weight: 700;
}

/* Description */
.ssr-description {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.ssr-description h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.85rem 0;
}
.ssr-description p {
    color: #cbd5e1;
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
}

/* Actions */
.ssr-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
}
.ssr-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.4rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ssr-btn:hover {
    transform: translateY(-1px);
}
.ssr-btn-primary {
    background: #f59e0b;
    color: #000000;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}
.ssr-btn-secondary {
    background: #3b82f6;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}
.ssr-btn-outline {
    background: transparent;
    color: #f8fafc;
    border: 1px solid #475569;
}

/* FAQ Block */
.ssr-faq-block,
.ssr-faq-section {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
}
.ssr-faq-block h2,
.ssr-faq-section h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 1.25rem 0;
}
.ssr-faq-item,
.ssr-faq-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.85rem;
    cursor: pointer;
}
.ssr-faq-item summary,
.ssr-faq-card summary {
    font-size: 1rem;
    color: #ffffff;
    cursor: pointer;
    user-select: none;
}
.ssr-faq-item p,
.ssr-faq-card p {
    margin: 0.75rem 0 0 0;
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Nearby Events */
.ssr-nearby-events {
    margin-bottom: 2.5rem;
}
.ssr-nearby-events h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1rem 0;
}
.ssr-nearby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}
.ssr-nearby-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 1rem;
    text-decoration: none;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    transition: border-color 0.15s ease;
}
.ssr-nearby-card:hover {
    border-color: #f59e0b;
}
.ssr-nearby-card strong {
    font-size: 0.95rem;
    color: #f8fafc;
}
.ssr-nearby-card span {
    font-size: 0.82rem;
    color: #94a3b8;
}
.ssr-all-dept-link a {
    color: #38bdf8;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.92rem;
}

/* Homepage specific */
.ssr-home-header h1 {
    font-size: 2.1rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 1rem 0;
    line-height: 1.25;
}
.ssr-lead {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 2rem;
}
.ssr-upcoming-section h2,
.ssr-depts-section h2 {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 1.25rem 0;
    border-bottom: 2px solid #334155;
    padding-bottom: 0.5rem;
}
.ssr-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}
.ssr-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.15s ease, border-color 0.15s ease;
}
.ssr-card:hover {
    transform: translateY(-2px);
    border-color: #f59e0b;
}
.ssr-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.ssr-card-img-wrap {
    height: 140px;
    background: #0f172a;
    position: relative;
    overflow: hidden;
}
.ssr-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ssr-card-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(16, 185, 129, 0.9);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 10px;
}
.ssr-card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.ssr-card-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
}
.ssr-card-date {
    margin: 0 0 0.35rem 0;
    font-size: 0.88rem;
    color: #f59e0b;
    font-weight: 700;
}
.ssr-card-loc {
    margin: 0;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Departments grid */
.ssr-depts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 2.5rem;
}
.ssr-dept-pill {
    background: #1e293b;
    border: 1px solid #334155;
    color: #cbd5e1;
    padding: 0.45rem 0.85rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.15s ease, color 0.15s ease;
}
.ssr-dept-pill:hover {
    background: #f59e0b;
    color: #000000;
    border-color: #f59e0b;
}

/* Home footer */
.ssr-home-footer {
    border-top: 1px solid #334155;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.88rem;
    color: #64748b;
}
.ssr-home-footer a {
    color: #94a3b8;
    text-decoration: none;
    margin: 0 0.35rem;
}
.ssr-home-footer a:hover {
    color: #f59e0b;
}

@media (max-width: 768px) {
    .ssr-home-header h1 {
        font-size: 1.6rem;
    }
    .ssr-event-header h1 {
        font-size: 1.45rem;
    }
    .ssr-meta-grid {
        grid-template-columns: 1fr;
    }
}
