/*
Theme Name: 44 Flats United
Template: twentytwentyfour
Description: Child theme for 44 Flats United - Melbourne's public housing residents united.
Version: 3.0.0
Text Domain: 44fu-child
*/

/* ── Self-hosted fonts ── */
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/chakra-petch-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/chakra-petch-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/chakra-petch-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/chakra-petch-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/chakra-petch-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/chakra-petch-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/source-sans-3-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/source-sans-3-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ── Variables ── */
:root {
  --red: #B33D22;
  --red-dark: #862716;
  --charcoal: #2C2C2A;
  --offwhite: #F1EFE8;
  --amber: #D78920;
  --teal: #0F6E56;
  --blush: #FAECE7;
  --gray: #706E67;
  --border: #D3D1C7;
  --text-muted: #444441;
}

/* ── Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background-color: var(--offwhite);
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.65' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.015'/%3E%3C/svg%3E");
  color: var(--charcoal);
  font-family: 'Source Sans 3', sans-serif;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Chakra Petch', sans-serif;
  color: var(--charcoal);
  font-weight: 700;
}

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  color: var(--red-dark);
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 200;
  transform: translateY(-220%);
  background: var(--amber);
  color: var(--charcoal);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ── Header / Nav ── */
.site-header {
  background: var(--charcoal);
  padding: 0.9rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 70px;
  box-shadow: 0 8px 24px rgba(21, 21, 20, 0.16);
}

body.admin-bar .site-header {
  top: 32px;
}

.site-logo {
  min-width: 0;
}

.site-logo .custom-logo-link,
.site-logo .site-logo-link,
.site-logo-text {
  display: inline-flex;
  align-items: center;
  color: var(--offwhite);
  font-family: 'Chakra Petch', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-logo .custom-logo,
.site-logo img {
  height: 50px;
  width: auto;
}

.site-nav {
  margin-left: auto;
}

.site-nav ul,
.site-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--offwhite);
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s, opacity 0.2s;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--amber);
}

.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
  color: var(--amber);
}

.site-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.75rem;
  min-height: 46px;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(241, 239, 232, 0.25);
  border-radius: 999px;
  background: transparent;
  color: var(--offwhite);
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav-toggle:hover {
  border-color: rgba(239, 159, 39, 0.55);
  color: var(--amber);
}

.site-nav-toggle__icon {
  position: relative;
  display: block;
  width: 18px;
  height: 14px;
  flex: 0 0 18px;
  background: linear-gradient(currentColor, currentColor) center / 18px 2px no-repeat;
}

