/* =====================================================
   GUJARAT GUNJ - Main Stylesheet
   Version: 1.0.0
   Design: Inspired by morbiupdate.com
   Colors:
     Primary Red: #ED1C24
     Deep Blue:   #003366
     Background:  #FFFFFF
   ===================================================== */

/* ------- GOOGLE FONTS & RESET ------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: 'Inter', 'Noto Sans Gujarati', 'Hind', Arial, sans-serif;
    background: #f4f4f4;
    color: #222;
    line-height: 1.6;
    overflow-x: clip; /* 'clip' unlike 'hidden' does NOT break position:sticky */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #ED1C24; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ------- CONTAINER ------- */
.container { max-width: 1260px; margin: 0 auto; padding: 0 16px; }

/* ═══════════════════════════════════════
   HEADER
═══════════════════════════════════════ */

/* ENTIRE HEADER STICKY — sticks on both desktop and mobile */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* --- TOP BAR --- */
/* Desktop: hide top bar (only shown on mobile via override, but mobile also hides it)
   So we hide it everywhere — only re-show it if needed */
.top-bar {
    display: none; /* Hidden on ALL sizes per user request */
}
.top-bar .container { display: flex; align-items: center; justify-content: space-between; }
.date-display { display: flex; align-items: center; gap: 6px; opacity: 0.85; font-size: 12px; }

