/* InfoMonero mockup v3: the 2020 look.
   Oswald is the 2020 headline font (OFL). Figtree stands in for proxima-nova (paid). */

@font-face {
  font-family: "Oswald";
  src: url("assets/fonts/oswald-var.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("assets/fonts/figtree-var.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("assets/fonts/figtree-italic-var.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --wrap: 1240px;
  --gutter: 20px;
  --black: #000;
  --ink: #060a10;          /* nav text, headlines */
  --head: #393b3d;         /* rail and article titles */
  --text: #333;
  --muted: #5f6368;
  --rule: #d5d7db;
  --red: #ee0000;          /* section bars */
  --red-deep: #d31d1d;     /* tabs, ad blocks */
  --blue: #194e8e;         /* tags, blue bars, links */
  --band: #1a4b96;         /* the header band */
  --orange: #ff6600;       /* logo and accents only */
  --btn: #c44d00;          /* buttons with white text */
  --yellow: #ffe500;
  --oswald: "Oswald", "Arial Narrow", sans-serif;
  --sans: "Figtree", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 400 15px/1.5 var(--sans);
}
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 8px; top: -60px;
  z-index: 10;
  padding: 8px 12px;
  background: var(--black);
  color: #fff;
  font-weight: 700;
}
.skip:focus { top: 8px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.wordmark { display: block; color: #fff; --wm-m: var(--orange); }

.ad-label {
  display: block;
  color: var(--muted);
  font: 600 10px/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ad-label-dark { color: #b8bcc2; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 6px 18px;
  background: var(--btn);
  color: #fff;
  font: 500 18px/1.1 var(--oswald);
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
}
.btn:hover { background: #a84200; }
.btn-black { background: var(--black); }
.btn-black:hover { background: #2a2a2a; }
.btn-wide { width: 100%; }

/* ---------- Top ad band ---------- */

.topad { background: var(--black); }
.topad-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  height: 120px;
  margin-inline: auto;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}
.topad .ad-label { position: absolute; top: 8px; left: 0; }
.topad-icon { width: 78px; height: 78px; border-radius: 18px; flex: none; }
.topad-text { display: flex; flex-direction: column; }
.topad-name { font: 700 52px/1 var(--oswald); text-transform: uppercase; }
.topad-pitch { margin-top: 6px; color: var(--yellow); font: 400 24px/1.1 var(--oswald); text-transform: uppercase; }
.topad-shot {
  align-self: flex-start;
  width: 180px;
  margin: 14px 0 0 auto;
  flex: none;
}
.topad-cta {
  flex: none;
  align-self: stretch;
  display: flex;
  align-items: center;
  margin-right: -40px;
  padding: 0 70px 0 56px;
  background: var(--red-deep);
  font: 600 44px/0.95 var(--oswald);
  text-transform: uppercase;
  clip-path: polygon(34px 0, 100% 0, 100% 100%, 0 100%);
}
.topad-link:hover .topad-cta { background: #b51818; }

/* ---------- Blue header band ---------- */

.masthead {
  background:
    linear-gradient(90deg, rgba(2, 6, 16, 0.9) 0, rgba(2, 6, 16, 0.25) 24%, rgba(2, 6, 16, 0) 40%, rgba(2, 6, 16, 0) 68%, rgba(2, 6, 16, 0.6) 100%),
    url("assets/img/world.svg") 58% 32% / 1700px auto no-repeat,
    linear-gradient(180deg, #1c4c97, #133a78);
}
.masthead-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  height: 130px;
  margin-inline: auto;
}
.logo { margin-left: 30px; }
.logo a { display: block; }
.logo .wordmark { height: 83.9px; width: auto; aspect-ratio: 5805 / 794; }

.show {
  position: relative;
  align-self: stretch;
  width: 380px;
  padding: 26px 0 0;
  color: #fff;
}
.show-title { position: relative; z-index: 1; font: 300 22px/1 var(--oswald); text-transform: uppercase; color: #d5d7db; }
.show-the { display: block; font-size: 13px; margin: 0 0 3px 52px; }
.show-name { margin-left: 52px; font-weight: 400; color: #fff; }
.show-play {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 270px;
  height: 26px;
  margin-top: 8px;
  padding-left: 52px;
  background: linear-gradient(90deg, #2a62b8, rgba(42, 98, 184, 0.2));
  color: #fff;
  font: 400 12px/26px var(--oswald);
  text-transform: uppercase;
  text-decoration: none;
}
.show-btn {
  position: absolute;
  left: 0; top: 50%;
  width: 42px; height: 42px;
  margin-top: -21px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #3d8ee6;
}
.show-btn::after {
  content: "";
  position: absolute;
  left: 15px; top: 11px;
  border-style: solid;
  border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent #fff;
}
.show-play:hover .show-btn { background: #57a2f2; }
.show-icons { position: relative; z-index: 1; display: flex; gap: 6px; margin: 9px 0 0 52px; }
.show-icons a {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  background: #fff;
  color: #000;
  border-radius: 3px;
}
.show-icons svg { width: 15px; height: 15px; fill: currentColor; }
.show-icons li + li a { background: #2aa3df; color: #fff; }
.show-host {
  position: absolute;
  right: 0; bottom: 0;
  width: 130px; height: 130px;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(closest-side at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(closest-side at 50% 50%, #000 62%, transparent 100%);
}

/* ---------- Nav + ticker ---------- */

.nav,
.ticker,
.layout,
.footer-in {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 50px;
  border-bottom: 4px solid var(--rule);
}
.nav-list { display: flex; gap: 27px; }
.nav-list a {
  color: var(--ink);
  font: 400 23px/1 var(--oswald);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.nav-list a:hover { color: var(--blue); }
.nav-cta {
  flex: none;
  padding: 3px 9px 4px;
  background: var(--black);
  color: #fff;
  font: 400 24px/1.1 var(--oswald);
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
}
.nav-cta:hover { background: #2a2a2a; }

.ticker {
  position: relative;
  display: flex;
  align-items: stretch;
  height: 34px;
  margin-top: 12px;
  border: 1px solid var(--rule);
  overflow: hidden;
}
.ticker-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ticker-pause {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  border-right: 1px solid var(--rule);
  cursor: pointer;
}
.ticker-pause::before {
  content: "";
  width: 10px; height: 12px;
  border-left: 4px solid var(--ink);
  border-right: 4px solid var(--ink);
}
.ticker-toggle:checked + .ticker-pause::before {
  width: 0; height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--ink);
}
.ticker-toggle:focus-visible + .ticker-pause { outline: 3px solid var(--orange); outline-offset: -3px; }
.ticker-label {
  flex: none;
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: var(--red-deep);
  color: #fff;
  font: 600 19px/1 var(--oswald);
  text-transform: uppercase;
}
.ticker-window { flex: 1; min-width: 0; overflow: hidden; }
.ticker-belt { display: flex; width: max-content; animation: ticker 120s linear infinite; }
.ticker:hover .ticker-belt,
.ticker-toggle:checked ~ .ticker-window .ticker-belt { animation-play-state: paused; }
.ticker-items { display: flex; }
.ticker-items li {
  padding-left: 18px;
  color: var(--ink);
  font: 400 17px/32px var(--oswald);
  white-space: nowrap;
}
.ticker-items li::after { content: "•"; color: var(--red-deep); margin-left: 18px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Layout ---------- */

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 397px;
  gap: 40px;
  align-items: start;
  margin-top: 22px;
}
.col-main {
  display: grid;
  grid-template-columns: minmax(0, 3.24fr) minmax(0, 1fr);
  column-gap: 15px;
}
.col-main > * { grid-column: 1 / -1; }
.col-main > .lead { grid-column: 1; }
.col-main > .featured { grid-column: 2; }

.bar {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 2px 10px 4px;
  background: var(--red);
  color: #fff;
  font: 700 33px/1.05 var(--oswald);
  text-transform: uppercase;
}
.lead .bar { margin-right: -15px; }
.bar-end { justify-content: flex-end; }
.bar-small { min-height: 40px; padding: 6px 10px; font-size: 21px; }

/* Lead story */
.lead-story { margin-top: 8px; }
.lead-media { position: relative; display: block; color: #fff; text-decoration: none; background: #000; }
.lead-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.lead-over {
  position: absolute;
  inset: auto 0 0 0;
  padding: 60px 16px 14px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.88) 45%);
}
.lead-kicker,
.tag,
.sponsor-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  font: 800 11px/1.2 var(--sans);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.lead-kicker::before,
.tag::before,
.sponsor-tag::before {
  content: "";
  width: 8px; height: 10px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
}
.tag-date { margin-left: 4px; color: #5f6368; font-weight: 600; }
.item-date { display: block; margin-top: 4px; color: #5f6368; font: 600 11px/1.2 var(--sans); letter-spacing: 0.02em; text-transform: uppercase; }
.lead-hl {
  display: block;
  margin-top: 6px;
  font: 700 34px/1.05 var(--oswald);
  text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}
.lead-hl em { font-style: normal; color: #ff3b30; }
.lead-media:hover .lead-hl { text-decoration: underline; text-decoration-thickness: 3px; }
.lead-deck { margin: 10px 0; color: var(--text); font: 400 18px/25px var(--sans); }
.bluebar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  background: var(--blue);
  color: #fff;
  font: 600 17px/1 var(--oswald);
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}
.bluebar:hover { background: #123b6c; }

/* Featured minis */
.mini { margin-top: 8px; }
.mini + .mini { margin-top: 16px; }
.mini-media { display: block; }
.mini-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.crop-top { object-position: 50% 22%; }
.mini-hl { margin-top: 8px; font: 300 16px/19px var(--oswald); color: var(--ink); }
.mini-hl a { text-decoration: none; }
.mini-hl a:hover { text-decoration: underline; }

/* Delisted banner */
.banner { margin-top: 18px; padding-bottom: 18px; border-bottom: 4px solid var(--red); }
.banner .ad-label { margin-bottom: 4px; text-align: right; }
.banner-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 84px;
  padding: 0 14px 0 20px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #1c1c1c, #050505);
  border: 3px solid #2a2a2a;
  color: #fff;
  text-decoration: none;
}
.banner-big {
  font: 900 58px/1 var(--sans);
  letter-spacing: -0.05em;
  text-shadow: -2px 1px 0 rgba(255, 40, 70, 0.85), 2px 2px 0 rgba(0, 215, 225, 0.85);
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -7 0 0 0 4.6'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -7 0 0 0 4.6'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)'/%3E%3C/svg%3E");
}
.banner-click {
  position: relative;
  flex: none;
  padding: 4px 22px 6px 10px;
  border: 2px solid #fff;
  font: 500 24px/1 var(--sans);
}
.banner-click svg { position: absolute; right: -8px; bottom: -10px; width: 18px; height: 22px; }
.banner-link:hover .banner-click { background: #fff; color: #000; }

/* Sponsor panel (in the 2020 slider spot) */
.sponsor { margin-top: 18px; }
.sponsor-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 24px;
  min-height: 380px;
  padding: 30px 30px 0 34px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 9, 18, 0.92) 0, rgba(5, 9, 18, 0.6) 60%, rgba(5, 9, 18, 0.2)),
    url("assets/img/world.svg") 30% 40% / 1400px auto no-repeat,
    linear-gradient(180deg, #1f55a6, #0d2550);
}
.sponsor-text { padding-bottom: 26px; }
.sponsor-tag { color: #fff; }
.sponsor-name { margin-top: 14px; font: 700 22px/1 var(--sans); }
.sponsor-name a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.sponsor-name a:hover { text-decoration: underline; }
.sponsor-icon { width: 46px; height: 46px; border-radius: 11px; }
.sponsor-shout {
  margin-top: 14px;
  font: 700 40px/1.04 var(--oswald);
  text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}
.sponsor-copy { margin-top: 12px; max-width: 470px; color: #dde1e6; font-size: 15px; line-height: 1.55; }
.sponsor-stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.sponsor-disclosure { margin-top: 14px; color: #c3c8cf; font-size: 13px; font-style: italic; }
.sponsor-screen { align-self: end; }
.sponsor-screen img {
  width: 100%;
  margin-bottom: -60px;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.6));
}

/* Featured stories / All news tabs and the grid */
.stories { margin-top: 26px; }
.tabs { display: flex; border-bottom: 4px solid var(--red-deep); }
.tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  color: #6b6e72;
  font: 700 27px/1 var(--oswald);
  text-transform: uppercase;
  text-decoration: none;
}
.tab-on { background: var(--red-deep); color: #fff; }
a.tab:hover { color: var(--ink); }
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 33px;
  margin-top: 22px;
}
.story-media { display: block; }
.story-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.story-hl { margin-top: 14px; color: var(--ink); font: 700 19px/1.3 var(--oswald); text-transform: uppercase; }
.story-hl a { text-decoration: none; }
.story-hl a:hover { text-decoration: underline; }
.story-sub { margin-top: 8px; color: #444; font: 300 18px/20px var(--oswald); }
.tag { margin-top: 10px; color: var(--blue); }

/* Resistance banner (the 2020 "limited edition" strip) */
.resist { margin-top: 30px; padding-bottom: 18px; border-bottom: 4px solid var(--red); }
.resist-link {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 104px;
  color: var(--ink);
  text-decoration: none;
}
.resist-art { flex: none; width: 92px; height: 92px; margin-left: 10px; }
.resist-art svg { width: 100%; height: 100%; }
.resist-text { flex: 1; display: flex; flex-direction: column; }
.resist-small { color: var(--blue); font: 800 20px/1.1 var(--sans); letter-spacing: 0.32em; text-transform: uppercase; }
.resist-head { margin-top: 2px; font: 700 44px/1 var(--oswald); text-transform: uppercase; }
.resist-copy { margin-top: 4px; color: #444; font-size: 14px; }
.resist-cta {
  flex: none;
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 0 26px 0 50px;
  background: #1d2129;
  color: #fff;
  font: 700 30px/0.95 var(--oswald);
  text-align: center;
  text-transform: uppercase;
  clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%, 30px 50%, 0 0);
}
.resist-link:hover .resist-cta { background: var(--btn); }
.resist-link:hover .resist-head { text-decoration: underline; }

/* Store */
.store { margin-top: 32px; }
.store-title {
  padding-bottom: 8px;
  border-bottom: 4px solid var(--blue);
  color: var(--head);
  font: 700 32px/1.1 var(--oswald);
  text-transform: uppercase;
}
.store-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.ad-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px 10px 12px;
  border: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
}
.ad-art { display: grid; place-items: center; margin: 6px 0 8px; background: #f3f4f6; }
.ad-art img { width: 120px; height: 120px; }
.ad-name { font: 400 19px/1.15 var(--oswald); text-transform: uppercase; }
.tm { font-size: 0.6em; vertical-align: super; }
.ad-copy { margin-top: 6px; color: #444; font: 300 18px/25px var(--oswald); }
.ad-price { margin-top: auto; padding-top: 8px; color: var(--red-deep); font: 700 13px/1.2 var(--sans); }
.ad-cta {
  margin-top: 8px;
  padding: 8px 6px;
  background: var(--blue);
  color: #fff;
  font: 500 15px/1 var(--oswald);
  text-align: center;
  text-transform: uppercase;
}
.ad-link:hover .ad-cta { background: #123b6c; }

.loadmore { margin-top: 28px; }
.loadmore a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  background: #e9eaec;
  color: #4a4d52;
  font: 500 20px/1 var(--oswald);
  text-transform: uppercase;
  text-decoration: none;
}
.loadmore a:hover { background: #dcdee1; }

/* ---------- Right rail ---------- */

.col-rail { display: flex; flex-direction: column; gap: 34px; }
.rail-title {
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 4px solid var(--red);
  color: var(--head);
  font: 700 34px/1.15 var(--oswald);
  text-transform: uppercase;
}
.rail-title-center { text-align: center; }

.search-form { display: flex; align-items: center; gap: 14px; }
.search-form input {
  flex: 1;
  min-width: 0;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #c8cbd0;
  color: var(--ink);
  font: 400 16px/1 var(--oswald);
}
.search-form input::placeholder { color: #6b6e72; }
.search-form button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: none; color: var(--blue); cursor: pointer; }
.search-form svg { width: 26px; height: 26px; }

.tower-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 18px 0;
  background: #0d0d14;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}
.tower .ad-label { position: absolute; top: 8px; right: 10px; }
.tower-big { width: 100%; height: auto; fill: none; stroke: var(--yellow); stroke-width: 3; font-family: var(--sans); font-weight: 500; }
.tower-line { margin-top: 2px; font: 500 34px/1 var(--oswald); text-transform: uppercase; }
.tower-shelf { display: flex; align-items: flex-end; justify-content: center; gap: 2px; margin-top: 16px; }
.tower-shelf img { width: 62px; height: 62px; }
.tower-shelf .tower-app { width: 76px; height: 76px; border-radius: 17px; }
.tower-cta {
  align-self: stretch;
  margin: 12px -18px 0;
  padding: 10px 0 14px;
  background: var(--red-deep);
  font: 600 52px/1 var(--oswald);
  text-align: center;
  text-transform: uppercase;
}
.tower-link:hover .tower-cta { background: #b51818; }

.follow { text-align: center; }
.follow .rail-title { font-size: 32px; }
.follow-links { color: var(--ink); font: 600 19px/1.4 var(--oswald); }
.follow-links a { color: var(--blue); text-decoration: none; }
.follow-links a:hover { text-decoration: underline; }
.follow-note { margin-top: 4px; color: #444; font: 300 17px/20px var(--oswald); }

.host-body { display: flex; align-items: center; gap: 16px; padding: 14px; background: #0b0b0b; color: #fff; }
.host-photo { width: 118px; height: 118px; flex: none; object-fit: cover; }
.host-name { font: 700 44px/1 var(--oswald); text-transform: uppercase; }
.host-line { margin-top: 6px; color: #d5d7db; font: 400 19px/1.25 var(--oswald); }
.host-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.host-actions .btn { padding-inline: 8px; font-size: 17px; }

.rail-list li + li { margin-top: 13px; }
.rail-list a { color: var(--text); font: 400 17px/25px var(--oswald); text-decoration: none; }
.rail-list a:hover { color: var(--blue); text-decoration: underline; }
.rail-more { margin-top: 14px; }
.rail-more a { color: var(--blue); font: 600 16px/1.3 var(--oswald); text-transform: uppercase; }

.informed-copy { color: var(--text); font: 400 16px/24px var(--oswald); text-align: center; }
.informed-box { margin-top: 14px; padding: 18px; background: #222; }
.informed-box p { margin-bottom: 12px; color: #fff; font: 400 16px/24px var(--oswald); text-align: center; }

/* ---------- Footer ---------- */

.footer { margin-top: 48px; padding: 34px 0 40px; background: var(--black); color: #c3c8cf; }
.wordmark-foot { height: 38.1px; width: auto; aspect-ratio: 5805 / 794; color: #8e949b; --wm-m: #8e949b; }
.footnav ul { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 20px; }
.footnav a { color: #e3e5e8; font: 400 18px/1.2 var(--oswald); text-transform: uppercase; text-decoration: none; }
.footnav a:hover { text-decoration: underline; }
.disclaimer { margin-top: 18px; font-size: 13px; }
.copyright { margin-top: 6px; font-size: 13px; }

/* ---------- One column below 1024px ---------- */

@media (max-width: 1023px) {
  .layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    width: min(720px, 100% - 2 * var(--gutter));
  }
  .col { display: contents; }
  .col-main > * { margin-top: 0; }
  .lead { order: 1; }
  .sponsor { order: 2; }
  .featured { order: 3; }
  .host { order: 4; }
  .stories { order: 5; }
  .banner { order: 6; }
  .tower { order: 7; }
  .latest { order: 8; }
  .resist { order: 9; }
  .store { order: 10; }
  .follow { order: 11; }
  .informed { order: 12; }
  .explainers { order: 13; }
  .watch { order: 14; }
  .loadmore { order: 15; }
  .search { display: none; }

  .lead .bar { margin-right: 0; }
  .bar-end { justify-content: flex-start; }
  .featured { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .featured .bar { grid-column: 1 / -1; }
  .mini + .mini { margin-top: 8px; }
  .tower-link { max-width: 420px; width: 100%; margin-inline: auto; }

  .show { width: 330px; }
}

/* ---------- Phone ---------- */

@media (max-width: 719px) {
  :root { --gutter: 16px; }
  body { font-size: 14px; }

  .topad-link { height: 64px; gap: 10px; }
  .topad .ad-label { top: 4px; font-size: 8px; }
  .topad-icon { width: 38px; height: 38px; border-radius: 9px; margin-top: 8px; }
  .topad-name { margin-top: 8px; font-size: 24px; }
  .topad-pitch, .topad-shot { display: none; }
  .topad-cta { margin-left: auto; padding: 0 34px 0 30px; margin-right: -16px; font-size: 20px; clip-path: polygon(16px 0, 100% 0, 100% 100%, 0 100%); }

  .masthead-in { height: 72px; }
  .logo { margin-left: 0; }
  .logo .wordmark { height: 34.7px; }
  .show { width: 72px; padding: 0; }
  .show-title, .show-icons { display: none; }
  .show-play {
    position: absolute;
    left: -14px; top: 50%;
    width: 36px; height: 36px;
    margin: -18px 0 0;
    padding: 0;
    background: none;
    font-size: 0;
  }
  .show-btn { width: 32px; height: 32px; margin-top: -16px; }
  .show-btn::after { left: 11px; top: 7px; border-width: 7px 0 7px 11px; }
  .show-host { width: 72px; height: 72px; }

  .nav { height: 44px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
  .nav-list { padding-right: 48px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav-list { gap: 18px; }
  .nav-list a { font-size: 18px; }
  .nav-cta { display: none; }

  .ticker { height: 32px; margin-top: 10px; }
  .ticker-label { padding: 0 9px; font-size: 15px; }
  .ticker-items li { font-size: 15px; line-height: 30px; }

  .layout { gap: 24px; margin-top: 16px; }
  .bar { min-height: 40px; font-size: 25px; }
  .bar-small { font-size: 18px; }

  .lead-over { position: static; display: block; padding: 10px 12px 12px; background: #0b0b0b; }
  .lead-hl { font-size: 26px; text-shadow: none; }
  .lead-deck { font-size: 15px; line-height: 22px; }

  .featured { gap: 0 12px; }
  .mini-hl { font-size: 14px; }

  .banner { padding-bottom: 14px; }
  .banner-link { height: 60px; padding: 0 10px 0 12px; gap: 8px; }
  .banner-big { font-size: 23px; white-space: normal; line-height: 0.95; text-shadow: -1px 1px 0 rgba(255, 40, 70, 0.85), 1px 1px 0 rgba(0, 215, 225, 0.85); }
  .banner-click { padding: 3px 14px 4px 7px; font-size: 14px; }
  .banner-click svg { width: 13px; height: 16px; right: -6px; bottom: -8px; }

  .sponsor-panel { grid-template-columns: minmax(0, 1fr) 96px; gap: 12px; min-height: 0; padding: 18px 16px 0; }
  .sponsor-text { display: contents; }
  .sponsor-tag, .sponsor-name, .sponsor-shout { grid-column: 1; }
  .sponsor-copy, .sponsor-stores, .sponsor-disclosure { grid-column: 1 / -1; }
  .sponsor-screen { grid-column: 2; grid-row: 1 / span 3; align-self: start; }
  .sponsor-screen img { margin: 0; }
  .sponsor-name { margin-top: 10px; font-size: 19px; }
  .sponsor-icon { width: 36px; height: 36px; border-radius: 9px; }
  .sponsor-shout { margin-top: 10px; font-size: 27px; }
  .sponsor-copy { margin-top: 10px; font-size: 14px; }
  .sponsor-stores { margin-top: 14px; }
  .sponsor-stores .btn { flex: 1; }
  .sponsor-disclosure { margin: 12px 0 18px; }

  .tab { height: 42px; font-size: 20px; }
  .grid { grid-template-columns: 1fr; gap: 18px; margin-top: 16px; }
  .story { display: grid; grid-template-columns: 132px minmax(0, 1fr); column-gap: 12px; align-items: start; }
  .story-media { grid-row: 1 / span 3; }
  .story-hl { margin-top: 0; font-size: 16px; line-height: 1.25; }
  .story-sub { margin-top: 4px; font-size: 15px; }
  .tag { margin-top: 6px; }

  .resist { padding-bottom: 14px; }
  .resist-link { gap: 10px; min-height: 76px; }
  .resist-art { width: 50px; height: 50px; margin-left: 0; }
  .resist-small { font-size: 11px; letter-spacing: 0.24em; }
  .resist-head { font-size: 27px; }
  .resist-copy { font-size: 12px; line-height: 1.35; }
  .resist-cta { padding: 0 12px 0 28px; font-size: 19px; clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%, 18px 50%, 0 0); }

  .store-title, .rail-title { font-size: 26px; }
  .store-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
  .ad-art { margin: 4px 0 6px; }
  .ad-art img { width: 64px; height: 64px; }
  .ad-name { font-size: 16px; }
  .ad-copy { font-size: 15px; line-height: 21px; }

  .tower-link { padding-top: 22px; }
  .tower-big { width: auto; height: 104px; }
  .tower-line { font-size: 26px; }
  .tower-shelf { display: none; }
  .tower-cta { margin-top: 14px; padding: 8px 0 10px; font-size: 34px; }
  .follow, .informed { display: none; }

  .follow .rail-title { font-size: 24px; }
  .host-photo { width: 96px; height: 96px; }
  .host-name { font-size: 36px; }
  .host-line { font-size: 17px; }
  .host-actions .btn { font-size: 15px; }

  .rail-list a { font-size: 16px; line-height: 1.4; }
  .footer { margin-top: 36px; padding: 28px 0 32px; }
  .wordmark-foot { height: 24px; }
  .footnav a { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker { height: auto; }
  .ticker-belt { animation: none; width: auto; }
  .ticker-items[aria-hidden="true"] { display: none; }
  .ticker-items { flex-wrap: wrap; padding: 2px 0; }
  .ticker-items li { white-space: normal; line-height: 1.35; padding: 5px 0 5px 12px; }
  .ticker-pause { display: none; }
  * { scroll-behavior: auto; transition: none; }
}

/* ---------- Article page (news/template.html) ---------- */

.post-head {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin: 26px auto 0;
  padding-bottom: 16px;
  border-bottom: 5px solid var(--black);
}
.post-title { color: var(--head); font: 700 38px/1.15 var(--oswald); text-transform: uppercase; }
.post-sub { margin-top: 10px; color: var(--head); font: 400 23px/30px var(--oswald); }
.post-meta { margin-top: 12px; color: #5f6368; font: 700 16px/1.2 var(--sans); text-transform: uppercase; }
.post-source { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; text-transform: none; }
.post-source:hover { text-decoration-thickness: 2px; }
.article-page .layout { margin-top: 34px; }

.col-post { min-width: 0; }
.post-lead img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-credit { margin-top: 10px; color: #5f6368; font: 400 13px/1.2 var(--oswald); text-align: right; text-transform: uppercase; }

.share { display: flex; justify-content: center; gap: 10px; margin: 26px 0 30px; }
.share a {
  display: grid;
  place-items: center;
  width: 50px; height: 46px;
  color: #fff;
  border-radius: 2px;
}
.share svg { width: 24px; height: 24px; fill: currentColor; }
.share-x { background: #000; }
.share-tg { background: #1d7fb8; }
.share-mail { background: #2b6fd6; }
.share a:hover { filter: brightness(1.15); }

.post-body { color: #1d1f21; font: 400 19px/30px var(--sans); }
.post-body > * + * { margin-top: 26px; }
.post-body a { color: var(--blue); font-weight: 500; }
.post-body strong { font-weight: 700; }
.pull {
  padding: 26px 0 24px;
  border-top: 4px solid var(--rule);
  border-bottom: 4px solid var(--rule);
}
.pull p { position: relative; padding-left: 44px; color: #333; font: 300 17px/30px var(--oswald); }
.pull p::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 30px; height: 26px;
  background: var(--blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 26'%3E%3Cpath d='M0 26V14C0 6 4 1 12 0v5c-4 1-6 4-6 8h6v13zm18 0V14c0-8 4-13 12-14v5c-4 1-6 4-6 8h6v13z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 26'%3E%3Cpath d='M0 26V14C0 6 4 1 12 0v5c-4 1-6 4-6 8h6v13zm18 0V14c0-8 4-13 12-14v5c-4 1-6 4-6 8h6v13z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pull footer { margin-top: 14px; padding-left: 44px; color: #444; font: 300 17px/1.3 var(--oswald); }
.pull footer a { color: var(--blue); font-weight: 400; text-decoration: none; }
.post-fig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-fig figcaption { margin-top: 8px; color: #5f6368; font: 400 14px/1.4 var(--sans); }
.post-body .inad-link { color: var(--ink); font-weight: 400; }
.post-end { font-weight: 700; }
.post-end a { color: var(--ink); font-weight: 700; }

/* Article body: subheads, lists, block quotes and the sources list */
.post-body h2 { margin-top: 40px; color: var(--head); font: 700 28px/1.2 var(--oswald); text-transform: uppercase; }
.post-body ul, .post-body ol { margin-bottom: 0; padding-left: 28px; }
.post-body ul { list-style: disc; }
.post-body li + li { margin-top: 10px; }
.post-body .quote { padding-left: 20px; border-left: 4px solid var(--rule); color: #444; }
.post-sources li { font-size: 16px; line-height: 1.5; }
.post-sources a { font-weight: 400; overflow-wrap: anywhere; }

/* In-body ad */
.inad-link {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 12px 16px 14px;
  border: 1px solid var(--rule);
  border-left: 6px solid var(--red-deep);
  color: var(--ink);
  text-decoration: none;
}
.inad .ad-label { grid-column: 1 / -1; }
.inad .ad-art { margin: 0; }
.inad .ad-art img { width: 96px; height: 96px; }
.inad-text { display: flex; flex-direction: column; }
.inad .ad-name { font-size: 24px; }
.inad .ad-copy { font-size: 18px; }
.inad .ad-cta { margin: 0; padding: 12px 16px; font-size: 18px; }
.inad-link:hover .ad-cta { background: #123b6c; }

/* End-of-post block: the show (left) and featured stories (right) */
.endblock {
  display: grid;
  grid-template-columns: minmax(0, 3.24fr) minmax(0, 1fr);
  column-gap: 15px;
  margin-top: 40px;
}
.endshow .bar { margin-right: -15px; }
.endshow-panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  margin-top: 8px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 9, 18, 0.95) 0, rgba(5, 9, 18, 0.5) 55%, rgba(5, 9, 18, 0) 75%),
    url("assets/img/world.svg") 40% 40% / 1200px auto no-repeat,
    #163f80;
  color: #fff;
  text-decoration: none;
}
.endshow-photo {
  position: absolute;
  right: 0; top: 0;
  width: 56%; height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 35%);
  mask-image: linear-gradient(90deg, transparent 0, #000 35%);
}
.endshow-text { position: relative; display: flex; flex-direction: column; padding: 24px; }
.endshow-the { color: #d5d7db; font: 300 18px/1 var(--oswald); text-transform: uppercase; }
.endshow-name { font: 700 52px/0.95 var(--oswald); text-transform: uppercase; }
.endshow-name span { color: #ff3b30; }
.endshow-line { margin-top: 10px; color: #d5d7db; font: 300 20px/1.2 var(--oswald); }
.endshow .bluebar { margin-top: 0; }
.endblock .featured { grid-column: 2; }

/* Big store ad */
.bigad { margin-top: 34px; }
.bigad-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 34px;
  overflow: hidden;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .14 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"),
    #141414;
  color: #fff;
  text-align: center;
  text-decoration: none;
}
.bigad .ad-label { position: absolute; top: 10px; right: 12px; }
.bigad-head { max-width: 640px; color: #ffad00; font: 800 52px/1.08 var(--sans); text-transform: uppercase; }
.bigad-sub { margin-top: 10px; padding: 0 16px; font: 500 26px/1.2 var(--sans); }
.bigad-tear {
  align-self: stretch;
  margin-top: 30px;
  padding: 44px 0 0;
  background: #e8e8e6;
  clip-path: polygon(0 18px, 6% 4px, 13% 16px, 21% 2px, 30% 14px, 38% 0, 47% 12px, 55% 3px, 64% 16px, 72% 4px, 81% 15px, 89% 2px, 100% 14px, 100% 100%, 0 100%);
}
.bigad-off { display: block; color: #111; font: italic 800 46px/1 var(--sans); transform: rotate(-3deg); }
.bigad-shelf { display: flex; justify-content: center; align-items: flex-end; gap: 6px; margin-top: 20px; }
.bigad-shelf img { width: 112px; height: 112px; }
.bigad-shelf .tower-app { width: 120px; height: 120px; border-radius: 26px; margin-bottom: 6px; }
.bigad-cta {
  align-self: stretch;
  padding: 16px 0 18px;
  background: #ffad00;
  color: #1a1a1a;
  font: 800 54px/1 var(--sans);
  text-transform: uppercase;
}
.bigad-link:hover .bigad-cta { background: #ffc140; }

/* Related articles + comments */
.related { margin-top: 56px; }
.related .rail-title { margin-bottom: 0; }
.related-big { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 14px; }
.related-small { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 34px; }
.related-small li { padding-top: 18px; border-top: 2px solid var(--rule); }
.related-small .story-hl { margin-top: 0; }
.comments { margin-top: 44px; }
.comments-title {
  padding-bottom: 8px;
  border-bottom: 5px solid var(--black);
  color: var(--head);
  font: 700 34px/1.15 var(--oswald);
  text-transform: uppercase;
}
.comments p { margin: 16px 0 14px; font-size: 15px; }

.store-one .ad-link { flex-direction: row; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-one .ad-label { flex-basis: 100%; }
.store-one .ad-art { margin: 0; }
.store-one .ad-art img { width: 100px; height: 100px; }
.store-one .store-one-text { flex: 1; display: flex; flex-direction: column; }
.store-one .ad-cta { flex-basis: 100%; }

@media (max-width: 1023px) {
  .article-page .layout { margin-top: 24px; }
  .col-post { display: contents; }
  .post { order: 1; }
  .endblock { order: 2; display: block; margin-top: 0; }
  .endblock .featured { margin-top: 24px; }
  .endshow .bar { margin-right: 0; }
  .article-page .host { order: 3; }
  .article-page .resist { order: 4; }
  .bigad { order: 5; margin-top: 0; }
  .related { order: 6; margin-top: 0; }
  .comments { order: 7; margin-top: 0; }
  .article-page .latest { order: 8; }
  .article-page .tower { order: 9; }
  .article-page .explainers { order: 10; }
  .article-page .store-one { order: 11; }
  .article-page .follow, .article-page .informed { order: 12; }
}

@media (max-width: 719px) {
  .post-head { margin-top: 18px; padding-bottom: 12px; border-bottom-width: 4px; }
  .post-title { font-size: 27px; line-height: 1.15; }
  .post-sub { font-size: 18px; line-height: 1.25; }
  .post-meta { font-size: 12px; }
  .share { margin: 18px 0 22px; }
  .share a { width: 46px; height: 40px; }
  .post-body { font-size: 17px; line-height: 27px; }
  .post-body > * + * { margin-top: 20px; }
  .post-body h2 { margin-top: 30px; font-size: 22px; }
  .post-body ul, .post-body ol { padding-left: 22px; }
  .post-sources li { font-size: 15px; }
  .pull { padding: 18px 0 16px; }
  .pull p { padding-left: 36px; font-size: 16px; line-height: 26px; }
  .pull p::before { width: 24px; height: 21px; }
  .pull footer { padding-left: 36px; font-size: 15px; }
  .inad-link { grid-template-columns: 72px minmax(0, 1fr); gap: 4px 12px; padding: 10px 12px 12px; }
  .inad .ad-art img { width: 64px; height: 64px; }
  .inad .ad-name { font-size: 18px; }
  .inad .ad-copy { font-size: 15px; line-height: 1.3; }
  .inad .ad-cta { grid-column: 1 / -1; margin-top: 8px; padding: 9px; font-size: 16px; }
  .endshow-text { padding: 14px; }
  .endshow-name { font-size: 34px; }
  .endshow-line { font-size: 16px; }
  .endshow-the { font-size: 14px; }
  .bigad-link { padding-top: 26px; }
  .bigad-head { padding: 0 12px; font-size: 26px; }
  .bigad-sub { font-size: 15px; }
  .bigad-tear { margin-top: 18px; padding-top: 30px; }
  .bigad-off { font-size: 28px; }
  .bigad-shelf { margin-top: 12px; gap: 2px; }
  .bigad-shelf img { width: 56px; height: 56px; }
  .bigad-shelf .tower-app { width: 62px; height: 62px; border-radius: 14px; }
  .bigad-cta { padding: 10px 0 12px; font-size: 30px; }
  .related-big, .related-small { grid-template-columns: 1fr; gap: 16px; margin-top: 14px; }
  .related-small li { padding-top: 12px; }
  .related .story { display: grid; }
  .comments-title { font-size: 26px; }
  .article-page .explainers, .article-page .store-one, .article-page .host { display: none; }
}

/* ---------- Site build additions (tools/build.py appends this file to style.css) ---------- */

/* Status box: a markdown blockquote whose text starts with "UPDATE" */
.post-update {
  padding: 18px 22px;
  border: 4px solid var(--red);
}
.post-update p + p { margin-top: 12px; }
.post-update strong:first-child { color: var(--red-deep); }

/* Inline code in article text */
.post-body code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; overflow-wrap: anywhere; }

/* Explainers list page and the 404 page */
.list-page .grid { margin-top: 0; }

@media (max-width: 719px) {
  .post-update { padding: 14px 16px; border-width: 3px; }
}
