/*
Theme Name: Trinity UMC
Theme URI: https://trinityumcmemphis.org
Author: Trinity UMC
Description: A warm, affirming block theme for Trinity United Methodist Church, Memphis. Sage green + warm cream, Newsreader serif headlines, editable in the Site Editor.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trinity-umc
Tags: block-theme, full-site-editing, one-column, custom-colors
*/

/* Trinity UMC — Sage palette, warm cream, low-church friendly */
:root {
  /* Sage green family (default; can be swapped by Tweaks) */
  --sage: #7fb069;
  --sage-deep: #3f6b3a;
  --sage-darker: #1f4222;
  --sage-tint: #e6efde;
  --sage-faint: #f1f5ec;

  /* Neutrals — warm cream */
  --cream: #f6f1e6;
  --cream-2: #efe7d4;
  --paper: #fbf8f1;
  --ink: #1a1c17;
  --ink-2: #41463b;
  --ink-3: #6c7060;
  --rule: #d8d2bf;

  /* Accent (used sparingly) */
  --rust: #c9572b;

  /* Type */
  --serif: "Newsreader", "Source Serif Pro", Georgia, serif;
  --sans: "DM Sans", "Helvetica Neue", system-ui, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(8px);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  max-width: 1320px;
  margin: 0 auto;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
}
.brand .mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--sage-deep);
  color: var(--paper);
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  border-radius: 50%;
  letter-spacing: -0.02em;
}
.brand .wordmark {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand .wordmark em {
  font-style: italic;
  color: var(--sage-deep);
}
.brand .sub {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  margin-top: 4px;
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 15px;
}
.nav a {
  text-decoration: none;
  color: var(--ink-2);
  padding: 6px 2px;
  position: relative;
  cursor: pointer;
}
.nav a:hover { color: var(--ink); }
.nav a.active {
  color: var(--ink);
}
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--sage);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sage-deep);
  color: var(--paper);
  border: 0;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--sage-darker); transform: translateY(-1px); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn.ghost:hover { background: var(--ink); color: var(--cream); }
.btn.sm { padding: 7px 14px; font-size: 14px; }

/* ---------- Layout helpers ---------- */
.page { max-width: 1320px; margin: 0 auto; padding: 0 40px; }
.section { padding: 96px 0; }
.section.tight { padding: 60px 0; }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--sage-deep);
  margin-bottom: 18px;
}
.h-display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0;
}
.h-display em { font-style: italic; color: var(--sage-deep); }
.h-section {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.h-section em { font-style: italic; color: var(--sage-deep); }
.lead {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 62ch;
}
.muted { color: var(--ink-3); }

/* ---------- Affirming ribbon ---------- */
.affirm {
  background: var(--sage-deep);
  color: var(--paper);
  font-size: 14px;
  padding: 10px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-align: center;
  font-family: var(--sans);
}
.affirm .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--sage); display: inline-block;
}

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 60px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: end;
}
.hero h1 .greet {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--sage-deep);
  display: block;
  margin-bottom: 24px;
}
.hero-meta {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-art {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--sage-tint);
  border-radius: 4px;
  overflow: hidden;
}
.hero-art .badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--paper);
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.hero-stats {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border-top: 1px solid var(--rule);
  padding-top: 32px;
}
.stat .num {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat .num em { font-style: italic; color: var(--sage-deep); }
.stat .label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-3);
  margin-top: 8px;
}

/* ---------- Image placeholder ---------- */
.imgph {
  background-image: repeating-linear-gradient(45deg, var(--sage-tint), var(--sage-tint) 10px, var(--sage-faint) 10px, var(--sage-faint) 20px);
  display: grid;
  place-items: center;
  color: var(--sage-deep);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-align: center;
  padding: 24px;
}
.imgph.dark {
  background-image: repeating-linear-gradient(45deg, var(--sage-deep), var(--sage-deep) 10px, var(--sage-darker) 10px, var(--sage-darker) 20px);
  color: var(--sage-tint);
}

