/* ==========================================================================
   Yazar Profil Sayfası — Modüler Sayfa Stilleri (TERFIUI v5)
   ========================================================================== */

/* Sayfa Gövdesi (Kural 20: 8px Spacing) */
/* Yazar Avatar / İkon Kapsayıcı */
.gd-author-avatar-wrap {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

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

/* Yazar Üst Rozet & Admin Grubu */
.gd-author-meta-top {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.gd-author-admin-btn {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
}

.gd-author-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 6px;
}

.gd-author-linkedin-badge {
    background: #f0f7ff;
    color: #0a66c2;
    border: 1px solid #bae6fd;
    text-decoration: none;
    transition: all 0.2s ease;
}

.gd-author-linkedin-badge:hover {
    background: #0a66c2;
    color: #ffffff;
    border-color: #0a66c2;
}

.gd-author-linkedin-badge:hover svg {
    stroke: #ffffff !important;
}

/* Sayfa İçerik Kartı (Tek Sütun Full Width) */
.gd-author-content-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
}

.gd-about-story-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    transition: border-color 0.2s ease;
}

.gd-about-story-card:hover {
    border-color: #3b82f6;
}

.gd-about-story-card__title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gd-about-story-card__text {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

.gd-author-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gd-author-section-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gd-author-bio-text {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

/* Sertifika & Bağlantı Rozetleri */
.gd-author-badges-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gd-author-cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #1e293b;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.2s ease;
}

.gd-author-cert-badge:hover {
    background: #f8fafc;
    border-color: #3b82f6;
    color: #2563eb;
    transform: translateY(-2px);
}

.gd-author-cert-badge--linkedin {
    background: #0a66c2;
    color: #ffffff;
    border-color: #0a66c2;
}

.gd-author-cert-badge--linkedin:hover {
    background: #084e96;
    color: #ffffff;
    border-color: #084e96;
}

/* Uzmanlık Etiketleri */
.gd-author-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gd-author-tag {
    display: inline-block;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    color: #1e293b;
    font-weight: 700;
}

/* Makaleler Grid */
.gd-author-divider {
    border: none;
    border-top: 1px solid #f1f5f9;
    margin: 4px 0;
}

.gd-author-posts-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .gd-author-posts-grid-2col {
        grid-template-columns: 1fr;
    }
}

.gd-author-pill-card {
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.gd-author-pill-card:hover {
    transform: translateY(-2px);
    border-color: #2563eb;
    box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.12);
}

.gd-author-pill-card:hover .gd-feature-pill-title {
    color: #2563eb;
}

.gd-author-post-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 18px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.gd-author-post-card:hover {
    transform: translateY(-2px);
    border-color: #2563eb;
    box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.12);
}

.gd-author-post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.gd-author-post-cat {
    display: inline-block;
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

.gd-author-post-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.73rem;
    color: #64748b;
}

.gd-author-post-stat-item {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.gd-author-post-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.45;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.gd-author-post-card:hover .gd-author-post-title {
    color: #2563eb;
}

.gd-author-post-desc {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gd-author-post-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #2563eb;
    font-size: 0.82rem;
    font-weight: 700;
}

.gd-author-post-footer-arrow {
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.gd-author-post-card:hover .gd-author-post-footer-arrow {
    transform: translateX(4px);
}

.gd-author-empty-posts {
    padding: 36px 20px;
    border: 2px dashed #e2e8f0;
    border-radius: 14px;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
}

/* EEAT Güvenilir Bilgi Bannerı */
.gd-author-eeat-banner {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 20px 24px;
    border-radius: 14px;
    border: 1px solid #bfdbfe;
    display: flex;
    align-items: center;
    gap: 16px;
}

.gd-author-eeat-icon {
    background: #2563eb;
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gd-author-eeat-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: #1e40af;
    margin: 0 0 4px;
}

.gd-author-eeat-desc {
    font-size: 0.82rem;
    color: #1e3a8a;
    line-height: 1.5;
    margin: 0;
}

/* ─── Responsive ────────────────────────────────────────────────── */
/* ─── Yazar Bulunamadı (404) Kartı ─────────────────────────────── */
.gd-author-not-found-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 60px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
}

.gd-author-not-found-icon {
    width: 80px;
    height: 80px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gd-author-not-found-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.gd-author-not-found-actions {
    margin-top: 8px;
}

@media (max-width: 992px) {
    .gd-split-60-40,
    .gd-author-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .gd-author-card,
    .gd-author-content-card {
        padding: 20px 16px;
    }

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

    .gd-author-eeat-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ── E-E-A-T Stats Ribbon ── */
.gd-author-stats-ribbon {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 8px;
}

.gd-author-stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.gd-author-stat-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

.gd-author-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gd-author-stat-info {
    display: flex;
    flex-direction: column;
}

.gd-author-stat-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.gd-author-stat-label {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
}

.gd-author-stat-expertise-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.gd-author-stat-tag {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    line-height: 1.3;
}


