/* ==========================================================================
   HEADER STYLES - Modern Redesign
   ========================================================================== */

/* ===== CURRENCY TICKER BAR ===== */
.currency-ticker-bar {
    background: #fff;
    overflow: hidden;
    height: 34px;
    position: relative;
    border-bottom: 1px solid #e5e7eb;
}
.currency-ticker-bar::before,
.currency-ticker-bar::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.currency-ticker-bar::before {
    left: 0;
    background: linear-gradient(90deg, #fff, transparent);
}
.currency-ticker-bar::after {
    right: 0;
    background: linear-gradient(-90deg, #fff, transparent);
}
.currency-ticker-track {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    animation: tickerScroll 35s linear infinite;
    width: max-content;
}
.currency-ticker-track:hover { animation-play-state: paused; }
.currency-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 22px;
    font-size: 13px;
    color: #64748b;
    position: relative;
}
.currency-ticker-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #e2e8f0;
}
.currency-ticker-item strong {
    color: #334155;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.currency-val {
    color: #0f172a;
    font-weight: 700;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}
.currency-change { font-size: 11px; font-weight: 600; }
.currency-change.up { color: #34d399; }
.currency-change.down { color: #f87171; }

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Breaking Bar Weather Widget */
.breaking-weather {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: rgba(255,255,255,0.9);
    padding-right: 10px;
    border-right: 1px solid rgba(255,255,255,0.3);
    margin-right: 10px;
    white-space: nowrap;
}
.breaking-weather i { color: #ffd700; font-size: 14px; }

/* ===== HEADER 1 - MODERN TEK SATIR ===== */
.header-1 { position: relative; z-index: 100; }

/* Main Header Bar */
.header-main {
    background: #fff;
    height: 60px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e8e8e8;
}

.header-main__inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-1 .hamburger-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 22px;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

.header-main__logo { flex-shrink: 0; }
.header-main__logo img,
.header-main__logo .custom-logo { max-height: 36px; width: auto; }
.header-main__logo .site-title-link { text-decoration: none; }
.header-main__logo .site-title {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-color);
    margin: 0;
    white-space: nowrap;
}

.header-main__nav {
    flex: 1;
    display: flex;
    align-items: center;
    overflow: hidden;
    min-width: 0;
    position: relative;
}

.header-main__nav .nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    overflow: hidden;
}

.header-main__nav .nav-menu > li {
    flex-shrink: 0;
    position: relative;
}

.header-main__nav .nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-color);
    transition: color 0.2s;
    white-space: nowrap;
    height: 60px;
    box-sizing: border-box;
}

.header-main__nav .nav-menu > li > a:hover,
.header-main__nav .nav-menu > li:hover > a {
    color: var(--primary-color);
}

/* Alt menü ikonu */
.header-main__nav .nav-menu > li.menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    transition: transform 0.2s;
}
.header-main__nav .nav-menu > li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* ===== DROPDOWN / SUB-MENU ===== */
.header-main__nav .nav-menu > li > .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    border: 1px solid var(--border-color);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    padding: 6px 0;
    z-index: 999;
    animation: dropFade 0.2s ease;
}

@keyframes dropFade {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.header-main__nav .nav-menu > li:hover > .sub-menu {
    display: block;
}

.header-main__nav .nav-menu .sub-menu li {
    border: none;
}

.header-main__nav .nav-menu .sub-menu li a {
    display: block;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
    text-transform: none;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s, padding-left 0.15s;
}

.header-main__nav .nav-menu .sub-menu li a:hover {
    background: var(--bg-color);
    color: var(--primary-color);
    padding-left: 22px;
}

/* 2. seviye alt menü */
.header-main__nav .nav-menu .sub-menu .sub-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    border-radius: 10px;
}

.header-main__nav .nav-menu .sub-menu li:hover > .sub-menu {
    display: block;
}

.header-main__nav .nav-menu .sub-menu li.menu-item-has-children > a::after {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    float: right;
    margin-left: 10px;
}

