/* ============================================
   MAKALE DETAY SAYFASI - CSS
   ============================================ */

.article-detail-page {
    padding: 0;
    margin-top: 7px;
    margin-bottom: 30px;
}

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

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

.article-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.article-detail-summary {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.95;
    line-height: 1.6;
}

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

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

/* Meta Bilgileri */
.article-detail-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.article-meta-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.article-author-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 20px;
}

.article-author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.article-author-name {
    font-weight: 600;
    color: #111827;
    text-decoration: none;
}

.article-author-name:hover {
    color: #667eea;
}

.article-meta-date {
    font-size: 0.9rem;
    color: #6b7280;
}

.article-meta-stats {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #6b7280;
}

.article-meta-views,
.article-meta-reading-time {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Makale Görseli */
.article-featured-image {
    margin: 0 -20px 20px -20px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Sosyal Paylaşım Toolbar */
.article-share-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px 14px;
    padding: 8px 12px;
    border-radius: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(15,23,42,0.06);
    margin-bottom: 20px;
}

.article-share-toolbar-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.article-share-toolbar-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-share-label {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    margin-right: 4px;
}

.article-share-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-share-icon-link {
    width: 32px;
    height: 32px;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(15,23,42,0.18);
    transition: all 0.3s ease;
}

.article-share-icon-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15,23,42,0.25);
}

.article-share-icon-link--facebook {
    background: #1877f2;
}

.article-share-icon-link--x {
    background: #020617;
}

.article-share-icon-link--whatsapp {
    background: #16a34a;
}

.article-share-icon-link--email {
    background: #4b5563;
}

.article-share-icon-link--linkedin {
    background: #0a66c2;
}

.article-share-icon-link--telegram {
    background: #0088cc;
}

.article-share-icon-link--nextsocial {
    background: #2563eb;
}

.article-share-icon-link--nextsocial .article-share-nextsocial-letter {
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    display: inline-block;
}

.article-share-icon-link--copy {
    background: #6b7280;
}

.article-share-x-icon {
    width: 14px;
    height: 14px;
    display: inline-block;
}

.article-toolbar-btn {
    width: 32px;
    height: 32px;
    border-radius: 0;
    border: 1px solid #e5e7eb;
    background: #f3f4f6;
    color: #4b5563;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.article-toolbar-btn i {
    font-size: 14px;
}

.article-toolbar-btn:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}

.article-toolbar-btn.is-active {
    background: #667eea;
    border-color: #667eea;
    color: #ffffff;
}

/* Comments Card Styles */
.article-comments-card {
    margin-top: 24px;
    background: #ffffff;
    border-radius: 0;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 32px rgba(15,23,42,0.15);
    padding: 18px 18px 20px;
}

.article-comments-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.article-comments-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.article-comments-header-line {
    flex: 1;
    height: 2px;
    background: var(--primary-color);
    opacity: 0.6;
    border-radius: 999px;
}

.article-comments-count {
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    white-space: nowrap;
}

