/*
 * Westminster Site Refresh
 * Scoped to .whs-refresh so the existing Twenty Twenty-Three theme remains intact.
 * Palette: ledger cream #f2eee6, archive blue #20364d, oxblood #7d3029,
 * map line #cabfaa, ink #25231f, field green #566855.
 */
.whs-refresh {
  --whs-paper: #f2eee6;
  --whs-paper-light: #fbf9f4;
  --whs-blue: #20364d;
  --whs-oxblood: #7d3029;
  --whs-ink: #25231f;
  --whs-muted: #675f55;
  --whs-rule: #cabfaa;
  --whs-green: #566855;
  color: var(--whs-ink);
  font-family: var(--wp--preset--font-family--system-font, system-ui, sans-serif);
  line-height: 1.58;
}

.whs-refresh *, .whs-refresh *::before, .whs-refresh *::after { box-sizing: border-box; }
.whs-refresh h2, .whs-refresh h3 { color: var(--whs-blue); font-family: Georgia, 'Times New Roman', serif; letter-spacing: -0.025em; }
.whs-refresh h2 { font-size: clamp(2rem, 5vw, 4.3rem); line-height: .98; margin: 0; }
.whs-refresh h3 { font-size: 1.45rem; line-height: 1.1; margin: 0; }
.whs-refresh a { color: inherit; }
.whs-refresh p { max-width: 68ch; }
.whs-kicker { color: var(--whs-oxblood); font-size: .78rem; font-weight: 700; letter-spacing: .055em; margin: 0 0 .65rem; text-transform: uppercase; }
.whs-button { background: var(--whs-oxblood); border: 1px solid var(--whs-oxblood); color: #fff !important; display: inline-block; font-weight: 700; padding: .78rem 1.25rem; text-decoration: none; transition: background-color .18s ease, border-color .18s ease; }
.whs-button:hover, .whs-button:focus-visible { background: #57231e; border-color: #57231e; }
.whs-button--light { background: #fff; border-color: #fff; color: var(--whs-blue) !important; }
.whs-button--light:hover, .whs-button--light:focus-visible { background: var(--whs-paper); border-color: var(--whs-paper); }
.whs-text-link { color: var(--whs-blue); display: inline-block; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.whs-text-link span { color: var(--whs-oxblood); font-size: 1.2em; padding-left: .2em; }
.whs-home-hero { background: var(--whs-paper); border-bottom: 1px solid var(--whs-rule); margin: 0 calc(50% - 50vw); padding: clamp(3rem, 9vw, 8rem) max(1.25rem, calc((100vw - 1160px) / 2)); }
.whs-home-hero__inner { max-width: 920px; }
.whs-home-hero h2 { font-size: clamp(3rem, 8vw, 7.6rem); max-width: 11ch; }
.whs-home-hero__lead { color: var(--whs-muted); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.14rem, 2vw, 1.48rem); line-height: 1.45; margin: 1.5rem 0 2rem; max-width: 53ch; }
.whs-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 1.2rem; }
.whs-record-strip { border-top: 1px solid var(--whs-rule); display: grid; gap: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(3rem, 8vw, 6rem) 0 0; max-width: 100%; padding-top: 1rem; }
.whs-record-strip div { border-left: 1px solid var(--whs-rule); padding: 0 1.4rem; }
.whs-record-strip div:first-child { border-left: 0; padding-left: 0; }
.whs-record-strip dt { color: var(--whs-blue); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.75rem, 3vw, 2.6rem); font-weight: 700; }
.whs-record-strip dd { color: var(--whs-muted); font-size: .9rem; margin: .1rem 0 0; max-width: 18ch; }
.whs-section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.whs-section--intro { display: grid; gap: 3rem; grid-template-columns: minmax(0, .95fr) minmax(0, .85fr); }
.whs-section__heading { align-self: start; }
.whs-section__body { color: var(--whs-muted); font-size: 1.1rem; }
.whs-section__body p { margin-top: 0; }
.whs-section--rule { border-top: 1px solid var(--whs-rule); }
.whs-route-list { border-top: 1px solid var(--whs-rule); margin-top: 2.6rem; }
.whs-route-list a { align-items: baseline; border-bottom: 1px solid var(--whs-rule); display: grid; gap: 1.3rem; grid-template-columns: 3rem minmax(12rem, 1fr) minmax(13rem, 1.1fr); padding: 1rem 0; text-decoration: none; }
.whs-route-list a:hover strong, .whs-route-list a:focus-visible strong { color: var(--whs-oxblood); }
.whs-route-list span { color: var(--whs-oxblood); font: 700 .78rem/1 system-ui, sans-serif; }
.whs-route-list strong { color: var(--whs-blue); font-family: Georgia, 'Times New Roman', serif; font-size: 1.35rem; transition: color .18s ease; }
.whs-route-list em { color: var(--whs-muted); font-size: .92rem; font-style: normal; }
.whs-section--events { border-top: 1px solid var(--whs-rule); }
.whs-section--events > .whs-section__heading { align-items: end; display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; justify-content: space-between; margin-bottom: 2.4rem; }
.whs-event-list { border-top: 1px solid var(--whs-rule); }
.whs-event-list__item { border-bottom: 1px solid var(--whs-rule); display: grid; gap: 1.2rem; grid-template-columns: minmax(13rem, .8fr) minmax(11rem, .55fr) minmax(0, 1fr); padding: 1.35rem 0; }
.whs-event-list__item .whs-kicker { grid-column: 1; margin: 0; }
.whs-event-list__item h3 { grid-column: 1; grid-row: 2; }
.whs-event-list__item h3 a { text-decoration: none; }
.whs-event-list__date { color: var(--whs-oxblood); font-size: .92rem; font-weight: 700; grid-column: 2; grid-row: 1 / span 2; margin: 0; }
.whs-event-list__item > p:last-child { color: var(--whs-muted); font-size: .95rem; grid-column: 3; grid-row: 1 / span 2; margin: 0; }
.whs-empty-state { background: var(--whs-paper); border-left: 4px solid var(--whs-oxblood); color: var(--whs-muted); margin: 0; padding: 1.35rem 1.5rem; }
.whs-empty-state--large { min-height: 15rem; padding-top: 3rem; }
.whs-empty-state p { margin: 0; }
.whs-membership-callout { align-items: center; background: var(--whs-blue); color: #fdfbf5; display: flex; gap: 3rem; justify-content: space-between; margin: 0 calc(50% - 50vw); padding: clamp(3rem, 8vw, 6rem) max(1.25rem, calc((100vw - 1160px) / 2)); }
.whs-membership-callout h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 4.2rem); max-width: 15ch; }
.whs-membership-callout p:not(.whs-kicker) { color: #d8e2ea; max-width: 54ch; }
.whs-membership-callout .whs-kicker { color: #ead39b; }
.whs-page-intro { background: var(--whs-paper); border-bottom: 1px solid var(--whs-rule); margin: 0 calc(50% - 50vw); padding: clamp(3rem, 7vw, 6rem) max(1.25rem, calc((100vw - 920px) / 2)); }
.whs-page-intro h2 { font-size: clamp(3rem, 7vw, 6rem); max-width: 10ch; }
.whs-page-intro > p:last-child { color: var(--whs-muted); font-family: Georgia, 'Times New Roman', serif; font-size: 1.22rem; line-height: 1.48; margin: 1.45rem 0 0; }
.whs-page-intro--membership { background: var(--whs-blue); border: 0; color: #fff; }
.whs-page-intro--membership h2 { color: #fff; }
.whs-page-intro--membership .whs-kicker { color: #ead39b; }
.whs-page-intro--membership > p:last-child { color: #d8e2ea; }
.whs-calendar { border: 1px solid var(--whs-rule); margin: clamp(2.5rem, 5vw, 4rem) 0; overflow: hidden; }
.whs-calendar__head { align-items: center; background: var(--whs-blue); color: #fff; display: flex; justify-content: space-between; padding: 1rem 1.25rem; }
.whs-calendar__head h2 { color: #fff; font-size: clamp(1.3rem, 3vw, 1.85rem); }
.whs-calendar__nav { color: #fff; font-size: .86rem; font-weight: 700; text-decoration: none; }
.whs-calendar__nav:hover, .whs-calendar__nav:focus-visible { text-decoration: underline; text-underline-offset: .25em; }
.whs-calendar__weekdays, .whs-calendar__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.whs-calendar__weekdays { background: #e5ded1; color: var(--whs-blue); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-align: center; text-transform: uppercase; }
.whs-calendar__weekdays span { padding: .6rem 0; }
.whs-calendar__day { border-right: 1px solid var(--whs-rule); border-top: 1px solid var(--whs-rule); min-height: 7.5rem; padding: .5rem; }
.whs-calendar__day:nth-child(7n) { border-right: 0; }
.whs-calendar__day--empty { background: #f8f5ef; }
.whs-calendar__number { color: var(--whs-muted); display: block; font-size: .8rem; font-weight: 700; margin-bottom: .3rem; }
.whs-calendar__event { background: #f2dfd9; border-left: 3px solid var(--whs-oxblood); color: var(--whs-ink); display: block; font-size: .72rem; font-weight: 700; line-height: 1.25; margin: .2rem 0; overflow: hidden; padding: .22rem .3rem; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.whs-calendar__event:hover, .whs-calendar__event:focus-visible { background: var(--whs-oxblood); color: #fff; }
.whs-member-form { border-top: 4px solid var(--whs-oxblood); display: grid; gap: 3rem; grid-template-columns: minmax(14rem, .65fr) minmax(0, 1fr); margin: clamp(3.5rem, 7vw, 6rem) 0 0; padding-top: 1.5rem; }
.whs-member-form h2 { font-size: clamp(2rem, 4vw, 3rem); }
.whs-member-form > div > p:last-child { color: var(--whs-muted); }
.whs-member-form form p { margin: 0 0 1rem; }
.whs-member-form label { color: var(--whs-blue); display: block; font-size: .88rem; font-weight: 700; margin-bottom: .35rem; }
.whs-member-form input, .whs-member-form textarea { background: var(--whs-paper-light); border: 1px solid var(--whs-rule); border-radius: 0; color: var(--whs-ink); font: inherit; padding: .65rem .7rem; width: 100%; }
.whs-member-form input:focus, .whs-member-form textarea:focus { outline: 3px solid #dbc993; outline-offset: 1px; }
.whs-member-form__two-up { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.whs-member-prompt { background: var(--whs-paper); border-left: 4px solid var(--whs-oxblood); margin-top: 2rem; padding: 1rem 1.2rem; }
.whs-notice { background: #e9f1e7; border-left: 4px solid var(--whs-green); color: #264027; margin: 2rem 0; padding: .9rem 1rem; }
.whs-notice--error { background: #f6e6e3; border-left-color: var(--whs-oxblood); color: #5b211c; }
.whs-gallery-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(2.5rem, 5vw, 4rem); }
.whs-gallery-grid__item { background: var(--whs-paper); border: 1px solid var(--whs-rule); }
.whs-gallery-grid__item a { display: block; height: 100%; text-decoration: none; }
.whs-gallery-grid__item img { aspect-ratio: 4 / 3; display: block; filter: grayscale(12%); height: auto; object-fit: cover; width: 100%; }
.whs-gallery-grid__item a > div { padding: 1rem; }
.whs-gallery-grid__item h2 { font-size: 1.35rem; }
.whs-gallery-grid__item .whs-kicker { font-size: .68rem; }
.whs-membership-details { display: grid; gap: clamp(2rem, 6vw, 6rem); grid-template-columns: minmax(16rem, .6fr) minmax(0, 1fr); padding: clamp(3rem, 7vw, 6rem) 0; }
.whs-membership-details h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.whs-membership-details dl { border-top: 1px solid var(--whs-rule); margin: 1.7rem 0; }
.whs-membership-details dl div { border-bottom: 1px solid var(--whs-rule); padding: .85rem 0; }
.whs-membership-details dt { color: var(--whs-blue); font-family: Georgia, 'Times New Roman', serif; font-size: 1.2rem; font-weight: 700; }
.whs-membership-details dd { color: var(--whs-muted); margin: .2rem 0 0; }
.whs-zeffy-shell { border: 1px solid var(--whs-rule); min-height: 31rem; padding: .7rem; }
.whs-zeffy { min-height: 29rem; }
@media (max-width: 720px) {
  .whs-record-strip { grid-template-columns: 1fr; }
  .whs-record-strip div, .whs-record-strip div:first-child { border-left: 0; border-top: 1px solid var(--whs-rule); padding: .9rem 0; }
  .whs-record-strip div:first-child { border-top: 0; padding-top: 0; }
  .whs-section--intro, .whs-member-form, .whs-membership-details { grid-template-columns: 1fr; }
  .whs-route-list a { align-items: start; gap: .4rem 1rem; grid-template-columns: 2rem 1fr; }
  .whs-route-list em { grid-column: 2; }
  .whs-event-list__item { display: block; }
  .whs-event-list__item h3, .whs-event-list__date, .whs-event-list__item > p:last-child { margin: .45rem 0; }
  .whs-membership-callout { align-items: flex-start; flex-direction: column; gap: 1.5rem; }
  .whs-calendar__day { min-height: 4.6rem; padding: .35rem; }
  .whs-calendar__event { font-size: .64rem; }
  .whs-calendar__nav { font-size: .74rem; }
  .whs-calendar__weekdays { font-size: .62rem; }
}
@media (prefers-reduced-motion: reduce) { .whs-refresh *, .whs-refresh *::before, .whs-refresh *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
