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

:root {
    --primary: #d32f2f; /* Premium Red */
    --primary-dark: #b71c1c;
    --primary-light: #ef5350;
    --accent: #ffb300; /* Vibrant Amber */
    --text: #202124; /* Google Text Color */
    --text-light: #5f6368;
    --text-muted: #80868b;
    --bg: #f4f6f9; /* Sleek light blue-gray background */
    --white: #ffffff;
    --border: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 35px rgba(0,0,0,0.12);
    --radius: 12px; /* Modern rounded corners */
    --radius-sm: 6px;
    --transition: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html { 
    scroll-behavior: smooth; 
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-family: 'Inter', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    
    /* Aggressive overflow block */
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    position: relative;
    
    /* Prevent text zooming */
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* GLOBAL AD RESPONSIVENESS (Aggressive prevent mobile overflow) */
.in-article-ad, .lh-ad-sidebar, .lh-slot-m, .lh-slot-d, .ad-slot, .lh-ad-top, .google-auto-placed, .adsbygoogle {
    width: 100%;
    max-width: 100%;
    overflow: hidden !important;
    box-sizing: border-box;
    display: block;
    text-align: center;
    clear: both;
}

.in-article-ad ins, .in-article-ad iframe,
.lh-ad-sidebar ins, .lh-ad-sidebar iframe,
.lh-slot-m ins, .lh-slot-m iframe,
.google-auto-placed ins, .google-auto-placed iframe,
.adsbygoogle iframe {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    display: block !important;
    margin: 0 auto;
    box-sizing: border-box;
}

.article-content {
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}
.article-content a {
    color: #2563eb;
    text-decoration: underline;
    transition: color 0.2s;
}
.article-content a:hover {
    color: #1d4ed8;
}

.container {
    max-width: 1220px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ────────────────────────────────────────────
   TOP BAR
──────────────────────────────────────────── */
.top-bar {
    background: #0f172a; /* Deep sleek dark blue/black */
    color: #94a3b8;
    padding: 8px 0;
    font-size: 0.8rem;
    font-weight: 500;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.top-bar a {
    color: #94a3b8;
}
.top-bar a:hover { color: #fff; }

/* ────────────────────────────────────────────
   LOGO AREA
──────────────────────────────────────────── */
.logo-area {
    background: #ffffff; /* White background for Live Hindustan look */
    padding: 15px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); /* Subtle shadow */
    position: relative;
    z-index: 201;
}
.logo-area .container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-decoration: none;
}
.site-logo-img {
    height: 75px;
    width: auto;
    object-fit: contain;
}
.logo-text-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.logo-text-wrap h1,
.logo-text-wrap .logo-h1 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary); /* Red text for logo if no image */
    text-transform: uppercase;
    letter-spacing: 0px;
    margin: 0;
    line-height: 1;
}
.logo-tagline {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light); /* Gray text for tagline */
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* ────────────────────────────────────────────
   NAVIGATION
──────────────────────────────────────────── */
.main-nav {
    background: var(--primary); /* Solid Red */
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.nav-inner {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 10px;
}
.nav-mini-logo {
    position: absolute !important;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 0 !important;
}
@media (max-width: 768px) {
    .nav-mini-logo {
        display: none !important;
    }
}
.main-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    justify-content: center;
    gap: 2px; /* Tighter gap for solid BG */
}
.main-nav ul::-webkit-scrollbar { display: none; }

.main-nav li a {
    display: block;
    padding: 14px 18px;
    color: #ffffff; /* White text on red */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: background 0.2s ease;
}
.main-nav li a:hover, .main-nav li a.active {
    background: var(--primary-dark); /* Dark red on hover */
    color: #ffffff;
}

/* Dropdown Menu Styles */
.main-nav li {
    position: relative;
}
@keyframes dropDownSlide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.main-nav li .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    min-width: 220px;
    z-index: 300;
    flex-direction: column;
    padding: 0;
    border-radius: 0 0 8px 8px;
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary-dark);
}
.main-nav li.has-dropdown:hover > .dropdown,
.main-nav li.has-dropdown.open > .dropdown {
    display: flex;
    animation: dropDownSlide 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

/* Multi-level Dropdown Positioning */
.main-nav li .dropdown li.has-dropdown > .dropdown {
    top: -3px; /* Align with parent dropdown border */
    left: 100%;
}

.main-nav li .dropdown li {
    width: 100%;
}
.main-nav li .dropdown li a {
    display: block;
    width: 100%;
    padding: 12px 18px;
    color: var(--text);
    background: transparent;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    text-transform: none;
    font-weight: 600;
}
.main-nav li .dropdown li:last-child a {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}
.main-nav li .dropdown li a:hover {
    background: #fcfcfc;
    color: var(--primary);
    padding-left: 24px;
}

.nav-search-form {
    position: absolute;
    right: 16px;
    display: flex;
    align-items: center;
    background: #ffffff; /* White search box inside red nav */
    border: 1px solid #ccc;
    border-radius: 4px; /* Square search box */
    padding: 2px 4px;
}
.nav-search-form:focus-within {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
    border-color: #fff;
}
.nav-search-input {
    border: none;
    outline: none;
    background: transparent;
    padding: 5px 12px;
    font-size: 0.85rem;
    width: 160px;
    color: var(--text);
}
.nav-search-btn {
    background: var(--primary);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.nav-search-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 6px;
    margin-right: 12px;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ────────────────────────────────────────────
   BREAKING NEWS TICKER
──────────────────────────────────────────── */
.breaking-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.breaking-bar .container {
    display: flex;
    align-items: center;
    gap: 15px;
}
.breaking-label {
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(211,47,47,0.3);
    position: relative;
}
.breaking-label::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--primary);
}
.ticker-wrap {
    overflow: hidden;
    flex: 1;
    position: relative;
}
.ticker-wrap::before, .ticker-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    width: 40px;
    height: 100%;
    z-index: 2;
}
.ticker-wrap::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}
.ticker-wrap::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}
.ticker {
    display: flex;
    animation: ticker 35s linear infinite;
    white-space: nowrap;
    gap: 50px;
}
.ticker a {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ticker a::before {
    display: none;
}
.ticker a:hover { color: var(--primary); }
@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ────────────────────────────────────────────
   LIVE HINDUSTAN CLASSIC 3-COLUMN LAYOUT
──────────────────────────────────────────── */
.lh-ad-top {
    margin: 20px auto;
    text-align: center;
}
.ad-placeholder {
    background: #f1f1f1;
    border: 1px solid #ddd;
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    text-transform: uppercase;
}
.lh-ad-top .ad-placeholder { height: 90px; max-width: 728px; margin: 0 auto; }
.square-ad { height: 250px; width: 300px; margin: 0 auto; }

.lh-layout-3col {
    display: grid;
    grid-template-columns: 240px 1fr 300px;
    gap: 25px;
    padding: 10px 0;
    align-items: start;
}

/* SECTION TITLES */
.lh-section-title {
    margin-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
    position: relative;
}
.lh-section-title h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text);
    display: inline-block;
    padding-bottom: 8px;
    margin-bottom: -2px;
    border-bottom: 2px solid var(--primary); /* Red underline */
}
.mt-20 { margin-top: 30px; }

