/*
Theme Name: Swift Nature Camp
Theme URI: https://swiftnaturecamp.com
Author: Praise Day-Michael
Description: Lightweight block theme for Swift Nature Camp — the 2024 waterfall, wood boards and parchment design of the original site, rebuilt mobile-first.
Version: 1.14.15
Requires at least: 6.5
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: swiftnaturecamp
*/

/*
 * Measurements follow the 2024 Joomla template (phpweb24-template): 1020px shell, 50px gaps,
 * 205×215 tiles, wood boards, mtt.png plank frames, tan sidebar with right2.jpg rails.
 */

/* ===== backdrop ===== */
body {
	background: #2f4a1e url(../../../images/bgs.jpg) center top / cover no-repeat fixed;
}
/* phones and tablets ignore a fixed background (iOS) or redraw it badly, which showed the forest picture repeating
 * down long pages: the picture sits on its own layer that stays put behind the page instead */
@media (max-width: 781px), (hover: none) {
	body { background: #2f4a1e; }
	body::before {
		content: ""; position: fixed; z-index: -1; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh;
		background: #2f4a1e url(../../../images/bgs.jpg) center top / cover no-repeat;
		pointer-events: none;
	}
}
.snc-shell { max-width: 1020px; margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.wp-site-blocks { padding-bottom: 1.5rem; }

/* ===== top bar and logo board (Jeff, Oct 16) =====
 * A green bar across the top of every page holds the menu (Parents, Campers, Current Campers, Camp Jobs with their
 * drop-downs, then Dates & Rates, Contact, Login) and the search box. It stays at the top while the page scrolls.
 * Below it, the logo board with the social icons on its bottom plank. Up to 1023px wide the menu is the ☰ button, with
 * Login and the search box beside it in the bar. */
:root { --snc-green: #7a9930; --snc-green-dark: #4e6320; --snc-green-text: #4e6320; --snc-green-tint: #e9eedc; --snc-green-light: #b0ce64; } /* light: the same green for words on the dark wood */
.snc-site-header { position: sticky; top: var(--snc-admin-offset, 0px); z-index: 10010; margin-block-start: 0 !important; }
.snc-topbar { background: var(--snc-green); border-bottom: 3px solid var(--snc-green-dark); box-shadow: 0 2px 5px rgba(20, 8, 2, 0.3); }
.snc-strip {
	min-height: 48px; padding: 0 12px !important;
	gap: 0.75rem !important;
	align-items: center !important;
	font-size: 15px;
}
.snc-strip .wp-block-navigation { font-size: 15px; }
.snc-strip .wp-block-navigation a,
.snc-strip .wp-block-navigation .wp-block-navigation-item__content { color: #2d0a01; font-weight: 700; padding: 6px; text-decoration: none; }
.snc-strip .wp-block-navigation a:hover,
.snc-strip .wp-block-navigation a:focus { color: #2d0a01; text-decoration: underline; }
.snc-strip .wp-block-navigation__submenu-icon svg { stroke: #2d0a01; }
/* laptops: the items fill the bar's height; the section being read is the darker green */
@media (min-width: 1024px) {
	.snc-strip .wp-block-navigation__container { gap: 0 !important; }
	.snc-strip .wp-block-navigation__container > .wp-block-navigation-item { align-self: stretch; align-items: center; }
	/* one line per item: the labels never break (Comic Sans, the camp's font on Windows and Mac, is wide), and the bar's
	 * parts are sized so the seven items, the language list and the search box fit from 1024px up */
	.snc-strip .wp-block-navigation__container > .wp-block-navigation-item { flex-shrink: 0; }
	.snc-strip .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { padding: 13px 7px; white-space: nowrap; }
	.snc-strip .wp-block-navigation__container > .wp-block-navigation-item.has-child > .wp-block-navigation-item__content { padding-right: 2px; }
	.snc-strip .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-submenu__toggle { padding: 13px 7px 13px 3px; height: 100%; }
	.snc-strip__extras { gap: 10px !important; flex-shrink: 0; }
	.snc-strip .snc-lang__select { width: 104px; }
	.snc-strip .wp-block-search__inside-wrapper { width: 124px !important; }
	.snc-strip .wp-block-navigation__container > .wp-block-navigation-item:hover,
	.snc-strip .wp-block-navigation__container > .wp-block-navigation-item:focus-within { background: rgba(255, 255, 255, 0.2); }
	/* the arrow beside a label takes the item's colour as it is (WordPress gives it "inherit", which doubled the light
	 * hover colour over the arrow), and the light background alone shows the item under the mouse */
	.snc-strip .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-submenu__toggle { background: transparent !important; }
	.snc-strip .wp-block-navigation__container > .wp-block-navigation-item > a.wp-block-navigation-item__content:hover { text-decoration: none; }
	/* is-snc-here (snc.js): Dates & Rates / Contact when that page is read, else the drop-down of the page's section */
	.snc-strip .wp-block-navigation__container > .wp-block-navigation-item.is-snc-here { background: var(--snc-green-dark); }
	.snc-strip .wp-block-navigation__container > .wp-block-navigation-item.is-snc-here > .wp-block-navigation-item__content { color: #fffaf0; }
	.snc-strip .wp-block-navigation__container > .wp-block-navigation-item.is-snc-here > .wp-block-navigation__submenu-icon svg { stroke: #fffaf0; }
	/* a page translated by Google: the longer words may take two lines (the bar grows) rather than run off the bar */
	.translated-ltr .snc-strip .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content,
	.translated-rtl .snc-strip .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { white-space: normal; }
	.translated-ltr .snc-strip .wp-block-navigation__container > .wp-block-navigation-item,
	.translated-rtl .snc-strip .wp-block-navigation__container > .wp-block-navigation-item { flex-shrink: 1; }
}
/* wider laptops and desktops: a little more room around each item, the full-size search box */
@media (min-width: 1200px) {
	.snc-strip .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { padding: 13px 10px; }
	.snc-strip .wp-block-navigation__container > .wp-block-navigation-item.has-child > .wp-block-navigation-item__content { padding-right: 2px; }
	.snc-strip .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-submenu__toggle { padding: 13px 10px 13px 4px; }
	.snc-strip .wp-block-search__inside-wrapper { width: 150px !important; }
}
.snc-strip .wp-block-navigation__submenu-container {
	background: #fffdf8 !important;
	border: 1px solid var(--snc-green-dark) !important;
	border-top: 3px solid var(--snc-green-dark) !important;
	min-width: 250px !important;
	max-height: calc(100vh - 90px); overflow-y: auto;
	box-shadow: 0 8px 18px rgba(20, 8, 2, 0.35);
}
.snc-strip .wp-block-navigation__submenu-container a { padding: 0.4rem 0.9rem !important; font-weight: 400; }
.snc-strip .wp-block-navigation__submenu-container a:hover,
.snc-strip .wp-block-navigation__submenu-container a:focus-visible { background: var(--snc-green-tint); text-decoration: none; }
.snc-strip .wp-block-navigation__submenu-container a[aria-current="page"] { color: var(--snc-green-text); font-weight: 700; }
.snc-strip .wp-block-navigation-item.snc-nav-sub > a { padding-left: 1.9rem !important; font-size: 14px; }
/* laptops: a green dot before each page in a drop-down (smaller for the pages under another), the line under the
 * mouse in green, and the side menu's green pointer at the page being read (Jeff, Oct 16: "green dots? … or the title
 * turn green?") */
@media (min-width: 1024px) {
	.snc-strip .wp-block-navigation__submenu-container a { position: relative; padding-left: 1.85rem !important; }
	.snc-strip .wp-block-navigation__submenu-container a::before {
		content: ""; position: absolute; left: 0.85rem; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%;
		background: var(--snc-green);
	}
	.snc-strip .wp-block-navigation-item.snc-nav-sub > a { padding-left: 2.85rem !important; }
	.snc-strip .wp-block-navigation-item.snc-nav-sub > a::before { left: 1.9rem; width: 5px; height: 5px; margin-top: -2.5px; }
	.snc-strip .wp-block-navigation__submenu-container a:hover,
	.snc-strip .wp-block-navigation__submenu-container a:focus-visible { color: var(--snc-green-text) !important; }
	.snc-strip .wp-block-navigation__submenu-container a:hover::before,
	.snc-strip .wp-block-navigation__submenu-container a:focus-visible::before { background: var(--snc-green-dark); }
	.snc-strip .wp-block-navigation__submenu-container a[aria-current="page"]::before {
		width: 0; height: 0; margin-top: -6px; border-radius: 0; background: none !important;
		border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--snc-green);
	}
	.snc-strip .wp-block-navigation-item.snc-nav-sub > a[aria-current="page"]::before { left: 1.75rem; }
}
@media (min-width: 1024px) and (forced-colors: active) {
	.snc-strip .wp-block-navigation__submenu-container a::before { background: CanvasText; }
	.snc-strip .wp-block-navigation__submenu-container a[aria-current="page"]::before { border-left-color: CanvasText; }
}
/* Login beside the ☰ button (phones and tablets; on laptops it is in the menu) */
.snc-topbar__login {
	display: none; padding: 5px 11px; border: 1px solid var(--snc-green-dark); border-radius: 4px;
	background: #fffaf0; color: #2d0a01 !important; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none !important; white-space: nowrap;
}
.snc-topbar__login:hover, .snc-topbar__login:focus-visible { background: #2d0a01; color: #fffaf0 !important; }
/* Dates & Rates beside Login on phones and tablets, as the home page's "Dates & Rates, Sign up Today!" picture (Jeff,
 * Oct 19: "the art work like on page one"), so it shows without opening the menu. On laptops Dates & Rates is in the
 * bar's menu. */
.snc-topbar__art { display: none; }
@media (max-width: 1023px) {
	.snc-topbar__art { display: inline-flex; align-items: center; line-height: 0; border-radius: 3px; text-decoration: none !important; }
	.snc-topbar__art img { display: block; width: auto; height: 44px; border-radius: 3px; box-shadow: 0 1px 2px rgba(20, 8, 2, 0.35); }
	.snc-topbar__art:hover img { filter: brightness(1.06); }
	.snc-topbar__art:focus-visible { outline: 3px solid #2d0a01; outline-offset: 2px; }
	.snc-strip__extras { gap: 8px !important; }
}
/* narrow phones: the bar's picture and Login keep to one line */
@media (max-width: 419px) {
	.snc-strip { padding: 0 8px !important; gap: 4px !important; }
	.snc-strip__extras { gap: 6px !important; }
	.snc-topbar__art img { height: 40px; }
	.snc-topbar__login { font-size: 14px; padding: 5px 7px; }
}
@media (max-width: 349px) {
	.snc-topbar__art img { height: 34px; }
	.snc-topbar__login { font-size: 13px; padding: 4px 5px; }
}
/* the ☰ menu up to 1023px (WordPress switches at 600px; the full menu needs a laptop's width) */
@media (max-width: 1023px) {
	.snc-topbar__login { display: inline-block; }
	.snc-strip .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.snc-strip .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
/* the logo board under the bar */
.snc-site-banner { margin-block-start: 10px !important; }
.snc-header { padding: 0 !important; position: relative; }
/* The board's bottom plank held the old menu; with the menu in the green bar it was an empty strip, so the board ends
 * just under the dark sign (a thin edge of the plank kept: 156 of the picture's 176 rows), and the social icons sit on
 * the top plank, on the left, across from the phone number and email. Sizes follow the board's width (cqw). */
.snc-banner { container-type: inline-size; }
.snc-header .snc-logo { display: block; line-height: 0; overflow: hidden; aspect-ratio: 884 / 156; }
.snc-header .snc-logo img { display: block; width: 100%; height: auto; }
/* "and Kindness Matters" fades out and back in, as on the old site's moving board (home.gif, 2021: the board without the
 * words for 6 s, the words for 6 s, 0.63 s fades). A piece of the board without the words (taken from that GIF, soft
 * edges) lies over them and fades in and out; visitors who ask for less motion see the words all the time. */
.snc-header .snc-logo { position: relative; }
.snc-header .snc-logo::after {
	content: ""; position: absolute; left: 51.81%; top: 66.667%; width: 36.652%; height: 26.923%;
	background: url(assets/img/kindness-cover.webp) 0 0 / 100% 100% no-repeat; opacity: 0; pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
	.snc-header .snc-logo::after { animation: snc-kindness 13.26s linear infinite; }
}
@keyframes snc-kindness {
	0%, 45.25% { opacity: 0; }
	50%, 95.25% { opacity: 1; }
	100% { opacity: 0; }
}
.snc-banner .snc-social { position: absolute; left: 1.9cqw; top: 0; height: 2.49cqw; margin: 0 !important; display: flex; align-items: center; gap: 0.7cqw; }
.snc-banner .snc-social img { display: block; width: 2cqw; height: auto; }
@media (max-width: 781px) {
	.snc-site-banner { margin-block-start: 0 !important; }
	.snc-banner .snc-social { display: none; }
}
/* ===== phone menu (the drawer that opens from the ☰ button) =====
 * a wood bar with the frog and a round close button; big rows with the side menu's brass bullets; "Parents" folds open
 * with its own button; Sign Up, phone, email and the social icons at the bottom (added by snc.js) */
.snc-strip .wp-block-navigation__responsive-container-open {
	width: 44px; height: 44px; margin-left: -8px; align-items: center; justify-content: center; color: #2d0a01; border-radius: 6px;
}
.snc-strip .wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; }
.snc-strip .wp-block-navigation__responsive-container-open:focus-visible { outline: 3px solid var(--snc-green-dark); outline-offset: 0; }
.snc-strip .wp-block-navigation__responsive-container.is-menu-open {
	padding: 0 !important; background: #f7eedb; color: #2d0a01;
	animation: snc-drawer-in 0.22s ease-out;
}
@keyframes snc-drawer-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.snc-strip .wp-block-navigation__responsive-container.is-menu-open { animation: none; }
}
.snc-strip .is-menu-open .wp-block-navigation__responsive-close { max-width: none; }
.snc-strip .is-menu-open .wp-block-navigation__responsive-dialog { margin-top: 0 !important; }
.snc-strip .is-menu-open .wp-block-navigation__responsive-dialog::before {
	content: ""; display: block; height: 68px; border-bottom: 4px solid #a55d28;
	background: url(../../../images/snc.png) 14px 50% / auto 56px no-repeat, #4a2e1c url(../../../images/wood2s.jpg) center / cover;
}
.snc-strip .is-menu-open .wp-block-navigation__responsive-container-close {
	top: 12px !important; right: 12px !important; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
	border-radius: 50%; background: rgba(255, 250, 240, 0.18); color: #fffaf0; border: 2px solid rgba(255, 250, 240, 0.7);
}
.snc-strip .is-menu-open .wp-block-navigation__responsive-container-close svg { width: 26px; height: 26px; fill: currentColor; }
.snc-strip .is-menu-open .wp-block-navigation__responsive-container-close:focus-visible { outline: 3px solid var(--snc-green); outline-offset: 2px; }
.snc-strip .is-menu-open .wp-block-navigation__responsive-container-content {
	padding: 6px 0 32px !important; align-items: stretch !important; gap: 0 !important;
}
.snc-strip .is-menu-open .wp-block-navigation__container { width: 100%; gap: 0 !important; align-items: stretch !important; }
/* Each row is a grid: the link, its open/close button, and the opened list on a line of its own under both. (With a
 * wrapping flex row, Safari on iPhones kept the row one line tall, so an opened list ran over the rows below it —
 * Jeff's screenshot, Oct 18: Teen Campers and Camper FAQs on top of Current Campers and Camp Jobs.) */
.snc-strip .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item {
	display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: center !important; justify-content: stretch !important;
	width: 100%; height: auto !important; border-bottom: 1px dashed #caab8c; text-align: left;
}
.snc-strip .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > a { grid-column: 1; grid-row: 1; min-width: 0; }
.snc-strip .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .snc-drawer__toggle { grid-column: 2; grid-row: 1; }
.snc-strip .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation__submenu-container {
	grid-column: 1 / -1; grid-row: 2; position: static !important; height: auto !important; overflow: visible !important;
}
.snc-strip .is-menu-open .wp-block-navigation__submenu-container { align-items: stretch !important; }
.snc-strip .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > a {
	position: relative; flex: 1 1 auto; padding: 13px 16px 13px 46px !important; font-size: 19px !important; line-height: 1.3;
	color: #2d0a01; font-weight: 700; text-decoration: none;
}
.snc-strip .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > a::before {
	content: ""; position: absolute; left: 20px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%;
	background: radial-gradient(circle at 38% 35%, #fffef9 0, #f3ecdb 18%, #cdb27d 45%, #a67a1f 75%, #996600 100%);
}
.snc-strip .is-menu-open a[aria-current="page"] { color: var(--snc-green-text) !important; }
.snc-strip .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > a[aria-current="page"]::before,
.snc-strip .is-menu-open .wp-block-navigation__submenu-container a[aria-current="page"]::before {
	width: 0; height: 0; margin-top: -8px; border-radius: 0; background: none;
	border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--snc-green); filter: drop-shadow(0 0 1px var(--snc-green-dark));
}
.snc-strip .is-menu-open .has-child.is-snc-here > a { color: var(--snc-green-text); }
/* "Parents": a button added by snc.js opens and closes the list of Parents pages (closed to start with, open when the
 * page being read is in it). WordPress keeps every list open in this drawer, so its own small arrow is not used here. */
.snc-drawer__toggle { display: none; }
.snc-strip .is-menu-open .wp-block-navigation-submenu__toggle { display: none !important; }
.snc-strip .is-menu-open .snc-drawer__toggle {
	display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
	width: 46px; height: 46px; margin: 0 12px 0 0; padding: 0; border: 0;
	border-radius: 6px; background: #7c5127; color: #fffaf0; cursor: pointer;
}
.snc-drawer__toggle svg { width: 18px; height: 18px; transition: transform 0.15s; }
.snc-drawer__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.snc-strip .is-menu-open .snc-drawer__toggle:focus-visible { outline: 3px solid var(--snc-green-dark); outline-offset: 2px; }
.snc-strip .is-menu-open .has-child:not(.is-snc-open) > .wp-block-navigation__submenu-container { display: none !important; }
.snc-strip .is-menu-open .wp-block-navigation__submenu-container {
	flex: 0 0 100%; width: 100% !important; min-width: 0 !important; margin: 0 !important; padding: 2px 0 10px !important;
	background: rgba(255, 253, 248, 0.75) !important; border: 0 !important; border-top: 1px dashed #caab8c !important; box-shadow: none !important;
}
.snc-strip .is-menu-open .wp-block-navigation__submenu-container a {
	position: relative; display: block; padding: 9px 16px 9px 58px !important; font-size: 17px !important; line-height: 1.3; font-weight: 400;
	color: #2d0a01; text-decoration: none;
}
.snc-strip .is-menu-open .wp-block-navigation__submenu-container a::before {
	content: ""; position: absolute; left: 40px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #a67a1f;
}
.snc-strip .is-menu-open .wp-block-navigation__submenu-container a:hover { background: #f1e3c8; }
.snc-strip .is-menu-open a:focus-visible { outline: 3px solid var(--snc-green-dark); outline-offset: -3px; }
/* bottom of the drawer: Sign Up, phone, email, social icons (only in the open drawer) */
.snc-drawer__extras, .snc-drawer__top { display: none; }
.snc-strip .is-menu-open .snc-drawer__extras { display: block; padding: 22px 20px 0; text-align: center; }
/* "Sign Up Today" heads the menu (snc.js) */
.snc-strip .is-menu-open .snc-drawer__top { display: block; padding: 10px 16px 12px; border-bottom: 1px dashed #caab8c; text-align: center; }
.snc-strip .is-menu-open .snc-drawer__top .snc-drawer__signup { margin: 0; }
.snc-drawer__signup {
	display: block; margin: 0 0 18px; padding: 13px 16px; border-radius: 6px; background: var(--snc-green); color: #2d0a01 !important;
	font-size: 19px; font-weight: 700; text-decoration: none !important; box-shadow: 0 2px 0 var(--snc-green-dark);
}
.snc-drawer__signup:hover, .snc-drawer__signup:focus-visible { background: #2d0a01; color: #fffaf0 !important; }
.snc-drawer__contact { margin: 0 0 14px; font-size: 17px; line-height: 1.7; }
.snc-drawer__contact a { color: #2d0a01 !important; font-weight: 700; }
.snc-strip .is-menu-open .snc-drawer__extras .snc-social { display: flex !important; justify-content: center; gap: 14px; }
.snc-strip .is-menu-open .snc-drawer__extras .snc-social img { width: 34px; height: auto; border-radius: 50%; background: #7c5127; }
.snc-strip .snc-social img { width: 26px; height: auto; }
.snc-strip .wp-block-search__input { border: 1px solid var(--snc-green-dark); border-radius: 3px 0 0 3px; padding: 2px 8px; font: inherit; font-size: 14px; background: #fff; height: 30px; min-height: 0; }
.snc-strip .wp-block-search__button { background: #2d0a01; color: #fffaf0; border-radius: 0 3px 3px 0; padding: 2px 8px; height: 30px; min-height: 0; margin-left: 0; }
.snc-strip .wp-block-search__button svg { width: 16px; height: 16px; min-width: 0; min-height: 0; }
@media (max-width: 1023px) {
	/* phones and tablets: the search box stays (with its live results) next to Login */
	.snc-strip .wp-block-search__input { width: 130px !important; font-size: 16px; height: 32px; }
	.snc-strip .wp-block-search__button { height: 32px; }
}
@media (max-width: 359px) {
	.snc-strip .wp-block-search__input { width: 104px !important; }
}
/* phones: the search box is in the open menu's wood bar, between the frog (moved to the left) and the close button,
   instead of in the green bar (snc.js; Jeff, Oct 18: "maybe on mobile can put search in top bar in the menu", then
   "maybe move the frog to left a bit to make room") — on its own line it pushed "Sign Up Today" down */
.snc-drawer__search { display: none; }
.snc-strip .is-menu-open .wp-block-navigation__responsive-dialog { position: relative; }
.snc-strip .is-menu-open .wp-block-navigation__responsive-dialog:has(.snc-drawer__search)::before { background-position: 6px 50%, center; background-size: auto 46px, cover; }
.snc-strip .is-menu-open .snc-drawer__search { display: block; position: absolute; top: 12px; left: 74px; right: 66px; z-index: 3; margin: 0; padding: 0; }
.snc-strip .is-menu-open .snc-drawer__search .wp-block-search__inside-wrapper { width: 100% !important; }
.snc-strip .is-menu-open .snc-drawer__search .wp-block-search__input { flex: 1 1 auto; width: auto !important; min-width: 0; height: 44px; font-size: 16px; border-color: #2d0a01; }
.snc-strip .is-menu-open .snc-drawer__search .wp-block-search__button { height: 44px; padding: 0 12px; }
.snc-strip .is-menu-open .snc-drawer__search .wp-block-search__button svg { width: 20px; height: 20px; }
/* the quick results open across the menu, not just under the box */
.snc-strip .snc-drawer__search .snc-live { left: -62px; right: -54px; }
/* the language list (snc.js): beside the search box from 640px wide, at the bottom of the phone menu always */
.snc-lang__select {
	box-sizing: border-box; height: 30px; max-width: 128px; padding: 0 6px; border: 1px solid var(--snc-green-dark); border-radius: 3px;
	background: #fffaf0; color: #2d0a01; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.snc-lang__select:focus-visible { outline: 3px solid #2d0a01; outline-offset: 1px; }
@media (max-width: 1023px) {
	.snc-strip .snc-lang__select { height: 32px; font-size: 16px; }
}
/* (up to 699px: room in the bar for Dates & Rates and Sign Up Today; the list is in the phone menu too) */
@media (max-width: 699px) {
	.snc-strip__extras .snc-lang { display: none; }
}
.snc-drawer__lang { margin: 18px 0 0; }
.snc-drawer__lang .snc-lang__select { width: 100%; max-width: 280px; height: 44px; padding: 0 10px; font-size: 17px; }
/* Google Translate: its own bar, pop-ups and highlight are not shown, and the page does not move down under the bar */
body { top: 0 !important; }
iframe.skiptranslate, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip, #snc-gt,
.VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, .VIpgJd-ZVi9od-l4eHX-hSRGPd { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* ===== shared panel: parchment with the light plank (mtt.png) frame ===== */
.snc-panel {
	background: rgba(247, 238, 219, 0.96);
	border-style: solid;
	border-color: #caab8c;
	border-width: 12px 14px;
	border-image: url(../../../images/mtt.png) 28 1 1 1;
	margin-top: 50px !important;
	padding: 15px 15px 50px !important;
}
@media (max-width: 781px) {
	.snc-panel { border-width: 8px 6px; margin-top: 1rem !important; padding: 12px 10px 30px !important; }
}
.snc-panel h1, .snc-panel h2 { text-align: center; }
.snc-panel h1.wp-block-post-title { margin: 0 0 1.25rem; font-size: 26px; font-weight: 400; }
.snc-panel .snc-post-list h2.wp-block-post-title { text-align: left; }

/* ===== homepage =====
 * Desktop sizes follow the live home page as it looked on 16 Apr 2026 (the client's reference, web.archive.org):
 * video frame 609 wide · four 205×215 tiles on 255px columns · 404×104 "Dates & Rates" banner ·
 * 661px text column + 331px side column (frog, tan quote board, hanging signboard) · two 446px wood sliders.
 * Rules are prefixed with .snc-front so they win over the content guards further down. */
.snc-front { margin-top: 50px !important; }
@media (max-width: 781px) { .snc-front { margin-top: 1rem !important; } }

/* video in a brown frame, 609 wide */
.snc-front .snc-video { max-width: 609px; margin: 0 auto 60px !important; }
.snc-front .snc-video iframe {
	display: block;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 609 / 336 !important;
	box-sizing: border-box;
	border: solid #a85a24;
	border-width: 8px 10px;
	border-image: url(../../../images/right23.jpg) 1 repeat;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
	background: #000;
}
@media (max-width: 781px) {
	.snc-front .snc-video { margin-bottom: 1.25rem !important; }
	.snc-front .snc-video iframe { border-width: 6px; }
}

/* four tiles: 205×215 on 255px columns (50px apart) */
.snc-front .snc-tiles { justify-content: center; gap: 50px !important; margin: 0 auto 30px !important; max-width: none; }
.snc-front .snc-tiles > .wp-block-column { flex: 0 1 205px !important; min-width: 0; }
.snc-front .snc-tiles .wp-block-image { margin: 0; }
.snc-front .snc-tiles .wp-block-image img { display: block; width: 100%; max-width: 205px; height: auto; aspect-ratio: 205 / 215; object-fit: cover; transition: transform 0.2s; }
.snc-front .snc-tiles .wp-block-image a:hover img, .snc-front .snc-tiles .wp-block-image a:focus img { transform: scale(1.04); }
@media (max-width: 1000px) { .snc-front .snc-tiles { gap: 3% !important; padding: 0 2%; } }
@media (max-width: 781px) {
	.snc-front .snc-tiles.wp-block-columns { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px !important; margin-bottom: 1.25rem !important; }
	.snc-front .snc-tiles .wp-block-image img { max-width: 100%; }
}

/* "Dates & Rates – Sign Up Today!" banner, 404×104, centred */
.snc-front .snc-board { background: none; padding: 0 !important; margin: 0 auto 10px !important; max-width: 404px; }
.snc-front .snc-board .wp-block-image { margin: 0 auto; text-align: center; line-height: 0; }
.snc-front .snc-board .wp-block-image a { display: inline-block; transition: transform 0.2s; }
.snc-front .snc-board .wp-block-image a:hover, .snc-front .snc-board .wp-block-image a:focus { transform: scale(1.03); }
.snc-front .snc-board .wp-block-image img { display: block; width: 404px; max-width: 100%; height: auto; }
@media (max-width: 781px) { .snc-front .snc-board { margin-bottom: 1rem !important; } }

/* the big panel: wood frame, text column + side column */
.snc-panel--home {
	background: rgba(196, 156, 136, 0.54) url(../../../images/mtts.png) 0 0 / contain repeat-y;
	border-image: url(../../../images/mtt.png) 28 0 1 0;
	border-color: transparent;
	margin-top: 0 !important;
	padding: 15px 0 50px !important;
}
.snc-front .snc-home-cols { gap: 0 !important; align-items: flex-start !important; padding: 0; }
@media (min-width: 782px) {
	.snc-front .snc-home-cols > .wp-block-column { box-sizing: border-box; }
	.snc-front .snc-home-cols > .wp-block-column:first-child { flex: 1 1 auto !important; min-width: 0; padding: 0 15px; }
	.snc-front .snc-home-cols > .wp-block-column:last-child { flex: 0 0 331px !important; margin-top: -40px; padding: 0 15px; }
}
@media (min-width: 782px) and (max-width: 960px) {
	.snc-front .snc-home-cols > .wp-block-column:last-child { flex-basis: 300px !important; padding: 0 8px; }
}
.snc-about { color: #fff; font-size: 17px; text-shadow: 1px 1px 2px rgba(45, 10, 1, 0.75); padding: 10px 0; }
.snc-about h1 { font-size: 30px; font-weight: 400; color: #fff; text-align: center; margin: 0 0 0.5rem; }
.snc-about h2, .snc-about h3 { color: #fff; text-align: center; font-weight: 400; }
.snc-about span, .snc-about strong { color: #fff !important; }
.snc-about a { color: #fff; text-decoration: underline; }
.snc-about img { max-width: 100%; height: auto; }
.snc-frog { text-align: center; margin: 0 !important; line-height: 0; }
.snc-frog img { width: 154px; height: auto; }

/* tan sidebar box with wood rails, used on the home page and inner pages.
 * bimager.jpg has dark wood edges (about 13px at this width), so text keeps well clear of them. */
.snc-quote, .snc-sidebox {
	background: #d4a972 url(../../../images/bimager.jpg) center top / contain repeat-y;
	border-style: solid;
	border-color: #a85a24 transparent;
	border-width: 9px 0;
	border-image: url(../../../images/right2.jpg) 30 55 19 0;
	padding: 0 11px 8px !important;
	margin: 0 !important;
}
.snc-quote { color: #2d0a01; font-size: 17px; line-height: 20px; padding: 12px 20px 10px !important; }
.snc-quote p, .snc-quote span, .snc-quote strong, .snc-quote em { color: #2d0a01 !important; }
/* the quote's pasted text carries 13pt/14pt sizes: the board reads at 17px like the original */
.snc-quote .chkBxx > p, .snc-quote .chkBxx > p * { font-size: 17px !important; line-height: 20px !important; }
.snc-quote p { margin: 0 0 10px; }
.snc-quote .chkBxx1, .snc-quote ul {
	background: #4a2e1c url(../../../images/wood2s.jpg) center top repeat;
	border-top: 3px solid #8b4d22;
	border-bottom: 3px solid #8b4d22;
	padding: 6px 8px 4px;
	margin: 10px -6px;
	list-style: none;
}
.snc-quote .chkBxx1 ul { border: 0; margin: 0; padding: 0; background: none; }
.snc-quote li, .snc-quote li span, .snc-quote li strong, .snc-quote li em, .snc-quote li a, .snc-quote .chkBxx1 span, .snc-quote .chkBxx1 p {
	color: #fff !important;
}
.snc-quote li {
	font-size: 18px;
	font-weight: 700;
	line-height: 26px;
	padding: 4px 0 6px 25px;
	margin: 0 0 0 5px;
	background: url(../../../images/check.png) left 8px / 18px 18px no-repeat;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
}
/* two planks hanging by their chains from the bottom rail of the quote board, a label in the middle of each */
.snc-signboard {
	display: grid;
	grid-template-rows: 36px 36px;
	row-gap: 14px;
	box-sizing: border-box;
	height: 109px;
	padding: 21px 0 0 !important;
	margin: 0 !important;
	background: url(../../../images/signboard_t_2.png) 50% 0 / 223px 108px no-repeat;
	text-align: center;
}
.snc-signboard p { display: flex; align-items: center; justify-content: center; margin: 0 !important; line-height: 1.1; }
.snc-signboard a { color: #2d0a01; font-weight: 700; text-decoration: none; font-size: 16px; }
.snc-signboard a:hover, .snc-signboard a:focus { color: #000; text-decoration: underline; }
@media (max-width: 781px) {
	.snc-front .snc-home-cols > .wp-block-column:last-child { margin-top: 1.5rem; flex-basis: auto !important; width: 100%; max-width: 331px; margin-inline: auto; padding: 0; }
	.snc-about { padding: 0 6px; }
	.snc-about h1 { font-size: 26px; }
}

/* ===== wood boards with post sliders ("Blog Thoughts", "Parent Resources"), bottom of the home panel ===== */
.snc-front .snc-boards { gap: 0 !important; margin: 30px 50px 0 !important; }
.snc-boards > .wp-block-column {
	background: #4a2e1c url(../../../images/wood2s.jpg) 0 0 / cover repeat-x;
	min-height: 345px;
	padding: 0 !important;
	flex-basis: 50% !important;
	border-radius: 10px 0 0 10px;
}
.snc-boards > .wp-block-column:last-child { border-radius: 0 10px 10px 0; border-left: 1px solid rgba(255, 250, 240, 0.35); }
@media (max-width: 781px) {
	.snc-front .snc-boards { margin: 1.5rem 0 0 !important; gap: 10px !important; }
	.snc-boards > .wp-block-column, .snc-boards > .wp-block-column:last-child { min-height: 0; border-radius: 10px; border-left: 0; padding-bottom: 6px !important; }
}
.snc-slider { position: relative; }
.snc-slider__head { padding: 15px 15px 0; min-height: 60px; box-sizing: border-box; }
.snc-slider__head h2 { color: #fff; font-size: 22px; font-weight: 700; line-height: 30px; margin: 0; text-align: left; }
.snc-slider__head h2 a { color: #fff; text-decoration: none; }
.snc-slider__head h2 a:hover, .snc-slider__head h2 a:focus { text-decoration: underline; }
/* prev / pause / next: small grey circles at the right, just under the heading */
.snc-slider__nav { position: absolute; top: 64px; right: 12px; display: flex; gap: 4px; z-index: 1; }
.snc-slider__nav button {
	width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.55); cursor: pointer; padding: 0;
	background: rgba(140, 140, 140, 0.9); color: #fff; font: 700 22px/24px Arial, sans-serif; text-align: center;
}
.snc-slider__nav .snc-slider__pause { font-size: 9px; letter-spacing: -1px; line-height: 26px; }
.snc-slider__nav .snc-slider__pause[aria-pressed="true"] { font-size: 11px; letter-spacing: 0; padding-left: 2px; }
.snc-slider__nav button:hover, .snc-slider__nav button:focus-visible { background: var(--snc-green); color: #2d0a01; outline: 2px solid #fff; outline-offset: 1px; }
.snc-slider__track { padding: 8px 10px 10px; }
/* a slide: the title across the top, picture on the left, intro and READ MORE beside it */
.snc-slide {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-rows: auto auto 1fr;
	grid-template-areas: "title title" "img text" "img more";
	align-items: start;
}
.snc-slide[hidden] { display: none; }
.snc-slide--noimg { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "text" "more"; }
.snc-slide__title { grid-area: title; margin: 20px 0 0; padding: 10px 0 15px; font-size: 16px; font-weight: 700; text-transform: uppercase; line-height: 24px; text-align: left; }
.snc-slide__title a { color: var(--snc-green-light); text-decoration: none; }
.snc-slide__title a:hover, .snc-slide__title a:focus { text-decoration: underline; }
.snc-slide__img { grid-area: img; margin: 5px 20px 10px; line-height: 0; }
.snc-slider .snc-slide__img img { width: 180px; height: 160px; object-fit: cover; border: 2px solid #fff; display: block; }
.snc-slide__text { grid-area: text; color: #fff; margin: 0; font-size: 17px; line-height: 24px; }
.snc-readmore {
	grid-area: more; justify-self: start; align-self: start; margin-top: 18px;
	display: inline-block; background: var(--snc-green); color: #2d0a01 !important; border-radius: 3px;
	font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 8px 10px 8px 11px; text-decoration: none; line-height: 1.3;
}
.snc-readmore:hover, .snc-readmore:focus { background: #fffaf0; }
@media (max-width: 1000px) {
	.snc-slide__img { margin: 5px 14px 10px 0; }
	.snc-slider .snc-slide__img img { width: 130px; height: 116px; }
}
@media (max-width: 520px) {
	.snc-slide { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "img" "text" "more"; }
	.snc-slide__img { margin: 0 0 10px; }
	.snc-slider .snc-slide__img img { width: 100%; height: 170px; }
}

/* ===== inner pages: content + sidebar ===== */
.snc-layout { gap: 0 !important; }
.snc-layout > .wp-block-column:first-child { padding: 0 15px; }
.snc-aside { padding: 0 0 0 11px; }
/* desktop: the sidebar reaches the panel's inner edge (old layout: text column 714px, tan board 248px) */
@media (min-width: 782px) {
	main.snc-panel > .snc-layout { margin-right: -15px !important; }
	.snc-aside { padding-left: 6px; }
}
.snc-aside .snc-frog { margin-top: -46px !important; position: relative; z-index: 2; }
.snc-sidebox > * + * { margin-top: 0; }
.snc-testimonials {
	background: #4a2e1c url(../../../images/wood2s.jpg) 0 0 repeat;
	color: #fff;
	padding: 12px 14px 10px;
	margin: 0 0 10px;
	text-align: left;
}
/* a bit smaller, no pause button (Jeff, Oct 15); the quotes stop while the mouse is over the box */
.snc-testimonials .snc-box-title { color: #fff; font-size: 22px; font-weight: 700; text-align: center; margin: 0 0 6px; }
.snc-testimonial { margin: 0; min-height: 150px; transition: opacity 0.6s; }
.snc-testimonial p { margin: 0; color: #fff; font-size: 17px; font-weight: 700; line-height: 26px; }
.snc-testimonial cite { display: block; font-style: italic; text-align: right; margin-top: 0.5rem; color: #fff; font-weight: 400; font-size: 16px; line-height: 24px; }
.snc-testimonial.is-fading { opacity: 0; }
.snc-testimonials__pause {
	display: block; margin: 8px 0 0 auto; padding: 2px 10px; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 3px;
	background: transparent; color: #fff; font: inherit; font-size: 13px; cursor: pointer;
}
.snc-testimonials__pause:hover, .snc-testimonials__pause:focus-visible { background: rgba(255, 255, 255, 0.15); }
.snc-testimonials__pause[hidden] { display: none; }
.snc-testimonials:focus-visible { outline: 3px solid var(--snc-green); outline-offset: 2px; }
.snc-box-title { font-size: 1.15rem; margin: 0 0 0.5rem; }
.snc-box-title a { text-decoration: none; color: inherit; }
/* the old sidebar menu: brown bullet, bold bark links; the open section's pages in green */
.snc-section-nav ul { list-style: none; margin: 0; padding: 0; }
.snc-section-nav > ul > li > a {
	position: relative;
	display: block; padding: 7px 4px 7px 18px;
	color: #2d0a01; font-size: 17px; font-weight: 700; line-height: 28px; text-decoration: none;
}
.snc-section-nav > ul > li > a::before {
	content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%;
	background: radial-gradient(circle at 38% 35%, #fffef9 0, #f3ecdb 18%, #cdb27d 45%, #a67a1f 75%, #996600 100%);
}
.snc-section-nav ul.children { padding-left: 15px; }
.snc-section-nav ul.children a { display: block; padding: 7px 4px 7px 15px; color: #2d0a01; font-size: 17px; font-weight: 700; line-height: 28px; text-decoration: none; }
.snc-section-nav a:hover, .snc-section-nav a:focus { text-decoration: underline; }
.snc-section-nav .current_page_item > a, .snc-section-nav ul.children .current_page_item > a { color: var(--snc-green-text); }
.snc-sidebox .snc-box { padding: 10px 2px; }
.snc-sidebox .snc-box + .snc-box { border-top: 1px dashed #a55d28; }
.snc-sidebox .wp-block-latest-posts a { color: #2d0a01; font-weight: 700; }
@media (max-width: 781px) {
	.snc-aside { padding: 0; margin-top: 2rem; }
	.snc-aside .snc-frog { margin-top: 0 !important; }
	.snc-layout > .wp-block-column:first-child { padding: 0; }
}

/* ===== content carried over from Joomla ===== */
.wp-block-post-content img, .wp-block-post-content iframe, .wp-block-post-content video { max-width: 100%; height: auto; }
.wp-block-post-content iframe[src*="youtube"], .wp-block-post-content iframe[src*="vimeo"] { aspect-ratio: 16 / 9; width: 100%; height: auto; }
.wp-block-post-content table { display: block; overflow-x: auto; max-width: 100%; border-collapse: collapse; }
/* old tables with a fixed height: as blocks the height would cut the table off and add a scrollbar inside it */
.wp-block-post-content table[style*="height"] { height: auto !important; }
.wp-block-post-content [style*="width"] { max-width: 100% !important; }
/* text pasted into old posts from other sites (news articles, page builders) carries fixed widths: keep it inside the page at every screen size */
.wp-block-post-content :where(p, li, ul, ol, div, nav, header, footer, aside, section, article, blockquote, figure, h1, h2, h3, h4, h5, h6) { max-width: 100%; }
.wp-block-post-content [style*="min-width"] { min-width: 0 !important; }
.wp-block-post-content :where([style*="display: flex"], [style*="display:flex"]) > * { min-width: 0; }
.wp-block-post-content { overflow-wrap: break-word; }
.wp-block-post-content :where(.alignleft, .alignright) { overflow-wrap: anywhere; } /* floated boxes size to their longest word: let long pasted links break */
.wp-block-post-content td, .wp-block-post-content th { padding: 0.35rem 0.5rem; vertical-align: top; }
.wp-block-post-content th { text-align: left; } /* as the old template (Bootstrap 3) set every table heading */
@media (max-width: 600px) {
	.wp-block-post-content img[style*="float"], .wp-block-post-content img[align] { float: none !important; display: block; margin: 0 auto 1rem !important; }
	.wp-block-post-content div.alignleft, .wp-block-post-content div.alignright { float: none !important; margin: 0 auto 1rem !important; }
	.wp-block-post-content [style*="width:"] { max-width: 100% !important; }
}
@media (max-width: 781px) {
	/* text pasted into old posts from other sites carries its own widths, paddings and flex rows */
	.wp-block-post-content { overflow-wrap: anywhere; }
	.wp-block-post-content :where(p, li, ul, ol, div, nav, header, footer, aside, section, article, blockquote, figure, h1, h2, h3, h4, h5, h6, img, video, iframe, table) { max-width: 100%; box-sizing: border-box; }
	.wp-block-post-content [style*="width"] { max-width: 100% !important; }
	.wp-block-post-content iframe:not([src*="youtube"]):not([src*="vimeo"]) { width: 100% !important; }
	.wp-block-post-content [style*="display: flex"], .wp-block-post-content [style*="display:flex"] { flex-wrap: wrap !important; }
	.wp-block-post-content [style*="padding-right"] { padding-right: 0 !important; }
	.wp-block-post-content [style*="min-width"], .wp-block-post-content [style*="width: 1"] { min-width: 0 !important; }
	/* broken old markup can push media outside the post content box: keep any picture or video inside the page */
	.snc-panel img, .snc-panel video, .snc-panel iframe { max-width: 100% !important; }
	.snc-panel iframe[src*="youtube"], .snc-panel iframe[src*="vimeo"] { width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; }
}
.wp-block-details {
	background: rgba(255, 250, 240, 0.8);
	border: 1px solid #a55d28; border-radius: 4px;
	padding: 0.5rem 0.9rem; margin-block: 0.75rem;
}
.wp-block-details summary { cursor: pointer; font-weight: 700; color: #8c491c; }
/* old "mooaccordion" rows: the wooden arrow, then the picture and title, which open the text (snc.js builds them) */
.wp-block-post-content details.snc-accordion { background: none; border: 0; border-radius: 0; padding: 0; margin: 0 0 12px; }
.wp-block-post-content details.snc-accordion > summary {
	display: block; list-style: none; padding: 0 0 0 35px; min-height: 32px;
	background: url(assets/img/accordion_bg.png) no-repeat 0 0; color: #2d0a01; font-weight: 700;
}
.wp-block-post-content details.snc-accordion > summary::-webkit-details-marker { display: none; }
.wp-block-post-content details.snc-accordion > summary * { color: #2d0a01; }
.wp-block-post-content details.snc-accordion > summary img { vertical-align: middle; margin: 0 10px 0 0; }
.wp-block-post-content details.snc-accordion > summary > .perenos { display: inline-block; vertical-align: middle; }
/* live-site rows (Health & Security): the title sits under its picture, as the plugin showed it */
.wp-block-post-content details.snc-accordion--rich > summary > .perenos { display: block; }
@media (max-width: 600px) {
	/* on a phone the picture sits above its title instead of squeezing it */
	.wp-block-post-content details.snc-accordion:not(.snc-accordion--rich) > summary img { display: block; margin: 0 0 6px; }
}
/* no underline on hover: on Parent Testimonials a row holds a whole paragraph, which then showed underlined (Jeff, Oct 15) */
.wp-block-post-content details.snc-accordion > summary:focus-visible { outline: 2px solid #7c5127; outline-offset: 2px; }
.wp-block-post-content details.snc-accordion[open] > summary { margin-bottom: 8px; }
/* a row made of a picture and a paragraph (Welcome Parents): its own weights, the picture floated beside the text */
.wp-block-post-content details.snc-accordion--rich > summary { font-weight: 400; }
.wp-block-post-content details.snc-accordion > summary::after,
.wp-block-post-content details.snc-accordion::after { content: ""; display: table; clear: both; }
.snc-section-links { columns: 2 240px; padding-left: 1.2rem; }
.snc-section-links li { break-inside: avoid; margin-bottom: 0.35rem; }

/* ===== blog lists ===== */
.snc-post-list .wp-block-post { border-bottom: 1px dashed #a55d28; padding-bottom: 1rem; }
.snc-post-list .wp-block-post-title { font-size: 1.3rem; margin-bottom: 0.25rem; }
.snc-post-list .wp-block-post::after { content: ""; display: block; clear: both; }
/* page numbers under the blog lists: real buttons, easy to tap on a phone */
.wp-block-query-pagination { gap: 0.4rem; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 1.5rem; font-weight: 700; }
.wp-block-query-pagination-numbers { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 !important; }
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers {
	display: inline-block; min-width: 2.5rem; padding: 0.5rem 0.75rem; box-sizing: border-box; text-align: center; line-height: 1.2;
	border: 1px solid #a55d28; border-radius: 4px; background: #fffaf0; color: #7c3a10; text-decoration: none;
}
.wp-block-query-pagination .page-numbers.current { background: #7c5127; border-color: #7c5127; color: #fffaf0; }
.wp-block-query-pagination .page-numbers.dots { min-width: 0; padding-inline: 0.15rem; border: 0; background: none; }
.wp-block-query-pagination a:hover, .wp-block-query-pagination a:focus-visible { background: var(--snc-green); color: #2d0a01; }
.snc-post-thumb { float: left; width: 150px; margin: 0.35rem 1rem 0.5rem 0; line-height: 0; }
.snc-post-thumb img { width: 100%; height: 112px; object-fit: cover; border: 3px solid var(--snc-green); box-sizing: border-box; background: #e9d8bb; }
@media (max-width: 480px) { .snc-post-thumb { width: 96px; margin-right: 0.75rem; } .snc-post-thumb img { height: 76px; } }
.snc-sidebox select, .snc-sidebox input[type="search"] { box-sizing: border-box; width: 100%; max-width: 100%; }
/* the blog sidebar's search box and topics list, at the size of the rest of the sidebar (they were 49px and 38px tall) */
.snc-sidebox .wp-block-search__inside-wrapper { align-items: stretch; }
.snc-sidebox .wp-block-search__input { height: 34px; min-height: 0; padding: 3px 8px; border: 1px solid #8c6a4a; border-radius: 3px; background: #fffdf8; font-size: 15px; }
.snc-sidebox .wp-block-search__button { height: 34px; min-height: 0; margin-left: 4px; padding: 0 9px; border-radius: 3px; background: #7c5127; color: #fffaf0; font-size: 15px; }
.snc-sidebox .wp-block-search__button svg { width: 18px; height: 18px; min-width: 0; min-height: 0; }
.snc-sidebox .wp-block-search__button:hover, .snc-sidebox .wp-block-search__button:focus-visible { background: #2d0a01; }
.snc-sidebox .wp-block-categories-dropdown select { height: 34px; min-height: 0; padding: 2px 6px; font: inherit; font-size: 15px; border: 1px solid #8c6a4a; border-radius: 3px; background: #fffdf8; }
.snc-meta { font-size: 0.85rem; color: #7c5127; }

/* ===== address strip (old "body bottom") ===== */
.snc-addresses {
	/* a plank along the bottom (mtt.png, the panel's own frame) closes the box (Jeff, Oct 15: "put a bottom line on the box with butterfly") */
	background: url(../../../images/mtt.png) center bottom / 100% 12px no-repeat, url(../../../images/mtts.png) center top / 920px auto no-repeat;
	margin: 0 50px !important;
	min-height: 110px;
	padding: 15px 20px 10px !important;
	align-items: center !important;
	gap: 1rem !important;
}
.snc-addresses p { margin: 0; color: #fff; font-size: 14px; line-height: 1.35; text-shadow: 1px 1px 1px rgba(45, 10, 1, 0.8); }
.snc-addresses a { color: #fff; font-weight: 700; }
.snc-addresses strong { color: #fff; }
.snc-addresses .snc-social { justify-content: flex-end; }
.snc-social { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.snc-social img { width: 32px; height: auto; }
.snc-butterfly img { width: 45px; height: auto; }
/* as on the live site (Jeff, Oct 15): the framed strip hangs right under the page panel, butterfly on the left,
   the two offices, then Facebook's page box and the social icons */
footer.wp-block-template-part { margin-block-start: 0 !important; }
footer .snc-shell > .snc-addresses { margin-top: 0 !important; }
.snc-addresses { height: 122px; min-height: 0; box-sizing: border-box; padding: 12px 24px 20px 30px !important; gap: 12px !important; flex-wrap: nowrap !important; }
.snc-addresses > .wp-block-column { align-self: center; }
.snc-addresses .snc-butterfly { margin: 0 !important; text-align: center; }
/* the butterfly sits on the strip's left frame, half on the box and half off (Jeff, Oct 16: "can the butterfly be on the
 * edge of the … frame, like 1/2 on box and 1/2 off"); its column stays as a little room before the Winter office */
@media (min-width: 782px) {
	.snc-addresses { position: relative; }
	.snc-addresses .snc-butterfly { position: absolute; left: 0; top: calc(50% - 6px); transform: translate(-50%, -50%); line-height: 0; z-index: 1; }
	.snc-addresses > .wp-block-column:first-child { flex-basis: 3% !important; }
}
.snc-strip-right { display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding-left: 14px; border-left: 3px solid rgba(255, 250, 240, 0.85); }
.snc-strip-right > * { margin: 0 !important; }
.snc-fb { flex: 0 0 180px; height: 70px; background: rgba(255, 255, 255, 0.85); border-radius: 3px; overflow: hidden; }
.snc-fb iframe { display: block; width: 180px; height: 70px; border: 0; }
.snc-addresses .snc-social { flex-wrap: nowrap; }
@media (max-width: 781px) {
	.snc-addresses { height: auto; flex-wrap: wrap !important; margin: 0 !important; padding: 14px 16px 24px !important; background-size: 100% 10px, cover; background-color: rgba(120, 80, 50, 0.6); }
	.snc-addresses > .wp-block-column { flex-basis: 100% !important; }
	.snc-addresses .snc-social { justify-content: flex-start; }
	.snc-strip-right { justify-content: flex-start; flex-wrap: wrap; border-left: 0; padding-left: 0; }
	.snc-butterfly { display: none; }
}
/* phones and tablets: the two offices side by side, so the strip takes half the height */
@media (max-width: 781px) {
	.snc-addresses > .wp-block-column:nth-child(2), .snc-addresses > .wp-block-column:nth-child(3) { flex-basis: calc(50% - 6px) !important; }
	.snc-addresses > .wp-block-column:first-child { display: none; }
}
/* the sign-up sits at the top of the last footer column, under the strip, as on the live site */
.snc-footer .snc-subscribe { margin: 0 0 18px; }
.snc-footer .snc-subscribe label { display: block; }
.snc-footer .snc-subscribe input[type="email"] { margin: 0.25rem 0 0.5rem; }

/* ===== phones and tablets: one menu, not three (Jeff, Oct 18: "I see 3 menus 1 in bar at top, one in middle and the
 * one at bottom on forest background, shell the middle be removed as well as the testimonials?") =====
 * the page's side column (frog, testimonial, the section's list: the ☰ menu has the same lists) is not repeated under the
 * page; on blog pages its categories and blog search stay, without the frog and the testimonial. The footer's four
 * lists fold under their headings (snc.js adds the buttons). */
@media (max-width: 781px) {
	.snc-aside:not(:has(.snc-blog-cats)) { display: none !important; }
	.snc-aside .snc-frog, .snc-aside .snc-testimonials { display: none !important; }
	.snc-footer h3:has(> .snc-fold) { display: block; margin: 0; border-bottom: 0; }
	.snc-footer .snc-fold {
		display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 48px; margin: 0; padding: 10px 4px;
		border: 0; border-bottom: 3px solid var(--snc-green); background: none; color: #fff; font: inherit; text-transform: inherit;
		text-shadow: inherit; text-align: left; cursor: pointer;
	}
	.snc-footer .snc-fold::after { content: "+"; flex: 0 0 auto; font-size: 26px; font-weight: 400; line-height: 1; }
	.snc-footer .snc-fold[aria-expanded="true"]::after { content: "\2212"; }
	.snc-footer .snc-fold:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
	.snc-footer h3:has(> .snc-fold) + .snc-footer-menu { margin: 0.5rem 0 1rem; }
	.snc-footer h3:has(> .snc-fold) + .snc-footer-menu:not(.is-snc-open) { display: none; }
}

/* ===== footer menus ===== */
.snc-footer { margin-top: 50px !important; padding: 0 0.5rem !important; }
.snc-footer h3 {
	color: #fff; font-size: 17px; font-weight: 700; text-transform: uppercase; display: inline-block;
	border-bottom: 3px solid var(--snc-green); margin: 0 0 0.5rem; text-shadow: 1px 1px 1px #000, 0 0 6px #000; text-align: left;
}
.snc-footer-menu, .snc-footer ul { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.snc-footer-menu a, .snc-footer li a {
	display: block; padding: 3px 0; color: #fff; font-size: 16px; font-weight: 700;
	text-shadow: 1px 1px 1px #000, 0 0 4px #000, 0 0 10px rgba(0, 0, 0, 0.8); text-decoration: none;
}
.snc-footer a:hover, .snc-footer a:focus { text-decoration: underline; }
.snc-footer p { color: #fff; text-shadow: 1px 1px 1px #000, 0 0 4px #000, 0 0 10px rgba(0, 0, 0, 0.8); }
.snc-aca img { width: 191px; height: auto; background: rgba(255, 255, 255, 0.9); border-radius: 4px; }
.snc-dnr { font-size: 13px; }
.snc-dnr img { max-width: 80px; height: auto; }
.snc-copy { font-size: 0.8rem; text-align: center; margin-top: 1rem !important; }

/* newsletter sign-up (2024 footer form) */
.snc-subscribe { color: #fff; text-shadow: 1px 1px 1px #000, 0 0 4px #000, 0 0 10px rgba(0, 0, 0, 0.8); font-size: 15px; }
.snc-subscribe__intro { margin: 0 0 0.6rem; font-weight: 700; }
.snc-subscribe fieldset { border: 0; padding: 0; margin: 0 0 0.5rem; display: flex; gap: 1rem; }
.snc-subscribe label { color: #fff; }
.snc-subscribe input[type="email"] { display: block; width: 100%; box-sizing: border-box; max-width: 240px; margin: 0.25rem 0 0.5rem; padding: 4px 6px; border: 1px solid #a55d28; font: inherit; text-shadow: none; }
.snc-subscribe button { background: var(--snc-green); color: #2d0a01; border: 0; border-radius: 3px; padding: 6px 14px; font: inherit; font-weight: 700; cursor: pointer; text-shadow: none; }
.snc-subscribe button:hover, .snc-subscribe button:focus { background: #fffaf0; }
.snc-subscribe__note { margin: 0.5rem 0 0; font-weight: 700; color: var(--snc-green-light) !important; }
.snc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ===== Camp Forms ([snc_form]): big, plain fields on the parchment ===== */
.snc-form { max-width: 720px; margin: 1.5rem auto 0; font-size: 17px; line-height: 1.5; color: #2d0a01; }
/* short questions side by side, as on the old forms (Convert Forms cf-one-half / cf-one-third): a 6-column grid where
 * everything takes the full width unless the question is set to half or a third; the answer boxes line up at the
 * bottom when one question's wording wraps */
form.snc-form { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 16px; }
form.snc-form > * { grid-column: 1 / -1; }
form.snc-form > .snc-form__field--w-half { grid-column: span 3; }
form.snc-form > .snc-form__field--w-third { grid-column: span 2; }
/* grid items keep their margins (nothing collapses), so the gaps above headings and the button are trimmed to look as before */
form.snc-form > .snc-form__section { margin-top: 1rem; }
form.snc-form > .snc-form__submit { margin-top: 0.75rem; }
.snc-form__field--w-half, .snc-form__field--w-third { display: flex; flex-direction: column; }
.snc-form__field--w-half > input, .snc-form__field--w-half > select, .snc-form__field--w-third > input, .snc-form__field--w-third > select { margin-top: auto; }
/* a yes/no question's wording sits inside its dashed separator, not on it */
.snc-form__field--yesno > legend { float: left; width: 100%; }
.snc-form__field--yesno > legend + * { clear: both; }
.snc-form__legend { font-style: italic; }
.snc-form__req { color: #a3260b; font-weight: 700; }
.snc-form__section { margin: 2.25rem 0 0.5rem; padding-bottom: 0.3rem; border-bottom: 3px solid var(--snc-green); font-size: 22px; font-weight: 700; text-align: left; color: #5a2e0e; }
.snc-form__intro, .snc-form__note { margin: 0 0 1rem; }
.snc-form__field { margin: 0 0 1.25rem; padding: 0; border: 0; min-width: 0; }
.snc-form__field > label, .snc-form__field > legend { display: block; margin: 0 0 0.3rem; padding: 0; font-weight: 700; }
.snc-form__help { margin: -0.1rem 0 0.4rem; font-size: 15px; color: #5a3a1f; }
.snc-form input[type="text"], .snc-form input[type="email"], .snc-form input[type="tel"], .snc-form input[type="date"], .snc-form select, .snc-form textarea {
	box-sizing: border-box; width: 100%; max-width: 100%; min-height: 44px; padding: 8px 10px;
	border: 1px solid #8c6a4a; border-radius: 4px; background: #fffdf8; color: #1d1209; font: inherit;
}
.snc-form textarea { min-height: 7rem; resize: vertical; }
.snc-form input[type="date"] { max-width: 14rem; }
.snc-form select { max-width: 24rem; }
.snc-form input:focus, .snc-form select:focus, .snc-form textarea:focus, .snc-form button:focus-visible { outline: 3px solid var(--snc-green-dark); outline-offset: 1px; border-color: var(--snc-green-dark); }
.snc-form input[type="radio"], .snc-form input[type="checkbox"] { width: 22px; height: 22px; margin: 0; accent-color: var(--snc-green-dark); vertical-align: middle; }
.snc-form__choices { display: flex; flex-direction: column; gap: 0.35rem; }
.snc-form__choices--inline { flex-direction: row; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.snc-form__check { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 32px; font-weight: 400; cursor: pointer; }
.snc-form__field > .snc-form__check { font-weight: 700; }
.snc-form__sublabel { display: block; margin: 0.6rem 0 0.25rem; font-size: 15px; font-weight: 700; }
.snc-form__field--yesno textarea { min-height: 3.5rem; }
.snc-form__field--yesno { padding: 0.75rem 0 0; border-top: 1px dashed #caab8c; }
.snc-form__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.snc-form table.snc-form__grid, .snc-form table.snc-form__table { display: table; overflow: visible; width: 100%; border-collapse: collapse; background: #fffdf8; }
.snc-form__grid th, .snc-form__grid td, .snc-form__table th, .snc-form__table td { border: 1px solid #d9c3a5; padding: 4px 6px; }
.snc-form__grid thead th, .snc-form__table thead th { background: #e9d8bb; font-size: 15px; text-align: center; }
.snc-form__grid tbody th { text-align: left; font-weight: 400; vertical-align: middle; }
.snc-form__grid tbody tr:nth-child(even) { background: #f7eedb; }
.snc-form__grid td { text-align: center; padding: 0; }
.snc-form__grid td label { display: flex; justify-content: center; align-items: center; min-width: 44px; min-height: 40px; cursor: pointer; }
.snc-form__grid tr.is-missing th { color: #a3260b; font-weight: 700; }
.snc-form__table td input[type="text"] { min-height: 40px; border-radius: 2px; }
.snc-form__video { margin: 0.5rem 0 1.5rem; }
.snc-form__video-frame { max-width: 560px; margin: 0 auto; border: 10px solid #a85a24; border-image: url(../../../images/right23.jpg) 1 repeat; background: #000; } /* wood frame like every video (Jeff, Oct 15) */
.snc-form__video-frame iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
.snc-form__video figcaption { margin-top: 0.4rem; text-align: center; font-weight: 700; }
.snc-form__submit { margin: 2rem 0 0; text-align: center; }
.snc-form__submit button {
	min-height: 48px; padding: 10px 32px; border: 0; border-radius: 6px; background: var(--snc-green); color: #2d0a01;
	font: inherit; font-size: 19px; font-weight: 700; cursor: pointer; box-shadow: 0 2px 0 var(--snc-green-dark);
}
.snc-form__submit button:hover { background: #2d0a01; color: #fffaf0; }
.snc-form__submit button[disabled] { opacity: 0.7; cursor: wait; }
.snc-form__errors { margin: 0 0 1.5rem; padding: 0.75rem 1rem; border: 2px solid #a3260b; border-radius: 4px; background: #fff3ef; }
.snc-form__errors:focus { outline: 3px solid #a3260b; outline-offset: 2px; }
.snc-form__errors ul { margin: 0.3rem 0 0; padding-left: 1.2rem; }
.snc-form__errors a { color: #8a1f08; }
.snc-form__error { margin: 0 0 0.35rem; color: #a3260b; font-weight: 700; }
.snc-form__field.has-error input, .snc-form__field.has-error select, .snc-form__field.has-error textarea { border: 2px solid #a3260b; }
.snc-form--sent { padding: 1.25rem 1.5rem; border: 2px solid var(--snc-green); border-radius: 6px; background: var(--snc-green-tint); font-size: 19px; text-align: center; }
.snc-form--sent:focus { outline: 3px solid var(--snc-green-dark); outline-offset: 2px; }
.snc-form--sent p { margin: 0 0 0.75em; }
.snc-form--sent p:last-child { margin-bottom: 0; }
/* The staff application's message is several paragraphs (the old site's text): easier to read left-aligned. */
.snc-form--sent-long { text-align: left; font-size: 17px; line-height: 1.55; }
/* on the page a form leads on to (Counselor Conduct), space before the page's own text */
#snc-sent { margin-bottom: 1.5rem; }
.snc-form__admin-note { padding: 0.5rem 0.75rem; border: 2px dashed #a3260b; }
@media (max-width: 600px) {
	.snc-form { font-size: 16px; }
	form.snc-form > .snc-form__field--w-half, form.snc-form > .snc-form__field--w-third { grid-column: 1 / -1; }
	/* tables of answers stack: one block per row, each box labelled with its column */
	.snc-form table.snc-form__table, .snc-form__table tbody, .snc-form__table tr, .snc-form__table td { display: block; width: 100%; box-sizing: border-box; }
	.snc-form table.snc-form__table { background: transparent; }
	.snc-form__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
	.snc-form__table tr { margin: 0 0 0.75rem; padding: 0.5rem 0.6rem 0.2rem; border: 1px solid #d9c3a5; background: #fffdf8; }
	.snc-form__table tr::before { content: "#" attr(data-row); display: block; font-weight: 700; color: #5a2e0e; }
	.snc-form__table td { border: 0; padding: 0 0 0.5rem; }
	.snc-form__table td::before { content: attr(data-label); display: block; font-size: 14px; font-weight: 700; }
	.snc-form__grid { font-size: 15px; }
	.snc-form__grid td label { min-width: 36px; }
}

/* old template picture tiles inside page content (state pages) */
.wp-block-post-content :has(> a.snc-tile) { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 1rem; }
.wp-block-post-content a.snc-tile { display: inline-block; width: calc(25% - 6px); vertical-align: top; line-height: 0; }
.wp-block-post-content a.snc-tile img { width: 100%; height: auto; }
@media (max-width: 600px) { .wp-block-post-content a.snc-tile { width: calc(50% - 4px); } }

/* ===== photo slideshows (old {besps} slideshows, now Gallery blocks with class snc-slideshow) ===== */
.wp-block-gallery.snc-slideshow { display: block; position: relative; float: left; width: 250px; max-width: 100%; margin: 0.25rem 10px 10px 0 !important; gap: 0; }
.wp-block-gallery.snc-slideshow > figure.wp-block-image { display: block; width: 100% !important; margin: 0 !important; overflow: hidden; }
.wp-block-gallery.snc-slideshow > figure.wp-block-image:not(:first-of-type) { display: none; }
/* every slideshow in the wood frame (Jeff, Oct 15: "all videos and slide shows should have wood frame") */
.wp-block-gallery.snc-slideshow img { display: block; width: 100%; height: auto !important; border: 8px solid #a85a24; border-image: url(../../../images/right23.jpg) 1 repeat; box-sizing: border-box; }
.wp-block-gallery.snc-slideshow.is-ready > figure.wp-block-image { display: block; position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; }
.wp-block-gallery.snc-slideshow.is-ready > figure.wp-block-image.is-active { position: relative; inset: auto; opacity: 1; }
.wp-block-gallery.snc-slideshow.is-ready > figure.wp-block-image img { height: 100% !important; object-fit: cover; }
.wp-block-gallery.snc-slideshow.is-ready > figure.wp-block-image.is-active img { height: auto !important; }
/* no pause button (Jeff, Oct 15): a slideshow stops while the mouse is over it or it has keyboard focus, and stays still for visitors who reduce motion */
.wp-block-gallery.snc-slideshow.is-ready:focus-visible { outline: 3px solid var(--snc-green-dark); outline-offset: 2px; }
.wp-block-gallery.snc-slideshow--wide { float: none; width: auto; max-width: 609px; margin: 0 auto 1.5rem !important; display: flow-root; }
.wp-block-gallery.snc-slideshow--wide img { border: 10px solid #a85a24; border-image: url(../../../images/right23.jpg) 1 repeat; }
.wp-block-gallery.snc-slideshow--right { float: right; margin: 0.25rem 0 10px 12px !important; }
.snc-photo-note { padding: 0.9rem 1.1rem; border: 2px dashed var(--snc-green); border-radius: 6px; background: #fffaf0; font-size: 1.05em; }
@media (max-width: 600px) {
	.wp-block-gallery.snc-slideshow { float: none; width: auto; max-width: 320px; margin: 0.5rem auto 1rem !important; }
}

/* ===== inner pages and posts as on the live site in 2025–2026 (Wayback, Dec 2025 – May 2026) ===== */
/* The old template put the camp font on everything ("* { font-family: Comic Sans MS !important }"), so text pasted
 * from Word, Mailchimp or news sites read in the camp font. Same here, keeping only code samples in their own face. */
.wp-block-post-content :where(*):not(code, pre, kbd, samp, [class*="dashicons"]) { font-family: inherit !important; }
/* links in pages and posts: the text colour, bold, underlined on hover (old ".main_content .component a { font-weight: 700 }") */
main.snc-panel .wp-block-post-content a:where(:not(.wp-element-button):not(.wp-block-button__link):not(.snc-form__button)) {
	color: #2d0a01; font-weight: 700; text-decoration: none;
}
main.snc-panel .wp-block-post-content a:where(:not(.wp-element-button):not(.wp-block-button__link)):hover,
main.snc-panel .wp-block-post-content a:where(:not(.wp-element-button):not(.wp-block-button__link)):focus-visible { text-decoration: underline; }
/* videos in pages and posts get the wood frame (old ".item-page iframe") */
main.snc-panel .wp-block-post-content iframe {
	box-sizing: border-box;
	border: 10px solid #a85a24;
	border-image: url(../../../images/right23.jpg) 1 repeat;
}
@media (min-width: 782px) { main.snc-panel .wp-block-post-content iframe { min-width: 300px; } }
main.snc-panel .snc-form__video-frame iframe { border: 0; border-image: none; min-width: 0; }
/* bordered pictures stay inside the column */
.wp-block-post-content img { box-sizing: border-box; }
/* tables fill the column, as the old template forced ("table { width: 100% !important }") */
@media (min-width: 782px) {
	main.snc-panel .wp-block-post-content table { display: table; width: 100% !important; table-layout: auto; }
	main.snc-panel .wp-block-post-content table[style*="width"] { width: 100% !important; }
	/* layout tables holding pictures size their columns by content, as the old site did (an empty cell stays narrow
	 * instead of taking half the table: the camper's letter on Camp Tour, the map table); pictures shrink to their cell */
	main.snc-panel .wp-block-post-content td img { max-width: 100%; height: auto; }
}
/* headings and paragraphs left empty by old editors take no room */
.wp-block-post-content :where(h1, h2, h3, h4, h5, h6, p):empty { display: none; }
/* headings typed into pages and posts: the old site's 24px h3 in normal weight */
main.snc-panel .wp-block-post-content h3 { font-size: 24px; font-weight: 500; line-height: 1.1; }
/* h4 lines typed into pages (Benefits Of Camp's article links): the old 18px bold, left */
main.snc-panel .wp-block-post-content h4 { font-size: 18px; font-weight: 700; line-height: 1.2; margin: 10px 0; text-align: left; }
/* a photo slideshow inside a table cell, or a single photo, is a 200px picture, as the old gallery thumbnail was */
.wp-block-post-content td .wp-block-gallery.snc-slideshow { float: none; width: 250px; max-width: 100%; margin: 0 auto 0.75rem !important; }
.wp-block-post-content .wp-block-gallery.snc-slideshow:has(> figure.wp-block-image:only-of-type) { float: none; width: 200px; max-width: 100%; margin: 0 auto 0.75rem !important; }
/* page and post titles sit lower in the panel, with room above (old ".page-header") */
@media (min-width: 782px) {
	main.snc-panel h1.wp-block-post-title, main.snc-panel > .snc-layout > .wp-block-column > h1.wp-block-heading { margin-top: 40px; }
	main.snc-panel .snc-post-date + h1.wp-block-post-title { margin-top: 2px; }
}
/* single post: date above the title in small grey, "Published in" / "Tagged under" after the text (K2 item view) */
.snc-post-date { font-size: 13px; color: #6b5a4e; margin: 20px 0 0; }
.snc-post-links { margin-top: 1.5rem; font-size: 15px; color: #2d0a01; }
.snc-post-links .wp-block-post-terms { margin: 0 0 0.25rem; }
.snc-post-links a { color: #2d0a01; font-weight: 700; }
main.snc-panel .wp-block-post-navigation-link a { color: #2d0a01; font-weight: 700; text-decoration: none; }
main.snc-panel .wp-block-post-navigation-link a:hover, main.snc-panel .wp-block-post-navigation-link a:focus-visible { text-decoration: underline; }
/* blog lists: dark titles as in the K2 lists, "Read more..." in bold */
.snc-post-list .wp-block-post-title { font-size: 24px; font-weight: 500; line-height: 1.25; }
.snc-post-list .wp-block-post-title a { color: #2d0a01; text-decoration: none; }
.snc-post-list .wp-block-post-title a:hover, .snc-post-list .wp-block-post-title a:focus-visible { text-decoration: underline; }
.snc-post-list .wp-block-post-date { font-size: 13px; color: #6b5a4e; }
.snc-post-list .wp-block-post-excerpt__more-link { color: #2d0a01; font-weight: 700; text-decoration: none; }
.snc-post-list .wp-block-post-excerpt__more-link:hover, .snc-post-list .wp-block-post-excerpt__more-link:focus-visible { text-decoration: underline; }
/* "Published in …" under each post of a list (K2 lists) */
.snc-post-list .snc-list-cats { margin: 0.35rem 0 0; font-size: 14px; color: #2d0a01; }
.snc-post-list .snc-list-cats a { color: #2d0a01; font-weight: 700; text-decoration: none; }
.snc-post-list .snc-list-cats a:hover, .snc-post-list .snc-list-cats a:focus-visible { text-decoration: underline; }
/* blog sidebar "Categories" (old K2 categories module) */
.snc-blog-cats .snc-box-title { font-size: 24px; font-weight: 500; text-align: left; }
.snc-blog-cats ul { list-style: none; margin: 0; padding: 0; }
.snc-blog-cats li a { display: block; padding: 2px 0; color: #2d0a01; font-size: 18px; font-weight: 700; text-decoration: none; }
.snc-blog-cats li a:hover, .snc-blog-cats li a:focus-visible { text-decoration: underline; }
/* landscape photo slideshows run the width of the column (old 700×300 slideshows) */
.wp-block-gallery.snc-slideshow--wide { max-width: 700px; }

/* lists in pages and posts: no bullets and no indent, as on the old site ("li { list-style: none }" and
 * "* { padding: 0 }" in its template). Much of the pasted content uses lists for layout (year links, columns of
 * names), which bullets made look broken. */
main.snc-panel .wp-block-post-content :where(ul, ol) { list-style: none; padding-left: 0; }
main.snc-panel .wp-block-post-content :where(li) { list-style: none; } /* old "li { list-style: none }", also where the list asked for discs or letters */
main.snc-panel .wp-block-post-content li:empty { display: none; }
main.snc-panel .wp-block-post-content :where(li) { margin-bottom: 0.15rem; }

/* ===== Prev / Next between the pages of a section (old Joomla article navigation) ===== */
.snc-pagenav { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; clear: both; margin: 2.5rem 0 0; padding-top: 0.9rem; border-top: 1px dashed #a55d28; }
.snc-pagenav a { display: flex; flex-direction: column; gap: 2px; max-width: 48%; color: #2d0a01; text-decoration: none; }
.snc-pagenav a.snc-pagenav__next { margin-left: auto; text-align: right; }
.snc-pagenav__label { font-size: 16px; font-weight: 700; }
.snc-pagenav__title { font-size: 14px; line-height: 1.3; color: #6b4a2e; }
.snc-pagenav a:hover .snc-pagenav__label, .snc-pagenav a:focus-visible .snc-pagenav__label { text-decoration: underline; }
.snc-pagenav a:focus-visible { outline: 2px solid #7c5127; outline-offset: 3px; }
/* on the landing pages the links sit on a parchment strip under the panel */
.snc-landing > .snc-pagenav { margin: 0 !important; padding: 12px 30px 14px; border: 0; background: rgba(247, 238, 219, 0.96); border-radius: 0 0 8px 8px; }
@media (max-width: 600px) {
	.snc-pagenav a { max-width: 50%; }
	.snc-landing > .snc-pagenav { padding: 10px 14px 12px; }
}

/* ===== "Article Index" of the articles the old site split into pages (Teen Leadership, Camp Jobs …) ===== */
/* a normal menu, like the side menu (brass bullets, bold bark links, green pointer at the part being read), without
 * the white box (Jeff, Oct 15: "more like a normal menu rather than having that box") */
.snc-article-index { float: right; width: 220px; margin: 0 0 1rem 1.5rem; padding: 0; box-sizing: border-box; }
/* stays where it is, as on the live site: a pinned box covered the text beside it while scrolling (staging check, Oct 15) */
main.snc-panel .wp-block-post-content .snc-article-index__title { font-size: 20px; font-weight: 700; line-height: 1.2; margin: 0 0 0.35rem; color: #2d0a01; text-align: left; }
main.snc-panel .wp-block-post-content .snc-article-index ol { list-style: none; margin: 0; padding: 0; }
main.snc-panel .wp-block-post-content .snc-article-index li { margin: 0; }
main.snc-panel .wp-block-post-content .snc-article-index a {
	position: relative; display: block; padding: 6px 4px 6px 20px;
	color: #2d0a01; font-size: 17px; font-weight: 700; line-height: 24px; text-decoration: none;
}
main.snc-panel .wp-block-post-content .snc-article-index a::before {
	content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%;
	background: radial-gradient(circle at 38% 35%, #fffef9 0, #f3ecdb 18%, #cdb27d 45%, #a67a1f 75%, #996600 100%);
}
main.snc-panel .wp-block-post-content .snc-article-index a:hover, main.snc-panel .wp-block-post-content .snc-article-index a:focus { text-decoration: underline; }
main.snc-panel .wp-block-post-content .snc-article-index a[aria-current="true"] { color: var(--snc-green-text); }
main.snc-panel .wp-block-post-content .snc-article-index a[aria-current="true"]::before {
	width: 0; height: 0; margin-top: -8px; border-radius: 0; background: none;
	border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--snc-green);
	filter: drop-shadow(0 0 1px var(--snc-green-dark));
}
@media (forced-colors: active) {
	main.snc-panel .wp-block-post-content .snc-article-index a[aria-current="true"]::before { border-left-color: CanvasText; }
}
/* the same parts in the side menu, under the page's entry (Jeff, Oct 16); then the box above the text is left out on
 * laptops (on phones the side menu comes after the text, so the box stays at the top there) */
.snc-section-nav ul.snc-parts { margin: 0 0 6px; padding-left: 16px; }
.snc-section-nav ul.snc-parts li { margin: 0; }
.snc-section-nav ul.snc-parts a { position: relative; display: block; padding: 3px 4px 3px 14px; font-size: 15px; font-weight: 400; line-height: 22px; color: #2d0a01; }
.snc-section-nav ul.snc-parts a::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--snc-green); }
.snc-section-nav ul.snc-parts a[aria-current="true"] { color: var(--snc-green-text); font-weight: 700; }
.snc-section-nav ul.snc-parts a[aria-current="true"]::before { background: var(--snc-green-dark); }
@media (min-width: 782px) {
	.snc-parts-in-menu main.snc-panel .wp-block-post-content .snc-article-index { display: none; }
}
main.snc-panel .wp-block-post-content h2.snc-pagebreak { clear: none; font-size: 24px; font-weight: 400; text-align: left; margin: 2.25rem 0 0.75rem; padding-top: 0.75rem; border-top: 1px dashed #a55d28; scroll-margin-top: 1rem; }
#snc-article-top { display: block; scroll-margin-top: 1rem; }
@media (max-width: 781px) {
	.snc-article-index { float: none; width: auto; margin: 0 0 1.25rem; }
}

/* ===== sidebar of the Contact page: the two offices, the Wisconsin map and the ACA seal (old "contact_page" box) ===== */
.snc-contact-box { padding: 6px 4px 10px; text-align: center; color: #2d0a01; }
.snc-contact-box h2 { margin: 0.6rem 0 0.4rem; font-size: 24px; font-weight: 400; text-decoration: underline; text-align: center; color: #2d0a01; }
.snc-contact-box p { margin: 0 0 0.75rem; font-size: 16px; line-height: 1.5; }
.snc-contact-box a { color: #2d0a01; font-weight: 700; text-decoration: none; }
.snc-contact-box a:hover, .snc-contact-box a:focus-visible { text-decoration: underline; }
.snc-contact-box img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.snc-contact-box__map img { width: 150px; }
.snc-contact-box__aca img { width: 150px; }
/* Contact page: the camp on a map, as on the old page; the two offices show in the text only on phones (the sidebar,
 * which has them on a computer, drops below the form there) */
.snc-map { margin: 0 0 1.5rem; line-height: 0; }
main.snc-panel .wp-block-post-content .snc-map iframe { display: block; width: 100%; height: 300px; min-width: 0; border: 0; border-image: none; box-shadow: 0 2px 8px rgba(45, 10, 1, 0.25); }
@media (min-width: 782px) { .snc-contact-offices { display: none; } }

/* ===== blog: "Page 2 of 93" under the page numbers, related items, "More in this category" and "back to top" (K2) ===== */
.snc-page-count { margin: 0.6rem 0 0; text-align: center; font-size: 15px; color: #2d0a01; }
.snc-related { margin: 2rem 0 0; }
main.snc-panel .snc-related h2 { margin: 0 0 0.5rem; font-size: 24px; font-weight: 400; text-align: left; }
.snc-related ul { list-style: none; margin: 0; padding: 0; }
.snc-related li { margin: 0 0 0.35rem; }
.snc-related a { color: #2d0a01; font-weight: 700; text-decoration: none; }
.snc-related a:hover, .snc-related a:focus-visible { text-decoration: underline; }
.snc-more-in-cat { gap: 0.4rem 1.5rem !important; margin: 1.5rem 0 0 !important; padding: 8px 12px; background: #fffaf0; border: 1px solid #d9c3a5; border-radius: 4px; font-size: 15px; }
.snc-more-in-cat__label { margin: 0 !important; color: #6b4a2e; flex-basis: 100%; }
.snc-more-in-cat .wp-block-post-navigation-link { margin: 0; }
.snc-back-to-top { margin: 1rem 0 0; text-align: right; font-size: 14px; }
.snc-back-to-top a { color: #2d0a01; font-weight: 700; }

/* ===== landing pages (state / SEO pages): the home page's layout, with the old landing panel's light parchment ===== */
.snc-landing .snc-landing-show { max-width: 609px; margin: 0 auto 50px !important; }
.snc-landing .snc-landing-show .wp-block-gallery.snc-slideshow { float: none; width: auto; max-width: 609px; margin: 0 auto !important; }
.snc-landing .snc-landing-show .wp-block-gallery.snc-slideshow img { border: 8px solid #7c5127; border-image: url(../../../images/right23.jpg) 30 round; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5); }
.snc-panel--landing { background: rgba(247, 238, 219, 0.93) !important; }
.snc-landing-text { color: #2d0a01; font-size: 16px; line-height: 1.6; padding: 10px 0; }
.snc-landing-text :where(*):not(code, pre) { font-family: inherit !important; }
.snc-landing-text h1, .snc-landing-text h2 { font-size: 26px; font-weight: 400; line-height: 1.25; text-align: center; color: #2d0a01; margin: 0 0 0.75rem; }
.snc-landing-text h3 { font-size: 22px; font-weight: 400; text-align: left; color: #2d0a01; }
.snc-landing-text p { margin: 0 0 10px; }
.snc-landing-text a { color: #2d0a01; font-weight: 700; text-decoration: none; }
.snc-landing-text a:hover, .snc-landing-text a:focus-visible { text-decoration: underline; }
.snc-landing-text img { max-width: 100%; height: auto; }
.snc-landing-text :where(ul, ol) { list-style: none; padding-left: 0; }
.snc-landing-text :where(p, h1, h2, h3, h4):empty { display: none; }
.snc-landing-text iframe { max-width: 100%; box-sizing: border-box; border: 10px solid #a85a24; border-image: url(../../../images/right23.jpg) 1 repeat; }
.snc-landing-text::after { content: ""; display: table; clear: both; }
.snc-slider--video .snc-board-video { padding: 0 15px 15px; }
.snc-slider--video .snc-board-video iframe { display: block; width: 100%; max-width: 380px; height: auto; aspect-ratio: 16 / 9; margin: 0 auto; border: 0; background: #000; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45); }
@media (max-width: 781px) {
	.snc-landing .snc-landing-show { margin-bottom: 1.25rem !important; }
	.snc-landing-text { padding: 0 6px; }
}

/* ===== the Bootstrap 3 grid and helpers the old template loaded: pasted content still uses them (Activities award
 * grid three across, Welcome Parents picture beside its text, photo boxes beside the text on Cabin Life …) ===== */
.wp-block-post-content :is([class^="col-"], [class*=" col-"]) { box-sizing: border-box; min-height: 1px; padding-left: 8px; padding-right: 8px; }
.wp-block-post-content :is(.row, .clearfix, .container)::after { content: ""; display: table; clear: both; }
.wp-block-post-content .text-center { text-align: center; }
.wp-block-post-content .pull-left { float: left !important; }
.wp-block-post-content .pull-right { float: right !important; }
/* a video in a grid column takes the column's width (the old 280px videos in "col-md-5 pull-right" boxes) */
main.snc-panel .wp-block-post-content :is([class^="col-"], [class*=" col-"]) iframe { min-width: 0; }
.wp-block-post-content .list-unstyled { list-style: none; padding-left: 0; }
.wp-block-post-content .media, .wp-block-post-content .media-body { overflow: hidden; }
.wp-block-post-content .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 767px) { .wp-block-post-content .hidden-xs { display: none !important; } }
@media (min-width: 768px) {
	.wp-block-post-content .col-sm-1 { float: left; width: 8.3333%; }
	.wp-block-post-content .col-sm-2 { float: left; width: 16.6667%; }
	.wp-block-post-content .col-sm-3 { float: left; width: 25.0000%; }
	.wp-block-post-content .col-sm-4 { float: left; width: 33.3333%; }
	.wp-block-post-content .col-sm-5 { float: left; width: 41.6667%; }
	.wp-block-post-content .col-sm-6 { float: left; width: 50.0000%; }
	.wp-block-post-content .col-sm-7 { float: left; width: 58.3333%; }
	.wp-block-post-content .col-sm-8 { float: left; width: 66.6667%; }
	.wp-block-post-content .col-sm-9 { float: left; width: 75.0000%; }
	.wp-block-post-content .col-sm-10 { float: left; width: 83.3333%; }
	.wp-block-post-content .col-sm-11 { float: left; width: 91.6667%; }
	.wp-block-post-content .col-sm-12 { float: left; width: 100.0000%; }
}
@media (min-width: 768px) and (max-width: 991px) { .wp-block-post-content .hidden-sm { display: none !important; } }
@media (min-width: 992px) {
	.wp-block-post-content .col-md-1 { float: left; width: 8.3333%; }
	.wp-block-post-content .col-md-2 { float: left; width: 16.6667%; }
	.wp-block-post-content .col-md-3 { float: left; width: 25.0000%; }
	.wp-block-post-content .col-md-4 { float: left; width: 33.3333%; }
	.wp-block-post-content .col-md-5 { float: left; width: 41.6667%; }
	.wp-block-post-content .col-md-6 { float: left; width: 50.0000%; }
	.wp-block-post-content .col-md-7 { float: left; width: 58.3333%; }
	.wp-block-post-content .col-md-8 { float: left; width: 66.6667%; }
	.wp-block-post-content .col-md-9 { float: left; width: 75.0000%; }
	.wp-block-post-content .col-md-10 { float: left; width: 83.3333%; }
	.wp-block-post-content .col-md-11 { float: left; width: 91.6667%; }
	.wp-block-post-content .col-md-12 { float: left; width: 100.0000%; }
	/* a grid column that only holds a slideshow shrinks to it, so the text sits close beside the picture instead of at the
	   middle of the page (Jeff, Oct 15: "too big margin around pics" on Camp Staff, Conflict Resolution and the camper pages) */
	.wp-block-post-content [class*="col-"]:has(.wp-block-gallery.snc-slideshow):not(:has(p, h1, h2, h3, h4, h5, h6, ul, ol, table, iframe)) { width: auto; max-width: 50%; padding-right: 6px; }
	/* ...and the text in the column after it flows beside the picture and on under it (Jeff, Oct 15: Camp Counselors text layout) */
	.wp-block-post-content [class*="col-"]:has(.wp-block-gallery.snc-slideshow):not(:has(p, h1, h2, h3, h4, h5, h6, ul, ol, table, iframe)) + [class*="col-"] { float: none; width: auto; }
}

/* ===== video pictures side by side (Parent Testimonials: old ".divtestimonials { float: left; width: 33% }") ===== */
.wp-block-post-content .divtestimonials { float: left; width: 33.333%; box-sizing: border-box; padding: 0 8px 8px 0; line-height: 0; }
.wp-block-post-content .divtestimonials img { display: block; width: 195px; max-width: 100%; height: auto; }
.wp-block-post-content .divtestimonials a { display: inline-block; transition: transform 0.2s; }
.wp-block-post-content .divtestimonials a:hover, .wp-block-post-content .divtestimonials a:focus-visible { transform: scale(1.04); }
.wp-block-post-content .divtestimonials a:focus-visible { outline: 3px solid #7c5127; outline-offset: 2px; }

/* ===== videos and pictures that opened over the page on the old site (JCE "jcepopup" links) ===== */
/* content tables marked snc-stack (First Timer Camp's highlights + guarantee) put their cells one above the other on phones */
@media (max-width: 600px) {
	.wp-block-post-content table.snc-stack, .wp-block-post-content table.snc-stack > tbody, .wp-block-post-content table.snc-stack > tbody > tr,
	.wp-block-post-content table.snc-stack > tbody > tr > td { display: block; width: 100% !important; box-sizing: border-box; }
	.wp-block-post-content table.snc-stack > tbody > tr > td + td { margin-top: 1rem; }
}
/* a picture that opens large in the viewer */
.wp-block-post-content a.jcepopup img { cursor: zoom-in; }
.snc-lightbox { position: fixed; padding: 0; border: 0; background: transparent; width: min(960px, 92vw); max-width: none; max-height: none; overflow: visible; }
.snc-lightbox::backdrop { background: rgba(20, 8, 2, 0.85); }
.snc-lightbox__body iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; box-sizing: border-box; border: 10px solid #a85a24; border-image: url(../../../images/right23.jpg) 1 repeat; background: #000; }
.snc-lightbox__body img { display: block; max-width: 100%; max-height: 85vh; margin: 0 auto; border: 8px solid #fffaf0; box-sizing: border-box; }
.snc-lightbox__close {
	position: absolute; top: -18px; right: -18px; z-index: 1; width: 40px; height: 40px; padding: 0;
	border: 2px solid #fff; border-radius: 50%; background: #2d0a01; color: #fff; font: 700 26px/34px Arial, sans-serif; cursor: pointer;
}
.snc-lightbox__close:hover, .snc-lightbox__close:focus-visible { background: #000; outline: 3px solid var(--snc-green); outline-offset: 1px; }
@media (max-width: 600px) { .snc-lightbox__close { top: -48px; right: 0; } }

/* ===== the page's top video keeps playing in a corner when the visitor scrolls past it (old float.js) ===== */
.snc-video-spacer { display: none; }
.snc-video-spacer.is-on { display: block; }
html body iframe.snc-docked.snc-docked { position: fixed !important; right: 16px; bottom: 16px; z-index: 9999; width: 320px !important; max-width: calc(100vw - 32px) !important; height: auto !important; aspect-ratio: 16 / 9 !important; min-width: 0 !important; margin: 0 !important; border-width: 6px !important; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55); }
.snc-video-close { display: none; }
.snc-video-close.is-on {
	display: block; position: fixed; right: 6px; bottom: calc(16px + min(320px, 100vw - 32px) * 9 / 16 - 14px); z-index: 10000;
	width: 32px; height: 32px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: #2d0a01; color: #fff; font: 700 22px/26px Arial, sans-serif; cursor: pointer;
}
.snc-video-close.is-on:hover, .snc-video-close.is-on:focus-visible { background: #000; outline: 3px solid var(--snc-green); outline-offset: 1px; }
@media (prefers-reduced-motion: no-preference) { iframe.snc-docked { animation: snc-dock 0.25s ease-out; } }
@keyframes snc-dock { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ===== Jeff's review of staging (Oct 14 2026): pages read as on the live site ===== */
/* the text column as wide as the old one (714px), starting 15px inside the frame as it did */
@media (min-width: 782px) {
	.snc-layout > .wp-block-column:first-child { padding-left: 0; }
}
/* The old template's spacing for text carried over from Joomla: 10px under a paragraph, nothing between the lines
 * the old editor wrote as <div>s, 20px between lines. The block gap put 18px above each of them, so a heading sat a
 * line away from its text ("should be no line (title, next line text)") and the pages ran long. */
body.page main.snc-panel:not(.snc-front) .wp-block-post-content { line-height: 1.45; }
body.page main.snc-panel:not(.snc-front) .wp-block-post-content > :where(:not([class*="wp-block"])) { margin-block-start: 0; }
body.page main.snc-panel:not(.snc-front) .wp-block-post-content :where(p:not([class])) { margin-block: 0 10px; }
main.snc-panel .wp-block-post-content p.snc-title-line { margin-bottom: 0; }

/* the open section's pages carry a smaller bullet, as the old site's section menus did (Jeff, Oct 16: without them the
 * sections listed below looked like part of the open section); a dashed line closes the open section */
.snc-section-nav > ul > li > ul.children > li > a { position: relative; padding-left: 17px; }
.snc-section-nav > ul > li > ul.children > li > a::before {
	content: ""; position: absolute; left: 0; top: 50%; width: 9px; height: 9px; margin-top: -4px; border-radius: 50%;
	background: radial-gradient(circle at 38% 35%, #fffef9 0, #f3ecdb 18%, #cdb27d 45%, #a67a1f 75%, #996600 100%);
}
.snc-section-nav > ul > li.is-open > ul.children { margin-bottom: 6px; padding-bottom: 6px; border-bottom: 1px dashed rgba(124, 81, 39, 0.55); }

/* where you are: a green pointer at the current page, in the side menu and in the footer lists (old ".menu_footer
 * li.current"); the side menu's page name in green, as the old menu had it */
.snc-section-nav .current_page_item > a, .snc-section-nav ul.children .current_page_item > a { color: var(--snc-green-text); }
.snc-section-nav ul.children a { position: relative; }
.snc-section-nav > ul > li.current_page_item > a::before,
.snc-section-nav ul.children li.current_page_item > a::before {
	content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 0; margin-top: -8px; border-radius: 0; background: none;
	border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--snc-green);
	filter: drop-shadow(0 0 1px var(--snc-green-dark));
}
.snc-footer-menu li.current_page_item > a { position: relative; padding-left: 26px; }
.snc-footer-menu li.current_page_item > a::before {
	content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 0; margin-top: -11px;
	border-style: solid; border-width: 11px 0 11px 19px; border-color: transparent transparent transparent var(--snc-green);
	filter: drop-shadow(1px 1px 1px #000);
}
@media (forced-colors: active) {
	.snc-section-nav li.current_page_item > a::before, .snc-footer-menu li.current_page_item > a::before { border-left-color: CanvasText; }
}

/* the newsletter sign-up beside the email addresses at the bottom of every page */
.snc-addresses .snc-subscribe { margin: 8px 0 0; font-size: 13px; text-align: right; }
.snc-addresses .snc-subscribe__intro { margin: 0 0 4px; font-size: 13px; }
.snc-addresses .snc-subscribe label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.snc-addresses .snc-subscribe input[type="email"] { display: inline-block; width: 170px; max-width: calc(100% - 96px); margin: 0 4px 0 0; vertical-align: middle; font-size: 14px; }
.snc-addresses .snc-subscribe button { padding: 4px 10px; vertical-align: middle; font-size: 14px; }
.snc-addresses .snc-subscribe__note { text-align: right; }
@media (max-width: 781px) {
	.snc-addresses .snc-subscribe, .snc-addresses .snc-subscribe__note { text-align: left; }
}

/* the jobs page: the job information items of the old "Jobs" list, each opening its full text with "Read More" */
.wp-block-post-content .snc-jobs { clear: both; margin-top: 1.5rem; }
.wp-block-post-content .snc-job { display: flow-root; padding: 14px 0; border-top: 1px dashed #a55d28; }
.wp-block-post-content .snc-job__img { float: left; width: 250px; max-width: 40%; margin: 0 16px 8px 0; line-height: 0; }
.wp-block-post-content .snc-job__img img { width: 100%; height: auto; border: 3px solid var(--snc-green); box-sizing: border-box; }
main.snc-panel .wp-block-post-content h2.snc-job__title { margin: 0 0 6px; text-align: left; font-size: 1.15rem; font-weight: 700; text-decoration: underline; }
.wp-block-post-content .snc-job__short { font-weight: 700; }
.wp-block-post-content .snc-job__more { margin-top: 6px; }
.wp-block-post-content .snc-job__more > summary { display: inline-block; cursor: pointer; font-weight: 700; color: #2d0a01; text-decoration: underline; list-style: none; }
.wp-block-post-content .snc-job__more > summary::-webkit-details-marker { display: none; }
.wp-block-post-content .snc-job__more > summary::after { content: " \25BE"; text-decoration: none; display: inline-block; margin-left: 4px; }
.wp-block-post-content .snc-job__more[open] > summary::after { content: " \25B4"; }
.wp-block-post-content .snc-job__more > summary:focus-visible { outline: 2px solid #7c5127; outline-offset: 2px; }
.wp-block-post-content .snc-job__text { display: flow-root; clear: both; margin-top: 10px; padding-top: 10px; }
.wp-block-post-content .snc-jobs-links { clear: both; text-align: center; margin-top: 1.5rem; }
main.snc-panel .wp-block-post-content .snc-jobs-links a { font-style: italic; text-decoration: underline; }
@media (max-width: 600px) {
	.wp-block-post-content .snc-job__img { float: none; width: 250px; max-width: 100%; margin: 0 auto 10px; }
}

/* phones and tablets: a table that sets text beside a video (Dates & Rates, "Building Great Kids") stacks its cells, so
   the video gets the column's width; in its cell it was 84 × 47 px, too small for YouTube to play (Jeff, Oct 18:
   "Dates and rates on phone has small video non working") */
@media (max-width: 781px) {
	main.snc-panel .wp-block-post-content table:has(iframe[src*="youtube"], iframe[src*="vimeo"]),
	main.snc-panel .wp-block-post-content table:has(iframe[src*="youtube"], iframe[src*="vimeo"]) :is(tbody, thead, tr, td, th) {
		display: block; width: 100% !important; height: auto !important; box-sizing: border-box;
	}
	main.snc-panel .wp-block-post-content td iframe:is([src*="youtube"], [src*="vimeo"]) { display: block; width: 100% !important; max-width: 560px; height: auto !important; aspect-ratio: 16 / 9; margin: 0 auto; }
}
/* videos the old page showed small keep their size (desktop) */
@media (min-width: 782px) {
	main.snc-panel .wp-block-post-content iframe.snc-video-small { width: var(--snc-video-w, 300px); max-width: 100%; min-width: 0; }
}
/* the old template centred the videos in its video blocks ("#video_block .floating { text-align: center }"): the ACA, Life Skills and
   other small videos sat in the middle (Jeff, Oct 15) */
main.snc-panel .wp-block-post-content .floating { text-align: center; }
main.snc-panel .wp-block-post-content .floating > iframe { display: block; margin-left: auto; margin-right: auto; }

/* 360° views: the panorama turns in a window (old "bepiv" viewer; Jeff, Oct 14: "360 pics do not work") */
main.snc-panel .wp-block-post-content .snc-pano { display: block; overflow-x: auto; overflow-y: hidden; white-space: nowrap; height: 300px; max-width: 100%; border: 8px solid #a85a24; border-image: url(../../../images/right23.jpg) 1 repeat; line-height: 0; scrollbar-width: thin; }
main.snc-panel .wp-block-post-content .snc-pano img { display: inline-block; height: 300px !important; width: auto !important; max-width: none !important; vertical-align: top; border: 0; }
main.snc-panel .wp-block-post-content .snc-pano:focus-visible { outline: 3px solid #7c5127; outline-offset: 2px; }
.snc-pano__ctrls { display: flex; gap: 8px; justify-content: center; margin: 6px 0 16px; }
.snc-pano__ctrls button { padding: 5px 14px; border: 0; border-radius: 3px; background: #7c5127; color: #fffaf0; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.snc-pano__ctrls button:hover, .snc-pano__ctrls button:focus-visible { background: #2d0a01; outline: 2px solid var(--snc-green); outline-offset: 1px; }
@media (max-width: 600px) {
	main.snc-panel .wp-block-post-content .snc-pano, main.snc-panel .wp-block-post-content .snc-pano img { height: 200px !important; }
}

/* Donations page (Jeff, Oct 14: "needs revamp") */
main.snc-panel .wp-block-post-content .snc-donate { display: flow-root; }
main.snc-panel .wp-block-post-content .snc-donate h2 { margin: 0 0 8px; }
main.snc-panel .wp-block-post-content .snc-donate h3 { margin: 16px 0 6px; color: var(--snc-green-text); }
main.snc-panel .wp-block-post-content p.snc-donate__lead { font-size: 1.15em; font-weight: 700; color: #7c5127; }
main.snc-panel .wp-block-post-content .snc-donate__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; clear: both; margin: 18px 0; padding: 0; }
main.snc-panel .wp-block-post-content .snc-donate__facts li { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 12px 14px; background: #fffaf0; border: 1px solid #d9c9a3; border-top: 4px solid var(--snc-green); border-radius: 4px; text-align: center; }
main.snc-panel .wp-block-post-content .snc-donate__facts strong { font-size: 1.2em; color: var(--snc-green-text); }
main.snc-panel .wp-block-post-content .snc-donate__how { margin: 18px 0; padding: 14px 18px; border: 3px solid var(--snc-green); border-radius: 4px; background: #fff; }
main.snc-panel .wp-block-post-content .snc-donate__how h3 { margin-top: 0; }
main.snc-panel .wp-block-post-content .snc-donate__how address { margin: 8px 0 12px; padding-left: 12px; border-left: 4px solid #7c5127; font-style: normal; font-weight: 700; line-height: 1.5; }
main.snc-panel .wp-block-post-content .snc-donate__how p { margin-bottom: 6px; }
main.snc-panel .wp-block-post-content p.snc-donate__thanks { margin-top: 14px; text-align: center; font-size: 1.15em; font-weight: 700; font-style: italic; color: #7c5127; }
@media (max-width: 600px) {
	main.snc-panel .wp-block-post-content .snc-donate__facts { grid-template-columns: 1fr; }
}

/* ===== small screens ===== */
@media (max-width: 781px) {
	/* column + nowrap: with the default wrap, a stacked column grows to its content's width and pushes the page sideways */
	.snc-layout.wp-block-columns, .snc-home-cols.wp-block-columns { flex-direction: column; flex-wrap: nowrap !important; }
	.snc-layout > .wp-block-column, .snc-home-cols > .wp-block-column { width: 100%; max-width: 100%; min-width: 0; }
	.snc-layout > .wp-block-column, .snc-home-cols > .wp-block-column { flex-basis: 100% !important; }
	.snc-footer .wp-block-columns { gap: 0.5rem; }
}

/* ===== live search: matches under every search box while typing (snc.js) ===== */
form.wp-block-search.has-live { position: relative; }
.snc-live {
	position: absolute; z-index: 60; top: calc(100% + 4px); left: 0; width: 320px; max-width: calc(100vw - 24px); box-sizing: border-box;
	max-height: 70vh; overflow-y: auto; padding: 4px 0;
	background: #fffdf8; border: 1px solid #a55d28; border-radius: 4px; box-shadow: 0 6px 18px rgba(45, 10, 1, 0.25);
	text-align: left; font-size: 15px; line-height: 1.3; color: #2d0a01;
}
.snc-live[hidden] { display: none; }
/* the header box and the blog sidebar's box sit at the right: their lists open leftwards, over the page, so titles
 * have room to read */
.snc-strip .snc-live, .snc-sidebox .snc-live { left: auto; right: 0; }
.snc-live ul { list-style: none; margin: 0; padding: 0; }
.snc-live li { margin: 0; padding: 0; }
.snc-live li::before { content: none; }
.snc-live a { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 7px 10px; color: #2d0a01; text-decoration: none; }
.snc-live a:hover, .snc-live a:focus { background: #f1e3c8; text-decoration: underline; }
.snc-live a:focus-visible { outline: 2px solid var(--snc-green-dark); outline-offset: -2px; }
.snc-live__title { font-weight: 700; }
.snc-live__kind { flex: 0 0 auto; font-size: 12px; color: #7c5127; text-transform: uppercase; letter-spacing: 0.03em; }
.snc-live__none { margin: 0; padding: 7px 10px; color: #5a3a1f; }
.snc-live a.snc-live__all { border-top: 1px dashed #caab8c; font-style: italic; font-weight: 400; }
@media (forced-colors: active) {
	.snc-live { border-color: CanvasText; }
}

/* ===== the green bar stays at the top; back-to-top button (snc.js) =====
 * The bar sticks by itself (style above); snc.js adds a deeper shadow once the page has scrolled, and measures the bar
 * for links to a spot on the page. */
html {
	--snc-admin-offset: var(--wp-admin--admin-bar--height, 0px);
	/* links to a spot on the page (#…) and focused fields land below the bar, not under it */
	scroll-padding-top: calc(var(--snc-admin-offset) + var(--snc-sticky-h, 51px) + 10px);
}
@media (max-width: 600px) {
	html { --snc-admin-offset: 0px; } /* the admin bar scrolls away with the page on phones */
}
header.snc-site-header .snc-topbar { transition: box-shadow 0.2s; }
header.snc-site-header.is-stuck .snc-topbar { box-shadow: 0 5px 12px -2px rgba(20, 8, 2, 0.55); }

.snc-totop {
	position: fixed; z-index: 9990; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0;
	border: 2px solid #fffaf0; border-radius: 50%; background: #7c5127; color: #fffaf0; cursor: pointer;
	box-shadow: 0 2px 6px rgba(20, 8, 2, 0.4);
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity 0.2s, transform 0.2s, visibility 0.2s, background-color 0.15s;
}
.snc-totop.is-on { opacity: 1; visibility: visible; transform: none; }
.snc-totop svg { display: block; width: 20px; height: 20px; }
/* phones and tablets: smaller still, closer to the corner */
@media (max-width: 781px) {
	.snc-totop { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: 32px; height: 32px; border-width: 1.5px; }
	.snc-totop svg { width: 18px; height: 18px; }
}
.snc-totop:hover { background: #2d0a01; }
.snc-totop:focus-visible { outline: 3px solid var(--snc-green-dark); outline-offset: 2px; box-shadow: 0 0 0 2px #fffaf0, 0 0 0 7px #fffaf0; }
/* above the top video while it plays in the corner (and above its close button) */
body:has(iframe.snc-docked) .snc-totop { bottom: calc(16px + min(320px, 100vw - 32px) * 9 / 16 + 56px); }
@media (prefers-reduced-motion: reduce) {
	header.snc-site-header .snc-topbar, .snc-totop { transition: none; }
	.snc-totop { transform: none; }
}
@media (forced-colors: active) {
	.snc-totop { border-color: ButtonText; }
}
@media print {
	header.snc-site-header { position: static; }
	.snc-totop { display: none !important; }
}

/* ===== Google reCAPTCHA v3 (inc/recaptcha.php): no badge in the corner (it would sit on the back-to-top button); each
 * form says it is protected instead, as Google asks when the badge is hidden ===== */
.grecaptcha-badge { visibility: hidden !important; }
.snc-rc-note { margin: 0.6rem 0 0; font-size: 12px; line-height: 1.4; color: #5a3a1f; }
.snc-rc-note a { color: inherit; text-decoration: underline; font-weight: 400; }
form.snc-form > .snc-rc-note { grid-column: 1 / -1; text-align: center; }
form.snc-form .snc-rc-note a, .snc-subscribe .snc-rc-note a { font-weight: 400; }
.snc-subscribe .snc-rc-note { color: inherit; opacity: 0.85; font-size: 11px; }

/* ===== the pop-ups (inc/popups.php, snc.js): free summer camp drawing, the parents' video ===== */
.snc-popup {
	box-sizing: border-box; width: min(640px, 94vw); max-width: none; max-height: 92vh; padding: 0; overflow: visible;
	border: 10px solid #a85a24; border-image: url(../../../images/right23.jpg) 1 repeat; background: #f7eedb; color: #2d0a01;
}
.snc-popup::backdrop { background: rgba(20, 8, 2, 0.78); }
.snc-popup[open] { display: flex; flex-direction: column; }
@media (prefers-reduced-motion: no-preference) {
	.snc-popup[open] { animation: snc-popup-in 0.25s ease-out; }
}
@keyframes snc-popup-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.snc-popup__head img { display: block; width: 100%; height: auto; }
.snc-popup__body { overflow-y: auto; padding: 14px 22px 18px; text-align: center; }
.snc-popup__text { margin: 0 0 12px; font-size: 18px; line-height: 1.4; font-weight: 700; }
.snc-popup__form { margin: 0; }
.snc-popup__row { margin: 0 auto 10px; max-width: 400px; text-align: left; }
.snc-popup__row label { display: block; margin: 0 0 3px; font-size: 15px; font-weight: 700; }
.snc-popup__row input {
	box-sizing: border-box; width: 100%; height: 44px; padding: 0 10px; border: 1px solid #7c5127; border-radius: 4px;
	background: #fff; color: #2d0a01; font: inherit; font-size: 17px;
}
.snc-popup__row input:focus-visible { outline: 3px solid var(--snc-green-dark); outline-offset: 1px; }
.snc-popup__send {
	display: inline-block; margin: 4px 0 0; padding: 11px 26px; border: 0; border-radius: 6px; background: var(--snc-green); color: #2d0a01;
	font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; box-shadow: 0 2px 0 var(--snc-green-dark);
}
.snc-popup__send:hover, .snc-popup__send:focus-visible { background: #2d0a01; color: #fffaf0; }
.snc-popup__send:focus-visible { outline: 3px solid var(--snc-green-dark); outline-offset: 2px; }
.snc-popup__send[disabled] { opacity: 0.7; cursor: progress; }
.snc-popup__note { margin: 10px 0 0; color: #a10000; font-weight: 700; }
.snc-popup .snc-rc-note { margin: 10px 0 0; font-size: 12px; line-height: 1.35; color: #5a3d26; }
.snc-popup__thanks { margin: 4px 0 12px; font-size: 18px; font-weight: 700; }
.snc-popup__thanks:focus { outline: none; }
.snc-popup__done iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; background: #000; }
.snc-popup__close {
	position: absolute; top: -26px; right: -26px; z-index: 1; width: 40px; height: 40px; padding: 0;
	border: 2px solid #fff; border-radius: 50%; background: #2d0a01; color: #fff; font: 700 26px/34px Arial, sans-serif; cursor: pointer;
}
.snc-popup__close:hover, .snc-popup__close:focus-visible { background: #000; outline: 3px solid var(--snc-green); outline-offset: 1px; }
@media (max-width: 600px) {
	.snc-popup { border-width: 7px; }
	.snc-popup__close { top: 6px; right: 6px; width: 38px; height: 38px; }
	.snc-popup__body { padding: 12px 14px 14px; }
	.snc-popup__text { font-size: 16px; }
}
