/*
Theme Name: Strong Towns Somerville
Theme URI: https://strongtownssomerville.org
Author: Strong Towns Somerville
Author URI: https://strongtownssomerville.org
Description: Official theme for Strong Towns Somerville. Navy and gold editorial design with support for blog, events, projects, and members.
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: strong-towns-somerville
Tags: custom-colors, custom-logo, custom-menu, featured-images, full-width-template, blog
*/

/* ─────────────────────────────────────
   CSS VARIABLES
───────────────────────────────────── */
:root {
  --navy:       #1a2644;
  --navy-dark:  #111b33;
  --navy-mid:   #243058;
  --gold:       #f0a830;
  --gold-light: #f5c060;
  --gold-pale:  #fdf3dc;
  --white:      #ffffff;
  --text:       #1a2644;
  --muted:      #5a6a8a;
  --border:     rgba(240,168,48,0.25);
  --radius:     0px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

/* ─────────────────────────────────────
   TYPOGRAPHY
───────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; color: var(--muted); line-height: 1.8; }
p:last-child { margin-bottom: 0; }

/* ─────────────────────────────────────
   LAYOUT UTILITIES
───────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 5rem 0; }
.section-alt { background: var(--gold-pale); }
.section-dark { background: var(--navy); }
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.7); }

.section-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.divider {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 1rem 0 2rem;
}

/* ─────────────────────────────────────
   BUTTONS
───────────────────────────────────── */
.btn,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary,
input[type="submit"],
button[type="submit"] {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-primary:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
  background: var(--gold-light);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240,168,48,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* ─────────────────────────────────────
   NAVIGATION
───────────────────────────────────── */
#masthead {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(26, 38, 68, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}
.site-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.site-branding img,
.custom-logo {
  height: 44px !important;
  width: auto;
}
.site-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
  margin: 0;
}
.site-title a { color: var(--gold); }
.site-description {
  font-size: 0.62rem;
  color: rgba(240,168,48,0.65);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
}

/* Primary nav */
#primary-navigation { display: flex; align-items: center; }
#primary-navigation ul {
  display: flex;
  list-style: none;
  margin: 0; padding: 0;
}
#primary-navigation ul li a {
  display: flex;
  align-items: center;
  height: 70px;
  padding: 0 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
#primary-navigation ul li a:hover,
#primary-navigation ul li.current-menu-item a,
#primary-navigation ul li.current_page_item a {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
/* Dropdown */
#primary-navigation ul ul {
  display: none;
  position: absolute;
  background: var(--navy-dark);
  min-width: 180px;
  flex-direction: column;
  border-top: 2px solid var(--gold);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
#primary-navigation ul li { position: relative; }
#primary-navigation ul li:hover > ul { display: flex; }
#primary-navigation ul ul li a {
  height: auto;
  padding: 0.75rem 1.25rem;
  border-bottom: none;
  border-left: 2px solid transparent;
}
#primary-navigation ul ul li a:hover { border-left-color: var(--gold); }

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  font-size: 1.1rem;
}

/* ─────────────────────────────────────
   HERO (front page)
───────────────────────────────────── */
.hero-section {
  min-height: calc(100vh - 70px);
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: slowZoom 18s ease-in-out infinite alternate;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,27,51,0.5) 0%, rgba(17,27,51,0.85) 100%);
}
@keyframes slowZoom {
  from { transform: scale(1.0); }
  to   { transform: scale(1.08); }
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  animation: fadeUp 1s ease-out both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-logo { width: 110px; margin: 0 auto 1.75rem; }
.hero-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.25rem;
}
.hero-title em { color: var(--gold); font-style: normal; }
.hero-subtitle {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(240,168,48,0.5), transparent);
}