/* LEFT COLUMN (LATEST NEWS) */
.lh-feed-list {
    display: flex;
    flex-direction: column;
}
.lh-feed-item {
    border-bottom: 1px solid #eeeeee;
    padding: 12px 0;
}
.lh-feed-item:last-child { border-bottom: none; }
.lh-feed-item a {
    display: flex;
    gap: 12px;
}
.lh-feed-img {
    width: 75px;
    height: 55px;
    flex-shrink: 0;
    overflow: hidden;
}
.lh-feed-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lh-feed-content h3 {
    font-size: 0.9rem;
    line-height: 1.35;
    font-weight: 600;
    color: var(--text);
}
.lh-feed-item a:hover .lh-feed-content h3 { color: var(--primary); }

/* CENTER COLUMN (HERO & SUB GRID) */
.lh-center-col {
    padding: 0 10px;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
}
.lh-hero-post {
    margin-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 20px;
}
.lh-hero-img {
    width: 100%;
    height: 380px;
    overflow: hidden;
    margin-bottom: 15px;
}
.lh-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.lh-hero-post a:hover .lh-hero-img img { transform: scale(1.02); }
.lh-no-img {
    width: 100%;
    height: 380px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lh-cat-badge {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}
.lh-hero-text h1 {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.25;
    color: #000;
}
.lh-hero-post a:hover .lh-hero-text h1 { color: var(--primary); }

/* Sub Grid */
.lh-sub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.lh-sub-card {
    border-bottom: 1px dashed #e0e0e0;
    padding-bottom: 15px;
}
.lh-sub-img {
    width: 100%;
    height: 160px;
    overflow: hidden;
    margin-bottom: 10px;
}
.lh-sub-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lh-sub-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text);
}
.lh-sub-card a:hover h3 { color: var(--primary); }

