/* Yazar detay — Adgrey */
.author-page {
    --ap-ink: #1a1228;
    --ap-muted: #6b6575;
    --ap-line: rgba(26, 18, 40, 0.08);
    --ap-surface: #ffffff;
    --ap-bg: #f6f4f8;
    --ap-accent: var(--pembe, #b91f8e);
    --ap-deep: #30205a;
    background:
        radial-gradient(ellipse 70% 45% at 0% 0%, rgba(185, 31, 142, 0.08), transparent 52%),
        radial-gradient(ellipse 50% 35% at 100% 5%, rgba(48, 32, 90, 0.07), transparent 48%),
        var(--ap-bg);
    padding: 0 0 4rem;
}

.author-page > .container {
    padding-top: 0.5rem;
}

.author-page .site-breadcrumb {
    margin: 1rem 0 1.5rem;
}

.author-hero {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem 1.75rem;
    align-items: center;
    padding: 1.75rem 1.75rem 1.85rem;
    margin-bottom: 2.5rem;
    background: var(--ap-surface);
    border: 1px solid var(--ap-line);
    border-radius: 20px;
    box-shadow: 0 12px 36px rgba(48, 32, 90, 0.06);
    overflow: hidden;
}

.author-hero::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--ap-accent), var(--ap-deep));
}

.author-avatar {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, #30205a, #b91f8e);
    border: 3px solid #fff;
    box-shadow: 0 8px 24px rgba(185, 31, 142, 0.22);
}

.author-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ap-accent);
    margin-bottom: 0.45rem;
}

.author-name {
    margin: 0 0 0.35rem;
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    font-weight: 700;
    color: var(--ap-deep);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.author-role {
    margin: 0 0 0.85rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ap-muted);
}

.author-bio {
    margin: 0;
    max-width: 40rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ap-ink);
    font-weight: 400;
}

.author-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.1rem;
}

.author-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(185, 31, 142, 0.08);
    color: var(--ap-deep);
    font-size: 0.82rem;
    font-weight: 700;
}

.author-section-head {
    position: relative;
    z-index: 2;
    margin-bottom: 1.35rem;
}

.author-section-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ap-accent);
    margin-bottom: 0.4rem;
}

.author-section-title {
    margin: 0;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--ap-deep);
    letter-spacing: -0.02em;
}

.author-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
}

.author-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--ap-surface);
    border: 1px solid var(--ap-line);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none !important;
    color: inherit;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s ease,
                border-color 0.25s ease;
}

.author-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(48, 32, 90, 0.12);
    border-color: rgba(185, 31, 142, 0.28);
    text-decoration: none !important;
    color: inherit;
}

.author-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #30205a 0%, #b91f8e 100%);
}

.author-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.author-card:hover .author-card-media img {
    transform: scale(1.06);
}

.author-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.1rem 1.15rem 1.2rem;
}

.author-card-date {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--ap-accent);
    margin-bottom: 0.45rem;
}

.author-card-title {
    margin: 0 0 0.85rem;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--ap-ink);
    line-height: 1.35;
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.8em;
}

.author-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ap-deep);
    transition: color 0.2s ease, gap 0.25s ease;
}

.author-card:hover .author-card-cta {
    color: var(--ap-accent);
    gap: 0.55rem;
}

.author-card-cta svg {
    width: 14px;
    height: 14px;
}

.author-empty {
    padding: 2rem;
    text-align: center;
    color: var(--ap-muted);
    background: var(--ap-surface);
    border: 1px dashed var(--ap-line);
    border-radius: 14px;
}

@media (max-width: 991.98px) {
    .author-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .author-hero {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
        padding: 1.5rem 1.25rem;
    }

    .author-hero::before {
        width: 100%;
        height: 3px;
        inset: 0 0 auto 0;
    }

    .author-bio {
        text-align: center;
    }

    .author-stats {
        justify-content: center;
    }

    .author-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .author-card,
    .author-card-media img {
        transition: none;
    }
}
