/**
 * Styles front-end pour Volopress Sorties
 * Version: 1.0.0
 */

/* === Variables CSS (Theme Montagne) === */
:root {
    --volo-primary: #2563eb;
    --volo-primary-light: #60a5fa;
    --volo-primary-dark: #1e40af;
    --volo-text: #334155;
    --volo-text-light: #64748b;
    --volo-bg: #ffffff;
    --volo-bg-light: #f8fafc;
    --volo-border: #e2e8f0;
    --volo-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
}

/* === Archive Sorties === */
.sorties-archive {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .sorties-archive {
        grid-template-columns: 1fr;
    }
}

/* === Filtres === */
.sorties-filters {
    background: var(--volo-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    position: relative;
}

/* Sticky uniquement sur grand écran */
@media (min-width: 1024px) {
    .sorties-filters {
        position: sticky;
        top: 2rem;
    }
}

/* Position relative sur mobile/tablette */
@media (max-width: 1023px) {
    .sorties-filters {
        position: relative;
        margin-bottom: 2rem;
    }
}

/* Réduire l'espace du formulaire sur mobile */
@media (max-width: 768px) {
    .sorties-filters {
        padding: 1rem;
        padding-top: 3rem;
    }
    
    .filter-group {
        margin-bottom: 0.75rem;
    }
    
    .filter-group label {
        font-size: 0.85rem;
        margin-bottom: 0.35rem;
    }
    
    .filter-group input,
    .filter-group select {
        padding: 0.4rem;
        font-size: 0.9rem;
    }
    
    .btn-filter,
    .btn-secondary {
        padding: 0.4rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .sorties-filters .btn-view-switch {
        padding: 0.4rem;
        font-size: 1.1rem;
        top: 0.75rem;
        right: 0.75rem;
    }
}

.filter-group {
    margin-bottom: 1rem;
}

.filter-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--volo-text);
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--volo-border);
    border-radius: 4px;
}

/* === Grille de sorties === */
.sorties-grid {
    display: grid;
    gap: 1.5rem;
}

