/* The last of the old Additional CSS, moved into the theme on 28 Oct 2026 (log EV), in its original order. Loaded after events.css. Home page, Stories and standard cards, tap areas, forms on a phone. Fold each part into the right theme file when it is next touched. */
/* ===== FOM brand block (design system, 24 Oct 2026). Replace everything between START and END to update. ===== */
/* FOM BRAND START */
/* (the brand variables are now in tokens.css) */
/* Header: the eight menu items never wrap between 1025 and 1199 px. */
/* Habitat bar: four bands under the header and above the footer. Decoration only. */
/* Page frame: the header and footer rows follow the same token as the home sections and the Acknowledgement (frame plus the two gutters = Kadence's 1200 px container). */
/* Lead: the first paragraph after the page heading. */
.entry-content.single-content > h1 + p,
.entry-content .kt-inside-inner-col > h1 + p {
  font-size: var(--fc-fs-lead);
  line-height: 1.6;
}
/* Home "What's on" widget: site link colour, 16 px, 44 px tall tap area. */
.tribe-events-widget-events-list__view-more-link,
.tribe-events-widget-events-list__view-more-link:visited {
  color: var(--global-palette2) !important;
  font-size: 16px !important;
}
.tribe-events-widget-events-list__view-more-link,
.tribe-events-widget-events-list__event-title a {
  display: inline-block;
  padding: 6px 0;
}
/* Single event: title in the heading font like every other page. */
.tribe-events-single-event-title {
  font-family: "Source Serif 4", serif;
  font-size: var(--fc-fs-h2);
  font-weight: 600;
  line-height: 1.2;
}
/* Membership, cash and Contact forms (forms 1, 2 and 3): submit button like the site buttons. */
/* Contact form: readable field labels (form 3 only) */
/* Page opening: typed breadcrumb above the heading (child pages). */
.fom-crumbs {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 16px !important;
  color: var(--global-palette5);
}
.fom-crumbs + h1 { margin-top: 0 !important; }
/* Header drop-down: light panel, 16 px text, 44 px rows (the theme default is a dark panel with 12 px text). */
/* Drop-down: the current page keeps the light panel (the theme paints it dark). */
/* Program or feature card (saved pattern "FOM / Program card"). */
/* WordPress wraps the content of a group block in an extra div; let our layouts see through it. */
[class*="fom-"] > .wp-block-group__inner-container { display: contents; }
/* ---- Home page (page 1482): hero, program cards, garden panel, stories, Join panel ---- */
.fom-lead { font-size: var(--fc-fs-lead); line-height: 32px; }
/* the theme sets full-width blocks to no side padding; these restore the 1160 px page column */
/* Standard card (patterns "FOM / Card" and "FOM / Card grid"): real photo at 3:2 above the text */
/* home What's on widget: one "See all events" link below it, and 16 px text */
/* latest stories (query loop) */
.is-style-outline > .wp-block-button__link { background: transparent; color: var(--global-palette2); border: 2px solid var(--global-palette2); }
.is-style-outline > .wp-block-button__link:hover { background: var(--fc-tint); color: var(--global-palette3); border-color: var(--global-palette3); }
/* Membership pages (style only): their rows add 24 px at the sides and 64 px above and below; remove it, because the page settings already add the space so the column is 720 px like the text pages. The forms themselves are not styled or changed. */
.page-id-1056 .kt-row-column-wrap,
.page-id-1137 .kt-row-column-wrap,
.page-id-1156 .kt-row-column-wrap,
.page-id-1097 .kt-row-column-wrap {
  padding: 0 !important;
}
.page-id-1056 .kt-inside-inner-col > h1:first-child,
.page-id-1137 .kt-inside-inner-col > h1:first-child,
.page-id-1156 .kt-inside-inner-col > h1:first-child,
.page-id-1097 .kt-inside-inner-col > h1:first-child {
  margin-top: 0 !important;
}
/* Accessibility: 16px text in the Contact form (stops phone zoom) and 44px tap targets */
/* ---- Stories list and story category/tag pages: the standard card (proposals/stories-list-cards.md) ---- */
.loop-entry {
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-radius);
  overflow: hidden;
  background: var(--global-palette9);
  box-shadow: var(--fc-shadow);
}
.loop-entry .entry-content-wrap { padding: 24px; }
.loop-entry .entry-taxonomies { margin: 0 0 8px; font-size: 16px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.loop-entry .entry-taxonomies a { color: var(--global-palette5); text-decoration: none; font-size: 16px; letter-spacing: 0; text-transform: none; }
.loop-entry .entry-title { font-size: var(--fc-fs-lead); line-height: 1.3; margin: 0; }
.loop-entry .entry-title a { color: var(--global-palette3); text-decoration: none; }
/* the summary shows only when a story has a written excerpt (see the WPCode snippet "FOM: card excerpts, manual only") */
.loop-entry .entry-summary { margin: 8px 0 0; font-size: 16px; line-height: 24px; }
.loop-entry .entry-summary p { margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.loop-entry .entry-summary:not(:has(p:not(:empty))) { display: none !important; }
.loop-entry .entry-footer { display: none; }
/* Stories pages: the hooked opening element replaces Kadence's own title */
.blog .archive-title, .blog .entry-header.archive-title, .category .entry-header.post-archive-title, .tag .entry-header.post-archive-title { display: none; }
/* Story cards stay inside the 720px column: two across, one on a phone */
.blog #archive-container, .category #archive-container, .tag #archive-container {
  gap: 24px;
  max-width: var(--fc-measure);
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 600px) {
.blog #archive-container, .category #archive-container, .tag #archive-container { grid-template-columns: minmax(0, 1fr); }}
/* Keyboard focus ring (24 Oct 2026): one clear ring for every focusable element; the theme and form plugin switch outlines off with stronger rules, so this one is !important */
:focus-visible { outline: 3px solid var(--fc-ink) !important; outline-offset: 2px !important; }
/* Breadcrumb as a navigation landmark: looks the same as the typed line it replaces */
nav.fom-crumbs { margin-top: 16px; }
nav.fom-crumbs ol { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
nav.fom-crumbs li { margin: 0; padding: 0; }
/* the separator belongs to the step before it, so a long trail that wraps never starts a line with "/" */
nav.fom-crumbs li:not(:last-child)::after { content: "/"; margin: 0 0.35em; }
.single-post #main > .fom-crumbs { margin-bottom: 16px; }
/* ===== Standard card: one definition for every card on the site (24 Oct 2026) =====
   Frame: 1 px sand border, 6 px radius, standard shadow, paper background, photo full-width on top at 3:2, 24 px body.
   Category label 16 px semibold, title 24 px serif semibold, text 16-18 px. Used by the home cards, home stories, story and search cards
   and event cards. A new kind of card must be added to this list, or built from the saved pattern "FOM / Card". */
.fom-card, .fom-stories .wp-block-post-template > li, .loop-entry, .content-style-boxed .loop-entry,
.tribe-events-calendar-list__event-row, .post-type-archive-tribe_events .tribe-events-calendar-list__event-row {
  background: var(--global-palette9);
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-radius);
  box-shadow: var(--fc-shadow);
  overflow: hidden;
  padding: 0;
}
/* Page canvas: pages that use the theme's "boxed" content style (single events, Stories, categories, search, archives) get the same paper-coloured page as every text page, with no box around the content */
.content-style-boxed .site { background: var(--global-palette9); }
.content-style-boxed .content-bg:not(.loop-entry) { background: transparent; box-shadow: none; border-radius: 0; margin-left: 0; margin-right: 0; }
/* ===== Tap areas: 44 px without changing how anything looks =====
   Small links get an invisible extension above and below (an ::after box), the same method as the category pills.
   A card title (33 px) reaches down into the card's own padding, a label above it (23 px) reaches up and stops short of the title,
   breadcrumbs (23 px) reach 11 px both ways, footer links (40 px) 2 px, event titles in the home widget 7 px, buttons 3 px
   (an ::after box starts at the padding edge, inside a button's border). */
.fom-stories .wp-block-post-terms a, .loop-entry .entry-taxonomies a, .entry-header .category-links a,
nav.fom-crumbs a, .footer-navigation .menu-item > a, .tribe-events-widget-events-list__event-title-link, .wp-block-button__link { position: relative; }
.fom-stories .wp-block-post-terms a::after, .loop-entry .entry-taxonomies a::after, .entry-header .category-links a::after,
nav.fom-crumbs a::after, .footer-navigation .menu-item > a::after, .tribe-events-widget-events-list__event-title-link::after, .wp-block-button__link::after { content: ""; position: absolute; left: 0; right: 0; }
.entry-header .category-links a::after { top: -11px; bottom: -11px; }
/* the label on a card has a title right under it, so it reaches up, not down (listed after the rule above, which also matches it) */
.fom-stories .wp-block-post-terms a::after, .loop-entry .entry-taxonomies a::after { top: -16px; bottom: -6px; }
nav.fom-crumbs a::after { top: -11px; bottom: -11px; }
.tribe-events-widget-events-list__event-title-link::after { top: -7px; bottom: -7px; }
.wp-block-button__link::after { top: -3px; bottom: -3px; }
/* ===== Standard card, part 2 (25 Oct 2026): the whole card is the link, hover and focus on the card, panel for a story with no photo =====
   The title link is the only link in the markup; its ::after covers the whole card, so a tap on the photo or text opens the page.
   A category label above the title stays a separate link, raised above the cover. */
.fom-card, .fom-stories .wp-block-post-template > li, .loop-entry, .tribe-events-calendar-list__event-row { position: relative; }
.fom-card h3 a, .fom-stories .wp-block-post-title a, .loop-entry .entry-title a, .tribe-events-calendar-list__event-title-link { position: static; }
.fom-card h3 a::after, .fom-stories .wp-block-post-title a::after, .loop-entry .entry-title a::after, .tribe-events-calendar-list__event-title-link::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; }
.fom-stories .wp-block-post-terms a, .loop-entry .entry-taxonomies a { position: relative; z-index: 2; }
/* hover: brand-green border (nothing moves; the title is no longer underlined, 25 Oct 2026) */
.fom-card:hover, .fom-stories .wp-block-post-template > li:hover, .loop-entry:hover, .tribe-events-calendar-list__event-row:hover { border-color: var(--global-palette1); }
/* focus: the ring goes round the whole card, not the title text */
.fom-card h3 a:focus-visible, .fom-stories .wp-block-post-title a:focus-visible, .loop-entry .entry-title a:focus-visible, .tribe-events-calendar-list__event-title-link:focus-visible { outline: none !important; }
/* a story with no photo: category panel (Nature notes forest, Project updates lake, other categories sand); the panel names the category, so the small label above the title is dropped */
/* ===== Forms on a phone (25 Oct 2026): Join (1), volunteer cash (2) and Contact (3) ===== */
/* 16 px text stops phones zooming in when a box is tapped; 44 px tall boxes are easy to hit. Only the look changes. */