/* ========================================
   SINGLE.CSS - BLOG YAZILARININ BAĞIMSIZ CSS DOSYASI
   ========================================
   
   ⚠️ UYARI: BU DOSYA YALNIZCA BLOG YAZILARI İÇİNDİR
   - Sadece single.php tarafından kullanılır
   - single-fragman.php, single-oyuncu.php, single-yonetmen.php ile PAYLAŞILMAZ
   - Tüm class'lar .single-blog-* prefix'i ile başlar
   - single-fragman.php ile AYNI TASARIMI kullanır
   
   ======================================== */

/* Main Layout Grid - Sidebar sağda */
.single-blog-page-layout {
    display: grid !important;
    grid-template-columns: 1fr 350px !important;
    gap: 25px;
    margin-top: var(--header-content-gap);
    margin-bottom: 60px;
    max-width: 100%;
    width: 100%;
    overflow: visible !important;
    box-sizing: border-box;
    align-items: start !important;
    position: relative;
    z-index: 1;
}

.single-blog-page-layout > * {
    min-width: 0 !important;
}

/* Main Content Area */
.single-blog-main-content {
    background: #ffffff !important;
    border-radius: 0;
    overflow: hidden !important;
    padding: 0;
    min-width: 0 !important;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

/* Article Container */
.single-blog-article {
    padding: 0;
    background: transparent;
    min-width: 0 !important;
    max-width: 100%;
    overflow: hidden !important;
    box-sizing: border-box;
}

/* Sidebar */
.single-blog-sidebar {
    align-self: start;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 350px;
}

/* Featured Image Container - Basit ve Temiz */
.single-blog-featured-image {
    width: 100%;
    position: relative;
    margin: 0;
    line-height: 0;
    z-index: 1;
}

.single-blog-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
}

/* Kategori ve IMDb Badge'lerini Gizle */
.single-blog-categories-overlay,
.single-blog-imdb-badge {
    display: none !important;
}

/* Breadcrumb - Gizle */
.single-blog-breadcrumb {
    display: none !important;
}

/* Header */
.single-blog-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 10px 18px;
    margin-bottom: 0;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.single-blog-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
    margin: 0;
}

/* Meta Wrapper - Gizle */
.single-blog-meta-wrapper {
    display: none !important;
}

/* Article Content */
.single-blog-content {
    padding: 20px 20px !important;
    font-size: 19px;
    line-height: 1.85;
    color: #2c3e50;
    background: #ffffff !important;
    border-radius: 8px;
    margin: 5px 0 !important;
    font-family: Georgia, 'Times New Roman', serif;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    min-width: 0 !important;
    max-width: 100%;
    overflow: hidden !important;
    word-wrap: break-word;
    box-sizing: border-box;
}

.single-blog-content p {
    margin-bottom: 18px;
    text-align: justify;
}

.single-blog-content p:first-of-type {
    font-size: 21px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.7;
}

.single-blog-content h2,
.single-blog-content h3,
.single-blog-content h4 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: #1a1a1a;
    font-weight: 800;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: -0.5px;
}

.single-blog-content h2 {
    font-size: 32px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--theme-primary-color, #ff9307);
}

.single-blog-content h3 {
    font-size: 26px;
    color: #2c3e50;
}

.single-blog-content h4 {
    font-size: 22px;
    color: #34495e;
}

.single-blog-content ul,
.single-blog-content ol {
    margin-bottom: 24px;
    padding-left: 35px;
}

.single-blog-content li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.single-blog-content img {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
    display: block !important;
    margin: 20px auto;
    border-radius: 4px;
    object-fit: contain !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.single-blog-content iframe,
.single-blog-content embed,
.single-blog-content object,
.single-blog-content video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    display: block !important;
    margin: 35px 0;
    border-radius: 4px;
}