.site-nav-toggle__icon::before,
.site-nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav-toggle__label {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.site-nav-toggle__icon::before {
  top: 0;
}

.site-nav-toggle__icon::after {
  top: 12px;
}

.site-header.is-nav-open .site-nav-toggle__icon {
  background: none;
}

.site-header.is-nav-open .site-nav-toggle__icon::before {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-nav-open .site-nav-toggle__icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: clamp(31rem, 76vh, 42rem);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-media,
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg {
  background-size: cover;
  background-position: center 24%;
  filter: brightness(0.45);
}

.hero-bg-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  filter: brightness(0.45);
}

@media (min-width: 961px) {
  .hero {
    min-height: clamp(36rem, 82vh, 50rem);
  }

  .hero-bg {
    background-position: center 20%;
  }

  .hero-bg-image {
    object-position: center 20%;
  }

  .hero-content {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }
}

.hero-bg--fallback {
  background:
    radial-gradient(circle at top, rgba(215,137,32,0.18), transparent 55%),
    linear-gradient(135deg, #34130d 0%, #2C2C2A 58%, #6C2117 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
  padding: 2rem;
}

.hero-content h1 {
  color: var(--offwhite);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.08;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.hero-content h1 span {
  color: var(--amber);
}

.hero-content p {
  color: var(--border);
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--red);
  color: var(--offwhite);
  border: 2px solid var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--offwhite);
}

.btn-outline {
  background: transparent;
  color: var(--offwhite);
  border: 2px solid var(--offwhite);
}

.btn-outline:hover {
  background: var(--offwhite);
  color: var(--charcoal);
}

/* ── Sections ── */
.section {
  padding: 5rem 2rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: min(1100px, 100%);
}

.section-label {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

.section-label::after {
  content: "";
  display: block;
  width: 2rem;
  height: 3px;
  background: var(--red);
  margin-top: 0.4rem;
  opacity: 0.5;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
}

/* ── Mission section ── */
.mission {
  background: var(--charcoal);
  background-image:
    url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.8' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

.mission .section-title {
  color: var(--offwhite);
}

.mission .section-label {
  color: var(--amber);
}

.mission p {
  color: var(--border);
  font-size: 1.1rem;
  line-height: 1.85;
  max-width: 720px;
  font-family: Georgia, 'Source Sans 3', serif;
}

/* ── News section ── */
.news {
  background: var(--offwhite);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.news-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  box-shadow: 0 12px 24px rgba(44, 44, 42, 0.04);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.news-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(211, 209, 199, 0.35);
}

.news-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card:hover,
.news-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(192, 72, 40, 0.28);
  box-shadow: 0 18px 34px rgba(44, 44, 42, 0.1);
}

.news-card-body {
  padding: 1.5rem;
}

.news-card-date {
  display: block;
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 0.5rem;
  font-family: 'Chakra Petch', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.news-card h3 a {
  color: var(--charcoal);
}

.news-card h3 a:hover {
  color: var(--red);
}

.news-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ── Hero help link ── */
.hero-help-link {
  margin-top: 1.5rem;
}

.hero-help-link a {
  color: var(--amber);
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color 0.2s;
}

.hero-help-link a:hover {
  color: var(--offwhite);
}

/* ── Photo gallery ── */
.gallery-section {
  padding: 0;
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3px;
}

.gallery-item {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:nth-child(odd) {
  transform: rotate(-0.3deg);
}

.gallery-item:nth-child(3n) {
  transform: rotate(0.4deg);
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 2rem;
  background: var(--charcoal);
}

.gallery-caption {
  color: var(--gray);
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.gallery-more {
  color: var(--amber);
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.gallery-more:hover {
  color: var(--offwhite);
}

/* ── Gallery page ── */
.gallery-page-curated {
  padding: 4rem 0 0;
  background: var(--offwhite);
}

.gallery-page-curated .section-inner {
  padding: 0 2rem 2rem;
}

.gallery-grid--page {
  gap: 4px;
}

.gallery-item--captioned {
  position: relative;
}

.gallery-item-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 0.75rem 0.6rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: var(--offwhite);
  font-size: 0.75rem;
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.gallery-instagram {
  padding: 4rem 2rem;
  background: var(--offwhite);
}

.gallery-instagram .section-inner {
  max-width: 1100px;
}

.gallery-instagram p {
  color: var(--text-muted);
  max-width: 600px;
}

.gallery-instagram-feed {
  margin: 2rem 0;
}

.gallery-instagram-placeholder {
  text-align: center;
  padding: 3rem 2rem;
  border: 2px dashed var(--border);
  border-radius: 12px;
  color: var(--gray);
}

.gallery-instagram-placeholder p {
  margin: 0.25rem auto;
  font-size: 0.9rem;
  max-width: 100%;
}

/* Homepage Instagram — horizontal strip */
.homepage-instagram {
  padding: 2rem 0;
  background: var(--offwhite);
  overflow: hidden;
}

.homepage-instagram .section-inner {
  max-width: 100%;
  padding: 0;
}

.homepage-instagram #sb_instagram,
.homepage-instagram .sb_instagram_header {
  padding: 0 !important;
}

.homepage-instagram #sbi_images {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: 4px;
  scrollbar-width: none;
}

.homepage-instagram #sbi_images::-webkit-scrollbar {
  display: none;
}

.homepage-instagram .sbi_item {
  flex: 0 0 auto;
  width: 200px;
  height: 200px;
}

.homepage-instagram .sbi_photo {
  width: 200px !important;
  height: 200px !important;
}

@media (max-width: 768px) {
  .homepage-instagram .sbi_item,
  .homepage-instagram .sbi_photo {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 540px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Testimonial ── */
.testimonial-section {
  padding: 4rem 2rem;
  background: var(--offwhite);
}

.testimonial-section .section-inner {
  max-width: 760px;
}

.testimonial {
  position: relative;
  padding: 0 0 0 2.5rem;
  margin: 0;
  border-left: 5px solid var(--red);
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: -0.5rem;
  left: -0.8rem;
  font-size: 4rem;
  color: var(--red);
  opacity: 0.25;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial p {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  line-height: 1.6;
  color: var(--charcoal);
  font-style: italic;
  font-family: Georgia, 'Source Sans 3', serif;
  margin-bottom: 1.25rem;
}

.testimonial cite {
  font-style: normal;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
}

/* ── CTA Banner ── */
.cta-banner {
  background: var(--red);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(134, 39, 22, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(215, 137, 32, 0.12) 0%, transparent 50%);
  padding: 5rem 2rem;
  text-align: center;
}

.cta-banner h2 {
  color: var(--offwhite);
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.cta-banner p {
  color: rgba(241,239,232,0.85);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-social-proof {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--offwhite);
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}

.cta-banner .btn-outline {
  border-color: var(--offwhite);
  color: var(--offwhite);
  font-size: 1rem;
  padding: 1rem 2.5rem;
}

.cta-banner .btn-outline:hover {
  background: var(--offwhite);
  color: var(--red);
}

/* ── About page ── */
.about-content {
  background: var(--offwhite);
  padding: 5rem 2rem;
}

.about-content .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 768px) {
  .about-content .section-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.about-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--charcoal);
}

.about-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ── Contact page ── */
.contact-section {
  padding: 5rem 2rem;
  background: var(--offwhite);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Press coverage ── */
.press-section {
  padding: 4rem 2rem;
  background: var(--offwhite);
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.press-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.25rem 1.5rem;
  background: white;
  border-radius: 10px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--amber);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.press-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(44, 44, 42, 0.08);
}

.press-source {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
}

.press-headline {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.4;
}

.press-card:hover .press-headline {
  color: var(--red);
}

@media (max-width: 540px) {
  .press-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Timeline ── */
.timeline {
  position: relative;
  padding-left: 2.5rem;
  margin-top: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--red);
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.5rem;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--red);
  border: 2px solid var(--charcoal);
}

.timeline-date {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  display: block;
  margin-bottom: 0.3rem;
}

.timeline-text {
  color: var(--border);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* ── Breadcrumbs ── */
.breadcrumbs {
  background: var(--charcoal);
  padding: 0.6rem 2rem;
  border-bottom: 1px solid rgba(241, 239, 232, 0.08);
}

.breadcrumbs .section-inner {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-family: 'Chakra Petch', sans-serif;
}

.breadcrumbs a {
  color: var(--gray);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--offwhite);
}

.breadcrumb-sep {
  color: rgba(241, 239, 232, 0.2);
}

.breadcrumb-current {
  color: var(--offwhite);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 300px;
}

/* ── Pagination (news page) ── */
.section-action .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.5rem;
  border-radius: 4px;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  transition: all 0.15s;
}

.section-action .page-numbers:hover {
  background: var(--blush);
  color: var(--red);
}

.section-action .page-numbers.current {
  background: var(--red);
  color: var(--offwhite);
}

.section-action .page-numbers.prev,
.section-action .page-numbers.next {
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.contact-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 16px 36px rgba(44, 44, 42, 0.06);
}

#contact-form-panel {
  scroll-margin-top: 8rem;
}

.contact-form > :first-child,
.membership-form-section .section-inner > :first-child {
  margin-top: 0;
}

.contact-form > :last-child,
.membership-form-section .section-inner > :last-child {
  margin-bottom: 0;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--charcoal);
  flex-wrap: wrap;
}

.contact-detail strong {
  color: var(--red);
  font-family: 'Chakra Petch', sans-serif;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  min-width: 80px;
}

/* ── Events page ── */
.events-section {
  padding: 5rem 2rem;
  background: var(--offwhite);
}

.event-card {
  background: white;
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.event-card:hover {
  transform: translateY(-3px);
  border-color: rgba(192, 72, 40, 0.28);
  box-shadow: 0 12px 24px rgba(44, 44, 42, 0.08);
}

.event-card--past:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border);
}

.event-date-box {
  background: var(--red);
  border-radius: 6px;
  text-align: center;
  color: var(--offwhite);
  width: 80px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.event-date-box .month {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.3;
}

.event-date-box .day {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.event-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.event-info p {
  font-size: 0.9rem;
  color: var(--gray);
}

.event-card--past {
  opacity: 0.6;
}

.event-card--past .event-date-box {
  background: var(--gray);
}

.events-past .section-label {
  color: var(--gray);
}

/* ── Resources page ── */
.resources-section {
  padding: 5rem 2rem;
  background: var(--offwhite);
}

.resource-card {
  background: white;
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.resource-card:hover {
  transform: translateY(-3px);
  border-color: rgba(192, 72, 40, 0.28);
  box-shadow: 0 12px 24px rgba(44, 44, 42, 0.08);
}

.resource-card h3 {
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.resource-card p {
  font-size: 0.85rem;
  color: var(--gray);
  margin: 0;
}

.resource-card .btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.resources-content > * + * {
  margin-top: 1rem;
}

.resources-helper {
  color: var(--gray);
  font-size: 0.9rem;
  margin-top: 2rem;
}

.event-info h3 a {
  color: var(--charcoal);
}

.event-info h3 a:hover {
  color: var(--red);
}

/* ── Page hero (reusable) ── */
.page-hero {
  background: var(--charcoal);
  background-image:
    url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.8' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  padding: 4rem 2rem;
  text-align: center;
}

.page-hero h1 {
  color: var(--offwhite);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--border);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.event-meta-hero {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

/* ── Single content (pages & posts) ── */
.single-content {
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.single-content .post-thumbnail {
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
}

.single-content .post-thumbnail img {
  width: 100%;
  height: auto;
}

.single-content .post-nav {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* ── Centered action (news button, pagination) ── */
.section-action {
  text-align: center;
  margin-top: 2.5rem;
}

/* ── Benefits grid (membership page) ── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.benefits-item h3 {
  color: var(--amber);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.benefits-item p,
.benefits-item div {
  color: var(--border);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Membership form intro text ── */
.membership-form-text {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ── Join list (about page) ── */
.join-list {
  line-height: 2;
  color: var(--text-muted);
  padding-left: 1.5rem;
}

/* ── Empty state ── */
.empty-state {
  text-align: center;
  padding: 4rem 0;
}

.empty-state h3,
.empty-state p {
  color: var(--gray);
}

.empty-state--span {
  grid-column: 1 / -1;
}

/* ── 404 page ── */
.error-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.error-content p {
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.error-content .search-form {
  display: flex;
  gap: 0.5rem;
  max-width: 400px;
  margin: 0 auto 2rem;
}

.error-content .search-field {
  flex: 1;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.6rem 0.9rem;
  font-size: 0.95rem;
  color: var(--charcoal);
}

.error-content .search-field:focus {
  border-color: rgba(192, 72, 40, 0.55);
  outline: 3px solid rgba(239, 159, 39, 0.2);
  outline-offset: 0;
}

.error-content .search-submit {
  min-height: 46px;
  padding: 0.6rem 1.2rem;
  border: 2px solid var(--red);
  border-radius: 6px;
  background: var(--red);
  color: var(--offwhite);
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.error-content .search-submit:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.error-home-link {
  margin-top: 1rem;
}

/* ── Search query highlight ── */
.search-query {
  color: var(--border);
}

/* ── Pagination ── */
.pagination-wrapper {
  text-align: center;
  margin-top: 3rem;
}

/* ── Hidden sections ── */
.fffu-section-hidden {
  display: none;
}

.coming-soon {
  text-align: center;
  padding: 5rem 2rem;
  background: var(--offwhite);
}

.coming-soon h2 {
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.coming-soon p {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Footer ── */
.site-footer {
  background: var(--charcoal);
  color: var(--border);
  padding: 3rem 2rem 1.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-brand-mark {
  margin-bottom: 1rem;
}

.footer-brand .custom-logo-link,
.footer-brand .site-logo-link,
.footer-brand .site-logo-text {
  color: var(--offwhite);
}

.footer-brand .custom-logo,
.footer-brand img {
  height: 60px;
  width: auto;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--gray);
}

.footer-col h4 {
  color: var(--offwhite);
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: var(--gray);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--offwhite);
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--text-muted);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--gray);
}

.footer-bottom p {
  margin: 0;
}

.footer-social {
  max-width: 1100px;
  margin: 0 auto 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--text-muted);
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-social-link {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray);
  transition: color 0.2s;
}

.footer-social-link:hover {
  color: var(--offwhite);
}

.footer-acknowledgement {
  max-width: 1100px;
  margin: 0 auto 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(241, 239, 232, 0.08);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-acknowledgement-flags {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.footer-flag {
  display: block;
  width: 28px;
  height: 17px;
  border-radius: 2px;
  flex-shrink: 0;
}

.footer-acknowledgement p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--gray);
  font-style: italic;
}

.footer-newsletter p {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.footer-newsletter .gform_wrapper {
  margin: 0;
}

.footer-newsletter .gfield_label {
  display: none;
}

.footer-newsletter .gform_heading {
  display: none;
}

.footer-newsletter .ginput_container {
  margin: 0;
}

.footer-newsletter input[type="email"],
.footer-newsletter input[type="text"] {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(241, 239, 232, 0.15);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--offwhite);
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
}

.footer-newsletter input[type="email"]:focus,
.footer-newsletter input[type="text"]:focus {
  border-color: var(--amber);
  outline: none;
  background: rgba(255, 255, 255, 0.1);
}

.footer-newsletter input[type="email"]::placeholder,
.footer-newsletter input[type="text"]::placeholder {
  color: var(--gray);
}

.footer-newsletter .gform_footer {
  margin-top: 0.5rem;
  padding: 0;
}

.footer-newsletter input[type="submit"],
.footer-newsletter button {
  width: 100%;
  min-height: 38px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--amber);
  border-radius: 6px;
  background: transparent;
  color: var(--amber);
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s;
}

.footer-newsletter input[type="submit"]:hover,
.footer-newsletter button:hover {
  background: var(--amber);
  color: var(--charcoal);
}

.footer-newsletter .gform_confirmation_message {
  color: var(--teal);
  font-size: 0.85rem;
}

/* ── Shop page ── */
.shop-section {
  padding: 4rem 2rem;
  background: var(--blush);
  text-align: center;
}

.shop-section p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  text-align: left;
}

.product-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(44, 44, 42, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(192, 72, 40, 0.28);
  box-shadow: 0 18px 34px rgba(44, 44, 42, 0.1);
}

.product-card-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: rgba(211, 209, 199, 0.25);
}

.product-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-body {
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-body h3 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
  line-height: 1.25;
}

.product-card-price {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  color: var(--red);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.product-card-desc {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.4;
  margin-bottom: 0.35rem;
}

.product-card-cause {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.product-card .btn {
  margin-top: auto;
  text-align: center;
}

.product-card-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.product-sizes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.product-sizes-label {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray);
  width: 100%;
  margin-bottom: 0.1rem;
}

.product-size-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0.3rem 0.45rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--charcoal);
  background: white;
  text-decoration: none;
  transition: all 0.15s;
  flex: 1 1 auto;
  text-align: center;
}

.product-size-chip:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--offwhite);
}

/* Card selected state */
.product-card.is-in-cart {
  border-color: var(--red);
  box-shadow: 0 0 0 2px var(--red), 0 18px 34px rgba(44, 44, 42, 0.1);
}

.product-card {
  position: relative;
}

/* Badge container + individual tags */
.product-card-badges {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: flex-end;
  max-width: 70%;
}

.product-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--red);
  color: var(--offwhite);
  border-radius: 999px;
  padding: 0.2rem 0.35rem 0.2rem 0.6rem;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.product-card-badge-label {
  white-space: nowrap;
}

.product-card-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--offwhite);
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.product-card-remove:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Size chip selected state */
.product-size-chip.is-selected {
  background: var(--red);
  border-color: var(--red);
  color: var(--offwhite);
}

/* Add button disabled state */
.product-add-btn[disabled] {
  opacity: 0.4;
  cursor: default;
}

.product-add-btn.is-active {
  opacity: 1;
  cursor: pointer;
}

/* Nudge animation for "pick a size" */
@keyframes fffu-nudge {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}

.product-sizes.is-nudge {
  animation: fffu-nudge 0.4s ease;
}

/* Sticky order bar */
.shop-order-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--charcoal);
  box-shadow: 0 -4px 20px rgba(21, 21, 20, 0.25);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.shop-order-bar.is-visible {
  transform: translateY(0);
}

