/* Page Guerre 1914-1918 */

.guerre-wrapper {
    background: var(--color-background);
    width: 100%;
}

/* Section Hero */
.guerre-hero-section {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, rgba(54, 94, 138, 0.05) 0%, rgba(139, 0, 0, 0.05) 100%);
    border-bottom: 1px solid var(--color-border);
}

.guerre-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.guerre-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, #8B0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.guerre-hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* Section Image Illustrative */
.guerre-image-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, rgba(54, 94, 138, 0.02) 0%, transparent 100%);
}

.guerre-image-card {
    max-width: 1000px;
    margin: 0 auto;
}

.guerre-image-card .image-card-inner {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(54, 94, 138, 0.15);
    transition: all 0.4s ease;
}

.guerre-image-card .image-card-inner:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(54, 94, 138, 0.25);
}

.guerre-featured-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.guerre-image-card .image-card-inner:hover .guerre-featured-image {
    transform: scale(1.05);
}

.guerre-image-card .image-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(54, 94, 138, 0.95) 0%, rgba(54, 94, 138, 0.7) 50%, transparent 100%);
    padding: 3rem 2rem 2rem;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.guerre-image-card .image-card-inner:hover .image-card-overlay {
    background: linear-gradient(to top, rgba(42, 74, 110, 0.98) 0%, rgba(54, 94, 138, 0.85) 60%, transparent 100%);
    padding-bottom: 2.5rem;
}

.guerre-image-card .image-card-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: white;
}

.guerre-image-card .image-icon {
    flex-shrink: 0;
    opacity: 0.9;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.guerre-image-card .image-card-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

/* Section Liens */
.guerre-links-section {
    padding: 5rem 0;
}

/* Catégories */
.guerre-category {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.guerre-category .category-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #8B0000;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #8B0000;
}

.guerre-links-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Item de lien */
.guerre-link-item {
    background: white;
    border-left: 4px solid #8B0000;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.guerre-link-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.15);
    border-left-color: #660000;
}

.guerre-link-item .link-item-header {
    margin-bottom: 0.75rem;
}

.guerre-link-item .link-item-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.guerre-link-item .link-item-title a {
    color: #8B0000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.guerre-link-item .link-item-title a:hover {
    color: #660000;
    text-decoration: underline;
}

.guerre-link-item .link-item-description {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.guerre-link-item .link-item-description p {
    margin: 0.5rem 0;
}

.guerre-link-item .link-item-description ul {
    margin: 0.75rem 0 0.75rem 1.5rem;
    list-style: disc;
}

.guerre-link-item .link-item-description li {
    margin: 0.5rem 0;
}

.guerre-link-item .link-attachment {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.1) 0%, rgba(102, 0, 0, 0.1) 100%);
    color: #8B0000;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.guerre-link-item .link-attachment:hover {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.15) 0%, rgba(102, 0, 0, 0.15) 100%);
    transform: translateY(-2px);
    color: #660000;
}

.guerre-link-item .link-attachment svg {
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .guerre-hero-section {
        padding: 4rem 0 3rem;
    }
    
    .guerre-hero-title {
        font-size: 2.5rem;
    }
    
    .guerre-hero-subtitle {
        font-size: 1.125rem;
    }
    
    .guerre-image-section {
        padding: 3rem 0;
    }
    
    .guerre-featured-image {
        max-height: 350px;
    }
    
    .guerre-image-card .image-card-overlay {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .guerre-image-card .image-card-content {
        gap: 1rem;
    }
    
    .guerre-image-card .image-icon {
        width: 36px;
        height: 36px;
    }
    
    .guerre-image-card .image-card-text {
        font-size: 1.25rem;
    }
    
    .guerre-links-section {
        padding: 3rem 0;
    }
    
    .guerre-category {
        margin-bottom: 3rem;
    }
    
    .guerre-category .category-title {
        font-size: 1.5rem;
    }
    
    .guerre-link-item {
        padding: 1.25rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .guerre-hero-title {
        font-size: 2rem;
    }
    
    .guerre-hero-subtitle {
        font-size: 1rem;
    }
    
    .guerre-featured-image {
        max-height: 250px;
    }
    
    .guerre-image-card .image-card-overlay {
        padding: 1.5rem 1rem 1rem;
    }
    
    .guerre-image-card .image-card-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .guerre-image-card .image-icon {
        width: 32px;
        height: 32px;
    }
    
    .guerre-image-card .image-card-text {
        font-size: 1.125rem;
    }
    
    .guerre-category .category-title {
        font-size: 1.25rem;
    }
    
    .guerre-link-item .link-item-title {
        font-size: 1.125rem;
    }
}
