/**
 * Assetrend canonical editorial system.
 * Child-owned templates use .at-* components; Astra remains fallback only.
 */

:root {
	--at-ink: #17212b;
	--at-ink-soft: #3f4b55;
	--at-muted: #6d7780;
	--at-paper: #fbfaf6;
	--at-paper-deep: #f2efe7;
	--at-surface: #ffffff;
	--at-line: #d9d5ca;
	--at-line-strong: #a7a296;
	--at-navy: #162a3d;
	--at-blue: #2a5f89;
	--at-blue-soft: #e8f0f5;
	--at-gold: #b38232;
	--at-serif: "Newsreader", Georgia, serif;
	--at-sans: "DM Sans", Arial, sans-serif;
	--at-mono: "JetBrains Mono", monospace;
	--at-frame: 1140px;
	--at-shadow: 0 14px 40px rgba(22, 42, 61, 0.08);
}

html.dark-mode {
	color-scheme: dark;
	--at-ink: #e8e5dc;
	--at-ink-soft: #c2c5c4;
	--at-muted: #929b9f;
	--at-paper: #11171c;
	--at-paper-deep: #171f25;
	--at-surface: #1b242b;
	--at-line: #354149;
	--at-line-strong: #58636a;
	--at-navy: #0b1217;
	--at-blue: #7ea9c9;
	--at-blue-soft: #1b2d38;
	--at-gold: #d1a85d;
	--at-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

html {
	box-sizing: border-box;
	font-size: 100%;
	scroll-behavior: smooth;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body.at-child-frontend {
	margin: 0;
	background: var(--at-paper);
	color: var(--at-ink);
	font-family: var(--at-sans);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

.at-child-frontend a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.at-child-frontend img,
.at-child-frontend svg {
	max-width: 100%;
}

.at-site {
	min-height: 100vh;
	overflow: clip;
	background: var(--at-paper);
}

.at-editorial-frame {
	width: min(var(--at-frame), calc(100% - 48px));
	margin-inline: auto;
}

.at-skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 99999;
	clip: auto;
	width: auto;
	height: auto;
	padding: 10px 14px;
	background: var(--at-surface);
	color: var(--at-ink);
}

/* Header */
.at-site-header {
	position: relative;
	z-index: 50;
	border-top: 5px solid var(--at-navy);
}

.at-masthead {
	height: 235px;
	display: flex;
	align-items: center;
	background:
		linear-gradient(90deg, transparent 0 49.8%, color-mix(in srgb, var(--at-line) 35%, transparent) 49.8% 50.2%, transparent 50.2%),
		var(--at-paper);
}

.at-masthead__inner {
	display: flex;
	justify-content: center;
}

.at-brand {
	display: grid;
	grid-template-columns: auto 58px minmax(180px, 228px);
	align-items: center;
	gap: 22px;
	text-decoration: none;
}

.at-brand__name {
	font-family: var(--at-serif);
	font-size: clamp(64px, 6.2vw, 88px);
	font-weight: 700;
	line-height: 0.9;
	letter-spacing: -0.055em;
}

.at-brand__rule {
	display: block;
	width: 58px;
	height: 1px;
	background: var(--at-gold);
}

.at-brand__descriptor {
	max-width: 220px;
	color: var(--at-muted);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.55;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.at-nav-shell {
	position: sticky;
	top: 0;
	z-index: 60;
	min-height: 59px;
	background: var(--at-navy);
	color: #f7f4eb;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.admin-bar .at-nav-shell {
	top: 32px;
}

.at-nav-shell__inner {
	min-height: 59px;
	display: flex;
	align-items: stretch;
}

.at-primary-navigation {
	min-width: 0;
	flex: 1;
}

.at-primary-menu,
.at-primary-navigation .menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: stretch;
	height: 100%;
	gap: 34px;
}

.at-primary-menu li,
.at-primary-navigation .menu li {
	position: relative;
	margin: 0;
}

.at-primary-menu > li > a,
.at-primary-navigation .menu > li > a {
	height: 59px;
	display: flex;
	align-items: center;
	border-bottom: 3px solid transparent;
	color: rgba(255, 255, 255, 0.76);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.095em;
	text-decoration: none;
	text-transform: uppercase;
}

.at-primary-menu > li > a:hover,
.at-primary-menu > .current-menu-item > a,
.at-primary-navigation .menu > li > a:hover,
.at-primary-navigation .menu > .current_page_item > a {
	border-bottom-color: var(--at-gold);
	color: #fff;
}

.at-primary-menu .sub-menu,
.at-primary-navigation .children {
	position: absolute;
	top: 100%;
	left: -16px;
	min-width: 210px;
	margin: 0;
	padding: 10px 0;
	list-style: none;
	visibility: hidden;
	opacity: 0;
	background: var(--at-navy);
	box-shadow: var(--at-shadow);
}

.at-primary-menu li:hover > .sub-menu,
.at-primary-menu li:focus-within > .sub-menu,
.at-primary-navigation li:hover > .children,
.at-primary-navigation li:focus-within > .children {
	visibility: visible;
	opacity: 1;
}

.at-primary-menu .sub-menu a,
.at-primary-navigation .children a {
	display: block;
	padding: 9px 16px;
	color: rgba(255,255,255,.78);
	font-size: 13px;
	text-decoration: none;
}

.at-theme-toggle,
.at-menu-toggle {
	appearance: none;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	padding: 0 !important;
}

.at-theme-toggle {
	width: 46px;
	height: 59px;
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-left: 1px solid rgba(255,255,255,.14);
	color: #f7f4eb !important;
}

.at-theme-toggle svg {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	fill: currentColor;
}

.at-theme-toggle .ar-icon-sun,
html.dark-mode .at-theme-toggle .ar-icon-moon {
	display: none;
}

html.dark-mode .at-theme-toggle .ar-icon-sun {
	display: block;
}

.at-menu-toggle {
	display: none;
}

/* Main composition */
.at-main {
	display: block;
	padding: 68px 0 104px;
}

.at-home-main {
	padding-top: 56px;
}

.at-section-intro {
	max-width: 790px;
	margin: 0 0 76px 56px;
	padding-bottom: 35px;
	border-bottom: 1px solid var(--at-line-strong);
}

.at-section-intro__eyebrow,
.at-sidebar-module__eyebrow {
	margin: 0 0 14px;
	color: var(--at-blue);
	font-family: var(--at-mono);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.at-section-intro h1 {
	max-width: 720px;
	margin: 0;
	color: var(--at-ink);
	font-family: var(--at-serif);
	font-size: clamp(45px, 4.2vw, 62px);
	font-weight: 600;
	line-height: 1.02;
	letter-spacing: -0.035em;
}

.at-section-intro > p:last-child,
.at-section-intro__description {
	max-width: 620px;
	margin: 21px 0 0;
	color: var(--at-ink-soft);
	font-family: var(--at-serif);
	font-size: 21px;
	line-height: 1.5;
}

.at-section-intro--archive {
	margin-bottom: 58px;
}

.at-editorial-shell {
	display: grid;
	grid-template-columns: minmax(0, 780px) minmax(280px, 300px);
	gap: 60px;
	align-items: start;
}

.at-feed {
	min-width: 0;
}

/* Feed */
.at-feed-item {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 24px;
	margin: 0 0 62px;
	padding: 0 0 62px;
	border-bottom: 1px solid var(--at-line);
	background: transparent;
}

.at-child-frontend .at-feed-item.ast-article-post {
	margin: 0 0 62px;
	padding: 0 0 62px;
	background: transparent;
	box-shadow: none;
}

.at-feed-item__date {
	align-self: start;
	padding-top: 3px;
	text-align: center;
}

.at-feed-item__date time {
	display: flex;
	flex-direction: column;
	align-items: center;
	color: var(--at-muted);
	font-family: var(--at-mono);
	line-height: 1;
}

.at-feed-item__day {
	color: var(--at-ink);
	font-family: var(--at-serif);
	font-size: 29px;
	font-weight: 600;
	letter-spacing: -0.04em;
}

.at-feed-item__month {
	margin-top: 7px;
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 0.12em;
}

.at-feed-item__year {
	margin-top: 4px;
	font-size: 9px;
}

.at-feed-item__body {
	max-width: 660px;
	min-width: 0;
}

.at-feed-item__category {
	display: inline-block;
	margin-bottom: 12px;
	color: var(--at-blue);
	font-family: var(--at-mono);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.13em;
	text-decoration: none;
	text-transform: uppercase;
}

.at-feed-item__title {
	margin: 0;
	color: var(--at-ink);
	font-family: var(--at-serif);
	font-size: clamp(34px, 3.05vw, 44px);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.03em;
}

.at-home-main .at-feed-item__title {
	font-size: 41px;
}

.at-feed-item__title a {
	text-decoration: none;
}

.at-feed-item__title a:hover {
	color: var(--at-blue);
}

.at-feed-item__figure {
	display: block;
	width: min(100%, 640px);
	margin: 28px 0 25px;
	border: 1px solid var(--at-line);
	background: #fff;
	box-shadow: 0 9px 28px rgba(22, 42, 61, 0.06);
	overflow: hidden;
}

.at-feed-item__figure img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.at-feed-item__excerpt {
	max-width: 625px;
	margin: 0 0 18px;
	color: var(--at-ink-soft);
	font-family: var(--at-serif);
	font-size: 18px;
	line-height: 1.62;
}

.at-read-analysis,
.at-sidebar-link {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	color: var(--at-blue);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-decoration: none;
	text-transform: uppercase;
}

.at-read-analysis:hover span,
.at-sidebar-link:hover span {
	transform: translateX(3px);
}

.at-read-analysis span,
.at-sidebar-link span {
	transition: transform 160ms ease;
}

/* Sidebar */
.at-editorial-sidebar {
	min-width: 0;
	padding-top: 2px;
}

.at-sidebar-module {
	margin: 0 0 36px;
	padding: 0 0 34px;
	border-bottom: 1px solid var(--at-line);
}

.at-sidebar-module:last-child {
	border-bottom: 0;
}

.at-sidebar-module h2,
.at-sidebar-module__title {
	margin: 0 0 14px;
	color: var(--at-ink);
	font-family: var(--at-serif);
	font-size: 25px;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.025em;
}

.at-sidebar-module p:not(.at-sidebar-module__eyebrow) {
	margin: 0 0 18px;
	color: var(--at-ink-soft);
	font-size: 14px;
	line-height: 1.65;
}

.at-sidebar-about {
	padding: 26px;
	border-top: 4px solid var(--at-navy);
	border-bottom: 0;
	background: var(--at-paper-deep);
}

.at-sidebar-about h2 {
	font-size: 29px;
}

.at-sidebar-scorecards {
	padding: 25px;
	border: 1px solid var(--at-line);
	background: var(--at-surface);
}

/* Homepage modules stay editorial and typographic rather than card-like. */
.at-home-main .at-sidebar-about {
	padding: 22px 0 32px;
	border-top-width: 3px;
	border-bottom: 1px solid var(--at-line);
	background: transparent;
}

.at-home-main .at-sidebar-scorecards {
	padding: 0 0 34px;
	border: 0;
	border-bottom: 1px solid var(--at-line);
	background: transparent;
}

.at-sidebar-recent ol,
.at-related ol,
.at-sidebar-taxonomy ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.at-sidebar-recent li {
	padding: 13px 0;
	border-top: 1px solid var(--at-line);
}

.at-sidebar-recent li:first-child {
	padding-top: 0;
	border-top: 0;
}

.at-sidebar-recent a {
	display: block;
	font-family: var(--at-serif);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
}

.at-sidebar-recent time {
	display: block;
	margin-top: 5px;
	color: var(--at-muted);
	font-family: var(--at-mono);
	font-size: 9px;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.at-sidebar-taxonomy ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.at-sidebar-taxonomy a {
	display: block;
	padding: 5px 9px;
	border: 1px solid var(--at-line);
	font-size: 11px;
	text-decoration: none;
}

/* Single article */
.at-single-main {
	padding-top: 76px;
}

.at-editorial-shell--single {
	grid-template-columns: minmax(0, 760px) minmax(280px, 300px);
	gap: 80px;
}

.at-article,
.at-article-header,
.at-article-body,
.at-article-ending {
	min-width: 0;
}

.at-child-frontend .at-article.ast-article-single {
	margin: 0;
	padding: 0;
	background: transparent;
	box-shadow: none;
}

.at-article-header {
	margin: 0 0 51px;
	padding: 0 0 38px;
	border-bottom: 1px solid var(--at-line-strong);
}

.at-article-header__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	color: var(--at-muted);
	font-family: var(--at-mono);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.at-article-header__meta a {
	color: var(--at-blue);
	text-decoration: none;
}

.at-article-header h1 {
	margin: 0;
	color: var(--at-ink);
	font-family: var(--at-serif);
	font-size: clamp(44px, 4.2vw, 51px);
	font-weight: 600;
	line-height: 1.04;
	letter-spacing: -0.038em;
}

.at-article-header__dek {
	max-width: 690px;
	margin: 24px 0 0;
	color: var(--at-ink-soft);
	font-family: var(--at-serif);
	font-size: 21px;
	line-height: 1.5;
}

.at-article-body {
	max-width: 740px;
	color: var(--at-ink);
	font-family: var(--at-serif);
	font-size: 18.5px;
	line-height: 1.78;
}

.at-article-body > :first-child {
	margin-top: 0;
}

.at-article-body p {
	margin: 0 0 1.55em;
}

.at-article-body a {
	color: var(--at-blue);
}

.at-article-body h2,
.at-article-body h3,
.at-article-body h4 {
	color: var(--at-ink);
	font-family: var(--at-serif);
	font-weight: 600;
	letter-spacing: -0.025em;
}

.at-article-body h2 {
	margin: 2.2em 0 0.72em;
	padding-top: 0.35em;
	font-size: 33px;
	line-height: 1.16;
}

.at-article-body h3 {
	margin: 1.8em 0 0.65em;
	font-size: 25px;
	line-height: 1.24;
}

.at-article-body h4 {
	margin: 1.6em 0 .55em;
	font-size: 20px;
}

.at-article-body blockquote {
	margin: 2.1em 0;
	padding: 0 0 0 25px;
	border-left: 3px solid var(--at-gold);
	color: var(--at-ink-soft);
	font-size: 22px;
	font-style: italic;
	line-height: 1.55;
}

.at-article-body ul,
.at-article-body ol {
	margin: 0 0 1.55em;
	padding-left: 1.4em;
}

.at-article-body li {
	margin-bottom: .42em;
}

.at-article-body figure,
.at-article-body .wp-block-image {
	width: min(760px, calc(100vw - 48px));
	max-width: none;
	margin: 2.45em auto 2.35em !important;
	float: none !important;
	transform: none !important;
}

.at-article-body figure img,
.at-article-body .wp-block-image img,
.at-article-body > p > img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--at-line);
	background: #fff;
	object-fit: contain;
}

.at-article-body figcaption,
.at-article-body .wp-element-caption,
.at-article-body p.assetrend-figure-note {
	max-width: 100%;
	margin: 10px 0 0;
	color: var(--at-muted);
	font-family: var(--at-sans);
	font-size: 12px;
	font-style: normal;
	line-height: 1.5;
	text-align: left;
}

.at-article-body p.assetrend-figure-note {
	margin: -1.3em 0 2.7em;
}

.at-article-body p.assetrend-figure-note em {
	font-style: normal;
}

.at-article-body table {
	width: 100%;
	margin: 2em 0;
	border-collapse: collapse;
	font-family: var(--at-sans);
	font-size: 14px;
	line-height: 1.45;
}

.at-article-body th,
.at-article-body td {
	padding: 11px 13px;
	border: 1px solid var(--at-line);
	text-align: left;
	vertical-align: top;
}

.at-article-body th {
	background: var(--at-paper-deep);
	font-weight: 700;
}

.at-article-body pre,
.at-article-body code {
	font-family: var(--at-mono);
}

.at-article-body pre {
	max-width: 100%;
	overflow-x: auto;
	padding: 18px;
	background: var(--at-paper-deep);
	font-size: 13px;
}

/* Easy TOC: canonical counters, nesting and toggle behavior. */
.at-article-body #ez-toc-container {
	width: 100% !important;
	margin: 40px 0 48px;
	padding: 23px 0 22px !important;
	border: 0 !important;
	border-top: 1px solid var(--at-line-strong) !important;
	border-bottom: 1px solid var(--at-line) !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.at-article-body #ez-toc-container .ez-toc-title-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 14px;
}

.at-article-body #ez-toc-container .ez-toc-title {
	margin: 0;
	font-size: 0 !important;
	font-weight: 600;
}

