/*
Theme Name: AVM TV - Kanews Stili Profesyonel Haber Portalı
Theme URI: https://avmtv.com.tr
Author: AVM TV Medya
Author URI: https://avmtv.com.tr
Description: avmtv.com.tr için özel olarak hazırlanmış Kanews stili, Google News ve BİK uyumlu profesyonel haber portalı teması.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: avmtv
*/

/* ===================================================
   AVM TV (avmtv.com.tr) - Kanews Tarzı Profesyonel Haber Stili
   =================================================== */

:root {
    --primary-red: #e11d48;
    --primary-hover: #be123c;
    --accent-blue: #0284c7;
    --dark-bg: #0f172a;
    --dark-surface: #1e293b;
    --light-bg: #f8fafc;
    --light-surface: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-logo: 'Space Grotesk', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.02);
}

body.dark-mode {
    --light-bg: #0b0f19;
    --light-surface: #151c2c;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --border-color: #1e293b;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-heading);
    background-color: var(--light-bg);
    color: var(--text-main);
    line-height: 1.5;
    transition: background-color 0.25s ease, color 0.25s ease;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ===================================================
   1. TOPBAR
   =================================================== */
.top-bar {
    background: #0f172a;
    color: #cbd5e1;
    font-size: 12px;
    border-bottom: 1px solid #1e293b;
    padding: 6px 0;
}

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

.top-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.financial-ticker {
    display: flex;
    gap: 14px;
}

.finance-item strong {
    color: #ffffff;
}

.finance-item.up {
    color: #4ade80;
}

.finance-item.down {
    color: #f87171;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    color: #94a3b8;
    font-size: 13px;
}

.social-links a:hover {
    color: #ffffff;
}

.btn-live {
    background: #e11d48;
    color: #ffffff !important;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background: #ffffff;
    border-radius: 50%;
    animation: pulse 1.4s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.theme-btn {
    background: transparent;
    border: 1px solid #334155;
    color: #e2e8f0;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.theme-btn:hover {
    background: #1e293b;
}

/* ===================================================
   2. MAIN HEADER
   =================================================== */
.main-header {
    background: var(--light-surface);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.site-main-logo {
    height: 52px;
    width: auto;
    max-width: 175px;
    max-height: 52px;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-main-logo:hover {
    transform: scale(1.02);
    opacity: 0.95;
}

body.dark-mode .site-main-logo {
    background: rgba(255, 255, 255, 0.95);
    padding: 3px 8px;
    border-radius: 6px;
}

.logo-box {
    background: #0f172a;
    color: #ffffff;
    font-family: var(--font-logo);
    font-weight: 800;
    font-size: 28px;
    padding: 6px 14px;
    border-radius: 6px;
    letter-spacing: -0.5px;
    border-left: 4px solid var(--primary-red);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

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

.logo-domain {
    font-size: 19px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.4px;
}

.logo-tagline {
    display: flex;
    flex-direction: column;
}

.logo-tagline strong {
    font-size: 18px;
    color: var(--text-main);
    letter-spacing: -0.3px;
}

.logo-tagline span {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.header-banner .ad-placeholder {
    width: 650px;
    height: 75px;
    background: var(--light-bg);
    border: 1px dashed var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 12px;
}

/* ===================================================
   3. NAVİGASYON
   =================================================== */
.main-nav {
    background: var(--light-surface);
    border-bottom: 2px solid var(--primary-red);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 90;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
    overflow-x: auto;
}

.nav-links li a {
    display: inline-block;
    padding: 14px 14px;
    font-weight: 700;
    font-size: 13.5px;
    color: var(--text-main);
    white-space: nowrap;
}

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

.nav-links li.highlight-menu a {
    color: #e11d48;
}

.search-btn {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 16px;
    cursor: pointer;
    padding: 8px;
}

/* ===================================================
   4. SON DAKİKA (TICKER)
   =================================================== */
.ticker-wrapper {
    background: var(--light-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    margin-bottom: 16px;
}

.ticker-container {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ticker-badge {
    background: var(--primary-red);
    color: #ffffff;
    font-weight: 800;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ticker-content {
    flex-grow: 1;
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ticker-controls {
    display: flex;
    gap: 4px;
}

.ticker-controls button {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 26px;
    height: 26px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 11px;
}

/* ===================================================
   5. STORIES / REELS BAR
   =================================================== */
.stories-section {
    margin-bottom: 20px;
}

.stories-scroll {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.stories-scroll::-webkit-scrollbar {
    height: 4px;
}
.stories-scroll::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

.story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    min-width: 76px;
}

.story-ring {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    padding: 2.5px;
    background: #cbd5e1;
    transition: transform 0.2s;
}

.story-ring.unread {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.story-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--light-surface);
}

.story-item:hover .story-ring {
    transform: scale(1.05);
}

.story-item span {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-main);
    text-align: center;
}

/* ===================================================
   6. HERO GRID & BÜYÜK MANŞET (1-10 SLIDER)
   =================================================== */
.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 18px;
    margin-bottom: 24px;
}

.headline-slider-wrap {
    background: #000000;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
}

.headline-slider {
    position: relative;
    height: 440px;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    padding-bottom: 60px;
    box-sizing: border-box;
}

.slider-slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-badge {
    align-self: flex-start;
    padding: 4px 10px;
    font-weight: 800;
    font-size: 11px;
    border-radius: 4px;
    color: #ffffff;
    margin-bottom: 12px;
}

.category-avm { background: #e11d48; }
.category-ekonomi { background: #0284c7; }
.category-kampanya { background: #16a34a; }

.slide-text h2 {
    font-size: 24px;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.25;
}

.slide-text p {
    color: #e2e8f0;
    font-size: 13.5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slide-meta {
    color: #cbd5e1;
    font-size: 11.5px;
    display: block;
    margin-bottom: 6px;
}

.slider-numbers {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    background: rgba(15, 23, 42, 0.95);
    z-index: 10;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.num-btn {
    flex: 1;
    background: none;
    border: none;
    color: #94a3b8;
    padding: 10px 0;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    border-right: 1px solid rgba(255,255,255,0.06);
    transition: all 0.2s;
}

.num-btn:hover,
.num-btn.active {
    background: var(--primary-red);
    color: #ffffff;
}

/* SÜRMANŞET YAN KARTLAR */
.side-headlines {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.side-card {
    background: var(--light-surface);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 212px;
}

.side-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.side-card-info {
    padding: 12px 14px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mini-cat {
    color: var(--primary-red);
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 0.5px;
}

.side-card-info h3 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    margin: 4px 0;
}

.time-tag {
    font-size: 11px;
    color: var(--text-muted);
}

/* 3'LÜ ÖNE ÇIKAN BLOK */
.featured-trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

.trio-card {
    background: var(--light-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.trio-thumb {
    position: relative;
    height: 160px;
}

.trio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--primary-red);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 3px;
}

.trio-card h4 {
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

/* ===================================================
   7. İÇERİK & SIDEBAR LAYOUT
   =================================================== */
.layout-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.section-block {
    margin-bottom: 30px;
}

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

.section-header h2 {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid var(--primary-red);
    margin-bottom: -10px;
    padding-bottom: 8px;
}

.view-all {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
}

.news-horizontal-card {
    background: var(--light-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    margin-bottom: 14px;
    box-shadow: var(--shadow-sm);
}

.news-horizontal-card img {
    width: 220px;
    height: 140px;
    object-fit: cover;
}

.news-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-body h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.news-body p {
    font-size: 12.5px;
    color: var(--text-muted);
    margin: 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    gap: 12px;
}

/* VIDEO ÖZEL ALANI */
.video-section-block {
    background: #0f172a;
    border-radius: 10px;
    padding: 20px;
    color: #ffffff;
    margin-bottom: 30px;
}

.section-header.dark {
    border-bottom-color: #334155;
}

.section-header.dark h2 {
    color: #ffffff;
    border-bottom-color: #e11d48;
}

.text-red { color: #e11d48; }

.live-pill {
    background: rgba(225, 29, 72, 0.2);
    color: #fda4af;
    border: 1px solid #e11d48;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 5px;
}

.video-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 18px;
    margin-top: 14px;
}

.video-frame {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    height: 220px;
}

.video-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(225, 29, 72, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 18px;
    box-shadow: 0 0 20px rgba(225, 29, 72, 0.8);
}

.video-featured h3 {
    margin-top: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.video-sub-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.video-item {
    display: flex;
    gap: 12px;
}

.video-item-thumb {
    position: relative;
    width: 110px;
    height: 68px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.video-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vid-duration {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0,0,0,0.8);
    font-size: 9px;
    padding: 1px 4px;
    border-radius: 2px;
}

.video-item h4 {
    font-size: 12.5px;
    font-weight: 600;
    color: #e2e8f0;
    line-height: 1.3;
}

/* YAZARLAR */
.authors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.author-card {
    background: var(--light-surface);
    border: 1px solid var(--border-color);
    padding: 14px;
    border-radius: 8px;
    display: flex;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}

.author-card img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info strong {
    display: block;
    font-size: 14px;
}

.author-info small {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 11px;
}

.author-info h4 {
    font-size: 13px;
    font-weight: 600;
    margin-top: 4px;
    font-style: italic;
}

/* ===================================================
   8. SIDEBAR
   =================================================== */
.sidebar-widget {
    background: var(--light-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.ihbar-box {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    display: flex;
    gap: 14px;
    align-items: center;
    border: none;
}

.ihbar-icon {
    font-size: 38px;
}

.ihbar-text span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: block;
}

.ihbar-text strong {
    font-size: 18px;
    display: block;
}

.ihbar-text p {
    font-size: 11px;
    opacity: 0.9;
    margin-top: 3px;
}

.ad-box-square {
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px dashed var(--border-color);
    background: var(--light-bg);
    color: var(--text-muted);
}

.popular-widget .widget-title {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.popular-widget h3 {
    font-size: 15px;
    font-weight: 800;
}

.pop-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.pop-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.rank-number {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-red);
    font-family: var(--font-logo);
    min-width: 20px;
}

.pop-content h4 {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.pop-content small {
    font-size: 11px;
    color: var(--text-muted);
}

.newsletter-widget {
    text-align: center;
}

.newsletter-icon {
    font-size: 32px;
    color: var(--primary-red);
    margin-bottom: 8px;
}

.newsletter-widget h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.newsletter-widget p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.newsletter-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 8px;
    font-size: 13px;
    outline: none;
    background: var(--light-bg);
    color: var(--text-main);
}

.newsletter-form button {
    width: 100%;
    padding: 10px;
    background: var(--primary-red);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}

/* ===================================================
   9. FOOTER
   =================================================== */
.main-footer {
    background: #090d16;
    color: #94a3b8;
    padding-top: 40px;
    font-size: 13px;
    border-top: 3px solid var(--primary-red);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 30px;
    padding-bottom: 40px;
}

.footer-about p {
    margin: 14px 0;
    line-height: 1.6;
    font-size: 12.5px;
}

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

.footer-social a {
    width: 32px;
    height: 32px;
    background: #1e293b;
    color: #ffffff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-links h4,
.footer-contact h4 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
}

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

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

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

.footer-contact p {
    margin-bottom: 8px;
    font-size: 12.5px;
}

.google-news-badge {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1e293b;
    padding: 8px 12px;
    border-radius: 4px;
    color: #ffffff;
    font-weight: 600;
    font-size: 12px;
}

.footer-bottom {
    background: #05080e;
    padding: 16px 0;
    border-top: 1px solid #1e293b;
    font-size: 12px;
}

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

/* ===================================================
   10. ARAMA MODALI
   =================================================== */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-box {
    background: var(--light-surface);
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    position: relative;
}

.close-search {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
}

.search-input-wrap {
    display: flex;
    margin-top: 14px;
    gap: 8px;
}

.search-input-wrap input {
    flex-grow: 1;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    background: var(--light-bg);
    color: var(--text-main);
}

.search-input-wrap button {
    padding: 12px 20px;
    background: var(--primary-red);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}

/* ===================================================
   11. REKLAM & SPONSOR ALANLARI (KUSURSUZ SABİTLEME)
   =================================================== */
.side-ad-left,
.side-ad-right,
.sponsor-wing-left,
.sponsor-wing-right {
    position: fixed;
    top: 155px;
    width: 140px;
    height: 560px;
    z-index: 80;
    display: none;
    text-align: center;
    transition: top 0.15s ease-out, opacity 0.3s ease;
}

/* Kapsayıcının (1240px) DIŞINA, ASLA İÇERİĞİN ÜZERİNE BİNMEYECEK ŞEKİLDE HİZALAMA */
.side-ad-left,
.sponsor-wing-left {
    right: calc(50% + 630px);
    left: auto;
}

.side-ad-right,
.sponsor-wing-right {
    left: calc(50% + 630px);
    right: auto;
}

.side-ad-inner,
.sponsor-wing-inner {
    width: 100%;
    height: 100%;
    background: var(--light-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* REKLAMI KAPAT "X" BUTONU */
.side-ad-close-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.side-ad-close-btn:hover {
    background: var(--primary-red);
}

.ad-label {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(15, 23, 42, 0.8);
    color: #fff;
    font-size: 9px;
    padding: 1px 5px;
    border-radius: 3px;
    font-weight: 700;
    pointer-events: none;
    z-index: 10;
}

/* YALNIZCA YAN BOŞLUKLARIN YETERLİ OLDUĞU EKRANLARDA (>=1540px) GÖSTERİR */
/* Böylece 1240px'lik haber içeriklerinin ÜZERİNE ASLA ÇIKMAZ ve TASARIMI BOZMAZ */
@media (min-width: 1540px) {
    .side-ad-left,
    .side-ad-right,
    .sponsor-wing-left,
    .sponsor-wing-right {
        display: block !important;
        width: 145px;
        height: 580px;
    }
}

/* ORTA REKLAM BANNERI (728x90 / 970x90) */
.middle-ad-wrapper,
.promo-banner-mid-wrapper {
    margin: 24px 0;
    text-align: center;
    width: 100%;
}

.middle-ad-banner,
.promo-banner-mid {
    max-width: 1000px;
    margin: 0 auto;
    background: transparent;
    border-radius: 8px;
    min-height: 85px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* HEADER BANNER */
.header-banner-ad,
.promo-banner-top {
    width: 650px;
    height: 75px;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* ÖZEL "REKLAM ALINIR" BANNER TASARIMLARI */
.banner-reklam-box {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #090d16 0%, #1e293b 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 2px dashed #e11d48;
    border-radius: 6px;
    box-sizing: border-box;
    padding: 10px;
    position: relative;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.banner-reklam-box:hover {
    border-color: #ffffff;
    background: linear-gradient(135deg, #111827 0%, #0f172a 100%);
    box-shadow: 0 0 18px rgba(225, 29, 72, 0.4);
}

.banner-tag {
    background: #e11d48;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(225, 29, 72, 0.6);
}

.banner-reklam-box h3 {
    font-size: 14px;
    font-weight: 800;
    margin: 4px 0 2px 0;
    color: #ffffff;
}

.banner-reklam-box p {
    font-size: 11px;
    color: #cbd5e1;
    margin: 0;
}

.banner-reklam-box .banner-contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    background: rgba(255, 255, 255, 0.12);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #fca5a5;
}

/* DİKEY SKYSCRAPER BANNER (160x600) */
.banner-reklam-vertical {
    width: 100%;
    height: 100%;
    padding: 24px 10px;
    justify-content: space-between;
}

.banner-reklam-vertical .vert-icon {
    font-size: 38px;
    color: #e11d48;
    margin: 10px 0;
}

.banner-reklam-vertical h3 {
    font-size: 16px;
    line-height: 1.35;
}

.banner-reklam-vertical .vert-specs {
    font-size: 11px;
    color: #94a3b8;
    background: rgba(0,0,0,0.4);
    padding: 6px;
    border-radius: 4px;
    width: 100%;
}

/* MOBİL MENÜ BUTONU VE DRAWER */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 20px;
    cursor: pointer;
    padding: 6px;
}

.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: var(--light-surface);
    z-index: 1000;
    box-shadow: 2px 0 15px rgba(0,0,0,0.15);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
}

.mobile-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer.open {
    left: 0;
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 14px;
}

.mobile-drawer-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--text-main);
}

.mobile-drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
}

.mobile-drawer-links li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    font-weight: 700;
    font-size: 14px;
    border-radius: 6px;
    color: var(--text-main);
}

.mobile-drawer-links li.active a,
.mobile-drawer-links li:hover a {
    background: var(--primary-red);
    color: #fff !important;
}

/* ===================================================
   RESPONSIVE (MOBİL UYUMLULUK GELİŞTİRMELERİ)
   =================================================== */
@media (max-width: 992px) {
    .header-banner { display: none; }
    .hero-grid { grid-template-columns: 1fr; }
    .layout-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .featured-trio { grid-template-columns: 1fr; }
    .mobile-menu-btn { display: block; }
    .main-nav .nav-links { display: none; }
}

@media (max-width: 640px) {
    .top-bar-content { flex-direction: column; gap: 8px; text-align: center; }
    .financial-ticker { overflow-x: auto; font-size: 11px; justify-content: center; }
    .news-horizontal-card { flex-direction: column; }
    .news-horizontal-card img { width: 100%; height: 180px; }
    .footer-grid { grid-template-columns: 1fr; }
    .bottom-flex { flex-direction: column; gap: 8px; text-align: center; }
    .authors-grid { grid-template-columns: 1fr; }
    .video-grid { grid-template-columns: 1fr; }
    .headline-slider { height: 320px; }
    .slide-text h2 { font-size: 18px; line-height: 1.3; }
    .slide-text p { display: none; }
    .slider-numbers .num-btn { padding: 6px 0; font-size: 11px; }
}
