@charset "UTF-8";
/*!
Theme Name: Community Bootstrap
Theme URI: http://underscores.me/
Author: danxtshake
Author URI: https://community.bootstrap.local
Description: Custom theme: Community Bootstrap, developed by danxtshake
Version: 1.1.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: community-bootstrap
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Community Bootstrap is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/
/* ============================================================================
   Design tokens — CSS custom properties
   Aesthetic: community/accessible — inspired by CAN (Community Arts Network)
   Navy primary, amber-gold accent, light-grey surface, Source Serif 4 headings + Barlow Semi Condensed body, soft radius
   ============================================================================ */
:root {
  /* ── Colour palette ───────────────────────────────────────────────────── */
  --color-primary: #394967; /* CAN navy — hero, header, dark sections */
  --color-primary-tint: #4f6285; /* navy mid-tone */
  --color-primary-dark: #2a3750; /* deep navy */
  --color-accent: #a47923; /* warm amber-gold — links, CTAs, active states */
  --color-accent-dark: #845f1b; /* amber hover */
  --color-bg: #ffffff; /* page background */
  --color-bg-tint: #e5e7eb; /* CAN light grey — alternate sections */
  --color-bg-dark: #394967; /* footer, dark bands */
  --color-text: #254892; /* body copy */
  --color-text-muted: #767f93; /* CAN muted — secondary / meta text */
  --color-text-inverse: #ffffff; /* text on dark backgrounds */
  --color-border: #e5e7eb; /* dividers, input borders */
  --color-border-strong: #d1d5db;
  --color-surface-btn: #f3f4f6; /* flat button background */
  --color-success: #2E7D52; /* green — success states */
  --color-warning: #f57c00;
  --color-error: #e6051f; /* CAN donate/danger red */
  /* ── Typography ───────────────────────────────────────────────────────── */
  --font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-body: 'Barlow Semi Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-head: var(--font-display);
  --font-mono: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, monospace;
  --text-xs: 0.75rem; /*  13.5px */
  --text-sm: 0.875rem; /*  15.75px */
  --text-base: 1rem; /*  18px */
  --text-md: 1.125rem; /*  20.25px */
  --text-lg: 1.25rem; /*  22.5px */
  --text-xl: 1.5rem; /*  27px */
  --text-2xl: 1.875rem; /*  33.75px */
  --text-3xl: 2.25rem; /*  40.5px */
  --text-4xl: 3.05rem; /*  ~54.9px */
  --leading-tight: 1.2; /* headings — CAN uses 1.2 */
  --leading-snug: 1.3;
  --leading-normal: 1.5; /* body — CAN uses 1.5 */
  --leading-loose: 1.8;
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  /* ── Spacing scale (8pt grid) ─────────────────────────────────────────── */
  --space-1: 0.25rem; /*  4px */
  --space-2: 0.5rem; /*  8px */
  --space-3: 0.75rem; /* 12px */
  --space-4: 1rem; /* 16px */
  --space-5: 1.25rem; /* 20px */
  --space-6: 1.5rem; /* 24px */
  --space-8: 2rem; /* 32px */
  --space-10: 2.5rem; /* 40px */
  --space-12: 3rem; /* 48px */
  --space-16: 4rem; /* 64px */
  --space-20: 5rem; /* 80px */
  --space-24: 6rem; /* 96px */
  /* ── Layout ───────────────────────────────────────────────────────────── */
  --width-content: 740px;
  --width-wide: 1100px;
  --width-full: 1400px;
  /* ── Borders & radius ─────────────────────────────────────────────────── */
  --radius-sm: 4px; /* CAN uses mild rounding on inputs/pills */
  --radius-card: 4px;
  --radius-lg: 8px;
  --radius-pill: 999px;
  --border-width: 1px;
  /* ── Shadows ──────────────────────────────────────────────────────────── */
  --shadow-xs: 0 1px 2px rgba(57, 73, 103, 0.06);
  --shadow-sm: 0 2px 4px rgba(57, 73, 103, 0.08);
  --shadow-card: 0 2px 8px rgba(57, 73, 103, 0.10);
  --shadow-lg: 0 4px 24px rgba(57, 73, 103, 0.18);
  /* ── Transitions ──────────────────────────────────────────────────────── */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 120ms;
  --duration-base: 200ms;
  --duration-slow: 350ms;
  /* ── Z-index scale ────────────────────────────────────────────────────── */
  --z-below: -1;
  --z-base: 0;
  --z-raised: 10;
  --z-overlay: 100;
  --z-modal: 200;
  --z-toast: 300;
  --z-top: 9999;
}

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/
/* Normalize
--------------------------------------------- */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
	 ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */
/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
/* Typography
--------------------------------------------- */
html {
  font-size: 112.5%;
}