/* More menu button */
.nav-more-btn {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 8px 10px;
    font-size: 16px;
    color: var(--text-color);
    cursor: pointer;
    flex-shrink: 0;
    font-weight: 700;
    transition: color 0.2s;
}
.nav-more-btn:hover { color: var(--primary-color); }
.nav-more-btn.active { color: var(--primary-color); }

/* Dropdown for hidden items */
.nav-more-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    min-width: 200px;
    z-index: 999;
    padding: 6px 0;
    max-height: 400px;
    overflow-y: auto;
}
.nav-more-dropdown.show { display: block; }

.nav-more-dropdown a {
    display: block;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.nav-more-dropdown a:hover {
    background: var(--bg-color);
    color: var(--primary-color);
}

.header-main__right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-search {
    display: flex;
    align-items: center;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
    transition: border-color 0.2s;
}

.header-search:focus-within {
    border-color: var(--primary-color);
}

.header-search input {
    border: none;
    background: none;
    padding: 8px 12px;
    font-size: 13px;
    width: 180px;
    outline: none;
    font-family: var(--font-main);
    color: var(--text-color);
}

.header-search input::placeholder { color: var(--text-light); }

.header-search button {
    background: var(--primary-color);
    border: none;
    color: #fff;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s;
}

.header-search button:hover { background: var(--primary-dark); }

.header-user-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-color);
    font-size: 15px;
    transition: all 0.2s;
    background: var(--bg-color);
}

.header-user-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Sticky nav */
.header-main.sticky-nav.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ===== Breaking Bar - Ticker Ribbon (Redesigned) ===== */
.header-1 .breaking-bar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 0;
    height: 40px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.header-1 .breaking-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(231,76,60,0.5), transparent);
}

.header-1 .breaking-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #e74c3c, transparent);
    animation: breaking-scan 4s ease-in-out infinite;
}

@keyframes breaking-scan {
    0% { left: -80px; }
    100% { left: 100%; }
}

.header-1 .breaking-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.header-1 .breaking-bar__left {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    min-width: 0;
}

.header-1 .breaking-label {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    padding: 0 14px;
    height: 40px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    flex-shrink: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    margin-left: -16px;
    padding-right: 26px;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
}

.header-1 .breaking-label i {
    font-size: 9px;
    animation: breaking-pulse 2s ease-in-out infinite;
}

@keyframes breaking-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.header-1 .breaking-nav-btn {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.5);
    font-size: 9px;
    cursor: pointer;
    padding: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
    transition: all 0.2s;
    margin-left: 8px;
}

.header-1 .breaking-nav-btn:hover {
    background: rgba(231,76,60,0.2);
    border-color: rgba(231,76,60,0.5);
    color: #e74c3c;
}

.header-1 .breaking-news-slider {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 40px;
    margin-left: 12px;
}

.header-1 .breaking-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    height: 40px;
}

.header-1 .breaking-item.active {
    opacity: 1;
    transform: translateY(0);
}

.header-1 .breaking-item a {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-1 .breaking-item a:hover { color: #e74c3c; }

.header-1 .breaking-bar__right {
    flex-shrink: 0;
    margin-left: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-1 .breaking-date {
    color: rgba(255,255,255,0.4);
    font-size: 11px;
    white-space: nowrap;
    font-weight: 400;
}

/* ===== MOBILE SIDEBAR ===== */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 10000;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active { left: 0; }

.mobile-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-sidebar__logo img,
.mobile-sidebar__logo .custom-logo { max-height: 28px; }
.mobile-sidebar__logo .site-title {
    font-size: 18px;
    font-weight: 900;
    color: var(--primary-color);
}

.mobile-sidebar__close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--text-color);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-sidebar__search {
    padding: 12px 15px;
}

.mobile-sidebar__search form {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.mobile-sidebar__search input {
    flex: 1;
    border: none;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
    font-family: var(--font-main);
}

.mobile-sidebar__search button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
}

.mobile-menu {
    padding: 0;
    margin: 0;
    flex: 1;
}

.mobile-menu li { border-bottom: 1px solid var(--border-color); }

.mobile-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
}

.mobile-menu li a:hover { background: var(--bg-color); color: var(--primary-color); }

/* Mobil alt menü */
.mobile-menu li.menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    transition: transform 0.3s;
}
.mobile-menu li.menu-item-has-children.open > a::after {
    transform: rotate(180deg);
}

