/* --- 1. GENEL AYARLAR VE SIFIRLAMA --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --apaBlue: #0c2340;  /* Lacivert */
    --apaRed: #0b9bb8;   /* Haber kırmızısı */
    --apaDark: #1a1a1a;  /* Koyu füme */
}

body {
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Sitenin maksimum genişliği ve ortalanması */
.max-w-7xl {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* --- 2. ÜST BAR (Tarih ve Dil) --- */
.bg-apaBlue {
    background-color: var(--apaBlue);
    color: #ffffff;
    font-size: 12px;
    padding: 22px 16px;
}

.bg-apaBlue .max-w-7xl {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bg-apaBlue .flex {
    display: flex;
    align-items: center;
    gap: 20px;
}

.bg-apaBlue a {
    font-weight: 600;
    transition: color 0.2s;
}

.bg-apaBlue a:hover {
    color: #cbd5e1;
}

.bg-apaBlue .text-apaRed {
    color: var(--apaRed);
}

/* --- 3. HEADER & LOGO ALANI --- */
header {
    background-color: var(--apaRed) !important; /* HTML'deki inline style'ı ezmek için */
    padding: px 16px;
}

header .max-w-7xl {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-4xl {
    font-size: 65px;
    font-weight: 850;
    letter-spacing: -1.5px;
}

.text-4xl .text-apaRed {
    color: #ffffff; /* Kırmızı arka planda logonun 'Turk' kısmı beyaz olsun */
}

/* --- 4. NAVİGASYON MENÜSÜ --- */
nav {
    background-color: #0bb2b8 !important; /* HTML'deki yarı saydam kırmızı style uyumu */
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

nav .max-w-7xl {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
}

nav .flex {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 14px 0;
}

/* Yatay kaydırma çubuğunu gizleme */
.scrollbar-none::-webkit-scrollbar {
    display: none;
}
.scrollbar-none {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

nav a {
    color: #1a1a1a !important; /* HTML'deki color: black uyumu */
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}

nav a:hover, nav a.text-apaRed {
    color: #ffffff !important; /* Hover durumunda beyaz parlasın */
}

/* --- 5. ANA İÇERİK ALANI (GRID SİSTEMİ) --- */
main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    padding: 24px 16px;
}

/* Sol Blok */
.lg\:col-span-2 {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* --- 6. BÖYÜK MANŞET --- */
.relative.group {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.h-96 {
    height: 420px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.relative.group:hover .h-96 {
    transform: scale(1.03);
}

.absolute.inset-0 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}

.absolute.bottom-0 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    color: #ffffff;
}

.bg-apaRed.text-xs {
    background-color: var(--apaRed);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.text-2xl {
    font-size: 28px;
    font-weight: 700;
    margin-top: 8px;
    line-height: 1.2;
}

.text-gray-300 {
    color: #cbd5e1;
    font-size: 14px;
    margin-top: 8px;
}

/* --- 7. KİÇİK MANŞETLER (İKİLİ KARTLAR) --- */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.bg-white {
    background-color: #ffffff;
}

.rounded-lg {
    border-radius: 12px;
}

.shadow-sm {
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.border-gray-100 {
    border: 1px solid #f1f5f9;
}

.overflow-hidden {
    overflow: hidden;
}

.h-48 {
    height: 190px;
    background-size: cover;
    background-position: center;
}

.block.p-4 {
    padding: 20px;
    display: block;
}

.text-lg {
    font-size: 16px;
    font-weight: 700;
    color: var(--apaBlue);
    margin-top: 6px;
    line-height: 1.4;
    transition: color 0.2s;
}

.text-lg:hover {
    color: var(--apaRed);
}

.text-gray-600 {
    color: #475569;
    font-size: 13px;
    margin-top: 8px;
}

/* --- 8. SAĞ BLOK (SON XƏBƏRLƏR) --- */
.h-fit {
    height: fit-content;
}

aside, .bg-white.p-4 {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    padding: 20px;
}

.border-b-2 {
    border-bottom: 2px solid var(--apaRed);
    padding-bottom: 8px;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 700;
    color: var(--apaBlue);
}

.space-y-4 > * + * {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.text-xs.text-gray-400 {
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: 4px;
}

.text-sm.font-semibold {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    transition: color 0.2s;
}

.text-sm.font-semibold:hover {
    color: var(--apaRed);
}

/* Daha Çox Xəbər Butonu */
.w-full.mt-5 {
    width: 100%;
    margin-top: 20px;
    background-color: #f1f5f9;
    border: none;
    color: #475569;
    font-weight: 700;
    font-size: 12px;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.w-full.mt-5:hover {
    background-color: #e2e8f0;
}

/* --- 9. FOOTER --- */
footer {
    background-color: var(--apaDark) !important;
    color: #94a3b8;
    margin-top: auto;
    padding: 40px 16px;
    border-top: 4px solid var(--apaRed);
}

footer .max-w-7xl {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

footer h4 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 14px;
}

footer .text-3xl {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
}

footer .text-xs {
    font-size: 12px;
    line-height: 1.6;
}

footer .grid-cols-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

footer a {
    color: #94a3b8;
    transition: color 0.2s;
}

footer a:hover {
    color: #ffffff;
}

.flex.space-x-3 {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

/* En Alt Telif Bölümü */
footer .border-t {
    border-top: 1px solid #2d3748;
    margin-top: 32px;
    padding-top: 24px;
    text-align: center;
    font-size: 11px;
}

/* --- 10. MOBİL UYUMLULUK (RESPONSIVE) --- */
@media (max-width: 992px) {
    main {
        grid-template-columns: 1fr; /* Sağ sütun alta iner */
    }
}

@media (max-width: 768px) {
    header .max-w-7xl {
        flex-direction: column;
        text-align: center;
    }

    .grid {
        grid-template-columns: 1fr; /* 2'li küçük kartlar tek sütun olur */
    }

    footer .max-w-7xl {
        grid-template-columns: 1fr; /* Footer alanları alt alta gelir */
        gap: 24px;
    }
}