body,
button,
input,
select,
optgroup,
textarea {
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  font-family: var(--font-head);
  font-weight: var(--weight-bold);
  text-transform: none;
  letter-spacing: -0.01em;
  line-height: var(--leading-tight);
}

h1 {
  font-size: var(--text-4xl);
}

h2 {
  font-size: var(--text-3xl);
}

h3 {
  font-size: var(--text-xl);
}

h4 {
  font-size: var(--text-lg);
}

h5 {
  font-size: var(--text-md);
}

h6 {
  font-size: var(--text-base);
}

p {
  margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
  background: #fff;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/* Links
--------------------------------------------- */
a {
  color: var(--color-accent);
}
a:hover, a:focus, a:active {
  color: var(--color-accent-dark);
}
a:focus {
  outline: thin dotted;
}
a:hover, a:active {
  outline: 0;
}

/* Forms
--------------------------------------------- */
.wp-element-button,
.wp-block-button__link {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.wp-block-button.is-style-outline .wp-element-button.wp-block-button__link {
  background-color: transparent;
  color: inherit;
  border-color: currentColor;
}
.wp-block-button.is-style-outline .wp-element-button.wp-block-button__link:hover {
  background-color: color-mix(in srgb, currentColor 15%, transparent);
  border-color: currentColor;
}

button,
input[type=button],
input[type=reset],
input[type=submit] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}
button:hover,
input[type=button]:hover,
input[type=reset]:hover,
input[type=submit]:hover {
  border-color: #ccc #bbb #aaa;
}
button:active, button:focus,
input[type=button]:active,
input[type=button]:focus,
input[type=reset]:active,
input[type=reset]:focus,
input[type=submit]:active,
input[type=submit]:focus {
  border-color: #aaa #bbb #bbb;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
input[type=number],
input[type=tel],
input[type=range],
input[type=date],
input[type=month],
input[type=week],
input[type=time],
input[type=datetime],
input[type=datetime-local],
input[type=color],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=number]:focus,
input[type=tel]:focus,
input[type=range]:focus,
input[type=date]:focus,
input[type=month]:focus,
input[type=week]:focus,
input[type=time]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=color]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
/* ============================================================================
   Layout — site chrome, constrained widths, header, footer
   ============================================================================ */
/* ── Constrained content wrapper ──────────────────────────────────────────── */
.site-container,
.wp-block-group.alignfull > .wp-block-group__inner-container {
  max-width: var(--width-content);
  margin-inline: auto;
  padding-inline: var(--space-8);
}

.alignwide {
  max-width: var(--width-wide);
  margin-inline: auto;
}

.alignfull {
  width: 100%;
}

/* ── Site header ──────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-overlay);
  background-color: var(--color-primary);
  border-bottom: 2px solid var(--color-accent);
  padding-block: 0;
  padding-inline: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  min-height: 64px;
}

.site-header .site-branding {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.site-header .site-title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  font-family: var(--font-display);
  text-transform: none;
  letter-spacing: -0.01em;
  margin: 0;
}
.site-header .site-title a,
.site-header .site-title a:where(:not(.wp-element-button)) {
  color: var(--color-text-inverse);
  text-decoration: none;
}

.site-header .site-description {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

/* ── Primary navigation ───────────────────────────────────────────────────── */
.site-header .main-navigation {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.menu-main-navigation-container {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.main-navigation a {
  display: flex;
  align-items: center;
  padding-block: var(--space-4);
  padding-inline: var(--space-4);
  font-size: var(--text-sm);
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease);
}

.main-navigation a:hover {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.3);
  background-color: transparent;
}

/* Active / current page */
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
  color: #ffffff;
  border-bottom-color: var(--color-accent);
}

/* Dropdown */
.main-navigation .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  flex-direction: column;
  background: var(--color-primary);
  border: var(--border-width) solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  z-index: var(--z-overlay);
}

.main-navigation .sub-menu a {
  color: rgba(255, 255, 255, 0.75);
  padding: var(--space-2) var(--space-4);
}
.main-navigation .sub-menu a:hover {
  color: #fff;
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu {
  display: flex;
}

/* ── Site content ─────────────────────────────────────────────────────────── */
.site-content {
  min-height: 60vh;
}

/* ── Site footer ──────────────────────────────────────────────────────────── */
.site-footer {
  background-color: var(--color-bg-dark);
  color: var(--color-text-inverse);
  padding-block: var(--space-16);
  font-size: var(--text-sm);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-text-inverse);
}

.site-footer > * {
  max-width: var(--width-wide);
  margin-inline: auto;
  padding-inline: var(--space-8);
}

.footer-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-6);
}

.footer-navigation li {
  margin: 0;
}

