/*
Theme Name: Bricks Child – Dr. Trubey
Theme URI: https://drrogertrubey.com
Description: Bricks child theme for drrogertrubey.com (David Web Solutions). Colors, fonts and the article typography live here; page layout lives in the Bricks templates.
Author: David Web Solutions
Template: bricks
Version: 1.0.0
Text Domain: bricks
*/

/* ---------------------------------------------------------------- Design tokens (change colors/sizes here) */
:root {
	--dws-olive: #807d21;        /* Dr. Trubey's olive green (borders, accents) */
	--dws-olive-dark: #5e5c14;   /* buttons and links (7:1 contrast on white) */
	--dws-olive-deep: #3f3d0c;   /* dark boxes */
	--dws-tint: #f5f4e8;         /* soft olive background bands */
	--dws-tint-2: #ecebd6;
	--dws-ink: #1f1d12;          /* body text */
	--dws-muted: #55523f;        /* secondary text (7:1 on white) */
	--dws-line: #dcdac4;
	--dws-white: #ffffff;
	--dws-font-ui: 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--dws-font-read: 'Source Serif 4', Georgia, 'Times New Roman', serif;
	--dws-text: 20px;            /* base text size */
	--dws-read: 21px;            /* article text size */
	--dws-measure: 760px;        /* reading column width */
	--dws-wide: 1200px;          /* page width */
	--dws-radius: 16px;
}

