/* =========================================================================
   The Other Glow — layer on top of Marley
   Palette: White pages, Oxblood brand, Skin Pharm supporting colours.
   ========================================================================= */

:root {
	--tog-bg: #FFFFFF;
	--tog-bone: #F7F6F3;
	--tog-oat: #F1EEE6;
	--tog-ink: #212529;
	--tog-muted: #5C5D57;
	--tog-brand: #5A1F2E;
	--tog-on-brand: #FFFFFF;
	--tog-harbour: #142B3B;
	--tog-olive: #6B6C63;
	--tog-on-olive: #FFFFFF;
	--tog-clay: #876D58;
	--tog-clay-deep: #75604E;
	--tog-line: #E2E2E2;
	--tog-link: #5A1F2E;
	--tog-link-hover: #142B3B;
	--tog-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
	--tog-sans: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--tog-reading-size: 18px;
	--tog-lh: 1.65;
	--tog-radius: 6px;
	--tog-max: 1280px;
	color-scheme: light;
}

html[data-theme="dark"] {
	--tog-bg: #161514;
	--tog-bone: #201F1D;
	--tog-oat: #26241F;
	--tog-ink: #F1EEE6;
	--tog-muted: #B5B6A9;
	--tog-brand: #D28A96;
	--tog-on-brand: #161514;
	--tog-harbour: #A9B7D6;
	--tog-olive: #3A3B35;
	--tog-on-olive: #F1EEE6;
	--tog-clay: #C7AE98;
	--tog-clay-deep: #C7AE98;
	--tog-line: #34322F;
	--tog-link: #D28A96;
	--tog-link-hover: #F1EEE6;
	color-scheme: dark;
}

html[data-spacing="relaxed"] {
	--tog-lh: 1.9;
}

/* ---------- Base ---------- */

