/* ========================================
   detay.css - Haber Detay Sayfası Stilleri
   ======================================== */

:root {
    --primary-color: #3b82f6;
    --secondary-color: #60a5fa;
    --light-bg: #dbeafe;
    --dark-color: #1e40af;
    --male-color: #3498db;
    --female-color: #e84393;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --card-hover-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 15px;
}

/* Masaüstü container genişliği */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* ✨ İçerik resimleri için stiller */
.content-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .content-image {
        margin: 0.75rem 0;
        border-radius: 10px;
    }
}

/* Ana Kart */
.detail-card {
    border: none !important;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(10px);
    position: relative;
    margin-top: 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
}

/* MASAÜSTÜNDE detail-card DARALTMA */
@media (min-width: 992px) {
    .detail-card {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
}

.detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 1;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.detail-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-hover-shadow);
    border-color: rgba(52, 152, 219, 0.3) !important;
}

/* Öne Çıkan Görsel */
.featured-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    background-color: #1a1a1a;
    padding: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.detail-card:hover .featured-image {
    transform: scale(1.02);
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

/* Kategori Etiketi */
.news-category,
.post-category {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 10;
    color: white;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-category i,
.post-category i {
    font-size: 0.7rem;
}

@media (max-width: 768px) {
    .news-category,
    .post-category {
        bottom: 10px;
        right: 10px;
        padding: 5px 12px;
        font-size: 0.7rem;
    }
}

/* ANA GÖRSEL KONTEYNERİ */
.post-image-container {
    position: relative;
    margin-bottom: 20px;
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    background: #000;
}

.post-image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.post-image-container .post-category-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 10;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    border-radius: 30px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.post-image-container .post-category-badge i {
    font-size: 0.7rem;
}

@media (max-width: 768px) {
    .post-image-container .post-category-badge {
        bottom: 10px;
        right: 10px;
        padding: 4px 10px;
        font-size: 0.65rem;
    }
    .post-image-container .post-category-badge i {
        font-size: 0.6rem;
    }
}

/* EKSTRA GÖRSELLER */
.extra-images {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.extra-image {
    flex: 1;
    min-width: 200px;
    border-radius: 16px;
    overflow: hidden;
    background: #f5f5f5;
}

.extra-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.extra-image img:hover {
    transform: scale(1.02);
}

/* Haber Üst Bilgi */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.news-meta-left {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.news-date, .news-views {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 500;
}

.news-date i, .news-views i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.news-date span, .news-views span {
    color: #2c3e50;
    font-weight: 600;
}

.weekly-views {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 10px;
    box-shadow: 0 4px 10px rgba(255, 165, 0, 0.3);
}

/* Profil Bilgi */
.profile-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--light-bg)20, transparent);
    border: 2px solid var(--primary-color) !important;
    transition: var(--transition);
    position: relative;
    flex-wrap: wrap;
}

@media (max-width: 576px) {
    .profile-info {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        padding: 15px;
    }
    
    .profile-info a {
        flex-shrink: 0;
    }
    
    .profile-details {
        flex: 1;
        min-width: 0;
    }
}

.profile-info::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.profile-info:hover {
    box-shadow: 0 8px 25px var(--primary-color)25 !important;
    transform: translateY(-2px) !important;
}

.profile-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid transparent;
    transition: var(--transition);
    flex-shrink: 0;
    position: relative;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--primary-color), var(--secondary-color)) border-box !important;
}

.profile-img.male {
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--male-color), #1E90FF) border-box !important;
}

.profile-img.female {
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--female-color), #FF1493) border-box !important;
}

.profile-img:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.profile-details {
    flex-grow: 1;
}

.user-name-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

#user-fullname {
    font-weight: 700;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gender-icon-detay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: white;
    font-size: 0.8rem;
    margin-left: 5px;
}