.at-article-body #ez-toc-container .ez-toc-title::after {
	content: "In this analysis";
	color: var(--at-ink);
	font-family: var(--at-sans);
	font-size: 12px;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.at-article-body #ez-toc-container .ez-toc-title-toggle,
.at-article-body #ez-toc-container .ez-toc-title-toggle a {
	display: inline-flex;
	align-items: center;
	color: var(--at-muted) !important;
}

.at-article-body #ez-toc-container .ez-toc-title-toggle a {
	width: 28px;
	height: 28px;
	justify-content: center;
	padding: 0;
	opacity: .72;
}

.at-article-body #ez-toc-container .ez-toc-title-toggle .arrow-unsorted-368013 {
	display: none;
}

.at-article-body #ez-toc-container nav,
.at-article-body #ez-toc-container .ez-toc-list {
	width: 100%;
}

.at-article-body #ez-toc-container ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.at-article-body #ez-toc-container > nav > ul,
.at-article-body #ez-toc-container > ul {
	counter-reset: eztoc;
}

.at-article-body #ez-toc-container > nav > ul > li,
.at-article-body #ez-toc-container > ul > li {
	position: relative;
	counter-increment: eztoc;
	margin: 0;
	padding: 7px 0 7px 39px;
}

.at-article-body #ez-toc-container > nav > ul > li::before,
.at-article-body #ez-toc-container > ul > li::before {
	content: counter(eztoc, decimal-leading-zero);
	position: absolute;
	top: 9px;
	left: 0;
	color: var(--at-gold);
	font-family: var(--at-mono);
	font-size: 10px;
	font-weight: 600;
}