/* ---------- Service times block ---------- */
.times {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0;
}
.times .page { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.times h2 { color: var(--cream); }
.times .eyebrow { color: var(--sage); }
.times-list { display: flex; flex-direction: column; gap: 0; }
.time-row {
  display: grid;
  grid-template-columns: 80px 1fr auto 40px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid #2a2c25;
  gap: 24px;
}
.time-row:last-child { border-bottom: 1px solid #2a2c25; }
.time-row .day {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sage);
}
.time-row .title {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.01em;
}
.time-row .when {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--cream);
  opacity: 0.8;
}
.time-row .arrow {
  width: 36px; height: 36px;
  border: 1px solid #3a3c35;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--sage);
  cursor: pointer;
  transition: background 0.15s;
}
.time-row .arrow:hover { background: var(--sage-deep); color: var(--paper); border-color: transparent; }

/* ---------- Welcome / who we are ---------- */
.welcome { background: var(--paper); }
.welcome .grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.bullets { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.bullets li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.bullets li:last-child { border-bottom: 0; }
.bullets .num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--sage-deep);
  padding-top: 2px;
}
.bullets b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  display: block;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.bullets p { margin: 0; color: var(--ink-2); }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(31, 66, 34, 0.25); }
.card .ph { aspect-ratio: 4/3; }
.card .body { padding: 22px 24px 26px; }
.card .kicker {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--sage-deep);
  margin-bottom: 10px;
}
.card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  line-height: 1.15;
}
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---------- Events list ---------- */
.events-block { background: var(--sage-faint); }
.event-row {
  display: grid;
  grid-template-columns: 100px 1fr 200px 180px 40px;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid var(--rule);
  gap: 24px;
  cursor: pointer;
  transition: padding 0.2s ease;
}
.event-row:hover { padding-left: 14px; padding-right: 14px; background: var(--paper); }
.event-row:last-child { border-bottom: 1px solid var(--rule); }
.event-date {
  font-family: var(--serif);
  text-align: left;
}
.event-date .d { display: block; font-size: 40px; line-height: 1; letter-spacing: -0.03em; }
.event-date .m { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--sage-deep); margin-top: 6px; display: inline-block; }
.event-title { font-family: var(--serif); font-size: 24px; letter-spacing: -0.01em; }
.event-title .tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--sage-deep);
  background: var(--sage-tint);
  padding: 4px 8px;
  border-radius: 99px;
  margin-left: 8px;
  vertical-align: middle;
}
.event-when, .event-where { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }

/* ---------- Sermons row ---------- */
.sermons-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.sermon {
  border: 1px solid var(--rule);
  background: var(--paper);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.sermon .thumb {
  aspect-ratio: 16/9;
  position: relative;
}
.sermon.featured .thumb { aspect-ratio: 4/3; }
.sermon .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.sermon .play span {
  width: 64px; height: 64px;
  background: var(--paper);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--sage-deep);
  font-size: 22px;
  box-shadow: 0 12px 30px -8px rgba(31, 66, 34, 0.4);
  transition: transform 0.2s;
}
.sermon:hover .play span { transform: scale(1.08); }
.sermon .meta { padding: 18px 22px 22px; }
.sermon .series {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--sage-deep); margin-bottom: 8px;
}
.sermon h3 {
  font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: -0.01em; margin: 0 0 6px; line-height: 1.2;
}
.sermon .preacher { font-size: 14px; color: var(--ink-3); font-family: var(--mono); }