.site-footer .site-info {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: var(--border-width) solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .site-container,
  .wp-block-group.alignfull > .wp-block-group__inner-container {
    padding-inline: var(--space-4);
  }
  .main-navigation ul {
    flex-direction: column;
  }
  h1 {
    font-size: var(--text-3xl);
  }
  h2 {
    font-size: var(--text-2xl);
  }
  h3 {
    font-size: var(--text-xl);
  }
}
/* ── Front page — hide entry chrome and sidebar ───────────────────────────── */
.home .entry-header,
.home .entry-title,
.home #secondary,
.home .widget-area {
  display: none !important;
}

.home #primary {
  width: 100%;
  float: none;
}

/* ── Inner pages — hide entry chrome and sidebar ──────────────────────────── */
.page .entry-header,
.page .entry-title,
.page #secondary,
.page .widget-area {
  display: none !important;
}

.page #primary {
  width: 100%;
  float: none;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
/* Navigation
--------------------------------------------- */
.main-navigation {
  display: block;
  width: 100%;
}
.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}
.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}
.main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul {
  display: block;
  left: auto;
}
.main-navigation ul ul a {
  width: 200px;
}
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto;
}
.main-navigation li {
  position: relative;
}
.main-navigation a {
  display: block;
  text-decoration: none;
}
/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

@media screen and (min-width: 37.5em) {
  .menu-toggle {
    display: none;
  }
  .main-navigation ul {
    display: flex;
  }
}
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}
.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}
.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}
.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

.post,
.page {
  margin: 0 0 1.5em;
}

.updated:not(.published) {
  display: none;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}
.widget select {
  max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}
.wp-caption img[class*=wp-image-] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/* ============================================================================
   Homepage section styles — bold/minimal aesthetic (Corner Hotel inspired)
   ============================================================================ */
/* ── Shared: site-label eyebrow ───────────────────────────────────────────── */
.hp-hero .site-label,
.hp-about .site-label,
.hp-pillars .site-label,
.hp-issues .site-label,
.hp-membership .site-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: var(--weight-bold);
}

/* ── 1. Hero ──────────────────────────────────────────────────────────────── */
.hp-hero {
  background-color: var(--color-primary);
  color: rgba(255, 255, 255, 0.85);
  padding: 6rem 2rem;
}

.hp-hero .site-label {
  color: rgba(255, 255, 255, 0.65);
}

.hp-hero .wp-block-heading {
  color: #fff;
}

.hp-hero p {
  color: rgba(255, 255, 255, 0.85);
}