.single-blog-content blockquote {
    border-left: 5px solid var(--theme-primary-color, #ff9307);
    padding: 25px 35px;
    margin: 35px 0;
    background: #f8f9fa;
    font-style: italic;
    color: #555;
    font-size: 20px;
    line-height: 1.7;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.single-blog-content a {
    color: var(--theme-primary-color, #ff9307);
    text-decoration: underline;
    font-weight: 600;
    transition: all 0.3s ease;
}

.single-blog-content a:hover {
    color: #e68506;
    text-decoration: none;
}

.single-blog-content strong {
    font-weight: 700;
    color: #1a1a1a;
}

/* Page Links */
.single-blog-page-links {
    margin: 30px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    text-align: center;
}

.single-blog-page-links .page-number {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.single-blog-page-links .page-number:hover {
    background: var(--theme-primary-color, #ff9307);
    color: white;
    border-color: var(--theme-primary-color, #ff9307);
}

/* Tags */
.single-blog-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.single-blog-tags .tags-label {
    font-weight: 600;
    color: #666;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-right: 4px;
}

.single-blog-tags .single-blog-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #f5f5f5;
    color: #666;
    text-decoration: none;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 500;
    border: none;
    transition: all 0.2s ease;
}

.single-blog-tags .single-blog-tag:hover {
    background: #e74c3c;
    color: white;
}

/* Interaction Section */
.single-blog-interaction {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    padding: 12px 15px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.single-blog-interaction .interaction-stats {
    display: flex;
    align-items: center;
    gap: 12px;
}

.single-blog-interaction .interaction-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.single-blog-interaction .interaction-share {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-wrap: wrap;
}

.share-label {
    font-size: 11px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 0;
    width: 100%;
    margin-bottom: 8px;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-btn svg {
    width: 16px;
    height: 16px;
}

.share-facebook {
    background: #1877f2;
    color: white;
}

.share-facebook:hover {
    background: #0d65d9;
}

.share-twitter {
    background: #000000;
    color: white;
}

.share-twitter:hover {
    background: #333333;
}

.share-whatsapp {
    background: #25d366;
    color: white;
}

.share-whatsapp:hover {
    background: #1ebe57;
}

.share-email {
    background: #7f8c8d;
    color: white;
}

.share-email:hover {
    background: #6c7a7b;
}

/* Author Card */
.single-blog-author-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 8px;
    margin: 20px 0;
    align-items: flex-start;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.single-blog-author-card .author-card-avatar {
    flex-shrink: 0;
}

.single-blog-author-card .author-card-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    display: block;
}

.single-blog-author-card .author-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.single-blog-author-card .author-card-name {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.single-blog-author-card .author-card-bio {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.single-blog-author-card .author-card-link {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: #e74c3c;
    text-decoration: none;
    margin-top: 4px;
    transition: all 0.3s ease;
}

.single-blog-author-card .author-card-link:hover {
    color: #c0392b;
    transform: translateX(3px);
}

/* Related Posts */
.single-blog-related-posts {
    margin: 10px 0;
    padding: 20px;
    background: #ffffff !important;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.single-blog-related-posts .section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.single-blog-related-posts .section-title::after {
    content: '';
    flex: 1;
    height: 3px;
    background: var(--theme-primary-color, #ff9307);
    border-radius: 2px;
}

.single-blog-related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.single-blog-related-card {
    background: #f8f9fa;
    border-radius: 6px;
    overflow: hidden;
    transition: opacity 0.2s ease;
    border: 1px solid #e8e8e8;
}

.single-blog-related-card:hover {
    opacity: 0.8;
}

.single-blog-related-link {
    text-decoration: none;
    display: block;
}

.single-blog-related-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f5f5f5;
    margin-bottom: 10px;
}

.single-blog-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.single-blog-related-title {
    padding: 0;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Comments Section */
.single-blog-article #comments {
    margin: 0 0 10px 0;
    padding: 20px;
    background: #ffffff !important;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.single-blog-article .comments-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.single-blog-article .comments-title::after {
    content: '';
    flex: 1;
    height: 3px;
    background: var(--theme-primary-color, #ff9307);
    border-radius: 2px;
}

.single-blog-article .comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.single-blog-article .comment {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e8e8e8;
}

.single-blog-article .comment-body {
    display: flex;
    gap: 15px;
}

.single-blog-article .comment-author {
    flex-shrink: 0;
}

.single-blog-article .comment-author .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.single-blog-article .comment-content {
    flex: 1;
}

.single-blog-article .comment-metadata {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.single-blog-article .comment-metadata a {
    color: #666;
    text-decoration: none;
}

.single-blog-article .comment-metadata a:hover {
    color: var(--theme-primary-color, #ff9307);
}

.single-blog-article .comment-text p {
    margin: 0 0 10px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.single-blog-article .reply {
    margin-top: 8px;
}

.single-blog-article .comment-reply-link {
    display: inline-block;
    padding: 4px 12px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.single-blog-article .comment-reply-link:hover {
    background: var(--theme-primary-color, #ff9307);
    color: white;
    border-color: var(--theme-primary-color, #ff9307);
}

.single-blog-article .children {
    list-style: none;
    margin: 15px 0 0 30px;
    padding: 0;
}

.single-blog-article .comment-respond {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
}

.single-blog-article .comment-reply-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px 0;
}

.single-blog-article .comment-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.single-blog-article .comment-form-comment,
.single-blog-article .comment-form-author,
.single-blog-article .comment-form-email,
.single-blog-article .comment-form-url {
    margin: 0;
}

.single-blog-article .comment-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.single-blog-article .comment-form input[type="text"],
.single-blog-article .comment-form input[type="email"],
.single-blog-article .comment-form input[type="url"],
.single-blog-article .comment-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.single-blog-article .comment-form input[type="text"]:focus,
.single-blog-article .comment-form input[type="email"]:focus,
.single-blog-article .comment-form input[type="url"]:focus,
.single-blog-article .comment-form textarea:focus {
    outline: none;
    border-color: var(--theme-primary-color, #ff9307);
}

.single-blog-article .comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.single-blog-article .form-submit {
    margin: 0;
}

.single-blog-article button[type="submit"],
.single-blog-article button.submit-btn,
.single-blog-article .submit-btn,
.single-blog-article input[type="submit"].submit,
.single-blog-article input.submit,
.single-blog-article .submit {
    padding: 10px 24px !important;
    background: #ffffff !important;
    color: #333 !important;
    border: 2px solid var(--theme-primary-color, #ff9307) !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.single-blog-article button[type="submit"]:hover,
.single-blog-article button.submit-btn:hover,
.single-blog-article .submit-btn:hover,
.single-blog-article input[type="submit"].submit:hover,
.single-blog-article input.submit:hover,
.single-blog-article .submit:hover {
    background: var(--theme-primary-color, #ff9307) !important;
    color: #ffffff !important;
    border-color: var(--theme-primary-color, #ff9307) !important;
}

/* =====================================================
   RESPONSIVE - TABLET
   ===================================================== */
@media (max-width: 1024px) {
    .single-blog-page-layout {
        grid-template-columns: 1fr 300px;
        gap: 20px;
    }
    
    .single-blog-sidebar {
        max-width: 300px;
    }
    
    .single-blog-title {
        font-size: 28px;
    }
    
    .single-blog-content {
        font-size: 18px;
    }
}

/* =====================================================
   RESPONSIVE - MOBILE
   ===================================================== */
@media (max-width: 768px) {
    .single-blog-page-layout {
        grid-template-columns: 1fr !important;
        gap: 20px;
        margin-top: 20px;
        padding: 0;
    }
    
    .single-blog-main-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .single-blog-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0;
        padding: 0;
    }
    
    .single-blog-featured-image {
        width: 100%;
        height: auto;
        min-height: auto;
        max-height: none;
        border-radius: 8px;
        margin-bottom: 15px;
        position: relative;
        z-index: 1;
    }
    
    .single-blog-featured-image img {
        width: 100%;
        height: auto;
        max-height: 500px;
        object-fit: contain;
        position: relative;
    }
    
    .single-blog-header {
        padding: 8px 12px;
        margin-bottom: 15px;
    }
    
    .single-blog-title {
        font-size: 24px;
    }
    
    .single-blog-content {
        padding: 15px !important;
        font-size: 17px;
    }
    
    .single-blog-related-posts-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .single-blog-tags {
        padding: 10px 15px;
        gap: 6px;
    }
    
    .single-blog-interaction {
        padding: 10px 15px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }
    
    .single-blog-interaction .interaction-stats,
    .single-blog-interaction .interaction-buttons {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        flex: 0 0 auto;
    }
    
    .single-blog-interaction .interaction-share {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        flex: 1 1 100%;
        margin-top: 8px;
        margin-left: 0;
    }
    
    .share-label {
        display: block;
        width: 100%;
        margin-bottom: 6px;
    }
    
    .share-btn {
        width: 34px;
        height: 34px;
    }
    
    .share-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .single-blog-author-card {
        flex-direction: column;
        align-items: center;
        padding: 15px;
        gap: 15px;
        text-align: center;
    }
    
    .single-blog-author-card .author-card-avatar {
        margin: 0 auto;
    }
    
    .single-blog-author-card .author-card-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .single-blog-featured-image {
        width: 100%;
        height: auto;
        min-height: auto;
        max-height: none;
        border-radius: 6px;
        margin-bottom: 12px;
    }
    
    .single-blog-featured-image img {
        max-height: 400px;
        object-fit: contain;
    }
    
    .single-blog-header {
        padding: 8px 10px;
        margin-bottom: 12px;
    }
    
    .single-blog-title {
        font-size: 20px;
    }
    
    .single-blog-content {
        font-size: 16px;
    }
    
    .single-blog-tags {
        padding: 8px 12px;
        gap: 5px;
    }
    
    .single-blog-tags .tags-label {
        font-size: 10px;
    }
    
    .single-blog-tags .single-blog-tag {
        padding: 3px 8px;
        font-size: 10px;
    }
    
    .single-blog-interaction {
        padding: 8px 12px;
    }
    
    .single-blog-interaction .interaction-stats,
    .single-blog-interaction .interaction-buttons {
        gap: 6px;
    }
    
    .single-blog-interaction .interaction-share {
        gap: 6px;
        margin-top: 6px;
    }
    
    .share-label {
        font-size: 10px;
    }
    
    .share-btn {
        width: 30px;
        height: 30px;
    }
    
    .share-btn svg {
        width: 13px;
        height: 13px;
    }
    
    .single-blog-author-card {
        padding: 12px;
    }
    
    .single-blog-author-card .author-card-name {
        font-size: 16px;
    }
    
    .single-blog-author-card .author-card-bio {
        font-size: 13px;
    }
}
