@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&display=swap');

:root {
    --bg-main: #f8fafc;
    --bg-dark: #0f172a;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --primary: #e11d48; /* Premium Rose Red */
    --accent: #3b82f6; /* Blue Accent */
    --border: #e2e8f0;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
}

* { box-sizing: border-box; }
a { text-decoration: none; color: inherit; }

/* REUSABLE CLASSES */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* TOP BAR (FINANCE & WEATHER) */
.top-bar {
    background-color: var(--bg-dark);
    color: #fff;
    font-size: 13px;
    padding: 10px 0;
    font-weight: 500;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    gap: 20px;
}

.top-bar span.up { color: #10b981; }
.top-bar span.down { color: #f43f5e; }

/* HEADER & NAVBAR */
.header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--bg-dark);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

.nav-links li a {
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--primary);
}

/* MAIN GRID LAYOUT */
.main-news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
    margin-top: 20px;
    align-items: stretch; /* MAKE SIDE MATCH SLIDER HEIGHT EXACTLY */
}

/* CARDS */
.news-card {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    background: #000;
    display: block;
    height: 100%;
}

.news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0.9;
}

.news-card:hover img {
    transform: scale(1.05);
}

/* GLASSMORPHISM OVERLAYS */
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 20px;
    background: linear-gradient(0deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.7) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.badge {
    align-self: flex-start;
    background-color: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 0;
    margin-bottom: 10px;
}

.news-title {
    margin: 0;
    color: #fff;
    line-height: 1.3;
    font-weight: 700;
}

.main-card .news-title {
    font-size: 28px;
}

/* ANA SLIDER WRAPPER - 16:9 KİLİTLİ */
.main-slider-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9 !important;
    height: auto !important; /* CRITICAL: Allows aspect-ratio to dictate row height */
    overflow: hidden;
    min-width: 0;
}

/* SIDE GRID (YAN MANŞETLERİ) */
.side-news-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%; /* Stretches to the height set by the left slider */
    min-width: 0;
    min-height: 0; /* CRITICAL: Prevents side content from pushing grid taller */
}

.side-card {
    position: relative;
    flex: 1 1 0; /* CRITICAL: Exact 50% split, ignoring content height */
    overflow: hidden;
    background: #000;
    min-height: 0; /* CRITICAL: Prevents image intrinsic height from fighting the grid */
}

.side-card img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}

.side-card .news-title {
    font-size: 18px;
}

.side-card .overlay {
    padding: 15px;
}

/* PREMIUM SWIPER STYLES */
.swiper {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 16px !important;
    font-weight: 900;
}

.swiper-pagination-bullet {
    background: #ffffff !important;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary) !important;
}

.progress-fill {
    height: 3px;
    background: var(--primary);
    width: 0%;
    transition: width 4s linear;
}

.swiper-slide-active .progress-fill {
    width: 100%;
}

/* CATEGORY SECTIONS */
.category-section {
    margin-top: 0px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--border);
    margin-bottom: 15px;
    padding-bottom: 5px;
}

.view-all {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    transition: color 0.2s;
}

.view-all:hover {
    color: var(--primary);
}

.section-title {
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-main);
    display: flex;
    align-items: center;
    letter-spacing: -0.5px;
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 24px;
    background-color: var(--primary); /* Defaults to primary red */
    margin-right: 12px;
}

.section-title.gundem::before { background-color: #ef4444; /* Premium Red */ }
.section-title.dunya::before { background-color: #3b82f6; /* Blue */ }
.section-title.spor::before { background-color: #10b981; /* Green */ }

.category-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 20px;
}

/* 1 FEATURED LEFT, 4 SMALL RIGHT GRID */
.category-featured-layout {
    display: grid;
    grid-template-columns: 6fr 6fr;
    gap: 30px;
}

.featured-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.featured-card .img-wrapper {
    position: relative;
    width: 100%;
    /* Standard 16:9 for professional look */
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e2e8f0;
}

.featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-card:hover img {
    transform: scale(1.03);
}

.featured-card h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.3;
    transition: color 0.2s ease;
}

.featured-card:hover h3 {
    color: var(--primary);
}

.featured-card p.summary {
    margin: 0;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.side-2x2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 20px;
}

.standard-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.standard-card .img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e2e8f0;
}

.standard-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.standard-card:hover img {
    transform: scale(1.05);
}

.standard-card h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.standard-card:hover h3 {
    color: var(--primary);
}

/* MAGAZIN LAYOUT (2 BIG, 4 SMALL) */
.magazin-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.magazin-bottom-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 20px;
}

/* SPOR LAYOUT */
.spor-layout {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 30px;
}

.spor-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0; /* Prevents infinite Swiper stretch in Grid */
}

.spor-slider-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden; /* Enforces height constraint */
}

.spor-slider {
    width: 100%;
    height: 100%;
}

.spor-slider .swiper-pagination-bullet-active {
    background: #10b981 !important; /* Premium Green */
}