.gender-icon-detay.male {
    background: linear-gradient(135deg, var(--male-color), #1E90FF);
}

.gender-icon-detay.female {
    background: linear-gradient(135deg, var(--female-color), #FF1493);
}

.user-score {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    font-size: 0.8rem;
}

.user-score i.fa-star {
    color: #FFD700 !important;
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
}

.score-number {
    font-weight: 700;
    color: #e74c3c;
    margin-left: 2px;
}

/* Başlıklar */
.h1-main {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 25px 0 20px;
    color: var(--primary-color);
    border-bottom: 3px solid var(--light-bg);
    padding-bottom: 15px;
    position: relative;
}

.h1-main::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.h2-section {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 30px 0 20px;
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
    color: #2d3748;
}

.h3-subsection {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 25px 0 15px;
    color: var(--secondary-color);
    border-bottom: 2px solid var(--light-bg);
    padding-bottom: 8px;
}

.content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a5568;
}

.auto-paragraph {
    margin-bottom: 1.8rem;
}

.auto-list {
    margin: 1.8rem 0;
    padding: 1.5rem 1.5rem 1.5rem 2.5rem;
    background: var(--light-bg)20;
    border-left: 4px solid var(--secondary-color);
    border-radius: 0 12px 12px 0;
}

.auto-strong, .auto-bold {
    color: var(--primary-color);
    font-weight: 700;
}

/* YouTube Link */
.youtube-link {
    margin: 25px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.youtube-link iframe {
    width: 100%;
    height: 400px;
    border: none;
}

@media (max-width: 768px) {
    .youtube-link iframe {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .youtube-link iframe {
        height: 200px;
    }
}

/* ========================================
   AKSİYON BUTONLARI - TÜM CİHAZLARDA YAN YANA VE ORTALI
   ======================================== */
.action-buttons {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin: 20px 0 30px;
    align-items: center;
    justify-content: center;
}

.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: none;
    color: white;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    flex: 0 1 auto;
}

/* Buton renkleri */
.follow-button {
    background: linear-gradient(135deg, #10b981, #059669);
}

.follow-button.following {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.complain-button {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* YORUM YAP BUTONU - DİKKAT ÇEKİCİ */
.comment-button {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    position: relative;
    overflow: hidden;
}

.comment-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.comment-button:hover::before {
    left: 100%;
}

.comment-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

#speak-button {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

#speak-button.speaking {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Mobilde butonlar yan yana kalır, padding ve font küçülür */
@media (max-width: 768px) {
    .action-buttons {
        gap: 8px;
    }
    
    .action-button {
        padding: 8px 12px;
        font-size: 0.7rem;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .action-button {
        padding: 7px 10px;
        font-size: 0.65rem;
        gap: 4px;
    }
    
    .action-button i {
        font-size: 0.75rem;
    }
}

/* ========================================
   WHATSAPP DEVRAM BUTONU - MOBİLDE 2 SATIRA SIĞACAK ŞEKİLDE KÜÇÜLTÜLMÜŞ
   ======================================== */
.whatsapp-continue {
    text-align: center;
    margin: 20px 0;
    padding: 12px 16px;
    background: linear-gradient(135deg, #25D36615, #128C7E10);
    border-radius: 50px;
    border: 1px solid #25D36630;
    transition: all 0.3s ease;
}

.whatsapp-continue a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    background: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    line-height: 1.4;
    text-align: center;
}

.whatsapp-continue a i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.whatsapp-continue a:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    color: white;
}

/* Mobilde WhatsApp butonu - 2 satıra sığacak şekilde küçültülmüş */
@media (max-width: 768px) {
    .whatsapp-continue {
        padding: 8px 12px;
        margin: 15px 0;
    }
    
    .whatsapp-continue a {
        padding: 8px 16px;
        font-size: 0.75rem;
        gap: 6px;
        white-space: normal;
        word-break: break-word;
        max-width: 100%;
    }
    
    .whatsapp-continue a i {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .whatsapp-continue {
        padding: 6px 10px;
        margin: 12px 0;
    }
    
    .whatsapp-continue a {
        padding: 6px 12px;
        font-size: 0.65rem;
        gap: 5px;
        border-radius: 40px;
        line-height: 1.3;
    }
    
    .whatsapp-continue a i {
        font-size: 0.8rem;
    }
}

/* Beğeni Butonları */
.like-icons {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
    padding: 15px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    gap: 10px;
}

.like-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 5px;
    flex: 1;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.like-item:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.9);
}

.like-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: all 0.3s ease;
}

.like-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.like-item:hover::before {
    background: var(--primary-color);
}

.like-item i {
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.like-count, .comment-count {
    font-weight: 700;
    font-size: 0.9rem;
    color: #333;
}

/* Önceki/Sonraki Haber Kartları */
.pagination-cards {
    display: flex;
    gap: 20px;
    margin: 30px 0 20px;
    width: 100%;
}

.pagination-cards.single-card {
    justify-content: center;
}

.pagination-cards.single-card .nav-card {
    max-width: 350px;
    width: 100%;
}

.nav-card {
    display: flex;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100px;
    flex: 1;
    position: relative;
}

.nav-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
    text-decoration: none;
    color: inherit;
}

.nav-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(1);
    background: #f5f5f5;
    display: none;
}

.nav-card-image {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    overflow: hidden;
}

.nav-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.nav-card:hover .nav-card-image img {
    transform: scale(1.1);
}

.nav-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.nav-card:hover .nav-card-overlay {
    opacity: 1;
}

.nav-card-content {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to right, white, #fafafa);
}

.nav-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-label i {
    font-size: 0.65rem;
}

.nav-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 2.8em;
}

.next-card .nav-card-content {
    align-items: flex-end;
    text-align: right;
}

.next-card .nav-label {
    justify-content: flex-end;
}

@media (max-width: 576px) {
    .pagination-cards {
        gap: 12px;
        flex-direction: column;
    }
    
    .pagination-cards.single-card .nav-card {
        max-width: 100%;
    }
    
    .nav-card {
        height: 90px;
        width: 100%;
    }
    
    .nav-card-image {
        width: 90px;
        height: 90px;
    }
    
    .nav-card-content {
        padding: 10px;
    }
    
    .nav-title {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }
    
    .nav-label {
        font-size: 0.65rem;
        margin-bottom: 3px;
    }
    
    .next-card .nav-card-content {
        align-items: flex-start;
        text-align: left;
    }
    
    .next-card .nav-label {
        justify-content: flex-start;
    }
}

/* Sosyal Medya */
.social-media-section {
    margin-top: 20px;
    margin-bottom: 20px;
}

.social-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #5a6268;
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 10px;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.8), rgba(233, 236, 239, 0.6));
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: none !important;
    color: inherit;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.social-icon:active {
    transform: scale(0.95);
}

