/*
Theme Name: Moses Clark Society
Theme URI: 
Author: Moses Clark Society, C.A.R.
Description: Official theme for the Moses Clark Society of the National Society Children of the American Revolution. Reproduces the society header, navigation, related-societies band, and footer.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: moses-clark-society
*/


/* ----- Base ----- */
* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: #222;
  /* Subtle warm parchment tint behind all content. */
  background: #f6f1e5;
  line-height: 1.6;
}

a {
  color: #7a1f2b;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ----- Fixed header band (pinned to top of the viewport) ----- */
.site-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
}

/* ----- Header ----- */
.site-header {
  padding: 14px 40px;
  background: #ffffff;
  border-bottom: 1px solid #e3e3e3;
}

.header-inner {
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 20px;
}

/* Equal 1fr side columns center the middle column to the window, so the title
   box and nav line up with the window center regardless of logo widths. */
.header-inner > .header-logo:first-child {
  justify-self: start;
  align-self: center;
}

.header-inner > .header-logo:last-child {
  justify-self: end;
  align-self: center;
}

.header-logo {
  flex: 0 0 auto;
}

.header-logo img {
  display: block;
  height: 90px;
  width: auto;
}

/* Center column: title box at the top, nav pushed down to the logos' bottom. */
.header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.header-title-box {
  border: 1px solid #333;
  padding: 3px 18px;
  text-align: center;
}

.header-title-box .society-name {
  font-size: 23px;
  color: #2a2a2a;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.header-title-box .org-name {
  font-size: 18px;
  color: #2a2a2a;
  letter-spacing: 0.5px;
  white-space: nowrap;
  margin-top: 2px;
}

/* ----- Navigation (now sits inside the header center column) ----- */
.site-nav {
  max-width: none;
  margin: 0;
  padding: 0;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.site-nav a {
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 0;
}

.site-nav a:hover,
.site-nav a.active {
  color: #7a1f2b;
  border-bottom: 2px solid #7a1f2b;
  text-decoration: none;
}

/* ----- Main content ----- */
.page {
  max-width: none;
  margin: 0;
  padding: 40px 40px 60px;
}

.page h1 {
  font-size: 30px;
  color: #2a2a2a;
  margin-top: 0;
}

.page h2 {
  font-size: 22px;
  color: #7a1f2b;
}

/* ----- Gray related-societies section (home page only) ----- */
.related-societies {
  background: #5f6673;
  color: #ffffff;
  padding: 12px 40px;
}

.related-societies .cols {
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 40px;
}

.related-societies ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.related-societies li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1.35;
}

.related-societies li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  top: 0;
  color: #9fb6d6;
}

.related-societies a {
  color: #ffffff;
}

.related-societies a:hover {
  text-decoration: underline;
}

/* ----- Bottom bands pinned to the viewport (gray + dark blue) ----- */
.site-bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.18);
}

/* ----- Dark blue footer (every page) ----- */
.site-footer {
  background: #1c2536;
  color: #d6dbe4;
  padding: 12px 40px 12px;
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
}

.site-footer .footer-inner {
  max-width: none;
  margin: 0;
}

.site-footer a {
  color: #9fb6d6;
}

.site-footer .heritage {
  font-style: italic;
  color: #c7cfdd;
  margin-bottom: 6px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer .disclaimer {
  margin-top: 2px;
}

.site-footer .updated {
  margin-top: 3px;
}

.site-footer .powered {
  margin-top: 3px;
  font-size: 12px;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .header-inner > .header-logo:first-child {
    order: 1;
    justify-self: center;
  }
  .header-inner > .header-logo:last-child {
    order: 2;
    justify-self: center;
  }
  .header-center {
    order: 3;
    justify-content: center;
    gap: 10px;
    margin-top: 4px;
  }
  .header-logo img {
    height: 92px;
  }
  .header-title-box {
    padding: 8px 20px;
  }
  .header-title-box .society-name {
    font-size: 20px;
  }
  .header-title-box .org-name {
    font-size: 16px;
  }
  .site-header {
    padding: 14px 16px;
  }
  .site-nav ul {
    gap: 16px 18px;
    justify-content: center;
  }
  .page {
    padding: 26px 18px 40px;
  }
  .related-societies {
    padding: 20px 18px;
  }
  .related-societies .cols {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }
  .site-footer {
    padding: 18px 18px 22px;
  }

  /* On phones the header and bands flow with the page instead of covering it. */
  .site-top,
  .site-bottom {
    position: static;
    box-shadow: none;
  }
  body {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

/* ----- Sponsors / business directory (Resources page) ----- */
.sponsors {
  margin-top: 40px;
}

.sponsors-intro {
  margin-top: 4px;
}

.sponsors-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 18px 0 14px;
}

#sponsorSearch {
  flex: 1 1 320px;
  max-width: 460px;
  padding: 10px 14px;
  font-size: 15px;
  font-family: Arial, Helvetica, sans-serif;
  border: 1px solid #b9bcc4;
  border-radius: 4px;
}

#sponsorSearch:focus {
  outline: none;
  border-color: #7a1f2b;
  box-shadow: 0 0 0 2px rgba(122, 31, 43, 0.15);
}

