/* ضنية الحدث — تصميم الواجهة العامة */
:root {
  --red: #d7141a;
  --red-dark: #a80f14;
  --ink: #121212;
  --ink-2: #2b2b2b;
  --muted: #6f6f6f;
  --line: #e5e5e5;
  --bg: #f3f3f3;
  --card: #fff;
  --dark: #141414;
  --dark-2: #1f1f1f;
  --cat: var(--red);
  --radius: 6px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.05);
  --font: 'Tajawal', system-ui, 'Segoe UI', Tahoma, sans-serif;
  --wrap: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.35; margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
.ico { width: 1em; height: 1em; flex-shrink: 0; vertical-align: -.125em; }
.skip { position: absolute; inset-inline-start: -999px; top: 0; background: var(--red); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { inset-inline-start: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* الشريط العلوي */
.topbar { background: var(--dark); color: #cfcfcf; font-size: 13px; }
.topbar-in { display: flex; align-items: center; gap: 20px; min-height: 36px; }
.toplinks { display: flex; gap: 16px; }
.toplinks a:hover { color: #fff; }
.social { display: flex; gap: 4px; margin-inline-start: auto; }
.social a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #cfcfcf; transition: background .2s, color .2s; }
.social a:hover { background: var(--red); color: #fff; }
.social .ico { width: 14px; height: 14px; }

/* الترويسة والشعار */
.masthead { background: #fff; border-bottom: 1px solid var(--line); }
.masthead-in { display: flex; align-items: center; gap: 20px; min-height: 96px; }
.logo { display: inline-flex; align-items: stretch; font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: -.5px; }
.logo span { display: inline-flex; align-items: center; padding: 8px 12px 6px; }
.logo-a { color: var(--ink); background: #fff; border: 3px solid var(--ink); border-inline-end: 0; }
.logo-b { color: #fff; background: var(--red); border: 3px solid var(--red); position: relative; }
.logo-b::after { content: ''; position: absolute; inset-inline-end: -10px; top: 50%; transform: translateY(-50%); width: 6px; height: 60%; background: var(--red); }
.logo:hover { color: inherit; }
.logo-sm { font-size: 22px; }
.logo-inverse .logo-a { background: transparent; color: #fff; border-color: #fff; }
.tagline { margin: 0; color: var(--muted); font-size: 14px; padding-inline-start: 22px; border-inline-start: 1px solid var(--line); }
.search { display: flex; margin-inline-start: auto; background: var(--bg); border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.search input { border: 0; background: transparent; padding: 10px 16px; font: inherit; min-width: 240px; outline: none; color: var(--ink); }
.search button { border: 0; background: transparent; padding: 0 14px; color: var(--muted); display: grid; place-items: center; }
.search button:hover { color: var(--red); }
.search .ico { width: 18px; height: 18px; }
.icon-btn { display: none; place-items: center; width: 42px; height: 42px; border: 0; background: transparent; border-radius: 50%; color: var(--ink); }
.icon-btn .ico { width: 24px; height: 24px; }
.icon-btn:hover { background: var(--bg); }

/* القائمة الرئيسية */
.mainnav { background: var(--red); position: sticky; top: 0; z-index: 40; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.mainnav-in { display: flex; overflow-x: auto; scrollbar-width: none; }
.mainnav-in::-webkit-scrollbar { display: none; }
.mainnav a { color: #fff; font-weight: 700; font-size: 15.5px; padding: 13px 16px; white-space: nowrap; position: relative; transition: background .15s; }
.mainnav a:hover, .mainnav a.is-active { background: var(--red-dark); color: #fff; }
.mainnav a.is-active::after { content: ''; position: absolute; inset-inline: 16px; bottom: 6px; height: 3px; background: #fff; border-radius: 2px; }

/* القائمة الجانبية للهاتف */
.drawer { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.55); }
.drawer[hidden] { display: none; }
.drawer-panel { position: absolute; inset-block: 0; inset-inline-start: 0; width: min(86vw, 340px); background: #fff; overflow-y: auto; padding: 16px; animation: slide-in .22s ease-out; }
@keyframes slide-in { from { transform: translateX(100%); } to { transform: none; } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.drawer-head .icon-btn { display: grid; }
.search-drawer { margin: 0 0 12px; }
.search-drawer input { min-width: 0; width: 100%; }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-weight: 700; display: flex; align-items: center; gap: 10px; }
.drawer-nav a i { width: 8px; height: 8px; border-radius: 2px; background: var(--cat); }

/* شريط العاجل */
.ticker { background: #fff; border-bottom: 1px solid var(--line); }
.ticker-in { display: flex; align-items: center; gap: 0; height: 46px; }
.ticker-label { background: var(--red); color: #fff; display: inline-flex; align-items: center; gap: 6px; padding: 0 16px; height: 32px; border-radius: 4px; font-size: 15px; flex-shrink: 0; position: relative; z-index: 1; }
.ticker-label .ico { animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.ticker-viewport { overflow: hidden; flex: 1; position: relative; mask-image: linear-gradient(to left, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.ticker-track { display: inline-flex; white-space: nowrap; animation: ticker 60s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-track a { padding-inline: 22px; font-weight: 700; font-size: 15px; position: relative; }
.ticker-track a::before { content: ''; position: absolute; inset-inline-start: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: var(--red); border-radius: 50%; }
.ticker-track time { color: var(--red); margin-inline-end: 8px; font-weight: 800; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* البطاقات */
.card { position: relative; background: var(--card); border-radius: var(--radius); overflow: hidden; }
.card-media { display: block; position: relative; overflow: hidden; background: #ddd; aspect-ratio: 16 / 10; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.ph { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, #2a2a2a, #111); }
.ph span { color: rgba(255,255,255,.18); font-weight: 800; font-size: 22px; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; }
.card-cat { align-self: flex-start; color: var(--cat); font-weight: 800; font-size: 13px; position: relative; padding-inline-start: 10px; }
.card-cat::before { content: ''; position: absolute; inset-inline-start: 0; top: 4px; bottom: 5px; width: 3px; background: var(--cat); border-radius: 2px; }
.card-title { font-size: 17px; font-weight: 700; }
.card-summary { margin: 0; color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-time { color: var(--muted); font-size: 12.5px; display: inline-flex; align-items: center; gap: 5px; }
.badge-urgent { position: absolute; top: 10px; inset-inline-start: 10px; background: var(--red); color: #fff; font-weight: 800; font-size: 12px; padding: 3px 10px; border-radius: 3px; z-index: 2; }
.badge-urgent.static { position: static; display: inline-block; }

.card-tile { box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card-tile .card-title { font-size: 16.5px; }

/* بطاقة فوق الصورة */
.card-overlay, .card-overlay-lg { height: 100%; min-height: 200px; }
.card-overlay .card-media, .card-overlay-lg .card-media { position: absolute; inset: 0; aspect-ratio: auto; }
.card-overlay .card-media::after, .card-overlay-lg .card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 38%, rgba(0,0,0,0) 70%); }
.card-overlay .card-body, .card-overlay-lg .card-body { position: absolute; inset-inline: 0; bottom: 0; color: #fff; padding: 16px; z-index: 1; pointer-events: none; }
.card-overlay .card-body a, .card-overlay-lg .card-body a { pointer-events: auto; }
.card-overlay .card-title a:hover, .card-overlay-lg .card-title a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.card-overlay .card-cat, .card-overlay-lg .card-cat { background: var(--cat); color: #fff; padding: 2px 10px; border-radius: 3px; }
.card-overlay .card-cat::before, .card-overlay-lg .card-cat::before { display: none; }
.card-overlay .card-time, .card-overlay-lg .card-time, .card-overlay-lg .card-summary { color: rgba(255,255,255,.82); }
.card-overlay .card-title { font-size: 17px; }
.card-overlay-lg .card-body { padding: 26px; gap: 10px; }
.card-overlay-lg .card-title { font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; }
.card-overlay-lg .card-summary { -webkit-line-clamp: 2; font-size: 16px; }

/* بطاقة أفقية */
.card-row { display: grid; grid-template-columns: 130px 1fr; gap: 0; box-shadow: var(--shadow); }
.card-row .card-media { aspect-ratio: auto; height: 100%; min-height: 92px; }
.card-row .card-body { padding: 10px 12px; gap: 4px; justify-content: center; }
.card-row .card-title { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-row .badge-urgent { display: none; }

/* بطاقة صغيرة في القوائم */
.card-mini { display: grid; grid-template-columns: 112px 1fr; gap: 12px; background: transparent; border-radius: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.card-mini:first-child { padding-top: 0; }
.card-mini:last-child { border-bottom: 0; padding-bottom: 0; }
.card-mini .card-media { border-radius: 4px; aspect-ratio: 4 / 3; }
.card-mini .card-body { padding: 0; gap: 4px; }
.card-mini .card-title { font-size: 15px; }
.card-mini .badge-urgent { display: none; }

/* بطاقة رئيسية للقسم */
.card-lead .card-body { padding: 16px 4px 0; gap: 8px; }
.card-lead { background: transparent; }
.card-lead .card-media { border-radius: var(--radius); }
.card-lead .card-title { font-size: 22px; font-weight: 800; }

/* الواجهة الرئيسية */
.hero { display: grid; grid-template-columns: 1.55fr 1fr; gap: 12px; margin-top: 18px; }
.hero-main { min-height: 470px; }
.hero-main .card { height: 100%; }
.hero-side { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.hero-side .card-title { font-size: 15.5px; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; margin-top: 28px; margin-bottom: 40px; align-items: start; }
.content { min-width: 0; }
.section { margin-bottom: 34px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--ink); margin-bottom: 16px; }
.sec-head h2 { font-size: 22px; font-weight: 800; background: var(--cat); color: #fff; padding: 6px 16px 4px; border-radius: 4px 4px 0 0; position: relative; }
.sec-head h2 a:hover { color: #fff; }
.section .sec-head { border-bottom-color: var(--cat); }
.sec-more { font-size: 14px; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.sec-more:hover { color: var(--cat); }

.sec-lead { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; background: #fff; padding: 16px; border-radius: var(--radius); box-shadow: var(--shadow); }
.sec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.section-dark { background: var(--dark); border-radius: var(--radius); padding: 18px; color: #fff; }
.section-dark .sec-head { border-bottom-color: #333; }
.section-dark .sec-more { color: #aaa; }
.sec-dark { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; }
.sec-dark .card-overlay-lg { min-height: 360px; }
.sec-dark .card-overlay-lg .card-title { font-size: 24px; }
.sec-dark .card-mini { border-bottom-color: #2e2e2e; }
.sec-dark .card-mini .card-title a:hover { color: #ff6b6f; }
.sec-dark .card-time { color: #9a9a9a; }

/* الشريط الجانبي */
.sidebar { position: sticky; top: 64px; display: flex; flex-direction: column; gap: 22px; }
.widget { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; }
.widget-title { font-size: 19px; font-weight: 800; border-bottom: 2px solid var(--line); margin-bottom: 8px; }
.widget-title span { display: inline-block; border-bottom: 2px solid var(--red); margin-bottom: -2px; padding-bottom: 8px; }
.timeline { list-style: none; margin: 0; padding: 0; max-height: 520px; overflow-y: auto; }
.timeline li { position: relative; padding: 10px 18px 10px 0; border-inline-start: 2px solid var(--line); margin-inline-start: 5px; }
.timeline li::before { content: ''; position: absolute; inset-inline-start: -7px; top: 15px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--red); margin-inline-start: 1px; }
.timeline time { display: block; color: var(--red); font-weight: 800; font-size: 13px; }
.timeline a { font-weight: 700; font-size: 15px; }
.tl-urgent { color: var(--red); }
.widget-more { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 700; color: var(--red); font-size: 14px; }
.ranked { list-style: none; margin: 0; padding: 0; }
.ranked li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ranked li:last-child { border-bottom: 0; }
.rank { font-size: 30px; font-weight: 800; color: var(--red); line-height: 1; min-width: 24px; opacity: .9; }
.ranked a { font-weight: 700; font-size: 15px; display: block; }
.ranked small { color: var(--muted); display: inline-flex; gap: 4px; align-items: center; font-size: 12.5px; margin-top: 4px; }

/* صفحة القسم */
.page-head { padding-top: 24px; }
.page-head h1 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; position: relative; padding-inline-start: 16px; }
.page-head h1::before { content: ''; position: absolute; inset-inline-start: 0; top: 6px; bottom: 8px; width: 6px; border-radius: 3px; background: var(--cat); }
.page-head p { color: var(--muted); margin: 6px 0 0; }
.crumbs { display: flex; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 10px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--red); }
.list-lead { background: #fff; padding: 16px; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 18px; }
.list-lead .card-lead { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: center; }
.list-lead .card-lead .card-body { padding: 0; }
.list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.results { display: flex; flex-direction: column; gap: 12px; }
.results .card-row { grid-template-columns: 220px 1fr; }
.results .card-row .card-title { font-size: 18px; }
.search-page { max-width: 560px; margin: 16px 0 0; background: #fff; }
.search-page input { flex: 1; min-width: 0; }
.empty, .empty-state { background: #fff; padding: 40px; text-align: center; border-radius: var(--radius); color: var(--muted); }
.empty-state { margin-top: 40px; margin-bottom: 40px; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 28px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center; background: #fff; border-radius: 4px; font-weight: 700; box-shadow: var(--shadow); }
.pager .is-current { background: var(--red); color: #fff; }

/* صفحة الخبر */
.article { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 30px 30px; min-width: 0; }
.article-tags { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.article-head h1 { font-size: clamp(25px, 3.4vw, 40px); font-weight: 800; line-height: 1.32; }
.article-lead { font-size: 19px; color: var(--ink-2); margin: 14px 0 0; font-weight: 500; line-height: 1.7; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 14px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.article-meta > * { display: inline-flex; align-items: center; gap: 6px; }
.article-cover { margin: 20px -30px 0; }
.article-cover img { width: 100%; height: auto; max-height: 640px; object-fit: cover; }
.article-cover figcaption { font-size: 13.5px; color: var(--muted); padding: 8px 30px 0; }
.share { display: flex; align-items: center; gap: 8px; margin: 20px 0; flex-wrap: wrap; }
.share > span { font-weight: 800; font-size: 14px; margin-inline-end: 6px; }
.share a, .share button { display: inline-flex; align-items: center; gap: 6px; height: 38px; min-width: 38px; justify-content: center; border-radius: 4px; color: #fff; border: 0; padding: 0 10px; font-size: 14px; font-weight: 700; transition: opacity .2s; }
.share a:hover, .share button:hover { opacity: .85; color: #fff; }
.share .ico { width: 17px; height: 17px; }
.sh-facebook { background: #1877f2; } .sh-x { background: #000; } .sh-whatsapp { background: #25d366; } .sh-telegram { background: #229ed9; }
.sh-copy { background: #555; }
.sh-copy.is-done { background: #1a7f37; }
.prose { font-size: 18.5px; line-height: 2; color: #1d1d1d; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-size: 25px; margin: 1.4em 0 .5em; font-weight: 800; }
.prose h3 { font-size: 21px; margin: 1.3em 0 .5em; font-weight: 800; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 4px; margin: 1em auto; height: auto; }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; background: #faf5f5; border-inline-start: 5px solid var(--red); font-weight: 500; border-radius: 4px; }
.prose ul, .prose ol { padding-inline-start: 1.6em; margin: 0 0 1.1em; }
.prose iframe.ql-video { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 4px; margin: 1em 0; }
.prose .ql-align-center { text-align: center; } .prose .ql-align-left { text-align: left; } .prose .ql-align-justify { text-align: justify; }
.prose .ql-size-large { font-size: 1.3em; } .prose .ql-size-small { font-size: .85em; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0; }
.prevnext a { background: var(--bg); padding: 14px 16px; border-radius: var(--radius); font-weight: 700; display: flex; flex-direction: column; gap: 4px; }
.prevnext small { color: var(--red); font-weight: 800; }
.pn-prev { text-align: left; }
.related { margin-top: 30px; margin-bottom: 0; }
.related .sec-head h2 { background: var(--ink); }
.related .sec-head { border-bottom-color: var(--ink); }
.contact-list { list-style: none; padding: 0 !important; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }

/* التذييل */
.footer { background: var(--dark); color: #bdbdbd; margin-top: 30px; border-top: 4px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.4fr 1fr; gap: 40px; padding-block: 40px; }
.footer-about p { margin: 16px 0; font-size: 15px; max-width: 380px; }
.footer h3 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.footer-links.cols { grid-template-columns: 1fr 1fr; }
.footer-links a:hover { color: #fff; }
.footer .social { margin: 0; }
.social-lg a { width: 36px; height: 36px; background: var(--dark-2); }
.social-lg .ico { width: 16px; height: 16px; }
.footer-bottom { border-top: 1px solid #2a2a2a; padding-block: 16px; font-size: 13.5px; text-align: center; }
.to-top { position: fixed; bottom: 18px; inset-inline-end: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); z-index: 30; }
.to-top[hidden] { display: none; }
.to-top .ico { transform: rotate(90deg); width: 22px; height: 22px; }

/* صفحة الخطأ */
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.error-box { text-align: center; background: #fff; padding: 40px 32px; border-radius: 10px; box-shadow: var(--shadow); max-width: 460px; width: 100%; }
.error-code { font-size: 80px; font-weight: 800; color: var(--red); margin: 20px 0 0; line-height: 1; }
.btn-red { display: inline-block; background: var(--red); color: #fff; padding: 11px 22px; border-radius: 4px; font-weight: 700; margin-top: 10px; }
.btn-red:hover { color: #fff; background: var(--red-dark); }

/* شاشات متوسطة */
@media (max-width: 1080px) {
  .layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
  .tagline { display: none; }
  .strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .hero { grid-template-columns: 1fr; }
  .hero-main { min-height: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
/* الهاتف */
@media (max-width: 700px) {
  body { font-size: 15.5px; }
  .topbar .toplinks { display: none; }
  .topbar-in { min-height: 32px; }
  .masthead-in { min-height: 64px; gap: 6px; }
  .icon-btn { display: grid; }
  .logo { font-size: 24px; margin-inline: auto; }
  .logo span { padding: 6px 9px 4px; }
  .logo-b::after { display: none; }
  .masthead .search { display: none; }
  .masthead.search-open .search { display: flex; position: absolute; inset-inline: 12px; top: 100%; margin-top: 6px; z-index: 50; background: #fff; box-shadow: var(--shadow); }
  .masthead.search-open .search input { min-width: 0; flex: 1; }
  .masthead { position: relative; }
  .mainnav a { padding: 11px 13px; font-size: 15px; }
  .ticker-in { height: 42px; }
  .ticker-label { padding: 0 10px; font-size: 14px; }
  .hero { margin-top: 12px; gap: 10px; }
  .hero-main { min-height: 360px; }
  .card-overlay-lg .card-body { padding: 18px; }
  .hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 200px; gap: 10px; }
  .hero-side .card-body { padding: 12px; }
  .hero-side .card-title { font-size: 14.5px; }
  .hero-side .card-time { display: none; }
  .strip { grid-template-columns: 1fr; gap: 10px; }
  .layout { margin-top: 20px; }
  .sec-lead, .sec-dark, .list-lead .card-lead { grid-template-columns: 1fr; }
  .sec-lead { padding: 12px; }
  .section-dark { padding: 14px; }
  .sec-grid, .list-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sec-grid .card-body, .list-grid .card-body { padding: 10px; }
  .sec-grid .card-title, .list-grid .card-title { font-size: 14.5px; }
  .card-mini { grid-template-columns: 100px 1fr; }
  .sec-head h2 { font-size: 19px; }
  .article { padding: 18px 16px 22px; border-radius: 0; margin-inline: -16px; }
  .article-cover { margin-inline: -16px; }
  .article-cover figcaption { padding-inline: 16px; }
  .prose { font-size: 17.5px; line-height: 1.95; }
  .article-lead { font-size: 17px; }
  .share span { display: none; }
  .share > span { display: none; }
  .prevnext { grid-template-columns: 1fr; }
  .results .card-row { grid-template-columns: 120px 1fr; }
  .results .card-row .card-title { font-size: 15.5px; }
  .results .card-summary { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 380px) {
  .sec-grid, .list-grid { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr; }
}
