/*
Theme Name: Artus Loescher
Theme URI: https://artusloescher.com
Author: Mephexus Group
Description: Artus Loescher — editorial theme for a fashion and luxury news portal. Your own articles mixed with stories pulled every hour from the major fashion titles (Settings → Press feed), and six advertising positions managed from Appearance → Customize.
Version: 2.0.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maison
Tags: news, blog, two-columns, custom-logo, custom-menu, featured-images, editor-style
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--bg: #f3f3f1;
	--ink: #111111;
	--ink-2: #4a4a4a;
	--muted: #8a8a8a;
	--line: #c9c9c9;
	--rule: #dcdcdc;
	--display: "Playfair Display", "Didot", Georgia, serif;
	--serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
	--wrap: 1280px;
	--gutter: clamp(18px, 3.2vw, 48px);
	--gap: clamp(22px, 2.6vw, 36px);
	--accent: #111111;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.is-locked { overflow: hidden; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 16px/1.6 var(--serif);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: 100%; max-width: 820px; margin-inline: auto; padding-inline: var(--gutter); }
.sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

/* Underline-on-hover for headline links */
.card-title a, .justin-title, .mainnav-list a, .footer-list a, .panel-title a {
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	transition: background-size .35s ease;
}
.card-title a:hover, .justin-title:hover, .mainnav-list a:hover, .footer-list a:hover, .panel-title a:hover { background-size: 100% 1px; }

/* "Read more ⊙" */
.read-more { display: inline-flex; align-items: center; gap: 9px; font: 700 14px/1 var(--display); color: var(--ink); }
.dot { position: relative; width: 12px; height: 12px; border: 1.5px solid currentColor; border-radius: 50%; transition: transform .25s ease; }
.dot::after { content: ""; position: absolute; inset: 2.5px; border-radius: 50%; background: currentColor; }
.read-more:hover .dot { transform: translateX(4px); }