.sponsors-count {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #666;
}

.sponsors-table-wrap {
  overflow-x: auto;
}

.sponsors-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.sponsors-table thead th {
  text-align: left;
  background: #1c2536;
  color: #fff;
  padding: 10px 12px;
  font-size: 13px;
  letter-spacing: 0.5px;
  position: sticky;
  top: 0;
}

.sponsors-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e6e6e6;
  vertical-align: top;
}

.sponsors-table tbody tr:nth-child(even) {
  background: #f6f7f9;
}

.sponsors-table tbody tr:hover {
  background: #eef1f6;
}

.sponsors-table .muted {
  color: #999;
}

.sponsors-empty {
  padding: 20px 0;
  color: #666;
  font-family: Arial, Helvetica, sans-serif;
}

@media (max-width: 720px) {
  .sponsors-table thead {
    display: none;
  }
  .sponsors-table, .sponsors-table tbody, .sponsors-table tr, .sponsors-table td {
    display: block;
    width: 100%;
  }
  .sponsors-table tr {
    margin-bottom: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
  }
  .sponsors-table td {
    border: none;
    border-bottom: 1px solid #eee;
    padding-left: 42%;
    position: relative;
  }
  .sponsors-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 12px;
    top: 10px;
    width: 36%;
    font-weight: bold;
    color: #555;
  }
}

/* ======================================================================
   Homepage (front-page.php)
   ====================================================================== */

/* Let the homepage sections run full-bleed (override the .page padding). */
body.mcs-front .page {
  padding: 0;
}

.home-section {
  padding: 48px 24px;
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.section-alt {
  background: #ffffff;
}

.section-heading {
  text-align: center;
  font-size: 27px;
  color: #2a2a2a;
  margin: 0 0 28px;
}

.section-heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #7a1f2b;
  margin: 12px auto 0;
}

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 12px 26px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: #7a1f2b;
  border-color: #7a1f2b;
  color: #fff;
}

.btn-primary:hover {
  background: #611722;
  border-color: #611722;
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: #7a1f2b;
  color: #7a1f2b;
}

.btn-outline:hover {
  background: #7a1f2b;
  color: #fff;
}

/* ----- Hero ----- */
.home-hero {
  padding: 52px 24px;
  background: linear-gradient(180deg, #fbf8f1 0%, #f2ebda 100%);
  border-bottom: 1px solid #e7ddc6;
}

.hero-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 440px 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 44px;
  row-gap: 14px;
  align-items: stretch;
}

/* Intro (kicker/heritage/tagline) sits above the welcome text, right column. */
.hero-intro {
  grid-column: 2;
  grid-row: 1;
}

/* Photo occupies the left column beside the welcome block. It spans both rows
   so it can top-align with the kicker and run tall down the page. Displayed at
   its natural portrait shape so all the foliage around the marker stays in. */
.hero-photo {
  grid-column: 1;
  grid-row: 1 / 3;
  margin: 0;
  align-self: start; /* top-align with the kicker line */
}

.hero-text {
  grid-column: 2;
  grid-row: 2;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: auto; /* natural portrait shape — keeps all the foliage, no crop */
  border: 6px solid #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  border-radius: 2px;
}

.hero-kicker {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7a1f2b;
  margin: 0 0 10px;
}

/* Heritage line, moved up from the footer — italic, in the kicker's color. */
.hero-heritage {
  font-style: italic;
  color: #7a1f2b;
  font-size: 14px;
  margin: 0 0 16px;
}

