/* ECR Haber - Ana Stil Dosyası (V3.2) */
:root {
    --primary-color: #e30613;
    --ios-bg: #F2F2F7;
    --ios-card: #FFFFFF;
    --ios-text: #1C1C1E;
    --ios-gray: #8E8E93;
    --ios-blue: #007AFF;
    --radius: 12px;
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
}

body {
    background-color: var(--ios-bg);
    color: var(--ios-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.site-header { background: #fff; border-bottom: 20px solid #eee; }
.top-bar { background: #f8f8f8; padding: 8px 0; font-size: 12px; color: #666; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.main-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1px 0; gap: 30px; }
.district-links { display: flex; gap: 15px; flex-wrap: wrap; }
.district-links a { text-decoration: none; color: #333; font-weight: 600; font-size: 13px; transition: 0.3s; }
.district-links a:hover { color: var(--primary-color); }
.header-right-menu { display: flex; align-items: center; gap: 20px; }
.dream-menu { background: #6366f1; color: #fff; padding: 8px 15px; border-radius: 20px; text-decoration: none; font-size: 13px; font-weight: 600; }
.search-form { display: flex; background: #f0f0f0; border-radius: 20px; padding: 5px 15px; }
.search-input { border: none; background: transparent; outline: none; padding: 5px; width: 120px; font-size: 13px; }
.search-button { border: none; background: transparent; cursor: pointer; }

.main-navigation { background: var(--primary-color); color: #fff; }
.header-nav { list-style: none; margin: 0; padding: 0; display: flex; }
.header-nav li a { display: block; padding: 15px 20px; color: #fff; text-decoration: none; font-weight: 700; text-transform: uppercase; font-size: 14px; }
.header-nav li a:hover { background: rgba(0,0,0,0.1); }

/* Breaking News */
.breaking-news-ticker { display: flex; background: #fff; margin-top: 15px; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.breaking-label { background: var(--primary-color); color: #fff; padding: 10px 20px; font-weight: 800; white-space: nowrap; }
.breaking-content { flex: 1; padding: 10px; }
.breaking-content a { text-decoration: none; color: #333; font-weight: 600; margin-right: 10px; }

/* 10+2 Manset */
.ios-manset-wrapper { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.ios-manset-slider { position: relative; height: 450px; overflow: hidden; }
.ios-manset-slide { position: absolute; width: 100%; height: 100%; opacity: 0; transition: opacity 0.6s ease-in-out; background-size: cover; background-position: center; cursor: pointer; z-index: 1; }
.ios-manset-slide.active { opacity: 1; z-index: 2; }
.ios-manset-content { position: absolute; bottom: 80px; left: 0; right: 0; padding: 30px; color: white; z-index: 6; background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%); }
.ios-manset-category { display: inline-block; background: var(--primary-color); padding: 5px 12px; border-radius: 15px; font-size: 11px; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.ios-manset-title { font-size: 28px; font-weight: 800; line-height: 1.2; text-shadow: 0 2px 8px rgba(0,0,0,0.5); margin: 10px 0; }

/* --- Manşet Numaraları Buzlu Cam Paneli --- */
.ios-manset-numbers { 
    position: absolute; 
    bottom: 25px; 
    left: 50%; 
    transform: translateX(-50%); 
    display: flex; 
    gap: 10px; 
    z-index: 10;
    
    /* Buzlu Cam Paneli */
    background: rgba(255, 255, 255, 0.15); /* Hafif beyaz şeffaf zemin */
    backdrop-filter: blur(15px);           /* Arkadaki görseli bulandıran ana efekt */
    -webkit-backdrop-filter: blur(15px);   /* Safari desteği */
    padding: 8px 15px;                     /* Panelin iç genişliği */
    border-radius: 50px;                   /* Oval görünüm */
    border: 1px solid rgba(255, 255, 255, 0.2); /* İnce parlama çizgisi */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);  /* Derinlik gölgesi */
}

.ios-manset-number { 
    width: 32px; 
    height: 32px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 50%; 
    background: rgba(0, 0, 0, 0.3); /* Numaraların kendi yuvarlağı */
    color: #fff; 
    font-size: 14px; 
    font-weight: 700; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    border: 1px solid rgba(255, 255, 255, 0.1); 
}

/* Aktif Numara - Temandaki Kırmızı Renk (#e30613) */
.ios-manset-number.active { 
    background: var(--primary-color, #e30613); 
    color: white; 
    border-color: #fff; 
    transform: scale(1.15); 
    box-shadow: 0 0 15px rgba(227, 6, 19, 0.5); /* Kırmızı ışık efekti */
}

/* Hover Efekti */
.ios-manset-number:hover:not(.active) {
    background: rgba(255, 255, 255, 0.3);
}

.side-news-box { flex: 1; border-radius: 15px; overflow: hidden; position: relative; cursor: pointer; box-shadow: var(--shadow); }
.side-news-img { width: 100%; height: 100%; background-size: cover; background-position: center; transition: 0.5s; }
.side-news-box:hover .side-news-img { transform: scale(1.1); }
.side-news-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 15px; background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: #fff; }
.side-news-info h3 { font-size: 16px; font-weight: 700; margin: 0; line-height: 1.3; }

/* Authors Slider */
.section-header-v3 { margin-bottom: 20px; border-left: 5px solid var(--primary-color); padding-left: 15px; }
.section-title { font-size: 22px; font-weight: 800; margin: 0; }
.author-slide { background: #fff; padding: 20px; border-radius: 15px; text-align: center; cursor: pointer; box-shadow: var(--shadow); transition: 0.3s; }
.author-slide:hover { transform: translateY(-5px); }
.author-avatar-v3 img { width: 80px; height: 80px; border-radius: 50%; border: 3px solid var(--ios-bg); margin-bottom: 10px; }
.author-name-v3 { font-weight: 700; font-size: 14px; }

/* News List */
.news-item-v3 { display: flex; gap: 20px; background: #fff; padding: 15px; border-radius: 15px; margin-bottom: 20px; cursor: pointer; box-shadow: var(--shadow); transition: 0.3s; }
.news-item-v3:hover { transform: translateX(10px); }
.news-item-img { width: 200px; height: 130px; flex-shrink: 0; border-radius: 10px; overflow: hidden; }
.news-item-img img { width: 100%; height: 100%; object-fit: cover; }
.news-item-content { flex: 1; }
.news-item-cat { color: var(--primary-color); font-weight: 700; font-size: 12px; text-transform: uppercase; }
.news-item-content h3 { font-size: 18px; font-weight: 700; margin: 8px 0; line-height: 1.4; }
.news-item-meta { font-size: 12px; color: #888; display: flex; gap: 15px; }

/* Sidebar Widgets */
.sidebar-widget-v3 { background: #fff; padding: 20px; border-radius: 15px; margin-bottom: 25px; box-shadow: var(--shadow); }
.widget-title-v3 { font-size: 18px; font-weight: 800; margin-bottom: 15px; border-bottom: 2px solid #f0f0f0; padding-bottom: 10px; }

.weather-widget-ios { background: linear-gradient(135deg, #5AC8FA, #007AFF); color: #fff; }
.weather-header { display: flex; justify-content: space-between; align-items: center; }
.weather-header .city { font-size: 20px; font-weight: 700; }
.weather-header .temp { font-size: 36px; font-weight: 300; }
.weather-desc { font-size: 14px; opacity: 0.9; }
.weather-icon { font-size: 40px; margin-top: 10px; }

.pharmacy-item { background: #f9f9f9; padding: 12px; border-radius: 10px; border-left: 4px solid #34C759; }
.pharmacy-item strong { display: block; font-size: 15px; }
.pharmacy-item span { font-size: 13px; color: #666; }
.pharmacy-item a { display: inline-block; margin-top: 5px; color: #34C759; text-decoration: none; font-weight: 700; font-size: 13px; }

.pop-item-v3 { display: flex; gap: 12px; margin-bottom: 15px; cursor: pointer; }
.pop-img-v3 { width: 70px; height: 50px; flex-shrink: 0; border-radius: 6px; overflow: hidden; }
.pop-img-v3 img { width: 100%; height: 100%; object-fit: cover; }
.pop-info-v3 h4 { font-size: 14px; font-weight: 600; margin: 0; line-height: 1.3; }

/* Single Post */
.single-post-article { background: #fff; border-radius: 20px; box-shadow: var(--shadow); }
.entry-summary-ios { background: #F2F2F7; padding: 20px; border-radius: 15px; border-left: 5px solid var(--ios-blue); margin-bottom: 30px; font-style: italic; }

/* Animations */
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: 0.6s ease-out; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 992px) {
    .manset-container-v3 { flex-direction: column; }
    .side-manset-side { flex-direction: row; }
    .site-main-inner { flex-direction: column; }
}
@media (max-width: 768px) {
    .news-item-v3 { flex-direction: column; }
    .news-item-img { width: 100%; height: 200px; }
    .side-manset-side { flex-direction: column; }
    .ios-manset-slider { height: 300px; }
    .ios-manset-title { font-size: 20px; }
}

/* ECR Haber V4 - Ek Stiller */
.manset-container-v4 { display: flex; gap: 20px; margin-top: 20px; height: 500px; }
.main-manset-v4 { flex: 3; min-width: 0; position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); background: #fff; }
.v4-slider-inner { position: relative; height: 100%; width: 100%; }
.v4-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.8s ease; display: flex; cursor: pointer; z-index: 1; }
.v4-slide.active { opacity: 1; z-index: 2; }
.v4-slide-img { flex: 1.5; background-size: cover; background-position: center; }
.v4-slide-content { flex: 1; background: #fff; display: flex; align-items: center; padding: 40px; position: relative; }

/* Tasarım Şablonları */
.v4-slide.template2 .v4-slide-content { background: linear-gradient(135deg, #1a1a1a, #333); color: #fff; }
.v4-slide.template3 .v4-slide-content { background: var(--ios-blue); color: #fff; }
.v4-slide.template4 .v4-slide-content { background: var(--primary-color); color: #fff; }

.v4-cat { background: var(--primary-color); color: #fff; padding: 5px 15px; border-radius: 20px; font-size: 12px; font-weight: 700; display: inline-block; margin-bottom: 20px; }
.v4-title { font-size: 26px; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.v4-excerpt { font-size: 15px; line-height: 1.6; opacity: 0.8; margin-bottom: 20px; }
.v4-meta { font-size: 13px; opacity: 0.6; display: flex; gap: 15px; }

.v4-numbers { position: absolute; bottom: 20px; left: 20px; display: flex; gap: 5px; z-index: 10; }
.v4-num { width: 30px; height: 30px; background: rgba(0,0,0,0.1); border-radius: 5px; display: flex; align-items: center; justify-content: center; font-weight: 700; cursor: pointer; transition: 0.3s; font-size: 12px; color: #333; border: 1px solid rgba(0,0,0,0.05); }
.v4-num.active { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }

/* Yan Kutular V4 */
.side-manset-v4 { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.v4-side-box { background: #fff; border-radius: 15px; overflow: hidden; flex: 1; display: flex; flex-direction: column; cursor: pointer; transition: 0.3s; box-shadow: var(--shadow); }
.v4-side-box:hover { transform: translateY(-5px); }
.v4-side-img { height: 160px; background-size: cover; background-position: center; position: relative; }
.v4-side-cat { position: absolute; top: 10px; left: 10px; background: var(--ios-blue); color: #fff; padding: 3px 10px; border-radius: 5px; font-size: 10px; font-weight: 700; }
.v4-side-info { padding: 15px; }
.v4-side-info h3 { font-size: 16px; font-weight: 700; margin: 0; line-height: 1.3; }

/* iOS Widgetlar V4 */
.v4-widget { background: #fff; border-radius: 20px; padding: 20px; margin-bottom: 25px; box-shadow: var(--shadow); }
.v4-widget-title { font-size: 18px; font-weight: 800; margin-bottom: 15px; border-left: 4px solid var(--primary-color); padding-left: 10px; }
.weather-ios { background: linear-gradient(to bottom, #4facfe 0%, #00f2fe 100%); color: #fff; border: none; }
.v4-weather-main { display: flex; justify-content: space-between; align-items: center; }
.v4-city { display: block; font-size: 16px; font-weight: 600; }
.v4-temp { font-size: 42px; font-weight: 800; }
.v4-w-icon { font-size: 40px; }
.v4-call-btn { display: inline-block; background: #34C759; color: #fff; padding: 5px 15px; border-radius: 10px; text-decoration: none; font-size: 13px; font-weight: 600; margin-top: 10px; }

/* Haber Listesi V4 */
.v4-news-item { background: #fff; border-radius: 20px; display: flex; gap: 20px; padding: 15px; margin-bottom: 20px; cursor: pointer; transition: 0.3s; box-shadow: var(--shadow); }
.v4-news-item:hover { transform: scale(1.02); }
.v4-news-img { width: 200px; height: 130px; border-radius: 15px; overflow: hidden; flex-shrink: 0; }
.v4-news-img img { width: 100%; height: 100%; object-fit: cover; }
.v4-news-content { flex: 1; }
.v4-news-cat { color: var(--ios-blue); font-weight: 700; font-size: 12px; text-transform: uppercase; }
.v4-news-content h3 { font-size: 18px; font-weight: 700; margin: 8px 0; line-height: 1.3; }
.v4-news-meta { font-size: 13px; color: #888; display: flex; gap: 15px; }

@media (max-width: 992px) {
    .manset-container-v4 { flex-direction: column; height: auto; }
    .v4-slide { flex-direction: column; position: relative; opacity: 1; display: none; }
    .v4-slide.active { display: flex; }
    .v4-slide-img { height: 250px; }
    .v4-slide-content { padding: 20px; }
    .side-manset-v4 { flex-direction: row; }
    .v4-side-box { flex: 1; }
}

/* ============================================
   YORUM ALANI TASARIMI (V4.0)
   ============================================ */

.comments-area {
    margin-top: 40px;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.comments-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    color: #1a1a1a;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.v4-comment-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f5f5f5;
}

.v4-comment-item:last-child {
    border-bottom: none;
}

.comment-body {
    display: flex;
    gap: 20px;
}

.comment-avatar img {
    border-radius: 50%;
    border: 3px solid #f0f0f0;
}

.comment-content {
    flex: 1;
}

.comment-meta {
    margin-bottom: 10px;
}

.comment-author-name {
    display: block;
    font-weight: 800;
    font-size: 16px;
    color: var(--primary-color);
}

.comment-date {
    font-size: 12px;
    color: #999;
}

.comment-text {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 10px;
}

.comment-reply a {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #666;
    text-decoration: none;
    background: #f0f0f0;
    padding: 5px 15px;
    border-radius: 15px;
    transition: 0.3s;
}

.comment-reply a:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Yorum Formu */
.comment-respond {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.reply-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 25px;
}

.comment-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.comment-form-column {
    flex: 1;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    background: #f9f9f9;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 10px rgba(227, 6, 19, 0.05);
}

.comment-form-textarea {
    margin-bottom: 20px;
}

.submit-button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(227, 6, 19, 0.2);
}

@media (max-width: 768px) {
    .comment-form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .comment-body {
        gap: 15px;
    }
    
    .comment-avatar img {
        width: 45px;
        height: 45px;
    }
    
    .comments-area {
        padding: 20px;
    }
}

.comment-count-badge {
    background: var(--primary-color);
    color: #fff;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 14px;
    margin-left: 10px;
    vertical-align: middle;
}
