/* =============================================
   Tamil News Portal - Header CSS (COMPLETE)
   Coding by: Rishi Riswan - +94 7799688469
   Mobile Optimized + Dark/Light Mode Fixed
   Gap Fixed + Mobile Search Optimized
   Mobile Nav Bar Visibility Fixed
============================================= */

/* ========== CSS VARIABLES ========== */
:root {
    --header-bg: #ffffff;
    --header-text: #1d3557;
    --btn-bg: var(--primary-color, #e63946);
    --btn-icon-color: #ffffff;
    --search-bar-bg: #f8f9fa;
    --search-input-bg: #ffffff;
    --search-text: #333333;
    --search-placeholder: #999999;
    --nav-bg: linear-gradient(135deg, var(--primary-color, #e63946) 0%, #c1121f 100%);
    --dropdown-bg: #ffffff;
    --dropdown-text: #333333;
    --dropdown-hover: #f8f9fa;
}

[data-theme="dark"] {
    --header-bg: #0a0a0f;
    --header-text: #ffffff;
    --btn-bg: var(--primary-color, #e63946);
    --btn-icon-color: #ffffff;
    --search-bar-bg: #1a1a2e;
    --search-input-bg: #0d0d15;
    --search-text: #e0e0e0;
    --search-placeholder: #666666;
    --nav-bg: linear-gradient(135deg, #2d2d44 0%, #1a1a2e 100%);
    --dropdown-bg: #1a1a2e;
    --dropdown-text: #e0e0e0;
    --dropdown-hover: rgba(255, 255, 255, 0.08);
}

/* ========== RESET BODY ========== */
body {
    margin: 0 !important;
    padding: 0 !important;
    padding-top: 0 !important;
}

/* ========== HEADER WRAPPER ========== */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .header-wrapper {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* ========== HEADER SPACER - GAP FIX ========== */
.header-spacer {
    display: block !important;
    height: 160px;
    min-height: 160px;
    margin: 0;
    padding: 0;
}

@media (max-width: 991px) {
    .header-spacer {
        height: 140px;
        min-height: 140px;
    }
}

@media (max-width: 767px) {
    .header-spacer {
        height: 125px;
        min-height: 125px;
    }
}

@media (max-width: 575px) {
    .header-spacer {
        height: 115px;
        min-height: 115px;
    }
}

@media (max-width: 400px) {
    .header-spacer {
        height: 105px;
        min-height: 105px;
    }
}


/* ========== TICKER BAR ========== */
.tn-ticker-wrap {
    background: linear-gradient(90deg, var(--primary-color, #e63946), #c1121f);
    padding: 8px 0;
}

[data-theme="dark"] .tn-ticker-wrap {
    background: linear-gradient(90deg, #991b1b, #7f1d1d);
}

/* ========== MAIN HEADER ========== */
.main-header {
    background: var(--header-bg);
    padding: 14px 0;
    transition: background 0.3s ease;
}

.header-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

/* ========== HEADER LEFT ========== */
.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
}

/* ========== HEADER CENTER (LOGO) ========== */
.header-center {
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

.site-logo {
    display: block;
    text-decoration: none;
}

.site-logo img {
    height: 55px;
    max-width: 220px;
    object-fit: contain;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary-color, #e63946), #c1121f);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text .title {
    font-size: 26px;
    font-weight: 800;
    color: var(--header-text);
    font-family: 'Anek Tamil', sans-serif;
    transition: color 0.3s ease;
}

.logo-text .tagline {
    font-size: 11px;
    color: var(--header-text);
    opacity: 0.6;
    transition: color 0.3s ease;
}

/* ========== HEADER RIGHT ========== */
.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

/* ========== BUTTON STYLES ========== */
.btn-icon {
    width: 42px;
    height: 42px;
    border: none;
    background: var(--btn-bg);
    color: var(--btn-icon-color);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
    flex-shrink: 0;
}

.btn-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(230, 57, 70, 0.4);
    color: var(--btn-icon-color);
}

.btn-icon i {
    color: inherit;
}

.home-btn {
    display: inline-flex !important;
}

.home-btn:hover {
    background: var(--accent-color, #f77f00);
    box-shadow: 0 6px 16px rgba(247, 127, 0, 0.4);
}

.login-btn:hover {
    background: #2ecc71;
    box-shadow: 0 6px 16px rgba(46, 204, 113, 0.4);
}

.theme-btn:hover {
    background: var(--accent-color, #f77f00);
    box-shadow: 0 6px 16px rgba(247, 127, 0, 0.4);
}

.desktop-only {
    display: inline-flex;
}

/* Weather Pill */
.weather-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--btn-bg);
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
    flex-shrink: 0;
}

.weather-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(230, 57, 70, 0.4);
    color: #fff;
}

.weather-pill i {
    font-size: 20px;
    color: #ffd700;
}

.weather-pill .temp {
    font-weight: 700;
}

.weather-pill .city {
    opacity: 0.9;
    padding-left: 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    margin-left: 4px;
}

/* CTA Button */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: linear-gradient(135deg, var(--accent-color, #f77f00), #e85d04);
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(247, 127, 0, 0.35);
    transition: all 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 127, 0, 0.5);
    color: #fff;
}

/* Theme Button Icons */
.theme-btn .fa-moon {
    display: none;
}

.theme-btn .fa-sun {
    display: inline;
}

[data-theme="dark"] .theme-btn .fa-sun {
    display: none;
}

[data-theme="dark"] .theme-btn .fa-moon {
    display: inline;
}

/* ========== MENU TOGGLE ========== */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: none;
    background: var(--btn-bg);
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
    flex-shrink: 0;
}

.menu-toggle span {
    display: block;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* ========== USER DROPDOWN ========== */
.user-menu {
    position: relative;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 250px;
    background: var(--dropdown-bg);
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.25s ease;
    overflow: hidden;
    z-index: 1001;
}

[data-theme="dark"] .user-dropdown {
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

.user-menu.open .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    background: var(--primary-color, #e63946);
    color: #fff;
}

.dropdown-head i {
    font-size: 36px;
}

.dropdown-head strong {
    display: block;
    font-size: 15px;
}

.dropdown-head small {
    font-size: 11px;
    opacity: 0.7;
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    color: var(--dropdown-text);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.user-dropdown a:hover {
    background: var(--dropdown-hover);
    padding-left: 22px;
}

.user-dropdown a i {
    width: 18px;
    color: var(--primary-color, #e63946);
}

[data-theme="dark"] .user-dropdown a i {
    color: var(--accent-color, #f77f00);
}

.user-dropdown a.logout {
    border-top: 1px solid rgba(128, 128, 128, 0.2);
    color: #dc3545;
}

.user-dropdown a.logout i {
    color: #dc3545;
}

/* ========== NAVIGATION ========== */
.main-nav {
    background: var(--nav-bg);
}

[data-theme="dark"] .main-nav {
    background: linear-gradient(135deg, #2d2d44 0%, #1a1a2e 100%);
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-list::-webkit-scrollbar {
    display: none;
}

.nav-list > li {
    position: relative;
}

.nav-list > li > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s;
}

.nav-list > li > a:hover,
.nav-list > li.active > a {
    background: rgba(0, 0, 0, 0.15);
    color: #fff;
}

[data-theme="dark"] .nav-list > li > a {
    color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .nav-list > li > a:hover,
[data-theme="dark"] .nav-list > li.active > a {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.nav-list > li > a .arrow {
    font-size: 10px;
    margin-left: 4px;
    transition: transform 0.2s;
}

.nav-list > li.has-sub:hover .arrow {
    transform: rotate(180deg);
}

/* Sub Menu */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: var(--dropdown-bg);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 100;
}

[data-theme="dark"] .sub-menu {
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.nav-list > li.has-sub:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li a {
    display: block;
    padding: 10px 18px;
    color: var(--dropdown-text);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.sub-menu li a:hover {
    background: var(--dropdown-hover);
    color: var(--primary-color, #e63946);
    padding-left: 22px;
}

[data-theme="dark"] .sub-menu li a {
    color: #e0e0e0;
}

[data-theme="dark"] .sub-menu li a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-color, #f77f00);
}

/* ========== INLINE SEARCH BAR ========== */
.header-search-bar {
    background: var(--search-bar-bg);
    padding: 10px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

[data-theme="dark"] .header-search-bar {
    background: #1a1a2e;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.inline-search-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.inline-search-box {
    display: flex;
    align-items: center;
    background: var(--search-input-bg);
    border-radius: 50px;
    padding: 5px 5px 5px 18px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

[data-theme="dark"] .inline-search-box {
    background: #0d0d15;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.inline-search-box:focus-within {
    border-color: var(--primary-color, #e63946);
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.12);
}

[data-theme="dark"] .inline-search-box:focus-within {
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.2);
}

.inline-search-box .search-icon {
    color: var(--primary-color, #e63946);
    font-size: 16px;
    margin-right: 12px;
    flex-shrink: 0;
}

[data-theme="dark"] .inline-search-box .search-icon {
    color: var(--accent-color, #f77f00);
}

.inline-search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: 'Anek Tamil', sans-serif;
    background: transparent;
    color: var(--search-text);
    min-width: 0;
    padding: 10px 0;
}

.inline-search-box input::placeholder {
    color: var(--search-placeholder);
}

.inline-search-btn {
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--primary-color, #e63946), #c1121f);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Anek Tamil', sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.inline-search-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 18px rgba(230, 57, 70, 0.4);
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--secondary-color, #1d3557);
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
}

[data-theme="dark"] .mobile-menu {
    background: #0a0a0f;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-body {
    padding: 20px 16px;
    padding-top: 80px;
}

/* Mobile Search */
.mm-search {
    margin-bottom: 20px;
}

.mm-search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 4px 4px 4px 12px;
}

[data-theme="dark"] .mm-search-box {
    background: rgba(255, 255, 255, 0.08);
}

.mm-search-box i {
    color: var(--accent-color, #f77f00);
    font-size: 14px;
    margin-right: 10px;
    flex-shrink: 0;
}

.mm-search-box input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-family: 'Anek Tamil', sans-serif;
    padding: 10px 0;
    min-width: 0;
}

.mm-search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.mm-search-box button {
    width: 36px;
    height: 36px;
    background: var(--primary-color, #e63946);
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

/* MM User */
.mm-user {
    margin-bottom: 20px;
}

.mm-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: #fff;
    margin-bottom: 12px;
}

[data-theme="dark"] .mm-user-card {
    background: rgba(255, 255, 255, 0.05);
}

.mm-user-card i {
    font-size: 40px;
    color: var(--accent-color, #f77f00);
    flex-shrink: 0;
}

.mm-user-card > div {
    min-width: 0;
    flex: 1;
}

.mm-user-card strong {
    display: block;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mm-user-card span {
    font-size: 11px;
    opacity: 0.7;
}

.mm-user-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mm-user-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}

.mm-user-links a.primary {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--accent-color, #f77f00), #e85d04);
}

.mm-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mm-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.mm-register {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-color, #e63946), #c1121f);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

/* MM Weather */
.mm-weather {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    margin-bottom: 20px;
    color: #fff;
}

[data-theme="dark"] .mm-weather {
    background: rgba(255, 255, 255, 0.05);
}

.mm-weather > i {
    font-size: 28px;
    color: var(--accent-color, #f77f00);
    flex-shrink: 0;
}

.mm-weather-info {
    flex: 1;
    min-width: 0;
}

.mm-weather-info .temp {
    font-size: 20px;
    font-weight: 700;
}

.mm-weather-info .city {
    display: block;
    font-size: 12px;
    opacity: 0.7;
}

.mm-date {
    font-size: 11px;
    opacity: 0.6;
    flex-shrink: 0;
}

/* MM Nav */
.mm-nav {
    margin-bottom: 20px;
}

.mm-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 12px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s;
}

[data-theme="dark"] .mm-nav a {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.mm-nav a:hover,
.mm-nav a.active {
    background: rgba(255, 255, 255, 0.05);
    padding-left: 18px;
}

[data-theme="dark"] .mm-nav a:hover,
[data-theme="dark"] .mm-nav a.active {
    background: rgba(255, 255, 255, 0.03);
}

.mm-nav a i {
    width: 22px;
    color: var(--accent-color, #f77f00);
    flex-shrink: 0;
}

/* MM Social */
.mm-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mm-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    transition: all 0.25s;
}

[data-theme="dark"] .mm-social a {
    background: rgba(255, 255, 255, 0.08);
}

.mm-social a:hover {
    background: var(--primary-color, #e63946);
    transform: scale(1.1);
}

/* MM Logout */
.mm-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 12px;
    color: #ff6b6b;
    text-decoration: none;
    font-size: 14px;
    margin-top: 12px;
}

/* ========== BODY STATES ========== */
body.menu-open {
    overflow: hidden;
}

/* ========== RESPONSIVE - TABLET ========== */
@media (max-width: 991px) {
    .menu-toggle {
        display: flex;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .cta-btn span {
        display: none;
    }
    
    .cta-btn {
        width: 42px;
        height: 42px;
        padding: 0;
        border-radius: 12px;
        justify-content: center;
    }
    
    .header-grid {
        gap: 15px;
    }
    
    .inline-search-form {
        max-width: 100%;
    }
    
    .main-header {
        padding: 12px 0;
    }
    
    .mobile-menu-body {
        padding-top: 100px;
    }
}

/* ========== RESPONSIVE - MOBILE ========== */
@media (max-width: 767px) {
    .main-header {
        padding: 10px 0;
    }
    
    .header-grid {
        gap: 8px;
    }
    
    .logo-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
        border-radius: 10px;
    }
    
    .logo-text .title {
        font-size: 20px;
    }
    
    .logo-text .tagline {
        display: none;
    }
    
    .btn-icon {
        width: 38px;
        height: 38px;
        font-size: 14px;
        border-radius: 10px;
    }
    
    .cta-btn {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }
    
    .menu-toggle {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        padding: 8px;
    }
    
    .nav-list > li > a {
        padding: 10px 12px;
        font-size: 12px;
        gap: 5px;
    }
    
    .header-search-bar {
        padding: 6px 0;
    }
    
    .inline-search-box {
        padding: 3px 3px 3px 12px;
    }
    
    .inline-search-box .search-icon {
        font-size: 13px;
        margin-right: 8px;
    }
    
    .inline-search-box input {
        font-size: 12px;
        padding: 7px 0;
    }
    
    .inline-search-btn {
        padding: 7px 14px;
        font-size: 12px;
    }
    
    .mobile-menu-body {
        padding: 15px 14px;
        padding-top: 90px;
    }
}

/* ========== RESPONSIVE - SMALL MOBILE ========== */
@media (max-width: 575px) {
    .main-header {
        padding: 8px 0;
    }
    
    .header-left {
        gap: 6px;
    }
    
    .header-right {
        gap: 6px;
    }
    
    .logo-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
        border-radius: 8px;
    }
    
    .logo-text .title {
        font-size: 16px;
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .btn-icon {
        width: 34px;
        height: 34px;
        font-size: 13px;
        border-radius: 8px;
    }
    
    .cta-btn {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }
    
    .menu-toggle {
        width: 34px;
        height: 34px;
        border-radius: 8px;
        padding: 7px;
        gap: 4px;
    }
    
    .menu-toggle span {
        height: 2px;
    }
    
    .nav-list > li > a {
        padding: 8px 8px;
        font-size: 11px;
        gap: 3px;
    }
    
    .nav-list > li > a i:first-child {
        display: none;
    }
    
    .header-search-bar {
        padding: 5px 0;
    }
    
    .inline-search-box {
        padding: 2px 2px 2px 10px;
        border-radius: 25px;
    }
    
    .inline-search-box .search-icon {
        font-size: 11px;
        margin-right: 6px;
    }
    
    .inline-search-box input {
        font-size: 11px;
        padding: 6px 0;
    }
    
    .inline-search-box input::placeholder {
        font-size: 11px;
    }
    
    .inline-search-btn {
        padding: 6px 12px;
        font-size: 11px;
        border-radius: 25px;
    }
    
    .mobile-menu-body {
        padding: 12px 12px;
        padding-top: 75px;
    }
    
    .mm-search-box {
        border-radius: 8px;
        padding: 3px 3px 3px 10px;
    }
    
    .mm-search-box i {
        font-size: 12px;
        margin-right: 8px;
    }
    
    .mm-search-box input {
        font-size: 12px;
        padding: 8px 0;
    }
    
    .mm-search-box button {
        width: 32px;
        height: 32px;
        border-radius: 6px;
        font-size: 12px;
    }
}


/* H1 Title - Homepage Only */
.site-title-h1 {
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    display: inline;
}

.site-title-h1 .site-logo {
    display: flex;
    align-items: center;
}