/* ============================================
   YAZAR PROFIL SAYFASI - CSS
   ============================================ */

.author-profile-page {
    padding: 0;
    margin-top: 7px;
    margin-bottom: 30px;
}

/* Breadcrumb */
.author-profile-page .news-detail-breadcrumb-card {
    background: #ffffff;
    border-radius: 0;
    padding: 8px 16px;
    margin-bottom: 15px;
    box-shadow: none;
    display: flex;
    align-items: center;
    margin-left: 20px;
    margin-right: 20px;
}

/* Yazar Başlık Kartı */
.author-profile-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px 30px;
    border-radius: 0;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    margin-left: 20px;
    margin-right: 20px;
}

.author-profile-header-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.author-profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.author-profile-avatar-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 60px;
    flex-shrink: 0;
    border: 5px solid white;
}

.author-profile-info {
    flex: 1;
}

.author-profile-name {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.author-profile-bio {
    font-size: 1rem;
    margin: 0 0 25px 0;
    opacity: 0.95;
    line-height: 1.6;
}

/* İstatistikler */
.author-profile-stats {
    display: flex;
    gap: 30px;
}

.author-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.author-stat-number {
    font-size: 1.8rem;
    font-weight: 700;
}

.author-stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Layout */
.author-profile-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 15px;
    padding: 0 20px 30px;
    margin-left: 0;
    margin-right: 0;
}

/* Ana İçerik */
.author-profile-main {
    background: white;
    border-radius: 0;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

/* Tablolara köşe ekle */
.author-profile-main table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
}

.author-profile-main table thead th {
    border-radius: 8px 8px 0 0;
}

.author-profile-main table tbody tr:last-child td {
    border-radius: 0 0 8px 8px;
}

/* İçerik Bölümü */
.author-content-section {
    margin-bottom: 30px;
}

.author-content-section:last-child {
    margin-bottom: 0;
}

.author-content-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-content-title i {
    color: #667eea;
}

/* İçerik Liste */
.author-content-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.author-content-list-item {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    gap: 15px;
    padding: 15px;
    transition: all 0.3s;
}

.author-content-list-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-color: #667eea;
}

.author-content-list-thumbnail {
    width: 150px;
    height: 120px;
    background: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.author-content-list-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-content-list-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.author-content-list-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #333;
    line-height: 1.4;
}

.author-content-list-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.author-content-list-title a:hover {
    color: #667eea;
}

.author-content-list-summary {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 10px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.author-content-list-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #999;
}

.author-content-date,
.author-content-views {
    display: flex;
    align-items: center;
    gap: 5px;
}

.author-content-date i,
.author-content-views i {
    color: #667eea;
}

/* Boş Durum */
.author-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.author-empty-state i {
    font-size: 60px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.author-empty-state p {
    font-size: 1.1rem;
}

/* Sayfalama */
.author-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-item {
    display: inline-block;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    background: white;
}

.page-link:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.page-item.active .page-link {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.page-link i {
    font-size: 0.8rem;
}

/* Sidebar */
.author-profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0;
}

.author-sidebar-section {
    background: white;
    border-radius: 0;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    border-top: 1px solid #e0e0e0;
}

.author-sidebar-section:first-child {
    border-top: none;
}

/* Popüler Makaleler */
.popular-articles-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.popular-article-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    padding: 10px;
    border-radius: 6px;
    transition: all 0.3s;
}

.popular-article-item:hover {
    background: #f9f9f9;
    transform: translateX(3px);
}

.popular-article-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.popular-article-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.popular-article-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 6px 0;
    color: #333;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.popular-article-views {
    font-size: 0.8rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
}

.author-sidebar-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.author-sidebar-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-sidebar-title i {
    color: #667eea;
}

.author-sidebar-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #f5f5f5;
    color: #667eea;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.author-sidebar-more:hover {
    background: #667eea;
    color: white;
}

/* Sidebar Bilgileri */
.author-sidebar-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.author-sidebar-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 6px;
}

.author-sidebar-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.author-sidebar-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #667eea;
}

/* Sidebar Liste */
.author-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.author-sidebar-item-link {
    display: flex;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s;
    padding: 10px;
    border-radius: 6px;
}

.author-sidebar-item-link:hover {
    background: #f9f9f9;
}

.author-sidebar-thumb {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    overflow: hidden;
}

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

.author-sidebar-thumb-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 24px;
    flex-shrink: 0;
}

.author-sidebar-item-info {
    flex: 1;
    min-width: 0;
}

.author-sidebar-item-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.author-sidebar-item-count {
    font-size: 0.8rem;
    color: #999;
}

/* Yazarlar Carousel */
.author-carousel-container {
    position: relative;
    max-height: 360px;
    overflow: hidden;
}

.author-carousel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 0;
    max-height: 360px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.author-carousel::-webkit-scrollbar {
    display: none;
}

.author-carousel-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    text-decoration: none;
    gap: 12px;
    transition: all 0.3s;
    padding: 10px 8px;
    border-radius: 6px;
    color: inherit;
    min-height: 68px;
    flex-shrink: 0;
}

.author-carousel-item:hover {
    background: #f9f9f9;
    transform: translateX(3px);
}

.author-carousel-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #667eea;
    flex-shrink: 0;
}

.author-carousel-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 28px;
    flex-shrink: 0;
}

.author-carousel-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    color: #333;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.author-carousel-count {
    font-size: 0.8rem;
    color: #999;
    margin: 0;
}

.author-carousel-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    align-items: center;
    margin-top: 12px;
}

.author-carousel-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    transition: all 0.3s;
    font-size: 0.8rem;
}

.author-carousel-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Responsive */
@media (max-width: 768px) {
    .author-profile-layout {
        grid-template-columns: 1fr;
    }

    .author-profile-header-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .author-profile-avatar,
    .author-profile-avatar-placeholder {
        width: 120px;
        height: 120px;
    }

    .author-profile-name {
        font-size: 1.8rem;
    }

    .author-profile-stats {
        justify-content: space-around;
        width: 100%;
    }

    .author-content-list-item {
        flex-direction: column;
        gap: 12px;
    }

    .author-content-list-thumbnail {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .author-profile-page {
        padding: 0;
    }

    .author-profile-page .news-detail-breadcrumb-card {
        margin-left: 15px;
        margin-right: 15px;
        padding: 8px 12px;
    }

    .author-profile-header {
        padding: 25px 15px;
        margin-bottom: 15px;
        margin-left: 15px;
        margin-right: 15px;
    }

    .author-profile-layout {
        padding: 0 15px 20px;
        gap: 15px;
    }

    .author-profile-header-content {
        gap: 15px;
    }

    .author-profile-avatar,
    .author-profile-avatar-placeholder {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }

    .author-profile-name {
        font-size: 1.5rem;
    }

    .author-profile-bio {
        font-size: 0.9rem;
    }

    .author-profile-stats {
        gap: 15px;
    }

    .author-stat-number {
        font-size: 1.5rem;
    }

    .author-stat-label {
        font-size: 0.8rem;
    }

    .author-profile-main {
        padding: 15px;
    }

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

    .author-content-title {
        font-size: 1.2rem;
    }
}

