/* ============================================
   AUTHOR PAGE
   ============================================ */

.author-page {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 60px;
}

/* ============================================
   Hero
   ============================================ */
.author-hero {
    background: white;
    border-bottom: 1px solid #e8e8e8;
    padding: 40px 20px 32px;
    margin-bottom: 40px;
}

.author-hero-inner {
    max-width: 900px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    gap: 36px;
}

.author-hero-photo-wrap {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e8e8e8;
    background: var(--nfl-light);
}

.author-hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.author-hero-info {
    flex: 1;
    min-width: 0;
}

.author-hero-label {
    display: inline-block;
    background: var(--nfl-blue);
    color: white;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
}

.author-hero-name {
    font-size: 30px;
    font-weight: 900;
    color: var(--nfl-dark);
    margin: 0 0 4px;
    line-height: 1.1;
}

.author-hero-title {
    font-size: 14px;
    color: var(--nfl-gray);
    margin: 0 0 10px;
    font-weight: 500;
}

/* Bio sous le hero-inner */
.author-bio {
    max-width: 900px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

/* Social icon buttons */
.author-hero-social {
    display: flex;
    gap: 8px;
}

.author-social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--nfl-light);
    color: var(--nfl-dark);
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.author-social-icon-btn:hover {
    background: var(--nfl-blue);
    color: white;
}

/* ============================================
   Content
   ============================================ */
.author-content {
    padding: 0 10px;
}

.author-section {
    margin-bottom: 40px;
}

.author-section-title {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--nfl-dark);
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--nfl-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-articles-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--nfl-blue);
    color: white;
    font-size: 11px;
    font-weight: 700;
    min-width: 22px;
    height: 22px;
    border-radius: 11px;
    padding: 0 6px;
    letter-spacing: 0;
    text-transform: none;
}

/* ============================================
   Articles grid
   ============================================ */
.author-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.author-article-card {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s;
}

.author-article-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.author-article-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e8e8e8;
    flex-shrink: 0;
}

.author-article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}



.author-article-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px 16px;
}

.author-article-category {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--nfl-red);
}

.author-article-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--nfl-dark);
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.author-article-excerpt {
    font-size: 13px;
    color: var(--nfl-gray);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.author-article-date {
    font-size: 12px;
    color: var(--nfl-gray);
    margin-top: 4px;
}

.author-no-articles {
    font-size: 15px;
    color: var(--nfl-gray);
    font-style: italic;
    padding: 20px 0;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
    .author-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .author-hero {
        padding: 32px 16px;
    }

    .author-hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .author-hero-photo-wrap {
        width: 100px;
        height: 100px;
    }

    .author-hero-name {
        font-size: 24px;
    }

    .author-content {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .author-articles-grid {
        grid-template-columns: 1fr;
    }

    .author-hero-name {
        font-size: 22px;
    }
}
