/*
Theme Name: The Defense Post
Theme URI: https://thedefensepost.com
Author: Sentry Media Group
Description: Redesign of The Defense Post. Georgia and Source Sans, navy and cyan, the existing logo. Front page built around a live wire, region theaters, domains, Contract Watch with DefMatch and a day by day week view.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: defensepost
*/

:root {
	--navy: #000680;
	--deep: #00004e;
	--night: #05072e;
	--cyan: #23c1ff;
	--ice: #c8f2ff;
	--teal: #0d7494;
	--teal-deep: #044b61;
	--ink: #2c2f34;
	--muted: #5b6172;
	--line: #dde1ec;
	--bg: #ffffff;
	--soft: #f2f4fa;
	--card: #ffffff;
	--head: #000680;
	--link-hover: #0d7494;
	--serif: Georgia, "Times New Roman", serif;
	--sans: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--w: 1280px;
}
:root[data-mode="night"] {
	--ink: #dfe3f5;
	--muted: #a2a8d0;
	--line: #262c62;
	--bg: #070a26;
	--soft: #0d1238;
	--card: #10143a;
	--head: #ffffff;
	--link-hover: #23c1ff;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--serif); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--head); margin: 0; line-height: 1.18; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
ol, ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.wrap { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--cyan); color: var(--deep); padding: 10px 16px; font-family: var(--sans); font-weight: 700; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.empty { padding: 80px 24px; text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 20px; font-family: var(--sans); font-weight: 700; font-size: 16px; line-height: 1; border: 0; transition: background-color .15s, color .15s; }
.btn-cyan { background: var(--cyan); color: var(--deep); }
.btn-cyan:hover { background: #fff; color: var(--deep); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--deep); }
.btn-block { display: flex; width: 100%; min-height: 48px; }

/* Reading progress */
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: var(--cyan); transform: scaleX(0); transform-origin: 0 50%; z-index: 90; pointer-events: none; }

/* Utility bar */
.util { background: var(--deep); color: #cfd4ff; font-family: var(--sans); font-size: 14px; }
.util-in { display: flex; align-items: center; gap: 24px; min-height: 38px; }
.util-date { color: #fff; font-weight: 600; white-space: nowrap; }
.util-links { display: flex; gap: 20px; margin-left: auto; white-space: nowrap; overflow: hidden; }
.util-links a:hover { color: var(--cyan); }
.mode { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid rgba(255,255,255,.28); color: #fff; padding: 3px 10px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.mode:hover { border-color: var(--cyan); color: var(--cyan); }
.mode .ico { width: 14px; height: 14px; }

/* Masthead */
.mast { background: var(--bg); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.mast-in { display: flex; align-items: center; gap: 20px; padding-top: 22px; padding-bottom: 18px; transition: padding .2s; }
.logo { flex: 0 0 auto; display: block; }
.logo img { width: 330px; height: auto; transition: width .2s; }
.logo-night { display: none; }
[data-mode="night"] .logo-day { display: none; }
[data-mode="night"] .logo-night { display: block; }
.mast-tag { font-style: italic; color: var(--muted); font-size: 15px; padding-left: 20px; border-left: 1px solid var(--line); line-height: 1.3; max-width: 190px; }
.find { margin-left: auto; display: flex; align-items: center; border: 1px solid var(--line); background: var(--soft); height: 42px; width: 250px; }
.find input { flex: 1; min-width: 0; border: 0; background: none; padding: 0 12px; font-family: var(--sans); font-size: 16px; color: var(--ink); height: 100%; }
.find input:focus { outline: 0; }
.find:focus-within { border-color: var(--navy); }
.find button { background: none; border: 0; width: 42px; height: 40px; display: grid; place-items: center; color: var(--head); }
.find .ico { width: 20px; height: 20px; }
.burger { display: none; background: none; border: 1px solid var(--line); width: 42px; height: 42px; place-items: center; color: var(--head); }
.nav { border-top: 1px solid var(--line); }
.nav-in { display: flex; align-items: stretch; gap: 4px; font-family: var(--sans); font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.nav-in > a, .drop > button { display: flex; align-items: center; padding: 0 14px; height: 46px; color: var(--head); background: none; border: 0; text-transform: inherit; letter-spacing: inherit; font-weight: inherit; position: relative; white-space: nowrap; }
.nav-in > a:first-child { padding-left: 0; }
.nav-in > a::after, .drop > button::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; background: var(--cyan); transform: scaleX(0); transform-origin: 0 50%; transition: transform .18s; }
.nav-in > a:first-child::after { left: 0; }
.nav-in > a:hover::after, .nav-in > a[aria-current]::after, .drop.open > button::after, .drop:hover > button::after { transform: scaleX(1); }
.drop { position: relative; }
.drop > button::before { content: ""; order: 2; margin-left: 7px; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.drop-menu { display: none; position: absolute; left: 0; top: 100%; min-width: 200px; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--cyan); box-shadow: 0 14px 30px rgba(0,6,128,.14); padding: 6px 0; z-index: 60; }
.drop.open .drop-menu, .drop:hover .drop-menu { display: block; }
.drop-menu a { display: block; padding: 9px 16px; color: var(--head); text-transform: none; letter-spacing: 0; font-size: 16px; }
.drop-menu a:hover { background: var(--soft); }
.nav-match { margin-left: auto; color: var(--teal) !important; }
[data-mode="night"] .nav-match { color: var(--cyan) !important; }
.mast.small .mast-in { padding-top: 10px; padding-bottom: 10px; }
.mast.small .logo img { width: 230px; }
.mast.small .mast-tag { display: none; }

/* Ticker */
.ticker { background: var(--navy); color: #fff; font-family: var(--sans); font-size: 15px; }
.ticker-in { display: flex; align-items: center; gap: 16px; height: 40px; }
.ticker-tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--cyan); white-space: nowrap; }
.ticker-tag i, .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(35,193,255,.7); animation: pulse 2s infinite; display: inline-block; flex: 0 0 auto; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(35,193,255,0); } 100% { box-shadow: 0 0 0 0 rgba(35,193,255,0); } }
.ticker-view { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track { display: inline-flex; white-space: nowrap; animation: ticker 90s linear infinite; }
.ticker-view:hover .ticker-track, .ticker-view:focus-within .ticker-track { animation-play-state: paused; }
.ticker-track a { padding: 0 26px 0 0; }
.ticker-track a:hover { color: var(--cyan); }
.ticker-track time { color: #9aa3ff; font-weight: 600; margin-right: 9px; font-size: 13px; text-transform: uppercase; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Section heads */
.sec-head { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--line); position: relative; }
.sec-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 64px; height: 3px; background: var(--cyan); }
.sec-label { flex: 0 0 100%; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
[data-mode="night"] .sec-label { color: var(--cyan); }
.sec-title { font-size: 30px; letter-spacing: -.01em; }
.sec-more { margin-left: auto; font-family: var(--sans); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--head); padding-bottom: 5px; }
.sec-more:hover, .sec-title a:hover { color: var(--link-hover); }
.sec-head.on-dark { border-color: rgba(255,255,255,.16); }
.sec-head.on-dark .sec-title { color: #fff; }
.sec-head.on-dark .sec-label { color: var(--cyan); }

/* Stories */
.kicker { display: inline-block; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 7px; }
[data-mode="night"] .kicker { color: var(--cyan); }
a.kicker:hover { color: var(--head); }
.story-img { display: block; overflow: hidden; background: var(--soft); aspect-ratio: 16 / 10; }
.story-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.story:hover .story-img img { transform: scale(1.035); }
.story-body { padding-top: 14px; }
.story-title { font-size: 19px; line-height: 1.24; }
.story-title a:hover { color: var(--link-hover); }
.story-dek { margin-top: 9px; color: var(--ink); font-size: 16px; line-height: 1.5; }
.story-meta { margin-top: 10px; font-family: var(--sans); font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 0 8px; }
.story-meta span { font-weight: 600; }
.story-meta span::after { content: "·"; margin-left: 8px; font-weight: 400; }
.story.row { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
.story.row .story-img { aspect-ratio: 4 / 3; }
.story.row .story-body { padding-top: 0; }
.story.row .story-title { font-size: 17px; }
.story.row .story-meta { margin-top: 6px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 26px; }

/* Front */
.front { display: grid; grid-template-columns: 272px minmax(0, 1fr) 300px; grid-template-areas: "wire lead rail"; gap: 0 34px; padding-top: 30px; padding-bottom: 36px; }
.front-lead { grid-area: lead; }
.lead .story-img { aspect-ratio: 16 / 9; }
.lead .story-body { padding-top: 18px; }
.lead .story-title { font-size: 40px; line-height: 1.1; letter-spacing: -.015em; }
.lead .story-dek { font-size: 19px; margin-top: 12px; }
.front-second { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.second .story-title { font-size: 20px; }
.front-also { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.also .story-body { padding-top: 0; }
.also .story-title { font-size: 18px; }
.also .story-dek { font-size: 15px; }
.wire { grid-area: wire; border-right: 1px solid var(--line); padding-right: 30px; display: flex; flex-direction: column; }
.wire-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 3px solid var(--head); }
.wire-head h2 { font-size: 22px; }
.wire-note { margin-left: auto; font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.wire-list { flex: 1; display: flex; flex-direction: column; }
.wire-list li { position: relative; padding: 14px 0 14px 18px; border-bottom: 1px solid var(--line); flex: 1 0 auto; }
.wire-list li::before { content: ""; position: absolute; left: 0; top: 21px; width: 7px; height: 7px; background: var(--cyan); }
.wire-list li::after { content: ""; position: absolute; left: 3px; top: 34px; bottom: -22px; width: 1px; background: var(--line); }
.wire-list li:last-child::after { display: none; }
.wire-list time { display: block; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.wire-list a:not(.kicker) { display: block; font-weight: 700; color: var(--head); font-size: 16px; line-height: 1.28; }
.wire-list a:not(.kicker):hover { color: var(--link-hover); }
.wire-list .kicker { margin: 6px 0 0; font-size: 11px; }
.wire-all { display: block; margin-top: 16px; font-family: var(--sans); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--head); }
.wire-all:hover { color: var(--link-hover); }
.rail { grid-area: rail; display: flex; flex-direction: column; gap: 26px; }
.rail-nl { flex: 1; display: flex; flex-direction: column; justify-content: center; background: var(--navy); border-top: 4px solid var(--cyan); padding: 24px 22px 26px; color: #fff; min-height: 220px; }
.rail-nl h2 { font-family: var(--sans); color: #fff; font-size: 22px; line-height: 1.15; margin-bottom: 16px; }
.rail-nl .nl-form { flex-direction: column; gap: 8px; }
.rail-nl .nl-form input, .rail-nl .nl-form button { height: 46px; width: 100%; flex: none; }
.picks { background: var(--soft); padding: 20px 20px 8px; border-top: 3px solid var(--navy); }
.picks h2 { font-size: 20px; margin-bottom: 6px; }
.picks ol { counter-reset: pick; }
.picks li { counter-increment: pick; display: grid; grid-template-columns: 34px 1fr; padding: 12px 0; border-top: 1px solid var(--line); }
.picks li:first-child { border-top: 0; }
.picks li::before { content: counter(pick, decimal-leading-zero); font-family: var(--sans); font-weight: 700; font-size: 15px; line-height: 1.5; color: var(--teal); letter-spacing: .04em; }
.picks a { font-weight: 700; color: var(--head); font-size: 16px; line-height: 1.28; }
.picks a:hover { color: var(--link-hover); }

/* Banners */
.ad { margin: 0 auto; text-align: center; }
.ad a { display: block; }
.ad img { margin: 0 auto; }
.ad-tag { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ad-home-strip { margin: 8px auto 44px; }
.ad-home-strip img { width: 100%; max-width: 1232px; }
.promo { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: stretch; margin-bottom: 56px; }
.promo.solo { grid-template-columns: minmax(0, 860px); justify-content: center; }
.ad-home-feature { margin: 0; display: flex; flex-direction: column; }
.ad-home-feature a { flex: 1; }
.ad-home-feature a { background: #010a35; display: flex; align-items: center; }
.ad-home-feature img { width: 100%; height: auto; }
.intel-card { background: var(--night); background-image: linear-gradient(rgba(35,193,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(35,193,255,.07) 1px, transparent 1px); background-size: 32px 32px; border-top: 4px solid var(--cyan); color: #fff; font-family: var(--sans); padding: 26px 26px 28px; margin-top: 21px; display: flex; flex-direction: column; }
.intel-card .match-kicker { display: flex; align-items: center; gap: 8px; }
.intel-card h2 { font-family: var(--sans); color: #fff; font-size: 26px; line-height: 1.1; margin-bottom: 14px; }
.intel-card ol { counter-reset: t; margin-bottom: 20px; flex: 1; }
.intel-card li { counter-increment: t; display: flex; align-items: baseline; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.14); font-weight: 600; font-size: 17px; }
.intel-card li::before { content: counter(t, decimal-leading-zero); color: var(--cyan); font-size: 13px; font-weight: 700; }
.intel-card li a:hover { color: var(--cyan); }
.intel-card li b { margin-left: auto; color: var(--cyan); }
.ad-article-top { margin: 0 0 30px; }
.ad-sidebar img { width: 100%; max-width: 300px; }

/* Theaters */
.theaters { background: var(--night); background-image: linear-gradient(rgba(35,193,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(35,193,255,.055) 1px, transparent 1px); background-size: 44px 44px; color: #dfe3f5; padding: 52px 0 56px; margin-bottom: 56px; }
.theaters .sec-head { align-items: center; }
.tabs { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.tabs button { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.2); color: #fff; font-family: var(--sans); font-weight: 600; font-size: 15px; padding: 8px 14px; display: inline-flex; align-items: center; gap: 9px; }
.tabs button small { font-size: 12px; font-weight: 700; color: var(--cyan); }
.tabs button:hover { border-color: var(--cyan); }
.tabs button[aria-selected="true"] { background: var(--cyan); border-color: var(--cyan); color: var(--deep); }
.tabs button[aria-selected="true"] small { color: var(--deep); }
.theater { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 44px; }
.theater[hidden] { display: none; }
.theater-top { display: grid; grid-template-columns: 1fr; position: relative; }
.theater-top .story-img { aspect-ratio: 16 / 9; }
.theater-top .story-title { font-size: 30px; color: #fff; }
.theater-top .story-title a:hover, .brief h3 a:hover { color: var(--cyan); }
.theater-top .story-dek { color: #c3c8ea; }
.theater-top .story-meta { color: #9aa3d6; }
.brief { display: grid; grid-template-columns: 52px 1fr; gap: 6px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.brief:first-child { padding-top: 0; }
.brief-n { font-family: var(--sans); font-size: 30px; font-weight: 700; line-height: 1; color: var(--cyan); }
.brief h3 { color: #fff; font-size: 19px; }
.brief p { font-family: var(--sans); font-size: 13px; color: #9aa3d6; margin-top: 6px; }
.theater-more { display: inline-block; margin-top: 20px; font-family: var(--sans); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.theater-more:hover { color: #fff; }

/* Domains */
.domains { margin-bottom: 56px; }
.domain-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-left: 1px solid var(--line); }
.domain-grid.n4 { grid-template-columns: repeat(4, 1fr); }
.domain-grid.n3 { grid-template-columns: repeat(3, 1fr); }
.domain { padding: 0 18px 4px; border-right: 1px solid var(--line); }
.domain-head { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .14em; color: var(--head); margin-bottom: 14px; }
.domain-head .ico { width: 30px; height: 30px; padding: 5px; background: var(--navy); color: var(--cyan); }
.domain-head i { margin-left: auto; font-style: normal; opacity: 0; transform: translateX(-6px); transition: .18s; color: var(--teal); }
.domain-head:hover i { opacity: 1; transform: none; }
.domain-top .story-title { font-size: 17px; }
.domain-link { display: block; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.32; color: var(--ink); }
.domain-link:hover { color: var(--link-hover); }

/* War and Conflict */
.war { background: var(--soft); padding: 52px 0; margin-bottom: 56px; }
.war-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; }
.war-top { position: relative; }
.war-top .story-img { aspect-ratio: 16 / 10; }
.war-top .story-title { font-size: 30px; }
.war-side .story.row:first-child { border-top: 0; padding-top: 0; }
.war-side .story.row { grid-template-columns: 150px 1fr; }
.war-side .story-title { font-size: 18px; }

/* Contract Watch */
.deals { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 44px; margin-bottom: 56px; align-items: start; }
.deal { display: grid; grid-template-columns: 112px 1fr 24px; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.deal:first-child { padding-top: 0; }
.deal-val { font-family: var(--sans); font-weight: 700; font-size: 26px; line-height: 1; color: var(--navy); letter-spacing: -.01em; padding: 12px 0; text-align: center; background: var(--ice); }
.deal-val.none { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; background: var(--soft); color: var(--muted); padding: 18px 0; }
[data-mode="night"] .deal-val.none { color: #a2a8d0; }
.deal-text strong { display: block; font-size: 19px; line-height: 1.24; color: var(--head); }
.deal-text em { display: block; font-style: normal; font-family: var(--sans); font-size: 13px; color: var(--muted); margin-top: 5px; }
.deal-go { font-family: var(--sans); font-size: 20px; color: var(--cyan); transition: transform .18s; }
.deal:hover strong { color: var(--link-hover); }
.deal:hover .deal-go { transform: translateX(5px); }
.match { background: var(--navy); background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 32px 32px; border-top: 4px solid var(--cyan); padding: 28px 28px 30px; color: #fff; font-family: var(--sans); }
.match-logo { height: 34px; width: auto; margin-bottom: 18px; }
.match-kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 8px; }
.match h2 { font-family: var(--sans); color: #fff; font-size: 30px; line-height: 1.08; letter-spacing: -.01em; }
.match-sub { color: var(--ice); font-size: 16px; line-height: 1.45; margin: 12px 0 18px; }
.match-cards > div { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); padding: 10px 12px; margin-bottom: 8px; }
.match-cards b { font-size: 24px; color: var(--cyan); line-height: 1; }
.match-cards span { font-weight: 700; font-size: 15px; line-height: 1.25; }
.match-cards small { display: block; font-weight: 400; font-size: 13px; color: #c3c8ea; }
.match-cards i { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.35); padding: 3px 6px; color: #dfe3f5; }
.match-note { font-size: 12px; color: #aab3ff; margin: 10px 0 16px; text-align: center; }

/* Commentary */
.views { background: var(--deep); padding: 52px 0 56px; margin-bottom: 56px; }
.views .sec-head { border-color: rgba(255,255,255,.16); }
.views .sec-title, .views .sec-more { color: #fff; }
.views .sec-label { color: var(--cyan); }
.views .sec-more:hover, .views .sec-title a:hover { color: var(--cyan); }
.views-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.views-grid.n3 { grid-template-columns: repeat(3, 1fr); }
.views-grid.n2 { grid-template-columns: repeat(2, 1fr); }
.view { background: #fff; padding: 22px 22px 20px; display: flex; flex-direction: column; position: relative; border-bottom: 4px solid var(--cyan); }
.view-mark { font-size: 68px; line-height: .7; color: var(--cyan); height: 30px; font-weight: 700; }
.view h3 { font-size: 21px; font-style: italic; color: var(--navy); }
.view h3 a:hover { color: var(--teal); }
.view-dek { font-size: 15px; color: #2c2f34; margin: 10px 0 18px; line-height: 1.48; }
.view-by { margin-top: auto; display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 700; font-size: 14px; color: #2c2f34; line-height: 1.25; }
.view-by img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.view-by small { display: block; font-weight: 400; color: #5b6172; font-size: 13px; }

/* Drones and Technology */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-bottom: 56px; }
.pair-col { display: grid; grid-template-rows: subgrid; grid-row: span 5; }
.pair-col .sec-head { align-self: start; }
.pair.n1 { grid-template-columns: 1fr; }
.pair-top { margin-bottom: 20px; }
.pair-top .story-img { aspect-ratio: 16 / 9; }
.pair-top .story-title { font-size: 24px; }

/* Week */
.week { background: var(--soft); padding: 52px 0; margin-bottom: 56px; }
.week-scroll { overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.week-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(205px, 1fr); gap: 0; border-left: 1px solid var(--line); }
.day { padding: 0 16px; border-right: 1px solid var(--line); }
.day header { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 3px solid var(--head); }
.day header b { font-family: var(--sans); font-size: 38px; line-height: 1; color: var(--head); letter-spacing: -.02em; }
.day:first-child header b { color: var(--teal); }
[data-mode="night"] .day:first-child header b { color: var(--cyan); }
.day header span { font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--head); line-height: 1.3; }
.day header small { display: block; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); font-size: 13px; }
.day > a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.32; }
.day > a:hover { color: var(--link-hover); }
.day > a:last-child { border-bottom: 0; }
.day .day-more { font-family: var(--sans); font-weight: 700; font-size: 13px; color: var(--teal); text-transform: uppercase; letter-spacing: .08em; }
[data-mode="night"] .day .day-more { color: var(--cyan); }

.strip { margin-bottom: 56px; }
section[id] { scroll-margin-top: 130px; }

/* Newsletter */
.nl { background: var(--navy); color: #fff; border-top: 4px solid var(--cyan); }
.nl-in { display: grid; grid-template-columns: 1fr minmax(320px, 480px); gap: 40px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.nl-kicker { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 8px; }
.nl h2 { color: #fff; font-family: var(--sans); font-size: 32px; line-height: 1.1; text-transform: uppercase; letter-spacing: .005em; }
.nl-form { display: flex; }
.nl-form input { flex: 1; min-width: 0; height: 52px; border: 0; padding: 0 16px; font-family: var(--sans); font-size: 17px; color: #2c2f34; background: #fff; }
.nl-form button { height: 52px; padding: 0 26px; border: 0; background: var(--cyan); color: var(--deep); font-family: var(--sans); font-weight: 700; font-size: 17px; }
.nl-form button:hover { background: #fff; }

/* Footer */
.foot { background: var(--night); color: #c3c8ea; font-family: var(--sans); font-size: 15px; }
.foot-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1.5fr; gap: 36px; padding-top: 48px; padding-bottom: 40px; }
.foot-brand img { width: 250px; margin-bottom: 14px; }
.foot-brand p { font-family: var(--serif); font-style: italic; }
.foot-social { display: flex; gap: 16px; margin-top: 16px; font-family: var(--sans) !important; font-style: normal !important; font-weight: 700; }
.foot h3 { font-family: var(--sans); color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.foot nav a { display: block; padding: 4px 0; }
.foot a:hover { color: var(--cyan); }
.foot-match p { margin-bottom: 16px; line-height: 1.45; }
.foot-match .btn:hover { color: var(--deep); }
.foot-legal { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: #9aa3d6; }

/* Article */
.art-head { max-width: 980px; padding-top: 40px; }
.art-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.art-cats a { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); background: var(--ice); padding: 5px 10px; }
.art-cats a:hover { background: var(--cyan); }
.art-head h1 { font-size: 46px; line-height: 1.08; letter-spacing: -.018em; }
.art-dek { font-size: 22px; line-height: 1.42; margin-top: 16px; color: var(--ink); }
.art-by { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--sans); }
.art-by img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.art-by p a { display: block; font-weight: 700; color: var(--head); font-size: 16px; }
.art-by p a:hover { color: var(--link-hover); }
.art-by p span { font-size: 14px; color: var(--muted); }
.share { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.share a, .share button { font-family: var(--sans); font-size: 13px; font-weight: 700; border: 1px solid var(--line); background: none; padding: 6px 11px; color: var(--head); }
.share a:hover, .share button:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.art-photo { max-width: 1100px; margin: 30px auto 0; }
.art-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.art-photo figcaption { font-family: var(--sans); font-size: 14px; color: var(--muted); padding: 10px 0 0 14px; border-left: 3px solid var(--cyan); margin-top: 10px; line-height: 1.4; }
.art-cols { max-width: 1100px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 60px; padding-top: 36px; padding-bottom: 56px; }
.entry { font-size: 20px; line-height: 1.68; }
.entry > * { margin: 0 0 1.25em; }
.entry h2 { font-size: 28px; margin-top: 1.6em; }
.entry h3 { font-size: 23px; margin-top: 1.4em; }
.entry a { color: var(--ink); padding: .08em .1em; border-bottom: 1px dotted var(--teal); transition: background-color .3s; }
.entry a:hover { background: var(--ice); border-bottom: 1px solid var(--teal-deep); color: #2c2f34; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry ul { list-style: disc; }
.entry ol { list-style: decimal; }
.entry li { margin-bottom: .5em; }
.entry blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--cyan); font-style: italic; font-size: 23px; line-height: 1.45; color: var(--head); }
.entry blockquote p { margin: 0 0 .6em; }
.entry figure { margin-left: 0; margin-right: 0; max-width: 100%; }
.entry figure img { width: 100%; height: auto; }
.entry figcaption, .entry .wp-caption-text { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.4; }
.entry .wp-caption { max-width: 100%; }
.entry iframe, .entry video { max-width: 100%; }
.entry table { border-collapse: collapse; width: 100%; font-family: var(--sans); font-size: 16px; }
.entry td, .entry th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.entry a.dce-box, .dce-box { display: block; margin: 34px 0; padding: 36px 40px 40px; background: var(--navy); border: 0; border-top: 4px solid var(--cyan); font-family: var(--sans); color: #fff; }
.entry a.dce-box:hover { background: var(--navy); color: #fff; border-bottom: 0; }
.dce-box span { display: block; }
.dce-kicker { font-size: 13px; line-height: 1.2; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.dce-title { font-size: 40px; line-height: 1.08; font-weight: 700; letter-spacing: -.01em; margin-bottom: 14px; }
.dce-sub { font-size: 18px; line-height: 1.45; color: var(--ice); margin-bottom: 26px; max-width: 540px; }
.dce-box .dce-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 28px; background: var(--cyan); color: var(--deep); font-size: 17px; font-weight: 700; transition: background-color .15s; }
.dce-box:hover .dce-btn { background: #fff; }
.art-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 36px; font-family: var(--sans); }
.art-tags span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.art-tags a, .chips a { font-size: 14px; font-weight: 600; border: 1px solid var(--line); padding: 5px 11px; color: var(--head); font-family: var(--sans); }
.art-tags a:hover, .chips a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.art-author { display: flex; gap: 16px; margin-top: 32px; padding: 22px; background: var(--soft); border-left: 4px solid var(--navy); font-family: var(--sans); font-size: 15px; }
.art-author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.art-author p { margin-bottom: 6px; }
.art-author-name { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--head); }
.art-author a:hover { color: var(--link-hover); }
.art-author p:last-child a { font-weight: 700; color: var(--head); }
.art-side { display: flex; flex-direction: column; gap: 28px; }
.side-box h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; padding-bottom: 10px; border-bottom: 3px solid var(--head); }
.side-stick { position: sticky; top: 140px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; padding-top: 14px; }
.related { padding-top: 8px; }
.page-entry { max-width: 760px; padding: 28px 0 60px; }

/* Archives */
.arch-head { background: var(--navy); background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 44px 44px; padding: 44px 0 40px; color: #fff; border-bottom: 4px solid var(--cyan); }
.arch-head .sec-label { color: var(--cyan); display: block; margin-bottom: 8px; }
.arch-head h1 { color: #fff; font-size: 48px; letter-spacing: -.02em; }
.arch-head p { font-family: var(--sans); color: var(--ice); margin-top: 10px; max-width: 760px; font-size: 16px; }
.arch-cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-top: 40px; padding-bottom: 48px; }
.arch-top { margin-bottom: 28px; }
.arch-top .story-img { aspect-ratio: 16 / 9; }
.arch-top .story-title { font-size: 34px; }
.arch-top .story-dek { font-size: 18px; }
.arch-row { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.arch-row .story-body { padding-top: 0; }
.arch-row .story-title { font-size: 23px; }
.pagination { margin-top: 20px; padding-top: 24px; border-top: 3px solid var(--head); font-family: var(--sans); font-weight: 700; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { border: 1px solid var(--line); padding: 8px 14px; color: var(--head); }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.none-found { font-size: 20px; padding: 20px 0 60px; }
.lost { padding: 44px 24px 80px; }
.find-big { margin: 0 0 24px; width: 100%; max-width: 520px; height: 54px; }

/* Night mode touches */
[data-mode="night"] .picks { border-top-color: var(--cyan); }
[data-mode="night"] .picks li::before { color: var(--cyan); }
[data-mode="night"] .deal-val { background: #151b55; color: var(--cyan); }
[data-mode="night"] .art-cats a { background: #151b55; color: var(--cyan); }
[data-mode="night"] .art-cats a:hover { background: var(--cyan); color: var(--deep); }
[data-mode="night"] .entry a:hover { background: #151b55; color: #fff; }
[data-mode="night"] .art-author { border-left-color: var(--cyan); }
[data-mode="night"] .drop-menu { box-shadow: 0 14px 30px rgba(0,0,0,.5); }

/* Tablet */
@media (max-width: 1180px) {
	.front { grid-template-columns: 240px minmax(0, 1fr); grid-template-areas: "wire lead" "rail rail"; row-gap: 34px; }
	.rail { flex-direction: row; align-items: flex-start; }
	.rail .picks { flex: 1; }
	.rail .ad-sidebar { flex: 0 0 240px; }
	.lead .story-title { font-size: 34px; }
	.grid4 { grid-template-columns: repeat(2, 1fr); }
	.domain-grid, .domain-grid.n4 { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
	.deals { grid-template-columns: 1fr; }
	.match { max-width: 560px; }
	.views-grid, .views-grid.n3 { grid-template-columns: repeat(2, 1fr); }
	.foot-in { grid-template-columns: 1fr 1fr 1fr; }
	.foot-brand, .foot-match { grid-column: span 3; }
	.mast-tag { display: none; }
	.util-links a:nth-child(n+4) { display: none; }
}

/* Phone */
@media (max-width: 820px) {
	body { font-size: 16px; }
	.wrap { padding: 0 16px; }
	.util-links { display: none; }
	.util-in { justify-content: space-between; }
	.mast-in { padding-top: 12px; padding-bottom: 12px; gap: 12px; flex-wrap: wrap; }
	.burger { display: grid; order: 3; margin-left: auto; }
	.logo img, .mast.small .logo img { width: 210px; }
	.mast-sub { display: none; }
	.find { order: 4; flex: 0 0 100%; width: 100%; display: none; }
	.nav { display: none; }
	.nav.open { display: block; max-height: calc(100vh - 110px); overflow-y: auto; }
	.nav.open ~ .find, .mast:has(.nav.open) .find { display: flex; }
	.nav-in { flex-direction: column; gap: 0; padding-bottom: 12px; }
	.nav-in > a, .drop > button { padding: 0; height: 46px; width: 100%; border-bottom: 1px solid var(--line); }
	.nav-in > a::after, .drop > button::after { display: none; }
	.drop-menu { position: static; display: none; border: 0; box-shadow: none; padding: 0 0 6px 14px; }
	.drop:hover .drop-menu { display: none; }
	.drop.open .drop-menu { display: block; }
	.drop > button::before { margin-left: auto; }
	.nav-match { margin-left: 0; }
	.front { grid-template-columns: 1fr; grid-template-areas: "lead" "wire" "rail"; padding-top: 18px; }
	.wire { border-right: 0; padding-right: 0; }
	.lead .story-title { font-size: 28px; }
	.lead .story-dek { font-size: 17px; }
	.front-second, .front-also { grid-template-columns: 1fr; }
	.rail { flex-direction: column; align-items: stretch; }
	.rail .ad-sidebar { flex: none; }
	.ad-sidebar img { max-width: 260px; }
	.sec-title { font-size: 25px; }
	.theaters, .war, .views, .week { padding: 38px 0; margin-bottom: 40px; }
	.tabs { margin-left: 0; flex: 0 0 100%; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
	.tabs button { white-space: nowrap; }
	.theater, .war-grid, .pair, .arch-cols, .art-cols, .nl-in { grid-template-columns: 1fr; gap: 28px; }
	.theater-top .story-title, .war-top .story-title { font-size: 24px; }
		.war-side .story.row { grid-template-columns: 110px 1fr; }
	.domain-grid, .domain-grid.n4, .domain-grid.n3 { grid-template-columns: 1fr 1fr; border-left: 0; gap: 28px 18px; }
	.domain { padding: 0; border-right: 0; }
	.domains, .deals, .pair, .strip { margin-bottom: 40px; }
	.deal { grid-template-columns: 84px 1fr; gap: 14px; }
	.deal-val { font-size: 20px; }
	.deal-go { display: none; }
	.deal-text strong { font-size: 17px; }
	.views-grid, .views-grid.n3, .views-grid.n2 { grid-template-columns: 1fr; }
	.pair-col { display: block; margin-bottom: 30px; }
	.week-grid { grid-auto-columns: 78%; }
	.grid4 { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
	.grid4 .story-title { font-size: 17px; }
	.nl h2 { font-size: 25px; }
	.nl-in { padding-top: 34px; padding-bottom: 34px; }
	.foot-in { grid-template-columns: 1fr 1fr; gap: 28px; }
	.foot-brand, .foot-match { grid-column: span 2; }
	.foot-legal { flex-direction: column; gap: 8px; }
	.art-head { padding-top: 24px; }
	.art-head h1 { font-size: 31px; }
	.art-dek { font-size: 18px; }
	.art-by { flex-wrap: wrap; }
	.share { margin-left: 0; flex: 0 0 100%; }
	.art-photo { padding: 0; margin-top: 20px; }
	.art-photo figcaption { margin: 10px 16px 0; }
	.entry { font-size: 18px; }
	.dce-box, .entry a.dce-box { padding: 26px 20px 28px; }
	.dce-title { font-size: 29px; }
	.dce-box .dce-btn { display: flex; justify-content: center; }
	.side-stick { position: static; }
	.arch-head h1 { font-size: 34px; }
	.arch-top .story-title { font-size: 26px; }
	.arch-row { grid-template-columns: 120px 1fr; gap: 14px; padding: 18px 0; }
	.arch-row .story-title { font-size: 18px; }
	.arch-row .story-dek { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.ticker-track, .ticker-tag i, .pulse { animation: none; }
	.story-img img { transition: none; }
}

/* Intelligence tab in the menu */
.nav-intel i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); margin-right: 8px; display: inline-block; }
.nav-match { margin-left: 0; }
.nav-intel { margin-left: auto; }
.sec-note { margin-left: auto; font-family: var(--sans); font-size: 15px; color: #aab3ff; padding-bottom: 4px; }

/* The Map */
.mapband { background: var(--night); color: #dfe3f5; padding: 52px 0 56px; margin-bottom: 56px; }
.map { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.map-main, .map-side { min-width: 0; }
.map-stage { position: relative; }
.map-svg { display: block; width: 100%; height: auto; }
.map-svg path { stroke: rgba(154,163,255,.34); }
.pin { position: absolute; transform: translate(-50%, -50%); background: none; border: 0; padding: 6px; line-height: 0; z-index: 1; }
.pin i { display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px rgba(35,193,255,.22); transition: transform .15s; }
.pin-m i { width: 14px; height: 14px; box-shadow: 0 0 0 5px rgba(35,193,255,.2); }
.pin-l i { width: 20px; height: 20px; box-shadow: 0 0 0 7px rgba(35,193,255,.18); animation: pulse 2.4s infinite; }
.pin span { position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%); white-space: nowrap; background: #fff; color: var(--deep); font-family: var(--sans); font-size: 12px; font-weight: 700; line-height: 1; padding: 5px 7px; opacity: 0; pointer-events: none; transition: opacity .12s; }
.pin:hover, .pin:focus-visible, .pin.on { z-index: 3; }
.pin:hover span, .pin:focus-visible span, .pin.on span { opacity: 1; }
.pin:hover i, .pin.on i { transform: scale(1.25); background: #fff; }
.map-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.chip { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.2); color: #fff; font-family: var(--sans); font-size: 13px; font-weight: 600; padding: 5px 9px; display: inline-flex; gap: 6px; align-items: center; }
.chip small { color: var(--cyan); font-weight: 700; font-size: 11px; }
.chip:hover { border-color: var(--cyan); }
.chip.on { background: var(--cyan); border-color: var(--cyan); color: var(--deep); }
.chip.on small { color: var(--deep); }
.map-panel h3 { color: #fff; font-size: 26px; display: flex; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 3px solid var(--cyan); }
.map-panel h3 small { font-family: var(--sans); font-size: 13px; font-weight: 600; color: #9aa3d6; letter-spacing: .06em; text-transform: uppercase; }
.map-story { display: block; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.14); color: #fff; font-weight: 700; font-size: 17px; line-height: 1.28; }
.map-story time { display: block; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9aa3d6; margin-bottom: 3px; }
.map-story:hover { color: var(--cyan); }
.map-more { display: inline-block; margin-top: 16px; font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.map-more:hover { color: #fff; }

/* Intelligence page */
.intel-head .sec-label { display: flex; align-items: center; gap: 9px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 36px; margin-bottom: 44px; border: 1px solid var(--line); border-left: 0; }
.tile { padding: 20px 22px 22px; border-left: 1px solid var(--line); border-top: 3px solid var(--navy); font-family: var(--sans); }
.tile span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tile b { display: block; font-size: 40px; line-height: 1.1; color: var(--head); letter-spacing: -.02em; margin: 6px 0 4px; }
.tile small { font-size: 14px; color: var(--muted); }
[data-mode="night"] .tile { border-top-color: var(--cyan); }
.intel-map { margin-bottom: 52px; }
.intel-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-bottom: 52px; align-items: start; }
.intel-band { background: var(--soft); padding: 48px 0 1px; margin-bottom: 52px; }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) 34px; grid-template-areas: "name n" "track track"; gap: 6px 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-family: var(--sans); }
.bars-name { grid-area: name; font-weight: 600; font-size: 16px; color: var(--ink); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.bars-name a:hover { color: var(--link-hover); }
.bars-name em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--muted); }
.bars li b { grid-area: n; text-align: right; font-size: 16px; color: var(--head); }
.bars-track { grid-area: track; height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; }
.bars-track i { display: block; height: 100%; background: var(--navy); border-radius: 0 4px 4px 0; }
[data-mode="night"] .bars-track i { background: var(--cyan); }
.intel-cta { margin-bottom: 56px; }
.intel-cta .match { padding: 36px 40px 40px; }
.intel-cta .match h2 { font-size: 34px; }
.intel-cta .match-sub { max-width: 620px; margin-bottom: 22px; }
.intel-method { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-top: 18px; max-width: 860px; line-height: 1.5; }

/* Pages */
.page-cols { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: 64px; padding-top: 40px; padding-bottom: 56px; }
.page-entry { padding: 0; max-width: none; }
.side-links { padding-top: 6px; }
.side-links a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font-family: var(--sans); font-weight: 600; color: var(--head); }
.side-links a:hover { color: var(--link-hover); }
.page-cols .rail-nl { flex: none; }
.entry img { height: auto; }
.entry input[type="text"], .entry input[type="email"], .entry input[type="tel"], .entry input[type="url"], .entry textarea, .entry select { width: 100%; border: 1px solid var(--line); background: var(--soft); color: var(--ink); font-family: var(--sans); font-size: 17px; padding: 12px 14px; border-radius: 0; }
.entry textarea { min-height: 170px; resize: vertical; }
.entry input:focus, .entry textarea:focus, .entry select:focus { outline: 0; border-color: var(--navy); background: var(--card); }
.entry label { display: block; font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--head); margin-bottom: 6px; }
.entry input[type="submit"], .entry button[type="submit"], .entry .button { background: var(--navy); color: #fff; border: 0; font-family: var(--sans); font-weight: 700; font-size: 17px; padding: 14px 28px; cursor: pointer; border-radius: 0; }
.entry input[type="submit"]:hover, .entry button[type="submit"]:hover { background: var(--deep); }
.tdp-form p { margin: 0 0 16px; }
.tdp-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tdp-form .hp { position: absolute; left: -9999px; }
.tdp-note { font-family: var(--sans); font-weight: 600; padding: 14px 16px; border-left: 4px solid var(--cyan); background: var(--soft); }

@media (max-width: 1180px) {
	.promo { grid-template-columns: 1fr; }
	.intel-card { margin-top: 0; }
	.map { grid-template-columns: minmax(0, 1fr); }
	.tiles { grid-template-columns: 1fr 1fr; }
	.page-cols { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
	.mapband { padding: 38px 0; margin-bottom: 40px; }
	.sec-note { margin-left: 0; flex: 0 0 100%; }
	.pin { padding: 3px; }
	.pin-l i { width: 14px; height: 14px; }
	.pin-m i { width: 10px; height: 10px; }
	.pin span { display: none; }
	.map-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-top: 14px; }
	.chip { white-space: nowrap; }
	.tiles { grid-template-columns: 1fr; margin-top: 24px; }
	.tile b { font-size: 32px; }
	.intel-cols { grid-template-columns: 1fr; gap: 36px; margin-bottom: 40px; }
	.intel-cta .match { padding: 26px 20px 28px; }
	.tdp-form .two { grid-template-columns: 1fr; }
	.nav-intel { margin-left: 0; }
}

/* Rankings */
.btn-line { background: none; border: 2px solid var(--navy); color: var(--head); }
.btn-line:hover { background: var(--navy); color: #fff; }
[data-mode="night"] .btn-line { border-color: var(--cyan); }
.btn-ghost { background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.rankband { background: var(--navy); background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 44px 44px; border-top: 4px solid var(--cyan); color: #fff; padding: 50px 0 54px; margin-bottom: 0; }
.rankband + .views { border-top: 1px solid rgba(255,255,255,.14); }
.rankband-in { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 56px; align-items: start; }
.rankband .sec-label { color: var(--cyan); display: block; margin-bottom: 10px; }
.rankband h2 { color: #fff; font-size: 38px; line-height: 1.08; letter-spacing: -.015em; }
.rankband h2 a:hover { color: var(--cyan); }
.rankband-text > p { font-family: var(--sans); color: var(--ice); margin-top: 14px; font-size: 17px; line-height: 1.45; }
.rankband-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px !important; }
.rankband-note { font-size: 15px !important; color: #aab3ff !important; }
.rankband-note a { color: #fff; border-bottom: 1px solid var(--cyan); }
.rankband-list { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(5, 1fr); grid-auto-flow: column; gap: 0 36px; }
.rankband-list a { height: 100%; display: grid; grid-template-columns: 40px 38px 1fr auto; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.16); font-family: var(--sans); }
.rankband-list i { font-style: normal; font-size: 28px; font-weight: 700; color: var(--cyan); line-height: 1; }
.rankband-list span { font-weight: 700; font-size: 18px; line-height: 1.2; }
.rankband-list small { display: block; font-weight: 400; font-size: 13px; color: #aab3ff; }
.rankband-list b { font-size: 17px; color: #fff; background: rgba(255,255,255,.1); padding: 4px 8px; }
.rankband-list a:hover span { color: var(--cyan); }
.rank-back { display: inline-block; margin-bottom: 12px; }
a.rank-back:hover { color: #fff; }
.rank-stats { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 18px !important; font-size: 15px !important; }
.rank-stats b { color: #fff; font-size: 17px; }
.rank-cols, .co-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; padding-top: 40px; padding-bottom: 56px; align-items: start; }
.rank-podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.rank-podium a { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 18px 18px 16px; background: var(--soft); border-top: 4px solid var(--navy); font-family: var(--sans); }
.rank-podium a:first-child { border-top-color: var(--cyan); }
.rank-podium small { grid-column: 1 / -1; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.rank-podium strong { font-family: var(--serif); font-size: 21px; line-height: 1.15; color: var(--head); }
.rank-podium em { grid-column: 1; font-style: normal; font-size: 14px; color: var(--muted); }
.rank-podium b { grid-column: 2; grid-row: 2 / span 2; align-self: center; font-size: 26px; color: var(--head); }
.rank-podium a:hover strong { color: var(--link-hover); }
.rank-scroll { overflow-x: auto; }
.rank-table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 16px; }
.rank-table th { text-align: left; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 10px 12px 10px 0; border-bottom: 3px solid var(--head); white-space: nowrap; }
.rank-table td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.rank-table .rk { font-weight: 700; font-size: 18px; color: var(--head); width: 54px; }
.rank-table td a { font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--head); }
.rank-table td a:hover { color: var(--link-hover); }
.rank-table .num { text-align: right; white-space: nowrap; padding-right: 0; }
.rank-table th.num { text-align: right; }
.rk-tag { display: inline-block; margin-left: 10px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); border: 1px solid currentColor; padding: 1px 6px; vertical-align: 2px; }
[data-mode="night"] .rk-tag { color: var(--cyan); }
.rk-bar { display: inline-block; width: 90px; height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; margin-right: 10px; vertical-align: 1px; }
.rk-bar i { display: block; height: 100%; background: var(--navy); border-radius: 0 4px 4px 0; }
[data-mode="night"] .rk-bar i { background: var(--cyan); }
.rank-table tbody tr:hover { background: var(--soft); }
.rank-entry { margin-top: 44px; max-width: 760px; }
.co-side { display: flex; flex-direction: column; gap: 22px; }
.co-claim { padding: 24px 24px 26px; }
.co-claim h2 { font-size: 24px; }
.co-claim .match-sub { font-size: 15px; margin: 10px 0 18px; }
.co-offer { border: 1px solid var(--line); border-top: 4px solid var(--navy); padding: 22px 22px 20px; font-family: var(--sans); }
.co-offer h2 { font-size: 22px; margin-bottom: 8px; }
.co-offer p { font-size: 15px; line-height: 1.45; margin-bottom: 16px; }
.co-offer .btn { margin-bottom: 8px; }
.co-fix { display: inline-block; margin-top: 8px; font-size: 14px; color: var(--muted); border-bottom: 1px dotted currentColor; }
.co-fix:hover { color: var(--link-hover); }
.co-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.co-name { display: flex; align-items: center; gap: 20px; min-width: 0; }
.co-rank { font-family: var(--sans) !important; font-size: 84px !important; font-weight: 700; line-height: .9; color: var(--cyan) !important; margin: 0 !important; letter-spacing: -.03em; display: flex; align-items: flex-start; gap: 6px; }
.co-rank small { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; margin-top: 8px; color: var(--ice); }
.co-top h1 { font-size: 46px; }
.co-score { text-align: right; margin: 0 !important; }
.co-score b { display: block; font-size: 52px; line-height: 1; color: #fff; letter-spacing: -.02em; }
.co-score small { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.co-about { font-size: 21px; line-height: 1.55; margin-bottom: 34px; }
.co-h { font-size: 22px; padding-bottom: 10px; border-bottom: 3px solid var(--head); }
.co-bars { margin-bottom: 34px; }
.co-facts > div { display: grid; grid-template-columns: 230px 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.co-facts dt { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.co-facts dd { margin: 0; font-size: 18px; line-height: 1.45; }
.co-facts dd small { display: block; font-family: var(--sans); font-size: 14px; color: var(--muted); margin-top: 3px; }
.co-facts a { border-bottom: 1px dotted var(--teal); }
.co-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin-top: 36px; padding-top: 22px; border-top: 3px solid var(--head); }
.co-nav a { font-weight: 700; font-size: 19px; color: var(--head); line-height: 1.2; }
.co-nav a small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.co-nav .next { text-align: right; }
.co-nav .co-all { font-family: var(--sans); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line); padding: 8px 14px; }
.co-nav a:hover { color: var(--link-hover); }
.rank-ask { background: var(--soft); padding: 52px 0 56px; }
.rank-ask-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.rank-ask .sec-label { display: block; margin-bottom: 8px; }
.rank-ask h2 { font-size: 34px; margin-bottom: 14px; }
.rank-ask p { margin-bottom: 14px; font-size: 18px; }
.rank-ask .entry { font-size: 17px; }
.rank-index { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; padding-top: 40px; padding-bottom: 56px; }
.rank-card { border: 1px solid var(--line); border-top: 4px solid var(--navy); padding: 24px 26px 26px; }
.rank-card h2 { font-size: 28px; margin: 6px 0 14px; }
.rank-card h2 a:hover { color: var(--link-hover); }
.rank-card ol { counter-reset: r; margin-bottom: 20px; }
.rank-card li { counter-increment: r; display: grid; grid-template-columns: 30px 1fr auto auto; gap: 10px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--line); font-family: var(--sans); }
.rank-card li::before { content: counter(r); font-weight: 700; color: var(--teal); }
.rank-card li a { font-weight: 700; font-size: 17px; color: var(--head); }
.rank-card li em { font-style: normal; font-size: 14px; color: var(--muted); }
.rank-card li b { color: var(--head); }
.pages, .pages-step { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 30px; font-family: var(--sans); font-weight: 700; }
.pages span:first-child { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.pages .post-page-numbers { min-width: 34px; text-align: center; padding: 6px 8px; border: 1px solid var(--line); font-size: 14px; color: var(--head); }
.pages .post-page-numbers.current, .pages a.post-page-numbers:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.pages-step { justify-content: space-between; margin-top: 16px; }
.pages-step a { background: var(--navy); color: #fff; padding: 12px 22px; }
.pages-step a:hover { background: var(--deep); }
@media (max-width: 1180px) {
	.rankband-in { grid-template-columns: 1fr; gap: 30px; }
	.rank-cols, .co-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
	.rankband { padding: 38px 0; }
	.rankband h2 { font-size: 30px; }
	.rankband-list { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; }
	.rank-podium, .rank-ask-in, .rank-index { grid-template-columns: 1fr; gap: 20px; }
	.rank-table td:nth-child(4), .rank-table th:nth-child(4), .rk-bar, .rk-tag { display: none; }
	.co-top { grid-template-columns: auto 1fr; gap: 16px; }
	.co-rank { font-size: 56px !important; }
	.co-top h1 { font-size: 30px; }
	.co-score { grid-column: 1 / -1; text-align: left; display: flex; align-items: baseline; gap: 10px; }
	.co-score b { font-size: 36px; }
	.co-facts > div { grid-template-columns: 1fr; gap: 4px; }
	.co-nav { grid-template-columns: 1fr 1fr; }
	.co-nav .co-all { display: none; }
	.co-about { font-size: 18px; }
}

/* Newsletter inside and after stories */
.nl-inline { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 20px; align-items: center; margin: 36px 0; padding: 22px 24px; background: var(--ice); border-left: 5px solid var(--navy); font-family: var(--sans); color: #2c2f34; }
.nl-inline-tag { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 6px; }
.nl-inline strong { display: block; font-family: var(--serif); font-size: 22px; line-height: 1.2; color: var(--navy); }
.nl-inline-sub { display: block; font-size: 15px; line-height: 1.4; margin-top: 6px; color: #2c2f34; }
.nl-inline .nl-form { flex-direction: column; gap: 8px; }
.entry .nl-inline input[type="email"], .nl-inline input { background: #fff; border: 1px solid #9fdcf5; height: 46px; padding: 0 12px; font-size: 16px; width: 100%; flex: none; }
.entry .nl-inline button, .nl-inline button { height: 46px; padding: 0 16px; background: var(--navy); color: #fff; font-size: 16px; width: 100%; }
.nl-inline button:hover { background: var(--deep); }
.nl-end { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); margin-top: 40px; background: var(--navy); color: #fff; font-family: var(--sans); border-top: 4px solid var(--cyan); }
.nl-end-pitch { padding: 30px 30px 26px; }
.nl-end .nl-inline-tag { color: var(--cyan); }
.nl-end h2 { font-family: var(--sans); color: #fff; font-size: 32px; line-height: 1.08; letter-spacing: -.01em; margin: 4px 0 10px; }
.nl-end p { color: var(--ice); font-size: 16px; line-height: 1.45; margin-bottom: 18px; }
.nl-end .nl-form { flex-direction: column; gap: 8px; }
.nl-end .nl-form input { height: 48px; width: 100%; flex: none; }
.nl-end .nl-form button { height: 48px; width: 100%; }
.nl-end-small { font-size: 13px !important; color: #aab3ff !important; margin: 10px 0 0 !important; }
.nl-end-peek { background: var(--deep); padding: 30px 28px 26px; }
.nl-end-peek > span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 8px; }
.nl-end-peek ol { counter-reset: n; }
.nl-end-peek li { counter-increment: n; display: grid; grid-template-columns: 28px 1fr; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.16); }
.nl-end-peek li::before { content: counter(n, decimal-leading-zero); color: var(--cyan); font-weight: 700; font-size: 13px; padding-top: 3px; }
.nl-end-peek a { font-family: var(--serif); font-weight: 700; font-size: 17px; line-height: 1.28; color: #fff; }
.nl-end-peek a:hover { color: var(--cyan); }
.ad-phone { display: none; }
@media (max-width: 820px) {
	.ad-img.has-phone { display: none; }
	.ad-phone { display: block; text-align: left; }
	.ad-phone .dce-box { margin: 0; }
	.ad-home-strip { margin-bottom: 36px; }
	.nl-inline { grid-template-columns: 1fr; padding: 20px 18px; }
	.nl-end { grid-template-columns: 1fr; }
	.nl-end-pitch, .nl-end-peek { padding: 24px 20px; }
	.nl-end h2 { font-size: 27px; }
	.nl-end .nl-form { flex-direction: column; gap: 8px; }
	.nl-end .nl-form input, .nl-end .nl-form button { width: 100%; flex: none; }
	/* Nothing runs off the side of a phone: tabs and chips wrap, the week stacks. */
	.tabs { flex-wrap: wrap; overflow: visible; padding-bottom: 0; }
	.tabs button { padding: 7px 11px; font-size: 14px; }
	.map-chips { flex-wrap: wrap; overflow: visible; }
	.week-scroll { overflow: visible; }
	.week-grid { display: block; border-left: 0; }
	.day { padding: 0; border-right: 0; margin-bottom: 26px; }
	.day:nth-child(n+4) { display: none; }
	.day > a:nth-of-type(n+4):not(.day-more) { display: none; }
}

/* Flags and company logos */
.flag { display: inline-block; width: 22px; height: auto; margin-right: 7px; vertical-align: -2px; box-shadow: 0 0 0 1px rgba(0,0,0,.14); }
.co-logo { display: block; flex: 0 0 auto; border-radius: 6px; background: #fff; object-fit: contain; box-shadow: 0 0 0 1px var(--line); }
.co-mono { display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--sans); font-weight: 700; letter-spacing: .02em; box-shadow: none; }
.rankband .co-mono, .rank-head .co-mono { background: var(--cyan); color: var(--deep); }
.rankband .co-logo, .rank-head .co-logo { box-shadow: none; }
.rk-co { display: flex; align-items: center; gap: 12px; }
.rk-country { white-space: nowrap; }
.rank-podium strong { display: flex; align-items: center; gap: 12px; }
.rank-podium em .flag, .rankband-list small .flag { width: 18px; margin-right: 6px; }
@media (max-width: 820px) {
	.co-name { gap: 12px; }
	.co-name .co-logo { width: 48px !important; height: 48px !important; }
	.co-top { grid-template-columns: 1fr; }
	.co-rank { font-size: 44px !important; }
	.rankband-list a { grid-template-columns: 34px 34px 1fr auto; }
}
@media (max-width: 820px) {
	.rk-country { white-space: normal; font-size: 14px; }
	.rank-table td a { font-size: 16px; }
	.rk-co .co-logo { width: 28px !important; height: 28px !important; }
}
.rank-table td:nth-child(4) { font-size: 14px; white-space: nowrap; color: var(--muted); }
