/* ==========================================================================
   TWA2 — Tommy Walks Again
   Warm paper, asphalt ink, sunrise rust. Editorial, not app-like.
   ========================================================================== */

:root {
	--paper: #f5f0e6;
	--paper-2: #ebe4d5;
	--card: #fbf8f2;
	--ink: #1d1e1b;
	--text: #2d2d29;
	--muted: #6b665b;
	--rule: #d8cfbd;
	--road: #222527;
	--road-2: #2d3134;
	--line: #d9a441;          /* road paint */

	--rust: #b24e25;          /* recovery / primary action */
	--rust-dark: #8f3c1a;
	--sage: #4f6145;          /* nutrition */
	--faith: #2b3f86;         /* faith — kin to the logo blue */
	--learn: #96681a;         /* documentaries — deep ochre, from the road paint */

	--serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--sans: "Barlow", "Helvetica Neue", Arial, sans-serif;
	--cond: "Barlow Condensed", "Arial Narrow", sans-serif;

	--wrap: 1200px;
	--narrow: 700px;
	--gutter: clamp(20px, 4vw, 40px);
	--radius: 3px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--serif);
	font-size: 18px;
	line-height: 1.65;
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--rust-dark); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--rust); }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--serif);
	color: var(--ink);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.012em;
	margin: 0 0 .5em;
	text-wrap: balance;
}
p { margin: 0 0 1.1em; text-wrap: pretty; }

.screen-reader-text, .skip-link:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; font-family: var(--sans); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }
.wrap--mid { max-width: calc(1100px + var(--gutter) * 2); }
.wrap--wide { max-width: calc(1040px + var(--gutter) * 2); }
.wrap--list { max-width: calc(860px + var(--gutter) * 2); }

/* ---------- Small type: kicker, links, buttons ---------- */
.kicker {
	font-family: var(--cond);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--rust);
	margin: 0 0 14px;
}
.kicker--recovery { color: var(--rust); }
.kicker--nutrition { color: var(--sage); }
.kicker--faith { color: var(--faith); }
.kicker--documentaries { color: var(--learn); }
.kicker--light { color: var(--line); }

.btn {
	display: inline-block;
	font-family: var(--cond);
	font-weight: 600;
	font-size: 17px;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	background: var(--rust);
	padding: 13px 26px 12px;
	border-radius: var(--radius);
	border: 0;
	cursor: pointer;
	transition: background .18s ease;
}
.btn:hover, .btn:focus { background: var(--rust-dark); color: #fff; }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover, .btn--light:focus { background: #fff; color: var(--ink); }

.link-arrow {
	font-family: var(--cond);
	font-weight: 600;
	font-size: 16px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ink);
	text-decoration: none;
	border-bottom: 2px solid var(--rust);
	padding-bottom: 2px;
	transition: color .18s;
}
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: var(--rust); }

/* ---------- Top line + header ---------- */
.topline { background: var(--road); color: #c9c3b6; font-family: var(--sans); font-size: 13px; }
.topline-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topline-tag { margin: 0; letter-spacing: .02em; }

.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.social a { color: inherit; text-decoration: none; }
.social a:hover { color: #fff; }
.social--top { font-family: var(--cond); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; }

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(245, 240, 230, .96);
	border-bottom: 1px solid var(--rule);
	backdrop-filter: saturate(1.2) blur(6px);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }

.brand { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand--image img { width: 260px; height: auto; mix-blend-mode: multiply; }
.brand--wordmark { gap: 10px; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; mix-blend-mode: multiply; }
.brand-word { font-family: var(--cond); font-weight: 700; font-size: 26px; letter-spacing: .04em; text-transform: uppercase; line-height: 1; }
.brand-word b { color: var(--faith); font-weight: 700; }

.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.site-nav li { position: relative; }
.site-nav a {
	display: block;
	font-family: var(--sans);
	font-weight: 500;
	font-size: 15.5px;
	color: var(--ink);
	text-decoration: none;
	padding: 10px 12px;
	border-radius: var(--radius);
}
.site-nav a:hover, .site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a { color: var(--rust-dark); }
.site-nav .current-menu-item > a { box-shadow: inset 0 -2px 0 var(--rust); border-radius: 0; }
.site-nav .menu-item-has-children > a::after {
	content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 7px;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .55;
}
.site-nav .sub-menu {
	list-style: none; margin: 0; padding: 8px 0;
	position: absolute; left: 0; top: 100%; min-width: 220px;
	background: var(--card); border: 1px solid var(--rule); border-top: 3px solid var(--rust);
	box-shadow: 0 14px 30px -12px rgba(29, 30, 27, .25);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu, .site-nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { padding: 8px 18px; font-size: 15px; }
.site-nav .sub-menu a:hover { background: var(--paper); }

.nav-toggle { display: none; }
.sub-toggle { display: none; }

@media (max-width: 1080px) {
	.header-inner { min-height: 64px; }
	.brand--image img { width: 220px; }
	.nav-toggle {
		display: inline-flex; align-items: center; gap: 10px;
		background: none; border: 1px solid var(--rule); border-radius: var(--radius);
		padding: 9px 12px; font-family: var(--cond); font-weight: 600; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); cursor: pointer;
	}
	.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
	.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
	.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

	.site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--card); border-bottom: 1px solid var(--rule);
		max-height: calc(100vh - 64px); overflow-y: auto;
		box-shadow: 0 20px 30px -20px rgba(0,0,0,.3);
	}
	.site-nav.is-open { display: block; }
	.site-nav .menu { flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 20px; gap: 0; }
	.site-nav .menu > li { border-bottom: 1px solid var(--rule); display: flex; flex-wrap: wrap; align-items: center; }
	.site-nav .menu > li > a { flex: 1; padding: 14px 0; font-size: 17px; }
	.site-nav .current-menu-item > a { box-shadow: none; }
	.site-nav .menu-item-has-children > a::after { display: none; }
	.sub-toggle {
		display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
		background: none; border: 0; cursor: pointer; color: var(--ink);
	}
	.sub-toggle::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; transition: transform .2s; }
	.is-open > .sub-toggle::before { transform: rotate(-135deg); margin-top: 4px; }
	.site-nav .sub-menu {
		position: static; flex-basis: 100%; display: none; opacity: 1; visibility: visible; transform: none;
		border: 0; box-shadow: none; background: none; padding: 0 0 10px 14px; border-left: 2px solid var(--rust); margin-bottom: 12px;
	}
	.site-nav li.is-open > .sub-menu { display: block; }
	.site-nav .sub-menu a { padding: 8px 0; font-size: 16px; }
	.site-nav .sub-menu a:hover { background: none; }
}
@media (max-width: 640px) {
	.topline-tag { display: none; }
	.topline-inner { justify-content: center; }
	.brand--image img { width: 190px; }
	.brand-word { font-size: 21px; }
	.nav-toggle-label { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-title {
	font-size: clamp(42px, 5.6vw, 76px);
	font-weight: 600;
	line-height: 1.02;
	letter-spacing: -0.025em;
	margin-bottom: 26px;
}
.hero-text { font-size: clamp(18px, 1.5vw, 20px); color: var(--text); max-width: 34em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }

.hero-photo { margin: 0; position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 30% 40%; border-radius: var(--radius); }
.hero-photo::before {
	/* offset frame, like a print taped into a notebook */
	content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--rule); border-radius: var(--radius); z-index: -1;
}
figcaption, .wp-caption-text {
	font-family: var(--sans); font-size: 13.5px; color: var(--muted); margin-top: 10px; line-height: 1.4;
}
.hero-photo figcaption { margin-top: 28px; padding-left: 18px; }

@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-photo { order: -1; }
	.hero-photo img { aspect-ratio: 16 / 10; }
	.hero-photo::before { display: none; }
	.hero-photo figcaption { margin-top: 8px; padding: 0; }
}

