/*
Theme Name: H & Y Kişisel Haber Teması
Author: H & Y
Description: #421454, #802C62, #FF5B42 ve #FFD749 renk paletine sahip modern 3'lü manşet düzenli haber teması.
Version: 1.0.0
*/

/* Google Fonts - Inter ve Montserrat Yükleme */
@import url('https://googleapis.com');

:root {
    --ana-mor: #421454;
    --murdum: #802C62;
    --mercan: #FF5B42;
    --sari: #FFD749;
    --arka-plan: #F5F6F8;
    --yazi-koyu: #1A1A1A;
    --yazi-gri: #666666;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background: var(--arka-plan); color: var(--yazi-koyu); line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 1. Son Dakika Bandı */
.ticker-bar { background: var(--mercan); color: #fff; padding: 10px 0; font-weight: 500; font-size: 14px; overflow: hidden; }
.ticker-wrap { display: flex; align-items: center; gap: 15px; }
.ticker-title { background: var(--sari); color: var(--ana-mor); padding: 4px 10px; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 12px; border-radius: 4px; text-transform: uppercase; }
.ticker-content { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 2. Header Alanı */
header { background: var(--ana-mor); color: #fff; padding: 20px 0; }
.header-wrap { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 28px; letter-spacing: -1px; }
.logo span { color: var(--sari); }
.logo em { font-style: normal; color: var(--murdum); margin: 0 2px; }
nav ul { display: flex; list-style: none; gap: 25px; }
nav a { font-weight: 500; font-size: 15px; color: #E0E0E0; }
nav a:hover { color: var(--sari); }

/* 3. Modern 3'lü Grid Manşet Alanı */
.grid-headline { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-top: 30px; }
.main-news { position: relative; height: 450px; background: #000; border-radius: 8px; overflow: hidden; }
.sub-news-wrap { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.sub-news { position: relative; height: 215px; background: #000; border-radius: 8px; overflow: hidden; }

.news-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; transition: transform 0.5s ease; }
.headline-card:hover .news-img { transform: scale(1.05); }

.news-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 25px; background: linear-gradient(transparent, rgba(0,0,0,0.85)); color: #fff; }
.cat-tag { background: var(--murdum); color: #fff; padding: 4px 8px; font-size: 11px; font-weight: 600; text-transform: uppercase; border-radius: 4px; display: inline-block; margin-bottom: 10px; font-family: 'Montserrat', sans-serif; }
.main-news h2 { font-family: 'Montserrat', sans-serif; font-size: 26px; font-weight: 700; line-height: 1.3; }
.sub-news h3 { font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 700; line-height: 1.3; }

/* 4. Ana Sayfa Alt Düzen (Sütunlar) */
.main-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; margin-top: 40px; margin-bottom: 50px; }
.news-feed h4 { font-family: 'Montserrat', sans-serif; border-bottom: 3px solid var(--ana-mor); padding-bottom: 8px; margin-bottom: 20px; font-size: 18px; text-transform: uppercase; }

.standard-card { background: #fff; padding: 20px; margin-bottom: 20px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); display: flex; gap: 20px; }
.card-thumb { width: 200px; height: 130px; object-fit: cover; border-radius: 6px; }
.card-info { display: flex; flex-direction: column; justify-content: center; }
.card-info h5 { font-family: 'Montserrat', sans-serif; font-size: 18px; margin-bottom: 8px; }
.card-info h5 a:hover { color: var(--mercan); }
.meta-data { font-size: 12px; color: var(--yazi-gri); margin-bottom: 8px; }

/* 5. Sağ Sütun (Sidebar) */
sidebar { background: #fff; padding: 25px; border-radius: 8px; height: fit-content; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.author-box { text-align: center; }
.author-box img { width: 100px; height: 100px; border-radius: 50%; border: 3px solid var(--murdum); margin-bottom: 15px; }
.author-box h6 { font-family: 'Montserrat', sans-serif; font-size: 18px; margin-bottom: 5px; }
.author-box p { font-size: 14px; color: var(--yazi-gri); }

/* Responsive Tasarım */
@media (max-width: 992px) {
    .grid-headline, .main-layout { grid-template-columns: 1fr; }
    .sub-news-wrap { grid-template-columns: 1fr 1fr; }
    .sub-news { height: 250px; }
}
@media (max-width: 576px) {
    .sub-news-wrap { grid-template-columns: 1fr; }
    .standard-card { flex-direction: column; }
    .card-thumb { width: 100%; height: 180px; }
}