.hp-hero .wp-block-button__link {
  background-color: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.hp-hero .wp-block-button__link:hover {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

/* ── 2. About ─────────────────────────────────────────────────────────────── */
.hp-about {
  padding: 5rem 2rem;
}

.hp-col-focus {
  background-color: var(--color-bg-tint);
  padding: 2rem;
  border-left: 3px solid var(--color-accent);
}

/* ── 3. Pillars ───────────────────────────────────────────────────────────── */
.hp-pillars {
  background-color: var(--color-primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 2rem;
}

.hp-pillars .wp-block-heading {
  color: #fff;
}

.hp-pillars p {
  color: rgba(255, 255, 255, 0.8);
}

.hp-col-pillar {
  background-color: rgba(255, 255, 255, 0.06);
  padding: 1.5rem;
  border-top: 2px solid var(--color-accent);
}

/* ── 4. Current Issues ────────────────────────────────────────────────────── */
.hp-issues {
  padding: 5rem 2rem;
  background-color: var(--color-bg-tint);
}

.hp-col-issue {
  background-color: #fff;
  padding: 1.5rem;
  border-top: 3px solid var(--color-primary);
}

.hp-col-issue .site-label {
  color: var(--color-accent);
}

/* ── 5. Membership CTA ────────────────────────────────────────────────────── */
.hp-membership {
  background-color: var(--color-primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 5rem 2rem;
}

.hp-membership .wp-block-heading {
  color: #fff;
}

.hp-membership p {
  color: rgba(255, 255, 255, 0.8);
}

.hp-membership .site-label {
  color: rgba(255, 255, 255, 0.65);
}

.hp-membership .wp-block-button__link {
  background-color: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.hp-membership .wp-block-button__link:hover {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

/* ── Site label with decorative underline ─────────────────────────────────────── */
.site-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: var(--weight-bold);
  display: flex;
  flex-direction: column;
}
.site-label::after {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--color-accent);
  margin-top: 0.375rem;
  align-self: flex-start;
}
.site-label.has-text-align-center::after {
  align-self: center;
}

.page-hero .site-label::after {
  align-self: center;
}

/* ── Inner page hero ─────────────────────────────────────────────────────────── */
.page-hero {
  background-color: var(--color-primary);
  color: rgba(255, 255, 255, 0.85);
  padding: 1.5rem;
  text-align: center;
  /* Override Gutenberg Cover block inline min-height (430px default → 300px) */
  min-height: 300px !important;
}

/* When .page-hero is a Cover block, enforce a dark overlay regardless of editor colour pick */
.page-hero.wp-block-cover .wp-block-cover__background {
  background-color: var(--color-primary) !important;
  opacity: 0.65 !important;
}

.page-hero .site-label {
  color: rgba(255, 255, 255, 0.65);
}

.page-hero h1,
.page-hero .wp-block-heading {
  color: #fff;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin-inline: auto;
}

.page-hero .wp-block-button__link {
  background-color: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.page-hero .wp-block-button__link:hover {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

/* ── Compact hero (archive / listing pages) ───────────────────────────────────── */
.page-hero--compact {
  height: 16rem;
  padding: 0 2rem 2rem;
  display: flex;
  align-items: flex-end;
  text-align: left;
}
.page-hero--compact h1, .page-hero--compact .wp-block-heading {
  margin-bottom: 0;
}

/* ── In-page jump nav ─────────────────────────────────────────────────────────── */
.page-jump-nav {
  background-color: var(--color-primary);
  padding: var(--space-3) var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-8);
  justify-content: center;
}
.page-jump-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.page-jump-nav a:hover {
  color: #fff;
}

/* ── Standard content sections ───────────────────────────────────────────────── */
.page-section {
  padding: 2rem 1rem;
}

.page-section--tint {
  background-color: var(--color-bg-tint);
  padding: 2rem 1rem;
}

/* ── Column card ─────────────────────────────────────────────────────────────── */
.col-card {
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 2rem;
}

/* ── Column card with image ───────────────────────────────────────────────────── */
.col-card--image {
  background-color: #fff;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  position: relative;
}
.col-card--image .col-card__image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.col-card--image .col-card__body {
  padding: var(--space-6) var(--space-4) var(--space-4);
}
.col-card--image .col-card__category {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

/* ── Card status badge ────────────────────────────────────────────────────────── */
.card-status {
  position: absolute;
  bottom: var(--space-2);
  right: var(--space-2);
  background: var(--color-primary);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  padding: var(--space-1) var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

/* ── Section heading + view-all row ──────────────────────────────────────────── */
.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: var(--border-width) solid var(--color-border);
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-8);
}
.section-heading-row .section-heading-row__link {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-accent);
  text-decoration: none;
  white-space: nowrap;
}
.section-heading-row .section-heading-row__link:hover {
  text-decoration: underline;
}

/* ── CTA band ────────────────────────────────────────────────────────────────── */
.page-cta {
  background-color: var(--color-bg-tint);
  color: var(--color-primary);
  padding: 5rem 2rem;
  text-align: center;
}

.page-cta .wp-block-button__link {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.page-cta .wp-block-button__link:hover {
  background-color: var(--color-primary-dark, color-mix(in srgb, var(--color-primary) 85%, #000));
  border-color: var(--color-primary-dark, color-mix(in srgb, var(--color-primary) 85%, #000));
}

/* ── Single event page ────────────────────────────────────────────────────── */
.event-single {
  /* Hero — featured image with dark overlay */
}
.event-single__hero {
  position: relative;
  background-color: var(--color-primary);
  min-height: 22rem;
  display: flex;
  align-items: flex-end;
}
.event-single__hero--has-image {
  min-height: 28rem;
}
.event-single__hero-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.event-single__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.event-single__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 38, 57, 0.88) 0%, rgba(30, 38, 57, 0.45) 60%, rgba(30, 38, 57, 0.2) 100%);
}
.event-single__hero-content {
  position: relative;
  width: 100%;
  padding: var(--space-16) var(--space-8) var(--space-10);
}
.event-single__hero-inner {
  max-width: var(--width-wide);
  margin-inline: auto;
}
.event-single {
  /* Date — amber label */
}
.event-single__date {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-accent);
  margin: 0 0 var(--space-3);
}
.event-single__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: #fff;
  line-height: var(--leading-tight);
  margin: 0 0 var(--space-4);
}
.event-single__venue {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-base);
  margin: 0;
}
.event-single__icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  color: var(--color-accent);
}
.event-single {
  /* Body layout */
}
.event-single__body {
  padding: var(--space-12) var(--space-8) var(--space-20);
  max-width: var(--width-wide);
  margin-inline: auto;
}
.event-single__layout {
  display: grid;
  grid-template-columns: 1fr 18rem;
  gap: var(--space-12);
  align-items: start;
}
.event-single {
  /* Main content column */
}
.event-single__lead {
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
  color: var(--color-text);
  margin: 0 0 var(--space-8);
  font-weight: var(--weight-medium);
}
.event-single__content .wp-block-paragraph,
.event-single__content p {
  font-size: var(--text-base);
  line-height: var(--leading-normal);
}
.event-single {
  /* Book button */
}
.event-single__book-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: var(--space-3) var(--space-6);
  font-weight: var(--weight-bold);
  font-family: var(--font-body);
  text-decoration: none;
  transition: background-color var(--duration-base) var(--ease);
}
.event-single__book-btn:hover {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}
.event-single {
  /* Back link */
}
.event-single__back {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}
.event-single__back:hover {
  color: var(--color-primary);
}

/* ── Event meta sidebar blocks ────────────────────────────────────────────── */
.event-meta-block {
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--color-border);
}
.event-meta-block:first-child {
  border-top: 1px solid var(--color-border);
}
.event-meta-block__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-2);
}
.event-meta-block__value {
  font-size: var(--text-base);
  color: var(--color-text);
  margin: 0;
  line-height: var(--leading-snug);
}
.event-meta-block--sold-out .event-meta-block__value {
  color: var(--color-error);
  font-weight: var(--weight-semibold);
}
.event-meta-block--back {
  border-bottom: none;
  padding-top: var(--space-6);
}