/* ---------- Road line: dashed centre line used as divider ---------- */
.road-line {
	height: 4px;
	background: repeating-linear-gradient(90deg, var(--line) 0 34px, transparent 34px 62px);
	opacity: .9;
}

/* ---------- Section heads ---------- */
.section-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 640px; }
.section-head--row { max-width: none; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-title { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 10px; }
.section-head--row .section-title { margin: 0; }
.section-sub { color: var(--muted); font-size: 18px; margin: 0; }

/* ---------- Pillars ---------- */
.pillars { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--rule); background: var(--paper-2); }
.pillar-grid { display: grid; grid-template-columns: repeat(var(--pillars, 4), 1fr); border-top: 2px solid var(--ink); }
.pillar { padding: 28px 32px 34px 0; display: flex; flex-direction: column; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--rule); }
.pillar-num { font-family: var(--cond); font-weight: 500; font-size: 15px; letter-spacing: .1em; color: var(--muted); margin: 0 0 6px; }
.pillar-label {
	font-family: var(--cond); font-weight: 700; font-size: 40px; letter-spacing: .02em; text-transform: uppercase; line-height: 1; margin: 0 0 16px;
}
.pillar--recovery .pillar-label { color: var(--rust); }
.pillar--nutrition .pillar-label { color: var(--sage); }
.pillar--faith .pillar-label { color: var(--faith); }
.pillar--documentaries .pillar-label { color: var(--learn); }
.pillar-title { font-size: 22px; font-weight: 600; color: var(--ink); line-height: 1.25; margin-bottom: 10px; }
.pillar-text { color: var(--muted); font-size: 17px; }
.pillar-links { list-style: none; margin: 4px 0 26px; padding: 0; flex: 1; }
.pillar-links li { border-bottom: 1px dotted var(--rule); }
.pillar-links a { display: block; padding: 7px 0; font-family: var(--sans); font-size: 16px; color: var(--ink); text-decoration: none; }
.pillar-links a:hover { color: var(--rust); padding-left: 4px; transition: padding .15s, color .15s; }
.pillar .link-arrow { align-self: flex-start; }
.pillar--nutrition .link-arrow { border-color: var(--sage); }
.pillar--faith .link-arrow { border-color: var(--faith); }
.pillar--documentaries .link-arrow { border-color: var(--learn); }

/* Four pillars: 2 x 2 on tablets and small laptops */
@media (max-width: 1100px) and (min-width: 901px) {
	.pillar-grid:has(> .pillar:nth-child(4)) { grid-template-columns: repeat(2, 1fr); }
	.pillar-grid:has(> .pillar:nth-child(4)) .pillar:nth-child(odd) { padding-left: 0; border-left: 0; }
	.pillar-grid:has(> .pillar:nth-child(4)) .pillar:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

@media (max-width: 900px) {
	.pillar-grid { grid-template-columns: 1fr; }
	.pillar, .pillar + .pillar { padding: 28px 0 34px; border-left: 0; }
	.pillar + .pillar { border-top: 1px solid var(--rule); }
}

/* ---------- Journal ---------- */
.journal { padding: clamp(56px, 8vw, 104px) 0; }
.journal-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); border-top: 2px solid var(--ink); padding-top: 32px; }
.lead-link { display: block; text-decoration: none; color: inherit; }
.lead-img { margin-bottom: 20px; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.lead-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s ease; }
.lead-link:hover .lead-img img { transform: scale(1.025); }
.lead-title { font-size: clamp(28px, 3vw, 38px); line-height: 1.12; margin: 8px 0 12px; }
.lead-link:hover .lead-title { color: var(--rust-dark); }
.lead-excerpt { color: var(--muted); font-size: 18px; }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-family: var(--cond); font-weight: 500; font-size: 14.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.meta-cat { color: var(--rust); text-decoration: none; font-weight: 600; }
.meta > * + *::before { content: "/"; color: var(--rule); margin-right: 12px; }

.story-list { list-style: none; margin: 0; padding: 0; counter-reset: story; }
.story-item { border-bottom: 1px solid var(--rule); }
.story-item:first-child { padding-top: 0; }
.story-item a { display: block; padding: 18px 0 20px; text-decoration: none; color: inherit; }
.story-item:first-child a { padding-top: 0; }
.story-title { font-size: 21px; line-height: 1.28; margin: 6px 0 0; transition: color .15s; }
.story-item a:hover .story-title { color: var(--rust-dark); }
.story-item .meta { font-size: 13.5px; }

