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

.author-page {
    background: #ffffff;
}

.author-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 24px 0;
    font-size: 14px;
    color: #737373;
}

.author-breadcrumb a {
    color: #737373;
    transition: color 0.3s ease;
}

.author-breadcrumb a:hover {
    color: #262626;
}

.author-breadcrumb .current {
    color: #262626;
    font-weight: 500;
}

/* HERO */
.author-hero {
    background: #e6ded8;
    padding: 72px 0;
    overflow: hidden;
}

.author-hero__inner {
    display: grid;
    grid-template-columns: 460px minmax(0, 1fr);
    gap: 80px;
    align-items: center;
}

.author-hero__media {
    display: flex;
    justify-content: center;
}

.author-profile-image {
    position: relative;
    width: 420px;
    height: 520px;
    border-radius: 210px 210px 24px 24px;
    overflow: hidden;
    background: #d3c8c1;
    box-shadow: 0 22px 60px rgba(50, 35, 28, 0.14);
}

.author-profile-image::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: inherit;
    z-index: 2;
    pointer-events: none;
}

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

.author-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.author-eyebrow,
.author-section-label {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #766a63;
}

.author-hero__content h1 {
    margin: 0 0 12px;
    font-size: clamp(42px, 4vw, 64px);
    line-height: 1.08;
    font-weight: 600;
    color: #262626;
}

.author-role {
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.7;
    color: #5f5651;
}

.author-role span {
    display: inline-block;
    margin: 0 7px;
    color: #9e8d84;
}

.author-quote {
    position: relative;
    margin: 0 0 24px;
    padding: 24px 28px;
    border-left: 3px solid #262626;
    background: rgba(255, 255, 255, 0.45);
    font-family: "Cinzel", serif;
    font-size: 21px;
    line-height: 1.7;
    color: #2f2a27;
}

.author-intro {
    max-width: 680px;
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.9;
    color: #4f4945;
}

.author-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.author-socials {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
}

.author-socials a {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(38, 38, 38, 0.22);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.55);
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.author-socials a:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.author-socials img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.author-socials a:hover img {
    filter: brightness(0) invert(1);
}

/* CONTENT */
.author-section {
    padding: 80px 0;
}

.author-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 64px;
    align-items: start;
}

.author-main-content {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.author-content-block {
    position: relative;
}

.author-content-block h2 {
    margin: 0 0 20px;
    font-size: 34px;
    line-height: 1.3;
    color: #262626;
}

.author-content-block p {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.95;
    color: #55504c;
}

.author-highlight-block {
    padding: 34px;
    background: #f7f3f0;
    border: 1px solid #e8dfd9;
}

.author-text-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #262626;
    text-decoration: underline;
    text-underline-offset: 5px;
    transition: color 0.3s ease;
}

.author-text-link:hover {
    color: #9f2d2d;
}

/* SIDEBAR */
.author-sidebar {
    position: sticky;
    top: 180px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.author-sidebar-card {
    padding: 26px;
    border: 1px solid #ece7e2;
    background: #ffffff;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.035);
}

.author-sidebar-card h3 {
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #ece7e2;
    font-size: 21px;
    line-height: 1.35;
}

.author-topic-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.author-topic-list li {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.6;
    color: #5d5854;
}

.author-topic-list li::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #9f2d2d;
}

.author-contact-card {
    text-align: center;
    align-items: center;
}

.author-contact-card span {
    display: block;
    margin-bottom: 14px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #777;
}

.author-contact-card a {
    display: inline-block;
}

.author-contact-card img {
    width: 150px;
    height: auto;
    margin-inline: auto;
}

.author-contact-card p {
    margin: 18px 0 0;
    font-size: 14px;
    line-height: 1.75;
    color: #666;
}

/* EXPERTISE */
.author-expertise-section {
    padding: 76px 0;
    background: #f8f6f4;
}