body.admin-bar .shop-order-bar {
  bottom: 0;
}

.shop-order-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.shop-order-bar-info {
  color: var(--offwhite);
  font-size: 0.95rem;
  min-width: 0;
}

.shop-order-bar-info strong {
  font-family: 'Chakra Petch', sans-serif;
  margin-right: 0.5rem;
}

.shop-order-bar-items {
  color: var(--gray);
  font-size: 0.85rem;
}

.shop-order-bar-btn {
  flex-shrink: 0;
  padding: 0.7rem 1.5rem;
  font-size: 0.85rem;
}

@media (max-width: 540px) {
  .shop-order-bar-inner {
    padding: 0.75rem 1rem;
  }

  .shop-order-bar-items {
    display: none;
  }
}

.shop-form-section {
  padding: 4rem 2rem;
  background: var(--offwhite);
}

#shop-form {
  scroll-margin-top: 8rem;
}

.shop-form-section .section-inner {
  max-width: 760px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  box-shadow: 0 16px 36px rgba(44, 44, 42, 0.06);
}

.shop-form-section .section-inner > :first-child {
  margin-top: 0;
}

.shop-form-section .section-inner > :last-child {
  margin-bottom: 0;
}

.shop-form-text {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* GF product field styling for shop */
.shop-form-section .gfield--type-product .ginput_container_singleproduct {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
}

.shop-form-section .gfield--type-product .ginput_product_price {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  color: var(--red);
  font-size: 1.2rem;
}

.shop-form-section .gfield--type-total .ginput_container {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red);
  padding: 1rem;
  background: var(--blush);
  border-radius: 10px;
  text-align: center;
}