@media (max-width: 900px) { .journal-grid { grid-template-columns: 1fr; } }

/* ---------- Story band (dark) ---------- */
.story-band { background: var(--road); color: #e9e3d6; padding: clamp(56px, 8vw, 110px) 0; position: relative; }
.story-band::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
	background: repeating-linear-gradient(90deg, var(--line) 0 34px, transparent 34px 62px);
}
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.story-photo { margin: 0; }
.story-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 55% 60%; filter: saturate(.85) contrast(1.02); border-radius: var(--radius); }
.story-photo figcaption { color: #a59f92; }
.story-quote { margin: 0 0 34px; padding: 0; border: 0; }
.story-quote p {
	font-family: var(--serif); font-style: italic; font-weight: 400;
	font-size: clamp(26px, 3.1vw, 40px); line-height: 1.25; letter-spacing: -0.01em; color: #fbf7ee; margin: 0;
}
.story-quote p::before { content: "“"; color: var(--line); margin-left: -.45em; padding-right: .05em; }
@media (max-width: 800px) {
	.story-grid { grid-template-columns: 1fr; }
	.story-photo img { aspect-ratio: 4 / 3; }
	.story-quote p::before { margin-left: 0; }
}

/* ---------- Promo ---------- */
.promo { padding: clamp(56px, 8vw, 104px) 0; }
.promo-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.promo-copy p:not(.kicker) { color: var(--muted); font-size: 18px; max-width: 32em; margin-bottom: 28px; }
.promo-img img { width: 100%; border-radius: var(--radius); box-shadow: 0 1px 0 var(--rule), 0 24px 40px -28px rgba(29,30,27,.5); transition: transform .3s; }
.promo-img:hover img { transform: translateY(-3px); }
@media (max-width: 860px) { .promo-grid { grid-template-columns: 1fr; } .promo-img { order: -1; } }

/* ---------- Page heads / archives ---------- */
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 40px); }
.page-title { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 14px; }
.page-desc { color: var(--muted); font-size: 19px; }
.page-head--404 { padding-bottom: clamp(60px, 10vw, 140px); }
.page-head--404 .search-form { margin: 26px 0; }

.post-list { list-style: none; margin: 0 0 40px; padding: 0; border-top: 2px solid var(--ink); }
.post-row { border-bottom: 1px solid var(--rule); }
.post-row-link { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: 28px 0; color: inherit; text-decoration: none; }
.post-row-title { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.2; margin: 8px 0 8px; transition: color .15s; }
.post-row-link:hover .post-row-title { color: var(--rust-dark); }
.post-row-excerpt { color: var(--muted); font-size: 17px; margin: 0; }
.post-row-img img { width: 200px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 640px) { .post-row-link { grid-template-columns: 1fr; } .post-row-img { order: -1; } .post-row-img img { width: 100%; aspect-ratio: 16 / 9; } }

.pagination { margin: 0 0 80px; font-family: var(--cond); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { display: inline-block; padding: 8px 14px; color: var(--ink); text-decoration: none; border: 1px solid var(--rule); border-radius: var(--radius); }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.empty { padding: 20px 0 100px; }

.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-form input[type="search"] { flex: 1; min-width: 0; }
.search-form button { font-family: var(--cond); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 16px; background: var(--ink); color: var(--paper); border: 0; border-radius: var(--radius); padding: 0 20px; cursor: pointer; }
.search-form button:hover { background: var(--rust); }

/* ---------- Single entries ---------- */
.entry-head { padding-top: clamp(44px, 7vw, 88px); padding-bottom: clamp(24px, 3vw, 36px); }
.entry-title { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -0.02em; margin: 12px 0 0; }
.entry--page .entry-title { margin-top: 0; }
.entry-dek { font-size: 21px; color: var(--muted); margin: 18px 0 0; line-height: 1.5; }
.entry-hero { margin: 8px auto clamp(32px, 4vw, 48px); }
.entry-hero img { width: 100%; border-radius: var(--radius); }
.entry-content { padding-bottom: 40px; }

/* Long-form reading */
.prose { font-size: 19.5px; line-height: 1.72; }
.prose > :first-child { margin-top: 0 !important; }
.prose h2 { font-size: 1.55em !important; margin: 1.9em 0 .55em !important; text-transform: none !important; }
.prose h3 { font-size: 1.25em; margin: 1.7em 0 .5em; }
.prose h4 { font-family: var(--cond); font-weight: 600; font-size: 1em; text-transform: uppercase; letter-spacing: .08em; margin: 1.6em 0 .4em; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--rust); }
.prose blockquote { margin: 1.8em 0; padding: 0 0 0 26px; border-left: 3px solid var(--rust); font-style: italic; font-size: 1.1em; color: var(--ink); }
.prose hr { border: 0; height: 4px; margin: 2.6em auto; width: 120px; background: repeating-linear-gradient(90deg, var(--line) 0 22px, transparent 22px 40px); }
.prose img { border-radius: var(--radius); margin: 1.6em auto; }
.prose p > img:first-child { margin-top: .4em; }
.prose .alignleft { float: left; margin: .4em 1.6em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: .4em 0 1em 1.6em; max-width: 50%; }
.prose .aligncenter { margin-inline: auto; }
.prose .wp-caption { max-width: 100%; margin: 1.8em 0; }
.prose .wp-caption img { margin: 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); margin: 1.6em 0; }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 16px; margin: 1.6em 0; }
.prose th, .prose td { border-bottom: 1px solid var(--rule); padding: 10px 8px; text-align: left; }
.prose::after { content: ""; display: table; clear: both; }
.prose span[style*="font-weight: bold"] { font-family: var(--cond); font-size: 1rem !important; letter-spacing: .12em; text-transform: uppercase; color: var(--rust); }
@media (max-width: 640px) {
	.prose { font-size: 18.5px; }
	.prose .alignleft, .prose .alignright { float: none; margin: 1.4em auto; max-width: 100%; }
}