body.tog {
	background: var(--tog-bg);
	color: var(--tog-ink);
	font-family: var(--tog-sans);
	font-size: 18px;
	line-height: 1.6;
	letter-spacing: 0;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.tog .site-container,
.tog .site-inner {
	background: var(--tog-bg);
}

.tog a {
	color: var(--tog-link);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.tog a:hover,
.tog a:focus {
	color: var(--tog-link-hover);
}

/* Marley draws link underlines as borders; the journal uses real underlines instead. */
.tog .site-container a,
.tog .site-container a:hover,
.tog .site-container a:focus {
	border-bottom: 0;
}

.tog :focus-visible {
	outline: 3px solid var(--tog-clay);
	outline-offset: 3px;
}

.tog h1, .tog h2, .tog h3, .tog h4, .tog h5, .tog h6,
.tog .entry-title,
.tog .archive-title {
	font-family: var(--tog-serif);
	font-weight: 500;
	letter-spacing: -0.01em;
	text-transform: none;
	color: var(--tog-ink);
	text-wrap: pretty;
}

.tog h4, .tog h5, .tog h6 {
	font-family: var(--tog-sans);
	font-weight: 700;
	letter-spacing: 0;
}

.tog input, .tog select, .tog textarea {
	background: var(--tog-bg);
	color: var(--tog-ink);
	border: 1px solid var(--tog-line);
	border-radius: var(--tog-radius);
	font-family: var(--tog-sans);
	font-size: 17px;
	min-height: 48px;
	letter-spacing: 0;
}

.tog button,
.tog input[type="submit"],
.tog .button,
.tog .wp-block-button__link,
.tog a.tog-button,
.tog-button {
	background: var(--tog-brand);
	color: var(--tog-on-brand);
	border: 1px solid var(--tog-brand);
	border-radius: var(--tog-radius);
	font-family: var(--tog-sans);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0;
	text-transform: none;
	min-height: 44px;
	padding: 10px 20px;
	text-decoration: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.tog button:hover,
.tog input[type="submit"]:hover,
.tog .button:hover,
.tog .wp-block-button__link:hover,
.tog a.tog-button:hover,
.tog-button:hover {
	background: var(--tog-harbour);
	border-color: var(--tog-harbour);
	color: var(--tog-on-brand);
}

/* Excerpt "Continue reading" button reads as a link, not a block button. */
.tog .read-more-container .button.read-more {
	background: transparent;
	color: var(--tog-link);
	border: 0;
	padding: 0;
	min-height: 0;
	text-decoration: underline;
	font-weight: 700;
}

.tog-wrap {
	max-width: var(--tog-max);
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

/* ---------- Header ---------- */

.tog .site-header {
	background: var(--tog-bg);
	border-bottom: 1px solid var(--tog-line);
	position: relative;
}

.tog .title-area {
	padding: 22px 140px 18px;
}

.tog .wp-custom-logo .title-area img {
	margin: 16px auto;
	max-height: 72px;
}

.tog .site-title {
	font-family: var(--tog-serif);
	font-size: 34px;
	font-weight: 500;
	letter-spacing: -0.01em;
	text-transform: none;
}

.tog .site-title a,
.tog .site-title a:hover,
.tog .site-title a:focus {
	color: var(--tog-brand);
	text-decoration: none;
}

.tog .genesis-nav-menu a {
	font-family: var(--tog-sans);
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: var(--tog-ink);
	text-decoration: none;
}

.tog .genesis-nav-menu a:hover,
.tog .genesis-nav-menu .current-menu-item > a {
	color: var(--tog-brand);
	text-decoration: underline;
}

.tog .nav-secondary {
	background: var(--tog-bone);
	border-bottom: 1px solid var(--tog-line);
}

.tog-header-tools {
	position: absolute;
	top: 20px;
	right: 24px;
	display: flex;
	align-items: center;
	gap: 10px;
	z-index: 5;
}

.tog .tog-theme-toggle {
	background: var(--tog-bone);
	color: var(--tog-ink);
	border: 1px solid var(--tog-line);
	min-width: 44px;
	min-height: 44px;
	padding: 0;
}

.tog .tog-theme-toggle:hover {
	background: var(--tog-oat);
	color: var(--tog-ink);
	border-color: var(--tog-brand);
}

.tog-icon-sun { display: none; }
html[data-theme="dark"] .tog-icon-sun { display: block; }
html[data-theme="dark"] .tog-icon-moon { display: none; }

.tog .tog-subscribe-btn {
	background: var(--tog-brand);
	color: var(--tog-on-brand);
	border-radius: var(--tog-radius);
	padding: 0 18px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
}

.tog .tog-subscribe-btn:hover {
	background: var(--tog-harbour);
	color: var(--tog-on-brand);
}

@media (max-width: 960px) {
	.tog .title-area { padding: 18px 64px 14px; text-align: center; float: none; width: 100%; }
	.tog .site-title { font-size: 26px; text-align: center; }
	.tog .wp-custom-logo .title-area .custom-logo-link { display: block; text-align: center; }
	.tog .wp-custom-logo .title-area img { display: block; margin: 8px auto; max-width: 100%; height: auto; }
	.tog .site-header .menu-toggle { display: flex; align-items: center; justify-content: center; width: calc(100% - 32px); max-width: 560px; margin: 0 auto 14px; padding: 13px 20px; float: none; }
	.tog-header-tools { top: 14px; right: 16px; }
	.tog .tog-subscribe-btn { display: none; }
}

.tog-masthead {
	border-bottom: 1px solid var(--tog-line);
	font-size: 15px;
	color: var(--tog-muted);
}

.tog-masthead .tog-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-top: 12px;
	padding-bottom: 12px;
}

.tog-masthead p { margin: 0; }

/* ---------- Shared: labels, cards ---------- */

.tog-rule {
	display: block;
	width: 48px;
	height: 3px;
	background: var(--tog-clay);
}

.tog-dot {
	display: inline-block;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--tog-clay);
}

.tog-kicker,
.tog-article-labels {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 13px;
}

.tog-kicker-section,
.tog-label,
.tog-callout-label {
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--tog-clay-deep);
}

.tog a.tog-kicker-section { color: var(--tog-clay-deep); text-decoration: none; }
.tog a.tog-kicker-section:hover { text-decoration: underline; }

.tog-kicker-time { color: var(--tog-muted); }

.tog a.tog-chip {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 10px;
	border: 1px solid var(--tog-line);
	border-radius: 999px;
	font-size: 13px;
	text-decoration: none;
	color: var(--tog-ink);
	background: var(--tog-bone);
}

.tog a.tog-chip:hover { border-color: var(--tog-brand); }

.tog a.tog-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	color: inherit;
	text-decoration: none;
}

.tog a.tog-card:hover .tog-card-title {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.tog-card-media { display: block; }

.tog-card-img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 4px;
	background: var(--tog-bone);
}