/* Single event responsive */
@media (max-width: 768px) {
  .event-single__title {
    font-size: var(--text-2xl);
  }
  .event-single__layout {
    grid-template-columns: 1fr;
  }
  .event-single {
    /* Move meta above content on mobile */
  }
  .event-single__meta {
    order: -1;
  }
  .event-single__body {
    padding: var(--space-8) var(--space-5) var(--space-12);
  }
  .event-single__hero-content {
    padding: var(--space-10) var(--space-5) var(--space-8);
  }
}
/* ── Event card (grid / card view) ────────────────────────────────────────── */
.event-card {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  position: relative;
  /* Featured image */
}
.event-card .wp-block-post-featured-image, .event-card__image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.event-card .wp-block-post-featured-image img, .event-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slow) var(--ease);
}
.event-card:hover .wp-block-post-featured-image img {
  transform: scale(1.03);
}
.event-card {
  /* Body */
}
.event-card__body {
  padding: var(--space-5) var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.event-card {
  /* Date — amber label above the title */
}
.event-card__date {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-accent);
  margin: 0 0 var(--space-2);
}
.event-card {
  /* Title */
}
.event-card .wp-block-post-title {
  font-size: var(--text-md);
  margin: 0 0 var(--space-3);
  line-height: var(--leading-snug);
}
.event-card .wp-block-post-title a {
  color: var(--color-text);
  text-decoration: none;
}
.event-card .wp-block-post-title a:hover {
  color: var(--color-primary);
}
.event-card {
  /* Excerpt */
}
.event-card .wp-block-post-excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-4);
  flex: 1;
}
.event-card {
  /* Venue + cost */
}
.event-card__venue, .event-card__cost {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-1);
}
.event-card {
  /* Booking button row */
}
.event-card__actions {
  margin-top: var(--space-5);
}
.event-card__actions .wp-block-button__link {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.event-card__actions .wp-block-button__link:hover {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}
.event-card {
  /* Sold-out modifier — desaturated image, muted title */
}
.event-card--sold-out .wp-block-post-featured-image img {
  filter: grayscale(0.55) opacity(0.85);
}
.event-card--sold-out .wp-block-post-title a {
  color: var(--color-text-muted);
}
.event-card {
  /* Sold-out badge */
}
.event-card__badge--sold-out {
  display: inline-block;
  background-color: var(--color-error);
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  margin-top: var(--space-3);
}

/* ── Event list row (list view) ───────────────────────────────────────────── */
.event-list-row {
  display: grid;
  grid-template-columns: 7rem 1fr auto;
  align-items: start;
  gap: var(--space-4) var(--space-6);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--color-border);
}
.event-list-row:first-child {
  border-top: 1px solid var(--color-border);
}
.event-list-row {
  /* Date column */
}
.event-list-row__date {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-top: 0.2em;
  margin: 0;
}
.event-list-row {
  /* Title + excerpt column */
}
.event-list-row__main .wp-block-post-title {
  font-size: var(--text-md);
  margin: 0 0 var(--space-2);
}
.event-list-row__main .wp-block-post-title a {
  color: var(--color-text);
  text-decoration: none;
}
.event-list-row__main .wp-block-post-title a:hover {
  color: var(--color-primary);
}
.event-list-row__main .wp-block-post-excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}
.event-list-row {
  /* Meta column (venue, cost, button) */
}
.event-list-row__meta {
  text-align: right;
}
.event-list-row__meta p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-1);
}
.event-list-row {
  /* Booking button (outline, compact) */
}
.event-list-row__actions {
  margin-top: var(--space-3);
  justify-content: flex-end;
}
.event-list-row__actions .wp-block-button__link {
  font-size: var(--text-sm);
  padding: var(--space-1) var(--space-4);
  background-color: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.event-list-row__actions .wp-block-button__link:hover {
  background-color: var(--color-accent);
  color: #fff;
}
.event-list-row {
  /* Sold-out state */
}
.event-list-row--sold-out .wp-block-post-title a {
  color: var(--color-text-muted);
}

/* ── View toggle (grid / list) ────────────────────────────────────────────── */
.events-view-toggle {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-1);
  padding: var(--space-3) var(--space-8);
  background-color: var(--color-bg-tint);
  border-bottom: var(--border-width) solid var(--color-border);
}