/* ---------------------------------------------------------------- Base */
html { -webkit-text-size-adjust: 100%; }
body {
	background: var(--dws-white);
	color: var(--dws-ink);
	font-family: var(--dws-font-ui);
	font-size: var(--dws-text);
	line-height: 1.7;
}
h1, h2, h3, h4 { color: var(--dws-ink); font-family: var(--dws-font-read); font-weight: 700; line-height: 1.2; }
a { color: var(--dws-olive-dark); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--dws-olive-deep); }
:focus-visible { outline: 3px solid var(--dws-olive); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; }
.dws-skip { position: absolute; left: -9999px; top: 0; background: var(--dws-olive-deep); color: #fff; padding: 12px 18px; z-index: 1000; }
.dws-skip:focus { left: 12px; top: 12px; }

/* Sticky header (keeps the phone button in reach while reading) */
#brx-header { position: sticky; top: 0; z-index: 100; background: #fff; }
.admin-bar #brx-header { top: 32px; }
@media (max-width: 782px) { .admin-bar #brx-header { top: 0; } }

/* ---------------------------------------------------------------- Buttons */
.dws-btn,
.brxe-button.dws-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 12px 24px; border-radius: 12px;
	background: var(--dws-olive-dark); color: #fff; border: 2px solid var(--dws-olive-dark);
	font-family: var(--dws-font-ui); font-size: 20px; font-weight: 700; line-height: 1.2;
	text-decoration: none; white-space: nowrap;
}
.dws-btn:hover { background: var(--dws-olive-deep); border-color: var(--dws-olive-deep); color: #fff; }
.dws-btn i, .dws-btn svg { font-size: 20px; width: 20px; height: 20px; }
.dws-btn--ghost, .brxe-button.dws-btn--ghost { background: #fff; color: var(--dws-olive-dark); }
.dws-btn--ghost:hover { background: var(--dws-tint); color: var(--dws-olive-deep); }
.dws-btn--light, .brxe-button.dws-btn--light { background: #fff; color: var(--dws-olive-deep); border-color: #fff; }
.dws-btn--light:hover { background: var(--dws-tint-2); color: var(--dws-olive-deep); border-color: var(--dws-tint-2); }

/* ---------------------------------------------------------------- Header */
.dws-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--dws-ink); }
.dws-logo img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 2px solid var(--dws-tint-2); }
.dws-logo__name { display: block; font-size: 21px; font-weight: 700; line-height: 1.2; }
.dws-logo__sub { display: block; font-size: 16px; color: var(--dws-muted); line-height: 1.3; }
.dws-logo-wrap { flex: none; }
.dws-logo__name { max-width: 240px; }
.dws-nav .bricks-nav-menu { gap: 2px; flex-wrap: nowrap; }
.dws-nav .bricks-nav-menu > li { margin: 0; }
.dws-nav .bricks-nav-menu > li > a,
.dws-nav .bricks-nav-menu .brx-submenu-toggle > a { display: block; font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--dws-ink); padding: 10px 12px; border-radius: 10px; text-decoration: none; white-space: nowrap; }
.dws-nav .bricks-nav-menu .brx-submenu-toggle { border-radius: 10px; }
.dws-nav .bricks-nav-menu .brx-submenu-toggle > a { padding-right: 4px; }
.dws-nav .bricks-nav-menu .brx-submenu-toggle button { color: var(--dws-ink); padding: 10px 10px 10px 2px; }
.dws-nav .bricks-nav-menu > li > a:hover,
.dws-nav .bricks-nav-menu > li > .brx-submenu-toggle:hover,
.dws-nav .bricks-nav-menu > .current-menu-item > a,
.dws-nav .bricks-nav-menu > .current-menu-item > .brx-submenu-toggle,
.dws-nav .bricks-nav-menu > .current-menu-ancestor > .brx-submenu-toggle { background: var(--dws-tint); color: var(--dws-ink); }
.dws-nav .bricks-nav-menu .sub-menu { background: #fff; border: 1px solid var(--dws-line); border-radius: 12px; padding: 6px; box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.dws-nav .bricks-nav-menu .sub-menu a { font-size: 18px; padding: 10px 14px; color: var(--dws-ink); white-space: nowrap; }
/* Phone menu button: 48x48 tap area around the standard Bricks bars */
.dws-nav .bricks-mobile-menu-toggle { color: var(--dws-ink); margin: 0 6px 0 10px; }
.dws-nav .bricks-mobile-menu-toggle::after { content: ''; position: absolute; inset: -14px -6px -14px -10px; }
.dws-nav .bricks-mobile-menu > li { border-bottom: 1px solid var(--dws-line); }
.dws-nav .bricks-mobile-menu .brx-submenu-toggle button { color: var(--dws-ink); }
.dws-call-label { white-space: nowrap; }
@media (max-width: 1279px) { #brx-header .dws-nav { order: 3; margin-left: 0; } .dws-call-wrap { margin-left: auto; } }
@media (max-width: 1400px) { .dws-header-call { padding-left: 16px; padding-right: 16px; } .dws-nav .bricks-nav-menu > li > a, .dws-nav .bricks-nav-menu .brx-submenu-toggle > a { padding-left: 9px; padding-right: 9px; } }
@media (max-width: 600px) {
	.dws-logo-wrap { flex: 1 1 auto; min-width: 0; }
	.dws-logo img { width: 46px; height: 46px; flex: none; }
	.dws-logo__name { font-size: 17px; }
	.dws-logo__sub { display: none; }
	.dws-header-call { padding: 10px 14px !important; min-height: 48px; }
	.dws-header-call .dws-call-label { display: none; }
}

/* ---------------------------------------------------------------- Common bits */
.dws-eyebrow { font-family: var(--dws-font-ui); font-weight: 700; color: var(--dws-olive-dark); letter-spacing: .06em; text-transform: uppercase; font-size: 16px; }
.dws-muted { color: var(--dws-muted); }
.dws-back { font-weight: 700; font-size: 18px; }

/* Article cards */
.dws-card {
	border: 1px solid var(--dws-line); border-radius: var(--dws-radius); padding: 22px; background: #fff;
	display: flex; flex-direction: column; gap: 8px; color: var(--dws-ink); text-decoration: none; height: 100%;
}
.dws-card:hover { border-color: var(--dws-olive); box-shadow: 0 6px 20px rgba(0,0,0,.06); color: var(--dws-ink); }
.dws-card__date { font-size: 16px; color: var(--dws-muted); }
.dws-card__title { font-family: var(--dws-font-read); font-weight: 700; font-size: 23px; line-height: 1.3; margin: 0; }
.dws-card__more { margin-top: auto; padding-top: 8px; color: var(--dws-olive-dark); font-weight: 700; }

/* Simple link list (services) */
.dws-linklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.dws-linklist > * { min-width: 0; }
.dws-linklist a, .dws-linkrow {
	display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 4px;
	border-bottom: 1px solid var(--dws-line); text-decoration: none; color: var(--dws-ink); font-weight: 700; line-height: 1.4;
}
.brxe-block.dws-linkrow { flex-direction: row; align-items: center; width: 100%; text-align: left; }
.dws-linkrow::after { content: '\2192'; color: var(--dws-olive-dark); flex: none; }
.dws-linkrow:hover { color: var(--dws-olive-deep); background: var(--dws-tint); }
@media (max-width: 767px) { .dws-linklist { grid-template-columns: 1fr; } }

/* Byline + call box */
.dws-byline { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--dws-line); border-bottom: 1px solid var(--dws-line); font-size: 18px; color: var(--dws-muted); line-height: 1.5; }
.dws-byline img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; }
.dws-byline strong { color: var(--dws-ink); display: block; }
.dws-callbox { background: var(--dws-olive-deep); color: #fff; border-radius: 20px; padding: 30px; }
.dws-callbox h2 { color: #fff; margin: 0 0 4px; font-size: 26px; }
.dws-callbox p { color: #ecebd6; margin: 0 0 14px; font-size: 18px; line-height: 1.5; }
.dws-callbox img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: top; border: 4px solid rgba(255,255,255,.25); }

/* Footer */
.dws-footer, .dws-footer p { color: #e9e7d6; font-size: 17px; line-height: 1.6; }
.dws-footer a { color: #fff; }
.dws-footer h2, .dws-footer h3 { color: #fff; font-family: var(--dws-font-ui); font-size: 19px; margin: 0 0 10px; }
.dws-footer .bricks-nav-menu { flex-direction: column; gap: 2px; }
.dws-footer .bricks-nav-menu a { color: #fff; font-size: 17px; padding: 4px 0; }
.dws-footer__legal, .dws-footer__legal p { font-size: 15px; color: #c9c6b0; }

/* ---------------------------------------------------------------- Article typography
   Applies to whatever the Word importer or the block editor produces: paragraphs, H2/H3, lists,
   quotes, images with captions, tables, separators. No per-article styling needed. */
.dws-prose { font-family: var(--dws-font-read); font-size: var(--dws-read); line-height: 1.75; color: var(--dws-ink); overflow-wrap: break-word; }
.dws-prose > * { margin-top: 0; margin-bottom: 1em; }
.dws-prose > *:last-child { margin-bottom: 0; }
.dws-prose h2 { font-size: 32px; line-height: 1.25; margin: 1.7em 0 .5em; }
.dws-prose h3 { font-family: var(--dws-font-ui); font-size: 25px; line-height: 1.3; margin: 1.5em 0 .4em; }
.dws-prose h4 { font-family: var(--dws-font-ui); font-size: 21px; margin: 1.3em 0 .3em; }
.dws-prose > h2:first-child, .dws-prose > h3:first-child { margin-top: 0; }
.dws-prose p { margin: 0 0 1em; }
.dws-prose a { color: var(--dws-olive-dark); text-decoration: underline; overflow-wrap: anywhere; }
.dws-back, .dws-card__more { text-decoration: none; }
.dws-back:hover { text-decoration: underline; }
.dws-prose strong { font-weight: 700; }
.dws-prose ul, .dws-prose ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.dws-prose ul { list-style: disc; }
.dws-prose ol { list-style: decimal; }
.dws-prose ul ul { list-style: circle; }
.dws-prose li { margin: .4em 0; padding-left: .2em; }
.dws-prose li > ul, .dws-prose li > ol { margin: .3em 0 .5em; }
.dws-prose li::marker { color: var(--dws-olive-dark); font-weight: 700; }
.dws-prose blockquote, .dws-prose .wp-block-quote {
	margin: 1.6em 0; padding: 18px 24px; border-left: 6px solid var(--dws-olive); background: var(--dws-tint);
	border-radius: 0 12px 12px 0; font-style: italic; color: #3a3825;
}
.dws-prose blockquote p:last-child { margin-bottom: 0; }
.dws-prose blockquote cite { display: block; margin-top: .6em; font-style: normal; font-family: var(--dws-font-ui); font-size: 17px; color: var(--dws-muted); }
.dws-prose figure { margin: 1.8em 0; }
.dws-prose figure img, .dws-prose > p img { border-radius: 10px; display: block; margin-left: auto; margin-right: auto; height: auto; }
.dws-prose .wp-block-image { text-align: center; }
.dws-prose figcaption, .dws-prose .wp-element-caption {
	font-family: var(--dws-font-ui); font-size: 17px; line-height: 1.5; color: var(--dws-muted); margin-top: 10px; text-align: center;
}
.dws-prose .alignleft { float: left; margin: .3em 1.2em 1em 0; max-width: 45%; }
.dws-prose .alignright { float: right; margin: .3em 0 1em 1.2em; max-width: 45%; }
.dws-prose .aligncenter { margin-left: auto; margin-right: auto; }
.dws-prose hr, .dws-prose .wp-block-separator { border: 0; border-top: 2px solid var(--dws-line); margin: 2em auto; width: 100%; }
.dws-prose .wp-block-table { overflow-x: auto; margin: 1.6em 0; }
.dws-prose table { border-collapse: collapse; width: 100%; font-family: var(--dws-font-ui); font-size: 18px; line-height: 1.5; }
.dws-prose th, .dws-prose td { border: 1px solid var(--dws-line); padding: 10px 12px; text-align: left; vertical-align: top; }
.dws-prose thead th, .dws-prose tr:first-child th { background: var(--dws-tint); }
.dws-prose::after { content: ''; display: table; clear: both; }
/* Classes the Word importer adds to the article's own headline and subtitle (first lines of the document). */
.dws-prose .dws-article-headline { font-size: 28px; line-height: 1.3; margin: 0 0 .3em; color: var(--dws-olive-deep); }
.dws-prose .dws-article-subtitle { font-family: var(--dws-font-ui); font-size: 21px; font-style: italic; color: var(--dws-muted); margin: 0 0 1.4em; }
@media (max-width: 767px) { .dws-prose .dws-article-headline { font-size: 24px; } }
@media (max-width: 767px) {
	.dws-prose { font-size: 20px; }
	.dws-prose h2 { font-size: 27px; }
	.dws-prose h3 { font-size: 22px; }
	.dws-prose .alignleft, .dws-prose .alignright { float: none; margin: 1em auto; max-width: 100%; }
}

/* ---------------------------------------------------------------- Home hero */
.dws-lead p { font-size: 23px; line-height: 1.6; margin: 0; max-width: 34em; }
.dws-portrait { position: relative; justify-self: center; margin: 0 auto; max-width: 300px; text-align: center; }
.dws-portrait__dr { width: 300px; border-radius: 24px; box-shadow: 0 18px 40px rgba(63, 61, 12, .18); display: block; }
.dws-portrait__apple { position: absolute; width: 104px; height: 104px; border-radius: 50%; object-fit: cover; left: -40px; top: -30px; border: 6px solid #fff; }
.dws-portrait figcaption { margin-top: 18px; font-weight: 700; line-height: 1.4; color: var(--dws-ink); font-size: 19px; }
.dws-portrait figcaption span { display: block; font-weight: 400; color: var(--dws-muted); font-size: 17px; }
@media (max-width: 767px) {
	.dws-lead p { font-size: 20px; }
	.dws-portrait { max-width: 230px; }
	.dws-portrait__dr { width: 230px; }
	.dws-portrait__apple { width: 80px; height: 80px; left: -24px; top: -22px; }
}
.dws-callbox__in { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; }
@media (max-width: 600px) { .dws-callbox { padding: 24px 20px; } .dws-callbox__in { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.dws-footer__list { list-style: none; margin: 0; padding: 0; }
.dws-footer__list li { margin: 6px 0; }
.dws-footer .brxe-heading { font-family: var(--dws-font-ui); font-size: 19px; color: #fff; margin: 0 0 10px; }

.dws-footer .bricks-nav-menu { padding: 0; margin: 0; }
.dws-footer .bricks-nav-menu > li { margin: 0; }
.dws-footer .bricks-nav-menu .brx-submenu-toggle button { display: none; }
.dws-footer .bricks-nav-menu .sub-menu { display: none; }

/* ---------------------------------------------------------------- Article reading aids (sticky)
   Wide screens: article + sticky sidebar (contents with the current section highlighted, call card).
   Phones/tablets: contents fold-out above the article and a "Contents" button while reading.
   Built by js/article.js from the article's H2s; hidden on articles with fewer than 3. */
.dws-article-grid { align-items: start; }
.dws-aside { position: sticky; top: var(--dws-sticky-top, 110px); align-self: start; display: flex; flex-direction: column; gap: 18px; }
.admin-bar .dws-aside { top: calc(var(--dws-sticky-top, 110px) + 32px); }
.dws-prose h2[id] { scroll-margin-top: var(--dws-sticky-top, 110px); }
.dws-toc { border: 1px solid var(--dws-line); border-radius: var(--dws-radius); padding: 20px 18px 14px; background: #fff;
	max-height: calc(100vh - var(--dws-sticky-top, 110px) - 220px); overflow: auto; }
.dws-toc__title, .dws-toc-inline summary { font-family: var(--dws-font-ui); font-weight: 700; font-size: 18px; color: var(--dws-ink); margin: 0 0 8px; }
.dws-toc ol, .dws-toc-inline ol { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.dws-toc li, .dws-toc-inline li { margin: 0; }
.dws-toc a, .dws-toc-inline a { display: block; padding: 7px 10px; border-left: 3px solid transparent; border-radius: 0 8px 8px 0;
	color: var(--dws-muted); text-decoration: none; font-size: 17px; line-height: 1.35; }
.dws-toc a:hover, .dws-toc-inline a:hover { color: var(--dws-ink); background: var(--dws-tint); }
.dws-toc li.is-current > a, .dws-toc-inline li.is-current > a { color: var(--dws-ink); font-weight: 700; border-left-color: var(--dws-olive); background: var(--dws-tint); }
.dws-minicall { background: var(--dws-olive-deep); color: #fff; border-radius: var(--dws-radius); padding: 18px; display: grid; gap: 10px; }
.dws-minicall p { margin: 0; color: #ecebd6; font-size: 17px; line-height: 1.45; }
.dws-minicall strong { color: #fff; font-size: 19px; display: block; }
.dws-minicall .dws-btn { width: 100%; font-size: 19px; min-height: 50px; padding: 10px 14px; }
.dws-toc-inline { scroll-margin-top: var(--dws-sticky-top, 110px); display: none; border: 1px solid var(--dws-line); border-radius: var(--dws-radius); background: var(--dws-tint); padding: 4px 16px; margin: 8px 0 4px; }
.dws-toc-inline summary { cursor: pointer; padding: 12px 0; margin: 0; list-style-position: inside; }
.dws-toc-inline summary span { font-weight: 400; color: var(--dws-muted); }
.dws-toc-inline[open] ol { padding-bottom: 10px; }
.dws-fab { display: none; }
@media (max-width: 991px) {
	.dws-aside { display: none !important; }
	.dws-toc-inline { display: block; }
	.dws-fab { display: inline-flex; position: fixed; right: 16px; bottom: 16px; z-index: 90; align-items: center; gap: 8px;
		min-height: 52px; padding: 0 20px; border-radius: 999px; background: var(--dws-olive-dark); color: #fff; font-weight: 700;
		font-size: 18px; text-decoration: none; box-shadow: 0 6px 18px rgba(31,29,18,.28);
		opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s; }
	.dws-fab::before { content: '\2630'; font-size: 18px; }
	.dws-fab.is-shown { opacity: 1; transform: none; pointer-events: auto; }
	.dws-fab:hover, .dws-fab:focus-visible { color: #fff; }
}
.dws-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: var(--dws-olive); transform-origin: 0 50%;
	transform: scaleX(0); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .dws-fab { transition: none; } }

/* Emphasis carried over from Word by the importer (DWS Word Import) */
.dws-prose .dws-pointer { position: relative; padding-left: 2.2em; }
.dws-prose .dws-pointer::before { content: "\279C"; position: absolute; left: 0; top: -.15em; font-size: 1.5em; font-weight: 700; line-height: 1.2; color: var(--dws-olive); }
.dws-prose .dws-indent { margin-left: 1.6em; }
.dws-prose ul.dws-bar, .dws-prose ol.dws-bar { border-left: 4px solid var(--dws-olive); padding-left: 2em; }
.dws-prose ul.dws-cols-2 { columns: 2; column-gap: 2.5em; list-style: none; padding-left: 0; }
.dws-prose ul.dws-cols-2 > li { break-inside: avoid; position: relative; padding-left: 1.3em; }
.dws-prose ul.dws-cols-2 > li::before { content: "\2022"; position: absolute; left: .3em; color: var(--dws-olive-dark); }
@media (max-width: 640px) { .dws-prose ul.dws-cols-2 { columns: 1; } }
.dws-prose mark.has-inline-color { color: inherit; padding: .05em .15em; border-radius: 3px; }

/* ================================================================ BLEND (2026-11-25)
   Classic look (apple masthead, olive sidebar lists, cream paper) in softer colours, on top of the
   readable base above. Direction B alone is saved in ../child-B/. */
:root {
	--dws-cream: #fbf7e6;        /* page background (softer than the old #fff8c6) */
	--dws-paper: #fffdf7;        /* reading cards */
	--dws-ink: #2a2718;          /* body text */
	--dws-brown: #6a2a12;        /* headings (softer than the old #660000) */
	--dws-mast-ink: #6f4428;     /* masthead lettering */
	--dws-line: #e6dfbd;
	--dws-tint: #f4efd6;
	--dws-olive-deep: #4d4b13;   /* list panels */
	--dws-font-head: 'Lora', Georgia, serif;
}
body { background: var(--dws-cream); }
#brx-header { background: var(--dws-cream); top: var(--dws-header-top, 0px); }
.admin-bar #brx-header { top: var(--dws-header-top, 32px); }

/* Top strip */
.dws-strip { background: var(--dws-olive-deep); color: #f6efc9; font-size: 17px; line-height: 1.4; }
.dws-strip__in { display: flex !important; flex-direction: row !important; justify-content: space-between; align-items: center; gap: 6px 16px; flex-wrap: wrap; padding: 7px 20px; }
.dws-strip a { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }

/* Masthead */
.dws-masthead { padding: 16px 20px 0; }
.dws-mast { display: flex; justify-content: space-between; align-items: stretch; text-decoration: none; overflow: hidden; min-height: 168px;
	background: linear-gradient(100deg, #fdf8e1 0%, #f7eec9 100%); border: 1px solid var(--dws-line); border-bottom: 0; border-radius: 24px 24px 0 0; }
.dws-mast__text { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 22px 34px; }
.dws-mast__name { font: 600 40px/1.15 var(--dws-font-head); color: var(--dws-mast-ink); }
.dws-mast__tag { font: 500 23px/1.35 var(--dws-font-head); color: var(--dws-mast-ink); }
.dws-mast__small { margin-top: 6px; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: #7a6a4c; }
.dws-mast__apple { width: 250px; height: auto; object-fit: cover; flex: none; }

/* Nav bar (the part that stays on screen) */
.dws-navbar { padding: 0 20px; }
.dws-navbar__in { display: flex !important; flex-direction: row !important; align-items: center; justify-content: space-between; gap: 12px;
	background: var(--dws-olive-dark); border-radius: 0 0 14px 14px; padding: 0 10px; min-height: 58px; }
.dws-navbar .dws-nav .bricks-nav-menu > li > a,
.dws-navbar .dws-nav .bricks-nav-menu .brx-submenu-toggle > a { color: #fff; font-size: 19px; padding: 16px 16px; border-radius: 0; }
.dws-navbar .dws-nav .bricks-nav-menu .brx-submenu-toggle button { color: #fff; }
.dws-navbar .dws-nav .bricks-nav-menu > li > a:hover,
.dws-navbar .dws-nav .bricks-nav-menu > li > .brx-submenu-toggle:hover,
.dws-navbar .dws-nav .bricks-nav-menu > .current-menu-item > a,
.dws-navbar .dws-nav .bricks-nav-menu > .current-menu-item > .brx-submenu-toggle,
.dws-navbar .dws-nav .bricks-nav-menu > .current-menu-ancestor > .brx-submenu-toggle { background: var(--dws-olive-deep); color: #fff; }
.dws-navbar .dws-nav .bricks-nav-menu .sub-menu a { color: var(--dws-ink); }
.dws-navbar .dws-nav .bricks-mobile-menu-toggle { color: #fff; }
.dws-navbar .dws-nav { order: 0 !important; margin-left: 0 !important; }
.dws-navcall { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--dws-olive-deep); font-weight: 700; font-size: 19px;
	padding: 8px 18px; border-radius: 999px; text-decoration: none; white-space: nowrap; margin: 6px 0; }
.dws-navcall:hover { background: var(--dws-tint); color: var(--dws-olive-deep); }
.dws-navcall svg { width: 18px; height: 18px; }

/* Page layout: sidebar left, reading column right (like the current site) */
.dws-band { padding: 28px 20px 8px; }
.dws-layout { display: grid !important; grid-template-columns: 300px minmax(0, 1fr); gap: 36px; align-items: start; }
.dws-layout > .dws-main { grid-column: 2; grid-row: 1; min-width: 0; width: 100%; }
.dws-layout > .dws-side { grid-column: 1; grid-row: 1; }
.dws-side { display: flex; flex-direction: column; gap: 20px; width: 100%; }
.dws-photo { margin: 0; background: var(--dws-paper); border: 1px solid var(--dws-line); border-radius: 16px; padding: 18px; text-align: center; }
.dws-photo img { width: 200px; border-radius: 12px; }
.dws-photo figcaption { margin-top: .4em; font-weight: 700; }
.dws-green { background: var(--dws-olive-dark); color: #fff; border-radius: 16px; padding: 22px; text-align: center; }
.dws-green p { margin: .4em 0; font-size: 17px; line-height: 1.5; color: #f3eed2; }
.dws-green .dws-green__title { margin-top: 0; font: 600 22px/1.3 var(--dws-font-head); color: #fff; }
.dws-pill { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; padding: 11px 18px; border-radius: 999px;
	background: #fff; color: var(--dws-olive-deep); font-weight: 700; font-size: 20px; text-decoration: none; white-space: nowrap; }
.dws-pill:hover { background: var(--dws-tint); color: var(--dws-olive-deep); }
.dws-pill svg { width: 20px; height: 20px; }
.dws-panel { background: var(--dws-olive-deep); color: #fff; border-radius: 16px; padding: 20px 22px; }
.dws-panel .dws-panel__title { margin: 0 0 8px; font: 600 22px/1.3 var(--dws-font-head); color: #fff4cf; }
.dws-panel__list { list-style: none; margin: 0; padding: 0; width: 100%; }
.dws-panel__list li { border-top: 1px solid rgba(255,255,255,.16); width: 100%; }
.dws-panel__list a { display: block; padding: 10px 0; color: #fff; text-decoration: none; font-size: 18px; line-height: 1.4; }
.dws-panel__list a:hover { text-decoration: underline; color: #fff; }
.dws-panel__more { display: inline-block; margin-top: 10px; color: #fff4cf; font-weight: 700; }

/* Reading column */
.dws-title { margin: 0 0 .3em; font: 700 42px/1.2 var(--dws-font-head); color: var(--dws-brown); }
.dws-welcome { margin: -4px 0 18px; font: 600 23px/1.35 var(--dws-font-head); color: var(--dws-brown); }
.dws-back { display: inline-block; margin-bottom: 8px; }
.dws-main .dws-byline { margin-bottom: 18px; border-color: var(--dws-line); }
.dws-paper { background: var(--dws-paper); border: 1px solid var(--dws-line); border-radius: 18px; padding: 36px 44px; }
.dws-prose h2, .dws-prose h3, .dws-prose h4 { font-family: var(--dws-font-head); color: var(--dws-brown); }
.dws-prose blockquote { background: #f7f1d6; }
.dws-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
	background: var(--dws-olive-dark); color: #fff; border-radius: 18px; padding: 24px 28px; }
.dws-cta p { margin: 0; font: 600 24px/1.3 var(--dws-font-head); color: #fff; }
.dws-pill--big { margin: 0; font-size: 22px; padding: 12px 26px; }
.dws-band--more { padding: 12px 20px 36px; }
.dws-more { display: grid !important; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.dws-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; width: 100%; margin-top: 8px; }
.dws-cards .dws-card { background: var(--dws-paper); }
.dws-cards .dws-card__title { font-family: var(--dws-font-head); color: var(--dws-brown); font-size: 22px; }

/* Sticky sidebar on articles */
.dws-layout > .dws-aside { position: sticky; top: var(--dws-sticky-top, 90px); }
.dws-toc { background: var(--dws-paper); }

/* Footer */
.dws-foot { background: #6b5a41; color: #f3ead6; padding: 30px 20px; margin-top: 12px; font-size: 16px; line-height: 1.6; }
.dws-foot a { color: #fff; }
.dws-foot__in { gap: 6px; }
.dws-footnav .bricks-nav-menu { flex-wrap: wrap; gap: 4px 22px; }
.dws-footnav .bricks-nav-menu a { color: #fff; font-size: 18px; font-weight: 700; padding: 2px 0; }
.dws-foot__addr { margin: 8px 0; }
.dws-foot__legal p { font-size: 15px; color: #e6dcc4; margin: .5em 0; }

@media (max-width: 991px) {
	.dws-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.dws-layout > .dws-main, .dws-layout > .dws-side { grid-column: 1; grid-row: auto; }
	.dws-side .dws-photo { display: none; }
	.dws-masthead, .dws-navbar { padding: 0; }
	.dws-mast { border-radius: 0; min-height: 0; border-left: 0; border-right: 0; }
	.dws-mast__text { padding: 14px 16px; gap: 4px; }
	.dws-mast__name { font-size: 25px; }
	.dws-mast__tag { font-size: 16px; }
	.dws-mast__small, .dws-strip__where { display: none; }
	.dws-mast__apple { width: 92px; }
	.dws-strip__in { justify-content: center; text-align: center; padding: 6px 12px; font-size: 16px; }
	.dws-navbar__in { border-radius: 0; padding: 0 6px 0 12px; }
	.dws-navcall { font-size: 17px; padding: 8px 14px; }
	.dws-band { padding: 20px 14px 8px; }
	.dws-title { font-size: 32px; }
	.dws-paper { padding: 22px 18px; border-radius: 14px; }
	.dws-more, .dws-cards { grid-template-columns: minmax(0, 1fr); }
	.dws-cta p { font-size: 21px; }
}

/* Blend: Bricks text wrappers fill their column */
.dws-side > .brxe-text-basic, .dws-mast__in > .brxe-text-basic, .dws-main > .brxe-text-basic { width: 100%; }
.dws-photo img { opacity: 1 !important; }

/* Blend: section spacing from these classes (Bricks writes padding:0 per element, which would win) */
.brxe-section.dws-band { padding: 28px 20px 8px !important; }
.brxe-section.dws-band--more { padding: 12px 20px 36px !important; }
.brxe-section.dws-masthead { padding: 16px 20px 0 !important; }
.brxe-section.dws-navbar { padding: 0 20px !important; }
.brxe-section.dws-foot { padding: 30px 20px !important; }
.dws-photo figcaption { display: none; } /* the photo already carries his name */
@media (max-width: 991px) {
	.brxe-section.dws-band { padding: 20px 16px 8px !important; }
	.brxe-section.dws-band--more { padding: 8px 16px 28px !important; }
	.brxe-section.dws-masthead, .brxe-section.dws-navbar { padding: 0 !important; }
	.brxe-section.dws-foot { padding: 26px 16px !important; }
}

/* Phone contents pop-up (opens from the "Contents" button; the page stays where the reader was) */
.dws-fab { border: 0; font-family: var(--dws-font-ui); cursor: pointer; }
.dws-sheet { border: 0; padding: 0; margin: auto 0 0; width: 100%; max-width: 100%; max-height: 78vh; overflow: auto;
	border-radius: 20px 20px 0 0; background: var(--dws-paper, #fff); color: var(--dws-ink); box-shadow: 0 -8px 30px rgba(0,0,0,.18); }
.dws-sheet::backdrop { background: rgba(42, 39, 24, .5); }
.dws-sheet__head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px;
	padding: 14px 16px 12px 20px; background: var(--dws-paper, #fff); border-bottom: 1px solid var(--dws-line); }
.dws-sheet .dws-sheet__title { margin: 0; font: 700 20px/1.3 var(--dws-font-ui); color: var(--dws-ink); }
.dws-sheet__close { min-height: 46px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--dws-olive-dark); background: #fff;
	color: var(--dws-olive-dark); font: 700 17px/1 var(--dws-font-ui); cursor: pointer; }
.dws-sheet ol { list-style: none; margin: 0; padding: 8px 12px 28px; }
.dws-sheet li { margin: 0; }
.dws-sheet a { display: block; padding: 12px 14px; border-left: 4px solid transparent; border-radius: 0 10px 10px 0;
	color: var(--dws-ink); text-decoration: none; font-size: 19px; line-height: 1.35; }
.dws-sheet li.is-current > a { background: var(--dws-tint); border-left-color: var(--dws-olive); font-weight: 700; }
@media (min-width: 992px) { .dws-sheet { max-width: 520px; margin: auto; border-radius: 20px; } }

/* ================================================================ COLOUR FLARE + LIGHTER BOLD (2026-11-25)
   Small touches of apple red, warm gold and leaf green on the calm blend; nothing that hurts reading. */
:root {
	--dws-apple: #b23a2a;        /* apple red: thin accents only (7:1 not needed for decoration) */
	--dws-apple-soft: #f8e3da;
	--dws-gold: #f2cf73;         /* warm gold on the dark olive (titles, phone number) */
	--dws-leaf: #edf1db;         /* soft leaf green for quote / key-point boxes */
	--dws-leaf-line: #c9d39a;
}

/* Header */
.dws-strip a { color: var(--dws-gold); }
.dws-mast { background: linear-gradient(100deg, #fdf8e2 0%, #faefcc 55%, #f6e0bd 100%); }
.dws-mast__small { color: var(--dws-apple); font-weight: 700; }
.dws-mast__name { color: #6a3a1e; }
.dws-mast__tag { color: #5e5c14; }
.dws-navbar__in { background: linear-gradient(180deg, #67651a 0%, #5a5815 100%); box-shadow: inset 0 3px 0 rgba(255,255,255,.06); }
.dws-navbar .dws-nav .bricks-nav-menu > .current-menu-item > a,
.dws-navbar .dws-nav .bricks-nav-menu > .current-menu-item > .brx-submenu-toggle { box-shadow: inset 0 -4px 0 var(--dws-gold); }
.dws-progress { height: 4px; background: linear-gradient(90deg, var(--dws-gold), var(--dws-apple)); }

/* Titles: a short apple-red bar above the page title, a soft one under article headings */
.dws-title { font-weight: 600; }
.dws-title::before { content: ''; display: block; width: 64px; height: 5px; border-radius: 3px; margin: 0 0 14px;
	background: linear-gradient(90deg, var(--dws-apple), #d9743a); }
.dws-prose h2 { font-weight: 600; }
.dws-prose h2:not(.dws-article-headline)::after { content: ''; display: block; width: 48px; height: 3px; border-radius: 2px; margin-top: 10px; background: var(--dws-apple); opacity: .85; }
.dws-prose h3 { font-weight: 600; color: #5e5c14; }
.dws-prose .dws-article-headline { color: #5e5c14; font-weight: 600; }
.dws-prose .dws-article-subtitle { color: var(--dws-apple); }
.dws-welcome { color: #5e5c14; }

/* Lighter bold: semi-bold inside articles; whole bold paragraphs ("key points") get colour instead of weight */
.dws-prose strong, .dws-prose b { font-weight: 600; }
.dws-prose p.dws-keypoint { color: #5a2410; }
.dws-prose p.dws-keypoint strong, .dws-prose p.dws-keypoint b { font-weight: 600; }

/* Lists, quotes, links */
.dws-prose li::marker { color: var(--dws-apple); }
.dws-prose ul.dws-cols-2 > li::before { color: var(--dws-apple); }
.dws-prose blockquote { background: var(--dws-leaf); border-left-color: #8a9a3a; }
.dws-prose a { color: #5e5c14; text-decoration-color: rgba(178, 58, 42, .55); }
.dws-prose a:hover { color: var(--dws-apple); }
.dws-prose .dws-pointer::before { color: var(--dws-apple); }
.dws-prose ul.dws-bar, .dws-prose ol.dws-bar { border-left-color: #8a9a3a; }

/* Sidebar */
.dws-green { background: linear-gradient(160deg, #6b691c 0%, #55530f 100%); }
.dws-panel .dws-panel__title { color: var(--dws-gold); font-weight: 600; }
.dws-panel__list a { position: relative; padding-left: 16px; }
.dws-panel__list a::before { content: ''; position: absolute; left: 0; top: 1.05em; width: 6px; height: 6px; border-radius: 50%; background: var(--dws-gold); opacity: .8; }
.dws-panel__list a:hover::before { background: #ff9b7a; opacity: 1; }
.dws-panel__more { color: var(--dws-gold); }
.dws-toc { border-top: 4px solid var(--dws-apple); }
.dws-toc li.is-current > a, .dws-toc-inline li.is-current > a, .dws-sheet li.is-current > a { border-left-color: var(--dws-apple); background: var(--dws-apple-soft); }
.dws-photo { border-top: 4px solid #8a9a3a; }

/* Article end, cards */
.dws-cta { background: linear-gradient(120deg, #66641a 0%, #4d4b13 100%); position: relative; overflow: hidden; }
.dws-cta::after { content: ''; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(242, 207, 115, .12); }
.dws-cards .dws-card { border-top: 4px solid var(--dws-apple); }
.dws-cards .dws-card__title { font-weight: 600; }
.dws-cards .dws-card__more { color: var(--dws-apple); }
.dws-byline strong { font-weight: 700; color: #5e5c14; }

/* Key points (paragraphs bold start to end), idea borrowed from Sol's variation: normal weight in a soft warm box
   with an apple-red edge, instead of a wall of bold. Arrows from Word sit inside the box's left padding. */
.dws-prose p.dws-keypoint { color: var(--dws-ink); background: #f7efda; border-left: 4px solid var(--dws-apple);
	border-radius: 0 12px 12px 0; padding: .55em .9em .55em 1em; }
.dws-prose p.dws-keypoint strong, .dws-prose p.dws-keypoint b { font-weight: 400; }
.dws-prose p.dws-keypoint + p.dws-keypoint { margin-top: -.4em; }
.dws-prose p.dws-keypoint.dws-pointer { padding-left: 2.7em; }
.dws-prose p.dws-keypoint.dws-pointer::before { left: .5em; top: .3em; }

/* Long contents lists: scroll inside the box (it follows the section you're reading), with soft fades that
   show there is more above / below. */
.dws-toc { position: relative; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #d8cfa6 transparent; }
.dws-toc.has-more-below { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 56px), transparent); }
.dws-toc.has-more-above { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 48px); mask-image: linear-gradient(to bottom, transparent, #000 48px); }
.dws-toc.has-more-above.has-more-below { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 48px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to bottom, transparent, #000 48px, #000 calc(100% - 56px), transparent); }

/* Key points inside quotes: the quote box is enough (no box in a box). */
.dws-prose blockquote p.dws-keypoint { background: none; border: 0; border-radius: 0; padding: 0; margin-top: 0; }
/* Short bold lines: plain semi-bold, no box. */
.dws-prose p.dws-emph { font-weight: 400; }
.dws-prose p.dws-emph strong, .dws-prose p.dws-emph b { font-weight: 600; }
/* Contents list: hover is an underline only, so just the section you're reading is highlighted. */
.dws-toc a:hover, .dws-toc-inline a:hover, .dws-sheet a:hover { background: none; color: var(--dws-ink); text-decoration: underline; text-decoration-color: var(--dws-apple); }
.dws-toc li.is-current > a:hover, .dws-toc-inline li.is-current > a:hover, .dws-sheet li.is-current > a:hover { background: var(--dws-apple-soft); }

/* Byline line inside an article (from the old content), quieter than the text */
.dws-prose p.dws-article-byline { color: var(--dws-muted); font-size: .9em; margin-top: -.4em; }

/* ================================================================ PHONE PROPORTIONS (2026-11-25, David: "too big, too busy")
   A clear size ladder on phones: one big title, everything around it clearly smaller. Headings wrap evenly
   (no lone "2" on its own line), paragraphs avoid one-word last lines. */
h1, h2, h3, h4, .dws-title, .dws-mast__name, .dws-mast__tag, .dws-panel__title, .dws-green__title, .dws-cta p { text-wrap: balance; }
.dws-prose p, .dws-prose li { text-wrap: pretty; }

@media (max-width: 600px) {
	/* Header: compact, the name leads and the tagline is clearly secondary */
	.dws-strip__in { font-size: 14px; padding: 5px 12px; }
	.dws-mast__text { padding: 12px 14px; gap: 3px; }
	.dws-mast__name { font-size: 20px; line-height: 1.2; }
	.dws-mast__tag { font-size: 13.5px; line-height: 1.35; color: #6b6640; }
	.dws-mast__apple { width: 76px; }
	.dws-navbar__in { min-height: 50px; padding: 0 6px 0 8px; }
	.dws-navcall { font-size: 16px; padding: 6px 14px; gap: 6px; }
	.dws-navcall svg { width: 16px; height: 16px; }

	/* Page top: title is the one big thing */
	.brxe-section.dws-band { padding: 18px 16px 8px !important; }
	.dws-back { font-size: 15px; margin-bottom: 4px; }
	.dws-title::before { width: 44px; height: 4px; margin-bottom: 10px; }
	.dws-title { font-size: 27px; line-height: 1.2; margin-bottom: .2em; }
	.dws-welcome { font-size: 18px; margin-bottom: 14px; }
	.dws-main .dws-byline { font-size: 15px; gap: 10px; padding: 10px 0; margin-bottom: 14px; line-height: 1.4; }
	.dws-main .dws-byline img { width: 40px; height: 40px; }
	.dws-toc-inline { margin: 4px 0 10px; padding: 0 14px; }
	.dws-toc-inline summary { font-size: 16px; padding: 10px 0; }

	/* Article: comfortable text, headings a step above it, not three steps */
	.dws-paper { padding: 18px 16px; }
	.dws-prose { font-size: 18.5px; line-height: 1.7; }
	.dws-prose h2 { font-size: 23px; line-height: 1.25; margin: 1.5em 0 .45em; }
	.dws-prose h2:not(.dws-article-headline)::after { width: 36px; margin-top: 8px; }
	.dws-prose h3 { font-size: 19.5px; }
	.dws-prose .dws-article-headline { font-size: 21px; line-height: 1.3; }
	.dws-prose .dws-article-subtitle { font-size: 16px; margin-bottom: 1.2em; }
	.dws-prose blockquote, .dws-prose .wp-block-quote { padding: 14px 16px; }
	.dws-prose p.dws-keypoint { padding: .5em .8em; }
	.dws-cta { padding: 20px 18px; }
	.dws-cta p { font-size: 19px; }
	.dws-pill--big { font-size: 19px; padding: 10px 20px; }

	/* Sidebar panels below the content */
	.dws-panel { padding: 16px 18px; }
	.dws-panel .dws-panel__title, .dws-green .dws-green__title { font-size: 19px; }
	.dws-panel__list a { font-size: 16.5px; padding: 9px 0 9px 16px; }
	.dws-fab { min-height: 46px; font-size: 16px; padding: 0 16px; }
}

/* Phone touch-ups */
.dws-prose li { text-wrap: wrap; }
.dws-prose .dws-article-subtitle { text-wrap: balance; }
@media (max-width: 600px) {
	.dws-toc-inline { display: block; width: 100%; box-sizing: border-box; }
	.dws-prose { line-height: 1.62; }
	.dws-prose .dws-article-subtitle { line-height: 1.4; }
}

.dws-welcome { text-wrap: balance; }
@media (max-width: 600px) {
	.home .dws-title { font-size: 23px; }
	.home .dws-title::before { display: none; }
	.dws-welcome { font-size: 17px; }
}