.tog-card-img--empty { border: 1px solid var(--tog-line); }

.tog .tog-card-title {
	margin: 0;
	font-size: 23px;
	line-height: 1.2;
}

.tog-card-summary {
	margin: 0;
	font-size: 16px;
	color: var(--tog-muted);
}

.tog-card-byline {
	margin: 0;
	font-size: 15px;
	color: var(--tog-muted);
}

/* ---------- Home page ---------- */

.tog-home .site-inner,
.tog-home .content {
	max-width: none;
	width: 100%;
	padding: 0;
}

.tog-home-wrap {
	max-width: var(--tog-max);
	margin: 0 auto;
	padding: 48px 24px 24px;
	box-sizing: border-box;
}

.tog-lead-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(520px, 100%), 1fr));
	gap: 48px;
	align-items: start;
}

.tog .tog-card--lead { gap: 18px; }

.tog .tog-card--lead .tog-card-title {
	font-size: clamp(30px, 3.6vw, 50px);
	line-height: 1.1;
	letter-spacing: -0.015em;
}

.tog .tog-card--lead .tog-card-summary {
	font-size: 19px;
	max-width: 60ch;
}

.tog-start {
	background: var(--tog-bone);
	border: 1px solid var(--tog-line);
	border-radius: var(--tog-radius);
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.tog .tog-start h2 { margin: 0; font-size: 30px; line-height: 1.15; }

.tog-start-intro { margin: 0; color: var(--tog-muted); font-size: 17px; }

.tog-paths { display: flex; flex-direction: column; gap: 12px; }

.tog a.tog-path {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 18px;
	border: 1px solid var(--tog-line);
	border-radius: var(--tog-radius);
	background: var(--tog-bg);
	color: var(--tog-ink);
	text-decoration: none;
}

.tog a.tog-path:hover { border-color: var(--tog-brand); }

.tog-path-title { font-weight: 700; }
.tog-path-sub { font-size: 15px; color: var(--tog-muted); }
.tog a.tog-start-all { font-size: 16px; font-weight: 500; }

.tog-trust { margin: 48px 0 56px; }

.tog-trust-band {
	background: var(--tog-brand);
	color: var(--tog-on-brand);
	border-radius: var(--tog-radius);
	padding: 28px 32px;
	display: flex;
	flex-wrap: wrap;
	gap: 20px 40px;
}

.tog-trust-band p {
	margin: 0;
	flex: 1 1 280px;
	font-size: 17px;
	line-height: 1.5;
	color: var(--tog-on-brand);
}

.tog .tog-trust-band a { color: var(--tog-on-brand); }

.tog-section { margin: 0 0 64px; }

.tog-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px 24px;
	border-top: 1px solid var(--tog-line);
	padding-top: 24px;
	margin-bottom: 28px;
}

.tog .tog-section-head h2 { margin: 0; font-size: clamp(26px, 2.4vw, 34px); }
.tog-section-head p { margin: 0; font-size: 16px; color: var(--tog-muted); }
.tog-section-head a { font-size: 16px; font-weight: 500; }

.tog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
	gap: 36px 32px;
}

.tog-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
	gap: 20px;
}

.tog a.tog-tile {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 24px;
	background: var(--tog-bone);
	border: 1px solid var(--tog-line);
	border-radius: var(--tog-radius);
	color: var(--tog-ink);
	text-decoration: none;
	min-height: 180px;
}

.tog a.tog-tile:hover { border-color: var(--tog-brand); }

.tog-tile-name { font-family: var(--tog-serif); font-size: 26px; font-weight: 500; color: var(--tog-brand); }
.tog-tile-desc { font-size: 15px; color: var(--tog-muted); flex-grow: 1; }
.tog-tile-count { font-size: 15px; font-weight: 700; }

.tog-seasons {
	background: var(--tog-oat);
	border-radius: var(--tog-radius);
	padding: 40px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
	gap: 32px;
	align-items: center;
}

.tog-seasons-intro { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; color: var(--tog-brand); }
.tog-seasons-intro p { margin: 0; }
.tog-seasons-intro p:last-child { color: var(--tog-muted); font-size: 17px; max-width: 40ch; }

