/* ============================================================
   ভোরের আলো — Main CSS (v12 — Full Responsive Fix)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Bengali:wght@400;500;600;700;800&family=Hind+Siliguri:wght@400;500;600;700&display=swap');

:root {
  --red:       #c0392b;
  --red-dark:  #96281b;
  --primary:   var(--red); /* overridden by site color setting */
  --text:      #1a1a1a;
  --muted:     #4a5568;
  --light:     #718096;
  --border:    #e2e8f0;
  --bg:        #ffffff;
  --bg-gray:   #f7f8fa;
  --bg-dark:   #1a202c;
  --font:      'Noto Serif Bengali', 'Hind Siliguri', serif;
  --max:       1260px;
  --nav-h:     48px;
}

/* Dark mode */
[data-theme="dark"] {
  --bg:#0f172a; --bg-gray:#1e293b; --text:#e2e8f0;
  --muted:#94a3b8; --border:#334155; --bg-dark:#020617;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 18px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  transition: background .2s, color .2s;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
input, textarea, select, button { font-family: var(--font); }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--bg-dark);
  color: #94a3b8;
  font-size: 13px;
  height: 36px;
  display: flex;
  align-items: center;
  width: 100%;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar-left { display: flex; gap: 12px; }
.topbar-right { display: flex; gap: 10px; align-items: center; }
.topbar-right a { color: #94a3b8; }
.topbar-right a:hover { color: #fff; }
.epaper-btn { background: var(--red) !important; color: #fff !important; padding: 3px 12px; border-radius: 2px; font-weight: 700; }
.divider-bar { color: #4a5568; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  width: 100%;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-logo a { display: flex; flex-direction: column; gap: 1px; }
.logo-bangla { font-size: 34px; font-weight: 800; color: var(--red); letter-spacing: -1px; line-height: 1.1; font-family: 'Noto Serif Bengali', serif; }
.logo-english { font-size: 11px; color: var(--muted); letter-spacing: 3px; text-transform: uppercase; }
.header-ad-zone { flex: 1; max-width: 728px; display: flex; justify-content: center; align-items: center; overflow: hidden; }
.ad-box { background: var(--bg-gray); border: 1px dashed var(--border); display: flex; align-items: center; justify-content: center; color: var(--light); font-size: 12px; text-align: center; width: 100%; }
.header-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.btn-search, .btn-theme {
  cursor: pointer; border: 1px solid var(--border); background: var(--bg);
  color: var(--text); padding: 7px 14px; border-radius: 3px; font-size: 14px;
  display: flex; align-items: center; gap: 5px;
}
.btn-search:hover, .btn-theme:hover { border-color: var(--red); color: var(--red); }

/* ============================================================
   MAIN NAV
   ============================================================ */
.main-nav {
  background: var(--red);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  width: 100%;
}
.main-nav .container { display: flex; align-items: center; }
.nav-list {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-list li a {
  display: block; color: #fff; font-size: 15px; font-weight: 600;
  padding: 0 15px; height: var(--nav-h); line-height: var(--nav-h);
  white-space: nowrap; border-bottom: 3px solid transparent; transition: background .15s;
}
.nav-list li a:hover, .nav-list li a.active {
  background: rgba(0,0,0,.2); color: #fff; border-bottom-color: rgba(255,255,255,.8);
}
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 10px 14px; flex-direction: column; gap: 5px; flex-shrink: 0;
}
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }

/* ============================================================
   BREAKING NEWS TICKER
   ============================================================ */
.breaking-bar {
  background: var(--bg);
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  height: 42px;
  overflow: hidden;
  width: 100%;
}
.breaking-label {
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  gap: 6px;
  font-family: 'Hind Siliguri', sans-serif;
}
.ticker-wrap { flex: 1; overflow: hidden; padding: 0 14px; min-width: 0; }
.ticker-track {
  display: flex;
  animation: ticker 25s linear infinite;
  white-space: nowrap;
}
.ticker-track.paused { animation-play-state: paused; }
.ticker-item { font-size: 16px; font-weight: 600; padding-right: 50px; cursor: pointer; font-family: 'Hind Siliguri', sans-serif; }
.ticker-item a:hover { color: var(--red); }
.ticker-item::after { content: '●'; color: var(--red); margin-left: 50px; font-size: 9px; vertical-align: middle; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================================
   MAIN LAYOUT — 3 COLUMN
   ============================================================ */
.site-main { padding: 16px 0; width: 100%; }

.main-grid {
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  gap: 20px;
  align-items: start;
  width: 100%;
}
.sidebar-left  { border-right: 1px solid var(--border); padding-right: 18px; min-width: 0; }
.sidebar-right { border-left:  1px solid var(--border); padding-left:  18px; min-width: 0; }
.center-col    { min-width: 0; }

/* ============================================================
   WIDGET
   ============================================================ */
.widget { margin-bottom: 20px; }
.widget-header {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 2px solid var(--red); padding-bottom: 8px; margin-bottom: 12px;
}
.widget-title  { font-size: 16px; font-weight: 700; font-family: 'Hind Siliguri', sans-serif; }
.widget-more   { font-size: 13px; color: var(--muted); }
.widget-more:hover { color: var(--red); }
.widget-list-item {
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 15px; font-weight: 500; line-height: 1.55;
}
.widget-list-item:last-child { border-bottom: none; }
.widget-list-item a:hover { color: var(--red); }
.widget-list-item .time { font-size: 12px; color: var(--light); display: block; margin-top: 2px; }

/* ============================================================
   HERO
   ============================================================ */
.hero-story { margin-bottom: 16px; }
.hero-image { aspect-ratio: 16/9; overflow: hidden; margin-bottom: 10px; border-radius: 3px; position: relative; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.hero-story:hover .hero-image img { transform: scale(1.02); }
.img-caption { font-size: 12px; color: var(--light); font-style: italic; margin: -4px 0 8px; }
.cat-badge { font-size: 12px; font-weight: 700; color: var(--red); text-transform: uppercase; margin-bottom: 6px; display: block; letter-spacing: .5px; font-family: 'Hind Siliguri', sans-serif; }
.hero-story h1 { font-size: 24px; font-weight: 800; line-height: 1.4; margin-bottom: 8px; }
.hero-story h1 a:hover { color: var(--red); }
.story-summary { font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 8px; }
.meta-time { font-size: 13px; color: var(--light); font-family: 'Hind Siliguri', sans-serif; }

/* ============================================================
   SUB STORIES
   ============================================================ */
.sub-stories {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  border-top: 2px solid var(--red); padding-top: 14px; margin-bottom: 16px;
}
.sub-story .thumb { aspect-ratio: 16/9; overflow: hidden; margin-bottom: 8px; border-radius: 3px; }
.sub-story .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.sub-story:hover .thumb img { transform: scale(1.04); }
.sub-story h2 { font-size: 15px; font-weight: 700; line-height: 1.5; margin-bottom: 4px; }
.sub-story h2 a:hover { color: var(--red); }

/* ============================================================
   LIST STORIES
   ============================================================ */
.list-stories { border-top: 1px solid var(--border); }
.list-story {
  display: flex; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--border); align-items: flex-start;
}
.list-story:last-child { border-bottom: none; }
.list-story .thumb { width: 110px; height: 80px; flex-shrink: 0; overflow: hidden; border-radius: 3px; }
.list-story .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.list-story:hover .thumb img { transform: scale(1.05); }
.list-story h3 { font-size: 15px; font-weight: 700; line-height: 1.5; margin-bottom: 5px; }
.list-story h3 a:hover { color: var(--red); }
.list-story .summary { font-size: 14px; color: var(--muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px; }

/* ============================================================
   SECTION ROW
   ============================================================ */
.section-row { margin: 20px 0; }
.section-header {
  border-bottom: 3px solid var(--red); margin-bottom: 14px;
  display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px;
}
.section-title { font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 8px; font-family: 'Hind Siliguri', sans-serif; }
.section-title::before { content: ''; width: 4px; height: 22px; background: var(--red); border-radius: 2px; display: inline-block; }
.section-more { font-size: 13px; color: var(--muted); border: 1px solid var(--border); padding: 4px 12px; border-radius: 3px; font-family: 'Hind Siliguri', sans-serif; }
.section-more:hover { border-color: var(--red); color: var(--red); }

/* ---- Card Grids ---- */
.card-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.news-card .thumb { aspect-ratio: 16/9; overflow: hidden; margin-bottom: 8px; border-radius: 3px; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.news-card:hover .thumb img { transform: scale(1.04); }
.news-card h3 { font-size: 15px; font-weight: 700; line-height: 1.5; margin-bottom: 4px; }
.news-card h3 a:hover { color: var(--red); }

/* ---- Lead + Side ---- */
.lead-side { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lead-story .thumb { aspect-ratio: 4/3; overflow: hidden; margin-bottom: 10px; border-radius: 3px; }
.lead-story .thumb img { width: 100%; height: 100%; object-fit: cover; }
.lead-story h3 { font-size: 18px; font-weight: 800; line-height: 1.4; margin-bottom: 6px; }
.lead-story h3 a:hover { color: var(--red); }
.side-list-story { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.side-list-story:first-child { padding-top: 0; }
.side-list-story:last-child { border-bottom: none; }
.side-list-story .thumb { width: 80px; height: 60px; flex-shrink: 0; overflow: hidden; border-radius: 3px; }
.side-list-story .thumb img { width: 100%; height: 100%; object-fit: cover; }
.side-list-story h4 { font-size: 14px; font-weight: 700; line-height: 1.5; }
.side-list-story h4 a:hover { color: var(--red); }

/* ---- Opinion ---- */
.opinion-card { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.opinion-card:last-child { border-bottom: none; }
.author-avatar { width: 54px; height: 54px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--bg-gray); }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name { font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 3px; font-family: 'Hind Siliguri', sans-serif; }
.opinion-card h4 { font-size: 14px; font-weight: 700; line-height: 1.5; }
.opinion-card h4 a:hover { color: var(--red); }

/* ============================================================
   AD ZONES
   ============================================================ */
.ad-zone { margin: 12px 0; text-align: center; overflow: hidden; width: 100%; }
.ad-zone > * { max-width: 100% !important; }
.ad-zone-728 { min-height: 90px; }
.ad-zone-300 { min-height: 250px; }
.ad-zone-inline { min-height: 250px; margin: 20px 0; }

/* ============================================================
   SHARE BUTTONS
   ============================================================ */
.share-bar { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 3px; font-size: 14px; font-weight: 700; color: #fff; cursor: pointer; border: none; font-family: 'Hind Siliguri', sans-serif; }
.share-btn.fb { background: #1877f2; } .share-btn.wa { background: #25d366; }
.share-btn.tw { background: #1da1f2; } .share-btn.cp { background: var(--muted); }
.share-btn:hover { opacity: .85; }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.article-body { min-width: 0; }
.article-header h1 { font-size: 27px; font-weight: 800; line-height: 1.4; margin-bottom: 12px; }
.article-meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 14px; color: var(--muted); padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 16px; font-family: 'Hind Siliguri', sans-serif; }
.article-meta .author { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); }
.article-meta .author img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.article-featured-img { aspect-ratio: 16/9; overflow: hidden; margin-bottom: 8px; border-radius: 3px; }
.article-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.article-content { font-size: 18px; line-height: 1.9; color: var(--text); }
.article-content p { margin-bottom: 18px; }
.article-content h2 { font-size: 22px; font-weight: 800; margin: 26px 0 12px; }
.article-content h3 { font-size: 19px; font-weight: 700; margin: 22px 0 10px; }
.article-content img { max-width: 100%; border-radius: 3px; margin: 14px 0; }
.article-content blockquote { border-left: 4px solid var(--red); padding: 12px 18px; background: var(--bg-gray); font-style: italic; margin: 18px 0; border-radius: 0 3px 3px 0; font-size: 17px; }
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--border); }
.tag-pill { background: var(--bg-gray); border: 1px solid var(--border); padding: 4px 12px; border-radius: 20px; font-size: 13px; font-family: 'Hind Siliguri', sans-serif; }
.tag-pill:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-box { background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); color: #fff; padding: 28px 20px; border-radius: 4px; text-align: center; margin: 22px 0; }
.newsletter-box h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.newsletter-box p  { font-size: 15px; opacity: .9; margin-bottom: 16px; }
.newsletter-form { display: flex; gap: 8px; max-width: 440px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 10px 14px; border: none; border-radius: 3px; font-size: 15px; font-family: var(--font); min-width: 0; }
.newsletter-form button { background: #fff; color: var(--red); border: none; padding: 10px 20px; border-radius: 3px; font-weight: 700; cursor: pointer; font-family: 'Hind Siliguri', sans-serif; font-size: 15px; white-space: nowrap; }

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
.search-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.75); z-index: 400; align-items: flex-start; justify-content: center; padding-top: 80px; }
.search-overlay.open { display: flex; }
.search-box { background: var(--bg); width: 90%; max-width: 600px; border-radius: 4px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.3); }
.search-input { width: 100%; padding: 18px 22px; font-size: 18px; border: none; outline: none; background: var(--bg); color: var(--text); font-family: var(--font); }
.search-close { position: absolute; top: 24px; right: 24px; background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--bg-dark); color: #94a3b8; margin-top: 30px; width: 100%; }
.footer-top { padding: 30px 0 22px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; border-bottom: 1px solid #1e293b; }
.footer-brand .logo-bangla { font-size: 24px; font-weight: 800; color: var(--red); margin-bottom: 10px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: #64748b; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: #e2e8f0; margin-bottom: 12px; border-bottom: 1px solid #1e293b; padding-bottom: 6px; font-family: 'Hind Siliguri', sans-serif; }
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a { font-size: 14px; color: #64748b; }
.footer-col ul li a:hover { color: #e2e8f0; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; background: #1e293b; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #94a3b8; }
.footer-social a:hover { background: var(--red); color: #fff; }
.footer-bottom { padding: 14px 0; display: flex; justify-content: space-between; font-size: 12px; color: #475569; font-family: 'Hind Siliguri', sans-serif; }

/* ============================================================
   MOBILE BOTTOM NAV
   ============================================================ */
.mobile-bottom-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; width: 100%; background: var(--bg); border-top: 1px solid var(--border); z-index: 200; height: 54px; }
.mobile-bottom-nav ul { display: flex; height: 100%; width: 100%; }
.mobile-bottom-nav ul li { flex: 1; }
.mobile-bottom-nav ul li a { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; font-size: 11px; color: var(--muted); gap: 3px; font-family: 'Hind Siliguri', sans-serif; }
.mobile-bottom-nav ul li a svg { width: 20px; height: 20px; }
.mobile-bottom-nav ul li a.active, .mobile-bottom-nav ul li a:hover { color: var(--red); }

/* ---- Nav Drawer ---- */
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 299; }
.nav-overlay.show { display: block; }
.nav-drawer { position: fixed; top: 0; left: 0; width: 280px; height: 100%; background: var(--bg); z-index: 300; transform: translateX(-100%); transition: transform .3s; overflow-y: auto; box-shadow: 3px 0 20px rgba(0,0,0,.2); }
.nav-drawer.open { transform: translateX(0); }
.drawer-header { background: var(--red); padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; }
.drawer-header .logo-bangla { font-size: 22px; font-weight: 800; color: #fff; }
.drawer-close { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; line-height: 1; }
.drawer-list li a { display: block; padding: 13px 18px; font-size: 16px; border-bottom: 1px solid var(--border); color: var(--text); font-weight: 600; }
.drawer-list li a:hover { background: var(--bg-gray); color: var(--red); }

/* ---- Pagination ---- */
.pagination { display: flex; gap: 5px; justify-content: center; padding: 22px 0; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 6px; border: 1px solid var(--border); font-size: 14px; border-radius: 3px; color: var(--text); font-family: 'Hind Siliguri', sans-serif; }
.pagination a:hover { border-color: var(--red); color: var(--red); }
.pagination .current { background: var(--red); color: #fff; border-color: var(--red); }

/* ---- Alerts ---- */
.alert { padding: 12px 18px; border-radius: 3px; margin-bottom: 16px; font-size: 15px; font-family: 'Hind Siliguri', sans-serif; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info    { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

.vid-badge { position: absolute; bottom: 5px; left: 5px; background: rgba(0,0,0,.8); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 2px; font-family: 'Hind Siliguri', sans-serif; }

/* Print */
@media print {
  .main-nav,.topbar,.breaking-bar,.sidebar-right,.sidebar-left,.share-bar,.mobile-bottom-nav,.site-footer,.ad-zone { display: none !important; }
  .article-layout { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1200px) {
  .main-grid { grid-template-columns: 250px 1fr; }
  .sidebar-right { display: none; }
  .header-ad-zone { display: none; }
  .card-grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .lead-side { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — MOBILE  ← THE KEY FIX
   ============================================================ */
@media (max-width: 767px) {
  html { font-size: 16px; }
  body { padding-bottom: 54px; }

  /* Full width everything */
  .container { padding: 0 12px; width: 100%; }
  .site-main  { padding: 12px 0; }

  /* Hide topbar */
  .topbar { display: none; }

  /* Header */
  .site-header { padding: 8px 0; }
  .site-header .container { flex-wrap: nowrap; gap: 8px; }
  .header-ad-zone, .header-actions .btn-search { display: none; }
  .logo-bangla { font-size: 26px; }
  .logo-english { display: none; }

  /* Nav */
  .nav-list { display: none; }
  .hamburger { display: flex; }
  .mobile-bottom-nav { display: block; }

  /* 1 column layout — FULL WIDTH */
  .main-grid {
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
  }
  .sidebar-left, .sidebar-right { display: none; }

  /* Hero full width */
  .hero-story h1 { font-size: 20px; }

  /* Sub stories — single column on mobile */
  .sub-stories { grid-template-columns: 1fr; gap: 12px; }

  /* List story */
  .list-story { gap: 10px; padding: 10px 0; }
  .list-story .thumb { width: 88px; height: 66px; flex-shrink: 0; }
  .list-story h3 { font-size: 15px; }
  .list-story .summary { display: none; }

  /* Cards — 2 col then 1 col */
  .card-grid-4, .card-grid-3 { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* Lead side single col */
  .lead-side { grid-template-columns: 1fr; gap: 16px; }
  .lead-story h3 { font-size: 17px; }
  .side-list-story .thumb { width: 76px; height: 57px; }

  /* Section */
  .section-title { font-size: 17px; }
  .section-more  { font-size: 12px; padding: 3px 8px; }

  /* Article */
  .article-layout { grid-template-columns: 1fr; }
  .article-header h1 { font-size: 21px; }
  .article-content { font-size: 16px; line-height: 1.85; }

  /* Footer — 2 columns */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 18px; padding: 22px 0 16px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }

  /* Newsletter */
  .newsletter-form { flex-direction: column; gap: 8px; }
  .newsletter-box { padding: 20px 14px; }

  /* Ad — no overflow */
  .ad-zone { overflow: hidden; max-width: 100%; }
  .ad-zone > ins, .ad-zone > div, .ad-zone > iframe, .ad-zone > script + ins {
    max-width: 100% !important; width: 100% !important;
  }

  /* Breaking ticker larger on mobile */
  .breaking-label { font-size: 13px; padding: 0 12px; }
  .ticker-item { font-size: 15px; }
  .breaking-bar { height: 40px; }

  /* Share */
  .share-btn { padding: 8px 12px; font-size: 13px; }
}

@media (max-width: 480px) {
  .card-grid-4, .card-grid-3 { grid-template-columns: 1fr; }
  .sub-stories { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .list-story .thumb { width: 80px; height: 60px; }
}

/* Shimmer skeleton */
.shimmer { background: linear-gradient(90deg,#e8e8e8 25%,#f5f5f5 50%,#e8e8e8 75%); background-size: 200%; animation: shimmer 1.5s infinite; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
