/* OpenEngine "Magazine" theme */
:root {
  --header: #aa0000;
  --accent: #cc0000;
  --button: #ffe500;
  --ink: #161616;
  --text: #444;
  --muted: #8a8a8a;
  --line: #e8e8e8;
  --page: #f6f8fa;
  --tint: #fff6f2;
  --row: #f6f8fa;
  --dark: #13181d;
  --foot: #130303;
  --serif: "Bitter", Georgia, serif;
  --sans: "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --label: "DM Serif Display", Georgia, serif;
  --reading: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--text); font: 14px/1.5 var(--serif); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
/* Tablets get a fixed 680px column, small desktops a 30px gutter */
@media (min-width: 768px) and (max-width: 940px) { .wrap { max-width: 680px; padding: 0; } }
@media (min-width: 941px) { .wrap { padding: 0 30px; } }
@media (min-width: 1310px) { .wrap { padding: 0; } }

.icon-btn { display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: inherit; padding: 6px; cursor: pointer; }

/* ---------- Header ---------- */
.topbar { background: #0c0c0c; color: #fff; height: 40px; display: none; }
.topbar-in { height: 100%; display: flex; align-items: center; justify-content: flex-end; gap: 13px; }
/* Ticker or other widget on the left of the top bar */
.top-widget { flex: 1; min-width: 0; height: 40px; margin-right: auto; overflow: hidden; display: flex; align-items: center; }
.top-widget > * { width: 100%; }
.top-widget iframe { display: block; }
.topbar .icon-btn { padding: 6px 0; color: #f0f0f0; }
.top-links { display: flex; height: 100%; margin-right: 0; }
.top-links a { display: flex; align-items: center; padding: 0 13px; font: 700 14px/1 var(--sans); color: #f0f0f0; }
.top-links a:hover { opacity: .8; }
.socials { display: flex; gap: 10px; }
.socials a { width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.12); color: #ddd; display: inline-flex; align-items: center; justify-content: center; }
.socials a:hover { background: rgba(255,255,255,.2); color: #fff; }

.mainbar { background: var(--header); color: #fff; }
.mainbar-in { display: flex; align-items: center; gap: 18px; height: 70px; }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 22px; width: auto; }
.logo-text { font: 700 24px/1 var(--sans); letter-spacing: -.02em; color: #fff; }
.menu-btn { margin-left: -6px; }
.mainbar-in { position: relative; }
.mainbar .logo { position: absolute; left: 50%; transform: translateX(-50%); }
.m-search { margin-left: auto; }
.m-search { margin-right: -6px; }
.nav, .sub-btn { display: none; }

.nav ul { display: flex; align-items: center; }
.nav > ul > li { position: relative; }
.nav > ul > li > a { display: flex; align-items: center; gap: 9px; padding: 0 12px; line-height: 84px; font: 600 15px/84px var(--sans); color: #fff; white-space: nowrap; }
.nav > ul > li > a:hover, .nav > ul > li.active > a { opacity: .85; }
.caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); opacity: .7; }
.nav .sub { position: absolute; left: 0; top: 100%; min-width: 210px; background: #fff; border-top: 3px solid var(--accent); box-shadow: 0 10px 30px rgba(0,0,0,.14); padding: 8px 0; display: block; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 30; }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav .sub a { display: block; padding: 8px 18px; font: 600 14px/1.4 var(--sans); color: var(--ink); }
.nav .sub a:hover { color: var(--accent); background: #fafafa; }
.sub-btn { align-items: center; height: 38px; padding: 0 20px; border-radius: 30px; background: var(--button); color: #000114; font: 700 14px/1 var(--sans); letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.sub-btn:hover { filter: brightness(.95); }

.cat-strip { background: #fff; border-bottom: 1px solid var(--line); }
.cat-strip-in { display: flex; height: 37px; overflow-x: auto; padding: 0 0 0 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cat-strip-in::-webkit-scrollbar { display: none; }
.cat-strip a { flex-shrink: 0; padding: 0 11px; font: 600 13px/37px var(--sans); text-transform: uppercase; color: var(--ink); }
.cat-strip a.on { color: var(--accent); }

@media (min-width: 941px) {
  .topbar { display: block; }
  .mainbar-in { height: 84px; gap: 10px; }
  .menu-btn, .m-search, .cat-strip { display: none; }
  .mainbar .logo { position: static; transform: none; margin: 0 auto 0 0; }
  .logo img { height: 44px; }
  .nav { display: block; margin-left: auto; }
  .sub-btn { display: inline-flex; margin-left: 5px; }
}
@media (min-width: 941px) and (max-width: 1199px) {
  .nav > ul > li > a { padding: 0 8px; font-size: 14px; }
  .logo img { height: 36px; }
}

/* Off-canvas menu and search */
.offcanvas, .search-overlay { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.offcanvas::before, .search-overlay::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .2s; }
.offcanvas.open, .search-overlay.open { visibility: visible; }
.offcanvas.open::before, .search-overlay.open::before { opacity: 1; }
.offcanvas-panel { position: absolute; inset: 0 auto 0 0; width: min(320px, 86vw); background: #0c0c0c; color: #fff; overflow-y: auto; transform: translateX(-100%); transition: transform .25s cubic-bezier(.23,1,.32,1); }
.offcanvas.open .offcanvas-panel { transform: none; }
.offcanvas-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 16px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.offcanvas-head .logo img { height: 26px; }
.offcanvas-nav { padding: 10px 0; }
.offcanvas-nav > li > a { display: block; padding: 11px 20px; font: 600 15px/1.3 var(--sans); }
.offcanvas-nav ul a { display: block; padding: 7px 20px 7px 34px; font: 400 14px/1.3 var(--sans); color: rgba(255,255,255,.72); }
.offcanvas-links { display: flex; flex-wrap: wrap; gap: 16px; padding: 16px 20px; border-top: 1px solid rgba(255,255,255,.08); font: 600 13px var(--sans); color: rgba(255,255,255,.7); }
.search-box { position: relative; margin: 0 auto; max-width: 720px; top: 18vh; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 6px; padding: 8px 8px 8px 18px; box-shadow: 0 20px 50px rgba(0,0,0,.3); width: calc(100% - 30px); }
.search-box input { flex: 1; border: 0; outline: 0; font: 500 20px/1.4 var(--sans); padding: 10px 0; min-width: 0; }
.search-box button[type=submit] { background: var(--accent); color: #fff; border: 0; border-radius: 4px; height: 44px; width: 48px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.search-box .icon-btn { color: #666; }

/* ---------- Layout ---------- */
.site-main { padding: 30px 0 40px; }
@media (min-width: 1000px) { .site-main { padding: 30px 0 60px; } }
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; margin-bottom: 30px; align-items: start; }
/* The original hides home sidebars between phone and wide-desktop widths */
@media (min-width: 768px) and (max-width: 1098px) { .layout > .side-col { display: none; } }
@media (min-width: 1099px) {
  .layout { grid-template-columns: minmax(0, 74.14%) minmax(0, 23.52%); }
  .layout.no-side { grid-template-columns: minmax(0, 949px); }
  .layout.archive-layout { grid-template-columns: minmax(0, 74.45%) minmax(0, 23.2%); }
  .side-col { position: sticky; top: 20px; }
}
.panel { background: #fff; border: 1px solid var(--line); padding: 15px; }
.side-col { display: grid; gap: 26px; }
.full-row { margin-bottom: 30px; }
.empty { padding: 60px 20px; text-align: center; }
.empty h2 { font: 700 26px var(--sans); color: var(--ink); margin-bottom: 8px; }

/* ---------- Shared bits ---------- */
.media { position: relative; display: block; overflow: hidden; background: #e9ecef; aspect-ratio: 16 / 10; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.media-link { display: block; width: 100%; height: 100%; }
.media:hover img { transform: scale(1.03); }
.ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #e9ecef, #dde1e6); }
.t { font-family: var(--serif); font-weight: 700; color: var(--ink); letter-spacing: -.01em; line-height: 1.36; }
.t a:hover { color: var(--accent); }
.cat { display: block; width: fit-content; font: 600 12px/18px var(--label); letter-spacing: .05em; color: var(--accent); margin-bottom: 11px; }
.cat:hover { text-decoration: underline; }
.label { position: absolute; top: 0; left: 0; z-index: 1; background: var(--accent); color: #fff; font: 500 17px/22px var(--label); letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px 3px 12px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font: 400 11px/1.5 var(--sans); color: var(--muted); }
.meta b { color: var(--ink); font-weight: 600; }
.date { font: 600 10px/15px var(--sans); color: var(--muted); }
.read { display: inline-flex; align-items: center; gap: 4px; margin-left: 12px; }
.read svg { color: var(--accent); }
.ex { font: 500 14px/1.6 var(--serif); color: #505050; }
.block-head { margin: 0 0 15px; }
.block-head h2 { font: 700 30px/36px var(--sans); letter-spacing: -.03em; color: var(--ink); }
.block-head h2 a:hover { color: var(--accent); }
.small-head { font: 700 18px/1.2 var(--sans); letter-spacing: -.03em; color: var(--ink); margin: 0 0 14px; }
.blk + .blk { margin-top: 34px; }

.card .card-body { padding: 9px 0 0; }
.card-ex .card-body { padding-top: 16px; }
.card .t { font-size: 15px; }
.card-ex .t { font-size: 15px; }
.card-ex .ex { margin-top: 10px; font-size: 13px; line-height: 1.55; font-weight: 400; color: #666; }
.card-tint { background: var(--tint); }
.card-tint .card-body { padding: 16px 8px 14px; }
.card-plain .t { font-size: 15px; line-height: 1.36; margin-top: 12px; }
.card-mini .t { font-size: 13px; line-height: 1.4; margin-top: 8px; }

.srow { display: grid; grid-template-columns: 114px minmax(0, 1fr); column-gap: 15px; align-items: center; background: var(--row); border-top: 1px solid rgba(204,0,0,.18); }
.srow .media { aspect-ratio: auto; width: 114px; height: 76px; }
.srow-body { padding: 5px 0; }
.srow .cat { margin-bottom: 9px; }
.srow .t { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rows { display: grid; gap: 10px; align-content: start; }

/* Hero */
.hero-top { display: grid; gap: 20px; }
.hero-main .t { font-size: 30px; margin: 16px 0 10px; letter-spacing: -.03em; }
.hero-main .ex { margin-top: 14px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.hero-side { display: grid; grid-template-columns: 1fr; gap: 26px; align-content: start; }
.titem { border-top: 1px solid var(--line); padding-top: 14px; }
.titem .t { font-size: 13px; line-height: 1.43; margin-bottom: 9px; }
.hero-bottom { display: grid; gap: 20px; margin-top: 26px; }
.cards2 { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media (min-width: 768px) {
  .cards2 { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero-top { grid-template-columns: minmax(0, 1fr) 215px; }
  .hero-side { grid-template-columns: 1fr; gap: 20px; }
  .hero-main .t { font-size: 30px; letter-spacing: -.03em; }
  .hero-bottom { grid-template-columns: minmax(0, 439fr) minmax(0, 455fr); }
}

/* Highlights & split */
.lead-row { display: grid; gap: 20px; border-top: 1px solid #1f3b54; }
.lead-split { display: grid; gap: 16px; }
.ls-text { padding-top: 6px; order: 2; }
.ls-text .cat { margin-bottom: 9px; }
.ls-img { order: 1; }
.ls-text .t { font-size: 19px; margin-bottom: 12px; }
.ls-text .ex { margin-top: 18px; font-size: 13px; line-height: 1.6; }
.lead-row .card-tint { align-self: start; }
.lead-row .card-tint .t { font-size: 15px; }
.titles4 { display: grid; grid-template-columns: 1fr; gap: 36px 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 20px; padding: 18px 0; }
.titles4 .t { position: relative; font-size: 14px; }
.titles4 .t a { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cards4 { display: grid; grid-template-columns: 1fr; gap: 26px 20px; margin-top: 20px; }
.split-bottom { display: grid; gap: 20px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (min-width: 768px) {
  .titles4 { gap: 14px 20px; }
  .lead-split { grid-template-columns: 229px minmax(0, 1fr); gap: 30px; }
  .ls-text { order: 1; }
  .ls-img { order: 2; margin-top: -1px; }
  .titles4, .cards4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .titles4 .t:not(:first-child)::before { content: ""; position: absolute; left: -10px; top: 0; bottom: 0; border-left: 1px solid var(--line); }
}
@media (min-width: 768px) {
  .lead-row { grid-template-columns: minmax(0, 1fr) 215px; }
  .split-bottom { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
}

/* Two-column list */
.list2-grid { display: grid; gap: 10px; }
.list2 .srow { grid-template-columns: 115px minmax(0, 1fr); }
.list2 .srow .media { width: 115px; height: 87px; }
.list2 .srow .t { font-size: 15px; }
@media (min-width: 768px) { .list2-grid { grid-template-columns: 1fr 1fr; gap: 10px 26px; } }

/* Featured band */
.band { display: grid; background: linear-gradient(130deg, var(--accent) 0%, #0c0c0c 64%); color: #ececec; }
.band-main { padding: 22px 15px; }
.band-title { font: 700 26px/1.2 var(--sans); letter-spacing: -.03em; color: #f0f0f0; margin-bottom: 16px; }
.band-lead .media { aspect-ratio: 16 / 9; }
.band-lead .t { color: #ececec; font-size: 22px; font-weight: 600; margin: 15px 35px 14px 0; }
.band-lead .ex { color: #d4d4d4; font-size: 14px; }
.band-list { background: rgba(0,0,0,.35); padding: 10px 15px 20px; }
.brow { display: grid; grid-template-columns: minmax(0, 1fr) 94px; gap: 18px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.brow:last-child { border-bottom: 0; }
.brow .t { color: #ececec; font-size: 14px; font-weight: 600; line-height: 1.43; margin-bottom: 6px; }
.brow .date { color: #aaa; font-size: 10px; }
.brow .media { aspect-ratio: 3 / 2; margin-top: -2px; }
.band .t a:hover { color: #fff; text-decoration: underline; }
@media (min-width: 941px) {
  .band { grid-template-columns: minmax(0, 1fr) 420px; }
  .band-main { padding: 26px 0 36px 30px; }
  .band-title { font-size: 30px; }
  .band-lead .t { font-size: 30px; }
  .band-list { background: #0c0c0c; padding: 47px 30px 30px; }
}

/* You may have missed */
.card-dark { background: var(--dark); }
.card-dark .card-body { padding: 16px 8px 16px; }
.card-dark .t { color: #ececec; }
.card-dark .t a:hover { color: #fff; text-decoration: underline; }
.card-dark .ex { margin-top: 12px; color: #b9bec4; font-size: 13px; font-weight: 400; line-height: 1.55; }

/* Roundup */
.roundup-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.roundup .small-head { margin-bottom: 16px; }
.roundup .card-plain .t { margin-right: 8px; margin-top: 17px; }
.more { display: inline-flex; align-items: center; gap: 4px; font: 400 13px var(--sans); color: var(--muted); }
.more:hover { color: var(--accent); }
.cards5 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px 15px; }
@media (min-width: 768px) { .cards5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 941px) { .cards5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px 15px; } }

/* Subscribe band */
.subscribe-band { background: #050505 radial-gradient(ellipse at 70% 30%, rgba(0,70,90,.45), transparent 60%); color: #ececec; padding: 44px 0; margin-bottom: 30px; }
.subscribe-band h2 { font: 600 30px/1.7 var(--serif); letter-spacing: -.01em; }
.subscribe-band p { font: 400 15px/1.6 var(--serif); color: #cfcfcf; margin: 6px 0 22px; }
.sub-form { max-width: 700px; }
.sub-row { display: flex; gap: 6px; }
.sub-row input { flex: 1; min-width: 0; height: 44px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.08); color: #fff; padding: 0 16px; border-radius: 2px; font: 400 15px var(--serif); }
.sub-row input::placeholder { color: rgba(255,255,255,.6); }
.sub-row button { height: 44px; padding: 0 30px; border: 0; background: var(--accent); color: #fff; font: 700 13px var(--sans); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; border-radius: 2px; }
.sub-row button:hover { filter: brightness(1.1); }
.consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; font: 400 13px/1.6 var(--serif); color: #aaa; }
.consent span { flex: 1; min-width: 0; }
.consent a { color: #ddd; }
.consent input { margin-top: 4px; }
.sub-msg { margin-top: 12px; font: 600 13px var(--sans); }
.sub-msg.ok { color: #7ee2a8; }
.sub-msg.err { color: #ff9a9a; }
@media (min-width: 768px) { .subscribe-band { padding: 60px 0; } .subscribe-band h2 { font-size: 34px; } }
/* Background photo under a 75% black veil, and an ad beside the form */
.subscribe-band.has-bg { position: relative; background: #000 var(--band-bg) center / cover no-repeat; }
.subscribe-band.has-bg::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.75); }
.subscribe-band .band-in { position: relative; display: grid; gap: 28px; }
.band-ad { justify-self: center; width: 100%; max-width: 306px; }
.subscribe-band .a-caption { margin: 5px 0 0; font: italic 400 12px/12px var(--serif); color: #dadada; text-align: center; }
@media (min-width: 941px) {
  .subscribe-band .band-in:has(.band-ad) { grid-template-columns: minmax(0, 1fr) 306px; align-items: start; }
  .band-in:has(.band-ad) .band-text { padding-top: 8px; }
  .band-in:has(.band-ad) .band-text p { margin-top: 18px; }
}

/* Ads */
.a-wrap { text-align: center; line-height: 0; }
.a-wrap img, .a-wrap iframe { max-width: 100%; height: auto; display: inline-block; }
.main-col > .a-wrap { margin-bottom: 35px; }
.a-labeled .a-label { margin-bottom: 4px; font: 400 12px/18px var(--serif); color: #8a8a8a; text-align: center; }
.oe-ad-inline { margin: 0 0 1.6em; text-align: center; line-height: 0; }
.oe-ad-inline img { display: inline-block; max-width: 100%; height: auto; }

/* Sidebar widgets */
.widget { background: #fff; border: 1px solid var(--line); padding: 15px; }
.widget.flat { border: 0; padding: 0; }
.w-title { font: 700 18px/1.2 var(--sans); letter-spacing: -.03em; color: var(--ink); margin: 6px 0 14px; }
.side-rows { display: grid; }
.side-row { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 12px; padding: 16px 0 15px; border-bottom: 1px solid var(--line); }
.side-row:first-child { padding-top: 0; }
.side-row:last-child { border-bottom: 0; padding-bottom: 0; }
.side-row .media { aspect-ratio: 4 / 3; }
.side-row .t { font-size: 13px; line-height: 1.43; margin-top: 2px; }
.trend { display: grid; gap: 22px; }
.trend-row { display: flex; gap: 16px; align-items: flex-start; margin-top: 16px; }
.num { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font: 700 15px/28px var(--sans); text-align: center; }
.trend .t { font-size: 15px; line-height: 1.36; }
.side-grid { display: grid; grid-template-columns: 1fr; gap: 24px 12px; }
@media (min-width: 768px) { .side-grid { grid-template-columns: 1fr 1fr; gap: 18px 12px; } }

/* ---------- Archive ---------- */
.crumbs { font: 400 12px/12px var(--sans); color: #999; margin: -10px auto 37px; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.crumbs a { color: #666; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { color: #bbb; }
.crumbs > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.archive-title { font: 700 22px/1.2 var(--sans); letter-spacing: -.02em; color: var(--ink); padding-bottom: 12px; position: relative; margin-bottom: 20px; }
.archive-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--accent); }
.archive-desc { margin: -12px 0 22px; color: #666; }
.archive-top { display: grid; gap: 20px; }
.archive-top .hero-main .t { font-size: 33px; line-height: 1.36; }
.archive-top .hero-main .ex { font-size: 12.5px; line-height: 20px; }
.archive-side { display: grid; grid-template-columns: 1fr; gap: 20px; align-content: start; }
.archive-side .media { aspect-ratio: 216 / 120; }
.archive .cards4 { gap: 26px 20px; }
@media (min-width: 941px) {
  .archive-top { grid-template-columns: minmax(0, 1fr) 216px; }
  .archive-top .hero-main .t { font-size: 33px; line-height: 1.36; }
  .archive .cards4 { gap: 23px; }
  .archive-side { grid-template-columns: 1fr; }
}
.archive-list { display: grid; margin-top: 24px; }
.list-item { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.list-item .t { font-size: 17px; line-height: 1.35; margin-bottom: 6px; }
.list-item .ex { margin-top: 8px; font-size: 13px; display: none; }
@media (min-width: 768px) { .list-item { grid-template-columns: 260px minmax(0, 1fr); gap: 24px; } .list-item .t { font-size: 20px; } .list-item .ex { display: block; } }
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 26px; font: 600 13px var(--sans); }
.pager a { min-width: 38px; height: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--ink); }
.pager a:hover { border-color: var(--accent); color: var(--accent); }
.pager a.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.empty-note { color: #666; padding: 20px 0; }
.search-inline { display: flex; gap: 6px; margin-bottom: 20px; max-width: 560px; }
.search-inline input { flex: 1; min-width: 0; height: 42px; border: 1px solid #ddd; padding: 0 14px; font: 400 15px var(--sans); }
.search-inline button { height: 42px; padding: 0 20px; background: var(--accent); color: #fff; border: 0; font: 700 13px var(--sans); text-transform: uppercase; letter-spacing: .05em; cursor: pointer; }
.notfound { text-align: left; }
.nf-code { font: 700 64px/1 var(--sans); color: var(--accent); }
.notfound h1 { font: 700 28px var(--sans); color: var(--ink); margin: 10px 0 8px; }
.notfound > p { margin-bottom: 20px; }

/* ---------- Article ---------- */
.article-wrap { display: grid; gap: 30px; padding: 20px 15px; border-color: #dbe2ec; }
@media (min-width: 1100px) {
  .article-wrap { grid-template-columns: minmax(0, 864fr) minmax(0, 354fr); gap: 0; padding: 30px; }
  .article-wrap.is-page { grid-template-columns: minmax(0, 1fr); }
  .article-wrap .sidebar { border-left: 1px solid var(--line); margin-left: 18px; padding: 0 0 0 36px; }
}
.art-head { position: relative; }
.art-head { margin-bottom: 25px; }
.art-head .label { position: static; display: inline-block; font-size: 13px; line-height: 22px; padding: 0 8px; border-radius: 1px; margin-bottom: 2px; }
.art-title { font: 700 28px/1.24 var(--serif); letter-spacing: -.02em; color: var(--ink); margin: 15px 0; }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font: 400 12px/18px var(--sans); color: var(--muted); }
.art-meta b { color: var(--ink); font-weight: 600; }
.art-meta .date { margin-right: 12px; font: 600 12px/18px var(--sans); color: var(--muted); }
.art-meta .comments, .art-meta .read { font-weight: 600; }
.art-meta .read { margin-left: 0; }
.art-meta .comments { display: inline-flex; align-items: center; gap: 4px; margin-right: 6px; }
.art-meta .comments svg { color: var(--accent); }
.art-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: contain; background: #111; padding: 3px; margin-right: 5px; }
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin: 20px 0 0; min-height: 38px; }
.share-label { display: inline-flex; align-items: center; gap: 6px; width: 65px; font: 600 13px var(--sans); color: var(--ink); }
.sb { width: 40px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 2px; background: transparent; cursor: pointer; transition: background .15s, color .15s; }
.sb.fb { color: #1877f2; } .sb.x { color: #111; } .sb.pin { color: #e60023; } .sb.tg { color: #229ed9; } .sb.more { color: #666; }
.sb:hover { background: #f4f4f4; }
.follow { display: flex; align-items: center; gap: 0; height: 40px; margin: -1px 0 -1px auto; padding: 1px 16px; border: 1px solid #e8e8e8; border-radius: 4px; }
.follow-label { margin-right: 11px; font: 600 13px/19.5px var(--serif); color: #444; }
.follow a { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #f3f3f3; transition: background .15s; }
.follow a + a { margin-left: 2px; }
.follow a:hover { background: #e8e8e8; }
@media (max-width: 540px) { .follow { display: none; } .share-bar { min-height: 34px; } }
.art-image { margin: 0 0 32px; }
.art-image img { width: 100%; aspect-ratio: 864 / 565; object-fit: cover; }
.art-body-wrap { display: grid; gap: 20px; }
.share-rail { display: none; }
@media (min-width: 768px) {
  .art-title { font-size: 35px; letter-spacing: -.03em; }
  .art-body-wrap { grid-template-columns: 40px minmax(0, 596px); column-gap: 35px; justify-content: start; }
  .share-rail { display: flex; flex-direction: column; align-items: center; gap: 11px; position: sticky; top: 30px; align-self: start; padding-top: 5px; font: 600 11px/16.5px var(--sans); text-transform: uppercase; color: #000; }
  .share-rail span { margin-bottom: 14px; }
  .share-rail a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; background: #fff; }
  .share-rail .fb { color: #1877f2; } .share-rail .x { color: #111; } .share-rail .pin { color: #e60023; } .share-rail .in { color: #0a66c2; } .share-rail .em { color: #444; }
}
@media (min-width: 1100px) { .art-body-wrap { grid-template-columns: 40px minmax(0, 720px); column-gap: 58px; } }
/* Articles on phones and tablets: a near full-width panel, as the original */
@media (max-width: 940px) {
  .wrap.art-page { max-width: none; padding: 0 9px; }
  .art-page .article-wrap { padding: 40px 25px; }
  .crumbs { flex-wrap: nowrap; overflow: hidden; margin-bottom: 22px; white-space: nowrap; }
  .crumbs > span:last-child { min-width: 0; }
}
@media (max-width: 767px) {
  .wrap.art-page { padding: 0; }
  .art-page .article-wrap { padding: 35px 20px; }
  .art-title { font-size: 29px; line-height: 1.24; }
  .art-page .post-content { font-size: 15.94px; }
}
.is-page .art-body-wrap { grid-template-columns: minmax(0, 760px); }
.listen { display: flex; align-items: center; gap: 12px; width: 100%; height: 50px; padding: 8px 12px; background: #000; color: #fff; border: 0; border-radius: 4px; font: 600 18px var(--sans); cursor: pointer; margin-bottom: 15px; }
.listen[aria-pressed="true"] { background: var(--accent); }
.post-content { font: 400 16.6px/1.75 var(--reading); color: #282828; overflow-wrap: break-word; }
.post-content > *, .post-content > div > * { margin-top: 0; margin-bottom: 1.4em; }
.post-content > div { margin-bottom: 0; }
.post-content h2 { font: 700 26px/1.3 var(--serif); color: var(--ink); margin-top: 1.6em; }
.post-content h3 { font: 700 21px/1.35 var(--serif); color: var(--ink); margin-top: 1.4em; }
.post-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.post-content img { margin: 0 auto; }
.post-content iframe { display: block; max-width: 100%; margin: 0 auto 1.5em; border: 0; }
.post-content iframe[src*="youtube"], .post-content iframe[src*="vimeo"], .post-content iframe[src*="dailymotion"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.post-content figure { margin: 1.4em 0; }
.post-content figcaption { font: 400 13px/1.5 var(--sans); color: var(--muted); margin-top: 8px; }
.post-content blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); font-style: italic; color: #333; }
.post-content ul, .post-content ol { padding-left: 1.4em; }
.post-content ul { list-style: disc; } .post-content ol { list-style: decimal; }
.post-content li + li { margin-top: .4em; }
.related { margin-top: 46px; }
.related .small-head { padding-bottom: 14px; margin-bottom: 15px; border-bottom: 1px solid var(--line); }
.related .card-plain .t { margin-top: 16px; }
.cards3 { display: grid; grid-template-columns: 1fr; gap: 20px 26px; }
@media (min-width: 600px) { .cards3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sidebar { display: grid; gap: 45px; align-content: start; }
.sidebar .w-title { margin: 0 0 14px; }
.layout > .sidebar { gap: 26px; }
.layout > .sidebar .widget.flat { background: #fff; border: 1px solid var(--line); padding: 15px; }

/* ---------- Footer ---------- */
.site-foot { background: var(--foot); color: #f0f0f0; border-top: 3px solid var(--button); padding: 40px 0 0; }
.foot-logo img { height: 36px; }
.foot-logo { padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.14); width: 100%; }
.foot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; padding: 36px 0; }
.foot-col h4 { font: 700 15px/1.2 var(--sans); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 20px; }
.foot-col li + li { margin-top: 11px; }
.foot-col a { font: 400 14px/1.5 var(--serif); color: #f0f0f0; }
.foot-col a:hover { color: var(--button); }
.foot-sub { grid-column: 1 / -1; position: relative; overflow: hidden; border: 6px solid #0a0a0a; outline: 1px solid rgba(255,255,255,.08); padding: 34px 28px; background: #0f0202; }
.foot-sub > :not(.foot-sub-icon) { position: relative; }
.foot-sub-icon { position: absolute; top: 7px; left: 37px; color: #fff; opacity: .1; transform: rotate(12deg); pointer-events: none; }
.foot-sub h3 { font: 600 20px var(--serif); margin-bottom: 12px; }
.foot-sub p { font: 400 14px/1.7 var(--serif); color: #d8d8d8; margin-bottom: 22px; }
.foot-sub .sub-row input { background: #1a0a0a; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0 26px; border-top: 1px solid rgba(255,255,255,.14); font: 400 13px var(--serif); color: #bbb; }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 0; }
.foot-bottom nav a { padding: 0 14px; border-left: 1px solid rgba(255,255,255,.2); }
.foot-bottom nav a:first-child { border-left: 0; padding-left: 0; }
@media (min-width: 900px) {
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.9fr); }
  .foot-sub { grid-column: auto; }
  .foot-grid:has(.foot-col:nth-of-type(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 2fr); }
}

/* Card row and custom HTML blocks */
.cards-row .cards4 { margin-top: 4px; }
.html-block { overflow: hidden; }
.html-block img { margin: 0 auto; }

/* The lead's excerpt only shows on desktops */
@media (max-width: 940px) { .ls-text .ex, .band-ad { display: none; } .roundup .small-head { margin-bottom: 44px; } }
@media (max-width: 940px) {
  .hero-side .card + .titem { margin-top: -6px; }
  .srow .media { align-self: start; }
  .brow .t a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .band-lead .ex { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (min-width: 941px) { .subscribe-band:has(.band-ad) { padding: 40px 0 30px; } }

/* ---------- Phones (up to 767px), measured against the original ---------- */
@media (max-width: 767px) {
  .hero-top { gap: 30px; }
  .hero-main { margin-right: 10px; }
  .hero-bottom { gap: 30px; margin-top: 30px; }
  .srow { grid-template-columns: 100px minmax(0, 1fr); column-gap: 6px; }
  .srow .media { width: 100px; height: 100px; }
  .srow-body { padding: 0; }
  .lead-row { gap: 30px; }
  .ls-text .t { margin-bottom: 0; }
  .lead-split { gap: 18px; }
  .ls-text { padding-top: 0; }
  .titles4 { margin-top: 23px; }
  .cards4 { margin-top: 22px; }
  .split-bottom { gap: 30px; }
  .trend { gap: 25px; }
  .side-row { padding: 12px 0; }
  .side-grid { gap: 25px; }
  .card-mini .t { font-size: 14px; line-height: 1.36; margin-top: 16px; }
  .list2 .srow { grid-template-columns: 100px minmax(0, 1fr); }
  .list2 .srow .media { width: 100px; height: 100px; }
  .band-main { padding: 30px 30px 0; }
  .band-lead .ex { margin-right: 35px; }
  .brow .t { margin-bottom: 2px; }
  .band-title { font-size: 30px; line-height: 36px; margin-bottom: 15px; }
  .band-lead .media { aspect-ratio: 290 / 163; }
  .band-lead .t { margin-right: 35px; }
  .band-list { background: none; padding: 50px 30px 30px; }
  .brow { grid-template-columns: minmax(0, 1fr) 75px; }
  .brow .media { aspect-ratio: 3 / 2; }
  .side-row { grid-template-columns: 102px minmax(0, 1fr); }
  .side-row .media { aspect-ratio: 102 / 76; }
}

/* ---------- Tablets (768-940px), measured against the original ---------- */
@media (min-width: 768px) and (max-width: 940px) {
  .hero-top { grid-template-columns: minmax(0, 1fr) 149px; }
  .hero-side { gap: 26px; }
  .hero-bottom, .split-bottom { grid-template-columns: 304px 322px; gap: 20px; margin-top: 30px; }
  .split-bottom { padding-top: 0; border-top: 0; margin-top: 41px; }
  .srow { grid-template-columns: 79px minmax(0, 1fr); }
  .srow .media { width: 79px; height: 53px; }
  .lead-row { grid-template-columns: minmax(0, 1fr) 149px; }
  .highlights .lead-split { grid-template-columns: 152px minmax(0, 1fr); }
  .split .lead-split { grid-template-columns: 169px minmax(0, 1fr); }
  .lead-split .ls-img { aspect-ratio: 5 / 4; }
  .titles4 { grid-template-columns: 1fr 1fr; gap: 36px 20px; margin-top: 22px; }
  .titles4 .t:not(:first-child)::before { display: none; }
  .titles4 .t:nth-child(even)::before { display: block; }
  .cards4 { grid-template-columns: 1fr 1fr; gap: 27px 20px; margin-top: 22px; }
  .missed .cards4, .highlights.alt .cards4 { row-gap: 26px; }
  .list2 .srow { grid-template-columns: 81px minmax(0, 1fr); }
  .list2 .srow .media { width: 81px; height: 61px; }
  .band-main { padding: 30px 30px 0; }
  .band-title { font-size: 30px; line-height: 36px; }
  .band-lead .t { font-size: 30px; line-height: 1.36; }
  .band-list { background: none; padding: 49px 50px 30px; }
  .band-lead .ex { margin-right: 35px; }
  .band-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; }
  .band-list { position: relative; }
  .band-list::before { content: ""; position: absolute; inset: 0 30px 30px; background: rgba(0,0,0,.35); z-index: 0; }
  .brow { position: relative; z-index: 1; grid-template-columns: minmax(0, 1fr) 71px; }
  .brow:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }

  .cards5 { gap: 30px 15px; }
}

/* Section pages below desktop width */
@media (max-width: 940px) {
  .archive .hero-main { padding-right: 0; margin-right: 10px; }
  .archive-title { margin-bottom: 35px; }
  .archive-top { gap: 30px; }
}
@media (min-width: 768px) and (max-width: 940px) {
  .archive-top { grid-template-columns: minmax(0, 1fr); }
  .archive-side { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 25px; }
  .archive .cards4 { gap: 27px 20px; margin-right: 10px; }
}

/* Highlights with the image on the left and plain cards (World News) */
.highlights.alt .ls-img { order: 1; }
.highlights.alt .ls-text { order: 2; }
.highlights.alt .card-plain .t { margin-top: 16px; }
.highlights.alt .ls-text { align-self: center; padding-top: 0; }
@media (min-width: 768px) {
  .highlights.alt .lead-split { grid-template-columns: minmax(0, 423fr) minmax(0, 239fr); gap: 20px; }
  .highlights.alt .ls-img { margin-top: 0; }
}
@media (min-width: 768px) and (max-width: 940px) {
  .highlights.alt .lead-split { grid-template-columns: 280px minmax(0, 1fr); }
}

/* Contact form (the engine's [contact-form]), styled like the original */
.oe-contact { margin: 0 0 1.4em; }
.oe-contact .oe-field { margin: 0 0 23px; }
.oe-contact label { display: block; font: 400 16.6px/29px var(--reading); color: #282828; }
.oe-contact input, .oe-contact textarea { display: block; width: 100%; max-width: 416px; height: 38px; padding: 7px 12px; border: 1px solid #ddd; border-radius: 2px; background: #fff; font: 400 14px/21px var(--reading); color: #555; }
.oe-contact textarea { max-width: none; height: 240px; padding: 14px 12px; resize: vertical; }
.oe-contact input:focus, .oe-contact textarea:focus { outline: 0; border-color: #bbb; }
.oe-contact button { height: 38px; padding: 0 17px; border: 0; border-radius: 2px; background: var(--accent); color: #fff; font: 600 12px/38px var(--sans); text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.oe-contact button:hover { filter: brightness(1.1); }
.oe-contact .oe-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.oe-note { margin: 0 0 20px; padding: 12px 16px; border-left: 3px solid; font: 600 14px/1.5 var(--sans); }
.oe-note.ok { border-color: #1a7f4b; background: #edf7f1; color: #135c37; }
.oe-note.err { border-color: var(--accent); background: #fdf0f0; color: #8a0000; }

/* Article Excerpt Mode: the credit linking to the original article */
.post-content .oe-source { margin-top: 1.6em; padding-top: 1em; border-top: 1px solid var(--line); font: 600 14px/1.5 var(--sans); color: #444; }
.post-content .oe-source a { color: var(--accent); text-decoration: none; letter-spacing: .02em; }
.post-content .oe-source a:hover { text-decoration: underline; }