.tog a.tog-seasons-feature { display: flex; flex-direction: column; gap: 14px; color: inherit; text-decoration: none; }
.tog a.tog-seasons-feature:hover .tog-card-title { text-decoration: underline; text-underline-offset: 4px; }
.tog .tog-seasons-feature .tog-card-title { font-style: italic; font-size: clamp(28px, 3vw, 42px); line-height: 1.1; }
.tog .tog-seasons-feature .tog-card-summary { font-size: 18px; max-width: 52ch; }

/* ---------- Newsletter ---------- */

.tog-newsletter {
	background: var(--tog-bone);
	border: 1px solid var(--tog-line);
	border-radius: var(--tog-radius);
	padding: 40px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
	gap: 32px;
	align-items: center;
}

.tog-newsletter--article {
	background: var(--tog-oat);
	border: 0;
	padding: 28px;
	margin: 40px auto;
	max-width: 752px;
}

.tog-newsletter-text { display: flex; flex-direction: column; gap: 14px; }
.tog .tog-newsletter h2 { margin: 0; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; }
.tog-newsletter p { margin: 0; color: var(--tog-muted); font-size: 17px; max-width: 52ch; }
.tog-newsletter .widget { margin: 0; }

/* ---------- Article ---------- */

.tog-article .site-inner {
	max-width: none;
	padding: 0 24px;
}

.tog-article .content {
	width: 100%;
	max-width: 100%;
	float: none;
}

.tog-article .entry {
	background: var(--tog-bg);
	padding: 0;
	margin: 0;
}

.tog-article .breadcrumb {
	max-width: var(--tog-max);
	margin: 20px auto 0;
	font-size: 15px;
	color: var(--tog-muted);
	background: transparent;
	padding: 0;
	letter-spacing: 0;
	text-transform: none;
}

.tog-article .entry-header {
	max-width: 752px;
	margin: 36px auto 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
	text-align: left;
}

.tog-article .entry-header > * { width: 100%; }

.tog-article .entry-header .entry-title {
	margin: 0;
	font-size: clamp(32px, 4vw, 52px);
	line-height: 1.08;
	letter-spacing: -0.015em;
	text-align: left;
}

.tog-dek {
	margin: 0;
	font-size: 21px;
	line-height: 1.45;
	color: var(--tog-muted);
}

.tog-trust-line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 20px;
	padding: 18px 0;
	border-top: 1px solid var(--tog-line);
	border-bottom: 1px solid var(--tog-line);
}

.tog-avatar { border-radius: 50%; flex-shrink: 0; }
.tog-trust-text { flex: 1 1 240px; display: flex; flex-direction: column; gap: 2px; }
.tog-trust-text p { margin: 0; }
.tog-byline { font-size: 16px; }
.tog-trust-meta { font-size: 15px; color: var(--tog-muted); }
.tog a.tog-trust-link { font-size: 15px; font-weight: 500; }