.social-icons { display: flex; align-items: center; gap: 4px; }
.social-icons a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 4px;
    background: rgba(255,255,255,0.12);
    color: #fff; font-size: 13px;
    transition: background 0.2s ease, transform 0.2s ease;
}
.social-icons a:hover { background: #ED1C24; transform: translateY(-1px); color: #fff; }

/* --- LOGO BAR --- */
.logo-bar { background: #fff; padding: 14px 0; border-bottom: 3px solid #ED1C24; }

/* Desktop: center the logo, search on far right */
.logo-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;   /* center logo */
    position: relative;        /* allow abs-positioned search */
    gap: 12px;
}
/* Search button pinned to right on desktop */
.header-right {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
/* Hamburger stays hidden on desktop */

.site-logo a { display: flex; align-items: center; }
.site-logo img { max-height: 70px; width: auto; }

/* Logo inner: image + text side by side */
.logo-inner { display: flex; align-items: center; gap: 14px; }
.logo-inner .custom-logo-link img,
.logo-inner img { height: 64px; width: auto; max-height: 64px; }

/* Text-logo: no overlap — use flex column with proper spacing */
.text-logo {
    display: flex;
    flex-direction: column;
    gap: 3px;          /* space between name and tagline */
    line-height: 1;
}
.text-logo .logo-main {
    font-size: 34px; font-weight: 900; color: #003366;
    letter-spacing: -0.5px;
    line-height: 1;
    text-shadow: 1px 1px 0 rgba(237,28,36,0.15);
    display: block;
}
.text-logo .logo-main::first-letter { color: #ED1C24; }
.text-logo .logo-sub {
    font-size: 11px; color: #888;
    letter-spacing: 1.5px; text-transform: uppercase;
    line-height: 1;
    display: block;
    margin-top: 0; /* no extra gap — gap:3px on parent handles it */
}

.hamburger-btn {
    display: none;
    flex-direction: column; gap: 5px; padding: 6px;
    background: none; border: none; cursor: pointer;
}
.hamburger-btn span {
    display: block; width: 24px; height: 2px;
    background: #003366; border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; }
.hamburger-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header-right { display: flex; align-items: center; gap: 10px; }
.search-toggle-btn {
    width: 36px; height: 36px; border-radius: 50%;
    background: #f2f2f2; font-size: 14px; color: #003366;
    transition: all 0.2s;
}
.search-toggle-btn:hover { background: #ED1C24; color: #fff; }

/* --- SEARCH BAR --- shows inline, below logo bar */
.search-bar-wrapper {
    background: #003366;
    padding: 10px 0;
    display: none;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.search-bar-wrapper.open {
    display: block;
    animation: slideDown 0.18s ease;
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

/* --- MAIN NAVIGATION --- */
.main-nav { background: #003366; position: relative; z-index: 100; }
.main-nav .container { padding: 0 16px; }
.nav-inner { display: flex; align-items: center; }

/* Sticky compact logo inside nav (hidden by default) */
.sticky-logo-nav { display: none; align-items: center; flex-shrink: 0; margin-right: 12px; padding-right: 12px; border-right: 1px solid rgba(255,255,255,0.2); }
.sticky-logo-link { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.sticky-logo-nav img,
.sticky-logo-link img { height: 34px; width: auto; }
.sticky-site-name { color: #fff; font-size: 17px; font-weight: 900; white-space: nowrap; letter-spacing: -0.3px; }
.site-header.sticky .sticky-logo-nav { display: flex; }

.primary-menu { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0; }
.primary-menu > li { position: relative; }
.primary-menu > li > a {
    display: flex; align-items: center; gap: 4px;
    color: #fff; font-size: 14px; font-weight: 600;
    padding: 13px 16px; letter-spacing: 0.2px;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}
.primary-menu > li > a:hover,
.primary-menu > li:hover > a,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a { background: #ED1C24; color: #fff; }

.dropdown-arrow { font-size: 10px; transition: transform 0.2s; }
.primary-menu > li:hover .dropdown-arrow { transform: rotate(180deg); }

/* Dropdown */
.primary-menu .sub-menu {
    position: absolute; top: 100%; left: 0;
    background: #fff; min-width: 220px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-top: 3px solid #ED1C24;
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: all 0.25s ease; z-index: 200; list-style: none;
}
.primary-menu > li:hover .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-menu .sub-menu li a {
    display: block; padding: 10px 18px;
    font-size: 13px; color: #333; border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}
.primary-menu .sub-menu li a:hover { background: #f8f8f8; color: #ED1C24; padding-left: 24px; }

/* STICKY NAV (kept for backwards compat, not adding display:flex as nav-sticky is no longer used) */
.main-nav.nav-sticky .sticky-logo-nav { display: flex; }

/* --- BREAKING NEWS TICKER --- */
.breaking-news-bar {
    background: #fff;
    border-bottom: 2px solid #f0f0f0;
    height: 38px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.breaking-news-inner {
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 100%;
    width: 100%;
}
.breaking-badge {
    display: flex; align-items: center; gap: 6px;
    background: #ED1C24; color: #fff;
    font-size: 12px; font-weight: 700;
    padding: 4px 20px 4px 12px;
    border-radius: 3px 0 0 3px;
    white-space: nowrap; flex-shrink: 0;
    text-transform: uppercase; letter-spacing: 0.5px;
    clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%);
    height: 100%; box-sizing: border-box;
}
.ticker-wrapper {
    overflow: hidden;
    flex: 1;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}
/* Ticker scrolls using translateX(-50%) since content is doubled by JS */
.ticker-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: ticker-scroll 60s linear infinite;
    will-change: transform;
    flex-shrink: 0;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
    font-size: 13px; font-weight: 500; color: #222;
    padding: 0 8px;
    white-space: nowrap;
    display: inline-block;
    transition: color 0.2s;
}
.ticker-item:hover { color: #ED1C24; }
.ticker-sep { color: #ED1C24; font-size: 10px; margin: 0 4px; flex-shrink: 0; }

/* scroll from 0 to -50% (because JS doubled the content) */
@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- MOBILE OVERLAY & SIDEBAR --- */
.mobile-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.55); z-index: 998;
    backdrop-filter: blur(2px);
}
.mobile-overlay.active { display: block; animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.mobile-nav-sidebar {
    position: fixed; top: 0; left: -300px; bottom: 0;
    width: 280px; background: #fff; z-index: 999;
    overflow-y: auto; transition: left 0.3s ease;
    box-shadow: 4px 0 24px rgba(0,0,0,0.15);
}
.mobile-nav-sidebar.open { left: 0; }
.mobile-nav-header {
    background: #003366; color: #fff; padding: 16px;
    display: flex; align-items: center; justify-content: space-between;
}
.mobile-nav-header .text-logo .logo-main { color: #fff; font-size: 22px; }
.mobile-close-btn { color: #fff; font-size: 20px; padding: 4px; }
.mobile-search { padding: 12px; border-bottom: 1px solid #eee; }
.mobile-menu { list-style: none; padding: 8px 0; }
.mobile-menu li a {
    display: block; padding: 12px 20px;
    font-size: 15px; font-weight: 500; color: #222;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s; 
}
.mobile-menu li a:hover { background: #f8f8f8; color: #ED1C24; padding-left: 28px; }
.mobile-menu .sub-menu { background: #f9f9f9; }
.mobile-menu .sub-menu li a { padding-left: 36px; font-size: 14px; }

/* ═══════════════════════════════════════
   CONTENT WRAPPER / LAYOUT
═══════════════════════════════════════ */
.site-wrapper { min-height: 60vh; }
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    padding: 24px 16px;
}
.main-content { min-width: 0; }

/* ═══════════════════════════════════════
   HERO SLIDER
═══════════════════════════════════════ */
.hero-slider-section { margin-bottom: 28px; }
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 12px;
    height: 420px;
}
/* Full-width slider (no side posts) */
.hero-grid-full {
    grid-template-columns: 1fr;
}

.hero-slider-wrapper { position: relative; border-radius: 8px; overflow: hidden; background: #000; }
.hero-slider { height: 100%; position: relative; }
.hero-slide {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity 0.7s ease;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide-link { display: block; height: 100%; position: relative; }
.hero-slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    display: flex; align-items: flex-end;
}
.hero-slide-content { padding: 20px; width: 100%; }
.hero-cat {
    background: #ED1C24; color: #fff; padding: 3px 10px;
    font-size: 12px; font-weight: 700; border-radius: 3px;
    display: inline-block; margin-bottom: 8px; text-transform: uppercase;
}
.hero-cat a { color: #fff !important; }
.hero-title {
    font-size: 20px; font-weight: 800; color: #fff; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden; margin-bottom: 6px;
}
.hero-time { color: rgba(255,255,255,0.75); font-size: 12px; }

/* Slider Controls */
.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.85); color: #003366;
    font-size: 14px; z-index: 10;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s; box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.slider-btn:hover { background: #ED1C24; color: #fff; }
.slider-prev { left: 10px; }
.slider-next { right: 10px; }

.slider-dots {
    position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 6px; z-index: 10;
}
.slider-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.5); cursor: pointer;
    transition: all 0.2s; border: none;
}
.slider-dot.active { background: #ED1C24; width: 20px; border-radius: 4px; }

/* Hero Side Posts */
.hero-side-posts {
    display: flex; flex-direction: column; gap: 8px; overflow: hidden;
}
.side-post-card {
    display: flex; gap: 10px; align-items: flex-start;
    background: #fff; border-radius: 6px; padding: 10px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.07);
    transition: box-shadow 0.2s, transform 0.2s;
    flex: 1;
}
.side-post-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); transform: translateY(-1px); }
.side-post-thumb { width: 80px; flex-shrink: 0; border-radius: 4px; overflow: hidden; }
.side-post-thumb img { width: 80px; height: 60px; object-fit: cover; }
.side-post-info { flex: 1; min-width: 0; }
.side-post-cat { font-size: 10px; font-weight: 700; color: #ED1C24; text-transform: uppercase; margin-bottom: 3px; display: block; }
.side-post-title {
    font-size: 13px; font-weight: 600; color: #222; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    display: block;
}
.side-post-title:hover { color: #ED1C24; }
.side-post-time { font-size: 11px; color: #999; margin-top: 4px; display: block; }

/* ═══════════════════════════════════════
   CATEGORY SECTIONS
═══════════════════════════════════════ */
.category-section { margin-bottom: 32px; }

.section-header {
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 3px solid #003366;
    margin-bottom: 14px; padding-bottom: 8px;
}
.section-title {
    font-size: 18px; font-weight: 800; color: #003366;
    display: flex; align-items: center; gap: 0;
    position: relative;
}
.section-title span {
    background: #003366; color: #fff;
    padding: 5px 16px 5px 12px;
    clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%);
    padding-right: 22px;
    display: inline-flex; align-items: center; gap: 8px;
}
.see-all {
    font-size: 13px; font-weight: 600; color: #ED1C24;
    display: flex; align-items: center; gap: 4px;
    transition: gap 0.2s;
}
.see-all:hover { gap: 8px; }

/* NEWS GRID */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.news-grid .news-card:first-child, .news-card-big {
    grid-column: span 1;
}

/* NEWS CARD */
.news-card {
    background: #fff; border-radius: 8px;
    overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    display: flex; flex-direction: column;
}
.news-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.13); transform: translateY(-3px); }

.card-thumb { position: relative; overflow: hidden; aspect-ratio: 16/9; background: #eee; }
.card-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}
.news-card:hover .card-thumb img { transform: scale(1.06); }

.card-category-tag, .card-category {
    position: absolute; top: 8px; left: 8px;
    background: #ED1C24; color: #fff;
    font-size: 10px; font-weight: 700;
    padding: 3px 9px; border-radius: 3px;
    text-transform: uppercase; letter-spacing: 0.3px;
    z-index: 2;
}
.card-category a { color: #fff !important; }

.card-thumb-link { display: block; }
.no-thumb-placeholder { width: 100%; aspect-ratio: 16/9; background: linear-gradient(135deg, #003366 0%, #0055aa 100%); }

.card-body { padding: 12px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.card-title { font-size: 14px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.card-title-lg { font-size: 16px; }
.card-title a { color: #222; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a:hover { color: #ED1C24; }
.card-excerpt { font-size: 13px; color: #666; line-height: 1.5; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-time { font-size: 12px; color: #999; display: flex; align-items: center; gap: 4px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.read-more { font-size: 12px; font-weight: 600; color: #ED1C24; display: flex; align-items: center; gap: 3px; transition: gap 0.2s; }
.read-more:hover { gap: 7px; }

/* ═══════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════ */
.sidebar { display: flex; flex-direction: column; gap: 20px; }

.widget { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.widget-title {
    background: #003366; color: #fff; padding: 10px 14px;
    font-size: 14px; font-weight: 700; margin: 0;
}
.widget-title span { display: flex; align-items: center; gap: 8px; }

/* Trending */
.trending-list { padding: 8px 0; }
.trending-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #f5f5f5; transition: background 0.2s; }
.trending-item:hover { background: #fafafa; }
.trending-num { font-size: 26px; font-weight: 900; color: #f0f0f0; line-height: 1; flex-shrink: 0; min-width: 36px; }
.trending-content { display: flex; gap: 8px; flex: 1; min-width: 0; }
.trending-thumb { width: 64px; flex-shrink: 0; border-radius: 4px; overflow: hidden; }
.trending-thumb img { width: 64px; height: 48px; object-fit: cover; }
.trending-text { flex: 1; min-width: 0; }
.trending-title { font-size: 13px; font-weight: 600; color: #222; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.trending-title:hover { color: #ED1C24; }
.trending-time { font-size: 11px; color: #999; display: inline-block; margin-top: 3px; }
.trending-views { font-size: 11px; color: #999; display: inline-block; margin-top: 3px; margin-left: 10px; }
.trending-views i { color: rgba(0,51,102,0.5); margin-right: 3px; }

/* Ad space */
.widget-ad { padding: 12px; }
.ad-placeholder {
    width: 100%; min-height: 250px; background: linear-gradient(135deg, #f0f4f8 0%, #e8edf2 100%);
    border: 2px dashed #ccc; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: #aaa; font-size: 13px; text-transform: uppercase; letter-spacing: 1px;
}

/* Follow buttons */
.follow-buttons { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.follow-btn {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 14px; border-radius: 6px; font-size: 14px; font-weight: 600;
    color: #fff; transition: all 0.2s; opacity: 0.92;
}
.follow-btn:hover { opacity: 1; transform: translateX(3px); color: #fff; }
.follow-fb { background: #1877F2; }
.follow-ig { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.follow-yt { background: #FF0000; }
.follow-tw { background: #000; }
.follow-wa { background: #25D366; }

/* Sidebar Cat List */
.sidebar-cat-list { padding: 8px 0; }
.sidebar-cat-list li a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 9px 14px; font-size: 13px; color: #333;
    border-bottom: 1px solid #f0f0f0; transition: all 0.2s;
}
.sidebar-cat-list li a:hover { color: #ED1C24; background: #fafafa; }
.sidebar-cat-list li a i { color: #ED1C24; font-size: 11px; }
.cat-count { background: #f0f0f0; border-radius: 20px; padding: 2px 8px; font-size: 11px; color: #888; }

/* ═══════════════════════════════════════
   SINGLE POST
═══════════════════════════════════════ */
.breadcrumb {
    font-size: 13px; color: #888; display: flex; align-items: center; gap: 6px;
    margin-bottom: 16px; flex-wrap: wrap;
}
.breadcrumb a { color: #003366; } .breadcrumb a:hover { color: #ED1C24; }
.breadcrumb .sep { color: #ccc; font-size: 11px; }
.breadcrumb .current { color: #555; }

.single-article { background: #fff; border-radius: 8px; padding: 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.07); }

.article-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.article-cat-tag {
    background: #ED1C24; color: #fff; padding: 3px 12px;
    border-radius: 3px; font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.3px;
    transition: background 0.2s;
}
.article-cat-tag:hover { background: #c01019; color: #fff; }
.article-title { font-size: 26px; font-weight: 900; color: #111; line-height: 1.3; margin-bottom: 14px; }

.article-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; font-size: 13px; color: #777; }
.article-meta a { color: #003366; font-weight: 600; }
.article-meta i { margin-right: 4px; }

.article-featured-image { margin: -24px -24px 24px -24px; }
.article-featured-image img { width: 100%; max-height: 500px; object-fit: cover; }
.image-caption { font-size: 12px; color: #888; text-align: center; padding: 6px 12px; background: #f9f9f9; }

.article-content { font-size: 16px; line-height: 1.85; color: #333; }
.article-content p { margin-bottom: 16px; }
.article-content h2, .article-content h3 { color: #003366; font-weight: 800; margin: 20px 0 10px; }
.article-content img { border-radius: 6px; margin: 12px 0; }
.article-content a { color: #ED1C24; text-decoration: underline; }
.article-content blockquote { border-left: 4px solid #ED1C24; padding: 12px 20px; background: #f9f9f9; margin: 16px 0; font-style: italic; }

.article-tags { margin-top: 20px; padding-top: 16px; border-top: 1px solid #eee; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tags-label { font-size: 13px; font-weight: 700; color: #555; }
.tag-link { background: #f0f0f0; color: #555; padding: 4px 12px; border-radius: 20px; font-size: 12px; transition: all 0.2s; }
.tag-link:hover { background: #ED1C24; color: #fff; }

/* Social Share */
.social-share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 16px 0; padding: 14px; background: #f8f8f8; border-radius: 8px; }
.share-label { font-size: 13px; font-weight: 700; color: #555; display: flex; align-items: center; gap: 5px; }
.share-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px; border-radius: 5px; font-size: 13px; font-weight: 600; color: #fff;
    transition: all 0.2s; opacity: 0.9;
}
.share-btn:hover { opacity: 1; transform: translateY(-2px); color: #fff; }
.share-fb { background: #1877F2; }
.share-wa { background: #25D366; }
.share-tw { background: #000; }
.share-tg { background: #0088cc; }

/* Author Box */
.author-box { display: flex; align-items: center; gap: 16px; margin-top: 24px; padding: 16px; background: #f4f8ff; border-radius: 8px; border-left: 4px solid #003366; }
.author-avatar { border-radius: 50%; width: 70px; height: 70px; object-fit: cover; flex-shrink: 0; border: 3px solid #E0E8FF; }
.author-name { font-size: 15px; font-weight: 700; color: #003366; margin-bottom: 4px; }
.author-name a { color: #003366; } .author-name a:hover { color: #ED1C24; }
.author-bio { font-size: 13px; color: #666; margin: 0; }

/* Related Posts */
.related-posts { margin-top: 32px; }
.related-grid { grid-template-columns: repeat(4, 1fr) !important; }

/* ═══════════════════════════════════════
   ARCHIVE PAGE
═══════════════════════════════════════ */
.archive-header {
    background: #003366; color: #fff; padding: 16px 20px;
    border-radius: 8px; margin-bottom: 20px; border-left: 5px solid #ED1C24;
}
.archive-title { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.archive-desc { font-size: 14px; opacity: 0.8; margin: 0; }
.archive-grid { grid-template-columns: repeat(3, 1fr); }

.pagination-wrapper { margin-top: 28px; }
.nav-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.page-numbers {
    display: flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 14px;
    border: 2px solid #e0e0e0; border-radius: 6px;
    font-size: 14px; font-weight: 600; color: #333;
    transition: all 0.2s;
}
.page-numbers:hover, .page-numbers.current { background: #003366; color: #fff; border-color: #003366; }
.page-numbers.dots { border: none; }

/* No posts */
.no-posts-found {
    text-align: center; padding: 60px 20px; background: #fff;
    border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.no-posts-found i { color: #ddd; margin-bottom: 16px; }
.no-posts-found h2 { font-size: 22px; color: #333; margin-bottom: 8px; }
.no-posts-found p { color: #888; margin-bottom: 16px; }
.btn-home {
    display: inline-block; background: #003366; color: #fff;
    padding: 10px 24px; border-radius: 6px; font-weight: 600;
    transition: background 0.2s;
}
.btn-home:hover { background: #ED1C24; color: #fff; }

/* ═══════════════════════════════════════
   STATIC PAGE
═══════════════════════════════════════ */
.static-page { background: #fff; border-radius: 8px; padding: 28px; box-shadow: 0 2px 12px rgba(0,0,0,0.07); }
.page-header { border-bottom: 3px solid #003366; margin-bottom: 20px; padding-bottom: 12px; }
.page-title { font-size: 28px; font-weight: 900; color: #003366; }
.page-featured-image { margin: 0 0 20px 0; border-radius: 8px; overflow: hidden; }

/* ═══════════════════════════════════════
   SEARCH FORM
═══════════════════════════════════════ */
.search-input-wrapper { display: flex; gap: 0; }
.search-field {
    flex: 1; padding: 10px 14px; border: 2px solid #e0e0e0;
    border-right: none; border-radius: 6px 0 0 6px;
    font-size: 14px; font-family: inherit; outline: none;
    transition: border-color 0.2s;
}
.search-field:focus { border-color: #003366; }
.search-submit {
    padding: 0 18px; background: #ED1C24; color: #fff;
    border: none; border-radius: 0 6px 6px 0; font-size: 15px;
    cursor: pointer; transition: background 0.2s;
}
.search-submit:hover { background: #c01019; }

.search-bar-wrapper .search-field { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.2); }
.search-bar-wrapper .search-field::placeholder { color: rgba(255,255,255,0.6); }

/* ═══════════════════════════════════════
   SIMPLE FOOTER (logo + quick links)
═══════════════════════════════════════ */
.site-footer-simple {
    background: #0a1929;
    color: #ccc;
    margin-top: 40px;
    padding: 0;
}
.footer-simple-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
/* Logo area */
.footer-logo-link {
    display: flex;
    align-items: flex-start; /* Align logo with the first line of text (Site Name) */
    gap: 12px;
    text-decoration: none;
}
/* Footer logo: same height as site-name and links (22px) */
.footer-logo-img {
    height: 22px !important;
    width: auto !important;
    max-height: 22px !important;
    display: inline-block;
}
/* Footer brand: site name + tagline */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 1.1;
}
.footer-site-name {
    font-size: 22px; /* Matches quick links */
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.3px;
    display: block;
}
.footer-tagline {
    font-size: 12px;
    color: #aaa;
    font-style: italic;
    opacity: 0.9;
}
/* Quick links — 200% larger than default (28px), all on one line */
.footer-quick-links {
    display: flex; align-items: center; flex-wrap: nowrap; gap: 4px;
}
.footer-quick-links a {
    color: #bbb; font-size: 22px; font-weight: 600;
    padding: 4px 10px; border-radius: 4px;
    transition: color 0.2s;
    white-space: nowrap;
}
.footer-quick-links a:hover { color: #ED1C24; }
.footer-sep { color: rgba(255,255,255,0.25); font-size: 18px; flex-shrink: 0; }
/* Copyright */
.footer-copyright {
    text-align: center; padding: 12px 0;
    font-size: 13px; color: #666;
}

/* ═══════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════ */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0 28px;
}
.contact-card {
    background: #f4f8ff; border-radius: 10px;
    padding: 20px 16px; text-align: center;
    border-top: 3px solid #003366;
}
.contact-card i { font-size: 28px; color: #003366; margin-bottom: 10px; display: block; }
.contact-card h3 { font-size: 15px; font-weight: 700; color: #003366; margin-bottom: 6px; }
.contact-card p { font-size: 14px; color: #555; margin: 0; }
.contact-card a { color: #ED1C24; }

.contact-form-wrap { margin-top: 28px; }
.contact-form-wrap h2 { font-size: 22px; font-weight: 800; color: #003366; margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: #444; margin-bottom: 6px; }
.form-group label span { color: #ED1C24; }
.form-group input, .form-group textarea {
    width: 100%; padding: 10px 14px;
    border: 2px solid #e0e0e0; border-radius: 6px;
    font-size: 14px; font-family: inherit; outline: none;
    transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { border-color: #003366; }
.form-group textarea { resize: vertical; min-height: 130px; }
.contact-submit-btn {
    background: #003366; color: #fff;
    padding: 12px 28px; border: none; border-radius: 6px;
    font-size: 15px; font-weight: 700; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
    transition: background 0.2s, transform 0.2s;
}
.contact-submit-btn:hover { background: #ED1C24; transform: translateY(-1px); }
.form-alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.form-alert.success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.form-alert.error   { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }

@media (max-width: 768px) {
    .footer-simple-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
    .footer-quick-links { gap: 4px; }
    .contact-info-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}


.footer-main { padding: 40px 0; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 32px;
}

.footer-heading { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid #ED1C24; display: inline-block; }

.footer-desc { font-size: 13px; line-height: 1.7; color: #aaa; margin-bottom: 16px; }
.text-logo-footer .logo-main { color: #fff; font-size: 24px; font-weight: 900; display: block; margin-bottom: 12px; }
.footer-social { display: flex; gap: 8px; }
.social-link {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 6px; font-size: 14px; color: #fff;
    transition: transform 0.2s, opacity 0.2s;
}
.social-link:hover { transform: translateY(-2px); opacity: 1; color: #fff; }
.social-link.fb { background: #1877F2; }
.social-link.ig { background: linear-gradient(135deg, #f09433, #dc2743, #bc1888); }
.social-link.yt { background: #FF0000; }
.social-link.tw { background: #222; }
.social-link.wa { background: #25D366; }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0; }
.footer-links li a { display: flex; align-items: center; gap: 6px; padding: 6px 0; font-size: 13px; color: #aaa; border-bottom: 1px solid rgba(255,255,255,0.05); transition: all 0.2s; }
.footer-links li a:hover { color: #ED1C24; padding-left: 4px; }
.footer-links li a i { color: #ED1C24; font-size: 10px; }

.footer-recent-posts { list-style: none; }
.footer-post-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-post-thumb { width: 60px; flex-shrink: 0; border-radius: 4px; overflow: hidden; }
.footer-post-thumb img { width: 60px; height: 45px; object-fit: cover; }
.footer-post-info { flex: 1; min-width: 0; }
.footer-post-info a { font-size: 13px; color: #aaa; line-height: 1.4; display: block; margin-bottom: 4px; transition: color 0.2s; }
.footer-post-info a:hover { color: #ED1C24; }
.footer-post-time { font-size: 11px; color: #777; display: flex; align-items: center; gap: 4px; }

.footer-bottom { background: #050d18; border-top: 1px solid rgba(255,255,255,0.05); padding: 14px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; }
.copyright { font-size: 13px; color: #888; }
.copyright a { color: #ED1C24; }
.footer-credit { font-size: 12px; color: #666; display: flex; align-items: center; gap: 4px; }

/* ═══════════════════════════════════════
   FLOATING BUTTONS
═══════════════════════════════════════ */
.whatsapp-float-btn {
    position: fixed; bottom: 24px; right: 24px;
    width: 54px; height: 54px; border-radius: 50%;
    background: #25D366; color: #fff; font-size: 26px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    z-index: 990; transition: all 0.3s ease;
    animation: pulse-wa 2.5s infinite;
}
.whatsapp-float-btn:hover { transform: scale(1.1); background: #20c15b; color: #fff; }
@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 28px rgba(37,211,102,0.65); }
}

.back-to-top-btn {
    position: fixed; bottom: 90px; right: 24px;
    width: 42px; height: 42px; border-radius: 50%;
    background: #003366; color: #fff; font-size: 14px;
    display: none; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 990; transition: all 0.2s;
}
.back-to-top-btn.visible { display: flex; }
.back-to-top-btn:hover { background: #ED1C24; transform: translateY(-2px); }

/* ═══════════════════════════════════════
   RESPONSIVE - TABLET (≤ 1024px)
═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .content-wrapper { grid-template-columns: 1fr; }
    .sidebar { display: grid; grid-template-columns: repeat(2, 1fr); }
    .hero-grid { grid-template-columns: 1fr; height: auto; }
    .hero-slider-wrapper { height: 360px; }
    .hero-side-posts { display: none; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .archive-grid { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════
   RESPONSIVE - MOBILE (≤ 768px)
═══════════════════════════════════════ */
@media (max-width: 768px) {
    /* top-bar: already hidden globally */

    .hamburger-btn { display: flex; }
    .main-nav { display: none; }

    /* Reset desktop centering on mobile */
    .logo-bar-inner { justify-content: space-between; }
    .header-right { position: static; transform: none; }

    /* Logo: image + name on ONE line */
    .logo-inner {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }
    .logo-inner .custom-logo-link img,
    .logo-inner img {
        height: 38px !important;
        width: auto;
    }
    .text-logo .logo-main { font-size: 19px; }
    /* HIDE tagline on mobile */
    .logo-sub { display: none !important; }

    .content-wrapper { padding: 16px; gap: 16px; }
    .hero-slider-wrapper { height: 260px; }
    .hero-title { font-size: 16px; }
    .hero-slide-content { padding: 14px; }

    .news-grid { grid-template-columns: 1fr; }
    .archive-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: repeat(2, 1fr) !important; }

    .sidebar { grid-template-columns: 1fr; }

    .article-title { font-size: 21px; margin-bottom: 15px; }
    .article-featured-image { 
        margin: 0 0 15px 0; 
        border-radius: 10px; 
        overflow: hidden; 
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    .article-featured-image img {
        border-radius: 10px;
    }
    .single-article { padding: 18px; }
    .author-box { flex-direction: column; text-align: center; }

    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-bottom-inner { flex-direction: column; gap: 6px; text-align: center; }

    .social-share { 
        padding: 8px 10px; 
        justify-content: space-between; 
        flex-wrap: nowrap; 
        gap: 6px; 
    }
    .share-label { font-size: 12px; white-space: nowrap; }
    .share-label span { display: none; } /* Hide label text like 'શેર:' */
    .share-text { display: none !important; }
    .share-btn { 
        padding: 8px; 
        font-size: 18px; 
        flex: 1; 
        justify-content: center; 
        min-width: 40px;
        gap: 0;
    }

    .section-title { font-size: 14px; }
    .section-title span { padding: 4px 14px 4px 10px; }

    .whatsapp-float-btn { width: 48px; height: 48px; font-size: 22px; bottom: 16px; right: 16px; }
    .back-to-top-btn { bottom: 76px; right: 16px; }

    /* Footer links smaller on mobile so they fit on one line */
    .footer-quick-links {
        flex-wrap: wrap;
        gap: 2px 6px;
        justify-content: flex-start;
    }
    .footer-quick-links a {
        font-size: 14px;
        padding: 3px 6px;
    }
    .footer-sep { font-size: 12px; }
}

/* ═══════════════════════════════════════
   RESPONSIVE - SMALL MOBILE (≤ 480px)
═══════════════════════════════════════ */
@media (max-width: 480px) {
    .header-main .container {
        padding: 10px 8px;
    }
    .logo-inner .custom-logo-link img,
    .logo-inner img {
        height: 32px !important;
    }
    .text-logo .logo-main { font-size: 17px; }
    
    .header-social-icons {
        gap: 4px;
        margin-right: 6px;
    }
    .header-social-icons a {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }

    .hero-slider-wrapper { height: 220px; }
    .hero-title { font-size: 14px; -webkit-line-clamp: 2; }
    /* Breaking news - slower on mobile to avoid fast scroll */
    .ticker-track { animation-duration: 80s; }
    .article-title { font-size: 19px; }
    .article-featured-image { margin: 0 0 12px 0; }
    .related-grid { grid-template-columns: 1fr !important; }
}

/* ═══════════════════════════════════════
   UTILITIES
═══════════════════════════════════════ */
.text-red { color: #ED1C24; }
.text-blue { color: #003366; }
.bg-red { background: #ED1C24; }
.bg-blue { background: #003366; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* WordPress-specific */
.alignleft { float: left; margin: 0 20px 12px 0; }
.alignright { float: right; margin: 0 0 12px 20px; }
.aligncenter { display: block; margin: 12px auto; }
.wp-caption { text-align: center; }
.wp-caption-text { font-size: 12px; color: #888; }

/* ═══════════════════════════════════════
   ADVERTISEMENTS (Matches Post Card UI)
═══════════════════════════════════════ */
.ad-block-wrapper {
    margin: 40px 0;
    width: 100%;
    clear: both;
    display: flex;
    justify-content: center;
}
.ad-box-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    display: block;
    text-decoration: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ad-box-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}
.ad-box-card.no-link {
    cursor: default;
}
.ad-box-card.no-link:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.ad-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f8f9fa;
}
.ad-image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.ad-box-card:hover .ad-image-container img {
    transform: scale(1.05);
}
.ad-badge-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ED1C24;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 2;
}
.ad-content-area {
    padding: 15px 18px 20px;
}
.ad-title {
    color: #1a1a1a;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    transition: color 0.2s ease;
}
.ad-box-card:hover .ad-title {
    color: #ED1C24;
}

/* Sidebar Specific */
.ad-slot-sidebar_trend .ad-box-card {
    border-radius: 8px;
}
.ad-slot-sidebar_trend .ad-title {
    font-size: 16px;
}

@media (max-width: 768px) {
    .ad-block-wrapper { 
        margin: 15px 0; 
    }
    .ad-box-card {
        border-radius: 10px;
    }
    .ad-content-area { 
        padding: 10px 12px 14px; 
    }
    .ad-title { 
        font-size: 16px; 
    }
    .ad-badge-tag { 
        padding: 4px 8px; 
        font-size: 10px; 
        top: 8px; 
        left: 8px; 
    }
    /* Ensure ads don't take up too much vertical space on small screens */
    .ad-image-container img {
        max-height: 250px;
        object-fit: contain;
        background: #fdfdfd;
    }
}

/* Header Social Icons (Beside Search) */
.header-social-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 12px;
}
.header-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f2f2f2;
    color: #003366;
    font-size: 14px;
    transition: all 0.2s;
}
.header-social-icons a:hover {
    color: #fff;
    transform: translateY(-2px);
}
.header-social-icons a.fb-icon:hover { background: #1877F2; }
.header-social-icons a.ig-icon:hover { background: linear-gradient(135deg, #f09433, #dc2743, #bc1888); }
.header-social-icons a.yt-icon:hover { background: #FF0000; }
.header-social-icons a.wa-icon:hover { background: #25D366; }

@media (max-width: 576px) {
    .header-social-icons {
        gap: 5px;
        margin-right: 8px;
    }
    .header-social-icons a {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}