/* Spor Alt Promosyon Kartları */
.spor-promo-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.spor-promo-card {
    width: 100%;
    aspect-ratio: 21 / 9;
    background: #f0fdf4;
    border: 1px dashed #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 16px;
    color: #047857;
    text-align: center;
    transition: all 0.3s ease;
}

.spor-promo-card:hover {
    background: #dcfce7;
    transform: translateY(-2px);
}

.sports-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.sports-progress-bar .progress-fill {
    height: 100%;
    background: #10b981;
    width: 0%;
    transition: width 3.5s linear;
}

.swiper-slide-active .sports-progress-bar .progress-fill {
    width: 100%;
}

.side-2x3-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* NAV BAR */
.nav-bar {
    display: flex;
    align-items: center;
    padding-bottom: 15px;
}

.nav-links .active {
    color: var(--primary);
}

/* HAMBURGER BUTTON (Hidden on desktop) */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--text-main);
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===================== */
/* NEWS DETAIL PAGE V2   */
/* ===================== */

.breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--text-main);
    font-weight: 500;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .fa-chevron-right {
    font-size: 10px;
    margin: 0 8px;
    color: #cbd5e1;
}

.detail-layout {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 40px;
}

.detail-badge {
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 15px;
}

.detail-title {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 20px 0;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.detail-meta-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
    margin-bottom: 25px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-image-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    margin-bottom: 30px;
    background: #e2e8f0;
}

.detail-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-summary {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 4px solid var(--primary);
}

.detail-article {
    font-size: 18px;
    line-height: 1.8;
    color: #1e293b;
}

.detail-article p {
    margin-bottom: 20px;
}

.detail-article img,
.detail-article figure img,
.detail-article .wp-block-image img {
    max-width: 100% !important;
    max-height: 450px !important;
    height: auto !important;
    border-radius: 8px;
    margin: 20px auto !important;
    display: block !important;
    object-fit: contain !important;
}
.detail-article figure {
    margin: 20px 0;
    max-width: 100%;
}

.social-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-weight: 700;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    transition: transform 0.2s;
}

.share-btn:hover {
    transform: translateY(-3px);
}

.share-btn.fb { background: #1877f2; }
.share-btn.tw { background: #1da1f2; }
.share-btn.wa { background: #25d366; }

/* DETAIL SIDEBAR */
.sidebar-news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-news-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.sidebar-news-item img {
    width: 100px;
    height: 75px;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: #e2e8f0;
}

.sidebar-news-item h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-main);
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-news-item:hover h4 {
    color: var(--primary);
}

.sidebar-ad {
    margin-top: 30px;
    width: 100%;
    aspect-ratio: 1;
    background: #f1f5f9;
    border: 1px dashed #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #94a3b8;
    font-weight: 700;
    font-size: 14px;
}

/* AUTHORS SIDEBAR WIDGET */
.sidebar-authors {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.sidebar-author-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.sidebar-author-item:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-color: #cbd5e1;
    transform: translateX(5px);
}
.sidebar-author-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.s-auth-info h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
}
.s-auth-info p {
    margin: 0;
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
}
.s-auth-info .view-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    transition: color 0.3s;
}
.sidebar-author-item:hover .s-auth-info .view-btn {
    color: var(--primary);
}

/* HEADER YAZARLAR BTN */
.nav-author-btn a {
    background: var(--primary);
    color: #fff !important;
    padding: 6px 15px !important;
    border-radius: 20px;
    font-weight: 800;
    margin-left: 10px;
    border: 2px solid transparent;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-author-btn a:hover {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary) !important;
}

/* ===================== */
/* PREMIUM FOOTER V2     */
/* ===================== */
.footer-v2 {
    background-color: var(--bg-dark);
    color: #e2e8f0;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 4px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: block;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -1px;
    color: #fff;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--primary);
}

.footer-desc {
    font-size: 15px;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 25px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #1e293b;
    color: #fff;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.social-icon.fb:hover { background: #1877f2; }
.social-icon.tw:hover { background: #1da1f2; }
.social-icon.ig:hover { background: #e1306c; }
.social-icon.yt:hover { background: #ff0000; }

.footer-title {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 20px 0;
    letter-spacing: 0.5px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 6px;
}

.footer-newsletter p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    margin-bottom: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    background: #1e293b;
    color: #fff;
    border-radius: 6px 0 0 6px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.newsletter-form input::placeholder {
    color: #64748b;
}

.newsletter-form button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0 20px;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #be123c;
}

.app-links a:hover {
    background: var(--primary) !important;
}

.footer-bottom {
    background: #020617;
    padding: 20px 0;
    font-size: 14px;
    color: #64748b;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-inner p {
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #64748b;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: #fff;
}

/* ===================== */
/* CATEGORY HERO MOSAIC  */
/* ===================== */
.cat-hero-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 240px);
    gap: 15px;
    margin-bottom: 50px;
}

.cat-hero-item {
    position: relative;
    overflow: hidden;
    background: #0f172a;
    border-radius: 8px;
    display: block;
}

.cat-hero-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0.85;
}