.mobile-menu .sub-menu {
    display: none;
    padding: 0;
    margin: 0;
    background: var(--bg-color);
}
.mobile-menu li.menu-item-has-children.open > .sub-menu {
    display: block;
}
.mobile-menu .sub-menu li {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.mobile-menu .sub-menu li:last-child { border-bottom: none; }
.mobile-menu .sub-menu li a {
    display: block;
    padding: 12px 20px 12px 35px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
}
.mobile-menu .sub-menu li a:hover {
    color: var(--primary-color);
    background: rgba(0,0,0,0.03);
}

/* 2. seviye mobil alt menü */
.mobile-menu .sub-menu .sub-menu li a {
    padding-left: 50px;
    font-size: 13px;
}

.mobile-sidebar__footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.mobile-sidebar__footer a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
}

.mobile-overlay.active { display: block; }

/* ===== HEADER 2 - MODERN KOYU TEMA ===== */
.header-2 { position: relative; z-index: 100; }

/* Thin Red Top Strip */
.h2-topstrip {
    background: var(--primary-color);
    padding: 0;
    height: 36px;
    display: flex;
    align-items: center;
}

.h2-topstrip__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.h2-topstrip__left { display: flex; align-items: center; }

.h2-topstrip__date {
    color: rgba(255,255,255,0.9);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.h2-topstrip__date i { font-size: 11px; }

.h2-topstrip__right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.h2-topstrip__right a {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.h2-topstrip__right a:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.h2-topstrip__login {
    color: rgba(255,255,255,0.9) !important;
    font-size: 12px !important;
    font-weight: 600;
    padding: 3px 12px !important;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 14px;
    margin-left: 8px;
    width: auto !important;
    display: inline-flex !important;
    gap: 5px;
}

.h2-topstrip__login:hover {
    background: rgba(255,255,255,0.15) !important;
    border-color: #fff;
}

/* Middle Bar */
.h2-middle {
    background: #1a1a1a;
    padding: 18px 0;
}

.h2-middle__inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.h2-middle__logo img,
.h2-middle__logo .custom-logo { max-height: 48px; width: auto; }
.h2-middle__logo .site-title { font-size: 30px; font-weight: 900; color: #fff; margin: 0; }
.h2-middle__logo .site-title-link { text-decoration: none; }

/* Dark Nav Bar */
.h2-nav {
    background: #242424;
    height: 50px;
    display: flex;
    align-items: center;
}

.h2-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.h2-nav .nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
}

.h2-nav .nav-menu li a {
    display: block;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    transition: all 0.2s;
    white-space: nowrap;
}

.h2-nav .nav-menu li a:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.h2-nav__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.h2-search form {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 5px 14px;
    gap: 8px;
}

.h2-search i { color: rgba(255,255,255,0.5); font-size: 13px; }

.h2-search input {
    background: none;
    border: none;
    color: #fff;
    font-size: 13px;
    width: 110px;
    outline: none;
    font-family: var(--font-main);
}

.h2-search input::placeholder { color: rgba(255,255,255,0.4); }

.h2-nav .hamburger-btn--white {
    background: none;
    border: none;
    color: rgba(255,255,255,0.8);
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
}

.h2-nav .hamburger-btn--white:hover { color: #fff; }

.h2-nav.sticky-nav.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 2px 15px rgba(0,0,0,0.4);
}

/* Header 2 Breaking */
.header-2 .breaking-bar { background: var(--primary-color); padding: 5px 0; height: 44px; display: flex; align-items: center; }
.header-2 .breaking-bar__inner { display: flex; align-items: center; justify-content: space-between; }
.header-2 .breaking-bar__left { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.header-2 .breaking-label { background: rgba(0,0,0,0.2); color: #fff; padding: 5px 12px; border-radius: 4px; font-size: 12px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; flex-shrink: 0; white-space: nowrap; display: flex; align-items: center; gap: 5px; animation: breaking-pulse 2s ease-in-out infinite; }
.header-2 .breaking-nav-btn { background: none; border: none; color: rgba(255,255,255,0.7); font-size: 14px; cursor: pointer; padding: 5px; flex-shrink: 0; }
.header-2 .breaking-news-slider { flex: 1; overflow: hidden; position: relative; height: 36px; }
.header-2 .breaking-item { position: absolute; top: 0; left: 0; width: 100%; display: flex; align-items: center; gap: 15px; opacity: 0; transition: opacity 0.4s ease; height: 36px; }
.header-2 .breaking-item.active { opacity: 1; }
.header-2 .breaking-item a { color: #fff; font-size: 14px; font-weight: 600; }

/* ===== HEADER 3 - KOMPAKT MİNİMAL ===== */
.header-3 { position: relative; z-index: 100; }

.h3-bar {
    background: #fff;
    padding: 0;
    height: 60px;
    display: flex;
    align-items: center;
    border-bottom: 3px solid var(--primary-color);
    transition: height 0.3s ease, box-shadow 0.3s ease;
}

.h3-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.h3-bar__logo { display: flex; align-items: center; flex-shrink: 0; }
.h3-bar__logo img,
.h3-bar__logo .custom-logo {
    max-height: 36px;
    width: auto;
    transition: max-height 0.3s ease;
}
.h3-bar__logo .site-title {
    font-size: 22px;
    font-weight: 900;
    color: var(--primary-color);
    margin: 0;
    transition: font-size 0.3s ease;
}

.h3-bar__nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.h3-bar__nav .nav-menu--compact {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
}

.h3-bar__nav .nav-menu--compact li a {
    display: block;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-color);
    transition: color 0.2s;
    white-space: nowrap;
}

.h3-bar__nav .nav-menu--compact li a:hover {
    color: var(--primary-color);
}

.h3-bar__right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.h3-search-toggle,
.h3-user-btn,
.h3-hamburger {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 16px;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    text-decoration: none;
}

.h3-search-toggle:hover,
.h3-user-btn:hover,
.h3-hamburger:hover {
    background: var(--bg-color);
    color: var(--primary-color);
}

/* Sticky shrink */
.h3-bar.sticky-nav.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    height: 50px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    border-bottom-width: 2px;
}

.h3-bar.sticky-nav.fixed .h3-bar__logo img,
.h3-bar.sticky-nav.fixed .h3-bar__logo .custom-logo {
    max-height: 28px;
}

.h3-bar.sticky-nav.fixed .h3-bar__logo .site-title {
    font-size: 18px;
}

/* Breaking bar - Header 3 */
.h3-breaking {
    background: var(--primary-color);
    padding: 0;
    height: 40px;
    display: flex;
    align-items: center;
}

.h3-breaking__inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.h3-breaking .breaking-label {
    background: rgba(0,0,0,0.2);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    flex-shrink: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: breaking-pulse 2s ease-in-out infinite;
}

.h3-breaking .breaking-nav-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    cursor: pointer;
    padding: 5px;
    flex-shrink: 0;
}

.h3-breaking .breaking-news-slider {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 32px;
}

.h3-breaking .breaking-item {
    position: absolute;
    top: 0; left: 0; width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.4s ease;
    height: 32px;
}

.h3-breaking .breaking-item.active { opacity: 1; }

.h3-breaking .breaking-item a {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.h3-breaking .breaking-item a:hover { color: rgba(255,255,255,0.85); }

/* Search Overlay */
.search-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85);
    z-index: 10001;
    align-items: center;
    justify-content: center;
}

.search-overlay.active { display: flex; }

.search-overlay__inner {
    width: 90%;
    max-width: 600px;
    position: relative;
}

.search-overlay__inner form {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.search-overlay__inner input {
    flex: 1;
    padding: 18px 22px;
    border: none;
    font-size: 18px;
    outline: none;
    font-family: var(--font-main);
}

.search-overlay__inner button[type="submit"] {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 18px 24px;
    font-size: 18px;
    cursor: pointer;
}

.search-overlay__close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}
