/* ============================================
   Gandara Park Neighborhood — Shared Styles
   ============================================ */

/* --- Variables --- */
:root {
  --sage: #5a7a5c;
  --sage-light: #e8f0e8;
  --earth: #8b6f47;
  --cream: #faf7f2;
  --ink: #1a1a18;
  --muted: #6b6b60;
  --border: #d4cfc5;
  --alert: #b85c38;
  --blue-grey: #4a5580;
  --blue-grey-light: #e8eaf0;

  /* Spacing scale */
  --space-xs: 0.4rem;
  --space-sm: 0.8rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 3.5rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;

  /* Focus ring */
  --focus-ring: 2px solid var(--sage);
  --focus-ring-offset: 2px;
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --- Base --- */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  transition: color var(--transition-fast);
}

img {
  max-inline-size: 100%;
  block-size: auto;
  display: block;
}

/* --- Accessibility --- */
.skip-nav {
  position: absolute;
  inset-inline-start: -100%;
  top: 0;
  background: var(--sage);
  color: #fff;
  padding: var(--space-sm) var(--space-md);
  text-decoration: none;
  font-size: 0.85rem;
  z-index: 200;
  transition: inset-inline-start var(--transition-fast);
}

.skip-nav:focus {
  inset-inline-start: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus-visible styles */
:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-ring-offset);
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ============================================
   Navigation
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  background: var(--ink);
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  color: var(--cream);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #b0ae9e;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: var(--cream);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  position: relative;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

/* Hamburger to X animation */
.nav-toggle.open span {
  background: transparent;
}

.nav-toggle.open span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.open span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
  background: var(--ink);
  color: var(--cream);
  padding: var(--space-xl) var(--space-lg) 3rem;
  border-bottom: 3px solid var(--sage);
}

.page-header .eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: var(--space-sm);
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--space-sm);
}

.page-header .sub {
  color: #b0ae9e;
  font-size: 0.95rem;
  max-inline-size: 520px;
}

/* ============================================
   Hero Section (Home page)
   ============================================ */
.hero {
  background: var(--ink);
  color: var(--cream);
  padding: 5rem var(--space-lg) 4.5rem;
}

.hero .eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 0.3rem;
}

.hero h1 em {
  color: var(--sage-light);
  font-style: italic;
}

.hero .hero-sub {
  color: #b0ae9e;
  font-size: 1rem;
  max-inline-size: 520px;
  margin-top: 1.8rem;
  line-height: 1.75;
}

/* ============================================
   Email Signup Band
   ============================================ */
.signup-band {
  background: var(--sage);
  padding: 3rem var(--space-lg);
  text-align: center;
}

.signup-band .signup-inner {
  max-inline-size: 480px;
  margin: 0 auto;
}

.signup-band h2 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: var(--space-xs);
}

.signup-band p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.signup-form input {
  width: 100%;
  max-inline-size: 320px;
  padding: 0.7rem 0.9rem;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-family: 'Source Serif 4', serif;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  outline: none;
  display: block;
}

.signup-form input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.signup-form input:focus-visible {
  border-bottom-color: #fff;
  outline: var(--focus-ring);
  outline-offset: var(--focus-ring-offset);
}

.signup-form button,
.signup-band button,
.signup-mini button {
  padding: 0.7rem 2rem;
  background: var(--cream);
  color: var(--sage);
  border: none;
  font-family: 'Source Serif 4', serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.signup-form button:hover,
.signup-band button:hover,
.signup-mini button:hover {
  background: #fff;
}

/* ============================================
   Welcome Section (Home page)
   ============================================ */
.welcome {
  max-inline-size: 1100px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-xl);
  align-items: start;
}

.welcome-text .label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-sm);
}

.welcome-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.welcome-text p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.welcome-text strong {
  color: var(--ink);
}

/* ============================================
   Sidebar Cards (shared)
   ============================================ */
.sidebar-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.sidebar-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  margin-bottom: var(--space-sm);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