.hero-tagline {
  font-style: italic;
  font-size: 23px;
  color: #3a3a3a;
  margin: 0 0 18px;
}

.hero-text h1 {
  margin: 0 0 14px;
  font-size: 34px;
  color: #2a2a2a;
}

.hero-cta {
  margin-top: 22px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ----- Featured project ----- */
.eyebrow {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7a1f2b;
  margin: 0 0 6px;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 34px;
  background: #fff;
  border: 1px solid #e7ddc6;
  border-left: 6px solid #7a1f2b;
  border-radius: 6px;
  padding: 30px 34px;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.06);
}

.feature-body {
  flex: 1 1 auto;
}

.feature-body h2 {
  margin: 0 0 10px;
  font-size: 25px;
  color: #2a2a2a;
}

.feature-badge {
  flex: 0 0 auto;
}

.feature-badge img {
  display: block;
  width: 150px;
  height: auto;
}

/* ----- Meet Moses Clark ----- */
.meet-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 36px;
  align-items: center;
}

.meet-photo {
  margin: 0;
}

.meet-photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 5px solid #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border-radius: 2px;
}

.meet-body h2 {
  margin: 0 0 12px;
  font-size: 26px;
  color: #2a2a2a;
}

/* ----- Timeline ----- */
.timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 680px;
}

.timeline li {
  position: relative;
  padding: 0 0 26px 34px;
  border-left: 2px solid #cdbf9d;
}

.timeline li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #7a1f2b;
  border: 3px solid #f6f1e5;
}

.section-alt .timeline li::before {
  border-color: #fff;
}

.tl-year {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 18px;
  color: #7a1f2b;
  line-height: 1.2;
}

.tl-event {
  display: block;
  font-size: 16px;
  color: #333;
  margin-top: 2px;
}

/* ----- Latest News ----- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.news-card {
  background: #f6f1e5;
  border: 1px solid #e7ddc6;
  border-top: 4px solid #7a1f2b;
  border-radius: 6px;
  padding: 20px 22px;
}

.section-alt .news-card {
  background: #faf7ef;
}

.news-tag {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #7a1f2b;
  margin: 0 0 6px;
}

.news-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  color: #2a2a2a;
}

.news-date {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #777;
  margin: 0;
}

/* ----- Become a member CTA ----- */
.section-cta {
  background: #1c2536;
  color: #eef1f6;
  text-align: center;
}

.cta-inner {
  max-width: 720px;
}

.section-cta h2 {
  margin: 0 0 12px;
  font-size: 27px;
  color: #fff;
}

.section-cta p {
  margin: 0 auto 20px;
}

/* ----- Homepage responsive ----- */
@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 20px;
  }
  .hero-intro,
  .hero-photo,
  .hero-text {
    grid-column: 1;
    grid-row: auto;
  }
  .hero-photo {
    position: static;
    overflow: visible;
    min-height: 0;
    max-width: 360px;
    margin: 0 auto;
  }
  .hero-photo img {
    position: static;
    height: auto; /* natural portrait shape on narrow screens — no crop */
    object-fit: initial;
  }
  .meet-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .meet-photo {
    max-width: 460px;
    margin: 0 auto;
  }
  .feature-card {
    flex-direction: column-reverse;
    text-align: center;
    align-items: center;
  }
  .feature-badge img {
    width: 120px;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .hero-cta {
    justify-content: flex-start;
  }
}

/* ----- Our Mission in Action (mission tree) ----- */
.section-mission {
  text-align: center;
  padding-left: 16px;
  padding-right: 16px;
}

/* Allow this section to grow to the graphic's native width. */
.section-mission .section-inner {
  max-width: 1536px;
}

.mission-intro {
  max-width: 780px;
  margin: 0 auto 26px;
}

.mission-tree {
  margin: 0;
}

.mission-tree img {
  display: block;
  width: 100%;          /* fill the page width... */
  max-width: 1536px;    /* ...but never upscale past the native size */
  height: auto;
  margin: 0 auto;
  border: 1px solid #e2d8bf;
  border-radius: 8px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
}

/* ----- "Under construction" page notice ----- */
.under-construction {
  margin-top: 30px;
  padding: 12px 18px;
  background: #fbf6e7;
  border: 1px dashed #cdbf9d;
  border-radius: 6px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-style: italic;
  color: #7a6a3a;
}