/* ── Membership page ── */
.membership-hero {
  background: var(--charcoal);
  padding: 5rem 2rem;
  text-align: center;
}

.membership-hero h1 {
  color: var(--offwhite);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.membership-hero p {
  color: var(--border);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.membership-types {
  background: var(--blush);
  padding: 4rem 2rem;
}

.membership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 2.5rem auto 0;
}

.membership-card {
  position: relative;
  background: white;
  border-radius: 16px;
  border: 2px solid var(--border);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 30px rgba(44, 44, 42, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: visible;
}

.membership-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(44, 44, 42, 0.1);
}

.membership-card.featured {
  border: 2px solid var(--red);
  background: linear-gradient(180deg, rgba(250, 236, 231, 0.5) 0%, #ffffff 40%);
  box-shadow: 0 12px 36px rgba(179, 61, 34, 0.12);
}

.membership-card.featured::before {
  content: attr(data-badge);
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--offwhite);
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.membership-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--charcoal);
}

.membership-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--red);
  font-family: 'Chakra Petch', sans-serif;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.membership-card .price span {
  display: block;
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 400;
  margin-top: 0.2rem;
}

.membership-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.membership-card-divider {
  width: 3rem;
  height: 2px;
  background: var(--border);
  margin: 0 auto 1.25rem;
}