.events-view-toggle__btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-muted);
  text-decoration: none;
  border: var(--border-width) solid transparent;
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease), background-color var(--duration-fast) var(--ease);
}
.events-view-toggle__btn:hover {
  color: var(--color-primary);
  border-color: var(--color-border);
  background-color: #fff;
}
.events-view-toggle__btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

body.page-id-202 .events-view-toggle__btn[data-view=grid],
body.page-id-492 .events-view-toggle__btn[data-view=list] {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background-color: #fff;
}

/* ── Responsive collapse ──────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .event-list-row {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
  .event-list-row__meta {
    text-align: left;
  }
  .event-list-row__actions {
    justify-content: flex-start;
  }
}
/* ── Query Loop: list-view layout override ────────────────────────────────── */
.events--list-view .wp-block-post-template {
  display: flex !important;
  flex-direction: column;
  gap: 0 !important;
}

/* ── Query Loop pagination ─────────────────────────────────────────────────── */
.wp-block-query-pagination {
  margin-top: 2.5rem;
  gap: 0.375rem;
}

.wp-block-query-pagination-numbers {
  display: flex;
  gap: 0.375rem;
  align-items: center;
}

.wp-block-query-pagination .page-numbers,
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.625rem;
  border: 1px solid var(--color-accent);
  border-radius: 4px;
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}

.wp-block-query-pagination .page-numbers:hover,
.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination-next:hover {
  background-color: var(--color-accent);
  color: #fff;
}

.wp-block-query-pagination .page-numbers.current {
  background-color: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  pointer-events: none;
}

/* ── Newsletter archive ───────────────────────────────────────────────────── */
.newsletter-year-group {
  margin-bottom: var(--space-12);
}

.newsletter-year-label.wp-block-heading {
  display: inline-block;
  font-size: var(--text-2xl);
  color: var(--color-primary);
  padding-bottom: var(--space-2);
  border-bottom: 3px solid var(--color-accent);
  margin-bottom: var(--space-3);
}

.newsletter-year-group .wp-block-list {
  list-style: none;
  padding-left: 0;
  border-top: var(--border-width) solid var(--color-border);
}
.newsletter-year-group .wp-block-list > li {
  border-bottom: var(--border-width) solid var(--color-border);
}
.newsletter-year-group .wp-block-list > li > a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-2);
  color: var(--color-text);
  text-decoration: none;
  font-weight: var(--weight-medium);
  transition: background-color var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease), padding-left var(--duration-fast) var(--ease);
}
.newsletter-year-group .wp-block-list > li > a::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: var(--radius-pill);
  background-color: var(--color-accent);
}
.newsletter-year-group .wp-block-list > li > a:hover {
  background-color: var(--color-bg-tint);
  color: var(--color-accent);
  padding-left: var(--space-4);
}
.newsletter-year-group .wp-block-list > li:not(:has(> a)) {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-2);
  color: var(--color-text-muted);
  font-style: italic;
}
.newsletter-year-group .wp-block-list > li:not(:has(> a))::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: var(--radius-pill);
  background-color: var(--color-border-strong);
}

/* ── Magazine archive ────────────────────────────────────────────────────── */
.magazine-archive {
  border-top: var(--border-width) solid var(--color-border);
}

.magazine-archive__row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-2);
  border-bottom: var(--border-width) solid var(--color-border);
  transition: background-color var(--duration-fast) var(--ease);
}
.magazine-archive__row:hover {
  background-color: var(--color-bg-tint);
}