/* Grand écran (1900px+) : 5 colonnes */
@media (min-width: 1900px) {
    .sorties-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Écran large (1400-1899px) : 4 colonnes */
@media (min-width: 1400px) and (max-width: 1899px) {
    .sorties-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Écran moyen (1024-1399px) : 3 colonnes */
@media (min-width: 1024px) and (max-width: 1399px) {
    .sorties-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablette (768-1023px) : 3 colonnes */
@media (min-width: 768px) and (max-width: 1023px) {
    .sorties-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

/* Mobile (moins de 768px) : 2 colonnes */
@media (max-width: 767px) {
    .sorties-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* === Card Sortie === */
.sortie-card {
    background: var(--volo-bg);
    border: 1px solid var(--volo-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
    box-shadow: var(--volo-shadow);
    display: flex;
    flex-direction: column;
}

.sortie-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.sortie-card__link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sortie-card__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--volo-bg-light);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.sortie-card:hover .sortie-card__image {
    transform: scale(1.05);
}

.sortie-card__content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sortie-card__header {
    margin-bottom: 0.75rem;
    flex: 1;
}

.sortie-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.sortie-card__title {
    margin: 0 0 0.25rem 0;
    color: var(--volo-text);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.sortie-card:hover .sortie-card__title {
    color: var(--volo-primary);
}

.sortie-card__voie {
    font-weight: 400;
    color: var(--volo-text-light);
    font-size: 0.875rem;
}

.badge-massif {
    display: inline-block;
    background: linear-gradient(135deg, var(--volo-primary), var(--volo-primary-light));
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
}

.badge-massif-link {
    transition: all 0.2s ease;
    cursor: pointer;
}

.badge-massif-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, var(--volo-primary-dark), var(--volo-primary));
}

.badge-toponeige {
    display: inline-block;
    background: var(--volo-bg-light);
    color: var(--volo-text);
    border: 1px solid var(--volo-border);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
}

.badge-toponeige-link {
    transition: all 0.2s ease;
    cursor: pointer;
}

.badge-toponeige-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: var(--volo-bg);
    border-color: var(--volo-primary);
    color: var(--volo-primary);
}

/* Badges de visibilité */
.badge-visibility {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    margin-right: 0.5rem;
}

.badge-draft {
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.badge-private {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fbbf24;
}

.sortie-card__meta {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--volo-border);
    font-size: 0.75rem;
    color: var(--volo-text-light);
    justify-content: space-between;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Effet camera-slash simulé avec CSS */
.meta-item--no-photo {
    position: relative;
}

.meta-item--no-photo::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 2px;
    background: white;
    transform: translateY(-50%) rotate(-45deg);
    pointer-events: none;
}

.meta-item--no-photo::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 50%;
    width: 22px;
    height: 0.8px;
    background: #f917178f;
    transform: translateY(-50%) rotate(-45deg);
    pointer-events: none;
    z-index: 1;
    /* height: 100%; */
}

.sortie-card__excerpt {
    color: var(--volo-text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* === Boutons === */
.btn-primary,
.btn-secondary,
.btn-filter,
.btn-view-switch {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--volo-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--volo-primary-dark);
    transform: translateY(-2px);
}

.btn-filter {
    background: linear-gradient(135deg, var(--volo-primary), var(--volo-primary-light));
    color: white;
    border: none;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.btn-filter:hover {
    background: linear-gradient(135deg, var(--volo-primary-dark), var(--volo-primary));
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: var(--volo-bg-light);
    color: var(--volo-text);
    border: 1px solid var(--volo-border);
}

.btn-secondary:hover {
    background: var(--volo-bg);
    border-color: var(--volo-primary);
    color: var(--volo-primary);
}

.btn-view-switch {
    background: transparent;
    color: #6b7280;
    border: none;
    padding: 0.5rem;
    font-size: 1.25rem;
    width: auto;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-view-switch:hover {
    color: #059669;
    transform: scale(1.1);
}

/* === Single Sortie === */
.sortie-single {
    max-width: 1200px;
    margin: 2rem auto;
}

.sortie-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--volo-border);
}

.sortie-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--volo-text);
}

.sortie-voie {
    font-weight: 400;
    color: var(--volo-text-light);
}

.sortie-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--volo-text-light);
    font-size: 0.875rem;
}

.sortie-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

@media (max-width: 1024px) {
    .sortie-content {
        grid-template-columns: 1fr;
    }
}

.sortie-section {
    margin-bottom: 2rem;
}

.sortie-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--volo-text);
}

.sortie-table {
    width: 100%;
    border-collapse: collapse;
}

.sortie-table th,
.sortie-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--volo-border);
}

.sortie-table th {
    font-weight: 600;
    color: var(--volo-text);
    width: 30%;
}

/* === Tableau nivologie === */
.nivologie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.nivologie-table th,
.nivologie-table td {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid var(--volo-border);
}

.nivologie-table th {
    background: var(--volo-bg-light);
    font-weight: 600;
}

.table-responsive {
    overflow-x: auto;
}

/* === Galerie photos === */
.sortie-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.sortie-gallery__item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 4/3;
}

.sortie-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sortie-gallery__item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem;
    font-size: 0.75rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sortie-gallery__item:hover .gallery-caption {
    transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 640px) {
    .sortie-title {
        font-size: 1.5rem;
    }
    
    .sortie-card__title a {
        font-size: 0.9rem;
    }
    
    .sortie-card__content {
        padding: 0.75rem;
    }
    
    .sortie-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   FICHE REDACTEUR
   ============================================ */

.redacteur-page {
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    min-height: 100vh;
}

.redacteur-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* En-tete du profil */
.redacteur-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 2rem;
    border: 1px solid rgba(37, 99, 235, 0.08);
    position: relative;
    overflow: hidden;
}

.redacteur-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--volo-primary), var(--volo-primary-light), var(--volo-primary));
    background-size: 200% 100%;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.redacteur-avatar {
    flex-shrink: 0;
    position: relative;
}

.redacteur-avatar::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--volo-primary), var(--volo-primary-light));
    opacity: 0.15;
    animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
    0%, 100% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.05); opacity: 0.25; }
}