.membership-card.featured .membership-card-divider {
  background: var(--red);
  opacity: 0.3;
}

.membership-highlights {
  list-style: none;
  text-align: left;
  margin: 0 0 1.75rem;
  padding: 0;
  color: var(--charcoal);
}

.membership-highlights li {
  position: relative;
  margin-bottom: 0.65rem;
  padding-left: 1.6rem;
  line-height: 1.5;
  font-size: 0.92rem;
}

.membership-highlights li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.9rem;
}

.membership-card .btn {
  margin-top: auto;
  width: 100%;
}

.membership-card.featured .btn {
  background: var(--red);
  border-color: var(--red);
  color: var(--offwhite);
}

.membership-card:not(.featured) .btn {
  background: transparent;
  border: 2px solid var(--charcoal);
  color: var(--charcoal);
}

.membership-card:not(.featured) .btn:hover {
  background: var(--charcoal);
  color: var(--offwhite);
}

.membership-card.donation {
  border: 2px solid var(--amber);
  background: linear-gradient(180deg, rgba(255, 193, 7, 0.08) 0%, #ffffff 40%);
}

.membership-card.donation .price {
  color: var(--amber);
}

.membership-card.donation .membership-card-divider {
  background: var(--amber);
  opacity: 0.3;
}

.membership-card.donation .btn {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--charcoal);
}

