/*
Theme Name:  Ogodogodo Heritage Hub
Theme URI:   https://ogodo-heritage-hub.com
Author:      Ogodogodo Heritage Hub
Author URI:  https://ogodo-heritage-hub.com
Description: A cultural heritage theme for the Igede people of Benue State, Nigeria. Preserving the story of the Ogodogodo textile.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ogodogodo
Tags:        cultural, heritage, one-column, two-columns, custom-menu, featured-images, translation-ready
*/

/* ============================================================
   Ogodogodo Heritage Hub — WordPress Theme Stylesheet
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:   #02101e;
  --cream:  #d6a568;
  --black:  #1A1A1A;
  --white:  lch(66.32% 3.86 19.64);
  --grey:   #9a6969;
  --gold:   #C9960C;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--cream);
  color: var(--black);
  font-size: 16px;
  line-height: 1.7;
}

h1, h2, h3, h4 { font-family: 'Vollkorn', serif; }

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

a { color: inherit; text-decoration: none; }

/* ── FABRIC STRIPE MOTIF ──────────────────────────────────── */
.fabric-dot {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(90deg, #0A2540 33%, #D2B48C 33%, #D2B48C 66%, #1A1A1A 66%);
  flex-shrink: 0;
}

/* ── HEADER / NAV ─────────────────────────────────────────── */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid rgba(10,37,64,0.1);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo span,
.site-logo a {
  font-family: 'Vollkorn', serif;
  font-size: 1.35rem;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

/* ── WORDPRESS PRIMARY NAV ────────────────────────────────── */
.site-nav,
#primary-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  list-style: none;
  font-size: 0.88rem;
  font-weight: 500;
  margin: 0;
  padding: 0;
}

.site-nav a,
#primary-menu a {
  color: var(--black);
  transition: color 0.2s;
  padding: 0.2rem 0;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.current-menu-item,
#primary-menu a:hover,
#primary-menu .current-menu-item > a,
#primary-menu .current_page_item > a {
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
}

/* WordPress dropdown menus */
.site-nav .sub-menu,
#primary-menu .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: var(--white);
  border: 1px solid rgba(4,23,42,0.12);
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  min-width: 200px;
  list-style: none;
  z-index: 200;
  padding: 0.4rem 0;
}

.site-nav .menu-item-has-children,
#primary-menu .menu-item-has-children {
  position: relative;
}

.site-nav .menu-item-has-children > a::after,
#primary-menu .menu-item-has-children > a::after {
  content: '▾';
  font-size: 0.75rem;
  margin-left: 0.25rem;
}

.site-nav .menu-item-has-children:hover .sub-menu,
#primary-menu .menu-item-has-children:hover .sub-menu,
.site-nav .menu-item-has-children:focus-within .sub-menu,
#primary-menu .menu-item-has-children:focus-within .sub-menu {
  display: block;
}

.site-nav .sub-menu a,
#primary-menu .sub-menu a {
  display: block;
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
  color: var(--black);
  white-space: nowrap;
  border-bottom: none;
}

.site-nav .sub-menu a:hover,
#primary-menu .sub-menu a:hover {
  background: var(--cream);
  color: var(--blue);
  border-bottom: none;
}

/* ── PAGE HERO BANNER ─────────────────────────────────────── */
.page-hero {
  background: var(--blue);
  color: var(--white);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
}

