/*
Theme Name: Mary Custis Lee Chapter 1451
Description: Theme for Mary Custis Lee Chapter 1451, United Daughters of the Confederacy, Clearwater, Florida. Sets up the Chapter pages, menus and a contact form when activated.
Version: 1.9.31
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: mcl
*/
:root {
  --green: #20382c;
  --green-deep: #172a21;
  --rose: #a8243a;
  --rose-dark: #861a2c;
  --blush: #f6e4e1;
  --leaf-white: #f4f6f1;
  --paper: #ffffff;
  --ink: #1b2520;
  --ink-soft: #4a5750;
  --gilt: #a98743;
  --line: #d5dbd2;
  --display: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --text: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --body: "Alegreya Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 72rem;
  --measure: 40rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--leaf-white);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-dark); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--rose); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gilt); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0 0 0.6em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.5rem; line-height: 1.25; margin-top: 2em; }
p { margin: 0 0 1.1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.measure { max-width: var(--measure); }
.skip { position: absolute; left: -999px; top: 0; background: var(--paper); padding: 0.6rem 1rem; z-index: 50; }
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- Header ---------- */
.site-header { background: var(--green); color: #fff; position: sticky; top: 0; z-index: 20; box-shadow: 0 6px 18px -12px #0d1a14cc; }
html { scroll-padding-top: 5.5rem; }
@media (max-width: 56rem) { .site-nav.open { max-height: calc(100vh - 5.5rem); overflow-y: auto; } }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 1rem; padding-bottom: 1rem; }
.brand { color: #fff; text-decoration: none; display: block; line-height: 1.1; }
.brand:hover { color: #fff; }
.brand-name { font-family: var(--display); font-size: 1.85rem; display: block; }
.brand-sub { font-size: 0.82rem; font-style: italic; color: #cfdcd3; display: block; margin-top: 0.2rem; }
.nav-toggle { display: none; background: none; border: 1px solid #ffffff66; color: #fff; font: inherit; font-size: 1rem; padding: 0.45rem 0.9rem; border-radius: 3px; cursor: pointer; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; gap: 0.25rem; align-items: center; }
.site-nav a, .site-nav button {
  font: inherit; font-size: 1rem; color: #fff; background: none; border: 0; cursor: pointer;
  text-decoration: none; padding: 0.55rem 0.8rem; display: block; border-radius: 3px;
}
.site-nav a:hover, .site-nav button:hover { background: #ffffff1a; color: #fff; }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blush); border-radius: 0; }
.has-menu { position: relative; }
.has-menu > button::after { content: ""; display: inline-block; width: 0.4em; height: 0.4em; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg) translateY(-0.2em); margin-left: 0.5em; }
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 14rem; background: var(--paper);
  border-top: 3px solid var(--rose); box-shadow: 0 12px 28px -12px #17231c66;
  padding: 0.4rem 0 !important; display: none;
}
.submenu a { color: var(--ink); padding: 0.5rem 1rem; border-radius: 0; }
.submenu a:hover { background: var(--blush); color: var(--rose-dark); }
.has-menu > button[aria-expanded="true"] + .submenu { display: block; }
@media (hover: hover) and (min-width: 56.01rem) {
  .has-menu:hover .submenu { display: block; }
}

@media (max-width: 56rem) {
  .nav-toggle { display: block; }
  .site-header .wrap { flex-wrap: wrap; }
  .site-nav { display: none; width: 100%; border-top: 1px solid #ffffff33; padding-top: 0.5rem; }
  .site-nav.open { display: block; }
  .site-nav > ul { display: block; }
  .has-menu > button { cursor: default; color: #cfdcd3; font-style: italic; }
  .has-menu > button::after { display: none; }
  .submenu, .has-menu > button[aria-expanded] + .submenu { display: block; position: static; background: none; box-shadow: none; border: 0; padding: 0 0 0.4rem 1rem !important; }
  .submenu a { color: #fff; }
  .submenu a:hover { background: #ffffff1a; color: #fff; }
}

/* ---------- Home hero ---------- */
.hero { background: var(--blush); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: end; padding-top: 2rem; }
.hero-text { align-self: center; padding: 2rem 0 3rem; }
.hero h1 { color: var(--green); margin-bottom: 0.35em; }
.hero h1 span { display: block; font-size: 0.42em; font-style: italic; font-family: var(--text); color: var(--rose-dark); margin-top: 0.6em; letter-spacing: 0; white-space: nowrap; }
.hero-facts { margin-top: 1.8rem; padding-top: 1.6rem; position: relative; }
.hero-facts::before { content: ""; position: absolute; left: 0; top: 0; width: 4.5rem; height: 2px; background: var(--gilt); }
.hero-chartered { font-family: var(--display); font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; color: var(--green); margin: 0 0 0.35rem; }
.hero-division { font-size: 1.35rem; color: var(--ink-soft); margin: 0; }
.hero-division a { color: var(--rose-dark); text-decoration-color: var(--gilt); text-decoration-thickness: 1px; text-underline-offset: 0.22em; transition: color 0.15s, text-decoration-color 0.15s; }
.hero-division a:hover { color: var(--rose); text-decoration-color: currentColor; text-decoration-thickness: 2px; }
.arch { max-width: 31rem; width: 100%; margin-left: auto; }
.arch svg { display: block; width: 100%; height: auto; overflow: visible; }
.arch figcaption { text-align: center; font-size: 0.86rem; line-height: 1.5; color: #5f6963; max-width: 87%; margin: 0.9rem auto 1.8rem; text-wrap: balance; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.btn {
  display: inline-block; font: inherit; font-size: 1.05rem; text-decoration: none; cursor: pointer;
  padding: 0.75rem 1.5rem; border-radius: 3px; border: 1px solid var(--rose); background: var(--rose); color: #fff;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover { background: var(--rose-dark); border-color: var(--rose-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px -8px #5e0f1d99; }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn.quiet { background: transparent; color: var(--green); border-color: var(--green); }
.btn.quiet:hover { background: var(--green); color: #fff; }
@media (max-width: 52rem) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 2rem; gap: 2rem; }
  .hero-text { padding: 1rem 0 0; }
  .arch { margin: 0 auto; max-width: 22rem; }
  .hero h1 span { white-space: normal; }
}

/* ---------- Sections ---------- */
.band { padding: 5rem 0; }
.band.white { background: var(--paper); }
.band.green { background: var(--green); color: #eef2ec; }
.band.green h2 { color: #fff; }
.band.green a { color: #f3cdd0; }
.band.green a:hover { color: #fff; }

/* The objects band: its heading stays for screen readers but is not shown. */
.band.green { padding: 3.5rem 0; }
.band.green h2 { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.objects { display: grid; grid-template-columns: 1fr; gap: 1px; margin-top: 0; background: #ffffff2e; border: 1px solid #ffffff2e; }
.objective { background: var(--green); padding: 2rem 1.6rem 2.2rem; position: relative; transition: background-color 0.3s; }
.objective::before {
  content: ""; display: block; width: 2.6rem; height: 2.6rem; margin-bottom: 1.3rem; background: #dcc07e;
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
  transition: transform 0.35s cubic-bezier(.2,.8,.3,1.4);
}
.objective::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #dcc07e; transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.objective:hover { background: #294838; }
.objective:hover::before { transform: translateY(-5px) scale(1.08); }
.objective:hover::after { transform: scaleX(1); }
.objective h3 { font-size: 1.65rem; color: #fff; margin: 0 0 0.6rem; }
.objective p { font-size: 1rem; line-height: 1.6; color: #d7e2da; margin: 0; }
.objective:nth-child(1) { --n: 0; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.2' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M12 6c-2-1.5-5-2-8-1.5v13c3-.5 6 0 8 1.5 2-1.5 5-2 8-1.5v-13c-3-.5-6 0-8 1.5zM12 6v13'/%3E%3C/svg%3E"); }
.objective:nth-child(2) { --n: 1; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.2' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M2 9l10-5 10 5-10 5zM6 11.5v4c2 2 10 2 12 0v-4M22 9v6'/%3E%3C/svg%3E"); }
.objective:nth-child(3) { --n: 2; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.2' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M12 20s-7-4.5-7-10a4 4 0 0 1 7-2.5A4 4 0 0 1 19 10c0 5.5-7 10-7 10z'/%3E%3C/svg%3E"); }
.objective:nth-child(4) { --n: 3; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.2' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M12 3c3 3.5 5 6 5 9a5 5 0 0 1-10 0c0-1.5.7-3 2-4 .3 1.5 1 2.3 2 2.6C11 8.500 11 6 12 3zM6 21h12'/%3E%3C/svg%3E"); }
.objective:nth-child(5) { --n: 4; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.2' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M12 3l2.6 5.6 6.100.7-4.500 4.200 1.200 6L12 16.600 6.600 19.500l1.200-6L3.300 9.300l6.100-.7z'/%3E%3C/svg%3E"); }
@media (min-width: 40rem) { .objects { grid-template-columns: 1fr 1fr; } .objective:last-child { grid-column: span 2; } }
@media (min-width: 68rem) { .objects { grid-template-columns: repeat(5, 1fr); } .objective:last-child { grid-column: auto; } }
.js .objective, .js .teaser > * { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease calc(var(--n, 0) * 110ms), transform 0.7s ease calc(var(--n, 0) * 110ms), background-color 0.3s; }
.js .objective.in, .js .teaser > .in { opacity: 1; transform: none; }
.teaser { align-items: center; }
.teaser > :nth-child(2) { --n: 1; }

.split { display: grid; grid-template-columns: 20rem 1fr; gap: 4rem; align-items: start; }
.split.flip { grid-template-columns: 1fr 20rem; }
@media (max-width: 56rem) { .split, .split.flip { grid-template-columns: 1fr; gap: 2.5rem; } }
figure { margin: 0; }
figcaption { font-size: 0.95rem; line-height: 1.5; color: var(--ink-soft); margin-top: 1rem; }
figcaption b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.35rem; color: var(--ink); }
.band.green figcaption { color: #cfdcd3; }
.band.green figcaption b { color: #fff; }
.oval { border-radius: 50%; border: 1px solid var(--gilt); padding: 0.5rem; background: var(--paper); width: 100%; max-width: 20rem; }
.oval img { border-radius: 50%; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.portrait-fig { text-align: center; }
.portrait-fig .oval { margin: 0 auto; }
.rose-note { border-left: 3px solid var(--rose); padding: 0.2rem 0 0.2rem 1.5rem; margin: 2.2rem 0; font-size: 1.3rem; line-height: 1.5; font-style: italic; max-width: 34rem; }
.rose-note cite { display: block; font-family: var(--display); font-style: normal; font-size: 1.5rem; color: var(--rose-dark); margin-bottom: 0.3rem; }
.founders { display: flex; gap: 2rem; flex-wrap: wrap; }
.founders figure { width: 9rem; text-align: center; }
.founders .oval { max-width: 8.5rem; margin: 0 auto; padding: 0.3rem; }
.founders figcaption b { font-size: 1.1rem; line-height: 1.25; margin: 0.2rem 0; }

/* ---------- Inner pages ---------- */
.page-head { background: var(--blush); padding: 3.5rem 0 3rem; border-bottom: 1px solid #e9cfcb; }
.page-head h1 { color: var(--green); font-size: clamp(2.3rem, 5vw, 3.6rem); margin: 0; }
.page-head p { margin: 0.8rem 0 0; font-style: italic; color: var(--ink-soft); font-size: 1.2rem; max-width: 40rem; }
.page-body { padding: 3.5rem 0 5rem; background: var(--paper); }
.page-body h2 { font-size: 2rem; margin-top: 2.2em; color: var(--green); }
.page-body h2:first-child, .page-body h3:first-child { margin-top: 0; }
.page-body h3 { color: var(--rose-dark); }
.page-body li { margin-bottom: 0.5em; }
.note { font-size: 0.98rem; color: var(--ink-soft); line-height: 1.6; }
.banner-img { width: 100%; height: clamp(8rem, 18vw, 14rem); object-fit: cover; object-position: 50% 60%; }
.aside-card { background: var(--leaf-white); border-top: 3px solid var(--green); padding: 1.5rem; }
.aside-card h2, .aside-card h3 { font-size: 1.3rem; margin: 1.4em 0 0.5em; color: var(--green); }
.aside-card > :first-child { margin-top: 0; }
.aside-card ul { padding-left: 1.1rem; margin: 0; font-size: 1rem; }
.name-list { list-style: none; padding: 0; margin: 2rem 0 0; columns: 3 15rem; column-gap: 3rem; column-rule: 1px solid var(--line); }
.name-list li { padding: 0.35rem 0; break-inside: avoid; margin: 0; }
.table-scroll { overflow-x: auto; margin-top: 2rem; }
table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 1.05rem; }
th, td { text-align: left; padding: 0.7rem 1rem 0.7rem 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
thead th { font-weight: 400; font-style: italic; color: var(--ink-soft); border-bottom: 2px solid var(--green); }
tbody th { font-weight: 700; }
.flags { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 2rem; margin: 2.5rem 0; align-items: end; }
.flags img { border: 1px solid var(--line); height: 7rem; width: auto; }
.essay p { max-width: var(--measure); }
.essay .byline { font-style: italic; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 1.2rem; margin-top: 2rem; max-width: var(--measure); }
.join-line { font-family: var(--display); font-size: 2rem; line-height: 1.2; color: var(--green); margin: 3rem 0 1.2rem; }

/* ---------- Contact form ---------- */
.form { max-width: 36rem; }
.field { margin-bottom: 1.3rem; }
.field label { display: block; margin-bottom: 0.3rem; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid #76857b; border-radius: 3px; padding: 0.7rem 0.8rem;
}
.field textarea { min-height: 11rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--gilt); outline-offset: 1px; border-color: var(--green); }
.field .error { color: var(--rose-dark); font-size: 0.98rem; margin-top: 0.3rem; display: none; }
.field.invalid .error { display: block; }
.field.invalid input, .field.invalid textarea { border-color: var(--rose); border-width: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1.2rem; padding: 1rem 1.2rem; border-left: 3px solid var(--green); background: var(--leaf-white); display: none; }
.form-status.show { display: block; }
.form-status.bad { border-color: var(--rose); background: var(--blush); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-deep); color: #cfdcd3; padding: 3.5rem 0 2.5rem; font-size: 0.98rem; line-height: 1.6; }
.site-footer a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid #ffffff26; }
.foot-grid h2 { font-size: 1.25rem; color: #fff; margin-bottom: 0.7rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 0.35rem; }
.foot-name { font-family: var(--display); font-size: 1.7rem; color: #fff; line-height: 1.15; margin-bottom: 0.5rem; }
.disclaimer { font-size: 0.86rem; margin: 2rem 0 1rem; max-width: 60rem; }
.copyright { font-size: 0.86rem; margin: 0; }
@media (max-width: 48rem) { .foot-grid { grid-template-columns: 1fr; gap: 2rem; } .band { padding: 3.5rem 0; } }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.hero-text > * { animation: rise 0.8s cubic-bezier(.2,.7,.3,1) both; }
.hero-text > :nth-child(2) { animation-delay: 0.12s; }
.hero-text > :nth-child(3) { animation-delay: 0.24s; }
.hero-text > :nth-child(4) { animation-delay: 0.36s; }
.submenu, .site-nav .sub-menu { animation: menu-in 0.18s ease-out; }
.site-nav a, .site-nav button { transition: background-color 0.2s; }
a { transition: color 0.15s; }
.oval { overflow: hidden; }
.oval img { transition: transform 0.8s cubic-bezier(.2,.7,.3,1); }
.oval:hover img { transform: scale(1.05); }
.field input, .field textarea { transition: border-color 0.2s; }
.field input:hover, .field textarea:hover { border-color: var(--green); }
tbody tr { transition: background-color 0.2s; }
tbody tr:hover { background: var(--leaf-white); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .objective, .js .teaser > * { opacity: 1; transform: none; }
}

/* ---------- Body type: Alegreya Sans, as on the Florida Division site ---------- */
body { font-family: var(--body); font-size: 1.22rem; line-height: 1.6; }
.brand-sub, .page-head p, .rose-note, .hero h1 span { font-family: var(--text); }
.site-nav a, .site-nav button, .nav-toggle { font-size: 1.1rem; }
.btn { font-size: 1.12rem; font-weight: 500; }
.objective p { font-size: 1.08rem; line-height: 1.5; }
figcaption { font-size: 1.02rem; }
.arch figcaption { font-size: 0.95rem; }
.note, .field .error { font-size: 1.05rem; }
.aside-card ul { font-size: 1.08rem; }
table { font-size: 1.12rem; }
thead th { font-style: normal; font-weight: 500; }
.site-footer { font-size: 1.05rem; }
.disclaimer, .copyright { font-size: 0.94rem; }

/* ---------- WordPress adjustments ---------- */
.wp-block-group__inner-container { display: contents; }
.screen-reader-text { position: absolute; left: -9999px; }
.site-nav .menu { display: flex; gap: 0.25rem; align-items: center; }
.site-nav li { position: relative; }
.site-nav .current-menu-item > a { box-shadow: inset 0 -2px 0 var(--blush); border-radius: 0; }
.site-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 0.4em; height: 0.4em; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg) translateY(-0.2em); margin-left: 0.5em; }
.site-nav .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 14rem; background: var(--paper);
  border-top: 3px solid var(--rose); box-shadow: 0 12px 28px -12px #17231c66; padding: 0.4rem 0; display: none;
}
.site-nav .sub-menu a { color: var(--ink); padding: 0.5rem 1rem; border-radius: 0; box-shadow: none; }
.site-nav .sub-menu a:hover { background: var(--blush); color: var(--rose-dark); }
.site-nav .menu-item-has-children.open > .sub-menu,
.site-nav .menu-item-has-children:focus-within > .sub-menu { display: block; }
@media (hover: hover) and (min-width: 56.01rem) {
  .site-nav .menu-item-has-children:hover > .sub-menu { display: block; }
}
@media (max-width: 56rem) {
  .site-nav .menu { display: block; }
  .site-nav .menu-item-has-children > a { color: #cfdcd3; font-style: italic; pointer-events: none; }
  .site-nav .menu-item-has-children > a::after { display: none; }
  .site-nav .sub-menu { display: block; position: static; background: none; box-shadow: none; border: 0; padding: 0 0 0.4rem 1rem; animation: none; }
  .site-nav .sub-menu a { color: #fff; }
  .site-nav .sub-menu a:hover { background: #ffffff1a; color: #fff; }
}
.entry > p, .entry > h2, .entry > h3, .entry > ul:not(.name-list), .entry > ol { max-width: var(--measure); }
.entry > :first-child, .entry .wp-block-group > :first-child, .entry .wp-block-group__inner-container > :first-child { margin-top: 0; }
.aside-card h2, .aside-card h3 { font-size: 1.3rem; }
.foot-menu { columns: 2; column-gap: 2rem; }
.form-status.show:empty { display: none; }

/* Keep the sticky header below the WordPress toolbar when signed in */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* ---------- Simple footer and back-to-top button ---------- */
.site-footer { padding: 2.2rem 0 2rem; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.3rem 1.6rem; margin: 0 0 1.1rem; padding: 0; list-style: none; font-size: 1.15rem; }
.site-footer .disclaimer { margin: 0 0 0.6rem; max-width: none; }
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 30; display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0; border: 2px solid #dcc07e; border-radius: 50%; background: var(--green); color: #fff;
  box-shadow: 0 2px 10px #0d1a1466; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s, background-color 0.2s;
}
.to-top.is-shown { opacity: 0.94; visibility: visible; transform: none; }
.to-top:hover, .to-top:focus-visible { opacity: 1; background: var(--green-deep); transform: translateY(-2px); }
@media print { .to-top { display: none; } }
#main:focus { outline: none; }

/* ---------- Articles ---------- */
.refrain { font-family: var(--display); font-size: 1.22em; line-height: 1.2; color: var(--green); background: linear-gradient(var(--gilt), var(--gilt)) 0 100% / 100% 1px no-repeat; padding-bottom: 0.06em; }
.essay .byline b { display: block; font-family: var(--display); font-style: normal; font-weight: 400; font-size: 1.35rem; color: var(--ink); }
.lede { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.25; color: var(--rose-dark); max-width: 38rem; margin: 0 0 1.4rem; }
.flags { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0; margin: 3rem 0; align-items: stretch; border: 1px solid var(--line); background: var(--leaf-white); }
.flag { padding: 1.8rem 1.4rem 1.5rem; border-right: 1px solid var(--line); margin-right: -1px; border-bottom: 1px solid var(--line); margin-bottom: -1px; position: relative; }
.flag::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--rose); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.flag:hover::after { transform: scaleX(1); }
.flag .cloth { height: 6.5rem; display: flex; align-items: flex-end; padding-left: 7px; border-left: 3px solid var(--gilt); margin-bottom: 1.1rem; }
.flags .flag img { height: 6.5rem; width: auto; max-width: 100%; object-fit: contain; object-position: 0 0; border: 1px solid var(--line); transform-origin: 0 50%; transition: box-shadow 0.3s; }
@keyframes flutter { 0%, 100% { transform: none; } 25% { transform: skewY(-2.2deg) scaleX(0.985); } 60% { transform: skewY(1.6deg) scaleX(1.01); } 80% { transform: skewY(-0.8deg); } }
.flag:hover img { animation: flutter 1.6s ease-in-out infinite; box-shadow: 6px 8px 14px -10px #0d1a1499; }
.flag figcaption { margin: 0; }
.flag figcaption b { font-size: 1.3rem; line-height: 1.2; margin-bottom: 0.35rem; }
.flag .years { display: block; color: var(--rose-dark); margin-top: 0.2rem; font-variant-numeric: lining-nums; }
.never-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; max-width: 46rem; border-top: 1px solid var(--line); }
.page-body .never-list li { display: grid; grid-template-columns: 5.2rem 1fr; gap: 1rem; align-items: baseline; margin: 0; padding: 0.85rem 0.6rem 0.85rem 0; border-bottom: 1px solid var(--line); transition: background-color 0.25s, padding-left 0.25s; }
.never-list b { font-family: var(--display); font-weight: 400; font-size: 1.35rem; color: var(--rose); transition: letter-spacing 0.25s; }
.never-list li:hover { background: var(--leaf-white); padding-left: 0.6rem; }
.never-list li:hover b { letter-spacing: 0.04em; }
.flag-rule { border-left: 3px solid var(--green); background: var(--blush); padding: 1.2rem 1.5rem; font-family: var(--display); font-size: 1.45rem; line-height: 1.35; color: var(--green); max-width: 46rem; margin: 0; }
.js .essay p, .js .flag, .js .never-list li, .js .flag-rule { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease calc(var(--n, 0) * 110ms), transform 0.7s ease calc(var(--n, 0) * 110ms), background-color 0.25s, padding-left 0.25s; }
.js .essay p.in, .js .flag.in, .js .never-list li.in, .js .flag-rule.in { opacity: 1; transform: none; }
.js .essay p .refrain { background-size: 0 1px; transition: background-size 0.9s ease 0.35s; }
.js .essay p.in .refrain { background-size: 100% 1px; }
.flag:nth-child(2) { --n: 1; } .flag:nth-child(3) { --n: 2; } .flag:nth-child(4) { --n: 3; }
@media (max-width: 30rem) { .page-body .never-list li { grid-template-columns: 1fr; gap: 0.1rem; } }
@media (prefers-reduced-motion: reduce) {
  .js .essay p, .js .flag, .js .never-list li, .js .flag-rule { opacity: 1; transform: none; }
  .js .essay p .refrain { background-size: 100% 1px; }
}

/* Flag Trivia: text and list in two columns on wide screens */
.lede { max-width: 46rem; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3.5rem; align-items: start; }
.never-list { max-width: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 3.5rem; border-top: 0; }
.page-body .never-list li { border-bottom: 0; border-top: 1px solid var(--line); align-content: start; }
.flag-rule { max-width: none; margin-top: 1.5rem; }
@media (max-width: 56rem) { .duo, .never-list { grid-template-columns: 1fr; } }

/* Flag Trivia: full-width list and callout inside WordPress content */
.entry > ul.never-list:not(.name-list), .entry > p.flag-rule { max-width: none; }

/* Flag Trivia: the etiquette introduction runs the full width */
.flags + .measure { max-width: none; }

/* Flag Trivia: the opening statement runs the full width */
.measure:has(.lede), .lede { max-width: none; }

/* Section headings in rose so they stand apart from the body text */
.page-body h2 { color: var(--rose-dark); }
.page-body .aside-card h2 { color: var(--green); }

/* Essay credit set as a footnote: small, plain, under a short rule */
.essay .byline { border-top: 0; padding-top: 0; margin-top: 2.5rem; font-family: var(--body); font-style: normal; font-size: 0.95rem; line-height: 1.5; color: var(--ink-soft); }
.essay .byline::before { content: ""; display: block; width: 7rem; border-top: 1px solid var(--ink-soft); margin-bottom: 0.8rem; }
.essay .byline b { display: block; font-family: inherit; font-size: inherit; font-weight: 500; color: inherit; }

/* ---------- Contact form, on the Florida Division pattern ---------- */
.form h2 { margin-bottom: 1.2rem; }
.field label { font-weight: 500; }
.field select {
  width: 100%; font: inherit; color: var(--ink); background-color: var(--paper);
  border: 1px solid #76857b; border-radius: 3px; padding: 0.7rem 2.4rem 0.7rem 0.8rem; min-height: 3.1rem;
  -webkit-appearance: none; appearance: none; cursor: pointer; transition: border-color 0.2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2320382c' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 0.8rem;
}
.field select:hover { border-color: var(--green); }
.field select:focus { outline: 3px solid var(--gilt); outline-offset: 1px; border-color: var(--green); }
.field textarea { min-height: 10rem; }
.contact-more { border-left: 3px solid var(--gilt); padding-left: 1.2rem; margin-bottom: 1.3rem; }
.contact-more .field:last-child { margin-bottom: 0; }
.contact-more[hidden] { display: none; }
@keyframes contact-more-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.contact-more.is-new { animation: contact-more-in 0.35s ease-out; }
.contact-note { margin: 1rem 0 0; color: var(--ink-soft); font-size: 1.02rem; font-style: italic; line-height: 1.4; }
.contact-errors, .contact-done { padding: 1rem 1.2rem; border-left: 3px solid var(--rose); background: var(--blush); margin: 0 0 1.5rem; }
.contact-done { border-left-color: var(--green); background: var(--leaf-white); font-family: var(--display); font-size: 1.5rem; line-height: 1.3; color: var(--green); animation: rise 0.6s cubic-bezier(.2,.7,.3,1) both; }
.contact-errors ul { margin: 0; padding-left: 1.2rem; }
.page-body .contact-errors li { margin-bottom: 0.2em; }

/* Contact form heading: envelope icon */
#chapter-contact h2 { display: flex; align-items: center; gap: 0.5em; }
#chapter-contact h2::before {
  content: ""; flex: none; width: 0.85em; height: 0.85em; background: currentColor;
  --envelope: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.5 4.5h17A1.5 1.5 0 0 1 22 6v.6l-10 6.300L2 6.600V6a1.5 1.5 0 0 1 1.5-1.5zM2 8.700l10 6.300 10-6.300V18a1.5 1.5 0 0 1-1.5 1.5h-17A1.5 1.5 0 0 1 2 18z'/%3E%3C/svg%3E");
  -webkit-mask: var(--envelope) center / contain no-repeat; mask: var(--envelope) center / contain no-repeat;
}

/* Contact form: yes / no / not sure choices */
.form fieldset.choices { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 0.6rem; }
.form fieldset.choices legend { padding: 0; margin-bottom: 0.5rem; font-weight: 500; }
.form fieldset.choices legend span { font-weight: 400; color: var(--ink-soft); }
.form fieldset.choices label { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; padding: 0.55rem 1rem; min-height: 44px; border: 1px solid #76857b; border-radius: 4px; background: #fff; font-weight: 400; cursor: pointer; }
.form fieldset.choices input[type="radio"] { width: 1.1rem; height: 1.1rem; margin: 0; padding: 0; flex: none; accent-color: var(--rose-dark); }
.form fieldset.choices label:has(input:checked) { border-color: var(--rose-dark); background: var(--blush); }
.form fieldset.choices label:focus-within { outline: 2px solid var(--green); outline-offset: 2px; }

/* Header subtitle: plain sans serif, no italics */
.brand-sub { font-family: var(--body); font-style: normal; font-size: 0.95rem; letter-spacing: 0.01em; }

/* ---------- Home page invitation ---------- */
.band.invite { background: var(--blush); border-top: 1px solid #e9cfcb; }
.invite-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4.5rem; align-items: center; }
.invite-text h2 { color: var(--green); margin-bottom: 0.5em; }
.invite-text p { max-width: 32rem; }
.invite-text .hero-actions, .invite-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.8rem 0 0; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: 1.3rem; padding-bottom: 2rem; position: relative; counter-increment: step; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: counter(step); content: counter(step) / ""; /* number is decoration for screen readers; the heading carries "Step n" */ width: 3.4rem; height: 3.4rem; border: 1px solid var(--gilt); border-radius: 50%; background: var(--paper);
  display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 1.7rem; line-height: 1; color: var(--rose-dark);
  position: relative; z-index: 1; transition: background-color 0.3s, color 0.3s, transform 0.3s;
}
.step:not(:last-child)::after { content: ""; position: absolute; left: 1.7rem; top: 3.4rem; bottom: 0; border-left: 1px solid var(--gilt); }
.step:hover::before { background: var(--rose); color: #fff; transform: scale(1.06); }
.step h3 { margin: 0.45rem 0 0.3rem; font-size: 1.5rem; color: var(--green); }
.step p { margin: 0; }
.js .step { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease calc(var(--n, 0) * 140ms), transform 0.7s ease calc(var(--n, 0) * 140ms); }
.js .step.in { opacity: 1; transform: none; }
.step:nth-child(2) { --n: 1; } .step:nth-child(3) { --n: 2; }
@media (max-width: 56rem) { .invite-grid { grid-template-columns: 1fr; gap: 2.8rem; } }
@media (prefers-reduced-motion: reduce) { .js .step { opacity: 1; transform: none; } }

/* Invitation sits directly under the hero: white, so it stands apart from the blush hero */
.band.invite { background: var(--paper); border-top: 0; }

/* Hero tagline, between the charter facts and the buttons */
.hero-tagline { font-family: var(--body); font-size: clamp(1.3rem, 2vw, 1.55rem); font-weight: 500; line-height: 1.3; color: var(--green); margin: 1.9rem 0 0; }
.hero-tagline + .actions { margin-top: 1.4rem; }
.hero-text > :nth-child(5) { animation-delay: 0.48s; }

/* Rose artwork caption: even line lengths */
.arch figcaption { text-wrap: balance; }

/* ---------- Membership page ---------- */
.welcome { font-size: 1.3rem; line-height: 1.55; }
.checklist { list-style: none; padding: 0; margin: 1.2rem 0 1.4rem; }
.page-body .checklist li { position: relative; padding: 0.15rem 0 0.15rem 2rem; margin: 0 0 0.35rem; }
.checklist li::before { content: ""; position: absolute; left: 0.2rem; top: 0.62em; width: 0.95rem; height: 0.5rem; border-left: 2px solid var(--gilt); border-bottom: 2px solid var(--gilt); transform: rotate(-45deg); }
.more { border-top: 1px solid var(--line); max-width: var(--measure); }
.more:last-of-type { border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.more summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.9rem 0.3rem 0.9rem 0; font-family: var(--display); font-size: 1.3rem; line-height: 1.3; color: var(--green); transition: color 0.2s, padding-left 0.25s; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: ""; flex: none; width: 0.6rem; height: 0.6rem; border-right: 2px solid var(--rose); border-bottom: 2px solid var(--rose); transform: translateY(-0.2rem) rotate(45deg); transition: transform 0.3s; }
.more[open] summary::after { transform: translateY(0.1rem) rotate(-135deg); }
.more summary:hover { color: var(--rose-dark); padding-left: 0.4rem; }
.more .more-body { padding: 0 0 1.1rem; animation: rise 0.4s ease both; }
.more .more-body > :last-child { margin-bottom: 0; }
.page-body .steps { margin: 1.6rem 0 0.5rem; max-width: var(--measure); }
.page-body .step h3 { margin-top: 0.45rem; color: var(--green); }
.join-line + p { margin-top: 0; }

/* Membership page, second pass: two columns across the full width */
.intro { margin-bottom: 0.4rem; }
.intro p { max-width: none; }
.cols { margin-top: 3.2rem; }
.page-body .col > h2:first-child, .page-body .col .wp-block-group__inner-container > h2:first-child { margin-top: 0; }
.aside-card.research { margin-top: 3.5rem; padding: 1.8rem 2rem; }
.aside-card.research > h2, .aside-card.research .wp-block-group__inner-container > h2 { margin: 0 0 1rem; font-size: 1.45rem; }
.aside-card.research h3 { margin: 0 0 0.5rem; }
.aside-card.research .duo { gap: 0 3rem; }
.join-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; margin-top: 3.5rem; }
.join-card { background: var(--blush); border-left: 3px solid var(--rose); padding: 2rem 2.2rem; }
.join-card .join-line { margin: 0 0 1.3rem; }
.join-card p:last-child { margin-bottom: 0; }
@media (max-width: 56rem) {
  .col + .col { margin-top: 2.6rem; }
  .join-band { grid-template-columns: 1fr; gap: 2.2rem; }
  .aside-card.research { padding: 1.5rem; }
}

/* Membership page: the research links stay in view beside the main column on wide screens */
@media (min-width: 56.01rem) { .split.flip > aside, .split.flip > .aside, .split.flip > .wp-block-group__inner-container > .aside { position: sticky; top: 8rem; align-self: start; } }
.split + .join-band { margin-top: 4rem; }

/* ---------- Heading icons and small animations (Membership page) ---------- */
.ico { display: flex; align-items: center; gap: 0.75rem; }
.aside-card .ico { align-items: flex-start; gap: 0.6rem; }
.ico::before { content: ""; flex: none; width: 2.1rem; height: 2.1rem; background: var(--gilt); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.2,1.5,.4,1); }
.aside-card .ico::before { width: 1.7rem; height: 1.7rem; margin-top: 0.05rem; }
.ico:hover::before { transform: translateY(-3px) rotate(-8deg); }
.ico-women { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3' stroke-linejoin='round' stroke-linecap='round'%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M3 21v-2a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v2'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3Cpath d='M21 21v-2a4 4 0 0 0-3-3.85'/%3E%3C/svg%3E"); }
.ico-tree { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3' stroke-linejoin='round' stroke-linecap='round'%3E%3Ccircle cx='12' cy='5' r='2.2'/%3E%3Ccircle cx='5' cy='19' r='2.2'/%3E%3Ccircle cx='12' cy='19' r='2.2'/%3E%3Ccircle cx='19' cy='19' r='2.2'/%3E%3Cpath d='M12 7.2v9.6'/%3E%3Cpath d='M5 16.8v-2.3a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v2.3'/%3E%3C/svg%3E"); }
.ico-search { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3' stroke-linejoin='round' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='7'/%3E%3Cpath d='M21 21l-6-6'/%3E%3C/svg%3E"); }
.ico-flower { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3' stroke-linejoin='round' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='2.4'/%3E%3Ccircle cx='12' cy='6.6' r='2.9'/%3E%3Ccircle cx='16.7' cy='9.3' r='2.9'/%3E%3Ccircle cx='16.7' cy='14.7' r='2.9'/%3E%3Ccircle cx='12' cy='17.4' r='2.9'/%3E%3Ccircle cx='7.3' cy='14.7' r='2.9'/%3E%3Ccircle cx='7.3' cy='9.3' r='2.9'/%3E%3C/svg%3E"); }
.js .ico::before { opacity: 0; transform: scale(0.5) rotate(-25deg); }
.js .ico.in::before { opacity: 1; transform: none; }
.js .ico.in:hover::before { transform: translateY(-3px) rotate(-8deg); }
.checklist li:nth-child(2) { --n: 1; } .checklist li:nth-child(3) { --n: 2; } .checklist li:nth-child(4) { --n: 3; }
.js .checklist li::before { opacity: 0; transform: rotate(-45deg) scale(0); transition: opacity 0.35s ease calc(var(--n, 0) * 140ms + 150ms), transform 0.45s cubic-bezier(.2,1.6,.4,1) calc(var(--n, 0) * 140ms + 150ms); }
.js .checklist li.in::before { opacity: 1; transform: rotate(-45deg); }
.js .join-card { border-left-color: transparent; position: relative; }
.js .join-card::before { content: ""; position: absolute; left: -3px; top: 0; bottom: 0; width: 3px; background: var(--rose); transform: scaleY(0); transform-origin: top; transition: transform 0.9s ease 0.2s; }
.js .join-card.in::before { transform: scaleY(1); }
@media (prefers-reduced-motion: reduce) {
  .js .ico::before, .js .checklist li::before { opacity: 1; }
  .js .ico::before { transform: none; }
  .js .checklist li::before { transform: rotate(-45deg); }
  .js .join-card::before { transform: scaleY(1); }
}

/* Contact form heading: envelope redrawn to the site's icon standard (gold outline, same size and motion as .ico) */
@keyframes ico-pop { from { opacity: 0; transform: scale(0.5) rotate(-25deg); } to { opacity: 1; transform: none; } }
#chapter-contact h2 { gap: 0.75rem; }
#chapter-contact h2::before {
  width: 2.1rem; height: 2.1rem; background: var(--gilt);
  --envelope: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3' stroke-linejoin='round' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7.5l9 6l9-6'/%3E%3C/svg%3E");
  animation: ico-pop 0.6s cubic-bezier(.2,1.5,.4,1) 0.25s both; transition: transform 0.6s cubic-bezier(.2,1.5,.4,1);
}
#chapter-contact h2:hover::before { transform: translateY(-3px) rotate(-8deg); }
@media (prefers-reduced-motion: reduce) { #chapter-contact h2::before { animation: none; } }

/* Side-card title: a little larger than the list headings under it, icon centered on its one line */
.aside-card h2.ico { font-size: 1.55rem; align-items: center; margin-bottom: 0.9em; }
.aside-card h2.ico + h3 { margin-top: 0; }

/* Click-to-open questions: larger, so they stand out from the body text; rose while open */
.more summary { font-size: 1.6rem; padding: 1rem 0.3rem 1rem 0; }
.more[open] summary { color: var(--rose-dark); }
.more summary::after { width: 0.7rem; height: 0.7rem; }

/* Heading icons stay still: no pop-in and no hover tilt (Martha, 2026-11-28) */
.ico::before, .js .ico::before, .js .ico.in::before { opacity: 1; transform: none; transition: none; }
.ico:hover::before, .js .ico.in:hover::before { transform: none; }
#chapter-contact h2::before { animation: none; transition: none; }
#chapter-contact h2:hover::before { transform: none; }

/* Icon: flag on a staff (Confederate Flag Trivia) */
.ico-flag { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M5 21V4'/%3E%3Cpath d='M5 5c3-1.5 5 1.5 8 0s4-.5 6 0v9c-2-.5-3-1.5-6 0s-5-1.5-8 0'/%3E%3C/svg%3E"); }

/* ---------- Scholarships page ---------- */
.ico-cap { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.2' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M2 9l10-5 10 5-10 5zM6 11.5v4c2 2 10 2 12 0v-4M22 9v6'/%3E%3C/svg%3E"); }
.ico-star { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.2' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M12 3l2.6 5.6 6.100.7-4.500 4.200 1.200 6L12 16.600 6.600 19.500l1.200-6L3.300 9.300l6.100-.7z'/%3E%3C/svg%3E"); }
.ico-award { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3' stroke-linejoin='round' stroke-linecap='round'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='M8.6 14l-1.6 7l5-3l5 3l-1.6-7'/%3E%3C/svg%3E"); }
.ico-calendar { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3' stroke-linejoin='round' stroke-linecap='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M4 10h16'/%3E%3Cpath d='M8 3v4'/%3E%3Cpath d='M16 3v4'/%3E%3C/svg%3E"); }
.deadlines { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; margin: 1.4rem 0 1.2rem; max-width: var(--measure); }
.deadline { background: var(--leaf-white); border-left: 3px solid var(--gilt); padding: 1rem 1.2rem; }
.deadline b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.7rem; line-height: 1.15; color: var(--green); margin-bottom: 0.3rem; }
.deadline span { display: block; font-size: 1.08rem; line-height: 1.45; }
.more .name-list { margin: 0.2rem 0 0; columns: 2 14rem; column-gap: 2rem; column-rule: 0; }
.more .more-body .checklist { margin: 0.4rem 0 0.6rem; }
.glance { list-style: none; padding: 0; margin: 0; }
.page-body .glance li { margin: 0; padding: 0.7rem 0; border-top: 1px solid var(--line); font-size: 1.08rem; line-height: 1.4; }
.page-body .glance li:first-child { border-top: 0; padding-top: 0; }
.glance b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.3rem; color: var(--green); }

/* Keep the date cards from widening the column on phones */
.split > *, .split > .wp-block-group__inner-container > * { min-width: 0; }
.deadlines { grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr)); }

/* Flag Trivia: the Chapter's statement as a card beside the history */
.stance { font-family: var(--display); font-size: 1.5rem; line-height: 1.3; color: var(--green); margin: 0 0 0.9rem; }
.join-card .stance + p { margin-bottom: 1rem; }

/* ---------- Meetings & Events page ---------- */
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 1rem; margin: 1.4rem 0 0.5rem; max-width: var(--measure); }
.event { background: var(--leaf-white); border-top: 3px solid var(--gilt); padding: 1.1rem 1.2rem 1.2rem; }
.event .when { display: block; font-size: 1rem; color: var(--rose-dark); margin-bottom: 0.2rem; }
.event b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.4rem; line-height: 1.2; color: var(--green); margin-bottom: 0.4rem; }
.event span.what { display: block; font-size: 1.08rem; line-height: 1.45; }
.order-list { margin: 0.2rem 0 0; padding-left: 1.4rem; columns: 2 14rem; column-gap: 2.5rem; }
.page-body .order-list li { margin-bottom: 0.3em; break-inside: avoid; }
.join-card .btn { margin-top: 0.2rem; }

/* Icon: map pin (field trips) */
.ico-pin { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M12 21s-6-5.6-6-10.5a6 6 0 0 1 12 0c0 4.9-6 10.5-6 10.5z'/%3E%3Ccircle cx='12' cy='10.5' r='2.2'/%3E%3C/svg%3E"); }

/* Card headline, larger and in rose, for short statements such as "Visitors are always welcome." */
.stance.big { font-size: 2.1rem; line-height: 1.15; color: var(--rose-dark); margin-bottom: 1rem; }

/* Our Namesake: facts card under the portrait. */
.life-card { margin-top: 2rem; text-align: left; }
.page-body .life-card h2 { margin: 0 0 0.9rem; font-size: 1.45rem; }
.page-body .life-card .glance { padding-left: 0; }

/* Charter Members: numbered roll of names and the charter picture. */
.page-body .charter-roll { list-style: none; counter-reset: roll; padding: 0; margin: 1.4rem 0 2.2rem; columns: 2 15rem; column-gap: 3rem; max-width: var(--measure); }
.page-body .charter-roll li { counter-increment: roll; display: flex; align-items: baseline; gap: 0.8rem; margin: 0; padding: 0.5rem 0; border-bottom: 1px solid var(--line); break-inside: avoid; font-family: var(--display); font-size: 1.25rem; line-height: 1.3; color: var(--green); }
.charter-roll li::before { content: counter(roll); content: counter(roll) / ""; flex: none; width: 1.6rem; text-align: right; font-size: 1rem; color: var(--gilt); }
.next-links { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; }
.charter-fig { margin: 0; }
.charter-fig img { display: block; width: 100%; height: auto; border: 1px solid var(--gilt); padding: 0.4rem; background: var(--paper); }
.charter-fig figcaption { margin-top: 0.7rem; font-size: 0.95rem; line-height: 1.45; color: var(--ink-soft); text-align: center; }
.charter-roll li > span { display: block; }
.charter-roll small { display: block; margin-top: 0.1rem; font-family: var(--text); font-size: 0.8rem; line-height: 1.3; letter-spacing: 0.02em; color: var(--ink-soft); opacity: 0.8; }
.charter-roll .rd { color: var(--rose-dark); margin-left: 0.15rem; }
.page-body .roll-note { margin: -1.4rem 0 2.2rem; font-size: 0.9rem; line-height: 1.45; color: var(--ink-soft); max-width: var(--measure); }
.roll-note > span { color: var(--rose-dark); }

/* Charter Members: closing heading, copy and two standard buttons under the charter, in the side column. */
.next-col { margin-top: 2.4rem; }
.page-body .next-col .next-title { margin: 0 0 0.9rem; font-size: 1.6rem; line-height: 1.2; }
.page-body .next-col p { margin: 0 0 0.9rem; }
.page-body .next-col p:has(.btn) { margin-bottom: 1.7rem; }
.page-body .next-col p:last-child { margin-bottom: 0; }
/* This side column is taller than a screen, so it scrolls with the page instead of sticking. */
.split.flip > aside:has(.next-col), .split.flip > .aside:has(.next-col), .split.flip > .wp-block-group__inner-container > .aside:has(.next-col) { position: static; }

/* Our Ancestors: long roster with alternating row colors; on a phone each man becomes a stacked entry. */
.roster th, .roster td { padding-left: 0.9rem; }
.roster tbody tr:nth-child(even) { background: var(--leaf-white); }
.roster tbody tr:hover { background: var(--blush); }
.roster tbody th { font-weight: 400; }
.roster .sur { font-weight: 700; letter-spacing: 0.02em; }
.roster .rd { color: var(--rose-dark); margin-left: 0.15rem; }
.page-body .roster-note { margin: 1rem 0 0; }
@media (max-width: 40rem) {
  .roster { min-width: 0; }
  .roster thead { position: absolute; left: -9999px; }
  .roster, .roster tbody, .roster tr, .roster th, .roster td { display: block; }
  .roster tr { padding: 0.8rem 0.9rem; border-bottom: 1px solid var(--line); }
  .roster th, .roster td { padding: 0; border: 0; }
  .roster tbody th { font-size: 1.15rem; margin-bottom: 0.15rem; }
  .roster td { display: inline; font-size: 1rem; color: var(--ink-soft); }
  .roster td + td::before { content: " · "; }
}
/* A paragraph that runs the full page width instead of the reading measure. */
.entry > p.wide, .page-body p.wide { max-width: none; }
/* A side card that ends with a paragraph or button keeps even space top and bottom. */
.aside-card > p:last-child, .aside-card > .wp-block-group__inner-container > p:last-child { margin-bottom: 0; }

/* ---------- Accessibility fixes (2026-11-29 check) ---------- */
/* Focus outline is green where the background is pink, so it stays easy to see. */
.hero :focus-visible, .page-head :focus-visible, .join-card :focus-visible, .flag-rule :focus-visible { outline-color: var(--green); }

/* Home, green band: the heading above the five objects is visible (was screen-reader only). */
.band.green h2 { position: static; width: auto; height: auto; margin: 0 0 1.8rem; overflow: visible; clip-path: none; white-space: normal; color: #fff; text-align: left; }