/* =========================================================================
   Our Story page
   ========================================================================= */

/* Page intro band */
.story-intro {
  padding: 52px 24px 8px;
  text-align: center;
}

.story-intro h1 {
  margin: 4px 0 0;
  font-size: 40px;
  color: #2a2a2a;
}

.story-lead {
  max-width: 640px;
  margin: 16px auto 0;
  font-size: 19px;
  font-style: italic;
  color: #5a5147;
}

/* Readable prose column */
.story-prose {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto; /* center the column when it's nested inside a wider section */
}

.story-prose .section-heading {
  margin-bottom: 22px;
}

.story-prose p {
  font-size: 17px;
  line-height: 1.75;
  color: #3a3a3a;
  margin: 0 0 16px;
}

.story-prose p:last-child {
  margin-bottom: 0;
}

/* Motto band */
.story-motto {
  padding: 60px 24px;
  background: #7a1f2b;
  color: #f7efe2;
  text-align: center;
}

.motto-lines {
  margin: 0;
  font-size: 42px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.motto-sub {
  margin: 22px 0 0;
  font-size: 18px;
  font-style: italic;
  color: #e9d6c4;
}

/* Mission Tree section */
.tree-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.tree-figure {
  margin: 0;
}

.tree-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e2d8bf;
  border-radius: 8px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
}

.tree-intro p {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: #3a3a3a;
}

.tree-parts {
  max-width: 820px;
  margin: 0 auto;
}

.tree-part {
  padding: 18px 0 18px 22px;
  border-left: 4px solid #7a1f2b;
  margin: 0 0 22px;
}

.tree-part:last-child {
  margin-bottom: 0;
}

.tree-part h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #2a2a2a;
}

.tree-label {
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #7a1f2b;
  background: #f0e6d2;
  padding: 3px 10px;
  border-radius: 3px;
  margin-right: 8px;
  vertical-align: middle;
}

.tree-part p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.7;
  color: #3a3a3a;
}

.tree-part p:last-child {
  margin-bottom: 0;
}

.tree-branch-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tree-branch-list li {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #4a4038;
  background: #fbf6ec;
  border: 1px solid #e2d8bf;
  border-radius: 20px;
  padding: 5px 14px;
}

.tree-fruit-list {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 30px;
}

.tree-fruit-list li {
  font-size: 16px;
  line-height: 1.7;
  color: #3a3a3a;
}

/* Closing note — quiet, centered, smaller type on the page background */
.story-closing {
  padding: 44px 24px 56px;
  text-align: center;
}

.story-closing .section-inner {
  max-width: 700px;
}

.story-closing::before {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  background: #7a1f2b;
  margin: 0 auto 26px;
}

.closing-quote {
  margin: 0;
  font-size: 20px;
  font-style: italic;
  line-height: 1.55;
  color: #7a1f2b;
}

.closing-sub {
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 15px;
  line-height: 1.7;
  color: #6a6157;
}

/* ----- Our Story responsive ----- */
@media (max-width: 820px) {
  .story-intro h1 {
    font-size: 32px;
  }
  .tree-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .tree-figure {
    max-width: 460px;
    margin: 0 auto;
  }
  .tree-intro p {
    text-align: left;
  }
  .motto-lines {
    font-size: 32px;
  }
  .tree-fruit-list {
    columns: 1;
  }
  .closing-quote {
    font-size: 20px;
  }
}

/* =========================================================================
   Contact page
   ========================================================================= */

.contact-intro {
  padding: 52px 24px 8px;
  text-align: center;
}

.contact-intro h1 {
  margin: 4px 0 0;
  font-size: 40px;
  color: #2a2a2a;
}

/* Leadership rosters */
.leadership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 880px;
  margin: 0 auto;
  align-items: start;
}

.roster {
  background: #faf7ef;
  border: 1px solid #e7ddc6;
  border-radius: 8px;
  padding: 24px 26px;
}

.roster-title {
  margin: 0 0 14px;
  font-size: 20px;
  color: #2a2a2a;
  text-align: center;
}

.roster-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: #7a1f2b;
  margin: 10px auto 0;
}

.roster-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.roster-item {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid #ece3ce;
}

.roster-item:last-child {
  border-bottom: 0;
}

