/* --- TEMEL AYARLAR & RESET --- */
:root {
    --primary-color: #2563eb; /* Güven veren mavi */
    --bg-color: #f3f4f6;
    --card-bg: #ffffff;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --border-radius: 8px;
}
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
body { background-color: var(--bg-color); color: var(--text-main); line-height: 1.6; }

/* --- HEADER & ARAMA --- */
header {
    background: var(--primary-color);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}
.header-content { max-width: 800px; margin: 0 auto; }
.header-content h1 a { color: white; text-decoration: none; }
h1 { margin-bottom: 1rem; font-size: 1.8rem; }

#searchInput {
    width: 100%; padding: 15px; font-size: 18px; border: none;
    border-radius: 50px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); outline: none;
}

/* --- BREADCRUMBS (Sayfa Yolu) --- */
.breadcrumb-container {
    background-color: #e5e7eb; padding: 10px 0;
    font-size: 0.9rem; margin-bottom: 0;
}
.breadcrumb-nav { padding: 0 15px; }
.breadcrumb-nav a { color: var(--primary-color); text-decoration: none; }
.breadcrumb-nav a:hover { text-decoration: underline; }
.breadcrumb-nav span { color: var(--text-muted); }
.breadcrumb-nav span:last-child { color: var(--text-main); font-weight: 600; }

/* --- ANA DÜZEN (LAYOUT) --- */
.container {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 1fr 300px; /* İçerik + Sidebar */
    gap: 20px;
}
@media (max-width: 768px) {
    .container { grid-template-columns: 1fr; } /* Mobilde tek kolon */
}

/* --- KANAL KARTLARI (Kritik Bölüm) --- */
.channel-list { display: grid; gap: 15px; grid-auto-rows: min-content; }
.channel-card {
    background: var(--card-bg); padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-left: 5px solid var(--primary-color);
    transition: transform 0.2s;
}
.channel-card:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); }

.channel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.channel-name { font-size: 1.2rem; font-weight: bold; }
.channel-name a { color: var(--primary-color); text-decoration: none; }
h1.channel-name { font-size: 1.8rem; margin: 0; }

.satellite-name { font-size: 0.85rem; background: #e0e7ff; color: var(--primary-color); padding: 2px 8px; border-radius: 12px; }

.freq-details {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: #f9fafb; padding: 10px;
    border-radius: 6px; text-align: center;
}
.freq-item strong { display: block; font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; }
.freq-item span { font-size: 1.1rem; font-weight: 600; }

/* --- REHBER İÇERİK STİLLERİ (Blog Alanı) --- */
.rehber-icerik { font-size: 1.1rem; line-height: 1.7; margin-top: 1.5rem; }
.rehber-icerik h2 { font-size: 1.5rem; color: var(--primary-color); margin-top: 1.5rem; margin-bottom: 0.5rem; }
.rehber-icerik h3 { font-size: 1.2rem; color: var(--text-main); margin-top: 1rem; margin-bottom: 0.5rem; }
.rehber-icerik p, .rehber-icerik ul { margin-bottom: 1rem; }
.rehber-icerik ul { list-style-position: inside; padding-left: 10px; }
.rehber-icerik img { max-width: 100%; height: auto; border-radius: var(--border-radius); }

/* --- REKLAM ALANLARI (Placeholder) --- */
.ad-box {
    background: #e5e7eb; color: #9ca3af; display: flex;
    align-items: center; justify-content: center;
    font-weight: bold; margin-bottom: 20px;
    border: 2px dashed #d1d5db; border-radius: var(--border-radius);
}
.ad-leaderboard { width: 100%; height: 90px; margin: 0; display: none; }
.ad-sidebar { width: 100%; height: 250px; }
.ad-in-feed { width: 100%; height: 100px; margin: 20px 0; }
@media (min-width: 768px) { .ad-leaderboard { display: flex; } }

/* --- SIDEBAR WIDGET --- */
aside { display: grid; gap: 20px; align-content: start; }
.sidebar-widget {
    background: white; padding: 15px; 
    border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.sidebar-widget h3 { margin-bottom: 10px; border-bottom: 2px solid #eee; padding-bottom: 5px; }
.sidebar-widget ul { list-style: none; font-size: 0.9rem; }
.sidebar-widget li { margin-bottom: 8px; }
.sidebar-widget li a { text-decoration: none; color: var(--primary-color); }

/* --- FOOTER --- */
footer { text-align: center; padding: 20px; color: var(--text-muted); font-size: 0.9rem; margin-top: 40px; border-top: 1px solid #e5e7eb; }