/*
Theme Name: The Retro Marketer
Theme URI: https://shedbuiltdigital.com/
Author: Shed Built Digital
Author URI: https://shedbuiltdigital.com/
Description: Old-school marketing sense for a digital world. A custom blog theme for Jeff, the Retro Marketer: numbered "spots", channels for categories, a clip-and-save lesson box, star ratings, sharing and comments built in.
Version: 1.1.0
Requires at least: 6.0
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: retro-marketer
*/

/* ---------- Tokens ---------- */
:root {
	--navy: #16313f;
	--navy-deep: #0e222c;
	--orange: #e4572e;
	--orange-text: #b23f19;
	--orange-light: #f28a62;
	--cream: #f4ead5;
	--paper: #faf4e6;
	--cream-dim: #e9dcc0;
	--cream-mute: #d8cbb0;
	--teal: #2b8a92;
	--teal-text: #1d6168;
	--ink: #1b1b1b;
	--mute: #5a5245;
	--display: "Anton", Impact, "Arial Narrow", sans-serif;
	--mono: "Courier Prime", "Courier New", monospace;
	--serif: "Source Serif 4", Georgia, serif;
	--wrap: 1240px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--serif);
	color: var(--ink);
	background-color: var(--cream);
	background-image: radial-gradient(rgba(27,27,27,.07) 1px, transparent 1.2px);
	background-size: 6px 6px;
	line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--orange-text); }
a:hover { color: var(--navy); }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 999; width: auto; height: auto; clip: auto;
	background: var(--orange); color: var(--navy-deep); padding: 12px 16px; font-family: var(--mono); font-weight: 700;
}
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.narrow { max-width: 760px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.rays {
	background-color: var(--navy);
	background-image: repeating-conic-gradient(from 0deg at 85% 120%, rgba(228,87,46,.16) 0deg 7deg, rgba(22,49,63,0) 7deg 14deg);
	color: var(--cream);
}
.rays--left { background-image: repeating-conic-gradient(from 0deg at 20% 110%, rgba(228,87,46,.16) 0deg 7deg, rgba(22,49,63,0) 7deg 14deg); }

.mono-label {
	font-family: var(--mono); font-weight: 700; font-size: 14px;
	letter-spacing: 2px; text-transform: uppercase;
}
.chip {
	display: inline-block; background: var(--cream); color: var(--navy-deep);
	padding: 6px 12px; border-radius: 4px; text-decoration: none;
}
a.chip:hover { background: var(--orange); color: var(--navy-deep); }

.btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
	font-family: var(--mono); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 1px;
	padding: 10px 18px; border-radius: 6px; text-decoration: none; cursor: pointer; border: 2px solid transparent;
}
.btn--orange { background: var(--orange); color: var(--navy-deep); box-shadow: 3px 3px 0 var(--cream); }
.btn--orange:hover { background: var(--cream); color: var(--navy-deep); }
.btn--outline-light { border-color: var(--cream); color: var(--cream); }
.btn--outline-light:hover { background: var(--cream); color: var(--navy-deep); }
.btn--navy { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-deep); color: var(--cream); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--cream); }
.btn--big {
	font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: 1.5px;
	min-height: 52px; padding: 0 28px; background: var(--navy); color: var(--cream); border: none;
	box-shadow: 4px 4px 0 var(--orange);
}
.btn--big:hover { background: var(--navy-deep); }

/* ---------- Header ---------- */
.site-header { background: var(--navy-deep); color: var(--cream); border-bottom: 4px solid var(--orange); }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); margin-right: auto; }
.brand:hover { color: var(--orange-light); }
.brand img { width: 48px; height: 48px; }
.brand span { font-family: var(--display); font-size: 24px; letter-spacing: 1.5px; text-transform: uppercase; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 24px; }
.main-nav a {
	display: block; padding: 12px 0; color: var(--cream); text-decoration: none;
	font-family: var(--mono); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 1px;
}
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current-cat > a { color: var(--orange-light); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--cream); border-top: 4px solid var(--orange); padding: 40px 0; }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.site-footer__brand { display: flex; align-items: center; gap: 14px; }
.site-footer__brand img { width: 56px; height: 56px; }
.site-footer__brand span { font-family: var(--display); font-size: 22px; letter-spacing: 1px; text-transform: uppercase; line-height: 1.15; }
.site-footer__meta { font-family: var(--mono); font-size: 15px; color: var(--cream-mute); }
.site-footer__meta a { color: var(--orange-light); }
.site-footer__meta a:hover { color: var(--cream); }