.membership-card.donation .btn:hover {
  background: #e6a800;
  border-color: #e6a800;
}

.membership-note {
  margin: 2rem auto 0;
  max-width: 780px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.membership-note strong {
  color: var(--red-dark);
}

.membership-form-section {
  padding: 4rem 2rem;
  background: var(--offwhite);
}

#membership-form {
  scroll-margin-top: 8rem;
}

.membership-form-section .section-inner {
  max-width: 760px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  box-shadow: 0 16px 36px rgba(44, 44, 42, 0.06);
}

.membership-form-section.has-confirmation .membership-form-intro {
  display: none;
}

.membership-form-section.is-page-advanced .membership-form-intro {
  display: none;
}

/* ── Shared Gravity Forms styling ── */
.fffu-gf .gform_wrapper { margin: 0; }

.fffu-gf .gform_confirmation_wrapper {
  position: relative;
  margin: 0;
  padding: 1.4rem 1.5rem 1.4rem 4.6rem;
  border: 1px solid rgba(15, 110, 86, 0.18);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15, 110, 86, 0.12) 0%, rgba(255, 255, 255, 0.97) 58%), #f9fdfb;
  box-shadow: 0 18px 36px rgba(44, 44, 42, 0.08);
  color: var(--charcoal);
}

.fffu-gf .gform_confirmation_wrapper::before {
  content: "\2713";
  position: absolute;
  top: 1.35rem;
  left: 1.35rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--teal);
  color: var(--offwhite);
  font-family: 'Chakra Petch', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.fffu-gf .gform_confirmation_message { margin: 0; color: var(--charcoal); font-size: 1rem; line-height: 1.75; }
.fffu-gf .gform_confirmation_message strong { color: var(--teal); }
.fffu-gf .gform_confirmation_message a { color: var(--teal); font-weight: 700; }
.fffu-gf .gform_heading { margin-bottom: 1.5rem; }
.fffu-gf .gform_title { margin-bottom: 0.5rem; font-size: clamp(1.55rem, 2.4vw, 2rem); }
.fffu-gf .gform_description { color: var(--text-muted); line-height: 1.7; }