.roster-role {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8a7f6c;
}

.roster-name {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: #2a2a2a;
  margin-top: 2px;
}

.roster-open {
  margin: 16px 0 0;
  font-size: 14px;
  font-style: italic;
  line-height: 1.6;
  color: #6a6157;
}

.privacy-note {
  max-width: 820px;
  margin: 30px auto 0;
  padding: 16px 22px;
  background: #fbf6ec;
  border: 1px solid #e7ddc6;
  border-left: 4px solid #7a1f2b;
  border-radius: 6px;
  font-size: 15px;
  font-style: italic;
  line-height: 1.7;
  color: #5a5147;
  text-align: center;
}

/* Contact form block */
.contact-form-section {
  max-width: 640px;
}

.contact-form-lead {
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
  color: #4a4038;
  margin: 0 0 24px;
}

/* ----- Contact responsive ----- */
@media (max-width: 760px) {
  .contact-intro h1 {
    font-size: 32px;
  }
  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* =========================================================================
   Membership page
   ========================================================================= */

/* Centered prose (intro, dues) — overrides the left-aligned default */
.story-prose-center {
  text-align: center;
}

/* Activity chips */
.activity-tags {
  list-style: none;
  margin: 0 auto 24px;
  padding: 0;
  max-width: 840px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.activity-tags li {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #7a1f2b;
  background: #ffffff;
  border: 1px solid #e3c9cd;
  border-radius: 22px;
  padding: 8px 18px;
}

/* Dues / action buttons */
.membership-actions {
  margin-top: 26px;
}

.btn-disabled {
  background: #e7ddc6;
  border-color: #d8cbb0;
  color: #8a7f6c;
  cursor: default;
}

.btn-disabled:hover {
  background: #e7ddc6;
  color: #8a7f6c;
}

/* =========================================================================
   Our History (chapter cards) + history pages
   ========================================================================= */

.history-lead {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.history-lead p {
  font-size: 17px;
  line-height: 1.75;
  color: #4a4038;
  margin: 0 0 16px;
}

.history-lead p:last-child {
  margin-bottom: 0;
}

.history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}

.history-card {
  display: flex;
  flex-direction: column;
  background: #faf7ef;
  border: 1px solid #e7ddc6;
  border-radius: 8px;
  padding: 22px 24px 20px;
}

.history-card.is-soon {
  background: #f4efe3;
}

.history-name {
  margin: 0 0 4px;
  font-size: 19px;
  line-height: 1.3;
  color: #2a2a2a;
}

.history-sub {
  margin: 0 0 12px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #7a1f2b;
}

.history-intro {
  flex: 1 1 auto;
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.65;
  color: #4a4038;
}

.history-actions {
  margin: 0;
}

.history-actions .btn {
  padding: 10px 20px;
  font-size: 13px;
}

.history-soon {
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8a7f6c;
  background: #efe7d5;
  border: 1px solid #ddd0b4;
  border-radius: 20px;
  padding: 6px 15px;
}

/* Moses Clark (and future history) page: "coming soon" note */
.namesake-note {
  border-left: 4px solid #7a1f2b;
  padding-left: 16px;
  margin: 4px 0 20px;
  font-style: italic;
  color: #6a6157;
  line-height: 1.7;
}

/* History biography page (Moses Clark, etc.) */
.bio-figure {
  max-width: 600px;
  margin: 0 auto 32px;
}

.bio-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 5px solid #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border-radius: 2px;
}

.bio-figure figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  font-style: italic;
  color: #6a6157;
}

.bio-note {
  margin-top: 24px !important;
  padding-top: 18px;
  border-top: 1px solid #e2d8bf;
  font-style: italic;
  color: #6a6157;
}

.bio-back {
  margin-top: 24px;
}

/* History page in-progress framework (e.g. William Oliver shell) */
.section-placeholder {
  font-size: 16px;
  font-style: italic;
  color: #6a6157;
  margin: 0;
}

.wmo-progress {
  margin-top: 6px !important;
  font-size: 14px;
  font-style: italic;
  color: #8a7f6c;
}

.wmo-closing {
  margin-top: 24px !important;
  padding-top: 18px;
  border-top: 1px solid #e2d8bf;
  text-align: center;
  font-style: italic;
  font-size: 18px;
  color: #7a1f2b;
}