.sidebar-card p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.sidebar-card ul {
  list-style: none;
  font-size: 0.84rem;
}

.sidebar-card ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--sage-light);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.sidebar-card ul li:last-child {
  border-bottom: none;
}

.sidebar-card ul li a {
  color: var(--ink);
  text-decoration: none;
}

.sidebar-card ul li a:hover {
  color: var(--sage);
}

.sidebar-card .count {
  font-size: 0.72rem;
  color: #aaa;
}

.sidebar-card a.standalone {
  color: var(--sage);
  text-decoration: none;
  font-size: 0.8rem;
  border-bottom: 1px solid var(--sage);
  padding-bottom: 1px;
}

.sidebar-card a.standalone:hover {
  color: var(--earth);
  border-bottom-color: var(--earth);
}

/* ============================================
   Signup Mini (sidebar version)
   ============================================ */
.signup-mini {
  background: var(--sage);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.signup-mini h3 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.signup-mini p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.signup-mini input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-family: 'Source Serif 4', serif;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  outline: none;
}

.signup-mini input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.signup-mini input:focus-visible {
  border-bottom-color: #fff;
  outline: var(--focus-ring);
  outline-offset: var(--focus-ring-offset);
}

.signup-mini button {
  width: 100%;
  padding: 0.65rem;
}

/* ============================================
   Active Issues (Home page)
   ============================================ */
.issues-section {
  max-inline-size: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-lg) var(--space-xl);
}

.issues-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

.issues-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.issue-card {
  border-left: 3px solid var(--sage);
  padding: 1.2rem 1.2rem 1.2rem 1.5rem;
  background: #fff;
  border-radius: 0 2px 2px 0;
}

.issue-card .issue-tags {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.issue-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.issue-card p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.6;
}

.issues-section .see-all {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  text-decoration: none;
  border-bottom: 1px solid var(--sage);
  padding-bottom: 2px;
}

.issues-section .see-all:hover {
  color: var(--earth);
  border-bottom-color: var(--earth);
}

/* ============================================
   Filter Bar (News page)
   ============================================ */
.filter-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 var(--space-lg);
  display: flex;
  gap: 0;
  align-items: center;
  overflow-x: auto;
}

.filter-btn {
  padding: 1rem 1.4rem;
  font-family: 'Source Serif 4', serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  background: none;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--ink);
}

.filter-btn.active {
  color: var(--sage);
  border-bottom-color: var(--sage);
}

/* ============================================
   Two-Column Layout (News page)
   ============================================ */
.layout {
  max-inline-size: 1100px;
  margin: 0 auto;
  padding: 3rem var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
}

/* ============================================
   Posts (News page)
   ============================================ */
.posts-list {
  display: flex;
  flex-direction: column;
}

.post {
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-md);
  align-items: start;
}

.post:first-child {
  padding-top: 0;
}

.post-date {
  text-align: center;
  padding-top: 0.2rem;
}