/* RIGHT COLUMN (TRENDING) */
.lh-trending-list {
    list-style: none;
    counter-reset: trend-counter;
}
.lh-trending-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #e0e0e0;
}
.lh-trending-list li a {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}
.lh-trend-num {
    font-size: 1.5rem;
    font-weight: 900;
    color: #e0e0e0;
    line-height: 1;
    min-width: 25px;
    text-align: right;
    transition: color 0.3s;
}
.lh-trending-list li a:hover .lh-trend-num { color: var(--primary); }
.lh-trending-list li h4 {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text);
}
.lh-trending-list li a:hover h4 { color: var(--primary); }

/* Connect Icon Animation */
.connect-icon {
    display: inline-block;
    margin-right: 5px;
    animation: waveIcon 2.5s infinite;
    transform-origin: 70% 70%;
}
@keyframes waveIcon {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

/* Social Links */
.lh-social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lh-social-links a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 12px 20px;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.lh-social-links a svg {
    width: 22px;
    height: 22px;
}
.lh-social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
    opacity: 1;
}
.lh-social-fb { background: linear-gradient(135deg, #1877F2, #145DBF); }
.lh-social-tw { background: linear-gradient(135deg, #222222, #000000); }
.lh-social-yt { background: linear-gradient(135deg, #FF0000, #CC0000); }
.lh-social-wa { background: linear-gradient(135deg, #25D366, #128C7E); }

/* Desktop Header Social Links */
.header-social-links {
    display: flex;
    gap: 12px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}
.header-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.header-social-links a span {
    display: none; /* Hide text, keep only SVG icons */
}
.header-social-links a svg {
    width: 22px;
    height: 22px;
}
.header-social-links a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}
@media (max-width: 1024px) {
    .header-social-links {
        display: none !important; /* Hide on mobile/tablet */
    }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .lh-layout-3col {
        grid-template-columns: 1fr 300px;
    }
    .lh-left-col {
        display: none; /* Hide left column on tablets, move feed elsewhere if needed */
    }
    .lh-center-col {
        border-left: none;
        padding-left: 0;
    }
}
@media (max-width: 768px) {
    .lh-layout-3col {
        grid-template-columns: 1fr;
    }
    .lh-center-col {
        border: none;
        padding: 0;
    }
    .lh-sub-grid {
        grid-template-columns: 1fr;
    }
    .lh-hero-img { 
        height: auto; 
        aspect-ratio: 16 / 9;
    }
    .lh-sub-img { 
        height: auto; 
        aspect-ratio: 16 / 9;
    }
    .lh-trending-list li:nth-child(n+11) {
        display: none; /* Hide trending posts after 10 on mobile */
    }
}
.main-content-area {
    padding: 10px 0; /* Reduced from 36px */
    min-height: 60vh;
}

/* ────────────────────────────────────────────
   NEW PROFESSIONAL HOME LAYOUT
──────────────────────────────────────────── */
.ad-slot {
    margin: 20px auto;
    text-align: center;
    width: 100%;
}
.ad-placeholder {
    background: #f0f0f0;
    border: 1px dashed #ccc;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.top-ad .ad-placeholder { height: 90px; max-width: 728px; margin: 0 auto; }
.mid-ad .ad-placeholder { height: 90px; max-width: 728px; margin: 0 auto; }
.square-ad { height: 250px; width: 300px; margin: 0 auto; }

.main-container {
    padding: 0 16px;
}

/* HERO SECTION */
.hero-section {
    margin-bottom: 30px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}
.hero-main {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}
.hero-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.hero-sub {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    flex: 1;
}
.hero-img-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}
.hero-main .hero-img-wrap {
    height: 400px;
}
.hero-sub .hero-img-wrap {
    height: 190px;
}
.hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0.85;
}
.hero-link:hover .hero-img-wrap img {
    transform: scale(1.05);
    opacity: 1;
}
.cat-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: #fff;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 2;
}
.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: #fff;
    z-index: 2;
}
.hero-title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 8px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}
.hero-title-small {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}
.hero-link:hover .hero-title, .hero-link:hover .hero-title-small {
    color: #ffda00; /* Yellow hover for dark bg */
}
.meta-list {
    list-style: none;
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: #ddd;
}

/* CONTENT LAYOUT */
.content-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    margin-bottom: 40px;
}

/* CATEGORY BLOCKS */
.category-block {
    margin-bottom: 40px;
}
.block-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.block-header h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text);
    padding-right: 15px;
    border-left: 4px solid var(--primary);
    padding-left: 10px;
    white-space: nowrap;
}
.header-line {
    flex: 1;
    height: 2px;
    background: var(--border);
}

