/* Ön yüz - Beyaz, mavi, gri tonlar */
* { box-sizing: border-box; }
body.site-body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: #f5f5f5; color: #333; line-height: 1.5; }
.site-header { background: #1e3a5f; color: #fff; padding: 0.75rem 1rem; box-shadow: 0 1px 4px rgba(0,0,0,0.1); }
.site-header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; }
.site-logo { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.25rem; }
.site-nav { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.site-nav a { color: rgba(255,255,255,0.95); text-decoration: none; padding: 0.4rem 0.75rem; border-radius: 4px; font-size: 0.95rem; }
.site-nav a:hover { background: rgba(255,255,255,0.15); color: #fff; }
.site-main { max-width: 1200px; margin: 0 auto; padding: 1.5rem 1rem; min-height: 50vh; }
.site-footer { background: #2c3e50; color: rgba(255,255,255,0.8); padding: 1rem; margin-top: 2rem; }
.site-footer-inner { max-width: 1200px; margin: 0 auto; text-align: center; font-size: 0.9rem; }
.site-footer p { margin: 0; }

/* Kayan Son Dakika bandı */
.breaking-bar { background: #1e3a5f; color: #fff; padding: 0.5rem 0; overflow: hidden; display: flex; align-items: center; }
.breaking-label { flex-shrink: 0; padding: 0 1rem; font-weight: 700; font-size: 0.9rem; white-space: nowrap; }
.breaking-wrap { flex: 1; overflow: hidden; }
.breaking-track { display: flex; align-items: center; gap: 1rem; animation: breaking-scroll linear infinite; animation-duration: calc(100s / var(--speed, 50)); white-space: nowrap; width: max-content; }
.breaking-track:hover { animation-play-state: paused; }
.breaking-item { color: #fff; text-decoration: none; padding: 0 0.25rem; }
.breaking-item:hover { text-decoration: underline; }
.breaking-sep { color: rgba(255,255,255,0.5); user-select: none; }
@keyframes breaking-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Ana sayfa layout: sol içerik + sağ sidebar */
.home-layout { display: grid; grid-template-columns: 1fr 320px; gap: 1.5rem; max-width: 1200px; margin: 0 auto; padding: 1rem; }
@media (max-width: 900px) { .home-layout { grid-template-columns: 1fr; } }

/* Slider */
.hero-slider { position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.1); margin-bottom: 1.5rem; background: #1e3a5f; }
.slider-inner { position: relative; width: 100%; aspect-ratio: 16/9; max-height: 420px; }
.hero-slider .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s ease; pointer-events: none; }
.hero-slider .slide.active { opacity: 1; pointer-events: auto; z-index: 1; }
.slide-link { display: block; width: 100%; height: 100%; position: relative; }
.slide-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-img-placeholder { background: linear-gradient(135deg, #2a4a75 0%, #1e3a5f 100%); }
.slide-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem 1.5rem 1.5rem; background: linear-gradient(transparent, rgba(0,0,0,0.8)); color: #fff; }
.slide-title { margin: 0 0 0.35rem; font-size: 1.35rem; line-height: 1.3; }
.slide-summary { margin: 0; font-size: 0.9rem; opacity: 0.95; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,0.9); color: #1e3a5f; font-size: 1.5rem; cursor: pointer; line-height: 1; }
.slider-btn:hover { background: #fff; }
.slider-prev { left: 1rem; }
.slider-next { right: 1rem; }
.slider-dots { position: absolute; bottom: 0.5rem; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; gap: 0.35rem; }
.slider-dot { width: 28px; height: 28px; border-radius: 4px; border: none; background: rgba(255,255,255,0.5); color: #1e3a5f; font-size: 0.75rem; cursor: pointer; }
.slider-dot.active { background: #fff; font-weight: 700; }

/* Slider altı 4 kart */
.home-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
@media (max-width: 900px) { .home-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .home-cards { grid-template-columns: 1fr; } }
.home-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.08); text-decoration: none; color: inherit; display: block; transition: box-shadow 0.2s; }
.home-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.12); }
.home-card-img-wrap { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.home-card-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-card-img-placeholder { width: 100%; height: 100%; background: #e8e8e8; }
.home-card-cat { position: absolute; top: 0.5rem; left: 0.5rem; background: #1e3a5f; color: #fff; padding: 0.2rem 0.5rem; font-size: 0.7rem; font-weight: 600; border-radius: 4px; }
.home-card-title { margin: 0.5rem 0.75rem 0.25rem; font-size: 0.95rem; line-height: 1.35; color: #1e3a5f; }
.home-card-date { display: block; margin: 0 0.75rem 0.75rem; font-size: 0.8rem; color: #666; }

/* Sağ sidebar */
.home-sidebar { display: flex; flex-direction: column; gap: 1rem; }
.sidebar-box { background: #fff; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); overflow: hidden; }
.sidebar-title { margin: 0; padding: 0.75rem 1rem; background: #1e3a5f; color: #fff; font-size: 0.95rem; }
.sidebar-news-list { list-style: none; margin: 0; padding: 0; }
.sidebar-news-link { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 1rem; text-decoration: none; color: inherit; border-bottom: 1px solid #eee; }
.sidebar-news-link:hover { background: #f8f9fa; }
.sidebar-news-img { width: 56px; height: 56px; min-width: 56px; object-fit: cover; border-radius: 4px; }
.sidebar-news-img.placeholder { background: #e0e0e0; }
.sidebar-news-title { flex: 1; font-size: 0.9rem; color: #333; line-height: 1.3; }
.sidebar-news-date { flex-shrink: 0; font-size: 0.8rem; color: #666; }
.sidebar-placeholder { margin: 0; padding: 1rem; color: #666; font-size: 0.9rem; }
.home-fallback { margin-bottom: 1.5rem; }
.home-fallback-hint { background: #e8f4fc; border-left: 4px solid #1e3a5f; padding: 0.75rem 1rem; margin: 0 0 1rem; font-size: 0.9rem; color: #333; border-radius: 0 6px 6px 0; }

/* Ana sayfa: kategori bölümleri (1 büyük + 4 küçük), aşağı doğru */
.home-category-stack { max-width: 1200px; margin: 0 auto; padding: 0 1rem 2rem; }
.home-category-section { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #e0e0e0; }
.home-category-heading { margin: 0 0 1rem; font-size: 1.35rem; }
.home-category-heading a { color: #1e3a5f; text-decoration: none; }
.home-category-heading a:hover { text-decoration: underline; }
.home-category-inner { background: transparent; }
.home-cat-featured { background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); overflow: hidden; margin-bottom: 1rem; }
.home-cat-featured-link { display: block; text-decoration: none; color: inherit; }
.home-cat-featured-img-wrap { position: relative; aspect-ratio: 21/9; max-height: 320px; overflow: hidden; background: #e8e8e8; }
.home-cat-featured-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-cat-placeholder { width: 100%; height: 100%; min-height: 180px; background: linear-gradient(135deg, #ddd 0%, #bbb 100%); }
.home-cat-tag { position: absolute; top: 0.75rem; left: 0.75rem; padding: 0.25rem 0.6rem; font-size: 0.7rem; font-weight: 700; color: #fff; background: #c0392b; border-radius: 3px; letter-spacing: 0.02em; }
.home-cat-tag-sm { top: 0.5rem; left: 0.5rem; font-size: 0.65rem; padding: 0.2rem 0.45rem; }
.cat-tag--gundem, .cat-tag--gündem { background: #c0392b; }
.cat-tag--spor { background: #27ae60; }
.cat-tag--son-dakika { background: #e74c3c; }
.cat-tag--sosyal { background: #8e44ad; }
.cat-tag--kulturel, .cat-tag--kültürel { background: #d35400; }
.cat-tag--etkinlik { background: #2980b9; }
.cat-tag--ekonomi { background: #c0392b; }
.home-cat-featured-body { padding: 1rem 1.25rem 1.25rem; }
.home-cat-featured-title { margin: 0 0 0.5rem; font-size: 1.25rem; line-height: 1.35; color: #111; }
.home-cat-featured-excerpt { margin: 0 0 0.75rem; font-size: 0.95rem; color: #555; line-height: 1.5; }
.home-cat-meta { font-size: 0.85rem; color: #888; display: flex; gap: 1rem; flex-wrap: wrap; }
.home-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.home-cat-card { background: #fff; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow 0.2s; }
.home-cat-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.12); }
.home-cat-card-img-wrap { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #eee; }
.home-cat-card-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-cat-card-title { margin: 0.6rem 0.75rem 0.35rem; font-size: 0.9rem; line-height: 1.35; color: #1e3a5f; font-weight: 600; }
.home-cat-card-date { display: block; margin: 0 0.75rem 0.75rem; font-size: 0.8rem; color: #888; }

@media (max-width: 900px) {
    .home-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .home-cat-featured-img-wrap { aspect-ratio: 16/9; max-height: 240px; }
}
@media (max-width: 480px) {
    .home-cat-grid { grid-template-columns: 1fr; }
}

.news-list { list-style: none; padding: 0; margin: 0; }
.news-list li { background: #fff; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); margin-bottom: 1rem; overflow: hidden; display: flex; gap: 1rem; align-items: flex-start; }
.news-list .news-thumb { width: 120px; min-width: 120px; height: 90px; object-fit: cover; }
.news-list .news-body { padding: 0.75rem 1rem; flex: 1; }
.news-list .news-title { margin: 0 0 0.35rem; font-size: 1.05rem; }
.news-list .news-title a { color: #1e3a5f; text-decoration: none; }
.news-list .news-title a:hover { text-decoration: underline; }
.news-list .news-meta { font-size: 0.85rem; color: #666; }
.news-list .news-summary { margin: 0.35rem 0 0; font-size: 0.9rem; color: #555; }
.page-title { margin: 0 0 1rem; font-size: 1.5rem; color: #1e3a5f; }
.empty-msg { background: #fff; padding: 2rem; border-radius: 8px; text-align: center; color: #666; }

.news-detail { max-width: 720px; margin: 0 auto; background: #fff; padding: 1.5rem; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.news-detail-title { margin: 0 0 0.5rem; font-size: 1.5rem; color: #1e3a5f; line-height: 1.3; }
.news-detail-meta { font-size: 0.9rem; color: #666; margin-bottom: 1rem; }
.news-detail-image { width: 100%; max-height: 400px; object-fit: cover; border-radius: 6px; margin-bottom: 1rem; }
.news-detail-content { line-height: 1.7; color: #333; word-wrap: break-word; overflow-wrap: break-word; word-break: break-word; max-width: 100%; }
.news-detail-content p { margin: 0 0 1em; }
.news-detail-content p:last-child { margin-bottom: 0; }
.news-detail-block-img { margin: 1rem 0; }
.news-detail-block-img img { width: 100%; max-height: 400px; object-fit: cover; border-radius: 6px; }
.news-detail-block-spacer { height: 2rem; margin: 0.5rem 0; }

/* Mobil uyum */
@media (max-width: 768px) {
    .site-header-inner { flex-direction: column; align-items: flex-start; }
    .site-nav { width: 100%; }
    .site-nav a { flex: 1 1 auto; text-align: center; }
    .site-main { padding: 1rem 0.75rem; }
    .home-layout { grid-template-columns: 1fr; padding: 0.75rem; gap: 1rem; }
    .home-sidebar { order: -1; }
    .hero-slider { margin-bottom: 1rem; border-radius: 0; }
    .slider-inner { aspect-ratio: 4/3; max-height: 280px; }
    .slide-caption { padding: 1rem 0.75rem; }
    .slide-title { font-size: 1.1rem; }
    .slide-summary { font-size: 0.85rem; display: none; }
    .slider-btn { width: 36px; height: 36px; font-size: 1.2rem; }
    .slider-prev { left: 0.5rem; }
    .slider-next { right: 0.5rem; }
    .slider-dot { width: 24px; height: 24px; font-size: 0.7rem; }
    .home-cards { grid-template-columns: 1fr; gap: 0.75rem; }
    .breaking-bar { flex-direction: column; align-items: flex-start; padding: 0.5rem 0.75rem; }
    .breaking-label { padding: 0 0 0.25rem; }
    .breaking-wrap { width: 100%; }
    .news-detail { padding: 1rem; margin: 0 0.75rem; }
    .news-detail-title { font-size: 1.25rem; }
    .news-detail-image { max-height: 220px; }
    .news-list li { flex-direction: column; }
    .news-list .news-thumb { width: 100%; height: 180px; min-width: unset; }
    .sidebar-news-link { flex-wrap: wrap; }
    .sidebar-news-date { width: 100%; margin-top: 0.25rem; }
    .home-category-stack { padding: 0 0.75rem 1.5rem; }
    .home-cat-featured-img-wrap { aspect-ratio: 16/9; max-height: 220px; }
}
@media (max-width: 480px) {
    .site-nav a { font-size: 0.85rem; padding: 0.35rem 0.5rem; }
    .slide-title { font-size: 1rem; }
    .page-title { font-size: 1.25rem; }
}
