/* ================================================================
   COLUMN.CSS - STYLES PAGE コラム
   Fichier: styles/pages/column.css
   Description: Page listing des articles - style cohérent avec le site
================================================================ */

/* ==================== HERO SECTION ==================== */
.column-page .hero {
    position: relative;
    padding: 160px 0 80px;
    overflow: hidden;
}

/* Titre principal - GRAND sur desktop */
.column-page .hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.column-page .hero-title .gradient-text {
    background: linear-gradient(135deg, #8B6F47 0%, #A68A5C 50%, #6B5536 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.column-page .hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 1rem;
}

/* Breadcrumb */
.column-page .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.column-page .breadcrumb a {
    color: var(--text-light);
    transition: color 0.2s;
}

.column-page .breadcrumb a:hover {
    color: var(--primary);
}

.column-page .breadcrumb .separator {
    color: var(--text-light);
    opacity: 0.5;
}

.column-page .breadcrumb .current {
    color: var(--primary);
    font-weight: 600;
}

/* ==================== FILTER SECTION ==================== */
.filter-section {
    padding: 2rem 0;
    background: transparent !important;
}

.category-filter {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.625rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 255, 255, 0.95);
}

.filter-btn.active {
    background: var(--gradient-1);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px rgba(139, 111, 71, 0.3);
}

/* ==================== ARTICLES SECTION ==================== */
.articles-section {
    padding: 2rem 0 5rem;
    background: transparent !important;
}

/* Grille 3 colonnes sur desktop */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* ==================== ARTICLE CARD ==================== */
.article-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 111, 71, 0.1);
    border-radius: var(--border-radius-xl);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(139, 111, 71, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

.article-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.75rem;
}

/* Article Header */
.article-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

/* Category Badges */
.category {
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.category.guide {
    background: rgba(29, 78, 216, 0.1);
    color: #1D4ED8;
}

.category.comparison {
    background: rgba(21, 128, 61, 0.1);
    color: #15803D;
}

.category.case-study {
    background: rgba(194, 65, 12, 0.1);
    color: #C2410C;
}

.category.tips {
    background: rgba(124, 58, 237, 0.1);
    color: #7C3AED;
}

/* Badges (人気, 注目) */
.badge {
    padding: 0.25rem 0.625rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
}

.badge.popular {
    background: var(--gradient-1);
    color: white;
}

.badge.new {
    background: #DC2626;
    color: white;
}

/* Article Title */
.article-card h2 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
    flex-grow: 0;
}

.article-card:hover h2 {
    color: var(--primary);
}

/* Article Excerpt */
.article-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Article Meta */
.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.article-meta time {
    font-size: 0.8125rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.tags span {
    padding: 0.2rem 0.5rem;
    background: rgba(139, 111, 71, 0.08);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding: 5rem 0;
    text-align: center;
    background: transparent !important;
}

.cta-section .section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.cta-section .section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
}

/* Buttons */
.cta-section .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: var(--gradient-1);
    color: white;
    border-radius: var(--border-radius-lg);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(139, 111, 71, 0.3);
}

.cta-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 111, 71, 0.4);
}

.cta-section .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-section .btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(139, 111, 71, 0.05);
}

/* ==================== RESPONSIVE ==================== */

/* Tablet - 2 colonnes */
@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .column-page .hero-title {
        font-size: clamp(2.5rem, 6vw, 3.5rem);
    }
}

/* Mobile - 1 colonne */
@media (max-width: 768px) {
    .column-page .hero {
        padding: 110px 0 50px;
    }

    .column-page .hero-title {
        font-size: 2.5rem;
    }

    .column-page .hero-subtitle {
        font-size: 1rem;
    }

    .filter-section {
        padding: 1.5rem 0;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }

    .articles-section {
        padding: 1.5rem 0 4rem;
    }

    /* 1 colonne sur mobile */
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .article-card a {
        padding: 1.25rem;
    }

    .article-card h2 {
        font-size: 1rem;
    }

    .article-card p {
        font-size: 0.875rem;
        -webkit-line-clamp: 2;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .cta-section {
        padding: 3rem 0;
    }

    .cta-section .section-title {
        font-size: 1.375rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-section .btn-primary,
    .cta-section .btn-secondary {
        width: 100%;
        max-width: 280px;
    }

    .cta-trust {
        flex-direction: column;
        gap: 0.5rem !important;
        align-items: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .column-page .hero {
        padding: 100px 0 40px;
    }

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

    .column-page .breadcrumb {
        font-size: 0.8125rem;
    }

    .filter-btn {
        padding: 0.4rem 0.875rem;
        font-size: 0.75rem;
    }

    .article-card a {
        padding: 1rem;
    }

    .article-card h2 {
        font-size: 0.9375rem;
    }

    .category {
        font-size: 0.7rem;
        padding: 0.25rem 0.625rem;
    }

    .tags span {
        font-size: 0.65rem;
    }
}