.cat-hero-item:hover img {
    transform: scale(1.08);
    opacity: 1;
}

.cat-hero-main {
    grid-column: span 2;
    grid-row: span 2;
}

.cat-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(0deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.cat-hero-sub .cat-hero-overlay {
    padding: 15px;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, transparent 100%);
}

.cat-hero-title {
    color: #fff;
    font-weight: 800;
    margin: 10px 0 0 0;
    line-height: 1.35;
}

.cat-hero-main .cat-hero-title {
    font-size: 28px;
}

.cat-hero-sub .cat-hero-title {
    font-size: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* HORIZONTAL NEWS CARD */
.horizontal-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 25px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
    transition: box-shadow 0.3s, transform 0.3s;
}

.horizontal-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

.horizontal-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
}

.horizontal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.horizontal-card:hover .horizontal-img img {
    transform: scale(1.05);
}

.horizontal-content {
    padding: 25px 25px 25px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.horizontal-content h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 12px 0;
    color: var(--text-main);
    line-height: 1.4;
    transition: color 0.2s;
}

.horizontal-card:hover .horizontal-content h3 {
    color: var(--cat-color, var(--primary));
}

.horizontal-content p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.horizontal-meta {
    font-size: 13px;
    font-weight: 700;
    color: var(--cat-color, var(--primary));
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 15px;
}
.horizontal-meta span {
    color: var(--text-muted);
}

/* ===================== */
/* RESPONSIVE: TABLET    */
/* ===================== */
@media (max-width: 1024px) {
    .header-top > div[style*="728px"] {
        display: none !important;
    }

    .main-news-grid {
        grid-template-columns: 1fr;
    }

    .side-news-grid {
        grid-template-rows: auto;
        grid-template-columns: 1fr 1fr;
        height: auto;
    }

    .category-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-featured-layout {
        grid-template-columns: 1fr;
    }

    .magazin-top-row {
        grid-template-columns: 1fr 1fr;
    }

    .magazin-bottom-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .spor-layout {
        grid-template-columns: 1fr;
    }

    .side-2x3-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .detail-layout {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .cat-hero-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .cat-hero-main {
        grid-column: span 2;
        aspect-ratio: 16/9;
    }
    .cat-hero-sub {
        aspect-ratio: 16/9;
    }
    .horizontal-card {
        grid-template-columns: 1fr;
    }
    .horizontal-content {
        padding: 20px;
    }
}

/* ===================== */
/* RESPONSIVE: MOBİL     */
/* ===================== */
@media (max-width: 768px) {
    /* TOP BAR */
    .top-bar {
        font-size: 11px;
        padding: 6px 0;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 5px;
    }

    .top-bar-left {
        display: none; /* Son dakika bandını mobilde gizle, yer tasarrufu */
    }

    .top-bar-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    /* HEADER */
    .header-top {
        padding: 12px 0;
    }

    .logo {
        font-size: 24px;
    }

    .header-top > div[style*="728px"] {
        display: none !important;
    }

    /* HAMBURGER VISIBLE */
    .hamburger {
        display: block;
    }

    .nav-bar {
        position: relative;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: -20px;
        right: -20px;
        background: #fff;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        z-index: 1050;
        padding: 15px 20px;
        gap: 0;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
        font-size: 16px;
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    /* MAIN NEWS GRID */
    .main-news-grid {
        grid-template-columns: 1fr;
    }

    .side-news-grid {
        grid-template-rows: auto;
        grid-template-columns: 1fr;
        height: auto;
    }

    /* CATEGORY GRIDS */
    .category-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 12px;
    }

    .category-featured-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .side-2x2-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    /* MAGAZIN */
    .magazin-top-row {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }

    .magazin-bottom-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 12px;
    }

    .featured-card h3 {
        font-size: 20px;
    }

    /* SPOR */
    .spor-layout {
        grid-template-columns: 1fr;
    }

    .side-2x3-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* GENERAL */
    .main-card .news-title {
        font-size: 20px;
    }

    .section-title {
        font-size: 18px;
    }

    .view-all {
        font-size: 12px;
    }

    .ad-space {
        height: 80px !important;
        font-size: 12px !important;
    }
    
    .detail-title {
        font-size: 28px;
    }
    .detail-summary {
        font-size: 17px;
    }
    .detail-article {
        font-size: 16px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cat-hero-grid {
        display: flex;
        flex-direction: column;
    }
    .horizontal-content h3 {
        font-size: 18px;
    }
}

/* ===================== */
/* RESPONSIVE: KÜÇÜK MOBİL */
/* ===================== */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .category-grid-4 {
        grid-template-columns: 1fr;
    }

    .magazin-bottom-row {
        grid-template-columns: 1fr;
    }

    .side-2x3-grid {
        grid-template-columns: 1fr;
    }

    .spor-promo-row {
        grid-template-columns: 1fr;
    }

    .main-card .news-title {
        font-size: 18px;
    }

    .featured-card h3 {
        font-size: 18px;
    }

    .standard-card h3 {
        font-size: 14px;
    }
}