.tog-reading {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.tog-reading-label { font-size: 15px; color: var(--tog-muted); margin-right: 4px; }

.tog .tog-ctl {
	background: var(--tog-bone);
	color: var(--tog-ink);
	border: 1px solid var(--tog-line);
	font-weight: 500;
	font-size: 15px;
	padding: 0 14px;
	min-width: 44px;
}

.tog .tog-ctl:hover,
.tog .tog-ctl[aria-pressed="true"] {
	background: var(--tog-oat);
	color: var(--tog-ink);
	border-color: var(--tog-brand);
}

.tog-article-figure {
	margin: 16px -124px 0;
}

@media (max-width: 1040px) {
	.tog-article-figure { margin: 16px 0 0; }
}

.tog-article-img { width: 100%; height: auto; border-radius: 4px; display: block; }
.tog-article-figure figcaption { margin-top: 10px; font-size: 14px; color: var(--tog-muted); }

.tog-article .entry-content {
	max-width: 752px;
	margin: 36px auto 0;
	font-size: var(--tog-reading-size);
	line-height: var(--tog-lh);
}

.tog-article .entry-content > * {
	max-width: 68ch;
}

.tog-article .entry-content p,
.tog-article .entry-content li {
	font-size: inherit;
	line-height: inherit;
	letter-spacing: 0;
}

.tog-article .entry-content h2 {
	margin: 2em 0 0.6em;
	font-size: 1.6em;
	line-height: 1.2;
}

.tog-article .entry-content h3 {
	margin: 1.6em 0 0.5em;
	font-size: 1.25em;
	line-height: 1.25;
}

.tog-article .entry-content li { margin-bottom: 0.5em; }

/* Article callouts (block patterns). */
.tog .tog-takeaways {
	background: var(--tog-bone);
	border: 1px solid var(--tog-line);
	border-radius: var(--tog-radius);
	padding: 24px 28px;
	margin: 0 0 1.6em;
}

.tog .tog-takeaways::before {
	content: "";
	display: block;
	width: 48px;
	height: 3px;
	background: var(--tog-clay);
	margin-bottom: 12px;
}

.tog .entry-content .tog-takeaways h2 { margin: 0 0 10px; font-size: 24px; }
.tog .tog-takeaways ul { margin-bottom: 0; }

.tog .tog-callout {
	border-radius: var(--tog-radius);
	padding: 20px 24px;
	margin: 0 0 1.4em;
}

.tog .tog-callout p { margin: 0 0 8px; }
.tog .tog-callout p:last-child { margin-bottom: 0; }
.tog .tog-callout--sensory { background: var(--tog-oat); }
.tog .tog-callout--clinic { background: var(--tog-bone); border: 1px solid var(--tog-line); }

.tog .tog-callout--clinic::before {
	content: "";
	display: block;
	width: 48px;
	height: 3px;
	background: var(--tog-clay);
	margin-bottom: 10px;
}

.tog .tog-callout-quote {
	font-family: var(--tog-serif);
	font-style: italic;
	font-size: 1.15em;
	line-height: 1.4;
}

.tog .tog-sources { font-size: 0.9em; }

.tog-disclosure {
	margin-top: 2em;
	font-size: 15px;
	color: var(--tog-muted);
}

.tog-author {
	max-width: 752px;
	box-sizing: border-box;
	margin: 40px auto 0;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	padding: 28px;
	background: var(--tog-bone);
	border: 1px solid var(--tog-line);
	border-radius: var(--tog-radius);
}

.tog-author-text { flex: 1 1 300px; display: flex; flex-direction: column; gap: 8px; }
.tog-author-text p { margin: 0; }
.tog-author-name { font-family: var(--tog-serif); font-size: 22px; font-weight: 500; }
.tog-author-bio { font-size: 16px; color: var(--tog-muted); }
.tog-author-links { display: flex; flex-wrap: wrap; gap: 16px; font-size: 15px; }

/* Read next */
.tog-read-next {
	max-width: var(--tog-max);
	margin: 64px auto 72px;
	clear: both;
}

/* Marley's related posts (only used if re-enabled). */
.tog .related {
	max-width: var(--tog-max);
	margin: 64px auto 0;
	background: transparent;
	padding: 24px 0 0;
	border-top: 1px solid var(--tog-line);
}

.tog .related-title {
	font-size: clamp(26px, 2.4vw, 34px);
	text-align: left;
	margin: 0 0 28px;
	text-transform: none;
	letter-spacing: -0.01em;
}

.tog .related-posts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	gap: 32px;
}

.tog .related-post { width: auto; margin: 0; float: none; }
.tog .related-post-image { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; width: 100%; height: auto; }
.tog .related-post-info { background: transparent; padding: 12px 0 0; text-align: left; }

.tog a.related-post-title {
	font-family: var(--tog-serif);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--tog-ink);
	text-transform: none;
	letter-spacing: 0;
	text-decoration: none;
}

.tog a.related-post-title:hover { text-decoration: underline; }

/* ---------- Archives (Marley feed) ---------- */

.tog .archive-description,
.tog .author-box {
	background: var(--tog-bone);
	border-radius: var(--tog-radius);
}

/* ---------- Footer ---------- */

.tog-footer {
	background: var(--tog-olive);
	color: var(--tog-on-olive);
	padding: 48px 0 24px;
}

.tog-footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
	gap: 32px;
	font-size: 16px;
}

.tog-footer p,
.tog .tog-footer a { color: var(--tog-on-olive); }

.tog-footer-name { font-family: var(--tog-serif); font-size: 24px; margin: 0 0 12px; }
.tog-footer-brand p:last-child { max-width: 32ch; margin: 0; }
.tog-footer-heading { font-weight: 700; margin: 0 0 10px; }
.tog-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }

.tog .footer-widgets {
	background: var(--tog-olive);
	color: var(--tog-on-olive);
}