/* ---------- Give CTA ---------- */
.give-cta {
  background: var(--sage-deep);
  color: var(--paper);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.give-cta .page { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; position: relative; z-index: 1; }
.give-cta h2 { color: var(--paper); margin: 0; }
.give-cta h2 em { color: var(--sage); }
.give-cta .pitch { font-size: 18px; opacity: 0.85; margin: 18px 0 32px; max-width: 50ch; }
.give-cta .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.give-cta .btn { background: var(--paper); color: var(--sage-darker); }
.give-cta .btn:hover { background: var(--cream); }
.give-cta .btn.ghost { background: transparent; color: var(--paper); border-color: var(--paper); }
.give-cta .btn.ghost:hover { background: var(--paper); color: var(--sage-darker); }
.give-cta .figure {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18vw;
  line-height: 0.8;
  letter-spacing: -0.04em;
  position: absolute;
  right: -2vw;
  bottom: -3vw;
  color: rgba(246, 241, 230, 0.06);
  user-select: none;
  pointer-events: none;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0 32px;
}
.site-footer .page { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.site-footer h4 {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sage);
  margin: 0 0 18px;
  font-weight: 500;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.site-footer ul a { text-decoration: none; opacity: 0.85; cursor: pointer; }
.site-footer ul a:hover { opacity: 1; color: var(--sage); }
.site-footer .brandblock .wordmark { color: var(--cream); }
.site-footer .brandblock .wordmark em { color: var(--sage); }
.site-footer .legal {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid #2a2c25;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
}
.site-footer .address { font-family: var(--sans); font-size: 14px; line-height: 1.6; opacity: 0.85; margin-top: 16px; text-transform: none; letter-spacing: 0; }

/* ---------- Tag pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--sage-tint);
  color: var(--sage-darker);
  cursor: pointer;
  border: 0;
}
.pill.active { background: var(--sage-deep); color: var(--paper); }
.pill:hover { background: var(--sage); color: var(--paper); }
.pill.active:hover { background: var(--sage-darker); }

/* ---------- About page bits ---------- */
.creed {
  font-family: var(--serif);
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.creed em { font-style: italic; color: var(--sage-deep); }

.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.staff .photo { aspect-ratio: 3/4; margin-bottom: 14px; }
.staff h4 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 0 0 4px; letter-spacing: -0.01em; }
.staff .role { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--sage-deep); }

/* ---------- Ministries ---------- */
.ministry-row {
  display: grid;
  grid-template-columns: 0.6fr 1fr 1.4fr auto;
  gap: 32px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--rule);
  cursor: pointer;
  transition: background 0.2s;
}
.ministry-row:last-child { border-bottom: 1px solid var(--rule); }
.ministry-row:hover { background: var(--sage-faint); padding-left: 18px; padding-right: 18px; }
.ministry-row .idx { font-family: var(--mono); font-size: 12px; color: var(--sage-deep); letter-spacing: 0.18em; }
.ministry-row h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; letter-spacing: -0.015em; margin: 0; line-height: 1.1; }
.ministry-row p { margin: 0; color: var(--ink-2); }

/* ---------- Page header ---------- */
.page-head {
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--rule);
}
.page-head .crumb {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--sage-deep);
  margin-bottom: 20px;
}
.page-head h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(54px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  max-width: 14ch;
}
.page-head h1 em { font-style: italic; color: var(--sage-deep); }
.page-head .sub { font-size: 19px; max-width: 64ch; color: var(--ink-2); }

/* ---------- Give page ---------- */
.give-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.tier-btn {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 18px;
  text-align: center;
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.02em;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.15s;
}
.tier-btn:hover { border-color: var(--sage-deep); }
.tier-btn.active { background: var(--sage-deep); color: var(--paper); border-color: var(--sage-deep); }
.tier-btn .label { display: block; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; margin-top: 4px; opacity: 0.7; }

.give-form {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 40px;
  border-radius: 4px;
}
.give-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.give-form label { display: block; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--ink-3); margin-bottom: 6px; }
.give-form input, .give-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  border-radius: 4px;
  color: var(--ink);
}
.give-form input:focus, .give-form select:focus { outline: 2px solid var(--sage); outline-offset: -1px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.contact-info { display: grid; gap: 28px; }
.contact-info .block h4 { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--sage-deep); margin: 0 0 8px; font-weight: 500; }
.contact-info .block p { margin: 0; font-size: 17px; line-height: 1.5; }
.map-ph { aspect-ratio: 16/11; }

/* ---------- Tweaks shell — make our panel feel native ---------- */
.tweaks-panel { font-family: var(--sans) !important; }