.fffu-gf :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), textarea, select) {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fcfbf7;
  color: var(--charcoal);
  padding: 0.8rem 0.95rem;
  line-height: 1.35;
  box-shadow: none;
}

.fffu-gf textarea { min-height: 140px; }

.fffu-gf :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), textarea, select):focus {
  border-color: rgba(192, 72, 40, 0.55);
  outline: 3px solid rgba(239, 159, 39, 0.2);
  outline-offset: 0;
  background: white;
}

.fffu-gf .gfield_label { margin-bottom: 0.45rem; color: var(--charcoal); font-weight: 700; }
.fffu-gf .ginput_container_select select option { color: var(--charcoal); background: white; }
.fffu-gf .ginput_container_select select { appearance: auto; padding-top: 0.7rem; padding-bottom: 0.7rem; }

.fffu-gf .chosen-container-single .chosen-single,
.fffu-gf .select2-container--default .select2-selection--single {
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fcfbf7;
  color: var(--charcoal);
  box-shadow: none;
}

.fffu-gf .chosen-container-single .chosen-single { display: flex; align-items: center; padding: 0 2.5rem 0 0.95rem; }
.fffu-gf .select2-container--default .select2-selection--single { display: flex; align-items: center; padding-right: 2.5rem; }

.fffu-gf .chosen-container-single .chosen-single span,
.fffu-gf .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--charcoal);
  display: block;
  line-height: 1.35;
  white-space: nowrap;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.fffu-gf .select2-container--default .select2-selection--single .select2-selection__rendered { padding-left: 0.95rem; padding-right: 0; }

.fffu-gf .chosen-container-single .chosen-default span,
.fffu-gf .select2-container--default .select2-selection--single .select2-selection__placeholder { color: var(--gray); }

.fffu-gf .chosen-container-single .chosen-drop,
.fffu-gf .select2-dropdown {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
  color: var(--charcoal);
  box-shadow: 0 16px 36px rgba(44, 44, 42, 0.08);
}

.fffu-gf .chosen-container .chosen-results li,
.fffu-gf .select2-results__option { color: var(--charcoal); }

.fffu-gf .chosen-container .chosen-results li.highlighted,
.fffu-gf .select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--red); color: var(--offwhite); }

.fffu-gf .gform_footer { margin-top: 1.75rem; padding-bottom: 0; }