.news-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.news-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.card-img-wrap {
    height: 180px;
    overflow: hidden;
    position: relative;
}
.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card:hover .card-img-wrap img {
    transform: scale(1.05);
}
.card-content {
    padding: 15px;
}
.cat-text {
    display: block;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 5px;
}
.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text);
}
.news-card:hover .card-title {
    color: var(--primary);
}

/* SIDEBAR */
.sidebar-widget {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 30px;
}
.widget-header h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}
.sidebar-news-list {
    list-style: none;
}
.sidebar-news-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--border);
}
.sidebar-news-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.sidebar-news-list a {
    display: flex;
    gap: 12px;
}
.side-img {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}
.side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.side-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
    margin-bottom: 5px;
}
.sidebar-news-list a:hover .side-info h4 {
    color: var(--primary);
}
.side-info .time {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.social-connect {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.btn-social {
    display: block;
    padding: 10px;
    text-align: center;
    color: #fff;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.85rem;
}
.btn-social:hover { color: #fff; opacity: 0.9; }
.btn-fb { background: #3b5998; }
.btn-tw { background: #1da1f2; }
.btn-wa { background: #25d366; }

/* RESPONSIVE DESIGN FOR NEW LAYOUT */
@media (max-width: 991px) {
    .content-layout {
        grid-template-columns: 1fr; /* Stack sidebar below main content */
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-main .hero-img-wrap {
        height: 300px;
    }
    .hero-side {
        flex-direction: row;
    }
}
@media (max-width: 768px) {
    .news-grid-2 {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
    .hero-side {
        flex-direction: column;
    }
    .hero-sub .hero-img-wrap {
        height: 200px;
    }
    .hero-title {
        font-size: 1.4rem;
    }
}

/* ────────────────────────────────────────────
   MARQUEE HERO SECTION
──────────────────────────────────────────── */
.marquee-wrapper {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    margin-bottom: 36px;
}

.marquee-hero-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
}

.marquee-hero-grid .post-card:first-child {
    grid-row: span 2;
}

.marquee-hero-grid .post-card:first-child .post-card-img { height: 320px; }

/* ────────────────────────────────────────────
   POST CARD
──────────────────────────────────────────── */
.post-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.post-card-img {
    height: 190px;
    width: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    position: relative;
    overflow: hidden;
}

.post-card-img-placeholder {
    height: 190px;
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 2rem;
}

.post-card-content {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.post-card-cat {
    color: var(--primary);
    font-size: 0.73rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.post-card-title {
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--text);
    flex: 1;
}

.post-card:hover .post-card-title { color: var(--primary); }

.post-card-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-card-meta::before {
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background: var(--border);
}

/* ────────────────────────────────────────────
   NEWS GRIDS
──────────────────────────────────────────── */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.news-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* ────────────────────────────────────────────
   HOMEPAGE LAYOUT
──────────────────────────────────────────── */
.home-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

.home-main {}

.home-sidebar {}

/* ────────────────────────────────────────────
   SIDEBAR WIDGETS
──────────────────────────────────────────── */
.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid var(--border);
}

.sidebar-widget-title {
    background: var(--primary);
    color: #fff;
    padding: 12px 16px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-post-list {
    list-style: none;
}

.sidebar-post-item {
    display: flex;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

.sidebar-post-item:last-child { border-bottom: none; }
.sidebar-post-item:hover { background: #fef9f9; }

.sidebar-post-item img {
    width: 72px;
    height: 58px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    background: #f0f0f0;
}

.sidebar-post-item-content { flex: 1; }

.sidebar-post-title {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text);
}

.sidebar-post-item:hover .sidebar-post-title { color: var(--primary); }

.sidebar-post-date {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ────────────────────────────────────────────
   LIST-STYLE POST
──────────────────────────────────────────── */
.post-list-item {
    display: flex;
    gap: 14px;
    background: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    padding: 10px;
    border: 1px solid var(--border);
    margin-bottom: 12px;
    transition: box-shadow var(--transition), transform var(--transition);
}

.post-list-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.post-list-item img {
    width: 200px;
    height: 125px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}
.post-list-placeholder {
    width: 200px;
    height: 125px;
    background: #f0f0f0;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 2rem;
}

@media (max-width: 600px) {
    .post-list-item {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }
    .post-list-item img, .post-list-placeholder {
        width: 100% !important;
        height: 220px !important;
        border-radius: 0 !important;
    }
    .post-list-content {
        padding: 16px;
    }
}

.post-list-content { flex: 1; }

.post-list-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    line-height: 1.4;
    margin-bottom: 6px;
    color: var(--text);
}

.post-list-item:hover .post-list-title { color: var(--primary); }

/* ────────────────────────────────────────────
   SINGLE POST
──────────────────────────────────────────── */
.single-post-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

.single-post-wrapper {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.single-post-breadcrumb {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.single-post-cat-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
}

.single-post-title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 14px;
    color: var(--text);
}

.single-post-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.single-post-meta strong { color: var(--text); }

.single-post-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 28px;
}

.single-post-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #334155;
}
.single-post-content a { color: #2563eb; text-decoration: underline; transition: color 0.2s; }
.single-post-content a:hover { color: #1d4ed8; }
.single-post-content p { margin-bottom: 1.4em; }

.single-post-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 2em 0 0.6em;
    color: var(--text);
    border-left: 4px solid var(--primary);
    padding-left: 12px;
}

.single-post-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 1.6em 0 0.5em;
    color: var(--text);
}

.single-post-content img {
    border-radius: var(--radius-sm);
    margin: 1.5em auto;
    max-width: 100%;
}

.single-post-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 12px 20px;
    background: #fef5f5;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 1.5em 0;
    color: var(--text);
    font-style: italic;
}

.single-post-tags {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.tag-label {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-light);
}

.tag {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    color: var(--text);
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Share Buttons */
.share-section {
    margin-top: 24px;
    padding: 16px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.share-label {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-light);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    border: none;
    transition: opacity var(--transition);
}

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

/* ────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────── */
.main-footer {
    background: #111827;
    color: #d1d5db;
    padding: 56px 0 20px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 36px;
    padding-bottom: 30px;
    border-bottom: 1px solid #374151;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.footer-about {
    font-size: 0.88rem;
    line-height: 1.7;
    color: #9ca3af;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 18px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col ul li a {
    color: #9ca3af;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.footer-col ul li a::before {
    content: '›';
    color: var(--primary-light);
    font-weight: bold;
}

.footer-col ul li a:hover { color: var(--primary-light); padding-left: 4px; }

.footer-bottom {
    text-align: center;
    padding-top: 16px;
    color: #6b7280;
    font-size: 0.85rem;
}

/* ────────────────────────────────────────────
   PAGINATION
──────────────────────────────────────────── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 30px 0;
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--border);
    background: var(--white);
    transition: var(--transition);
}

.pagination a:hover, .pagination span.current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ────────────────────────────────────────────
   CATEGORY PAGE HERO
──────────────────────────────────────────── */
.category-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 28px 0;
    margin-bottom: 30px;
}

.category-hero h1 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 4px;
}

.category-hero p { color: rgba(255,255,255,0.8); font-size: 0.9rem; }

/* ────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .news-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .home-layout-3col {
        grid-template-columns: 200px 1fr 250px;
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .home-layout,
    .single-post-layout { grid-template-columns: 1fr; }
    
    .home-layout-3col {
        grid-template-columns: 1fr;
    }
    .col-left, .col-right {
        order: 2;
    }
    .col-center {
        order: 1;
    }
    .feed-item img {
        width: 120px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    .site-logo-img { height: 60px; }
    .logo { gap: 12px; justify-content: center; }
    .logo-text-wrap { align-items: center; }
    .logo-text-wrap h1 { font-size: 1.8rem; letter-spacing: 1px; }
    .logo-tagline { font-size: 0.8rem; letter-spacing: 1px; text-align: center; }
    
    .main-nav { background: transparent; box-shadow: none; height: 0; padding: 0; }
    .nav-search-form { display: none; }
    
    .nav-toggle { 
        display: flex; 
        position: absolute; 
        right: 16px; 
        top: 50%; 
        transform: translateY(-50%); 
        z-index: 1000;
    }
    
    .main-nav ul { justify-content: flex-start; }
    
    .main-nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 0; /* Changed from 100% since main-nav is height 0 */
        left: 0;
        right: 0;
        background: var(--primary-dark);
        z-index: 300;
        box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    }
    
    .main-nav ul.is-open { display: flex; }

    /* Mobile: Disable :hover dropdown, only .open class controls it */
    .main-nav li.has-dropdown:hover > .dropdown {
        display: none;
    }
    .main-nav li.has-dropdown.open > .dropdown {
        display: flex;
        animation: none;
    }
    
    .main-nav li a {
        border-bottom: 1px solid rgba(255,255,255,0.1);
        border-left: none;
        padding: 14px 20px;
    }

    /* Mobile: Nested dropdown - 2nd level */
    .main-nav ul .dropdown {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        box-shadow: none !important;
        border: none !important;
        border-top: none !important;
        border-radius: 0 !important;
        background: rgba(0,0,0,0.15) !important;
        padding: 0 !important;
        animation: none !important;
    }

    /* Mobile: Nested dropdown items */
    .main-nav ul .dropdown li a {
        color: #fff !important;
        background: transparent !important;
        padding-left: 36px !important;
        font-size: 0.85rem !important;
        border-bottom: 1px solid rgba(255,255,255,0.07) !important;
    }

    /* Mobile: 3rd-level (sub-sub) dropdown - deeper indent */
    .main-nav ul .dropdown .dropdown {
        background: rgba(0,0,0,0.2) !important;
    }
    .main-nav ul .dropdown .dropdown li a {
        padding-left: 52px !important;
        font-size: 0.8rem !important;
    }

    .marquee-hero-grid {
        grid-template-columns: 1fr;
    }

    .marquee-hero-grid .post-card:first-child {
        grid-row: span 1;
    }

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

    .single-post-title { font-size: 1.5rem; }
    .single-post-wrapper { padding: 18px; }
    .footer-grid { grid-template-columns: 1fr; }
    .top-bar .date-time { display: none; }
}

@media (max-width: 480px) {
    .news-grid,
    .news-grid-4 { grid-template-columns: 1fr; }
    
    .feed-item { flex-direction: column; gap: 12px; }
    .feed-item img { width: 100%; height: auto; aspect-ratio: 16/9; }
    .feed-placeholder { width: 100%; height: 180px; }
    
    .hero-img, .hero-placeholder { height: 220px; }
    .hero-title { font-size: 1.5rem; }
    
    .home-layout-3col { gap: 40px; padding: 20px 0; }
    
    .site-logo-img { height: 45px; }
    .logo { gap: 8px; flex-direction: row; }
    .logo-text-wrap { align-items: flex-start; }
    .logo-text-wrap h1 { font-size: 1.3rem; letter-spacing: 0.5px; }
    .logo-tagline { font-size: 0.65rem; letter-spacing: 0.5px; text-align: left; }
}

/* ────────────────────────────────────────────
   PROFESSIONAL FOOTER
──────────────────────────────────────────── */
.main-footer {
    background: #111;
    color: #eee;
    padding: 60px 0 0 0;
    font-family: 'Inter', sans-serif;
    margin-top: 50px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col .footer-logo {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}
.footer-col .footer-about {
    color: #aaa;
    line-height: 1.6;
    font-size: 0.95rem;
}
.footer-col h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}
.footer-col ul {
    list-style: none;
    padding: 0;
}
.footer-col ul li {
    margin-bottom: 12px;
}
.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s, padding-left 0.3s;
}
.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}
.footer-bottom {
    border-top: 1px solid #333;
    padding: 20px 0;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}
.footer-bottom a {
    color: #bbb;
    text-decoration: none;
}
.footer-bottom a:hover {
    color: var(--primary);
}
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ────────────────────────────────────────────
   AD RESPONSIVENESS (MOBILE FIX)
──────────────────────────────────────────── */
html, body {
    max-width: 100vw;
    overflow-x: clip !important;
}

.in-article-ad, .lh-ad-top, .lh-ad-sidebar, .ad-slot {
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box;
    display: block;
}

.in-article-ad iframe, .in-article-ad ins, .in-article-ad img, .in-article-ad div,
.lh-ad-top iframe, .lh-ad-top ins, .lh-ad-top img, .lh-ad-top div,
.lh-ad-sidebar iframe, .lh-ad-sidebar ins, .lh-ad-sidebar img, .lh-ad-sidebar div,
.ad-slot iframe, .ad-slot ins, .ad-slot img, .ad-slot div {
    max-width: 100% !important;
}

@media (max-width: 768px) {
    .in-article-ad, .lh-ad-top, .lh-ad-sidebar, .ad-slot {
        margin-left: auto;
        margin-right: auto;
        padding: 0;
        width: 100%;
        text-align: center;
    }
}

/* COMPACT STICKY HEADER */
.sticky-top-wrapper {
    position: fixed;
    top: -100px;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: top 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 15px;
    height: 60px;
}
.sticky-top-wrapper.is-sticky {
    top: 0;
}
.sticky-top-wrapper .main-header {
    display: flex;
    align-items: center;
    gap: 10px;
}
.sticky-top-wrapper .header-logo {
    height: 40px;
    width: auto;
}
.sticky-top-wrapper .header-text-container {
    display: flex;
    flex-direction: column;
}
.sticky-top-wrapper .header-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    text-transform: uppercase;
}
.sticky-top-wrapper .header-subtitle {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0;
}
.sticky-top-wrapper .nav-container {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
    gap: 15px;
}
.sticky-top-wrapper .nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
}
.sticky-top-wrapper .nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}
.sticky-top-wrapper .nav-links a:hover {
    color: var(--primary);
}
.sticky-top-wrapper .mobile-compact-icons {
    display: none;
    align-items: center;
    gap: 15px;
}
.sticky-top-wrapper .mc-icon {
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
}
.sticky-top-wrapper .mc-icon:hover {
    color: var(--primary);
}

/* SEARCH TOGGLE COMPACT */
.sticky-top-wrapper .search-form {
    display: flex;
    align-items: center;
    background: #f1f1f1;
    border-radius: 20px;
    padding: 2px 10px;
}
.sticky-top-wrapper .search-input {
    border: none;
    background: transparent;
    outline: none;
    padding: 5px;
    font-size: 0.9rem;
    width: 150px;
}
.sticky-top-wrapper .search-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text);
}

@media (max-width: 768px) {
    .sticky-top-wrapper .nav-links {
        display: none;
    }
    .sticky-top-wrapper .search-form {
        display: none;
    }
    .sticky-top-wrapper .mobile-compact-icons {
        display: flex;
    }
    .sticky-top-wrapper.show-search .search-form {
        display: flex;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff;
        z-index: 10;
        padding: 0 15px;
        border-radius: 0;
    }
    .sticky-top-wrapper.show-search .search-input {
        flex: 1;
        width: auto;
    }
    .sticky-top-wrapper.show-search .search-close-btn {
        display: flex !important;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
    }
    .sticky-top-wrapper.show-search .search-btn {
        display: none;
    }
}
