/* Profile Hero Section */
.refonte-author-hero {
    background-color: var(--dark-green);
    color: var(--white);
    padding: 120px 24px 64px 24px;
    /* Padding top adjusted for transparent header */
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
}

.author-hero-content {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.author-profile-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 48px;
    background: rgba(255, 255, 255, 0.05);
    /* Slight glassmorphism card */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 10px 40px rgba(0, 51, 41, 0.4);
}

.author-image {
    flex: 0 0 200px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--lime-green);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

.author-details h1 {
    font-size: 48px;
    font-weight: 500;
    line-height: 1.1;
    color: var(--lime-green);
    margin: 0;
}

.author-details p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 800px;
}

.author-linkedin {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 24px;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.author-linkedin img {
    width: 24px;
    height: 24px;
}

.author-linkedin:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Articles Section Header */
.author-articles-title {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 500;
    color: var(--dark-green);
    margin: 0 0 32px 0;
}

/* --- Responsive Adjustments --- */
@media screen and (max-width: 900px) {
    .author-profile-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 32px;
        padding: 32px;
    }

    .author-image {
        flex: 0 0 160px;
        width: 160px;
        height: 160px;
    }

    .author-details {
        align-items: center;
    }

    .author-details h1 {
        font-size: 36px;
    }

    .author-details p {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .refonte-author-hero {
        padding: 100px 16px 40px 16px;
    }

    .author-profile-wrapper {
        padding: 24px;
        border-radius: 16px;
    }

    .author-details h1 {
        font-size: 32px;
    }

    .author-linkedin {
        width: 100%;
        justify-content: center;
    }
}