/* ---------- Masthead (blog home) ---------- */
.masthead { padding: 64px 0 72px; }
.masthead__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px; }
.masthead__badge { width: min(340px, 80vw); flex: 0 0 auto; }
.masthead__copy { flex: 1 1 440px; display: flex; flex-direction: column; gap: 22px; }
.masthead__kicker { color: var(--orange-light); }
.masthead h1 {
	margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 1;
	letter-spacing: 1px; font-size: clamp(44px, 6vw, 80px); text-shadow: 5px 5px 0 var(--teal);
}
.masthead h1 .hot { color: var(--orange); text-shadow: 5px 5px 0 var(--navy-deep); }
.masthead p { margin: 0; max-width: 560px; font-size: 21px; line-height: 1.55; color: var(--cream-dim); }

/* ---------- Channel dial ---------- */
.channels { padding-top: 40px; padding-bottom: 8px; }
.channels__list { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; list-style: none; margin: 0; padding: 0; }
.channels__label { margin-right: 8px; }
.channels a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 2px solid var(--navy);
	border-radius: 999px; color: var(--navy); text-decoration: none; font-family: var(--mono); font-weight: 700; font-size: 15px;
}
.channels a:hover, .channels a[aria-current="page"] { background: var(--navy); color: var(--cream); }

/* ---------- Archive heading ---------- */
.archive-head { padding: 56px 0 64px; }
.archive-head h1 {
	margin: 8px 0 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: 1px;
	font-size: clamp(40px, 6vw, 72px); line-height: 1; text-shadow: 5px 5px 0 var(--teal);
}
.archive-head p { margin: 16px 0 0; max-width: 640px; font-size: 20px; color: var(--cream-dim); }
.archive-head .mono-label { color: var(--orange-light); }

/* ---------- Featured story card ---------- */
.featured { padding-top: 24px; padding-bottom: 56px; }
.feature-card {
	display: flex; flex-wrap: wrap; text-decoration: none; color: inherit; background: var(--paper);
	border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); border-radius: 12px; overflow: hidden;
	transition: transform .15s ease, box-shadow .15s ease;
}
.feature-card:hover { color: inherit; transform: translate(-2px, -2px); box-shadow: 12px 12px 0 var(--ink); }
.feature-card__art {
	flex: 1 1 380px; min-height: 340px; padding: 36px; display: flex; flex-direction: column;
	justify-content: space-between; gap: 24px; position: relative;
}
.feature-card__art img.feature-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-card__art > *:not(img) { position: relative; }
.feature-card__art.has-img::after { content: ""; position: absolute; inset: 0; background: rgba(14,34,44,.35); }
.feature-card__art.has-img > div { z-index: 1; }
.feature-card__top { display: flex; justify-content: space-between; gap: 12px; }
.feature-card__spot { color: var(--orange-light); }
.feature-card__num { font-family: var(--display); font-size: clamp(96px, 12vw, 150px); line-height: .8; color: var(--orange); text-shadow: 6px 6px 0 var(--navy-deep); }
.feature-card__body { flex: 999 1 460px; padding: 40px; display: flex; flex-direction: column; gap: 18px; }
.feature-card__body h2 {
	margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase;
	font-size: clamp(34px, 4vw, 52px); line-height: 1.02; letter-spacing: .5px; color: var(--navy);
}
.feature-card__body p { margin: 0; font-size: 20px; line-height: 1.6; color: #2e2e2e; }
.feature-card__lesson { margin-top: auto; border-top: 2px dashed var(--ink); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.feature-card__lesson .mono-label { font-size: 13px; color: var(--teal-text); }
.feature-card__lesson strong { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 24px; line-height: 1.15; }
.read-more { font-family: var(--mono); font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: 1px; color: var(--orange-text); }
.kicker { color: var(--orange-text); }

/* ---------- Card grid ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.section-head h2 { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 44px; letter-spacing: 1px; color: var(--navy); }
.section-head span { font-family: var(--mono); font-size: 16px; color: var(--mute); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; padding-bottom: 64px; }
.card {
	background: var(--paper); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--teal); border-radius: 10px;
	padding: 28px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit;
	transition: transform .15s ease, box-shadow .15s ease;
}
.card:nth-child(3n+2) { box-shadow: 6px 6px 0 var(--orange); }
.card:nth-child(3n+3) { box-shadow: 6px 6px 0 var(--navy); }
a.card:hover { color: inherit; transform: translate(-2px, -2px); }
.card h3 { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 28px; line-height: 1.1; color: var(--navy); }
.card p { margin: 0; font-size: 18px; line-height: 1.5; color: #2e2e2e; }
.card__foot { margin-top: auto; font-family: var(--mono); font-size: 15px; color: var(--mute); }
.card img { border-radius: 6px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.card--soon { background: transparent; border-style: dashed; }

/* ---------- Pagination ---------- */
.pagination { padding-bottom: 72px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 10px; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px;
	border: 2px solid var(--navy); border-radius: 6px; color: var(--navy); text-decoration: none; font-family: var(--mono); font-weight: 700;
}
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--navy); color: var(--cream); }