.magazine-archive__name {
  flex: 1;
  font-weight: var(--weight-medium);
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.magazine-archive__name::before {
  content: "";
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: var(--radius-pill);
  background-color: var(--color-accent);
}

.magazine-archive__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.magazine-archive__btn {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-decoration: none;
  padding: 0.2rem var(--space-3);
  border-radius: var(--radius-sm);
  border: var(--border-width) solid;
  white-space: nowrap;
  line-height: 1.6;
  transition: background-color var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease);
}
.magazine-archive__btn--pdf {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.magazine-archive__btn--pdf:hover {
  background-color: var(--color-primary);
  color: #fff;
}
.magazine-archive__btn--flip {
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.magazine-archive__btn--flip:hover {
  background-color: var(--color-accent);
  color: #fff;
}

/* ── Covid special section ───────────────────────────────────────────────── */
.covid-extra .wp-block-list {
  list-style: none;
  padding-left: 0;
  border-top: var(--border-width) solid var(--color-border);
}
.covid-extra .wp-block-list > li {
  border-bottom: var(--border-width) solid var(--color-border);
}
.covid-extra .wp-block-list > li > a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-2);
  color: var(--color-text);
  text-decoration: none;
  font-style: italic;
  transition: background-color var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease);
}
.covid-extra .wp-block-list > li > a::before {
  content: "";
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: var(--radius-pill);
  background-color: var(--color-accent);
}
.covid-extra .wp-block-list > li > a:hover {
  background-color: #fff;
  color: var(--color-accent);
}

/* ── Membership category selector ────────────────────────────────────────── */
.membership-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}
@media (max-width: 700px) {
  .membership-selector {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 400px) {
  .membership-selector {
    grid-template-columns: 1fr;
  }
}

.membership-option {
  position: relative;
}
.membership-option input[type=radio] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.membership-option label {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  height: 100%;
  padding: var(--space-4);
  border: 2px solid var(--color-border-strong);
  border-radius: var(--radius-card);
  background: #fff;
  cursor: pointer;
  user-select: none;
  box-sizing: border-box;
  transition: border-color var(--duration-fast) var(--ease), background-color var(--duration-fast) var(--ease), box-shadow var(--duration-fast) var(--ease);
}
.membership-option label:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-card);
}
.membership-option__type {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text-muted);
}
.membership-option__name {
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  line-height: var(--leading-snug);
}
.membership-option__price {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-accent);
  margin-top: auto;
  padding-top: var(--space-2);
}
.membership-option input[type=radio]:checked + label {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}
.membership-option input[type=radio]:checked + label .membership-option__type {
  color: rgba(255, 255, 255, 0.55);
}
.membership-option input[type=radio]:checked + label .membership-option__name {
  color: #fff;
}
.membership-option input[type=radio]:checked + label .membership-option__price {
  color: rgba(255, 255, 255, 0.85);
}

/* ── Step heading ────────────────────────────────────────────────────────── */
.mf-step-heading {
  margin-top: 0;
  margin-bottom: var(--space-5);
  font-family: var(--font-display);
  color: var(--color-primary);
}

/* ── Hidden card state (Young Members when Renewing selected) ────────────── */
.mf-hidden {
  display: none !important;
}

/* ── Individual / Household type section (below card grid) ──────────────── */
.mf-type-section {
  margin-top: var(--space-6);
  padding: var(--space-6);
  background: color-mix(in srgb, var(--color-primary) 4%, transparent);
  border: var(--border-width) solid var(--color-border);
  border-radius: var(--radius-card);
}

.mf-type-section__heading {
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-primary);
}

.mf-type-options {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.mf-type-btn {
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4) var(--space-5);
  border: 2px solid var(--color-border-strong);
  border-radius: var(--radius-card);
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: border-color var(--duration-fast) var(--ease), background-color var(--duration-fast) var(--ease);
}
.mf-type-btn:hover {
  border-color: var(--color-primary);
}
.mf-type-btn.is-selected {
  border-color: var(--color-primary);
  background: var(--color-primary);
}
.mf-type-btn.is-selected .mf-type-btn__label {
  color: #fff;
}
.mf-type-btn.is-selected .mf-type-btn__price {
  color: rgba(255, 255, 255, 0.8);
}
.mf-type-btn__label {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
}
.mf-type-btn__price {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-accent);
}

/* ── Donation step ───────────────────────────────────────────────────────── */
.mf-donation-step {
  margin-top: var(--space-10);
}

.mf-donation-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.mf-donation-btn {
  padding: var(--space-3) var(--space-7);
  border: 2px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  cursor: pointer;
  transition: border-color var(--duration-fast) var(--ease), background-color var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease);
}
.mf-donation-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.mf-donation-btn.is-selected {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.mf-donation-btn--skip {
  color: var(--color-text-muted);
  border-style: dashed;
}
.mf-donation-btn--skip.is-selected {
  background: var(--color-text-muted);
  border-color: var(--color-text-muted);
  color: #fff;
}

/* ── New / Renewal toggle ────────────────────────────────────────────────── */
.renewal-toggle {
  display: inline-flex;
  border: var(--border-width) solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.renewal-toggle input[type=radio] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.renewal-toggle label {
  padding: var(--space-2) var(--space-6);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  cursor: pointer;
  color: var(--color-text-muted);
  background: #fff;
  transition: background-color var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease);
}
.renewal-toggle label:hover {
  color: var(--color-text);
}
.renewal-toggle input[type=radio]:checked + label {
  background-color: var(--color-primary);
  color: #fff;
}

/* ── Application form ────────────────────────────────────────────────────── */
.membership-form {
  background: #fff;
  border: var(--border-width) solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
}
@media (max-width: 600px) {
  .membership-form {
    padding: var(--space-5);
  }
}

.membership-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5) var(--space-6);
}
@media (max-width: 600px) {
  .membership-form__grid {
    grid-template-columns: 1fr;
  }
}