.post-date .day {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.post-date .month {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.post-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  font-weight: 400;
}

.tag-meeting { background: var(--sage-light); color: var(--sage); }
.tag-advocacy { background: #f0e8e0; color: var(--earth); }
.tag-alert { background: #faeae4; color: var(--alert); }
.tag-announcement { background: var(--blue-grey-light); color: var(--blue-grey); }

.post-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.post-body h2 a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.post-body h2 a:hover {
  color: var(--sage);
}

.post-body p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0.7rem;
}

.post-meta {
  font-size: 0.75rem;
  color: #9a9a8e;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.post-meta .author::before {
  content: 'By ';
}

.read-more {
  font-size: 0.75rem;
  color: var(--sage);
  text-decoration: none;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--sage);
  padding-bottom: 1px;
}

.read-more:hover {
  color: var(--earth);
  border-bottom-color: var(--earth);
}

.post.is-alert {
  background: #fffaf8;
  border-left: 3px solid var(--alert);
  padding-left: 1.2rem;
  margin-left: -1.2rem;
  border-bottom-color: #f0ddd6;
}

/* ============================================
   Pagination
   ============================================ */
.pagination {
  display: flex;
  gap: 0.5rem;
  padding-top: 2rem;
  align-items: center;
}

.pagination a {
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  transition: all var(--transition-fast);
}

.pagination a:hover,
.pagination a.active,
.pagination a[aria-current="page"] {
  background: var(--sage);
  border-color: var(--sage);
  color: #fff;
}

/* ============================================
   Footer
   ============================================ */
footer {
  background: var(--ink);
  color: #888;
  padding: 2rem var(--space-lg);
  font-size: 0.78rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

footer span {
  color: #999;
}

.footer-links {
  display: flex;
  gap: var(--space-md);
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ddd;
}

/* ============================================
   About Page — Hero Image
   ============================================ */
.about-hero-image {
  max-inline-size: 1100px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-lg) 0;
}

.about-hero-image img {
  width: 100%;
  border-bottom: 3px solid var(--sage);
}

/* ============================================
   Resources Page
   ============================================ */
.resources-content {
  max-inline-size: 800px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
}

.resource-section {
  margin-bottom: var(--space-xl);
}

.resource-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

.resource-list {
  list-style: none;
  margin-bottom: 1rem;
}

.resource-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--sage-light);
  font-size: 0.92rem;
  color: var(--muted);
}

.resource-list li:last-child {
  border-bottom: none;
}

.resource-list li a {
  color: var(--ink);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.resource-list li a:hover {
  color: var(--sage);
}

.resource-note {
  font-size: 0.8rem;
  color: #9a9a8e;
  font-style: italic;
}

.resource-footnote {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.8rem;
  line-height: 1.6;
}

.resource-footnote a {
  color: var(--sage);
  text-decoration: none;
  border-bottom: 1px solid var(--sage);
  padding-bottom: 1px;
}

.resource-footnote a:hover {
  color: var(--earth);
  border-bottom-color: var(--earth);
}

.resource-steps {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.resource-steps li {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0.6rem;
}

.resource-steps li strong {
  color: var(--ink);
}

.resource-steps li em {
  color: var(--ink);
}

/* Glossary */
.glossary {
  margin: 0;
}

.glossary dt {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 1.2rem;
  margin-bottom: 0.3rem;
}

.glossary dt:first-child {
  margin-top: 0;
}

.glossary dd {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  margin-left: 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--sage-light);
}

.glossary dd:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* ============================================
   Scroll Animations
   ============================================ */
.js-ready .animate-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.js-ready .animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js-ready .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   Forms (Get Involved & Contact pages)
   ============================================ */

/* Shared form labels */
.signup-form-full label,
.contact-form label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
}

.signup-form-full label:first-of-type,
.contact-form label:first-of-type {
  margin-top: 0;
}

/* Shared text inputs & textarea */
.signup-form-full input[type="text"],
.signup-form-full input[type="email"],
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--ink);
  font-family: 'Source Serif 4', serif;
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.signup-form-full input[type="text"]:focus-visible,
.signup-form-full input[type="email"]:focus-visible,
.contact-form input[type="text"]:focus-visible,
.contact-form input[type="email"]:focus-visible,
.contact-form textarea:focus-visible {
  border-bottom-color: var(--sage);
  outline: var(--focus-ring);
  outline-offset: var(--focus-ring-offset);
}

.contact-form textarea {
  resize: vertical;
  border: 1px solid var(--border);
  padding: 0.7rem;
  margin-top: var(--space-xs);
}

.contact-form textarea:focus-visible {
  border-color: var(--sage);
}

/* Fieldset & legend */
.signup-form-full fieldset {
  border: none;
  padding: 0;
  margin-top: var(--space-md);
}

.signup-form-full fieldset legend {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-sm);
}

/* Checkbox labels inside fieldset */
.signup-form-full fieldset label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  margin-top: 0.5rem;
  cursor: pointer;
}

