/* ═══ AUTHORS STYLES ═══ */

/* Header Title */
.section-header-background h1 {
    color: #fff;
}

/* Author Profile Section */
.author-profile {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
    margin-bottom: 60px;
    padding: 40px;
    background: #fff;
    border: 1px solid #e2e5ea;
    border-radius: 12px;
}

.author-photo {
    flex-shrink: 0;
    order: 2;
}

.author-photo img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #ff515e;
}

.author-info {
    flex: 1;
    order: 1;
}

.author-description {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.author-description p {
    margin-bottom: 15px;
}

/* Author Articles Section */
.author-articles {
    margin-top: 50px;
}

.articles-title {
    font-size: 28px;
    font-weight: 900;
    color: #1b2a47;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #ff515e;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-posts {
    padding-top: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .author-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
    }
    
    .author-photo {
        order: 1;
    }
    
    .author-info {
        order: 2;
    }
    
    .author-photo img {
        width: 150px;
        height: 150px;
    }
    
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .articles-title {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .author-profile {
        padding: 20px 15px;
    }
    
    .author-photo img {
        width: 120px;
        height: 120px;
    }
    
    .author-description {
        font-size: 14px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .articles-title {
        font-size: 20px;
    }
}