/* ─────────────────────────────────────
   PAGE HERO (inner pages)
───────────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(240,168,48,0.07) 0%, transparent 70%);
}
.page-hero h1 { color: var(--white); position: relative; }
.page-hero .page-hero-sub {
  font-family: 'Source Serif 4', serif;
  font-weight: 300;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin: 1rem auto 0;
  line-height: 1.8;
  position: relative;
}

/* ─────────────────────────────────────
   BLOG / ARCHIVE
───────────────────────────────────── */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.post-card {
  border: 1px solid rgba(26,38,68,0.1);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  background: var(--white);
}
.post-card:hover {
  box-shadow: 0 16px 48px rgba(26,38,68,0.12);
  transform: translateY(-4px);
}
.post-card .post-thumbnail {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--navy);
}
.post-card .post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.post-card:hover .post-thumbnail img { transform: scale(1.05); }
.post-card .post-thumbnail-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-card-body { padding: 1.5rem; }
.post-card-category {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 0.6rem;
}
.post-card h2 a,
.post-card h3 a {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.post-card h2 a:hover,
.post-card h3 a:hover { color: var(--gold); }
.post-card .post-meta {
  font-size: 0.73rem;
  color: var(--muted);
  margin-top: 0.75rem;
}
.post-card .post-excerpt {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0.6rem 0 0;
}

/* Featured post (first post in blog) */
.post-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
}
.post-card.featured .post-thumbnail,
.post-card.featured .post-thumbnail-placeholder { height: 100%; min-height: 300px; }
.post-card.featured .post-card-body { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.post-card.featured h2 a { font-size: 1.6rem; }

/* Single post */
.single-post-wrap { max-width: 760px; margin: 0 auto; padding: 4rem 2rem; }
.single-post-header { margin-bottom: 2.5rem; }
.post-categories-list {
  display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem;
}
.post-categories-list a {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
}
.single-post-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.single-post-meta { font-size: 0.8rem; color: var(--muted); }
.single-post-featured-img {
  width: 100%; height: 420px;
  object-fit: cover;
  margin: 2rem 0;
}
.entry-content {
  font-family: 'Source Serif 4', serif;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #2a3a5a;
}
.entry-content h2, .entry-content h3 { margin: 2rem 0 0.75rem; }
.entry-content p { margin-bottom: 1.25rem; color: #3a4a6a; }
.entry-content a { color: var(--gold); border-bottom: 1px solid rgba(240,168,48,0.3); }
.entry-content a:hover { border-bottom-color: var(--gold); }
.entry-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--gold-pale);
  font-style: italic;
}
.entry-content ul, .entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.entry-content li { margin-bottom: 0.4rem; }
.entry-content img { margin: 1.5rem 0; }

/* ─────────────────────────────────────
   MEMBERS (Custom Post Type)
───────────────────────────────────── */
.members-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.member-card {
  background: var(--navy-dark);
  padding: 2.5rem 2rem;
  text-align: center;
  color: var(--white);
  transition: background 0.3s;
}
.member-card:hover { background: var(--navy-mid); }
.member-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.25rem;
  border: 2px solid var(--gold);
  background: var(--navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}