.redacteur-avatar img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.redacteur-info {
    flex: 1;
}

.redacteur-name {
    font-size: 2.25rem;
    margin: 0 0 0.75rem 0;
    color: var(--volo-text);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.redacteur-badges {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.redacteur-ini {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--volo-primary), var(--volo-primary-light));
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.redacteur-ini:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.redacteur-archive-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 24px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
}

.redacteur-archive-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
    background: linear-gradient(135deg, #ea580c, #dc2626);
}

.redacteur-archive-badge i {
    font-size: 0.9rem;
}

.redacteur-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.redacteur-website {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--volo-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.redacteur-website:hover {
    color: white;
    background: var(--volo-primary);
    border-color: var(--volo-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.redacteur-website i {
    font-size: 1rem;
}

/* Biographie */
.redacteur-bio {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 2rem;
    border: 1px solid rgba(37, 99, 235, 0.08);
}

.redacteur-bio h2 {
    font-size: 1.5rem;
    margin: 0 0 1.5rem 0;
    color: var(--volo-text);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(37, 99, 235, 0.1);
}

.redacteur-bio h2 i {
    color: var(--volo-primary);
    font-size: 1.25rem;
    background: linear-gradient(135deg, var(--volo-primary-light), var(--volo-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.redacteur-bio-content {
    color: var(--volo-text);
    line-height: 1.8;
    font-size: 1rem;
}

.redacteur-bio-content p {
    margin: 0 0 1rem 0;
}

.redacteur-bio-content p:last-child {
    margin-bottom: 0;
}

.redacteur-bio-content strong {
    color: var(--volo-primary);
    font-weight: 600;
}

/* Statistiques */
.redacteur-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-item {
    flex: 1;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    text-align: center;
    border: 1px solid rgba(37, 99, 235, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--volo-primary), var(--volo-primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(37, 99, 235, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--volo-primary), var(--volo-primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    color: var(--volo-text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Sections sorties et articles */
.redacteur-sorties,
.redacteur-articles {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 2rem;
    border: 1px solid rgba(37, 99, 235, 0.08);
}

.redacteur-sorties h2,
.redacteur-articles h2 {
    font-size: 1.5rem;
    margin: 0 0 2rem 0;
    color: var(--volo-text);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(37, 99, 235, 0.1);
}

.redacteur-sorties h2 i,
.redacteur-articles h2 i {
    font-size: 1.25rem;
    background: linear-gradient(135deg, var(--volo-primary-light), var(--volo-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Grille des sorties dans la fiche redacteur */
.redacteur-sorties .sorties-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 1200px) {
    .redacteur-sorties .sorties-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .redacteur-sorties .sorties-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .redacteur-sorties .sorties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Liste des articles */
.articles-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.article-item {
    background: white;
    border: 1px solid rgba(37, 99, 235, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.article-item:hover {
    border-color: var(--volo-primary-light);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.article-item a {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.article-thumbnail {
    flex-shrink: 0;
    width: 140px;
    height: 105px;
    overflow: hidden;
    position: relative;
}

.article-thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-item:hover .article-thumbnail::after {
    opacity: 1;
}

.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-item:hover .article-thumbnail img {
    transform: scale(1.1);
}

.article-content {
    padding: 1.25rem;
    flex: 1;
}

.article-content h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
    color: var(--volo-text);
    font-weight: 600;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.article-item:hover .article-content h3 {
    color: var(--volo-primary);
}

.article-content time {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--volo-text-light);
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 12px;
    font-weight: 500;
}

.article-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--volo-text-light);
    line-height: 1.6;
}

/* Message vide */
.redacteur-empty {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 4rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    text-align: center;
    border: 1px solid rgba(37, 99, 235, 0.08);
}

.redacteur-empty p {
    margin: 0;
    color: var(--volo-text-light);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.redacteur-empty i {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--volo-primary-light), var(--volo-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* Vue Compacte - CSS Grid sans bordures */
.sortie-compact {
    max-width: 1600px;
    margin: 2rem auto;
    padding: 0 1rem;
    background: white;
    font-size: 0.9rem;
}

/* En-tête SOMMET */
.compact-header {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
}

.compact-header label{
    font-size: 1rem;
    margin-top: -0.5rem;
    position: relative;
    display: block;
    width: fit-content;
}

/* Grille principale des infos */
.sortie-compact .compact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem 1rem;
    margin-bottom: 1.5rem;
}

.sortie-compact .compact-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sortie-compact .compact-field label {
    font-weight: 600;
    color: #374151;
    font-size: 0.85rem;
}

.sortie-compact .compact-field .value {
    color: #1f2937;
}

/* Champs qui prennent 2 colonnes */
.sortie-compact .compact-field.span-2 {
    grid-column: span 2;
}

/* Galerie photos - 10 par ligne sur grand écran */
.sortie-compact .gallery-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.sortie-compact .gallery-grid a {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
}

.sortie-compact .gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s;
}

.sortie-compact .gallery-grid a:hover img {
    transform: scale(1.05);
}

/* Tableau nivologie */
.sortie-compact .nivologie-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 0.5rem;
    margin: 1rem 0;
    font-size: 0.85rem;
}

.sortie-compact .nivologie-grid .header {
    font-weight: 600;
    color: #374151;
    padding-bottom: 0.25rem;
}

.sortie-compact .nivologie-grid .row {
    display: contents;
}

.sortie-compact .nivologie-grid .cell {
    padding: 0.4rem 0;
}

/* Sections de texte */
.sortie-compact .compact-section {
    margin: 1.5rem 0;
}

.sortie-compact .compact-section-title {
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.sortie-compact label.mt-2 {
    margin-top: 0.4rem;
}

.sortie-compact .text-content {
    line-height: 1.6;
    white-space: pre-wrap;
    color: #1f2937;
}

/* Responsive - Tablette */
@media (max-width: 1200px) {
    .sortie-compact .compact-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .sortie-compact .gallery-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .sortie-compact {
        font-size: 0.85rem;
    }
    
    .sortie-compact .compact-header {
        font-size: 1.2rem;
    }
    
    .sortie-compact .compact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Galerie en scroll horizontal sur mobile */
    .sortie-compact .gallery-grid {
        display: flex;
        overflow-x: auto;
        gap: 0.5rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
    }
    
    .sortie-compact .gallery-grid a {
        flex: 0 0 120px;
        scroll-snap-align: start;
    }
    
    .sortie-compact .nivologie-grid {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
    
    .sortie-compact .nivologie-grid .header {
        font-weight: 700;
        margin-top: 0.5rem;
    }
}

@media print {
    .sortie-compact {
        max-width: 100%;
    }
    
    .sortie-compact .gallery-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Responsive fiche redacteur */
@media (max-width: 768px) {
    .redacteur-page {
        padding: 1rem;
    }
    
    .redacteur-header {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
    
    .redacteur-avatar img {
        width: 120px;
        height: 120px;
    }
    
    .redacteur-name {
        font-size: 1.75rem;
    }
    
    .redacteur-badges {
        justify-content: center;
    }
    
    .redacteur-links {
        justify-content: center;
    }
    
    .redacteur-bio,
    .redacteur-sorties,
    .redacteur-articles {
        padding: 1.5rem;
    }
    
    .redacteur-bio h2,
    .redacteur-sorties h2,
    .redacteur-articles h2 {
        font-size: 1.25rem;
    }
    
    .redacteur-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    .redacteur-header {
        padding: 1.5rem 1rem;
    }
    
    .redacteur-avatar img {
        width: 100px;
        height: 100px;
    }
    
    .redacteur-name {
        font-size: 1.5rem;
    }
    
    .redacteur-bio,
    .redacteur-sorties,
    .redacteur-articles {
        padding: 1.25rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .article-item a {
        flex-direction: column;
    }
    
    .article-thumbnail {
        width: 100%;
        height: 180px;
    }
    
    .redacteur-empty {
        padding: 3rem 1.5rem;
    }
    
    .redacteur-empty p {
        flex-direction: column;
        font-size: 1rem;
    }
}