/* Standalone checkbox labels (contact form) */
.contact-form .checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  margin-top: 0.8rem;
  cursor: pointer;
}

/* Checkbox accent color */
.signup-form-full input[type="checkbox"],
.contact-form input[type="checkbox"] {
  accent-color: var(--sage);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Optional span */
.optional {
  color: #aaa;
  font-size: 0.85em;
  letter-spacing: 0;
  text-transform: none;
}

/* Submit buttons */
.signup-form-full button[type="submit"],
.contact-form button[type="submit"] {
  padding: 0.7rem 2rem;
  background: var(--sage);
  color: #fff;
  border: none;
  font-family: 'Source Serif 4', serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition-fast);
  margin-top: var(--space-md);
}

.signup-form-full button[type="submit"]:hover,
.contact-form button[type="submit"]:hover {
  background: var(--earth);
}

/* Action list (Get Involved) */
.action-list {
  padding-left: 1.2rem;
  margin-bottom: 1.2rem;
}

.action-list li {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0.3rem;
}

.action-list li a {
  color: var(--sage);
  text-decoration: none;
  border-bottom: 1px solid var(--sage);
  padding-bottom: 1px;
}

.action-list li a:hover {
  color: var(--earth);
  border-bottom-color: var(--earth);
}

.action-list li strong {
  color: var(--ink);
}

/* Comment template block */
.comment-template {
  background: #fff;
  border-left: 3px solid var(--sage);
  padding: var(--space-md) var(--space-md);
  margin: var(--space-md) 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

.comment-template p {
  margin-bottom: 0.8rem;
}

.comment-template p:last-child {
  margin-bottom: 0;
}

/* Contact section (centered layout) */
.contact-section {
  max-inline-size: 600px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
}

/* Contact note below form */
.contact-note {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.contact-note a {
  color: var(--sage);
  text-decoration: none;
  border-bottom: 1px solid var(--sage);
  padding-bottom: 1px;
}

.contact-note a:hover {
  color: var(--earth);
  border-bottom-color: var(--earth);
}

/* ============================================
   Issues Page — Featured Issue
   ============================================ */
.issue-feature {
  background: #fff;
  border-top: 3px solid var(--alert);
}

.issue-feature-inner {
  max-inline-size: 900px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
}

.issue-feature-header {
  margin-bottom: var(--space-lg);
}

.issue-feature-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.issue-ref {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.issue-summary {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
}

.issue-summary p {
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 0.8rem;
}

.issue-key-facts {
  margin-bottom: var(--space-lg);
}

.issue-key-facts h3,
.issue-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.facts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-bottom: var(--space-md);
}

.facts-table th {
  text-align: left;
  padding: 0.5rem 1rem 0.5rem 0;
  color: var(--muted);
  font-weight: 400;
  white-space: nowrap;
  vertical-align: top;
  width: 180px;
}

.facts-table td {
  padding: 0.5rem 0;
  color: var(--ink);
  border-bottom: 1px solid var(--sage-light);
}

.issue-section {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
}

.issue-section:last-of-type {
  border-bottom: none;
}

.issue-section p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.issue-section ul {
  list-style: none;
  margin-bottom: 1rem;
}

.issue-section ul li {
  position: relative;
  padding-inline-start: 1.2rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0.6rem;
}

.issue-section ul li::before {
  content: '—';
  position: absolute;
  inset-inline-start: 0;
  color: var(--sage);
}

.issue-section ul li strong {
  color: var(--ink);
}

.issue-image {
  margin: 1.5rem 0;
}

.issue-image img {
  border: 1px solid var(--border);
}

.issue-image figcaption {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.5rem;
  line-height: 1.5;
  font-style: italic;
}

/* Issue CTA */
.issue-cta {
  background: var(--sage-light);
  padding: var(--space-md);
  margin-top: var(--space-lg);
  border-radius: 2px;
}

.issue-cta h3 {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0.5rem;
}

.issue-cta p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.cta-buttons {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  font-family: 'Source Serif 4', serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: var(--sage);
  color: #fff;
  border: 1px solid var(--sage);
}

.btn-primary:hover {
  background: #4a6a4c;
}

.btn-secondary {
  background: #fff;
  color: var(--sage);
  border: 1px solid var(--sage);
}

.btn-secondary:hover {
  background: var(--sage);
  color: #fff;
}

/* ============================================
   Home Page — Active Issue Alert
   ============================================ */
.home-alert {
  background: #fffaf8;
  border-top: 3px solid var(--alert);
  border-bottom: 1px solid #f0ddd6;
}

.home-alert-inner {
  max-inline-size: 1100px;
  margin: 0 auto;
  padding: var(--space-lg);
}

.home-alert .alert-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--alert);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.home-alert h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.8rem;
}