/* ---------- Single: hero ---------- */
.post-hero { padding: 72px 0 88px; }
.post-hero__inner { max-width: 1000px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; gap: 28px; }
.post-hero__meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-family: var(--mono); font-weight: 700; font-size: 15px; letter-spacing: 1.5px; text-transform: uppercase; }
.post-hero__meta .spot { color: var(--orange-light); }
.post-hero__meta .dot { opacity: .5; }
.post-hero h1 {
	margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .98; letter-spacing: 1px;
	font-size: clamp(44px, 8vw, 104px); text-shadow: 5px 5px 0 var(--teal); overflow-wrap: break-word;
}
.post-hero h1 .hot { display: block; color: var(--orange); text-shadow: 5px 5px 0 var(--navy-deep); }
.post-hero__dek { margin: 0; max-width: 640px; font-size: 22px; line-height: 1.5; font-style: italic; color: var(--cream-dim); }
.byline { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.byline img { width: 72px; height: 72px; }
.byline__text { display: flex; flex-direction: column; gap: 4px; }
.byline__name { font-family: var(--display); font-size: 22px; letter-spacing: 1px; text-transform: uppercase; }
.byline__date { font-family: var(--mono); font-size: 15px; color: var(--cream-mute); }

/* ---------- Share bar ---------- */
.share { max-width: 1000px; margin: -28px auto 0; padding: 0 24px; position: relative; }
.share--bottom { margin: 0 auto 48px; max-width: 760px; }
.share__box {
	background: var(--paper); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); border-radius: 8px;
	padding: 14px 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
}
.share__label { margin-right: auto; font-size: 15px; letter-spacing: 1px; }
.share__btn {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 6px;
	font-family: var(--mono); font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer;
	border: 2px solid var(--navy); background: var(--navy); color: var(--cream);
}
.share__btn:hover { background: var(--navy-deep); color: var(--cream); }
.share__btn--ghost { background: transparent; color: var(--navy); }
.share__btn--ghost:hover { background: var(--navy); color: var(--cream); }
.share__btn--copy { border-color: var(--orange); background: var(--orange); color: var(--navy-deep); }
.share__btn--copy:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--cream); }
.share__btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