.entry-foot { padding-bottom: 40px; }
.tags { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { display: inline-block; font-family: var(--cond); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; color: var(--muted); text-decoration: none; border: 1px solid var(--rule); padding: 4px 10px; border-radius: var(--radius); }
.tags a:hover { color: var(--ink); border-color: var(--ink); }

.author-card { display: flex; gap: 18px; align-items: center; padding: 22px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.author-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-name { font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 15px; color: var(--ink); margin: 0 0 4px; }
.author-bio { font-size: 16px; color: var(--muted); margin: 0; line-height: 1.5; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 56px; }
.post-nav a { display: block; text-decoration: none; color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.3; }
.post-nav a:hover { color: var(--rust-dark); }
.post-nav span { display: block; font-family: var(--cond); font-weight: 500; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.post-nav-next { text-align: right; grid-column: 2; }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav-next { grid-column: 1; text-align: left; } }

.related { padding-top: 28px; padding-bottom: 64px; }
.related-head { font-family: var(--cond); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 15px; color: var(--muted); border-top: 2px solid var(--ink); padding-top: 16px; margin-bottom: 8px; }
.related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.related a { display: inline-block; font-family: var(--sans); font-size: 15.5px; padding: 7px 14px; border: 1px solid var(--rule); border-radius: 99px; color: var(--ink); text-decoration: none; background: var(--card); }
.related a:hover { border-color: var(--rust); color: var(--rust-dark); }
.pillar-nutrition .related a:hover { border-color: var(--sage); color: var(--sage); }
.pillar-faith .related a:hover { border-color: var(--faith); color: var(--faith); }

/* ---------- Forms (comments, Contact Form 7, wpDiscuz basics) ---------- */
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="password"], textarea, select {
	font: 17px/1.4 var(--sans);
	color: var(--ink);
	background: var(--card);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	padding: 12px 14px;
	width: 100%;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--rust); box-shadow: 0 0 0 3px rgba(178, 78, 37, .15); }
input[type="submit"], .wpcf7-submit, .comment-form .submit {
	font-family: var(--cond); font-weight: 600; font-size: 17px; letter-spacing: .08em; text-transform: uppercase;
	color: #fff; background: var(--rust); border: 0; border-radius: var(--radius); padding: 13px 26px; cursor: pointer; width: auto;
}
input[type="submit"]:hover, .wpcf7-submit:hover { background: var(--rust-dark); }
label { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--ink); }

