/* single-jdt_event.css */
.jdt-single-event {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    background: #f8fafc;
    min-height: 100vh;
    padding-bottom: 50px;
}

/* Hero Section */
.jdt-hero {
    position: relative;
    width: 100%;
    height: 450px;
    background-color: #1e293b;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: white;
}
.jdt-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.3));
}
.jdt-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    gap: 30px;
}
.jdt-event-logo-box {
    width: 150px; height: 150px;
    background: white;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.jdt-event-logo-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.jdt-hero-text h1 {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: white;
    line-height: 1.2;
}
.jdt-hero-date {
    font-size: 20px;
    font-weight: 500;
    color: #94a3b8;
}

/* Stats Bar */
.jdt-stats-bar {
    max-width: 1000px;
    margin: -30px auto 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    position: relative;
    z-index: 10;
    overflow: hidden;
}
.jdt-stat-item {
    flex: 1;
    text-align: center;
    padding: 20px;
    border-right: 1px solid #e2e8f0;
}
.jdt-stat-item:last-child { border-right: none; }
.jdt-stat-value { font-size: 24px; font-weight: 700; color: #0f172a; }
.jdt-stat-label {
    font-size: 13px; color: #64748b;
    text-transform: uppercase; letter-spacing: 1px; margin-top: 5px;
}

/* Main Content */
.jdt-main-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}
.jdt-content-box {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    margin-bottom: 30px;
}
.jdt-content-box h2 {
    font-size: 22px;
    margin-top: 0; margin-bottom: 20px;
    color: #1e293b;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 10px;
}
.jdt-description {
    font-size: 16px; line-height: 1.7; color: #475569;
    white-space: pre-wrap;
}

/* Parcours Section */
.jdt-parcours-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.jdt-parcours-section-header h2 {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
.jdt-parcours-section-stats {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
}
.jdt-parcours-desc {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 20px;
}
.jdt-parcours-visuals {
    margin-bottom: 20px;
}
.jdt-parcours-map {
    width: 100%;
    height: 350px;
    border-radius: 10px;
    margin-bottom: 16px;
    z-index: 1;
}
.jdt-parcours-chart-wrap {
    width: 100%;
    height: 220px;
    position: relative;
}
.jdt-parcours-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

/* Sidebar */
.jdt-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.jdt-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    box-sizing: border-box;
}
.jdt-btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.jdt-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    transform: translateY(-1px);
}
.jdt-btn-secondary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
.jdt-btn-secondary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    transform: translateY(-1px);
}
.jdt-btn-outline {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}
.jdt-btn-outline:hover { background: #eff6ff; }

@media (max-width: 768px) {
    .jdt-main-container { grid-template-columns: 1fr; }
    .jdt-hero { height: 350px; }
    .jdt-hero-content { flex-direction: column; text-align: center; padding: 30px 20px; }
    .jdt-hero-text h1 { font-size: 28px; }
    .jdt-event-logo-box { width: 100px; height: 100px; }
    .jdt-stats-bar { flex-direction: column; margin: 20px; }
    .jdt-stat-item { border-right: none; border-bottom: 1px solid #e2e8f0; }
    .jdt-parcours-map { height: 250px; }
}