/* ---------- Article body ---------- */
.entry { max-width: 700px; margin: 0 auto; padding: 64px 24px 24px; font-size: 21px; line-height: 1.7; }
.entry > * { margin-top: 0; margin-bottom: 1.4em; }
.entry > p:first-of-type::first-letter {
	float: left; font-family: var(--display); font-size: 92px; line-height: .8; color: var(--orange);
	padding: 8px 12px 0 0; text-shadow: 3px 3px 0 var(--navy);
}
.entry h2, .entry h3, .entry h4, .entry h5, .entry h6 {
	font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: 1px; line-height: 1.1;
	color: var(--navy); margin: 1.4em 0 .6em;
}
/* Any heading level works as a subhead, so pasted posts look right whatever level they come in as. */
.entry h2, .entry h3, .entry h4 { font-size: 40px; }
.entry h2::after, .entry h3::after, .entry h4::after { content: ""; display: block; width: 72px; height: 6px; background: var(--orange); margin-top: 10px; }
.entry h5, .entry h6 { font-size: 28px; }
/* A closing sign-off line in italics stays quiet. */
.entry > p:last-child em:only-child { color: var(--mute); }
.entry blockquote, .entry .wp-block-quote, .entry .wp-block-pullquote {
	margin: 1.6em -24px; padding: 36px 32px; background: var(--navy); color: var(--cream); border: 0;
	border-radius: 10px; box-shadow: 8px 8px 0 var(--orange);
}
.entry blockquote::before {
	content: ""; display: block; width: 28px; height: 28px; margin-bottom: 14px;
	background: var(--orange);
	clip-path: polygon(50% 0, 60.4% 39.6%, 100% 50%, 60.4% 60.4%, 50% 100%, 39.6% 60.4%, 0 50%, 39.6% 39.6%);
}
.entry blockquote p {
	margin: 0; font-family: var(--display); text-transform: uppercase; font-size: 36px; line-height: 1.15; letter-spacing: .5px;
}
.entry blockquote cite { display: block; margin-top: 14px; font-family: var(--mono); font-style: normal; font-size: 15px; color: var(--cream-mute); }
.entry .wp-block-pullquote blockquote { margin: 0; padding: 0; box-shadow: none; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li { margin-bottom: .4em; }
.entry li::marker { color: var(--orange); font-weight: 700; }
.entry img, .entry figure { border-radius: 8px; }
.entry figure { margin-left: 0; margin-right: 0; }
.entry figcaption { font-family: var(--mono); font-size: 15px; color: var(--mute); margin-top: 8px; }
.entry .wp-block-image img { border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.entry hr { border: 0; border-top: 3px dashed var(--ink); margin: 2em 0; }
.entry a { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry iframe, .entry .wp-block-embed { max-width: 100%; }
.post-image { max-width: 1000px; margin: 48px auto 0; padding: 0 24px; }
.post-image img { width: 100%; border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); border-radius: 12px; }
.page-links { font-family: var(--mono); font-weight: 700; }

/* ---------- The Lesson (clip & save) ---------- */
.lesson { max-width: 760px; margin: 0 auto; padding: 16px 24px 56px; }
.lesson__cut { border: 3px dashed var(--ink); border-radius: 6px; padding: 10px; }
.lesson__inner { background: var(--orange); color: var(--navy-deep); border-radius: 4px; padding: 36px 36px 32px; display: flex; flex-direction: column; gap: 16px; }
.lesson__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 15px; }
.lesson h2 {
	margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 52px; line-height: 1;
	letter-spacing: 1px; color: var(--cream); text-shadow: 4px 4px 0 var(--navy-deep);
}
.lesson__text { margin: 0; font-size: 21px; line-height: 1.6; }
.lesson__text p { margin: 0 0 .8em; }
.lesson__text p:last-child { margin-bottom: 0; }
.lesson__punch { margin: 0; font-family: var(--display); text-transform: uppercase; font-size: 30px; line-height: 1.15; }

/* ---------- Rating ---------- */
.rating { max-width: 760px; margin: 0 auto; padding: 0 24px 48px; }
.rating__box {
	background: var(--paper); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--navy); border-radius: 10px;
	padding: 28px 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px;
}
.rating__copy { display: flex; flex-direction: column; gap: 6px; flex: 1 1 240px; }
.rating h2 { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 30px; letter-spacing: 1px; color: var(--navy); }
.rating__status { margin: 0; font-family: var(--mono); font-size: 16px; color: var(--teal-text); }
.rating__stars { display: flex; gap: 6px; }
.rating__star { width: 52px; height: 52px; border: 0; background: transparent; padding: 4px; cursor: pointer; }
.rating__star svg { width: 44px; height: 44px; display: block; }
.rating__star path { fill: var(--cream); stroke: var(--navy); stroke-width: 1; transition: fill .1s ease; }
.rating__star.is-on path { fill: var(--orange); }
.rating__stars:hover .rating__star path { fill: var(--orange); }
.rating__stars .rating__star:hover ~ .rating__star path { fill: var(--cream); }
.rating__stars[data-locked] .rating__star { cursor: default; }
.rating__stars[data-locked]:hover .rating__star:not(.is-on) path { fill: var(--cream); }