/* ---------- Animations ---------- */
.fade-in { animation: fade-in 0.35s ease both; }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Hero variant: poster ---------- */
.hero.poster .hero-grid { grid-template-columns: 1fr; }
.hero.poster .hero-art { display: none; }
.hero.poster .h-display { font-size: clamp(72px, 11vw, 180px); line-height: 0.92; }

/* ---------- Hero variant: photo-led full bleed ---------- */
.hero.photo { padding: 0; }
.hero.photo .hero-grid {
  grid-template-columns: 1fr;
  min-height: 78vh;
  align-items: end;
  position: relative;
  border-radius: 0;
  padding: 64px 40px;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}
.hero.photo .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero.photo .hero-content { position: relative; z-index: 1; max-width: 900px; }
.hero.photo .hero-art { display: none; }
.hero.photo .h-display em { color: var(--sage); }
.hero.photo .greet { color: var(--sage); }
.hero.photo .lead { color: rgba(246, 241, 230, 0.88); }
.hero.photo .btn.ghost { color: var(--paper); border-color: var(--paper); }

/* ---------- Responsive bits ---------- */
@media (max-width: 980px) {
  .hero-grid, .welcome .grid, .times .page, .give-cta .page, .contact-grid { grid-template-columns: 1fr; }
  .card-grid, .sermons-grid, .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .event-row { grid-template-columns: 80px 1fr; }
  .event-when, .event-where { display: none; }
  .ministry-row { grid-template-columns: 1fr; gap: 8px; }
  .nav { display: none; }
}


/* =========================================================
   WordPress adaptations
   ========================================================= */

/* Affirm ribbon as a paragraph */
p.affirm { margin: 0; }

/* Greet line outside of h1 */
.hero .greet, .greet {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--sage-deep);
  display: block;
  margin: 0 0 24px;
}
.hero.photo .greet { color: var(--sage); }

/* Core button block -> .btn look */
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sage-deep);
  color: var(--paper);
  border: 0;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}
.wp-block-button__link:hover { background: var(--sage-darker); transform: translateY(-1px); color: var(--paper); }
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--ink); color: var(--cream); }
.wp-block-buttons { gap: 14px; }

/* Dark sections: outline buttons flip */
.times .is-style-outline .wp-block-button__link,
.give-cta .is-style-outline .wp-block-button__link,
.hero.photo .is-style-outline .wp-block-button__link {
  color: var(--paper); border-color: var(--paper);
}
.give-cta .wp-block-button__link { background: var(--paper); color: var(--sage-darker); }
.give-cta .is-style-outline .wp-block-button__link { background: transparent; color: var(--paper); }

/* Navigation block -> .nav look */
.nav.wp-block-navigation { font-size: 15px; }
.nav.wp-block-navigation .wp-block-navigation-item__content {
  text-decoration: none;
  color: var(--ink-2);
  padding: 6px 2px;
}
.nav.wp-block-navigation .wp-block-navigation-item__content:hover { color: var(--ink); }
.nav.wp-block-navigation .current-menu-item .wp-block-navigation-item__content {
  color: var(--ink);
  box-shadow: 0 2px 0 0 var(--sage);
}
.wp-block-navigation__responsive-container-open { color: var(--ink); }

/* Lists inside patterns keep our styling */
ul.wp-block-list.bullets { list-style: none; padding: 0; }
.site-footer ul.wp-block-list { list-style: none; padding: 0; margin: 0; }

/* Placeholder blocks */
.imgph p { margin: 0; }
.imgph {
  min-height: 200px;
}
.hero-art.imgph { aspect-ratio: 4/5; border-radius: 4px; position: relative; }

/* Generic content pages */
.entry-content h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; }
.entry-content a { color: var(--sage-deep); }
.page-head h1.wp-block-post-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(54px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
}

/* Post/archive basics */
.post-list article { padding: 28px 0; border-top: 1px solid var(--rule); }
.post-list article h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 0 0 6px; }
.post-list article h2 a { text-decoration: none; }
.post-meta { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--sage-deep); }

/* Mobile nav fallback */
@media (max-width: 980px) {
  .nav.wp-block-navigation { display: block; }
}