.fffu-gf :is(button, .gform_button, input[type="submit"]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.9rem 1.6rem;
  border: 2px solid var(--red);
  border-radius: 4px;
  background: var(--red);
  color: var(--offwhite);
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.fffu-gf :is(button, .gform_button, input[type="submit"]):hover { background: var(--red-dark); border-color: var(--red-dark); }

/* ── Responsive adjustments ── */
@media (max-width: 1024px) {
  .site-header {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .site-nav ul,
  .site-nav-list {
    gap: 1rem;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 960px) {
  .site-header {
    flex-wrap: wrap;
    align-items: center;
    padding: 0.85rem 1rem;
    gap: 0.85rem;
  }

  .site-logo {
    flex: 1 1 auto;
  }

  .site-logo .custom-logo,
  .site-logo img {
    height: 44px;
  }

  .site-nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    width: 100%;
    margin-left: 0;
  }

  .fffu-js .site-nav {
    display: none;
  }

  .fffu-js .site-header.is-nav-open .site-nav {
    display: block;
  }

  .site-nav ul,
  .site-nav-list,
  .site-nav div > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin-top: 0.25rem;
    padding: 0.4rem 0;
    border-top: 1px solid rgba(241, 239, 232, 0.12);
  }

  .site-nav li,
  .site-nav div > ul > li {
    border-bottom: 1px solid rgba(241, 239, 232, 0.1);
  }

  .site-nav li:last-child,
  .site-nav div > ul > li:last-child {
    border-bottom: 0;
  }

  .site-nav a {
    display: block;
    padding: 0.9rem 0;
    font-size: 0.92rem;
  }

  .hero {
    min-height: clamp(29rem, 70vh, 36rem);
  }

  .hero-content {
    max-width: 680px;
    padding: 2.25rem 1rem;
  }

  .section,
  .about-hero,
  .about-content,
  .contact-section,
  .events-section,
  .resources-section,
  .page-hero,
  .membership-hero,
  .membership-types,
  .membership-form-section,
  .shop-section,
  .shop-form-section,
  .testimonial-section,
  .gallery-instagram,
  .press-section,
  .cta-banner,
  .site-footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .resource-card {
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn,
  .cta-banner .btn-outline {
    width: 100%;
  }

  .event-card {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }

  .event-date-box {
    width: 72px;
    height: 72px;
  }

  .event-date-box .day {
    font-size: 1.5rem;
  }

  .resource-card {
    flex-direction: column;
  }

  .resource-card .btn {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .membership-card {
    padding: 1.5rem;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .product-card-body h3 {
    font-size: 0.95rem;
  }

  .product-card-price {
    font-size: 1rem;
  }

  .product-card-desc {
    font-size: 0.82rem;
  }

  .product-add-btn {
    width: 100%;
    font-size: 0.82rem;
    padding: 0.7rem 1rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 540px) {
  .membership-grid {
    grid-template-columns: 1fr;
  }

  .fffu-gf .gform_confirmation_wrapper {
    padding: 1.15rem 1.15rem 1.15rem 4rem;
  }

  .fffu-gf .gform_confirmation_wrapper::before {
    top: 1.05rem;
    left: 1.05rem;
  }

  .site-header {
    justify-content: flex-start;
    gap: 0.75rem;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .site-logo {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    line-height: 0;
  }

  .site-logo .custom-logo-link,
  .site-logo .site-logo-link {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    line-height: 0;
  }

  .site-logo .custom-logo,
  .site-logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
  }

  .site-nav-toggle {
    width: auto;
    margin-left: 0;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.55rem;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
    text-align: left;
  }

  .site-nav-toggle__label {
    display: inline-flex;
    align-items: center;
    text-align: right;
    order: 1;
    line-height: 1;
    transform: none;
  }

  .site-nav-toggle__icon {
    order: 2;
    margin-left: 0;
    margin-top: 0;
  }

  .site-nav {
    order: 3;
    flex-basis: 100%;
  }

  .hero {
    min-height: clamp(25rem, 64vh, 31rem);
  }

  .hero-content {
    padding: 1.5rem 0.5rem;
  }

  .hero-content p,
  .membership-hero p,
  .page-hero p {
    font-size: 1rem;
  }

  .section,
  .about-hero,
  .about-content,
  .contact-section,
  .events-section,
  .resources-section,
  .page-hero,
  .membership-hero,
  .membership-types,
  .membership-form-section,
  .shop-section,
  .shop-form-section,
  .testimonial-section,
  .gallery-instagram,
  .cta-banner,
  .site-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .testimonial {
    padding-left: 1.5rem;
  }

  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .contact-detail strong {
    min-width: 0;
    width: 100%;
  }

  .footer-bottom {
    font-size: 0.8rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card-media {
    aspect-ratio: 3 / 2;
  }

  .product-card-body {
    padding: 0.75rem;
  }

  .product-sizes {
    gap: 0.25rem;
  }

  .product-size-chip {
    padding: 0.25rem 0.35rem;
    font-size: 0.68rem;
  }

  .product-card-badges {
    max-width: 80%;
  }

  .product-card-badge {
    font-size: 0.65rem;
    padding: 0.15rem 0.3rem 0.15rem 0.5rem;
  }

  .product-card-remove {
    width: 1.1rem;
    height: 1.1rem;
    font-size: 0.8rem;
  }

  .shop-order-bar-inner {
    padding: 0.7rem 1rem;
    gap: 0.75rem;
  }

  .shop-order-bar-info {
    font-size: 0.85rem;
  }

  .shop-order-bar-items {
    display: none;
  }

  .shop-order-bar-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }

  .event-meta-hero {
    font-size: 0.85rem;
  }

  .membership-card.featured::before {
    font-size: 0.62rem;
    padding: 0.25rem 0.8rem;
  }

  .membership-card .price {
    font-size: 2rem;
  }

  .membership-card .price span {
    font-size: 0.8rem;
  }

  .error-content p {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-nav-toggle,
  .skip-link,
  .shop-order-bar,
  .cta-banner,
  .site-footer,
  .hero-buttons,
  .hero-help-link,
  .btn,
  .post-nav,
  .gallery-more {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 12pt;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .hero-media,
  .hero-bg,
  .hero-bg--fallback {
    display: none;
  }

  .hero-content {
    position: static;
    color: black;
  }

  .hero-content h1 {
    color: black;
    font-size: 24pt;
  }

  .hero-content p {
    color: #333;
  }

  .section,
  .page-hero,
  .membership-hero,
  .events-section,
  .resources-section,
  .shop-section,
  .testimonial-section {
    padding: 1rem 0;
  }

  .page-hero {
    background: none;
  }

  .page-hero h1 {
    color: black;
  }

  a {
    color: black;
    text-decoration: underline;
  }

  img {
    max-width: 100%;
  }

  .product-grid,
  .news-grid,
  .membership-grid {
    gap: 1rem;
  }
}