.comments-wrap { padding-bottom: 72px; }
.comments-title, .comment-reply-title { font-size: 26px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { border-top: 1px solid var(--rule); padding: 20px 0; }
.comment-meta { font-family: var(--sans); font-size: 14px; }
.comment-meta img { float: left; border-radius: 50%; margin-right: 12px; }

/* ---------- Store page (/store/) ---------- */
.twa-store { max-width: 1100px; margin: 0 auto; font-size: 18px; line-height: 1.6; }
.twa-store-head { text-align: left; max-width: 680px; margin: 0 0 44px; }
.twa-store .twa-store-heading { font-size: clamp(26px, 3vw, 34px); margin: 0 0 12px; }
.twa-store-intro { color: var(--muted); }
.twa-store-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.twa-product { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.twa-product:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -28px rgba(29,30,27,.45); }
.twa-product-img { display: block; background: var(--paper-2); }
.twa-product-img img { display: block; width: 100%; height: auto; margin: 0; border-radius: 0; }
.twa-product-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.twa-store .twa-product-title { font-family: var(--serif); font-size: 23px; line-height: 1.25; font-weight: 600; color: var(--ink); margin: 0 0 6px; }
.twa-product-meta { font-family: var(--cond); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.twa-product-desc { font-size: 17px; color: var(--text); margin-bottom: 22px; flex: 1; }
.twa-product-buy { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--rule); padding-top: 18px; }
.twa-price { font-family: var(--cond); font-size: 28px; font-weight: 600; color: var(--ink); }
.twa-store a.twa-btn { display: inline-block; font-family: var(--cond); font-weight: 600; font-size: 16px; text-transform: uppercase; letter-spacing: .08em; background: var(--faith); color: #fff; padding: 11px 22px; border-radius: var(--radius); text-decoration: none; transition: background .2s; }
.twa-store a.twa-btn:hover, .twa-store a.twa-btn:focus { background: var(--ink); color: #fff; }
.twa-store-note { margin-top: 40px; font-size: 15px; color: var(--muted); }
@media (max-width: 767px) { .twa-store-grid { grid-template-columns: 1fr; gap: 26px; } .twa-product-body { padding: 20px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--road); color: #bdb7aa; font-family: var(--sans); font-size: 15.5px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-name { font-family: var(--cond); font-weight: 700; font-size: 30px; letter-spacing: .04em; text-transform: uppercase; color: #fff; margin: 0 0 4px; line-height: 1; }
.footer-pillars { font-family: var(--cond); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--line); font-size: 14px; margin-bottom: 18px; }
.footer-lede { font-family: var(--serif); font-size: 17px; color: #d8d2c5; max-width: 26em; }
.social--footer { font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 14px; margin-top: 20px; }
.social--footer a { color: #e9e3d6; border-bottom: 1px solid #555; padding-bottom: 1px; }
.footer-head { font-family: var(--cond); font-weight: 700; font-size: 18px; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid; }
.footer-head--recovery { border-color: var(--rust); }
.footer-head--nutrition { border-color: #7e9a6d; }
.footer-head--faith { border-color: #6c82d1; }
.footer-head--documentaries { border-color: var(--line); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a { display: block; padding: 5px 0; color: #bdb7aa; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-base { border-top: 1px solid #3a3e41; padding-top: 26px; padding-bottom: 36px; }
.disclaimer { font-size: 13.5px; line-height: 1.6; color: #8f897d; max-width: 70em; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 14px; }
.footer-legal p { margin: 0; }
.legal-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.legal-menu a { color: #bdb7aa; text-decoration: none; }
.legal-menu a:hover { color: #fff; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WP core bits ---------- */
.sticky .post-row-title::before { content: "Pinned · "; color: var(--rust); }
.bypostauthor > .comment-body .fn::after { content: " (Tommy)"; color: var(--muted); font-weight: 400; }
.wp-block-image figcaption { text-align: left; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.gallery-item { margin: 0; }

/* ==========================================================================
   Charcoal top: header + homepage hero sit on asphalt, with the
   recovery / nutrition / faith stripe under the header.
   ========================================================================== */
.topline { background: #191b1d; border-bottom: 1px solid #2f3336; }

.site-header {
	background: var(--road);
	border-bottom: 0;
	backdrop-filter: none;
}
.site-header::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px;
	background: linear-gradient(90deg, var(--rust) 0 33.33%, #6f8a5e 33.33% 66.66%, #5a72c4 66.66% 100%);
}

/* Logo on dark: invert the white-backed artwork and screen it onto the charcoal,
   keeping black text -> white and the blue roughly blue. */
.brand--image img { mix-blend-mode: screen; filter: invert(1) hue-rotate(180deg) saturate(6) brightness(.95); }
.brand-mark { mix-blend-mode: screen; filter: invert(1) hue-rotate(180deg) saturate(6) brightness(.95); }
.brand--wordmark { color: #fbf7ee; }
.brand-word b { color: #8fa3ec; }

.site-nav a { color: #e6e0d3; }
.site-nav a:hover, .site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a { color: #fff; }
.site-nav .current-menu-item > a { box-shadow: inset 0 -2px 0 var(--rust); }
.site-nav .sub-menu a { color: var(--ink); }
.site-nav .sub-menu a:hover, .site-nav .sub-menu .current-menu-item > a { color: var(--rust-dark); box-shadow: none; }

@media (max-width: 1080px) {
	.nav-toggle { color: #f1ece1; border-color: #464b4f; }
	.site-nav { background: var(--road-2); border-bottom: 0; top: calc(100% + 3px); }
	.site-nav .menu > li { border-bottom-color: #3d4245; }
	.site-nav .menu > li > a, .site-nav .sub-menu a { color: #ece6da; }
	.site-nav .sub-menu a:hover, .site-nav .sub-menu .current-menu-item > a { color: #fff; }
	.sub-toggle { color: #ece6da; }
}

/* Homepage hero on charcoal */
.home .hero { background: var(--road); color: #d9d3c6; padding-top: clamp(48px, 7vw, 100px); }
.home .hero .kicker { color: var(--line); }
.home .hero-title { color: #fbf7ee; }
.home .hero-text { color: #d3cdc0; }
.home .hero .link-arrow { color: #fbf7ee; }
.home .hero .link-arrow:hover { color: var(--line); }
.home .hero-photo::before { border-color: #43484c; }
.home .hero-photo figcaption { color: #9d978a; }
.home .pillars { border-top: 0; }

/* ---------- Photo strip (About page) ---------- */
.photo-strip { margin: 0 auto clamp(28px, 4vw, 44px); }
.photo-strip-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.photo-strip-label { margin: 0; font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.photo-strip-btns { display: flex; gap: 6px; }
.strip-btn {
	width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--rule); background: var(--card);
	color: var(--ink); font-size: 17px; line-height: 1; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.strip-btn:hover { background: var(--road); color: #fff; border-color: var(--road); }
.strip-btn:disabled { opacity: .35; cursor: default; background: var(--card); color: var(--ink); border-color: var(--rule); }
.photo-strip-track {
	list-style: none; margin: 0; padding: 4px 2px 12px; display: flex; gap: 12px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
	scrollbar-width: thin; scrollbar-color: var(--rule) transparent;
	-webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent);
}
.photo-strip-track.at-end { -webkit-mask-image: none; mask-image: none; }
.photo-strip-track li { flex: 0 0 auto; scroll-snap-align: start; }
.photo-strip-track a { position: relative; display: block; width: 116px; height: 116px; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); outline-offset: 2px; }
.photo-strip-track img { width: 100%; height: 100%; object-fit: cover; margin: 0; transition: transform .3s ease, filter .3s; filter: saturate(.9); }
.photo-strip-track a:hover img, .photo-strip-track a:focus-visible img { transform: scale(1.06); filter: none; }
.photo-strip-num {
	position: absolute; left: 6px; bottom: 6px; min-width: 22px; padding: 2px 6px; border-radius: 2px;
	background: rgba(34, 37, 39, .82); color: #fff; font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: .04em; text-align: center;
}
@media (max-width: 640px) {
	.photo-strip-btns { display: none; }
	.photo-strip-track a { width: 92px; height: 92px; }
}

/* Jump targets clear the sticky header and flash briefly when reached */
.prose img[id^="photo-"] { scroll-margin-top: 110px; }
.admin-bar .prose img[id^="photo-"] { scroll-margin-top: 142px; }
.prose img[id^="photo-"]:target { animation: photo-flash 1.6s ease-out; }
@keyframes photo-flash { 0% { box-shadow: 0 0 0 6px var(--line); } 100% { box-shadow: 0 0 0 6px rgba(217, 164, 65, 0); } }

/* ---------- Contents menu (About page parts) ---------- */
.parts-menu { margin: 0 auto clamp(36px, 5vw, 56px); }
.parts-menu-label { font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-top: 2px solid var(--ink); padding-top: 14px; margin: 0 0 6px; }
.parts-menu ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.parts-menu li { border-bottom: 1px solid var(--rule); }
.parts-menu li + li { border-left: 1px solid var(--rule); }
.parts-menu a { display: block; padding: 12px 16px 14px; text-decoration: none; color: var(--ink); transition: background .15s; }
.parts-menu li:first-child a { padding-left: 0; }
.parts-menu a:hover { background: var(--paper-2); }
.parts-menu li:first-child a:hover { padding-left: 10px; transition: padding .15s, background .15s; }
.parts-menu-num { display: block; font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--rust); }
.parts-menu-title { display: block; font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.25; margin-top: 2px; }
.parts-menu a:hover .parts-menu-title { color: var(--rust-dark); }
@media (max-width: 600px) {
	.parts-menu ol { grid-template-columns: 1fr; }
	.parts-menu li + li { border-left: 0; }
	.parts-menu a, .parts-menu li:first-child a { padding: 10px 0 12px; }
	.parts-menu li:first-child a:hover { padding-left: 0; }
}
.prose .part-heading { scroll-margin-top: 110px; }
.admin-bar .prose .part-heading { scroll-margin-top: 142px; }
.prose .part-heading:target { animation: part-flash 1.6s ease-out; }
@keyframes part-flash { 0% { background: rgba(217, 164, 65, .45); } 100% { background: transparent; } }

/* Back to top (end of each About page part) */
.prose .back-top { margin: 2.2em 0 2.6em; text-align: right; }
.prose .back-top a {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--cond); font-weight: 600; font-size: 15px; letter-spacing: .1em; text-transform: uppercase;
	color: var(--ink); text-decoration: none; padding: 8px 14px 7px; border: 1px solid var(--rule); border-radius: 99px; background: var(--card);
	transition: background .15s, color .15s, border-color .15s;
}
.prose .back-top a::after { content: "↑"; font-family: var(--sans); font-size: 15px; }
.prose .back-top a:hover { background: var(--road); border-color: var(--road); color: #fff; }

/* ==========================================================================
   Posts & pages with the Instagram sidebar
   ========================================================================== */
.layout { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "side" "rest"; }
.layout-main { grid-area: main; min-width: 0; }
.layout-side { grid-area: side; min-width: 0; }
.layout-rest { grid-area: rest; min-width: 0; }
.layout .wrap { max-width: none; padding-inline: 0; }
.layout-main, .layout-rest, .layout-side { width: 100%; max-width: var(--narrow); margin-inline: auto; }
.layout-side { padding: 8px 0 48px; }
.layout-rest:empty { display: none; }

@media (min-width: 1100px) {
	.layout {
		grid-template-columns: minmax(0, 720px) 240px;
		grid-template-areas: "main side" "rest side";
		grid-template-rows: auto 1fr;
		column-gap: clamp(48px, 5vw, 80px);
		justify-content: center;
	}
	.layout-main, .layout-rest, .layout-side { max-width: none; margin: 0; }
	.layout-side { padding: clamp(44px, 7vw, 88px) 0 64px; }
}

/* ---------- Instagram block ---------- */
.ig { border-top: 2px solid var(--ink); padding-top: 14px; }
.ig-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ig-title { font-family: var(--cond); font-weight: 700; font-size: 20px; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.ig-handle { font-family: var(--sans); font-size: 14px; color: var(--muted); text-decoration: none; }
.ig-handle:hover { color: var(--rust-dark); }
.ig-grid { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: var(--rule) transparent; }
.ig-grid li { flex: 0 0 auto; width: 132px; scroll-snap-align: start; }
.ig-grid a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .35s ease, opacity .2s; }
.ig-grid a:hover img { transform: scale(1.05); }
.ig-play { position: absolute; top: 7px; right: 7px; width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
.ig-follow { display: inline-block; margin-top: 10px; font-family: var(--cond); font-weight: 600; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--faith); padding-bottom: 2px; }
.ig-follow::after { content: " →"; }
.ig-follow:hover { color: var(--faith); }

/* Desktop sidebar: a single column of larger photos */
@media (min-width: 1100px) {
	.ig--side .ig-grid { display: grid; grid-template-columns: 1fr; gap: 12px; overflow: visible; padding-bottom: 0; }
	.ig--side .ig-grid li { width: auto; }
}

/* Homepage strip: one row of 10 on wide screens */
.home-ig { padding: 0 0 clamp(56px, 8vw, 96px); }
@media (min-width: 1000px) {
	.ig--strip .ig-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; overflow: visible; padding-bottom: 0; }
	.ig--strip .ig-grid li { width: auto; }
}

@media (min-width: 1100px) {
	.ig--side .ig-head { flex-direction: column; gap: 2px; }
}

/* ==========================================================================
   Videos page: documentary cards + tap-to-play YouTube
   ========================================================================== */
.prose .doc { margin: 0 0 clamp(48px, 6vw, 72px); padding-top: 22px; border-top: 2px solid var(--ink); }
.prose .doc-title { font-size: 1.45em; margin: 0 0 16px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.doc-year { font-family: var(--cond); font-weight: 600; font-size: 15px; letter-spacing: .1em; color: var(--muted); }
.prose .doc > p { margin-bottom: 22px; }

.yt { position: relative; aspect-ratio: 16 / 9; margin: 0 0 22px; border-radius: var(--radius); overflow: hidden; background: var(--road); }
.yt a, .yt button { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.prose .yt img { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; transition: transform .4s ease, filter .3s; filter: brightness(.82); }
.yt a:hover img, .yt a:focus-visible img { transform: scale(1.02); filter: brightness(.7); }
.yt a::after {
	/* play button */
	content: ""; position: absolute; left: 50%; top: 50%; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%;
	background: rgba(178, 78, 37, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 34px no-repeat;
	box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .2s ease, background-color .2s;
}
.yt a:hover::after { transform: scale(1.07); background-color: var(--rust); }
.yt[data-label]::before {
	content: attr(data-label); position: absolute; left: 12px; top: 12px; z-index: 1; pointer-events: none;
	font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
	color: #fff; background: rgba(34, 37, 39, .85); padding: 4px 9px; border-radius: 2px;
}
.yt.is-playing::before { display: none; }
.prose .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; border: 0; border-radius: 0; aspect-ratio: auto; }

.doc-watch { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--sans); }
.doc-watch-label { font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.prose .doc-btn {
	display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; line-height: 1;
	padding: 10px 16px; border-radius: 99px; border: 1px solid var(--rule); background: var(--card); color: var(--ink); text-decoration: none;
	transition: background .15s, color .15s, border-color .15s;
}
.prose .doc-btn::after { content: "↗"; font-size: 13px; opacity: .6; }
.prose .doc-btn:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.prose .doc-btn--free { background: var(--sage); border-color: var(--sage); color: #fff; font-weight: 600; }
.prose .doc-btn--free::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #cfe3b8; }
.prose .doc-btn--free:hover { background: #3d4c35; border-color: #3d4c35; }
.doc-note { font-size: 14px; color: var(--muted); font-style: italic; font-family: var(--serif); }
@media (max-width: 600px) {
	.doc-watch-label { flex-basis: 100%; }
	.yt a::after { width: 60px; height: 60px; margin: -30px 0 0 -30px; background-size: 28px; }
}
.prose .doc-btn small { font-size: 12px; font-weight: 400; opacity: .85; }

/* Pillar trio kicker on the three main pillar pages */
.kicker--trio { color: var(--muted); display: flex; flex-wrap: wrap; gap: 0 10px; }
.kicker--trio a { color: var(--muted); text-decoration: none; }
.kicker--trio a:hover { color: var(--ink); }
.kicker--trio .is-current.kicker--recovery { color: var(--rust); }
.kicker--trio .is-current.kicker--nutrition { color: var(--sage); }
.kicker--trio .is-current.kicker--faith { color: var(--faith); }
.kicker--trio .is-current.kicker--documentaries { color: var(--learn); }
.kicker-sep { color: var(--rule); }

/* Footer pillar headings link to their main page */
.footer-head a { color: inherit; text-decoration: none; }
.footer-head a::after { content: " →"; opacity: 0; transition: opacity .15s; }
.footer-head a:hover::after { opacity: .7; }

/* ==========================================================================
   Pray The Rosary Tonight card (Faith page + homepage)
   Navy and gold from praytherosarytonight.com
   ========================================================================== */
.rosary-card {
	--r-navy: #0f1f3d; --r-navy-2: #172b52; --r-gold: #c9a24a; --r-gold-2: #e8cf8a; --r-cream: #f3ead6;
	container-type: inline-size;
	overflow: hidden;
	background: radial-gradient(120% 140% at 100% 0%, var(--r-navy-2), var(--r-navy) 60%);
	color: var(--r-cream); border-radius: 4px;
	box-shadow: inset 0 0 0 1px rgba(201, 162, 74, .45), 0 30px 50px -36px rgba(15, 31, 61, .9);
	margin: 8px 0 48px;
}
.rosary-card-art { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 9; }
.rosary-card-art img, .prose .rosary-card-art img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; margin: 0; border-radius: 0; transition: transform .8s ease; }
.rosary-card:hover .rosary-card-art img { transform: scale(1.03); }
.rosary-card-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15, 31, 61, .85)); }
.rosary-card-body { position: relative; padding: 26px 26px 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.rosary-card-body::before { /* thin gold rule */
	content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 1px; background: linear-gradient(90deg, var(--r-gold), transparent);
}
.rosary-card-kicker {
	display: inline-flex; align-items: center; gap: 10px; margin: 0;
	font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--r-gold-2);
}
.rosary-card-mono { width: 30px; height: 30px; color: var(--r-gold-2); flex: none; }
.rosary-card .rosary-card-title {
	font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.2vw, 38px); line-height: 1.08; letter-spacing: -0.01em;
	color: #fff; margin: 0 !important; text-transform: none !important;
}
.rosary-card-text { margin: 0; font-size: 17.5px; line-height: 1.6; color: rgba(243, 234, 214, .86); max-width: 34em; }
.rosary-card-note { margin: 0; font-style: italic; font-size: 16px; color: var(--r-gold-2); }
.rosary-card-btn {
	margin-top: 8px; display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--cond); font-weight: 600; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
	color: var(--r-navy); background: linear-gradient(180deg, var(--r-gold-2), var(--r-gold)); padding: 13px 22px 12px; border-radius: 3px;
	box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 8px 20px -10px rgba(201, 162, 74, .8); transition: transform .15s, filter .15s;
}
.rosary-card-btn::after { content: "↗"; font-family: var(--sans); font-size: 15px; }
.rosary-card-btn:hover, .rosary-card-btn:focus-visible { color: var(--r-navy); filter: brightness(1.06); transform: translateY(-1px); }

.rosary-card-in { display: grid; grid-template-columns: minmax(0, 1fr); }
.rosary-card-in > * { min-width: 0; }

/* Side by side when the card has room (homepage, wide columns) */
@container (min-width: 760px) {
	.rosary-card-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
	.rosary-card-art { aspect-ratio: auto; min-height: 100%; }
	.rosary-card-art::after { background: linear-gradient(90deg, transparent 60%, rgba(15, 31, 61, .9)); }
	.rosary-card-body { padding: 44px 44px 46px 40px; justify-content: center; }
	.rosary-card-body::before { left: 0; right: auto; top: 44px; bottom: 44px; width: 1px; height: auto; background: linear-gradient(180deg, var(--r-gold), transparent); }
}
.home-rosary { padding: 0 0 clamp(56px, 8vw, 104px); } /* follows the study-guide promo, which supplies the space above */
.home-rosary .rosary-card { margin: 0; }
.rosary-card-domain { text-transform: none; letter-spacing: .03em; font-size: 16px; }
.rosary-card .rosary-card-quote { margin: 2px 0 0; padding: 0 0 0 18px; border-left: 2px solid var(--r-gold); font-style: normal; max-width: 34em; }
.rosary-card .rosary-card-quote p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.55; color: #fff; }
.rosary-card-quote cite { display: block; margin-top: 8px; font-style: normal; font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--r-gold-2); }
.rosary-card-quote cite::before { content: "— "; }
.rosary-card .rosary-card-text { font-size: 16px; }

/* ==========================================================================
   Homepage documentary carousel ("Food is medicine")
   ========================================================================== */
.learn { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 7vw, 88px); border-top: 1px solid var(--rule); }
.learn-head { align-items: flex-end; }
.learn-head > div:first-child { max-width: 720px; }
.learn-head .kicker { margin-bottom: 10px; }
.vcar-nav { display: flex; gap: 10px; }
.vcar-btn {
	width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
	font-size: 20px; line-height: 1; cursor: pointer; transition: background .15s, color .15s, opacity .15s;
}
.vcar-btn:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.vcar-btn:disabled { opacity: .25; cursor: default; }
/* The carousel stays inside the content width: 3 cards on desktop, 2 on
   tablets, and on phones one card with a peek of the next to invite a swipe. */
.vcar-track {
	--gap: 24px; --per: 3;
	list-style: none; margin: 0; padding: 4px 0 18px;
	display: grid; grid-auto-flow: column; column-gap: var(--gap);
	grid-auto-columns: calc((100% - var(--gap) * (var(--per) - 1)) / var(--per));
	overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
	scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
@media (max-width: 960px) { .vcar-track { --per: 2; --gap: 20px; } }
@media (max-width: 640px) { .vcar-track { --per: 1.18; --gap: 16px; } }
.vcar-track::-webkit-scrollbar { display: none; }
.vcar-card { scroll-snap-align: start; display: flex; flex-direction: column; align-items: flex-start; }
.vcar-card .yt { width: 100%; margin-bottom: 16px; }
.vcar-card .yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .3s; filter: brightness(.82); }
.vcar-card .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vcar-card .yt a::after { width: 56px; height: 56px; margin: -28px 0 0 -28px; background-size: 26px; }
.vcar-title { font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.2; margin: 0 0 6px; }
.vcar-title a { color: var(--ink); text-decoration: none; }
.vcar-title a:hover { color: var(--sage); }
.vcar-title .doc-year { font-size: 14px; margin-left: 4px; }
.vcar-text { color: var(--muted); font-size: 16.5px; line-height: 1.55; margin: 0 0 14px; flex: 1; }
.vcar-watch { margin-top: auto; }
.learn-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 14px 28px; margin-top: 18px; }
.learn-experts { margin: 0; font-size: 17px; color: var(--muted); }
.learn-experts a { color: var(--sage); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.learn-experts a:hover { color: var(--ink); }
@media (max-width: 700px) { .vcar-nav { display: none; } }

/* ==========================================================================
   Functional medicine doctors (Nutrition, Videos, Mental Health pages)
   ========================================================================== */
.experts { margin: 48px 0 56px; padding-top: 36px; border-top: 2px solid var(--ink); scroll-margin-top: 24px; }
.experts-title { font-family: var(--serif); font-size: clamp(26px, 3vw, 32px); line-height: 1.15; margin: 0 0 10px; }
.experts-intro { color: var(--muted); font-size: 18px; line-height: 1.6; margin: 0 0 26px; }
.experts-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.expert { display: flex; gap: 18px; align-items: flex-start; padding: 22px 22px 20px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); }
.expert-mark {
	flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
	font-family: var(--cond); font-weight: 700; font-size: 20px; letter-spacing: .04em; color: #fff; background: var(--sage);
}
.expert--rust .expert-mark { background: var(--rust); }
.expert--faith .expert-mark { background: var(--faith); }
.expert-tag { margin: 0 0 2px; font-family: var(--cond); font-weight: 600; font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); }
.expert--rust .expert-tag { color: var(--rust); }
.expert--faith .expert-tag { color: var(--faith); }
.expert-name { font-family: var(--serif); font-size: 22px; margin: 0 0 6px; }
.expert-text { margin: 0 0 12px; font-size: 16.5px; line-height: 1.6; color: var(--text); }
.expert-links { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--sans); font-size: 15px; font-weight: 600; }
.expert-links a { color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--rule); }
.expert-links a:hover { border-color: currentColor; }
.experts-note { margin: 14px 0 0; font-size: 14px; font-style: italic; color: var(--muted); }
@media (max-width: 520px) { .expert { flex-direction: column; gap: 12px; } }

/* Homepage blog list: Older / Newer pages slide sideways */
.story-col { overflow: hidden; }
.story-list.out-left  { animation: story-out-left .22s ease-in both; }
.story-list.out-right { animation: story-out-right .22s ease-in both; }
.story-list.in-right  { animation: story-in-right .22s ease-out both; }
.story-list.in-left   { animation: story-in-left .22s ease-out both; }
@keyframes story-out-left  { to { opacity: 0; transform: translateX(-48px); } }
@keyframes story-out-right { to { opacity: 0; transform: translateX(48px); } }
@keyframes story-in-right  { from { opacity: 0; transform: translateX(48px); } }
@keyframes story-in-left   { from { opacity: 0; transform: translateX(-48px); } }
.story-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.story-page-btn {
	font-family: var(--cond); font-weight: 600; font-size: 16px; letter-spacing: .1em; text-transform: uppercase;
	color: var(--ink); background: transparent; border: 1.5px solid var(--ink); border-radius: var(--radius);
	padding: 10px 18px 9px; cursor: pointer; transition: background .15s, color .15s, opacity .15s;
}
.story-page-btn:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.story-page-btn:disabled { opacity: .25; cursor: default; }
.story-pager.is-busy .story-page-btn { cursor: progress; }
.story-page-count { font-family: var(--cond); font-weight: 600; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Dropdown menus sit above the red/green/blue stripe under the header. */
.site-header::after { z-index: 1; pointer-events: none; }
.site-nav .sub-menu { z-index: 5; }

/* One-line link to the doctors */
.experts-strip { margin: 8px 0 48px; padding: 16px 0 0; border-top: 1px solid var(--rule); font-size: 17px; color: var(--muted); }
.experts-strip span:first-child { margin-right: 4px; }
.experts-strip a { color: var(--sage); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.experts-strip a:hover { color: var(--ink); }

/* Shop: sale price with the original crossed out */
.twa-price { display: inline-flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.twa-price-was { font-size: 19px; font-weight: 500; color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.twa-price-now { color: var(--rust); }

/* Shop: the "Bible Study Guides" heading sits right under the page title
   (the general .prose h2 rule adds ~2em above headings, with !important). */
.prose .twa-store .twa-store-heading { margin: 0 0 12px !important; font-size: clamp(26px, 3vw, 34px) !important; }

/* Section row: every link shows its section color on hover */
.kicker--trio a { transition: color .15s; }
.kicker--trio a.kicker--recovery:hover { color: var(--rust); }
.kicker--trio a.kicker--nutrition:hover { color: var(--sage); }
.kicker--trio a.kicker--documentaries:hover { color: var(--learn); }
.kicker--trio a.kicker--faith:hover { color: var(--faith); }
.kicker--trio a.is-current:hover { text-decoration: underline; text-underline-offset: 4px; }
