/*
Theme Name: Sajha Samachar
Theme URI: https://example.com/sajha-samachar
Author: OpenAI
Description: A Nepali newsroom theme with a bold editorial homepage, responsive story feeds, live market widgets, and flexible ad placements.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: sajha-samachar
*/

:root {
  --ink: #16243d;
  --muted: #748096;
  --red: #d62931;
  --blue: #194b9b;
  --line: #e7eaf0;
  --soft: #f5f6f8;
  --paper: #fff;
  --container: 1240px;
  --shadow: 0 10px 28px rgba(19, 35, 64, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Noto Sans Devanagari", "Mukta", "Nirmala UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; padding: 8px 14px; background: #fff; }
.skip-link:focus { left: 8px; }

.utility-bar { min-height: 34px; background: #f7f8fa; color: #657187; font-size: 12px; border-bottom: 1px solid var(--line); }
.utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.utility-links { display: flex; gap: 18px; align-items: center; }
.utility-date { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #e03c42; display: inline-block; box-shadow: 0 0 0 3px rgba(224,60,66,.12); }

.masthead { padding: 20px 0 16px; }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.brand-mark { height: 47px; width: 47px; flex: 0 0 47px; display: grid; place-items: center; border-radius: 12px 4px 12px 4px; color: #fff; font-size: 19px; line-height: 1; font-weight: 900; letter-spacing: -2px; background: linear-gradient(135deg, var(--blue) 0 47%, var(--red) 48% 100%); box-shadow: 0 5px 12px rgba(22, 65, 134, .18); }
.brand-name { color: #183d7e; font-weight: 900; font-size: clamp(27px, 3.2vw, 43px); letter-spacing: -1.8px; line-height: 1.12; }
.brand-name span { color: var(--red); }
.brand-tagline { display: block; color: #8590a2; font-size: 11px; letter-spacing: .4px; margin-top: 3px; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { display: block; width: auto; max-width: min(360px, 55vw); max-height: 76px; object-fit: contain; }
.masthead-tools { display: flex; align-items: center; gap: 12px; }
.search-form { display: flex; height: 42px; border: 1px solid #e0e4eb; border-radius: 4px; overflow: hidden; background: #fff; }
.search-form input { width: 205px; padding: 0 13px; border: 0; outline: 0; color: var(--ink); font-size: 13px; }
.search-form button { width: 43px; border: 0; background: var(--red); color: #fff; cursor: pointer; font-size: 18px; }
.language-link { color: var(--blue); font-weight: 700; font-size: 12px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 3px; }

.primary-nav { background: var(--blue); color: #fff; position: relative; z-index: 20; box-shadow: 0 4px 12px rgba(13,46,99,.13); }
.nav-inner { display: flex; align-items: center; min-height: 48px; }
.menu-toggle { display: none; border: 0; color: #fff; background: transparent; font-size: 23px; padding: 5px 12px 5px 0; cursor: pointer; }
.primary-menu, .primary-menu ul { display: flex; list-style: none; margin: 0; padding: 0; align-items: center; }
.primary-menu { width: 100%; justify-content: space-between; }
.primary-menu a { display: block; padding: 12px 10px; font-size: 14px; font-weight: 700; white-space: nowrap; transition: background .16s ease; }
.primary-menu a:hover, .primary-menu .current-menu-item > a { color: #fff; background: rgba(255,255,255,.13); }
.primary-menu .menu-item-has-children { position: relative; }
.primary-menu .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 190px; padding: 7px; background: #fff; color: var(--ink); box-shadow: var(--shadow); border: 1px solid var(--line); }
.primary-menu .menu-item-has-children:hover > .sub-menu, .primary-menu .menu-item-has-children:focus-within > .sub-menu { display: block; }
.primary-menu .sub-menu a { padding: 9px 11px; }

.market-ticker { background: #fbfbfc; border-bottom: 1px solid var(--line); overflow: hidden; }
.market-ticker-inner { min-height: 42px; display: flex; align-items: center; gap: 15px; overflow: hidden; }
.ticker-label { flex: 0 0 auto; color: #fff; background: var(--red); padding: 5px 12px; border-radius: 2px; font-size: 11px; font-weight: 800; letter-spacing: .3px; }
.ticker-track { display: flex; align-items: center; gap: 24px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; color: #5b6679; font-size: 12px; }
.ticker-track::-webkit-scrollbar { display: none; }
.ticker-item { display: inline-flex; align-items: center; gap: 7px; }
.ticker-item strong { color: var(--ink); font-size: 13px; }
.ticker-item em { font-style: normal; color: #2a9563; }
.ticker-item em.down { color: #d34343; }

.breaking-strip { display: flex; align-items: stretch; min-height: 41px; margin: 18px auto 0; border: 1px solid #f0d4d5; background: #fffafa; }
.breaking-label { flex: 0 0 auto; color: #fff; background: var(--red); padding: 8px 14px; font-size: 12px; font-weight: 800; }
.breaking-list { display: flex; align-items: center; gap: 26px; overflow: hidden; padding: 0 14px; white-space: nowrap; font-size: 13px; font-weight: 700; }
.breaking-list a { overflow: hidden; text-overflow: ellipsis; }
.breaking-list a + a:before { content: "•"; color: #c3c8d2; margin-right: 26px; }

.ad-wrap { position: relative; min-height: 1px; margin: 22px auto; text-align: center; }
.ad-label { display: block; margin-bottom: 6px; color: #a1a8b3; text-transform: uppercase; letter-spacing: 1.2px; font-size: 9px; line-height: 1.3; }
.ad-content { display: flex; align-items: center; justify-content: center; min-height: 0; overflow: hidden; }
.ad-content:empty { display: none; }
.ad-content img { margin-inline: auto; max-height: 280px; object-fit: contain; }
.ad-content iframe { max-width: 100%; }
.ad-wrap:has(.ad-content:empty) { margin: 0; }

.widget-row { display: grid; grid-template-columns: 1.05fr repeat(4, 1fr); gap: 0; margin: 22px auto 26px; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; background: #fff; box-shadow: 0 4px 15px rgba(22,36,61,.04); }
.widget-card { min-height: 74px; display: flex; align-items: center; gap: 12px; padding: 13px 17px; border-right: 1px solid var(--line); }
.widget-card:last-child { border-right: 0; }
.widget-icon { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 50%; background: #f3f6fb; color: var(--blue); font-size: 17px; }
.widget-copy { min-width: 0; }
.widget-label { display: block; color: #7d8798; font-size: 10px; font-weight: 700; line-height: 1.25; text-transform: uppercase; letter-spacing: .65px; }
.widget-value { display: block; margin-top: 2px; font-weight: 800; font-size: 15px; line-height: 1.35; color: var(--ink); }
.widget-meta { display: block; color: #a0a7b3; font-size: 10px; line-height: 1.3; }
.widget-card.gold .widget-icon { background: #fff7e6; color: #b58419; }
.widget-card.silver .widget-icon { background: #f1f3f6; color: #748096; }
.widget-card.weather .widget-icon { background: #ecf6ff; color: #2879b8; }
.widget-source { display: inline-block; margin-left: 5px; font-size: 9px; color: var(--blue); font-weight: 600; }

.page-main { padding-bottom: 60px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 0 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.section-heading h2, .section-heading h1 { margin: 0; font-size: 20px; font-weight: 900; line-height: 1.3; }
.section-heading h2:before, .section-heading h1:before { content: ""; display: inline-block; width: 5px; height: 20px; background: var(--red); vertical-align: -3px; margin-right: 9px; border-radius: 1px; }
.section-heading a { color: var(--blue); font-size: 12px; font-weight: 700; }
.section-block { margin: 34px auto; }

.lead-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .85fr); gap: 28px; align-items: start; }
.lead-story { position: relative; overflow: hidden; background: #0f1e37; border-radius: 4px; color: #fff; min-height: 390px; isolation: isolate; }
.lead-story > a { display: block; min-height: inherit; }
.lead-story img { width: 100%; height: 400px; object-fit: cover; opacity: .82; transition: transform .5s ease; }
.lead-story:hover img { transform: scale(1.025); }
.lead-story:after { content: ""; position: absolute; inset: 25% 0 0; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(9,19,39,.92)); z-index: 0; }
.lead-story-copy { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 24px; }
.story-kicker { display: inline-block; padding: 4px 9px; margin-bottom: 10px; color: #fff; background: var(--red); border-radius: 2px; font-size: 11px; font-weight: 800; }
.lead-story h1 { max-width: 840px; margin: 0 0 9px; color: #fff; font-size: clamp(26px, 3vw, 42px); font-weight: 900; line-height: 1.28; }
.lead-story .story-excerpt { max-width: 820px; margin: 0; color: rgba(255,255,255,.84); font-size: 14px; line-height: 1.65; }
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 13px; margin-top: 11px; color: #aab3c2; font-size: 11px; }
.lead-story .story-meta { color: rgba(255,255,255,.76); }
.lead-side { display: flex; flex-direction: column; gap: 14px; }
.side-story { display: grid; grid-template-columns: 126px 1fr; gap: 13px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.side-story:last-child { border-bottom: 0; }
.side-story img { width: 126px; height: 90px; object-fit: cover; border-radius: 3px; }
.side-story h3 { margin: 2px 0 0; font-size: 15px; font-weight: 800; line-height: 1.5; }
.side-story .story-meta { margin-top: 5px; font-size: 10px; }
.image-placeholder { min-height: 100px; background: linear-gradient(135deg, #e9edf3, #dbe3f0 48%, #eff1f4); }

.latest-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; }
.story-feed { border-top: 1px solid var(--line); }
.feed-story { display: grid; grid-template-columns: 204px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.feed-story img { width: 204px; height: 132px; object-fit: cover; border-radius: 3px; }
.feed-story h3 { margin: 2px 0 6px; font-size: 20px; font-weight: 850; line-height: 1.45; }
.feed-story p { margin: 0; color: #68758a; font-size: 13px; line-height: 1.65; }
.feed-story .story-meta { margin-top: 7px; }
.sidebar-block { padding: 17px; border: 1px solid var(--line); border-radius: 4px; margin-bottom: 20px; }
.sidebar-title { margin: 0 0 11px; padding-bottom: 8px; border-bottom: 2px solid #f0f2f5; font-size: 16px; font-weight: 900; }
.sidebar-list { margin: 0; padding: 0; list-style: none; counter-reset: sidebar; }
.sidebar-list li { counter-increment: sidebar; position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid #f0f1f4; font-size: 13px; font-weight: 700; line-height: 1.5; }
.sidebar-list li:last-child { border-bottom: 0; }
.sidebar-list li:before { content: counter(sidebar, decimal-leading-zero); position: absolute; top: 9px; left: 0; color: var(--red); font-size: 16px; font-weight: 900; }

.category-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-card { min-width: 0; }
.category-card .category-feature { display: block; }
.category-card .category-feature img { width: 100%; height: 155px; object-fit: cover; border-radius: 3px; }
.category-card h3 { margin: 9px 0 0; font-size: 15px; font-weight: 850; line-height: 1.5; }
.category-card .category-list { list-style: none; margin: 8px 0 0; padding: 0; }
.category-card .category-list li { padding: 7px 0 7px 13px; border-top: 1px solid var(--line); position: relative; font-size: 12px; font-weight: 650; line-height: 1.45; }
.category-card .category-list li:before { content: "›"; position: absolute; left: 0; top: 5px; color: var(--red); font-size: 16px; font-weight: 800; }
.web-stories { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.web-story { position: relative; min-height: 210px; overflow: hidden; border-radius: 5px; background: #1a2d50; color: #fff; }
.web-story img { width: 100%; height: 210px; object-fit: cover; opacity: .78; }
.web-story:after { content: ""; position: absolute; inset: 38% 0 0; background: linear-gradient(transparent,rgba(9,19,39,.88)); }
.web-story h3 { position: absolute; z-index: 1; bottom: 12px; left: 13px; right: 13px; margin: 0; font-size: 14px; line-height: 1.45; font-weight: 850; }

.archive-heading { margin: 25px auto 20px; padding: 18px 0 14px; border-bottom: 1px solid var(--line); }
.archive-heading h1 { margin: 0; font-size: 30px; font-weight: 900; }
.archive-description { max-width: 760px; color: #6c788a; font-size: 14px; }
.pagination { margin: 25px 0; display: flex; gap: 7px; }
.pagination .page-numbers { display: inline-grid; min-width: 36px; height: 36px; padding: 0 10px; place-items: center; border: 1px solid var(--line); border-radius: 3px; font-size: 12px; font-weight: 700; }
.pagination .current { background: var(--blue); border-color: var(--blue); color: #fff; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; margin-top: 24px; }
.article-header { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; gap: 8px; align-items: center; margin: 0 0 13px; color: #788397; font-size: 11px; }
.breadcrumbs span { color: #bcc2cc; }
.article-category { color: var(--red); font-size: 12px; font-weight: 850; }
.article-title { margin: 6px 0 10px; font-size: clamp(29px, 4.2vw, 48px); line-height: 1.32; letter-spacing: -.5px; font-weight: 900; }
.article-summary { margin: 0; color: #57667e; font-size: 18px; line-height: 1.7; font-weight: 550; }
.article-byline { display: flex; align-items: center; gap: 10px; margin-top: 15px; color: #657187; font-size: 12px; }
.author-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); font-weight: 800; }
.article-feature-image { margin: 20px 0 8px; }
.article-feature-image img { width: 100%; height: auto; max-height: 600px; object-fit: cover; border-radius: 4px; }
.article-feature-image figcaption { margin-top: 5px; color: #8b94a3; font-size: 11px; }
.article-body { color: #27344b; font-family: Georgia, "Noto Serif Devanagari", serif; font-size: 18px; line-height: 1.95; }
.article-body p { margin: 0 0 1.35em; }
.article-body h2, .article-body h3 { font-family: "Noto Sans Devanagari", "Mukta", Arial, sans-serif; line-height: 1.4; }
.article-body blockquote { margin: 24px 0; padding: 14px 20px; border-left: 4px solid var(--red); background: #f7f8fa; font-size: 20px; font-weight: 700; }
.article-share { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.article-share a { padding: 7px 12px; border-radius: 3px; color: #fff; background: var(--blue); font-size: 11px; font-weight: 800; }
.article-share a:last-child { background: #252d38; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; margin-top: 18px; }
.related-grid img { height: 110px; width: 100%; object-fit: cover; border-radius: 3px; }
.related-grid h3 { margin: 7px 0 0; font-size: 13px; line-height: 1.45; }

.site-footer { background: #122746; color: #d4dbe6; margin-top: 30px; }
.footer-top { padding: 40px 0 32px; display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 36px; }
.footer-brand .brand-name { color: #fff; font-size: 30px; }
.footer-brand p { max-width: 370px; color: #abb8ca; font-size: 12px; line-height: 1.7; }
.footer-column h2 { color: #fff; font-size: 14px; margin: 0 0 12px; }
.footer-column ul { list-style: none; margin: 0; padding: 0; }
.footer-column li { margin: 7px 0; color: #b6c2d1; font-size: 12px; }
.footer-bottom { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.13); color: #a9b5c5; font-size: 11px; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 15px; }
.mobile-bottom-nav { display: none; }

.empty-state { padding: 40px 20px; background: var(--soft); text-align: center; border-radius: 4px; }
.empty-state h2 { margin: 0 0 5px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 980px) {
  .primary-menu a { padding-inline: 7px; font-size: 12px; }
  .widget-row { grid-template-columns: repeat(2,1fr); }
  .widget-card:nth-child(2) { border-right: 0; }
  .widget-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .lead-grid { grid-template-columns: minmax(0, 1.45fr) minmax(240px, .8fr); gap: 20px; }
  .lead-story, .lead-story img { min-height: 350px; height: 350px; }
  .side-story { grid-template-columns: 105px 1fr; gap: 10px; }
  .side-story img { width: 105px; height: 78px; }
  .side-story h3 { font-size: 13px; }
  .latest-layout, .article-layout { grid-template-columns: minmax(0,1fr) 260px; gap: 22px; }
  .category-mosaic { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 680px) {
  body { padding-bottom: 58px; font-size: 15px; }
  .container { width: min(100% - 26px, var(--container)); }
  .utility-inner { min-height: 30px; font-size: 10px; }
  .utility-links { gap: 10px; }
  .utility-links a:nth-child(n+3) { display: none; }
  .masthead { padding: 14px 0 12px; }
  .masthead-inner { gap: 10px; }
  .brand-mark { width: 39px; height: 39px; flex-basis: 39px; font-size: 16px; }
  .brand-name { font-size: 25px; letter-spacing: -1px; }
  .brand-tagline { font-size: 8px; }
  .masthead-tools { gap: 6px; }
  .search-form { height: 36px; }
  .search-form input { width: min(32vw, 120px); padding-inline: 8px; font-size: 11px; }
  .search-form button { width: 34px; font-size: 16px; }
  .language-link { padding: 7px 6px; font-size: 10px; }
  .nav-inner { min-height: 42px; }
  .menu-toggle { display: inline-block; }
  .primary-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; width: 100%; max-height: calc(100vh - 130px); overflow: auto; padding: 5px 13px 12px; background: var(--blue); box-shadow: var(--shadow); }
  .primary-nav.is-open .primary-menu { display: block; }
  .primary-menu li { border-top: 1px solid rgba(255,255,255,.13); }
  .primary-menu a { padding: 10px 4px; font-size: 14px; }
  .primary-menu .sub-menu { display: block; position: static; min-width: 0; padding: 0 0 5px 14px; background: transparent; border: 0; box-shadow: none; color: #fff; }
  .primary-menu .sub-menu a { font-size: 12px; }
  .market-ticker-inner { min-height: 38px; gap: 9px; }
  .ticker-label { font-size: 9px; padding: 5px 8px; }
  .ticker-track { gap: 17px; font-size: 10px; }
  .ticker-item strong { font-size: 11px; }
  .breaking-strip { margin-top: 12px; min-height: 36px; }
  .breaking-label { padding: 6px 9px; font-size: 10px; }
  .breaking-list { gap: 12px; padding-inline: 9px; font-size: 11px; }
  .breaking-list a + a:before { margin-right: 12px; }
  .ad-wrap { margin: 14px auto; }
  .widget-row { grid-template-columns: repeat(2,1fr); margin: 14px auto 19px; }
  .widget-card { min-height: 64px; gap: 8px; padding: 9px 10px; }
  .widget-icon { width: 30px; height: 30px; flex-basis: 30px; font-size: 14px; }
  .widget-label { font-size: 8px; }
  .widget-value { font-size: 12px; }
  .widget-meta { font-size: 8px; }
  .section-heading { margin-bottom: 10px; }
  .section-heading h2, .section-heading h1 { font-size: 17px; }
  .section-heading h2:before, .section-heading h1:before { height: 17px; width: 4px; }
  .section-block { margin: 25px auto; }
  .lead-grid { display: block; }
  .lead-story, .lead-story img { min-height: 300px; height: 300px; }
  .lead-story h1 { font-size: 25px; }
  .lead-story-copy { left: 16px; right: 16px; bottom: 16px; }
  .lead-story .story-excerpt { display: none; }
  .story-kicker { font-size: 9px; margin-bottom: 6px; }
  .story-meta { font-size: 9px; margin-top: 7px; }
  .lead-side { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 13px; }
  .side-story { display: block; padding: 0; border: 0; }
  .side-story img { width: 100%; height: 100px; }
  .side-story h3 { margin-top: 6px; font-size: 12px; line-height: 1.45; }
  .side-story .story-meta { display: none; }
  .latest-layout, .article-layout { display: block; }
  .latest-sidebar, .article-sidebar { margin-top: 26px; }
  .feed-story { grid-template-columns: 110px 1fr; gap: 11px; padding: 12px 0; }
  .feed-story img { width: 110px; height: 80px; }
  .feed-story h3 { margin: 0; font-size: 14px; line-height: 1.45; }
  .feed-story p { display: none; }
  .feed-story .story-meta { font-size: 9px; margin-top: 5px; }
  .category-mosaic { grid-template-columns: 1fr 1fr; gap: 12px; }
  .category-card .category-feature img { height: 105px; }
  .category-card h3 { font-size: 12px; line-height: 1.45; }
  .category-card .category-list li { font-size: 10px; padding-block: 5px; }
  .web-stories { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .web-story, .web-story img { min-height: 170px; height: 170px; }
  .web-story:nth-child(n+5) { display: none; }
  .web-story h3 { font-size: 12px; }
  .archive-heading { margin-top: 15px; }
  .archive-heading h1 { font-size: 24px; }
  .article-title { font-size: 28px; line-height: 1.42; }
  .article-summary { font-size: 15px; }
  .article-body { font-size: 16px; line-height: 1.9; }
  .article-body img { width: 100%; height: auto; }
  .related-grid { grid-template-columns: repeat(2,1fr); }
  .related-grid > :nth-child(n+3) { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 22px 15px; padding-top: 28px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-brand .brand-name { font-size: 26px; }
  .footer-bottom-inner { display: block; }
  .mobile-bottom-nav { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4,1fr); height: 56px; background: rgba(255,255,255,.98); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(19,35,64,.08); }
  .mobile-bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: #637086; font-size: 9px; line-height: 1.15; font-weight: 700; }
  .mobile-bottom-nav span { font-size: 17px; line-height: 1.2; }
}