.article-comment-alert {
    font-size: 13px;
    padding: 8px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.article-comment-alert-success {
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.article-comment-alert-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.article-comment-form-group {
    margin-bottom: 10px;
}

.article-comment-form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.article-comment-textarea {
    width: 100%;
    min-height: 110px;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    padding: 8px 10px;
    font-size: 13px;
    resize: vertical;
}

.article-comment-input {
    width: 100%;
    height: 38px;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    padding: 6px 10px;
    font-size: 13px;
}

.article-comment-submit {
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 4px;
    border: none;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.article-comment-submit:hover {
    filter: brightness(0.95);
}

.article-comments-note {
    margin-top: 6px;
    font-size: 12px;
    color: #6b7280;
}

.article-comments-list {
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-comment-item {
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

.article-comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.article-comment-author {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
}

.article-comment-date {
    font-size: 11px;
    color: #6b7280;
}

.article-comment-body {
    font-size: 13px;
    color: #374151;
    line-height: 1.5;
}

.article-comments-empty {
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    font-size: 13px;
    color: #9ca3af;
}

/* Makale Kartı */
.article-card {
    background: #ffffff;
    border-radius: 0;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 32px rgba(15,23,42,0.15);
    padding: 20px;
    margin-bottom: 24px;
}

/* Makale İçeriği */
.article-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #374151;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #111827;
}

.article-content h2 {
    font-size: 1.8rem;
}

.article-content h3 {
    font-size: 1.5rem;
}

.article-content h4 {
    font-size: 1.2rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.article-content blockquote {
    border-left: 4px solid #667eea;
    padding-left: 1rem;
    margin: 1.5rem 0;
    color: #6b7280;
    font-style: italic;
}

.article-content a {
    color: #667eea;
    text-decoration: none;
}

.article-content a:hover {
    text-decoration: underline;
}

/* Sidebar */
.article-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.article-sidebar-section {
    background: white;
    border-radius: 0;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.article-sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

/* Yazar Kartı */
.article-author-card {
    text-align: center;
}

.article-author-card-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #f3f4f6;
}

.article-author-card-avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 40px;
    margin: 0 auto 15px;
}

.article-author-card-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #111827;
}

.article-author-card-name a {
    color: #111827;
    text-decoration: none;
}

.article-author-card-name a:hover {
    color: #667eea;
}

.article-author-card-bio {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0 0 15px 0;
    line-height: 1.6;
}

.article-author-card-link {
    display: inline-block;
    padding: 10px 20px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.3s;
}

.article-author-card-link:hover {
    background: #764ba2;
}

/* İlgili Makaleler */
.article-related-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-related-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    padding: 10px;
    border-radius: 4px;
    transition: background 0.3s;
}

.article-related-item:hover {
    background: #f9fafb;
}

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

.article-related-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
    line-height: 1.4;
}



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

    .article-detail-header {
        padding: 30px 20px;
    }

    .article-detail-title {
        font-size: 1.8rem;
    }

    .article-detail-main {
        padding: 15px;
    }

    .article-detail-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-meta-stats {
        width: 100%;
        justify-content: flex-start;
        gap: 30px;
    }

    .article-share-toolbar {
        padding: 12px;
        margin: 14px 0;
        gap: 10px;
    }

    .article-share-label {
        font-size: 12px;
        display: none;
    }

    .article-share-icons {
        gap: 8px;
    }

    .article-share-icon-link {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .article-detail-page {
        margin-top: 0;
    }

    .article-detail-header {
        padding: 25px 15px;
        margin-bottom: 15px;
    }

    .article-detail-title {
        font-size: 1.5rem;
    }

    .article-detail-main {
        padding: 0;
    }

    .article-card {
        padding: 15px;
        margin-bottom: 15px;
    }

    .article-content {
        font-size: 0.95rem;
    }

    .article-featured-image {
        margin: 0 -15px 15px -15px;
    }

    .article-sidebar-section {
        padding: 15px;
    }

    .article-author-card-avatar {
        width: 80px;
        height: 80px;
    }

    .article-author-card-avatar-placeholder {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }

    .article-share-toolbar {
        padding: 10px;
        margin: 12px -15px;
        border-radius: 0;
    }

    .article-share-icon-link {
        width: 34px;
        height: 34px;
    }

    .article-share-icon-link i,
    .article-share-icon-link svg {
        font-size: 13px;
    }

    /* Comments Tablet */
    .article-comments-card {
        margin-top: 20px;
        padding: 14px;
    }

    .article-comments-header {
        flex-wrap: wrap;
        gap: 8px;
    }

    .article-comments-title {
        font-size: 16px;
    }

    .article-comments-header-line {
        display: none;
    }

    .article-comments-count {
        font-size: 12px;
        margin-left: 0;
    }

    .article-comment-form-label {
        font-size: 12px;
    }

    .article-comment-textarea {
        min-height: 80px;
        font-size: 14px;
    }

    .article-comment-input {
        height: 36px;
        font-size: 14px;
    }

    .article-comment-submit {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
    }

    .article-comments-note {
        font-size: 11px;
    }

    .article-comment-author {
        font-size: 12px;
    }

    .article-comment-date {
        font-size: 10px;
    }
}