.tog .footer-widgets a,
.tog .footer-widgets p,
.tog .footer-widgets .widget-title { color: var(--tog-on-olive); }

.tog .site-footer {
	background: var(--tog-olive);
	color: var(--tog-on-olive);
	font-size: 14px;
	text-transform: none;
	letter-spacing: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	padding: 20px 24px 32px;
}

.tog .site-footer p,
.tog .site-footer a { color: var(--tog-on-olive); }

.tog .site-footer p {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	max-width: var(--tog-max);
	margin: 0 auto;
	text-align: left;
}

/* ---------- Dark mode clean-up of Marley surfaces ---------- */

html[data-theme="dark"] .tog .sidebar .widget,
html[data-theme="dark"] .tog .entry,
html[data-theme="dark"] .tog .comment-respond,
html[data-theme="dark"] .tog .entry-comments,
html[data-theme="dark"] .tog .archive-pagination a,
html[data-theme="dark"] .tog .genesis-nav-menu .sub-menu {
	background: var(--tog-bg);
	color: var(--tog-ink);
}

html[data-theme="dark"] .tog img { opacity: 0.92; }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
	.tog *, .tog *::before, .tog *::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

/* ---------- Print ---------- */

@media print {
	.tog-header-tools, .tog-reading, .tog-newsletter, .tog .related, .tog-footer { display: none !important; }
}

/* Black logo stays visible in dark mode. */
html[data-theme="dark"] .custom-logo { filter: invert(1) brightness(0.93); }

.tog-breadcrumbs {
	max-width: 752px;
	margin: 24px auto 0;
	font-size: 15px;
	color: var(--tog-muted);
}
.tog-breadcrumbs .separator { margin: 0 6px; }

/* Kit newsletter form */
.tog-kit-form label { display: block; font-weight: 700; margin-bottom: 8px; }
.tog-kit-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tog-kit-row input[type="email"] { flex: 1 1 240px; min-height: 48px; padding: 10px 14px; font-size: 18px; border: 1px solid var(--tog-line, #cfc9bd); border-radius: 6px; background: #fff; color: var(--tog-ink, #212529); }
.tog-kit-row input[type="email"]:focus-visible { outline: 3px solid var(--tog-oxblood, #5A1F2E); outline-offset: 2px; }
.tog-kit-row button { min-height: 48px; padding: 10px 22px; border: 0; border-radius: 6px; background: var(--tog-oxblood, #5A1F2E); color: #fff; font-weight: 700; font-size: 17px; cursor: pointer; }
.tog-kit-row button:hover, .tog-kit-row button:focus-visible { filter: brightness(1.15); }
.tog-kit-note { margin-top: 12px; font-size: 15px; color: var(--tog-muted, #6B6C63); }
html[data-theme="dark"] .tog-kit-row input[type="email"] { background: transparent; color: inherit; }

/* WPForms (Contact page) */
.tog .wpforms-container .wpforms-field input[type="text"],
.tog .wpforms-container .wpforms-field input[type="email"],
.tog .wpforms-container .wpforms-field textarea { max-width: 100%; width: 100%; min-height: 48px; font-size: 18px; border: 1px solid #cfc9bd; border-radius: 6px; background: #fff; color: var(--tog-ink, #212529); }
.tog .wpforms-container .wpforms-field textarea { min-height: 180px; }
.tog .wpforms-container .wpforms-field-label { font-weight: 700; font-size: 17px; color: inherit; }
.tog .wpforms-container .wpforms-required-label { color: var(--tog-oxblood, #5A1F2E); }
.tog .wpforms-container input:focus-visible, .tog .wpforms-container textarea:focus-visible { outline: 3px solid var(--tog-oxblood, #5A1F2E); outline-offset: 2px; }
.tog .wpforms-container button[type="submit"].wpforms-submit { min-height: 48px; padding: 10px 24px; border: 0; border-radius: 6px; background: var(--tog-oxblood, #5A1F2E) !important; color: #fff !important; font-weight: 700; font-size: 17px; letter-spacing: 0; text-transform: none; }
.tog .wpforms-container button[type="submit"].wpforms-submit:hover { filter: brightness(1.15); }
html[data-theme="dark"] .tog .wpforms-container .wpforms-field input, html[data-theme="dark"] .tog .wpforms-container .wpforms-field textarea { background: transparent; color: inherit; }