/* Black label on pictures */
.tag { position: absolute; left: 0; bottom: 0; background: #000; color: #fff; font: 400 13px/1 var(--display); padding: 9px 16px; letter-spacing: .01em; }
.tag--light { position: static; display: inline-block; background: #fff; color: #000; margin-bottom: 18px; }

/* ==========================================================================
   Top line + header
   ========================================================================== */
.topline { background: #000; color: #fff; }
.topline-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 34px; }
.topline-text { margin: 0; font: 600 12px/1.3 var(--display); }
.topline-right { display: flex; align-items: center; gap: 22px; font: 600 12px var(--display); }
.topline-date { color: #9a9a9a; font-weight: 400; }
.topline-links { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.topline-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); transition: box-shadow .25s ease; }
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 78px; gap: 24px; }
.wordmark { margin: 0; font: 700 clamp(20px, 2vw, 26px)/1 var(--display); letter-spacing: .01em; white-space: nowrap; }

.custom-logo { max-height: 44px; width: auto; }
.mainnav-list { list-style: none; display: flex; gap: clamp(18px, 2.2vw, 34px); margin: 0; padding: 0; }
.mainnav-list a { font: 400 15px/1.4 var(--display); white-space: nowrap; }
.mainnav-list .current-cat a, .mainnav-list .current-menu-item a { background-size: 100% 1px; }
.header-tools { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.social { display: flex; align-items: center; gap: 14px; }
.social a { display: inline-flex; opacity: .9; }
.social a:hover { opacity: .5; }
.social--header { margin-right: 10px; }
.icon-btn { background: none; border: 0; padding: 8px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; }
.burger, .burger::before, .burger::after { display: block; width: 20px; height: 1.6px; background: currentColor; position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; }
.burger::after { top: 6px; }
.menu-toggle { display: none; }

.search-panel { border-top: 1px solid var(--rule); padding-block: 20px; background: var(--bg); }
.search-form { display: flex; gap: 12px; max-width: 680px; margin-inline: auto; }
.search-form label { flex: 1; }
.search-field, .comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea {
	width: 100%; border: 0; border-bottom: 1.5px solid var(--ink); padding: 10px 2px; font: 400 20px/1.4 var(--display); background: transparent; border-radius: 0; color: var(--ink);
}
.search-field:focus { outline: none; }
.search-submit, .btn, .comment-form .submit {
	background: #000; color: #fff; border: 1.5px solid #000; padding: 13px 24px; font: 600 14px/1 var(--display); cursor: pointer; display: inline-block; transition: background .2s, color .2s;
}
.search-submit:hover, .btn:hover, .comment-form .submit:hover { background: transparent; color: #000; }

/* Full-screen menu */
.menu-overlay { position: fixed; inset: 0; z-index: 90; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; animation: fade .25s ease; overflow-y: auto; }
.menu-overlay[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.menu-close { position: absolute; top: 18px; right: 18px; color: #fff; }
.menu-overlay-inner { text-align: center; padding: 60px 24px; }
.menu-label { font: 600 11px var(--sans); letter-spacing: .6em; text-transform: uppercase; margin-bottom: 34px; padding-left: .6em; }
.overlay-list { list-style: none; margin: 0 0 40px; padding: 0; }
.overlay-list a { display: inline-block; font: 400 clamp(32px, 5vw, 52px)/1.3 var(--display); transition: opacity .2s; }
.overlay-list a:hover { opacity: .55; }
.overlay-list ul { display: none; }
.social--overlay { justify-content: center; gap: 22px; }

/* ==========================================================================
   Home: hero slider
   ========================================================================== */
.hero { position: relative; margin-top: 18px; }
.hero-track { position: relative; height: clamp(440px, 46vw, 620px); overflow: hidden; background: #1a1a1a; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-link { display: block; height: 100%; color: #fff; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media img { transform: scale(1.04); transition: transform 7s ease; }
.hero-slide.is-active .hero-media img { transform: scale(1); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.05) 80%); }
.hero-body { position: absolute; left: clamp(28px, 7.5vw, 100px); right: 30%; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-start; }
.hero-title { font: 400 clamp(32px, 3.8vw, 56px)/1.12 var(--display); max-width: 15ch; }
.hero-dek { margin-top: 22px; font: 400 16px/1.55 var(--serif); max-width: 46ch; opacity: .9; }
.hero-meta { margin-top: 20px; font: 600 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid #fff; background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; }
.hero-arrow svg { width: 18px; height: 18px; }
.hero-arrow:hover { background: #fff; color: #000; }
.hero-prev { left: calc(var(--gutter) + 16px); }
.hero-next { right: calc(var(--gutter) + 16px); }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 8px; }
.hero-dots button { width: 26px; height: 2px; padding: 0; border: 0; background: rgba(255,255,255,.4); cursor: pointer; }
.hero-dots button.is-active { background: #fff; }
.hero-dots button::before { content: ""; display: block; height: 16px; margin-top: -7px; }

/* ==========================================================================
   Home: three-column front
   ========================================================================== */
.front { display: grid; grid-template-columns: 1fr 1.3fr 1fr; margin-top: clamp(40px, 5vw, 64px); }
.front-col { padding-inline: clamp(20px, 2.6vw, 38px); border-left: 1px solid var(--line); min-width: 0; }
.front-col:first-child { padding-left: 0; border-left: 0; }
.front-col:last-child { padding-right: 0; }
.col-label { font: 700 15px/1.3 var(--display); padding-bottom: 16px; border-bottom: 2px solid var(--ink); margin-bottom: 26px; }
.col-intro { font-size: 15px; color: var(--ink-2); margin-bottom: 22px; }
.col-kicker { font: 400 13px var(--display); color: var(--muted); margin-bottom: 12px; }
.col-statement { font: 400 clamp(30px, 2.8vw, 40px)/1.08 var(--display); margin-bottom: 22px; }
.col-about { font-size: 15px; color: var(--ink-2); margin-bottom: 30px; }
.col-sub { font: 700 15px/1.3 var(--display); padding-bottom: 14px; border-bottom: 2px solid var(--ink); margin: 0 0 8px; }
.front-col .card { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 2px solid var(--ink); }
.front-col .card--side { border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 18px; }
.front-col .card--side:last-child { border-bottom: 0; }

.justin { list-style: none; margin: 0 0 34px; padding: 0; }
.justin li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.justin li:last-child { border-bottom: 0; }
.justin-thumb { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: #ddd; display: block; }
.justin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.justin-meta { margin: 0 0 3px; font: 700 13px var(--display); }
.justin-title { font: 400 15px/1.35 var(--serif); color: var(--ink-2); }

/* ==========================================================================
   Cards
   ========================================================================== */
.card { min-width: 0; }
.card-media { position: relative; display: block; overflow: hidden; background: #e2e2e0; margin-bottom: 20px; }
.card-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-media img { transform: scale(1.035); }
.card--land .card-media img { aspect-ratio: 4 / 3; }
.card-date { margin: 0 0 10px; font: 700 11.5px/1.3 var(--sans); letter-spacing: .02em; display: flex; flex-wrap: wrap; gap: 0 8px; }
.card-source { font-weight: 500; color: var(--muted); }
.card-source::before { content: "·"; margin-right: 8px; color: var(--muted); }
.card-title { font: 400 clamp(22px, 1.9vw, 27px)/1.18 var(--display); }
.card--land .card-title { font-size: clamp(24px, 2.2vw, 31px); }
.card-dek { margin: 14px 0 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.card .read-more { margin-top: 18px; }
.card--side { display: grid; grid-template-columns: 1fr 84px; gap: 16px; align-items: start; }
.card--side .card-media { order: 2; margin: 0; }
.card--side .card-media img { aspect-ratio: 1; }
.card--side .card-title { font-size: 17px; line-height: 1.25; }
.card--side .card-date { margin-bottom: 6px; }
.card--text .card-title { font-size: 19px; }

.grid { display: grid; gap: var(--gap); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ==========================================================================
   Home: category blocks
   ========================================================================== */
.cat-block { margin-top: clamp(48px, 6vw, 80px); }
.panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 2.8vw, 40px); min-height: 100%; }
.panel--dark { background: #000; color: #fff; }
.panel--dark .read-more { color: #fff; }
.panel--line { border: 2px solid var(--ink); }
.panel-kicker { font: 600 10.5px var(--sans); letter-spacing: .3em; text-transform: uppercase; opacity: .6; margin-bottom: 16px; }
.panel-title { font: 400 clamp(32px, 2.8vw, 42px)/1.05 var(--display); margin-bottom: 18px; }
.panel-text { font-size: 15px; line-height: 1.6; opacity: .78; margin-bottom: 26px; }

/* Section heading (Read next, etc.) */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 16px; margin-bottom: 30px; }
.section-head h2 { font: 400 clamp(28px, 2.6vw, 38px)/1.05 var(--display); }
.related { padding-block: clamp(48px, 6vw, 80px) 10px; }

/* ==========================================================================
   Advertising
   ========================================================================== */
.ad { text-align: center; padding: 20px var(--gutter) 24px; }
.ad-label { display: block; font: 600 9.5px var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.ad-inner { display: flex; justify-content: center; }
.ad-inner img { margin-inline: auto; }
.ad--leaderboard { padding-block: 16px 18px; border-bottom: 1px solid var(--rule); }
.ad--leaderboard .ad-inner img, .ad--footer .ad-inner img { max-height: 90px; width: auto; }
.ad--billboard { max-width: var(--wrap); margin: clamp(48px, 6vw, 80px) auto 0; }
.ad--billboard .ad-inner img { max-height: 250px; width: auto; }
.ad--home_mpu, .ad--article_rail { padding: 0; }
.ad--article_inline { margin: 2.4em 0; padding: 18px 0; border-block: 1px solid var(--line); }
.ad--footer { margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--rule); }
.ad-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; max-width: 970px; min-height: 90px; border: 1px dashed #a9a9a9; background: #e9e9e7; font: 400 20px var(--display); padding: 16px; color: var(--ink); }
.ad--home_mpu .ad-placeholder, .ad--article_rail .ad-placeholder { min-height: 250px; max-width: 300px; }
.ad--billboard .ad-placeholder { min-height: 250px; }
.ad-placeholder small { font: 600 10px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ==========================================================================
   Article
   ========================================================================== */
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 300px; justify-content: space-between; gap: clamp(32px, 5vw, 72px); padding-top: clamp(32px, 4vw, 56px); }
.article-crumbs { display: flex; gap: 10px; font: 600 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.article-crumbs a:hover { color: var(--ink); }
.article-date { font: 700 12px var(--sans); display: flex; gap: 14px; margin-bottom: 16px; }
.article-date span { font-weight: 500; color: var(--muted); }
.article-title { font: 400 clamp(38px, 5vw, 66px)/1.06 var(--display); letter-spacing: -0.01em; }
.article-dek { font: italic 400 clamp(19px, 1.7vw, 22px)/1.5 var(--serif); color: var(--ink-2); margin: 22px 0 0; }
.article-by { margin: 22px 0 0; font: 600 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.article-by a { border-bottom: 1px solid currentColor; }
.article-hero { position: relative; margin: 34px 0 0; }
.article-hero img { width: 100%; max-height: 78vh; object-fit: cover; }
.article-hero figcaption { font: 400 13px var(--sans); color: var(--muted); margin-top: 10px; }
.article-body { margin-top: 40px; }

.entry { font-size: 19px; line-height: 1.75; color: #222; }
.entry > * { margin-top: 0; margin-bottom: 0; }
.entry > * + * { margin-top: 1.25em; }
.entry h2 { font: 500 clamp(26px, 2.4vw, 32px)/1.2 var(--display); margin-top: 1.8em; }
.entry h3 { font: 500 23px/1.25 var(--display); margin-top: 1.6em; }
.entry a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry blockquote, .entry .wp-block-pullquote { margin: 2em 0 !important; padding: 28px 0; border: 0; border-block: 2px solid var(--ink); }
.entry blockquote p, .entry .wp-block-pullquote p { margin: 0; font: italic 400 clamp(24px, 2.4vw, 30px)/1.35 var(--display); }
.entry blockquote cite { display: block; margin-top: 14px; font: 600 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; font-style: normal; color: var(--muted); }
.entry figure { margin-inline: 0; }
.entry figcaption, .entry .wp-element-caption { font: 400 13px var(--sans); color: var(--muted); margin-top: 8px; }
.entry ul, .entry ol { padding-left: 1.2em; }
.entry li + li { margin-top: .4em; }
.entry hr { border: 0; border-top: 2px solid var(--ink); width: 60px; margin: 2.4em 0; }
.entry .alignwide { max-width: none; }

.article-tags { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px; }
.article-tags a { font: 400 14px var(--display); border: 1px solid var(--line); padding: 6px 14px; }
.article-tags a:hover { border-color: var(--ink); }
.share { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.share-btn { border: 1.5px solid var(--ink); padding: 11px 20px; font: 600 14px/1 var(--display); transition: background .2s, color .2s; }
.share-btn:hover, .share-btn--dark { background: var(--ink); color: #fff; }
.share-btn--dark:hover { background: transparent; color: var(--ink); }
.author-box { display: flex; gap: 18px; margin-top: 36px; padding: 26px 28px; background: #e8e8e6; font-size: 15px; line-height: 1.6; }
.author-box img { border-radius: 50%; flex: 0 0 auto; width: 56px; height: 56px; }
.author-name { font: 700 16px var(--display); margin-bottom: 6px; }
.author-box p:last-of-type { margin-bottom: 14px; }

.article-rail { min-width: 0; }
.rail-sticky { position: sticky; top: 100px; }
.rail-widget { margin-top: 32px; }
.rail-title { font: 700 15px var(--display); border-bottom: 2px solid var(--ink); padding-bottom: 12px; margin-bottom: 12px; }

/* Press stories */
.press-excerpt { font: 400 clamp(21px, 2vw, 25px)/1.55 var(--serif); color: var(--ink); }
.press-source { margin-top: 2em !important; padding: 30px; border: 2px solid var(--ink); text-align: center; }
.press-source-label { font: 400 16px var(--serif); color: var(--ink-2); margin: 0 0 20px !important; }
.entry .press-btn { color: #fff; text-decoration: none; padding: 16px 28px; }
.entry .press-btn:hover { color: #000; }
.press-source-url { margin: 14px 0 0 !important; font: 400 12px var(--sans); color: var(--muted); word-break: break-all; }
.card-media.no-image, .hero-media.no-image { display: none; }
.entry .ad a { text-decoration: none; }

/* Pages */
.page-article { padding-top: clamp(40px, 5vw, 72px); }
.page-article .article-head { text-align: center; }
.page-article .entry { padding-block: 32px 64px; }

/* ==========================================================================
   Archives, search, 404
   ========================================================================== */
.archive-head { padding-block: clamp(40px, 5vw, 72px) clamp(28px, 3vw, 44px); }
.archive-label { font: 600 11px var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.archive-title { font: 400 clamp(46px, 7vw, 96px)/1 var(--display); letter-spacing: -0.015em; }
.archive-intro { max-width: 640px; margin-top: 20px; font: italic 400 19px/1.55 var(--serif); color: var(--ink-2); }
.archive-search { margin-top: 26px; max-width: 680px; }
.archive-search .search-form { margin: 0; }
.archive-lead { border-top: 2px solid var(--ink); padding-top: 32px; margin-bottom: clamp(40px, 5vw, 64px); }
.archive-lead .card--land { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.archive-lead .card-media { margin: 0; }
.archive-lead .card-title { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; }
.archive-lead .card-dek { font-size: 17px; }
.wrap > .grid--3 + .ad, .wrap > .ad { margin-block: 40px; }
.pager { padding-block: 56px 20px; }
.pager .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pager .page-numbers { min-width: 44px; text-align: center; padding: 11px 14px; font: 600 14px var(--display); border: 1.5px solid var(--ink); }
.pager .current, .pager a.page-numbers:hover { background: var(--ink); color: #fff; }
.empty-state { text-align: center; padding-block: 72px; color: var(--ink-2); }
.empty-state h2 { font-size: 38px; margin-bottom: 14px; color: var(--ink); }
.not-found .search-form { margin: 28px auto; }

/* Comments */
.comments-wrap { padding-block: 56px 0; }
.comments { border-top: 2px solid var(--ink); padding-top: 26px; }
.comments-title { font-size: 28px; margin-bottom: 20px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { border-bottom: 1px solid var(--line); padding: 18px 0; }
.comment-form p { margin-bottom: 18px; }
.comment-form label { display: block; font: 600 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #000; color: #a8a8a8; margin-top: clamp(56px, 7vw, 96px); }
.ad--footer + .site-footer { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--gap); padding-block: 64px 48px; }
.footer-wordmark { font: 700 26px/1 var(--display); color: #fff; margin-bottom: 18px; }

.footer-about { font-size: 15px; line-height: 1.65; max-width: 420px; margin-bottom: 24px; }
.social--footer { color: #fff; }
.footer-title { font: 700 14px var(--display); color: #fff; margin: 0 0 16px; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list a { display: inline-block; padding: 5px 0; font: 400 14px var(--display); color: #cfcfcf; }
.footer-list a:hover { color: #fff; }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid #222; padding-block: 18px 26px; font: 400 12px var(--sans); color: #6f6f6f; }
.footer-base p { margin: 0; }

/* WordPress alignment */
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1120px) {
	.mainnav, .social--header { display: none; }
	.menu-toggle { display: inline-flex; }
	.header-inner { grid-template-columns: 1fr auto; min-height: 68px; }
	.front { grid-template-columns: 1fr 1fr; row-gap: 56px; }
	.front-col--2 { padding-right: 0; }
	.front-col--3 { grid-column: 1 / -1; padding: 40px 0 0; border-left: 0; border-top: 2px solid var(--ink); display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; align-items: start; }
	.front-col--3 > .col-kicker, .front-col--3 > .col-statement, .front-col--3 > .col-about { grid-column: 1; }
	.front-col--3 > .col-sub, .front-col--3 > .justin { grid-column: 2; }
	.front-col--3 > .col-sub { grid-row: 1; }
	.front-col--3 > .justin { grid-row: 2 / span 3; }
	.front-col--3 > .ad { grid-column: 1; }
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.article-layout { grid-template-columns: 1fr; }
	.article-rail { max-width: 340px; width: 100%; margin-inline: auto; }
	.rail-sticky { position: static; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
	.topline-text { display: none; }
	.topline-inner { justify-content: center; }
	.hero { margin-top: 0; padding-inline: 0; }
	.hero-track { height: min(78vh, 560px); }
	.hero-shade { background: linear-gradient(0deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.3) 55%, rgba(0,0,0,.05) 100%); }
	.hero-body { left: 22px; right: 22px; top: auto; bottom: 56px; transform: none; }
	.hero-title { font-size: 34px; }
	.hero-dek { display: none; }
	.hero-arrow { display: none; }
	.front { grid-template-columns: 1fr; }
	.front-col, .front-col--3 { padding-inline: 0; border-left: 0; }
	.front-col--3 { display: block; }
	.grid--3, .grid--4 { grid-template-columns: 1fr; }
	.panel { min-height: 0; }
	.archive-lead .card--land { grid-template-columns: 1fr; }
	.entry { font-size: 18px; }
	.footer-grid { grid-template-columns: 1fr; }
	.share-btn { flex: 1 1 calc(50% - 10px); text-align: center; }
	.admin-bar .site-header { top: 0; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Fine-tuning */
.card--side .card-date { flex-direction: column; gap: 2px; }
.card--side .card-source::before { content: none; }
.panel-title { font-size: clamp(28px, 2.4vw, 38px); text-wrap: balance; }
.card-title, .hero-title, .article-title, .col-statement { text-wrap: balance; }

/* Full-width banners: exactly the width of the hero slider */
.ad--wide { padding-block: 22px 26px; border: 0; }
.ad--wide .ad-inner { display: block; }
.ad--wide .ad-inner a, .ad--wide picture { display: block; }
.ad--wide .ad-inner img { width: 100%; max-width: none; max-height: none; height: auto; }
.ad--leaderboard.ad--wide { padding-block: 0 4px; }
.ad--leaderboard.ad--wide .ad-label { margin-top: 2px; }
.ad--billboard.ad--wide { margin-top: clamp(48px, 6vw, 80px); }
.ad--footer.ad--wide { border-top: 0; }
.ad--wide .ad-placeholder { max-width: none; aspect-ratio: 8 / 1; min-height: 0; }
.ad--billboard.ad--wide .ad-placeholder { aspect-ratio: 4 / 1; }
.ad--article_inline .ad-inner img { width: 100%; height: auto; }
.ad--home_mpu .ad-inner img, .ad--article_rail .ad-inner img { width: 100%; max-width: 300px; height: auto; }
@media (max-width: 760px) {
	.ad--wide .ad-placeholder { aspect-ratio: 3 / 1; }
	.ad--billboard.ad--wide .ad-placeholder { aspect-ratio: 1 / 1; }
}