.home-alert p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
  max-inline-size: 700px;
  margin-bottom: 1rem;
}

.home-alert .cta-buttons {
  margin-top: 0.5rem;
}

/* ============================================
   Responsive — Tablet & Mobile (768px)
   ============================================ */
@media (max-width: 768px) {
  nav {
    height: auto;
    padding: 0.8rem 1.2rem;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding-top: 0.5rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li a {
    display: block;
    padding: 0.6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .page-header {
    padding: 2rem 1.2rem 1.8rem;
  }

  .hero {
    padding: 3rem 1.2rem 2.5rem;
  }

  .signup-band {
    padding: 2rem 1.2rem;
  }

  .filter-bar {
    padding: 0 1rem;
  }

  .filter-btn {
    padding: 0.85rem 1rem;
    min-height: 44px;
  }

  .layout,
  .welcome {
    grid-template-columns: 1fr;
    padding: 2rem 1.2rem;
    gap: 2.5rem;
  }

  .issues-section {
    padding: 0 1.2rem 2.5rem;
  }

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

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

  .post-date {
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: var(--space-xs);
    padding-top: 0;
  }

  .post-date .day {
    font-size: 1.3rem;
  }

  .post.is-alert {
    margin-left: 0;
    padding-left: 1rem;
  }

  .pagination a {
    padding: 0.6rem 1rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .sidebar-card,
  .signup-mini {
    padding: 1.2rem;
  }

  .about-hero-image {
    padding: var(--space-md) 1.2rem 0;
  }

  .issue-feature-inner,
  .home-alert-inner {
    padding: 2rem 1.2rem;
  }

  .facts-table th {
    width: auto;
    display: block;
    padding-bottom: 0;
  }

  .facts-table td {
    display: block;
    padding-top: 0.2rem;
    padding-bottom: 0.8rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn {
    text-align: center;
  }

  .resources-content {
    padding: 2rem 1.2rem;
  }

  footer {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1.2rem;
  }

  .footer-links {
    justify-content: center;
  }
}

/* ============================================
   Responsive — Small Phones (480px)
   ============================================ */
@media (max-width: 480px) {
  .page-header h1,
  .hero h1 {
    font-size: 1.6rem;
  }

  .post-body h2 {
    font-size: 1.1rem;
  }

  .nav-links a {
    font-size: 0.72rem;
  }

  .filter-btn {
    font-size: 0.7rem;
    padding: 0.85rem 0.7rem;
  }

  .welcome-text h2 {
    font-size: 1.4rem;
  }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  .site-header,
  .nav-toggle,
  .skip-nav,
  .signup-band,
  .signup-mini,
  .filter-bar,
  .pagination,
  footer {
    display: none !important;
  }

  main {
    padding: 0;
  }

  .hero {
    padding: 1rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .welcome,
  .layout {
    display: block;
    padding: 1rem 0;
  }

  .welcome aside,
  .layout aside {
    margin-top: 2rem;
  }

  .issues-section {
    padding: 1rem 0;
  }

  .issues-grid {
    display: block;
  }

  .issue-card,
  .sidebar-card {
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }

  .post {
    page-break-inside: avoid;
  }

  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 0.8em;
    color: #555 !important;
  }

  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: '';
  }
}
