/* ================================= */
/* ALL AUTHORS ARCHIVE                */
/* ================================= */
.authors-hero {
    padding: 60px 15px;
    text-align: center;
    color: #041522;
}
.authors-hero h1 {
    margin-bottom: 10px;
    font-size: 48px;
    font-family: 'Arimo';
    font-weight: 700;
}
.authors-hero p {
    color: #6b7280;
    font-size: 16px;
}

.authors-section {
    max-width: 1200px;
    margin: 20px auto 60px;
    padding: 0 15px;
}
.authors-section.other-authors {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e5e7eb;
}

.authors-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.author-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: calc( 33.33% - 16px );
    background: #fff;
    border-radius: 16px;
    padding: 32px 20px;
    box-shadow: 0 10px 30px rgba(15,23,42,0.08);
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}
.author-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15,23,42,0.14);
}
.author-card-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 18px;
    flex-shrink: 0;
}
.author-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.author-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ed0810, #9637b2);
    color: #fff;
    font-size: 42px;
    font-weight: 700;
}
.author-card-name {
    margin: 0 0 4px;
    font-size: 19px;
    color: #111827;
}
.author-card-position {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
    color: #ed0810;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.author-card-desc {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

/* ================================= */
/* SINGLE AUTHOR: HERO                */
/* ================================= */
.author-hero {
    max-width: 1200px;
    margin: 40px auto;
    padding: 56px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    background: linear-gradient(135deg, #ed0810, #9637b2);
    border-radius: 24px;
    color: #fff;
}
.author-hero-text {
    max-width: 620px;
}
.author-hero-greeting {
    margin: 0 0 6px;
    font-size: 20px;
    color: rgba(255,255,255,0.75);
}
.author-hero-name {
    margin: 0 0 14px;
    font-size: 48px;
    font-family: 'Arimo';
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}
.author-hero-position {
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
}
.author-hero-bio {
    margin: 0 0 28px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
}
.author-hero-stat {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
}
.author-hero-stat-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.25);
    border-radius: 8px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.author-hero-stat-label {
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
}
.author-hero-photo {
    width: 320px;
    height: 320px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.author-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

/* ================================= */
/* SINGLE AUTHOR: SECTION TITLES      */
/* ================================= */
.author-section-title {
    text-align: center;
    display: block !important;
    margin-bottom: 32px !important;
}
.author-section-title h2 {
    display: inline-block;
    padding-bottom: 8px;
    border-bottom: 4px solid #ed0810;
}
.author-section-title p {
    margin: 10px 0 0;
    color: #6b7280;
    font-size: 15px;
}

/* Article card additions: excerpt + mini author footer */
.post-item-excerpt {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 14px;
    line-height: 1.5;
}
.post-item-author {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid #e5e7eb;
}
.post-item-author-photo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}
.post-item-author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.post-item-author-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}
.post-item-author-name {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
}
.post-item-author-position {
    font-size: 11px;
    color: #6b7280;
}
.post-item-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #9ca3af;
    white-space: nowrap;
}

/* ================================= */
/* SINGLE AUTHOR: OTHER AUTHORS       */
/* ================================= */
.other-authors-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 40px;
}
.other-author-item {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}
.other-author-photo {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}
.other-author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}
.other-author-info {
    display: flex;
    flex-direction: column;
}
.other-author-name {
    font-size: 16px;
    font-weight: 700;
    color: #ed0810;
}
.other-author-position {
    font-size: 14px;
    color: #374151;
}

@media (max-width: 767px) {
    .author-card {
        width: 100%;
    }
    .authors-hero h1 {
        font-size: 32px;
    }
    .author-hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 32px 24px;
        margin-top: 24px;
    }
    .author-hero-text {
        max-width: 100%;
    }
    .author-hero-stat {
        text-align: left;
    }
    .author-hero-name {
        font-size: 32px;
    }
    .author-hero-photo {
        width: 200px;
        height: 200px;
    }
    .other-authors-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .author-card {
        width: calc( 50% - 12px );
    }
    .other-authors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .author-hero-photo {
        width: 240px;
        height: 240px;
    }
}