.member-avatar img { width: 100%; height: 100%; object-fit: cover; }
.member-avatar .initials {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
}
.member-card .member-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.member-card .member-role {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.member-card .member-bio {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ─────────────────────────────────────
   PROJECTS (Custom Post Type)
───────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.project-card {
  border: 1px solid rgba(26,38,68,0.1);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.project-card:hover {
  box-shadow: 0 16px 48px rgba(26,38,68,0.15);
  transform: translateY(-4px);
}
.project-card-img {
  height: 200px;
  overflow: hidden;
  background: var(--navy);
}
.project-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
}
.project-card:hover .project-card-img img { transform: scale(1.05); }
.project-card-body { padding: 1.5rem; }
.project-card-tag {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.project-card h3 a { color: var(--navy); font-size: 1.1rem; }
.project-card h3 a:hover { color: var(--gold); }
.project-card p { font-size: 0.85rem; margin-top: 0.4rem; }

/* ─────────────────────────────────────
   EVENTS (The Events Calendar plugin)
───────────────────────────────────── */
.tribe-events-calendar th { background: var(--navy); color: var(--gold) !important; }
.tribe-event-url, .tribe-events-calendar td.tribe-events-present div[id*="tribe-events-daynum-"],
.tribe-events-calendar td.tribe-events-present div[id*="tribe-events-daynum-"] a { color: var(--gold) !important; }
.tribe-events-calendar td { border-color: rgba(26,38,68,0.1) !important; }
.tribe-events-calendar .tribe-events-month-grid-cell { min-height: 80px; }
.tribe-event-featured-image { max-height: 400px; object-fit: cover; }
.tribe-events-single h1.tribe-events-single-event-title {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
}
.tribe-events-back a,
.tribe-events-nav-previous a,
.tribe-events-nav-next a { color: var(--gold) !important; }
.tribe-button, .tribe-button-primary { background: var(--gold) !important; color: var(--navy) !important; }

/* ─────────────────────────────────────
   FORMS (Contact Form 7)
───────────────────────────────────── */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  border: 1px solid rgba(26,38,68,0.2);
  padding: 0.8rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: white;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus { border-color: var(--gold); }
.wpcf7-form textarea { height: 140px; resize: vertical; }
.wpcf7-form .wpcf7-submit {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 0.85rem 2.5rem;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.wpcf7-form .wpcf7-submit:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}
.wpcf7 .wpcf7-response-output {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gold) !important;
  color: var(--navy);
  font-size: 0.85rem;
}

/* ─────────────────────────────────────
   SIDEBAR & WIDGETS
───────────────────────────────────── */
.sidebar-widget {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: var(--gold-pale);
}
.sidebar-widget h3 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.sidebar-widget ul { list-style: none; }
.sidebar-widget ul li {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(26,38,68,0.08);
  font-size: 0.88rem;
}
.sidebar-widget ul li a { color: var(--navy); }
.sidebar-widget ul li a:hover { color: var(--gold); }

/* ─────────────────────────────────────
   JOIN / CTA BAND
───────────────────────────────────── */
.join-band {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  padding: 5rem 2rem;
  text-align: center;
}
.join-band h2 { color: var(--navy); }
.join-band p { color: var(--navy); opacity: 0.8; max-width: 500px; margin: 0 auto 2rem; }

/* ─────────────────────────────────────
   MARQUEE BAR
───────────────────────────────────── */
.marquee-bar {
  background: var(--gold);
  padding: 0.8rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-inner { display: inline-block; animation: marquee 30s linear infinite; }
.marquee-inner span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0 2.5rem;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
#colophon {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: 4rem 0 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .site-title { font-size: 0.95rem; margin-bottom: 0.1rem; }
.footer-brand .site-description { color: rgba(240,168,48,0.6); font-size: 0.6rem; }
.footer-tagline {
  font-family: 'Source Serif 4', serif;
  font-style: italic;
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
  color: rgba(255,255,255,0.55);
}
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  transition: all 0.2s;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-menu ul { list-style: none; }
.footer-menu ul li { margin-bottom: 0.55rem; }
.footer-menu ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.84rem;
  transition: color 0.2s;
}
.footer-menu ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.73rem;
}
.footer-bottom-links { display: flex; gap: 1.25rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.35); }
.footer-bottom-links a:hover { color: var(--white); }

/* ─────────────────────────────────────
   PAGINATION
───────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}
.pagination .page-numbers {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(26,38,68,0.2);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ─────────────────────────────────────
   GUTENBERG BLOCK STYLES
───────────────────────────────────── */
.wp-block-separator { border-color: var(--gold); border-width: 2px; }
.wp-block-pullquote {
  border-color: var(--gold);
  color: var(--navy);
}
.wp-block-quote {
  border-left-color: var(--gold);
  border-left-width: 3px;
}
.wp-block-button .wp-block-button__link { background: var(--gold); color: var(--navy); }
.wp-block-cover { min-height: 400px; }

/* ─────────────────────────────────────
   RESPONSIVE
───────────────────────────────────── */
@media (max-width: 1024px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .members-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .post-card.featured { grid-template-columns: 1fr; }
  .post-card.featured .post-thumbnail { height: 280px; }
}
@media (max-width: 768px) {
  #primary-navigation { display: none; }
  #primary-navigation.toggled { display: flex; position: absolute; top: 70px; left: 0; right: 0; background: var(--navy-dark); flex-direction: column; }
  #primary-navigation.toggled ul { flex-direction: column; width: 100%; }
  #primary-navigation.toggled ul li a { height: auto; padding: 1rem 2rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .menu-toggle { display: block; }
  .posts-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .members-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
@media (max-width: 480px) {
  .members-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .container { padding: 0 1.25rem; }
}
