:root {
  --ink: #132840;
  --ink-soft: #526478;
  --muted: #7b8897;
  --paper: #ffffff;
  --canvas: #f3f5f7;
  --line: #e5e9ee;
  --red: #c91f35;
  --red-dark: #a91529;
  --navy: #10263f;
  --green: #16875b;
  --shadow: 0 16px 44px rgba(19, 40, 64, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: "DM Sans", Arial, sans-serif; font-size: 15px; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; }
.utility-bar { background: #f9fafb; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; letter-spacing: .025em; }
.utility-inner { display: flex; align-items: center; justify-content: space-between; min-height: 34px; }
.utility-tagline { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.theme-toggle { border: 0; padding: 4px 0; background: none; color: var(--ink-soft); font: inherit; }
.theme-toggle:hover { color: var(--red); }
.site-header { background: var(--paper); }
.header-main { min-height: 99px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 218px; }
.brand-mark { width: 48px; height: 48px; display: grid; place-items: center; color: white; background: var(--red); font: 800 30px/1 Manrope, sans-serif; clip-path: polygon(0 0,100% 0,100% 82%,50% 100%,0 82%); }
.brand-mark.logo-image { background: transparent; clip-path: none; }
.brand-mark.logo-image img { width: 48px; height: 48px; object-fit: contain; }
.brand-name { display: flex; flex-direction: column; color: var(--navy); font: 800 24px/.98 Manrope, sans-serif; letter-spacing: -.055em; }
.brand-name small { margin-top: 6px; font: 700 8px/1 "DM Sans",sans-serif; letter-spacing: .18em; color: var(--muted); }
.header-search { width: min(420px, 43vw); height: 42px; border: 1px solid var(--line); border-radius: 5px; display: flex; background: #fafbfc; }
.header-search input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; padding: 0 15px; font: inherit; font-size: 13px; }
.header-search button { width: 48px; flex: 0 0 48px; color: var(--ink); border: 0; background: transparent; font-size: 24px; }
.admin-shortcut { color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.admin-shortcut span { margin-left: 5px; color: var(--red); }
.main-nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nav-scroll { min-height: 49px; display: flex; align-items: stretch; gap: 0; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.nav-scroll::-webkit-scrollbar { display: none; }
.nav-scroll a { display: inline-flex; align-items: center; padding: 0 12px; color: #405267; font-size: 12px; font-weight: 700; transition: color .18s, background .18s; }
.nav-scroll a:hover, .nav-scroll a:focus-visible { color: var(--red); background: #fbf4f5; }
.nav-scroll .nav-home { color: var(--red); font-size: 23px; padding-left: 0; }
.breaking-bar { background: var(--navy); color: white; }
.breaking-inner { min-height: 40px; display: flex; align-items: center; gap: 17px; overflow: hidden; }
.breaking-label { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 800; letter-spacing: .11em; }
.breaking-label i { width: 7px; height: 7px; border-radius: 50%; background: #ff4259; box-shadow: 0 0 0 4px rgba(255,66,89,.17); animation: pulse 1.4s infinite; }
.ticker-window { min-width: 0; flex: 1; overflow: hidden; }
.ticker-track { display: flex; align-items: center; gap: 30px; width: max-content; white-space: nowrap; }
.ticker-track a, .ticker-track span { color: #e7edf4; font-size: 12px; }
.ticker-track a::before { content: "•"; color: #ff4259; margin-right: 9px; }
.ticker-time { color: #a9b8c8; font-size: 11px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255,66,89,.02); } }
.page-shell { padding-top: 27px; padding-bottom: 70px; min-height: 55vh; }
.home-lead { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(275px, .85fr); gap: 27px; }
.lead-story { min-height: 456px; position: relative; overflow: hidden; background: var(--navy); }
.lead-image { position: absolute; inset: 0; color: white; }
.lead-image img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.lead-image:hover img { transform: scale(1.04); }
.lead-overlay { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(7,20,34,.82),rgba(7,20,34,.34) 72%,rgba(7,20,34,.12)),linear-gradient(0deg,rgba(7,20,34,.46),transparent 55%); }
.lead-copy { position: absolute; left: 36px; right: 32px; bottom: 36px; max-width: 650px; color: #fff; }
.lead-category { display: inline-block; padding: 6px 9px; background: var(--red); color: #fff; font-size: 10px; text-transform: uppercase; letter-spacing: .09em; font-weight: 800; }
.lead-copy h1 { margin: 17px 0 10px; max-width: 630px; font: 800 clamp(27px,3.3vw,42px)/1.13 Manrope,sans-serif; letter-spacing: -.04em; }
.lead-copy p { max-width: 600px; margin: 0; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.65; }
.lead-meta { display: inline-block; margin-top: 20px; font-size: 11px; color: rgba(255,255,255,.74); }
.lead-meta i { margin: 0 8px; font-style: normal; color: #fff; }
.lead-side { min-width: 0; padding: 7px 0 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 21px; }
.section-heading h1, .section-heading h2 { margin: 3px 0 0; font: 800 27px/1.2 Manrope,sans-serif; letter-spacing: -.045em; color: var(--navy); }
.section-heading h2 { font-size: 23px; }
.section-heading h2 small { font: 600 13px "DM Sans",sans-serif; color: var(--muted); }
.section-heading.compact { align-items: center; margin-bottom: 13px; }
.section-heading.compact h2 { font-size: 21px; }
.eyebrow { display: block; color: var(--red); font-size: 9px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.heading-line { display: block; height: 1px; background: var(--line); flex: 1; margin-bottom: 9px; }
.popular-list { border-top: 1px solid var(--line); }
.popular-item { display: grid; grid-template-columns: 38px 1fr; gap: 11px; padding: 15px 0 14px; border-bottom: 1px solid var(--line); }
.popular-number { color: #d1d8e0; font: 800 23px/1 Manrope,sans-serif; }
.popular-item span:last-child { display: flex; flex-direction: column; }
.popular-item small, .related-item small { color: var(--red); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.popular-item strong { margin-top: 4px; color: var(--ink); font: 700 13px/1.4 Manrope,sans-serif; }
.popular-item time, .related-item time { margin-top: 6px; font-size: 10px; color: var(--muted); }
.popular-item:hover strong, .related-item:hover strong { color: var(--red); }
.latest-section { margin-top: 52px; }
.latest-section > .section-heading { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.text-link { color: var(--red); font-size: 12px; font-weight: 800; }
.text-link span { margin-left: 5px; font-size: 17px; }
.news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 23px; }
.news-card { min-width: 0; background: var(--paper); border: 1px solid var(--line); transition: transform .2s,box-shadow .2s; animation: rise .42s both; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card-image { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: #dfe5eb; }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-card-image img { transform: scale(1.04); }
.news-card-body { padding: 17px 18px 15px; }
.category-label { color: var(--red); font-size: 9px; letter-spacing: .12em; font-weight: 800; text-transform: uppercase; }
.news-card h3 { margin: 8px 0; font: 700 16px/1.38 Manrope,sans-serif; letter-spacing: -.02em; }
.news-card h3 a { color: var(--ink); }
.news-card h3 a:hover { color: var(--red); }
.news-card p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.card-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 14px; padding-top: 11px; border-top: 1px solid #eff1f4; color: var(--muted); font-size: 10px; }
.demo-badge { position: absolute; z-index: 2; top: 11px; left: 11px; padding: 5px 8px; background: #f5b432; color: #1e2834; font-size: 9px; letter-spacing: .08em; font-weight: 900; }
.card-breaking { position: absolute; bottom: 10px; left: 10px; padding: 5px 7px; color: #fff; background: var(--red); font-size: 9px; font-weight: 900; letter-spacing: .07em; }
.ad-slot { display: block; max-width: 100%; overflow: hidden; text-align: center; margin: 20px 0; }
.ad-header { min-height: 0; }
.ad-mobile { display: none; }
.empty-feature { min-height: 456px; display: flex; flex-direction: column; justify-content: center; align-items: start; padding: 40px; background: linear-gradient(135deg,#fff,#f7e9eb); }
.empty-feature h1 { margin: 10px 0; max-width: 500px; font: 800 36px/1.12 Manrope,sans-serif; }
.empty-feature p,.muted { color: var(--muted); }
.button-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 17px; border: 0; border-radius: 4px; background: var(--red); color: white; font: 700 12px "DM Sans",sans-serif; transition: background .2s,transform .2s; }
.button-primary:hover { color: white; background: var(--red-dark); transform: translateY(-1px); }
.section-heading.page-heading { margin: 10px 0 24px; }
.category-description { color: var(--ink-soft); margin: -8px 0 22px; }
.filter-form { display: grid; grid-template-columns: 2fr 1fr 1fr auto; align-items: end; gap: 14px; padding: 17px; margin-bottom: 18px; border: 1px solid var(--line); background: var(--paper); }
.filter-form label,.comment-form label { display: grid; gap: 6px; color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.filter-form input,.filter-form select,.comment-form input,.comment-form textarea { width: 100%; min-height: 41px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 3px; outline: none; background: var(--paper); color: var(--ink); font: 13px "DM Sans",sans-serif; }
.filter-form input:focus,.filter-form select:focus,.comment-form input:focus,.comment-form textarea:focus { border-color: #b94759; box-shadow: 0 0 0 3px rgba(201,31,53,.08); }
.result-count { color: var(--muted); font-size: 12px; margin-bottom: 17px; }
.pagination-wrap { display: flex; justify-content: center; margin-top: 32px; }
.pagination { display: flex; gap: 6px; }
.page-link { min-width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-weight: 700; font-size: 12px; }
.page-link.active,.page-link:hover { background: var(--red); border-color: var(--red); color: #fff; }
.empty-state { padding: 50px 25px; margin: 16px 0; background: var(--paper); border: 1px solid var(--line); text-align: center; color: var(--ink-soft); }
.empty-state h1 { font: 800 28px Manrope,sans-serif; color: var(--navy); }
.alert-banner { padding: 12px 15px; margin-bottom: 17px; border-left: 3px solid; font-size: 13px; }
.alert-banner.success { border-color: var(--green); background: #eaf7f1; color: #126542; }
.alert-banner.error { border-color: var(--red); background: #fff0f2; color: #8e1727; }
.article-layout { display: grid; grid-template-columns: minmax(0, 790px) minmax(230px,1fr); gap: 42px; align-items: start; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin: 4px 0 17px; color: var(--muted); font-size: 11px; }
.breadcrumb a { color: var(--red); }
.demo-notice { padding: 10px 13px; margin-bottom: 13px; background: #fff5df; border-left: 3px solid #e4a320; color: #72500d; font-size: 12px; }
.demo-notice strong { font-size: 10px; letter-spacing: .07em; }
.breaking-pill { color: var(--red); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.article-title { margin: 10px 0; color: var(--navy); font: 800 clamp(29px,4vw,43px)/1.12 Manrope,sans-serif; letter-spacing: -.05em; }
.article-summary { margin: 13px 0 17px; color: var(--ink-soft); font: 500 17px/1.6 Manrope,sans-serif; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; margin: 16px 0; color: var(--muted); font-size: 11px; }
.article-meta span:first-child { color: var(--ink); font-weight: 700; }
.article-cover { margin: 0 0 25px; }
.article-cover img { width: 100%; max-height: 510px; object-fit: cover; background: #e4e8ec; }
.article-cover figcaption,.article-gallery figcaption { margin-top: 6px; color: var(--muted); font-size: 10px; }
.article-content { color: #33475b; font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.article-content p { margin: 0 0 20px; }
.article-content a { color: var(--red); text-decoration: underline; }
.article-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; margin: 20px 0; }
.article-gallery figure { margin: 0; }
.article-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.video-embed { aspect-ratio: 16/9; margin: 18px 0; background: #0b1724; }
.video-embed iframe { width: 100%; height: 100%; border: 0; }
.article-share { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 22px 0 14px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 11px; }
.article-share a { padding: 6px 10px; border: 1px solid var(--line); color: var(--ink-soft); }
.article-share a:hover { color: var(--red); border-color: var(--red); }
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-list span { color: var(--red); padding: 5px 8px; background: #fbf0f2; font-size: 10px; }
.article-sidebar { position: sticky; top: 15px; }
.related-list { border-top: 1px solid var(--line); }
.related-item { display: grid; grid-template-columns: 92px 1fr; gap: 11px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.related-item img { width: 92px; height: 69px; object-fit: cover; }
.related-item span { display: flex; flex-direction: column; }
.related-item strong { margin-top: 5px; font: 700 12px/1.4 Manrope,sans-serif; color: var(--ink); }
.comments-section { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.comment-list { display: grid; gap: 13px; }
.comment { display: grid; grid-template-columns: 37px 1fr; gap: 11px; padding: 14px; background: var(--paper); border: 1px solid var(--line); }
.comment-avatar { display: grid; place-items: center; width: 37px; height: 37px; background: #f8e7ea; color: var(--red); font-weight: 800; }
.comment strong { font-size: 12px; }
.comment time { margin-left: 8px; color: var(--muted); font-size: 10px; }
.comment p { margin: 7px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.comment-form { display: grid; gap: 14px; margin-top: 22px; padding: 20px; background: var(--paper); border: 1px solid var(--line); }
.comment-form h3 { margin: 0; font: 800 17px Manrope,sans-serif; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.comment-form textarea { resize: vertical; }
.comment-form .button-primary { justify-self: start; }
.comment-form > small { color: var(--muted); font-size: 10px; }
.site-footer { background: var(--navy); color: #c9d4df; }
.footer-main { display: grid; grid-template-columns: 1.2fr .7fr 1fr; gap: 60px; padding-top: 43px; padding-bottom: 38px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name small { color: #a5b4c3; }
.footer-about { max-width: 285px; margin: 15px 0 0; color: #a9b8c8; font-size: 12px; line-height: 1.6; }
.footer-links,.newsletter { display: flex; flex-direction: column; align-items: start; gap: 9px; font-size: 12px; }
.footer-links strong,.newsletter strong { margin-bottom: 4px; color: #fff; font: 700 14px Manrope,sans-serif; }
.footer-links a { color: #a9b8c8; }
.footer-links a:hover { color: #fff; }
.newsletter p { margin: 0; color: #a9b8c8; font-size: 11px; }
.newsletter form { display: flex; width: 100%; max-width: 325px; margin-top: 4px; }
.newsletter input { width: 100%; min-width: 0; border: 1px solid #3c5066; padding: 10px; background: #19334e; color: #fff; font: 12px "DM Sans",sans-serif; }
.newsletter button { width: 43px; flex: 0 0 43px; border: 0; background: var(--red); color: #fff; font-size: 20px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; border-top: 1px solid #30465d; color: #91a2b3; font-size: 10px; }
body[data-theme="dark"] { --ink:#e5ebf1; --ink-soft:#b8c5d2; --muted:#99a9b8; --paper:#12263a; --canvas:#0c1b2b; --line:#263b50; --navy:#071523; --shadow:0 16px 44px rgba(0,0,0,.25); }
body[data-theme="dark"] .utility-bar, body[data-theme="dark"] .site-header { background: #10243a; }
body[data-theme="dark"] .brand-name, body[data-theme="dark"] .section-heading h1, body[data-theme="dark"] .section-heading h2, body[data-theme="dark"] .article-title { color: #f2f5f8; }
body[data-theme="dark"] .header-search,body[data-theme="dark"] .filter-form,body[data-theme="dark"] .news-card,body[data-theme="dark"] .empty-state { background: #0c1b2b; }
body[data-theme="dark"] .nav-scroll a, body[data-theme="dark"] .article-content { color: #cbd6e1; }
body[data-theme="dark"] .news-card h3 a, body[data-theme="dark"] .popular-item strong, body[data-theme="dark"] .related-item strong { color: #edf2f7; }
body[data-theme="dark"] .filter-form input,body[data-theme="dark"] .filter-form select,body[data-theme="dark"] .comment-form input,body[data-theme="dark"] .comment-form textarea { color: #e6edf4; }
@keyframes rise { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) {
  .home-lead { grid-template-columns: minmax(0,1.5fr) minmax(235px,.85fr); gap: 20px; }
  .lead-story,.empty-feature { min-height: 395px; }
  .lead-copy { left: 23px; bottom: 25px; }
  .lead-copy h1 { font-size: 30px; }
  .news-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .article-layout { grid-template-columns: minmax(0,1fr) 235px; gap: 25px; }
  .footer-main { gap: 30px; }
}
@media (max-width: 650px) {
  .utility-tagline { display: none; }
  .header-main { min-height: 77px; gap: 12px; }
  .brand { min-width: auto; gap: 8px; }
  .brand-mark { width: 39px; height: 40px; font-size: 25px; }
  .brand-name { font-size: 20px; }
  .brand-name small { font-size: 7px; }
  .header-search { width: auto; flex: 1; height: 38px; }
  .header-search input { padding: 0 9px; font-size: 11px; }
  .header-search button { width: 34px; flex-basis: 34px; font-size: 20px; }
  .admin-shortcut { display: none; }
  .nav-scroll { min-height: 43px; }
  .nav-scroll a { padding: 0 10px; font-size: 11px; }
  .breaking-inner { min-height: 37px; gap: 9px; }
  .breaking-label { font-size: 9px; }
  .ticker-track a,.ticker-track span { font-size: 11px; }
  .ticker-time { font-size: 10px; }
  .page-shell { padding-top: 16px; padding-bottom: 45px; }
  .home-lead { grid-template-columns: 1fr; gap: 23px; }
  .lead-story,.empty-feature { min-height: 390px; }
  .lead-copy { left: 18px; right: 17px; bottom: 20px; }
  .lead-copy h1 { font-size: 29px; }
  .lead-copy p { font-size: 12px; }
  .lead-side { padding-top: 0; }
  .latest-section { margin-top: 35px; }
  .news-grid { gap: 12px; }
  .news-card-body { padding: 12px; }
  .news-card h3 { font-size: 13px; }
  .news-card p { display: none; }
  .card-meta { font-size: 9px; }
  .section-heading h1 { font-size: 24px; }
  .section-heading h2 { font-size: 21px; }
  .filter-form { grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; }
  .filter-form label:first-child { grid-column: 1 / -1; }
  .filter-form button { grid-column: 1 / -1; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .article-title { font-size: 31px; }
  .article-summary { font-size: 15px; }
  .article-content { font-size: 15px; }
  .article-gallery { gap: 8px; }
  .article-gallery img { aspect-ratio: 1; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 27px 18px; padding-top: 30px; }
  .footer-main > div:first-child { grid-column: 1/-1; }
  .newsletter { grid-column: 1/-1; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .ad-mobile { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