.author-expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.author-expertise-card {
    min-height: 145px;
    padding: 24px;
    border: 1px solid #e8e1dc;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.author-expertise-card:hover {
    transform: translateY(-4px);
    border-color: #d4c7c0;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.author-expertise-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #262626;
    color: #ffffff;
    font-size: 14px;
}

.author-expertise-card h3 {
    margin: 22px 0 0;
    font-size: 16px;
    line-height: 1.5;
    color: #262626;
}

/* AUTHOR ARTICLES */
.author-articles-section {
    padding: 80px 0;
}

.author-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.author-blog-card .blog-card__image img {
    height: 300px;
}

.author-all-articles {
    display: flex;
    justify-content: center;
    margin-top: 38px;
}

.author-no-articles {
    text-align: center;
    padding: 40px 20px;
    background: #f8f6f4;
}

/* CLOSING */
.author-closing {
    position: relative;
    padding: 90px 0;
    background: #262626;
    color: #ffffff;
    overflow: hidden;
}

.author-closing::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    top: -220px;
    right: -120px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.author-closing::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    bottom: -190px;
    left: -100px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.author-closing__inner {
    position: relative;
    z-index: 2;
    max-width: 850px;
    text-align: center;
}

.author-closing .author-section-label {
    color: rgba(255, 255, 255, 0.68);
}

.author-closing h2 {
    margin: 0 0 20px;
    font-size: 40px;
    line-height: 1.3;
    color: #ffffff;
}

.author-closing p {
    margin: 0 auto 28px;
    max-width: 760px;
    font-size: 16px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.78);
}

/* TABLET */
@media (max-width: 1199px) {
    .author-hero__inner {
        grid-template-columns: 380px minmax(0, 1fr);
        gap: 48px;
    }

    .author-profile-image {
        width: 360px;
        height: 460px;
    }

    .author-content-grid {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 40px;
    }

    .author-expertise-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .author-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* TABLET / MOBILE */
@media (max-width: 991px) {
    .author-hero {
        padding: 54px 0;
    }

    .author-hero__inner {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .author-profile-image {
        width: min(100%, 420px);
        height: 500px;
    }

    .author-hero__content {
        align-items: center;
        text-align: center;
    }

    .author-quote {
        max-width: 720px;
        text-align: left;
    }

    .author-content-grid {
        grid-template-columns: 1fr;
    }

    .author-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .author-contact-card {
        grid-column: span 2;
    }

    .author-expertise-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* MOBILE */
@media (max-width: 767px) {
    .author-breadcrumb {
        padding: 18px 0;
        font-size: 13px;
    }

    .author-hero {
        padding: 36px 0;
    }

    .author-profile-image {
        width: 100%;
        height: 420px;
        border-radius: 150px 150px 18px 18px;
    }

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

    .author-role {
        font-size: 14px;
    }

    .author-role span {
        margin: 0 4px;
    }

    .author-quote {
        padding: 18px 20px;
        font-size: 17px;
        line-height: 1.7;
    }

    .author-intro {
        font-size: 14px;
    }

    .author-hero__actions {
        width: 100%;
        flex-direction: column;
    }

    .author-hero__actions .btn {
        width: 100%;
    }

    .author-section {
        padding: 48px 0;
    }

    .author-main-content {
        gap: 38px;
    }

    .author-content-block h2 {
        font-size: 27px;
    }

    .author-content-block p {
        font-size: 14px;
        line-height: 1.85;
    }

    .author-highlight-block {
        padding: 24px 20px;
    }

    .author-sidebar {
        grid-template-columns: 1fr;
    }

    .author-contact-card {
        grid-column: auto;
    }

    .author-expertise-section,
    .author-articles-section {
        padding: 48px 0;
    }

    .author-expertise-grid,
    .author-blog-grid {
        grid-template-columns: 1fr;
    }

    .author-expertise-card {
        min-height: 120px;
    }

    .author-blog-card .blog-card__image img {
        height: 260px;
    }

    .author-closing {
        padding: 58px 0;
    }

    .author-closing h2 {
        font-size: 28px;
    }

    .author-closing p {
        font-size: 14px;
    }
}