.at-article-body #ez-toc-container a,
.at-article-body #ez-toc-container a:visited {
	color: var(--at-ink-soft) !important;
	font-family: var(--at-sans);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
	text-decoration: none;
}

.at-article-body #ez-toc-container a:hover {
	color: var(--at-blue) !important;
}

.at-article-body #ez-toc-container .ez-toc-list a::before {
	content: none !important;
	display: none !important;
}

.at-article-body #ez-toc-container ul ul {
	margin: 5px 0 0;
	padding: 0 0 0 15px;
	border-left: 1px solid var(--at-line);
}

.at-article-body #ez-toc-container ul ul li {
	margin: 0;
	padding: 5px 0;
}

.at-article-body #ez-toc-container ul ul a {
	color: var(--at-muted) !important;
	font-size: 13px;
}

.at-article-body #ez-toc-container .eztoc-hide,
.at-article-body #ez-toc-container .ez-toc-list.eztoc-hide {
	display: none !important;
}

/* Sources and article ending */
.at-sources {
	margin: 54px 0 0;
	padding: 24px 0 0;
	border-top: 1px solid var(--at-line-strong);
}

.at-article-body .at-sources__label {
	margin: 0 0 13px;
	padding: 0;
	color: var(--at-blue);
	font-family: var(--at-mono);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.at-sources__body,
.at-sources__body p {
	margin: 0;
	color: var(--at-ink-soft);
	font-family: var(--at-sans);
	font-size: 13px;
	line-height: 1.7;
}

.at-article-ending {
	max-width: 740px;
	margin-top: 38px;
}

.at-editorial-note {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	padding: 20px 0 0;
	border-top: 1px solid var(--at-line);
	background: transparent;
}

.at-editorial-note__mark {
	width: 32px;
	height: 32px;
	display: grid;
	place-items: center;
	border: 1px solid var(--at-line-strong);
	border-radius: 50%;
	font-family: var(--at-serif);
	font-size: 19px;
	font-weight: 600;
}

.at-editorial-note h2 {
	margin: 0 0 5px;
	color: var(--at-ink);
	font-family: var(--at-serif);
	font-size: 18px;
	font-weight: 600;
}

.at-editorial-note p {
	margin: 0;
	color: var(--at-ink-soft);
	font-size: 13px;
	line-height: 1.6;
}

.at-related {
	margin-top: 42px;
	padding-top: 25px;
	border-top: 1px solid var(--at-line-strong);
}

.at-related h2 {
	margin: 0 0 15px;
	color: var(--at-blue);
	font-family: var(--at-mono);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.at-related li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 20px;
	padding: 13px 0;
	border-top: 1px solid var(--at-line);
}

.at-related a {
	font-family: var(--at-serif);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
}

.at-related__meta {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	color: var(--at-muted);
	font-family: var(--at-mono);
	font-size: 9px;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.at-share-row {
	display: flex;
	align-items: center;
	gap: 17px;
	margin-top: 37px;
	padding-top: 20px;
	border-top: 1px solid var(--at-line);
}

.at-share-row__label {
	color: var(--at-muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.at-share-row .scriptlesssocialsharing,
.at-share-row .scriptlesssocialsharing__buttons {
	margin: 0 !important;
	padding: 0 !important;
}

.at-share-row .scriptlesssocialsharing__heading {
	display: none;
}

.at-share-row .scriptlesssocialsharing {
	width: auto;
}

.at-share-row .scriptlesssocialsharing__buttons {
	display: flex;
	align-items: center;
	gap: 17px;
}

.at-share-row .scriptlesssocialsharing__buttons a.button {
	width: auto;
	height: auto;
	flex: 0 0 auto;
	display: inline-flex;
	gap: 5px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 2px 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--at-ink-soft);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .03em;
	text-decoration: none;
}

.at-share-row .scriptlesssocialsharing__buttons a.button:hover {
	background: transparent;
	color: var(--at-blue);
}

.at-share-row .scriptlesssocialsharing__buttons a.button.facebook,
.at-share-row .scriptlesssocialsharing__buttons a.button.pinterest {
	display: none;
}

.at-share-row .button svg {
	width: 14px;
	height: 14px;
}

.at-share-row .button .sss-name {
	position: static;
	width: auto;
	height: auto;
	padding: 0;
	margin: 0;
	overflow: visible;
	clip: auto;
	white-space: nowrap;
	border: 0;
}

/* The reading sidebar is deliberately quieter than the article plane. */
.at-single-main .at-sidebar-about {
	padding: 22px 0 32px;
	border-top-width: 3px;
	border-bottom: 1px solid var(--at-line);
	background: transparent;
}

.at-single-main .at-sidebar-scorecards {
	padding: 0 0 34px;
	border: 0;
	border-bottom: 1px solid var(--at-line);
	background: transparent;
}

/* Pagination */
.at-feed .navigation.pagination {
	margin: 0;
}

.at-feed .nav-links {
	display: flex;
	gap: 7px;
	align-items: center;
}

.at-feed .page-numbers {
	min-width: 38px;
	height: 38px;
	display: inline-grid;
	place-items: center;
	padding: 0 10px;
	border: 1px solid var(--at-line);
	background: transparent;
	color: var(--at-ink-soft);
	font-size: 12px;
	text-decoration: none;
}

.at-feed .page-numbers.current,
.at-feed a.page-numbers:hover {
	border-color: var(--at-navy);
	background: var(--at-navy);
	color: #fff;
}

/* Footer */
.at-site-footer {
	padding: 66px 0 35px;
	background: var(--at-navy);
	color: #f3f0e7;
}

.at-site-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 52px;
}

.at-site-footer__brand > a {
	font-family: var(--at-serif);
	font-size: 34px;
	font-weight: 600;
	letter-spacing: -.035em;
	text-decoration: none;
}

.at-site-footer__brand p {
	max-width: 430px;
	margin: 8px 0 0;
	color: rgba(255,255,255,.58);
	font-size: 13px;
}

.at-site-footer__nav {
	display: flex;
	gap: 23px;
	align-items: start;
	padding-top: 12px;
}

.at-site-footer__nav a {
	color: rgba(255,255,255,.76);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .08em;
	text-decoration: none;
	text-transform: uppercase;
}

.at-site-footer__copyright {
	grid-column: 1 / -1;
	margin: 20px 0 0;
	padding-top: 20px;
	border-top: 1px solid rgba(255,255,255,.15);
	color: rgba(255,255,255,.45);
	font-size: 11px;
}

/* The homepage footer closes the feed without becoming a second masthead. */
.home .at-site-footer {
	padding: 48px 0 24px;
}

.home .at-site-footer__inner {
	column-gap: 52px;
	row-gap: 24px;
}

.home .at-site-footer__copyright {
	margin-top: 0;
	padding-top: 18px;
}

.single .at-site-footer {
	padding: 48px 0 24px;
}

.single .at-site-footer__inner {
	column-gap: 52px;
	row-gap: 24px;
}

.single .at-site-footer__copyright {
	margin-top: 0;
	padding-top: 18px;
}

/* Dark-mode image and plugin boundaries */
html.dark-mode .at-feed-item__figure,
html.dark-mode .at-article-body figure img,
html.dark-mode .at-article-body .wp-block-image img,
html.dark-mode .at-article-body > p > img {
	border-color: #46525a;
}

html.dark-mode input,
html.dark-mode textarea,
html.dark-mode select {
	border-color: var(--at-line);
	background: var(--at-surface);
	color: var(--at-ink);
}

/* Tablet */
@media (max-width: 1020px) {
	.at-editorial-shell,
	.at-editorial-shell--single {
		grid-template-columns: minmax(0, 1fr) 270px;
		gap: 42px;
	}

	.at-brand {
		grid-template-columns: auto 38px minmax(150px, 200px);
		gap: 16px;
	}

	.at-brand__rule {
		width: 38px;
	}

	.at-editorial-shell--single .at-article-header h1 {
		font-size: 44px;
	}
}

/* Mobile */
@media (max-width: 767px) {
	body.at-child-frontend {
		font-size: 15px;
	}

	.at-editorial-frame {
		width: min(100% - 40px, var(--at-frame));
	}

	.at-site-header {
		border-top-width: 4px;
	}

	.at-masthead {
		height: 140px;
		background: var(--at-paper);
	}

	.at-brand {
		width: 100%;
		display: block;
		text-align: center;
	}

	.at-brand__name {
		display: block;
		font-size: 52px;
		line-height: .95;
	}

	.at-brand__rule {
		display: none;
	}

	.at-brand__descriptor {
		display: block;
		max-width: none;
		margin-top: 12px;
		font-size: 9px;
		letter-spacing: .12em;
	}

	.at-nav-shell,
	.at-nav-shell__inner {
		min-height: 56px;
	}

	body.admin-bar .at-nav-shell {
		top: 46px;
	}

	.at-menu-toggle {
		display: inline-flex;
		align-items: center;
		gap: 10px;
		padding: 0;
		font-size: 10px;
		font-weight: 700;
		letter-spacing: .1em;
		text-transform: uppercase;
	}

	.at-menu-toggle__lines,
	.at-menu-toggle__lines::before,
	.at-menu-toggle__lines::after {
		display: block;
		width: 19px;
		height: 1px;
		background: currentColor;
	}

	.at-menu-toggle__lines {
		position: relative;
	}

	.at-menu-toggle__lines::before,
	.at-menu-toggle__lines::after {
		content: "";
		position: absolute;
		left: 0;
	}

	.at-menu-toggle__lines::before { top: -6px; }
	.at-menu-toggle__lines::after { top: 6px; }

	.at-primary-navigation {
		position: absolute;
		top: 56px;
		left: 0;
		width: 100%;
		max-height: 0;
		overflow: hidden;
		background: var(--at-navy);
		transition: max-height 180ms ease;
	}

	html.at-menu-open .at-primary-navigation {
		max-height: 70vh;
		overflow-y: auto;
	}

	.at-primary-menu,
	.at-primary-navigation .menu,
	.at-primary-navigation .menu > ul {
		height: auto;
		display: block;
		margin: 0;
		padding: 8px 20px 18px;
		list-style: none;
	}

	.at-primary-menu > li > a,
	.at-primary-navigation .menu > li > a,
	.at-primary-navigation .menu > ul > li > a {
		height: auto;
		padding: 12px 0;
		border-bottom: 1px solid rgba(255,255,255,.12);
	}

	.at-primary-menu .sub-menu,
	.at-primary-navigation .children {
		position: static;
		visibility: visible;
		opacity: 1;
		box-shadow: none;
	}

	.at-theme-toggle {
		width: 42px;
		height: 56px;
	}

	.at-main,
	.at-single-main {
		padding: 47px 0 76px;
	}

	.at-home-main {
		padding-top: 40px;
	}

	.at-section-intro {
		margin: 0 0 52px;
		padding-bottom: 27px;
	}

	.at-section-intro h1 {
		font-size: 39px;
		line-height: 1.04;
	}

	.at-section-intro > p:last-child,
	.at-section-intro__description {
		margin-top: 17px;
		font-size: 18px;
		line-height: 1.48;
	}

	.at-editorial-shell,
	.at-editorial-shell--single {
		display: block;
	}

	.at-feed-item {
		display: block;
		margin-bottom: 48px;
		padding-bottom: 48px;
	}

	.at-child-frontend .at-feed-item.ast-article-post {
		margin: 0 0 48px;
		padding: 0 0 48px;
	}

	.at-feed-item__date {
		margin-bottom: 11px;
		padding: 0;
		text-align: left;
	}

	.at-feed-item__date time {
		flex-direction: row;
		gap: 5px;
		align-items: baseline;
	}

	.at-feed-item__day,
	.at-feed-item__month,
	.at-feed-item__year {
		margin: 0;
		color: var(--at-muted);
		font-family: var(--at-mono);
		font-size: 9px;
		font-weight: 600;
		letter-spacing: .09em;
	}

	.at-feed-item__month { order: -1; }

	.at-feed-item__title {
		font-size: 34px;
		line-height: 1.08;
	}

	.at-home-main .at-feed-item__title {
		font-size: 34px;
	}

	.at-feed-item__figure {
		width: min(100%, 350px);
		margin: 24px 0 22px;
	}

	.at-feed-item__excerpt {
		font-size: 17px;
		line-height: 1.58;
	}

	.at-editorial-sidebar {
		margin-top: 58px;
		padding-top: 45px;
		border-top: 1px solid var(--at-line-strong);
	}

	.at-editorial-sidebar--single {
		display: none;
	}

	.at-sidebar-about,
	.at-sidebar-scorecards {
		padding: 23px;
	}

	.at-home-main .at-sidebar-about {
		padding: 21px 0 30px;
	}

	.at-home-main .at-sidebar-scorecards {
		padding: 0 0 32px;
	}

	.at-article-header {
		margin-bottom: 38px;
		padding-bottom: 29px;
	}

	.at-article-header__meta {
		flex-wrap: wrap;
		margin-bottom: 15px;
		font-size: 9px;
	}

	.at-editorial-shell--single .at-article-header h1,
	.at-article-header h1 {
		font-size: 38px;
		line-height: 1.07;
		letter-spacing: -.032em;
	}

	.at-article-header__dek {
		margin-top: 19px;
		font-size: 18px;
		line-height: 1.48;
	}

	.at-article-body {
		font-size: 17.5px;
		line-height: 1.72;
	}

	.at-article-body h2 {
		font-size: 28px;
		line-height: 1.18;
	}

	.at-article-body h3 {
		font-size: 22px;
	}

	.at-article-body blockquote {
		padding-left: 18px;
		font-size: 19px;
	}

	.at-article-body figure,
	.at-article-body .wp-block-image {
		width: 100%;
		max-width: 350px;
		margin: 2em auto;
		transform: none !important;
	}

	.at-article-body .wp-block-table {
		width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.at-article-body table {
		min-width: 560px;
		font-size: 12px;
	}

	.at-article-body #ez-toc-container {
		margin: 33px 0 40px;
		padding: 20px 0 18px !important;
	}

	.at-article-body #ez-toc-container > nav > ul > li,
	.at-article-body #ez-toc-container > ul > li {
		padding-left: 33px;
	}

	.at-sources {
		margin-top: 46px;
	}

	.at-article-ending {
		margin-top: 37px;
	}

	.at-editorial-note {
		grid-template-columns: 32px minmax(0, 1fr);
		gap: 12px;
		padding: 18px 0 0;
	}

	.at-editorial-note__mark {
		width: 30px;
		height: 30px;
		font-size: 18px;
	}

	.at-related li {
		display: block;
	}

	.at-related__meta {
		display: block;
		margin-top: 5px;
	}

	.at-share-row {
		align-items: flex-start;
		flex-direction: column;
	}

	.at-site-footer {
		padding: 49px 0 29px;
	}

	.at-site-footer__inner {
		display: block;
	}

	.at-site-footer__brand > a {
		font-size: 31px;
	}

	.at-site-footer__nav {
		flex-wrap: wrap;
		gap: 11px 19px;
		margin-top: 28px;
		padding: 0;
	}

	.at-site-footer__copyright {
		margin-top: 28px;
	}

	.home .at-site-footer {
		padding: 40px 0 24px;
	}

	.home .at-site-footer__nav {
		margin-top: 24px;
	}

	.home .at-site-footer__copyright {
		margin-top: 24px;
		padding-top: 18px;
	}

	.single .at-site-footer {
		padding: 40px 0 24px;
	}

	.single .at-site-footer__nav {
		margin-top: 24px;
	}

	.single .at-site-footer__copyright {
		margin-top: 24px;
		padding-top: 18px;
	}
}

@media (max-width: 380px) {
	.at-editorial-frame {
		width: calc(100% - 32px);
	}

	.at-brand__name {
		font-size: 48px;
	}

	.at-section-intro h1 {
		font-size: 36px;
	}

	.at-feed-item__title {
		font-size: 31px;
	}

	.at-home-main .at-feed-item__title {
		font-size: 31px;
	}

	.at-editorial-shell--single .at-article-header h1,
	.at-article-header h1 {
		font-size: 36px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; }
}