/* ── HERO (homepage) ─────────────────────────────────────── */
.hero {
  background-image: url("images/ogodo-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
}

.hero-content h2 {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.hero-content > p {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero-tagline { margin-top: 2.5rem; font-size: 0.8rem; opacity: 0.7; letter-spacing: 0.05em; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Vollkorn', serif;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}

.btn-primary { background: var(--blue); color: var(--white); border: 2px solid var(--blue); }
.btn-primary:hover { background: #0d3060; border-color: #0d3060; }

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

.btn-white { background: var(--white); color: var(--blue); border: 2px solid var(--white); }
.btn-white:hover { background: var(--cream); }

.hero .btn-primary { background: var(--gold); color: var(--black); border-color: var(--gold); }
.hero .btn-primary:hover { background: #a87a08; border-color: #a87a08; }
.hero .btn-outline { background: var(--gold); color: var(--black); border-color: var(--gold); }
.hero .btn-outline:hover { background: #a87a08; border-color: #a87a08; }

/* ── SECTIONS ────────────────────────────────────────────── */
.section     { padding: 5rem 1.5rem; }
.section-alt { background: var(--blue); color: var(--white); }
.section-light { background: var(--white); }

.container { max-width: 1200px; margin: 0 auto; }
.container-narrow { max-width: 780px; margin: 0 auto; }
.text-center { text-align: center; }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: var(--blue);
}
.section-alt .section-title { color: var(--white); }
.section-title-center { text-align: center; }

.section-title-accent { position: relative; display: inline-block; }
.section-title-accent::after {
  content: '';
  display: block;
  width: 3.5rem;
  height: 3px;
  background: var(--blue);
  margin-top: 0.5rem;
}
.section-alt .section-title-accent::after { background: var(--white); }

/* ── TWO-COLUMN SPLIT ─────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split img {
  border-radius: 1.5rem;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  object-fit: cover;
  height: 720px;
}

.split-text { display: flex; flex-direction: column; gap: 1.2rem; }
.split-text p { font-size: 1.05rem; line-height: 1.85; }

/* ── TEXT LINK ───────────────────────────────────────────── */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--blue);
  font-weight: 600;
  font-size: 1rem;
  transition: gap 0.2s;
}
.text-link:hover { gap: 0.75rem; }
.section-alt .text-link { color: var(--white); }

/* ── CARD GRID ───────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

/* ── COMMUNITY GALLERY GRID (user submissions) ───────────── */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.community-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.community-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.14);
}

.community-card img,
.community-card video {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.community-card-body { padding: 1.25rem; }
.community-card-body h4 { font-size: 1rem; margin-bottom: 0.4rem; color: var(--blue); }
.community-card-body p  { font-size: 0.9rem; color: #555; line-height: 1.6; }
.community-card-meta {
  font-size: 0.78rem;
  color: var(--grey);
  margin-top: 0.75rem;
  display: flex;
  gap: 1rem;
}

/* ── COLOR CARDS ─────────────────────────────────────────── */
.color-card {
  background: var(--white);
  border-radius: 1.2rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  text-align: center;
}

.color-card h2 { font-size: 1.4rem; margin: 1rem 0 0.75rem; color: var(--blue); }
.color-card p  { font-size: 0.97rem; color: #444; line-height: 1.75; }

.color-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto;
}

.color-icon-blue  { background: #0A2540; }
.color-icon-white { background: #f4ede3; border: 2px solid #ddd; }
.color-icon-black { background: #1A1A1A; }

/* ── SYMBOL CARDS ────────────────────────────────────────── */
.symbol-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.symbol-card h3 { font-size: 1.2rem; margin: 1rem 0 0.6rem; color: var(--blue); }
.symbol-card p  { font-size: 0.92rem; color: #555; }

.symbol-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto;
}

.symbol-icon-blue  { background: #0A2540; }
.symbol-icon-white { background: #f4ede3; border: 2px solid #ddd; }
.symbol-icon-black { background: #1A1A1A; }

/* ── WEAVER / EVENT CARDS ────────────────────────────────── */
.weaver-card, .event-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

.weaver-card img, .event-card img {
  height: 220px;
  object-fit: cover;
}

.weaver-card-body, .event-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ── WEAVER CARD: extra-photos strip ─────────────────────── 
   Add as many <img> tags as you like inside .weaver-card-gallery;
   they wrap automatically and stay a consistent thumbnail size. */
.weaver-card-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  padding: 0 1.5rem 1.5rem;
}

.weaver-card-gallery img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 0.4rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.weaver-card-gallery img:hover {
  opacity: 0.85;
  transform: scale(1.03);
}

.weaver-card-body h4, .event-card-body h3 {
  font-size: 1.05rem;
  color: var(--blue);
}

.event-date {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--grey);
}

/* ── CTA BANNER ──────────────────────────────────────────── */
.cta-banner {
  background: var(--blue);
  color: var(--white);
  border-radius: 1.5rem;
  padding: 3.5rem;
}

.cta-banner h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 1rem; }
.cta-banner p  { font-size: 1.05rem; opacity: 0.9; }
.cta-banner .split { gap: 3rem; }
.cta-banner .split-text { gap: 1.5rem; }
.cta-banner img { border-radius: 1rem; height: 320px; }

/* ── FORMS ───────────────────────────────────────────────── */
.form-card {
  background: var(--white);
  border-radius: 1.2rem;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 1rem;
  border: 1.5px solid #ddd;
  border-radius: 0.6rem;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.97rem;
  color: var(--black);
  background: #faf9f7;
  transition: border-color 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  outline: none;
  background: #fff;
}

.form-group textarea { min-height: 160px; resize: vertical; }

/* Form status messages */
.form-success {
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  padding: 1rem 1.25rem;
  border-radius: 0.6rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  display: none;
}

.form-error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  padding: 1rem 1.25rem;
  border-radius: 0.6rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  display: none;
}

/* ── PHOTO UPLOAD DROPZONE (instant local preview) ────────── */
.upload-dropzone {
  position: relative;
  border: 2px dashed #ccc;
  border-radius: 0.8rem;
  background: #faf9f7;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}

.upload-dropzone-active {
  border-color: var(--blue);
  background: #f0f4f8;
}

.upload-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; }

.upload-dropzone-prompt p {
  font-size: 0.92rem;
  color: #555;
  margin-top: 0.4rem;
}

.upload-hint { font-size: 0.8rem; color: var(--grey); margin-top: 0.3rem !important; }

.upload-preview { position: relative; z-index: 1; }

.upload-preview img {
  max-width: 100%;
  max-height: 260px;
  border-radius: 0.6rem;
  display: block;
  margin: 0 auto 0.75rem;
  object-fit: cover;
}

.upload-remove {
  background: none;
  border: 1.5px solid #ccc;
  border-radius: 0.5rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  color: #991b1b;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.upload-remove:hover { background: #fee2e2; border-color: #fca5a5; }

.upload-note {
  font-size: 0.8rem;
  color: var(--grey);
  margin-top: 0.5rem !important;
}

/* ── MINI UPLOAD CARD (inline on story.html community grid) ── */
.mini-upload-card {
  background: #faf9f7;
  border: 2px dashed #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-upload-inner { padding: 1.5rem; width: 100%; }

.upload-dropzone-mini {
  padding: 1.5rem 1rem;
}

.upload-dropzone-mini .upload-icon { font-size: 1.6rem; }

.upload-dropzone-mini .upload-preview img {
  max-height: 160px;
}

.mini-upload-card .form-success,
.mini-upload-card .form-error {
  font-size: 0.85rem;
  padding: 0.75rem 1rem;
}

/* ── CONTACT INFO ────────────────────────────────────────── */
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 0.1rem; }
.contact-item h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); font-weight: 700; margin-bottom: 0.2rem; }
.contact-item p  { font-size: 0.95rem; color: #444; }

/* ── WEAVING STEPS ───────────────────────────────────────── */
.step-list { display: flex; flex-direction: column; gap: 2.5rem; }

.step {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.5rem;
  align-items: start;
}

.step-number {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Vollkorn', serif;
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-body h3 { font-size: 1.2rem; color: var(--blue); margin-bottom: 0.5rem; }
.step-body p  { font-size: 0.97rem; color: #444; line-height: 1.75; }

/* ── VOCAB TABLE ─────────────────────────────────────────── */
.vocab-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.vocab-table th {
  background: var(--blue);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.vocab-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.vocab-table tr:nth-child(even) td { background: rgba(214,165,104,0.1); }
.vocab-table tr:hover td { background: rgba(214,165,104,0.2); }

/* ── PATTERN GRID ────────────────────────────────────────── */
.pattern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
  max-width: 1200px;
}

.pattern-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.pattern-display { width: 100%; height: 300px; position: relative; }
.pattern-label { padding: 1.5rem; background: white; color: #111827; text-align: center; }
.pattern-label h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.pattern-label p  { font-size: 0.875rem; color: #6b7280; }

/* Fabric patterns */
.horizontal-stripes { background: repeating-linear-gradient(0deg,#000 0,#000 40px,#fff 40px,#fff 80px,#2563eb 80px,#2563eb 120px,#fff 120px,#fff 160px); }
.vertical-stripes   { background: repeating-linear-gradient(90deg,#000 0,#000 30px,#fff 30px,#fff 60px,#2563eb 60px,#2563eb 90px); }
.thick-thin         { background: repeating-linear-gradient(0deg,#000 0,#000 60px,#fff 60px,#fff 70px,#2563eb 70px,#2563eb 130px,#fff 130px,#fff 140px); }
.alternating-wide   { background: repeating-linear-gradient(0deg,#000 0,#000 80px,#2563eb 80px,#2563eb 160px,#fff 160px,#fff 240px); }
.narrow-stripes     { background: repeating-linear-gradient(0deg,#000 0,#000 15px,#fff 15px,#fff 30px,#2563eb 30px,#2563eb 45px); }
.complex-weave      { background: repeating-linear-gradient(0deg,#000 0,#000 25px,#fff 25px,#fff 35px,#2563eb 35px,#2563eb 45px,#fff 45px,#fff 55px,#000 55px,#000 80px,#2563eb 80px,#2563eb 105px,#fff 105px,#fff 115px); }
.vertical-thick-thin{ background: repeating-linear-gradient(90deg,#000 0,#000 50px,#fff 50px,#fff 60px,#2563eb 60px,#2563eb 110px,#fff 110px,#fff 120px); }
.checkered          { background: repeating-linear-gradient(0deg,#000 0,#000 50px,transparent 50px,transparent 100px),repeating-linear-gradient(90deg,#2563eb 0,#2563eb 50px,#fff 50px,#fff 100px); }
.diagonal-stripes   { background: repeating-linear-gradient(45deg,#000 0,#000 30px,#fff 30px,#fff 60px,#2563eb 60px,#2563eb 90px); }

.pattern-display::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg,transparent 0,transparent 2px,rgba(255,255,255,.03) 2px,rgba(255,255,255,.03) 3px),
    repeating-linear-gradient(0deg,transparent 0,transparent 2px,rgba(0,0,0,.05) 2px,rgba(0,0,0,.05) 3px);
  pointer-events: none;
}

/* ── COLOUR KEY ──────────────────────────────────────────── */
.color-key { background: white; border-radius: 1rem; padding: 2rem; margin: 3rem 1.5rem; }
.color-key h2 { text-align: center; margin-bottom: 1.5rem; }
.colors { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.color-item { text-align: center; }
.color-box { width: 100px; height: 100px; border-radius: 0.5rem; margin-bottom: 0.5rem; border: 3px solid #e5e7eb; }
.color-name { font-weight: bold; margin-bottom: 0.25rem; }
.color-meaning { font-size: 0.875rem; color: #6b7280; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 3.5rem 1.5rem 2rem;
  margin-top: auto;
}

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

.footer-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.footer-brand span { font-family: 'Vollkorn', serif; font-size: 1.1rem; font-weight: 700; }
.footer-tagline { font-size: 0.88rem; opacity: 0.6; }

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; padding: 0; margin: 0; }
.footer-links a { font-size: 0.9rem; opacity: 0.7; transition: opacity 0.2s; }
.footer-links a:hover { opacity: 1; }

.footer-social-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.5; margin-bottom: 0.75rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { font-size: 1.4rem; opacity: 0.7; transition: opacity 0.2s; }
.footer-social a:hover { opacity: 1; }

.footer-copy {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: 0.78rem;
  opacity: 0.5;
}

/* ── WordPress-specific helpers ───────────────────────────── */
.wp-caption { max-width: 100%; }
.wp-caption img { border-radius: 0.5rem; }
.aligncenter { display: block; margin: 0 auto; }
.alignleft   { float: left; margin: 0 1.5rem 1rem 0; }
.alignright  { float: right; margin: 0 0 1rem 1.5rem; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .split          { grid-template-columns: 1fr; gap: 2rem; }
  .split img      { height: 260px; }
  .form-row       { grid-template-columns: 1fr; }
  .footer-inner   { grid-template-columns: 1fr; gap: 2rem; }
  .site-nav,
  #primary-menu   { gap: 0.25rem 1rem; }
  .step           { grid-template-columns: 2.8rem 1fr; gap: 1rem; }
  .community-grid { grid-template-columns: 1fr; }
  .sub-menu       { position: static !important; box-shadow: none !important; border: none !important; background: transparent !important; padding: 0 0 0 1rem !important; }
}



    /* ── Form feedback messages ── */
    .form-success {
      background: #d1fae5;
      border: 1px solid #6ee7b7;
      color: #065f46;
      padding: 1rem 1.25rem;
      border-radius: 0.6rem;
      margin-bottom: 1.5rem;
      font-size: 0.95rem;
      display: none;
    }
    .form-error {
      background: #fee2e2;
      border: 1px solid #fca5a5;
      color: #991b1b;
      padding: 1rem 1.25rem;
      border-radius: 0.6rem;
      margin-bottom: 1.5rem;
      font-size: 0.95rem;
      display: none;
    }
    .btn[disabled] { opacity: 0.6; cursor: not-allowed; }
  