.social-icon.whatsapp { color: #25D366 !important; background: white !important; }
.social-icon.telegram { color: #0088CC !important; background: white !important; }
.social-icon.facebook { color: #3b5998 !important; background: white !important; }
.social-icon.instagram { color: #E1306C !important; background: white !important; }
.social-icon.youtube { color: #FF0000 !important; background: white !important; }
.social-icon.twitter { color: #1DA1F2 !important; background: white !important; }
.social-icon.email { color: #ea4335 !important; background: white !important; }

.social-icon:hover,
.social-icon:focus,
.social-icon:active {
    transform: none !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08) !important;
    color: inherit !important;
    background: white !important;
    text-decoration: none !important;
    opacity: 1 !important;
    filter: none !important;
}

/* Yorumlar Bölümü */
.comments-section {
    margin-top: 40px;
    padding: 30px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.comment-form {
    padding: 30px;
    background: linear-gradient(135deg, var(--light-bg)20, white);
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.comment {
    position: relative;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa, #f1f3f5);
    border-left: 4px solid transparent;
    transition: var(--transition);
}

.comment.male {
    border-left-color: #3498db;
}

.comment.female {
    border-left-color: #e84393;
}

.comment:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.comment-wrapper {
    display: flex;
    position: relative;
}

.comment-avatar {
    flex-shrink: 0;
    margin-right: 12px;
    position: relative;
}

.comment-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid transparent;
}

.comment-avatar img.male {
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #3498db, #1E90FF) border-box !important;
    border: 2px solid #3498db;
}

.comment-avatar img.female {
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #e84393, #FF1493) border-box !important;
    border: 2px solid #e84393;
}

.comment-content {
    flex: 1;
    min-width: 0;
    position: relative;
}

.comment-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    margin-bottom: 6px;
    padding-right: 70px;
    position: relative;
}

.comment-user-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    max-width: 100%;
}

.comment-user-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #2d3748;
    word-break: break-word;
    max-width: 100%;
    white-space: normal !important;
    line-height: 1.3;
}

.comment-user-name a {
    color: inherit;
    text-decoration: none;
}

.comment-user-name a:hover {
    text-decoration: underline;
}

.comment-user-name.male {
    color: #3498db;
}

.comment-user-name.female {
    color: #e84393;
}

.comment-date {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.7rem;
    color: #6c757d;
    background: rgba(255, 255, 255, 0.9);
    padding: 3px 10px;
    border-radius: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.comment-date i {
    font-size: 0.65rem;
    color: var(--primary-color);
}

.comment-score {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 215, 0, 0.1);
    padding: 3px 10px;
    border-radius: 30px;
    font-size: 0.7rem;
    margin-top: 4px;
    margin-bottom: 8px;
    width: fit-content;
}

.comment-score i {
    color: #FFD700;
    font-size: 0.7rem;
}

.comment-score span {
    font-weight: 600;
    color: #e74c3c;
}

.comment-text {
    margin-top: 8px;
    margin-bottom: 12px;
    line-height: 1.6;
    color: #2d3748;
    word-break: break-word;
    font-size: 0.95rem;
}

.comment-url {
    margin-bottom: 12px;
    font-size: 0.8rem;
}

.comment-url a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px dashed var(--primary-color);
    word-break: break-all;
}

.comment-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 10px;
}

.comment-actions button {
    border-radius: 30px;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    border: none;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

.comment-actions button:active {
    transform: scale(0.95);
}

.comment-actions .btn-delete {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.comment-actions .btn-delete:hover {
    background: #ef4444;
    color: white;
}

.comment-actions .btn-edit {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.comment-actions .btn-edit:hover {
    background: #3b82f6;
    color: white;
}

.comment-actions .btn-report {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.comment-actions .btn-report:hover {
    background: #f59e0b;
    color: white;
}

/* Tarih Gösterim */
.short-date {
    display: none;
}

.full-date {
    display: inline;
}

@media (max-width: 768px) {
    .short-date { display: inline; }
    .full-date { display: none; }
    .extra-image { min-width: 150px; }
}

.comment-date .full-date { display: inline; }
.comment-date .short-date { display: none; }

@media (max-width: 768px) {
    .comment-date .full-date { display: none; }
    .comment-date .short-date { display: inline; }
}

/* ========================================
   YORUM MODAL - PUAN VE YILDIZ RENK DÜZENLEMESİ
   ======================================== */

.modal-dialog-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100% - 1rem);
}

.comment-modal .modal-content {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: none;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.comment-modal .modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
    border: none;
    padding: 20px 24px;
}

.comment-modal .modal-header .modal-title {
    font-weight: 700;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-modal .modal-header .close {
    color: white;
    opacity: 0.8;
    text-shadow: none;
    font-size: 1.8rem;
    padding: 0;
    margin: -1rem -0.5rem -1rem auto;
}

.comment-modal .modal-header .close:hover {
    opacity: 1;
}

.comment-modal .modal-body {
    padding: 28px 24px;
    background: #ffffff;
}

.comment-modal .user-info-card {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.comment-modal .user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.comment-modal .user-details h5 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    font-weight: 700;
}

/* MODAL İÇİNDEKİ PUAN VE YILDIZ RENKLERİ */
.comment-modal .user-score {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,0,0,0.05);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.85rem;
}

.comment-modal .user-score i {
    color: #FFD700 !important;
    font-size: 0.85rem;
}

.comment-modal .user-score span {
    color: #000000 !important;
    font-weight: 600;
}

.comment-modal .user-score .score-number {
    color: #000000 !important;
    font-weight: 700;
}

.comment-modal .form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-modal .form-control {
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 14px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.comment-modal .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
    outline: none;
}

.comment-modal textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.comment-modal .char-counter {
    text-align: right;
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 6px;
}

.comment-modal .modal-footer {
    border: none;
    padding: 20px 24px;
    background: #f8f9fa;
    gap: 12px;
}

.comment-modal .btn {
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.comment-modal .btn-secondary {
    background: #e5e7eb;
    color: #374151;
}

.comment-modal .btn-secondary:hover {
    background: #d1d5db;
    transform: translateY(-2px);
}

.comment-modal .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.comment-modal .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.comment-modal .btn-primary:active {
    transform: translateY(0);
}

.comment-modal .btn-loading {
    opacity: 0.7;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .comment-modal .modal-dialog {
        margin: 16px;
    }
    
    .comment-modal .modal-content {
        border-radius: 20px;
    }
    
    .comment-modal .modal-header {
        padding: 16px 20px;
    }
    
    .comment-modal .modal-header .modal-title {
        font-size: 1.1rem;
    }
    
    .comment-modal .modal-body {
        padding: 20px 16px;
    }
    
    .comment-modal .user-info-card {
        padding: 16px;
    }
    
    .comment-modal .user-avatar {
        width: 50px;
        height: 50px;
    }
    
    .comment-modal .user-details h5 {
        font-size: 1rem;
    }
    
    .comment-modal .form-control {
        padding: 12px 14px;
        font-size: 0.95rem;
    }
    
    .comment-modal .modal-footer {
        padding: 16px 20px;
        flex-direction: column;
    }
    
    .comment-modal .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    .comment-modal .btn-secondary {
        order: 2;
    }
    
    .comment-modal .btn-primary {
        order: 1;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .comment-modal .modal-dialog {
        max-width: 600px;
        margin: 1.75rem auto;
    }
    
    .comment-modal .btn {
        padding: 12px 24px;
    }
}

@media (min-width: 1025px) {
    .comment-modal .modal-dialog {
        max-width: 550px;
    }
}

/* BİLDİRİM STİLLERİ */
.custom-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #333, #222);
    color: white;
    padding: 12px 20px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10000;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 90%;
}

@media (max-width: 768px) {
    .custom-notification {
        bottom: 10px;
        right: 10px;
        left: 10px;
        transform: translateY(100px);
        border-radius: 30px;
    }
    .custom-notification.show {
        transform: translateY(0);
    }
}

/* Sesli Dinleme Kontrolleri */
.speech-controls {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.speech-control-btn {
    flex: 1;
    padding: 10px;
    border-radius: 30px;
    border: none;
    background: #f0f0f0;
    color: #333;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.speech-control-btn:active {
    transform: scale(0.95);
    background: #e0e0e0;
}

/* Responsive Ayarlar */
@media (max-width: 768px) {
    .h1-main {
        font-size: 1.7rem;
        margin: 20px 0 15px;
        padding-bottom: 12px;
    }
    
    .h2-section {
        font-size: 1.4rem;
        margin: 25px 0 15px;
    }
    
    .h3-subsection {
        font-size: 1.2rem;
        margin: 20px 0 12px;
    }
    
    .content {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .auto-paragraph {
        margin-bottom: 1.2rem;
        text-align: left;
        word-break: break-word;
        hyphens: auto;
    }
    
    .like-icons {
        flex-wrap: wrap;
    }
    
    .featured-image {
        max-height: 250px;
        padding: 10px;
    }
    
    .profile-info {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .profile-img {
        width: 50px;
        height: 50px;
    }
    
    #user-fullname {
        font-size: 1rem;
    }
    
    .user-score {
        padding: 4px 10px;
        font-size: 0.75rem;
    }
    
    .comments-section {
        padding: 20px;
    }
    
    .comment {
        padding: 16px;
    }
    
    .comment-avatar img {
        width: 44px;
        height: 44px;
    }
    
    .comment-user-name {
        font-size: 0.9rem;
    }
    
    .comment-date {
        position: absolute;
        top: 0;
        right: 0;
        font-size: 0.65rem;
        padding: 2px 8px;
    }
    
    .comment-header {
        padding-right: 65px;
    }
    
    .comment-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .detail-card .card-body {
        padding: 20px !important;
    }
    
    .h1-main {
        font-size: 1.5rem;
    }
    
    .h2-section {
        font-size: 1.3rem;
    }
    
    .h3-subsection {
        font-size: 1.1rem;
    }
    
    .content {
        font-size: 0.98rem;
        line-height: 1.65;
    }
    
    .auto-paragraph {
        margin-bottom: 1rem;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .featured-image {
        max-height: 200px;
        padding: 8px;
    }
    
    .comment-avatar img {
        width: 40px;
        height: 40px;
    }
    
    .comment-avatar {
        margin-right: 10px;
    }
    
    .comment-user-name {
        font-size: 0.85rem;
    }
    
    .comment-date {
        padding: 2px 6px;
        font-size: 0.6rem;
    }
    
    .comment-header {
        padding-right: 60px;
    }
    
    .comment-score {
        padding: 2px 8px;
        font-size: 0.65rem;
    }
}

@media (max-width: 360px) {
    .comment-wrapper {
        flex-direction: column;
    }
    
    .comment-avatar {
        margin-bottom: 10px;
    }
    
    .comment-header {
        padding-right: 55px;
    }
    
    .comment-user-name {
        font-size: 0.8rem;
    }
    
    .h1-main {
        font-size: 1.3rem;
    }
    
    .content {
        font-size: 0.95rem;
    }
    
    .auto-paragraph {
        margin-bottom: 0.9rem;
    }
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.detail-card {
    animation: fadeInUp 0.6s ease-out;
}

/* İçerik Resimleri İçin Ek Stiller */
.content figure {
    margin: 1rem 0;
}

.content figcaption {
    font-size: 0.85rem;
    color: #6c757d;
    text-align: center;
    margin-top: 0.5rem;
}

/* Beğeni butonları mobil düzenleme */
@media (max-width: 768px) {
    .like-icons {
        gap: 8px;
        margin: 20px 0;
        padding: 10px 0;
    }
    
    .like-item {
        padding: 8px 4px;
    }
    
    .like-item i {
        font-size: 1.1rem;
        margin-bottom: 4px;
    }
    
    .like-count, .comment-count {
        font-size: 0.75rem;
    }
}

/* ========================================
   SOSYAL MEDYA PAYLAŞIM BUTONLARI (ANASAYFA İLE AYNI)
   ======================================== */

.social-share-section {
    margin-top: 20px;
    margin-bottom: 20px;
}

.social-share-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.9), rgba(233, 236, 239, 0.7));
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.social-share-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #4a5568;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.social-share-label i {
    font-size: 0.85rem;
    color: var(--primary-color);
}

.social-share-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.social-share {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.social-share:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.social-share:active {
    transform: scale(0.95);
}

.social-share i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

/* Platform renkleri */
.social-share[data-platform="whatsapp"] { color: #25D366 !important; }
.social-share[data-platform="telegram"] { color: #0088CC !important; }
.social-share[data-platform="facebook"] { color: #3b5998 !important; }
.social-share[data-platform="twitter"] { color: #1DA1F2 !important; }
.social-share[data-platform="email"] { color: #ea4335 !important; }

/* Mobil düzenlemeler */
@media (max-width: 768px) {
    .social-share {
        width: 38px;
        height: 38px;
    }
    
    .social-share i {
        font-size: 1rem;
    }
    
    .social-share-container {
        padding: 12px;
        gap: 8px;
    }
    
    .social-share-label {
        font-size: 0.7rem;
    }
    
    .social-share-icons {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .social-share {
        width: 34px;
        height: 34px;
    }
    
    .social-share i {
        font-size: 0.9rem;
    }
    
    .social-share-icons {
        gap: 8px;
    }
}