/* ---------- Author ---------- */
.author { padding: 56px 0; }
.author__inner { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.author__inner > img { width: 160px; height: 160px; flex: 0 0 auto; }
.author__copy { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; }
.author__copy .mono-label { color: var(--orange-light); }
.author h2 { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 34px; letter-spacing: 1px; }
.author p { margin: 0; font-size: 19px; line-height: 1.6; color: var(--cream-dim); }
.author__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* ---------- Comments ---------- */
.comments { padding-top: 64px; padding-bottom: 64px; }
.comments__title { margin: 0 0 6px; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 44px; letter-spacing: 1px; color: var(--navy); }
.comments__intro { margin: 0 0 28px; font-size: 19px; color: #3a3a3a; }
.comments__empty { border: 2px dashed #8a7f6a; border-radius: 10px; padding: 24px; text-align: center; font-family: var(--mono); font-size: 16px; color: var(--mute); margin-bottom: 28px; }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list { margin-bottom: 36px; }
.comment-list .children { margin-left: 32px; border-left: 3px dashed var(--teal); padding-left: 20px; }
.comment-body { background: var(--paper); border: 2px solid var(--ink); border-radius: 10px; padding: 20px 24px; margin-bottom: 20px; box-shadow: 4px 4px 0 var(--teal); }
.bypostauthor > .comment-body { box-shadow: 4px 4px 0 var(--orange); }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 10px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-family: var(--display); text-transform: uppercase; font-size: 20px; letter-spacing: .5px; color: var(--navy); }
.comment-author .avatar { border-radius: 50%; border: 2px solid var(--ink); }
.comment-author .says { display: none; }
.comment-author a { color: inherit; text-decoration: none; }
.comment-metadata { font-family: var(--mono); font-size: 14px; }
.comment-metadata a { color: var(--mute); text-decoration: none; }
.comment-content { font-size: 18px; line-height: 1.6; }
.comment-content p { margin: 0 0 .8em; }
.reply a { font-family: var(--mono); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.bypostauthor > .comment-body .comment-author::after {
	content: "The Retro Marketer"; font-family: var(--mono); font-size: 12px; letter-spacing: 1px;
	background: var(--orange); color: var(--navy-deep); padding: 3px 8px; border-radius: 4px;
}
.comment-respond {
	background: var(--paper); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); border-radius: 10px; padding: 28px;
}
.comment-reply-title { margin: 0 0 12px; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 28px; color: var(--navy); }
.comment-reply-title small { font-family: var(--mono); font-size: 14px; margin-left: 10px; }
.comment-form { display: flex; flex-wrap: wrap; gap: 18px; }
.comment-form > p { margin: 0; flex: 1 1 100%; }
.comment-form .comment-form-author, .comment-form .comment-form-email { flex: 1 1 220px; }
.comment-form .comment-notes, .comment-form .logged-in-as { font-size: 16px; color: var(--mute); }
.comment-form label { display: block; margin-bottom: 6px; font-family: var(--mono); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.comment-form-cookies-consent label { display: inline; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 15px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; font: 18px/1.5 var(--serif); padding: 12px; border: 2px solid var(--ink); border-radius: 6px; background: #fff; color: var(--ink);
}
.comment-form textarea { resize: vertical; min-height: 150px; }
.comment-form .submit {
	font-family: var(--display); font-size: 22px; letter-spacing: 1.5px; text-transform: uppercase; min-height: 52px; padding: 0 28px;
	background: var(--navy); color: var(--cream); border: none; border-radius: 6px; box-shadow: 4px 4px 0 var(--orange); cursor: pointer;
}
.comment-form .submit:hover { background: var(--navy-deep); }

/* ---------- Next up ---------- */
.next-up { padding-bottom: 72px; }
.next-up__inner { border-top: 4px solid var(--ink); padding-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.next-up a.next-up__title, .next-up span.next-up__title {
	font-family: var(--display); text-transform: uppercase; font-size: 32px; line-height: 1.1; color: var(--navy); text-decoration: none;
}
.next-up a.next-up__title:hover { color: var(--orange-text); }
.next-up__foot { font-family: var(--mono); font-size: 15px; color: var(--mute); }

/* ---------- Plain pages / 404 ---------- */
.page-hero { padding: 56px 0 64px; }
.page-hero h1 {
	margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: 1px;
	font-size: clamp(40px, 6vw, 72px); line-height: 1; text-shadow: 5px 5px 0 var(--teal);
}
.entry--page > p:first-of-type::first-letter { float: none; font: inherit; color: inherit; padding: 0; text-shadow: none; }
.not-found { padding: 64px 24px 96px; text-align: center; }
.not-found p { font-size: 20px; }

/* ---------- WordPress bits ---------- */
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text { font-family: var(--mono); font-size: 15px; color: var(--mute); }
.sticky, .gallery-caption { }

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
	.entry { font-size: 19px; padding-top: 48px; }
	.entry blockquote { margin-left: 0; margin-right: 0; padding: 28px 22px; }
	.entry blockquote p { font-size: 28px; }
	.lesson__inner { padding: 28px 22px; }
	.lesson h2 { font-size: 40px; }
	.feature-card__body, .feature-card__art { padding: 28px; }
	.feature-card__art { min-height: 220px; }
	.masthead { padding: 40px 0 56px; }
	.masthead__badge { width: 200px; }
	.author__inner > img { width: 120px; height: 120px; }
	.share__label { flex: 1 1 100%; }
	.comment-list .children { margin-left: 12px; padding-left: 12px; }
	.brand span { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}
