/* Temel Sıfırlamalar ve Renk Değişkenleri */
:root {
    --bg-color: #ffffff;
    --text-main: #333333;
    --black: #000000;
    --dark-gray: #1a1a1a;
    --gray: #666666;
    --light-gray: #f2f2f2;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Köşeleri oval yapmayı engeller, ulusal ve ciddi duruş */
    border-radius: 0 !important; 
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-gray); /* Arka planı hafif gri yapıp ana gövdeyi beyaz tutuyoruz */
    color: var(--text-main);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--black);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--gray);
}

img {
    max-width: 100%;
    display: block;
}

/* Yan Reklam Alanları (Masaüstü için) */
.side-ad {
    position: fixed;
    top: 100px;
    width: 120px;
    height: 600px;
    background-color: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    color: var(--gray);
    border: 1px solid var(--gray);
    z-index: 1000;
}

.ad-left { left: 10px; }
.ad-right { right: 10px; }

/* Ana İçerik Çerçevesi */
.main-container {
    max-width: 1140px;
    margin: 0 auto;
    background-color: var(--bg-color);
    padding: 0 20px 20px 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* Header ve Hava Durumu */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid var(--black);
}

.logo a {
    font-size: 32px;
    font-weight: bold;
    color: var(--black);
    letter-spacing: -1px;
}

.weather-widget {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
}

/* Ana Menü */
.main-menu {
    background-color: var(--black);
    margin-bottom: 20px;
}

.main-menu ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.main-menu ul li a {
    display: block;
    padding: 15px 20px;
    color: var(--bg-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 15px;
}

.main-menu ul li a:hover {
    background-color: var(--dark-gray);
    color: var(--light-gray);
}

/* Üst Manşet (5 Adet Yan Yana) */
.top-headlines {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.top-headline-item h3 {
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.3;
    font-weight: 600;
}

.top-headline-item a:hover h3 {
    text-decoration: underline;
}

/* Ana Manşet Slider (Dikdörtgen ve Metin Üstte) */
.main-slider-section {
    position: relative;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.slider-image-area {
    position: relative;
}

.slider-image-area img {
    width: 100%;
    height: auto;
    aspect-ratio: 21/9;
    object-fit: cover;
}

.slider-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: var(--bg-color);
    padding: 20px;
}

.slider-text-overlay h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--bg-color);
}

.slider-text-overlay p {
    font-size: 16px;
    color: var(--light-gray);
}

/* Numaratörler */
.slider-nav {
    display: flex;
    background-color: var(--black);
}

.slider-nav a {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    color: var(--bg-color);
    font-weight: bold;
    border-right: 1px solid var(--dark-gray);
    font-size: 18px;
}

.slider-nav a:last-child {
    border-right: none;
}

.slider-nav a:hover,
.slider-nav a.active {
    background-color: var(--bg-color);
    color: var(--black);
}

/* Orta Reklam */
.middle-ad {
    width: 100%;
    min-height: 90px;
    background-color: var(--light-gray);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--gray);
    font-weight: bold;
}

/* Yazarlar Bölümü */
.authors-section {
    margin-bottom: 40px;
    border-top: 4px solid var(--black);
    padding-top: 20px;
}

.section-title h2 {
    font-size: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.authors-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto; /* Otomatik kaydırma için JS entegre edilebilir, şu an scroll yapısında */
    padding-bottom: 10px;
    scrollbar-width: thin;
}

.author-card {
    min-width: 250px;
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--light-gray);
    padding: 15px;
    border: 1px solid var(--border-color);
}

.author-card img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.author-info h4 {
    font-size: 14px;
    margin-bottom: 5px;
    color: var(--gray);
}

.author-info a {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.2;
}

/* Kategorisel Bloglar */
.category-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.category-header {
    border-bottom: 2px solid var(--black);
    margin-bottom: 15px;
    padding-bottom: 5px;
}

.category-header h3 {
    font-size: 18px;
}

.category-news-item {
    margin-bottom: 15px;
}

.category-news-item h4 {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.4;
}

.category-text-list {
    list-style: none;
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
}

.category-text-list li {
    margin-bottom: 10px;
}

.category-text-list li a {
    font-size: 14px;
    font-weight: 500;
}

.category-text-list li a::before {
    content: "■";
    color: var(--black);
    margin-right: 8px;
    font-size: 10px;
    vertical-align: middle;
}

/* Footer */
.site-footer {
    background-color: var(--black);
    color: var(--bg-color);
    padding: 40px 20px 20px 20px;
}

.footer-container {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 15px;
    border-bottom: 1px solid var(--gray);
    padding-bottom: 5px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: var(--gray);
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: var(--bg-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--dark-gray);
    padding-top: 20px;
    font-size: 13px;
    color: var(--gray);
}

/* Responsive / Mobil Uyumluluk Ayarları */
@media screen and (max-width: 1400px) {
    /* Ekran daraldığında yan reklamları gizle ki içeriği kapatmasın */
    .side-ad { display: none; } 
}

@media screen and (max-width: 992px) {
    .top-headlines { grid-template-columns: repeat(3, 1fr); }
    .category-news-grid { grid-template-columns: repeat(2, 1fr); }
    .slider-text-overlay h2 { font-size: 18px; }
}

@media screen and (max-width: 768px) {
    .top-header { flex-direction: column; gap: 10px; }
    .main-menu ul { flex-direction: column; }
    .main-menu ul li a { border-bottom: 1px solid var(--dark-gray); }
    .top-headlines { grid-template-columns: repeat(2, 1fr); }
    .slider-nav { flex-wrap: wrap; }
    .slider-nav a { flex-basis: 20%; } /* Mobil için numaratörleri iki satıra böler */
    .category-news-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; }
}

@media screen and (max-width: 480px) {
    .top-headlines { grid-template-columns: 1fr; }
}