.membership-form__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.membership-form__field--full {
  grid-column: 1/-1;
}
.membership-form__field label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
}
.membership-form__field label .required {
  color: var(--color-error);
  margin-left: 2px;
}
.membership-form__field input[type=text],
.membership-form__field input[type=email],
.membership-form__field input[type=tel],
.membership-form__field input[type=date],
.membership-form__field select,
.membership-form__field textarea {
  padding: var(--space-3) var(--space-4);
  border: var(--border-width) solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: #fff;
  width: 100%;
  box-sizing: border-box;
  transition: border-color var(--duration-fast) var(--ease), box-shadow var(--duration-fast) var(--ease);
}
.membership-form__field input[type=text]:focus,
.membership-form__field input[type=email]:focus,
.membership-form__field input[type=tel]:focus,
.membership-form__field input[type=date]:focus,
.membership-form__field select:focus,
.membership-form__field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(57, 73, 103, 0.12);
}
.membership-form__field input[type=text]::placeholder,
.membership-form__field input[type=email]::placeholder,
.membership-form__field input[type=tel]::placeholder,
.membership-form__field input[type=date]::placeholder,
.membership-form__field select::placeholder,
.membership-form__field textarea::placeholder {
  color: var(--color-text-muted);
}
.membership-form__field textarea {
  resize: vertical;
  min-height: 80px;
}

.membership-form__section-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text-muted);
  padding-top: var(--space-4);
  border-top: var(--border-width) solid var(--color-border);
}

.membership-form__hint {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

[data-show-for] {
  display: none;
}
[data-show-for].mf-show {
  display: contents;
}

.membership-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: var(--border-width) solid var(--color-border);
}

.membership-form__error-msg {
  grid-column: 1/-1;
  padding: var(--space-3) var(--space-4);
  background: color-mix(in srgb, var(--color-error) 8%, transparent);
  color: var(--color-error);
  border-radius: var(--radius-sm);
  border: var(--border-width) solid var(--color-error);
  font-weight: var(--weight-semibold);
  display: none;
}

/* ── Review panel (Step 5) ───────────────────────────────────────────────── */
.mf-review-summary {
  border: var(--border-width) solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: var(--space-5);
}

.mf-review-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-5);
  border-bottom: var(--border-width) solid var(--color-border);
}
.mf-review-row:last-child {
  border-bottom: none;
}
.mf-review-row__label {
  flex-shrink: 0;
  width: 120px;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: var(--text-xs);
}
.mf-review-row__value {
  font-size: var(--text-base);
  color: var(--color-text);
}

.mf-review-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.mf-review-actions {
  display: flex;
  justify-content: flex-end;
}

.mf-submit-btn {
  padding: var(--space-4) var(--space-8);
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  cursor: pointer;
  transition: opacity var(--duration-fast) var(--ease);
}
.mf-submit-btn:hover:not(:disabled) {
  opacity: 0.88;
}
.mf-submit-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.mf-review-hint {
  text-align: right;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}

/* ── CF7 wrapper spacing fixes ───────────────────────────────────────────── */
div.wpcf7 {
  margin-top: 0;
}

.wpcf7-form > p:first-of-type {
  display: none;
}

.page-id-188 .site-label[style*=margin-top] {
  margin-top: var(--space-6) !important;
}

/* ── Hide CF7's own submit button (replaced by Step 5 button) ────────────── */
.page-id-188 .wpcf7-submit {
  display: none !important;
}

/* ── Hide CF7 is_renewal radio (driven by Step 1 external toggle) ────────── */
.cf7-field-group.visually-hidden {
  display: none !important;
}

/* ── Submission success state ────────────────────────────────────────────── */
.membership-form-success {
  background: color-mix(in srgb, var(--color-success) 8%, transparent);
  border: var(--border-width) solid var(--color-success);
  border-radius: var(--radius-card);
  padding: var(--space-10) var(--space-8);
  text-align: center;
}
.membership-form-success h3 {
  color: var(--color-success);
  margin-bottom: var(--space-3);
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/
/* Jetpack infinite scroll
--------------------------------------------- */
/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/
/* Accessibility
--------------------------------------------- */
/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Visually hidden — hidden from view but present as a real form control. */
.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;
  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;
  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}
