/*
Theme Name: Victory Praise
Theme URI: https://vpc.org.uk
Author: Victory Praise Community Church
Description: A bold, image-led theme for Victory Praise Community Church, Ballymena. Self-contained — no build step, no page builder. Age-friendly typography (14pt minimum), teal brand palette and full-width page heroes.
Version: 1.4.0
Requires at least: 6.0
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: victory-praise
Tags: custom-menu, custom-logo, featured-images, full-width-template, blog
*/

:root {
  --surface: #f4f8f9;
  --ink: #0b1013;
  --brand: #009fc5;
  --brand-deep: #00576e;
  --brand-soft: #57d6ee;
  --brand-tint: #e6f5f9;
  --body-text: #3a464b;
  --muted: #5d6b70;
  --hairline: #dfe8ea;
  --hairline-soft: #e9f1f3;
  --radius-lg: 1.75rem;
  --radius: 1.25rem;
  --font-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, Arial, sans-serif;
  --container: 1240px;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--brand); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
  color: var(--ink);
}

p { margin: 0 0 1.15rem; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.9rem 1.4rem;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container-x {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 768px) { .container-x { padding-inline: 2rem; } }
@media (min-width: 1280px) { .container-x { padding-inline: 2.75rem; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1.1875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}
.btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-deep); border-color: var(--brand-deep); transform: translateY(-1px); }
.btn-ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--brand-deep); border-color: var(--brand-deep); transform: translateY(-1px); }
.btn-ghost { background: #fff; border-color: rgba(11, 16, 19, 0.16); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-1px); }
.btn-light { background: transparent; border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 1rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(0, 159, 197, 0.1);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-deep);
}
.eyebrow--light { background: rgba(87, 214, 238, 0.16); color: var(--brand-soft); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; }

.topbar { display: none; background: var(--brand); }
@media (min-width: 768px) { .topbar { display: block; } }
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(11, 16, 19, 0.8);
}
.topbar-mid { display: none; }
@media (min-width: 1024px) { .topbar-mid { display: inline; } }
.topbar-phone { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.topbar-phone:hover { opacity: 0.8; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 88px;
}
@media (min-width: 768px) { .header-inner { height: 116px; } }

.brand { display: block; flex-shrink: 0; }
.brand img { height: 3.5rem; width: 202px; object-fit: contain; }
@media (min-width: 768px) { .brand img { height: 5rem; width: 288px; } }

.primary-nav { display: none; }
@media (min-width: 1280px) { .primary-nav { display: block; } }

.nav-list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.55rem;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav-list > li > a:hover,
.nav-list > li.current-menu-item > a,
.nav-list > li.current_page_item > a { background: rgba(255, 255, 255, 0.1); color: #fff; }

.nav-list .menu-item-has-children > a::after {
  content: "";
  width: 6px; height: 6px;
  margin-left: 0.15rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}
.nav-list .menu-item-has-children:hover > a::after { transform: rotate(225deg) translateY(-1px); }

.nav-list ul {
  position: absolute;
  left: 0;
  top: calc(100% + 0.6rem);
  min-width: 15rem;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.nav-list li:hover > ul,
.nav-list li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-list ul a {
  display: block;
  padding: 0.7rem 1rem;
  border-radius: 0.75rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav-list ul a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.header-actions .btn-brand { display: none; }
@media (min-width: 1280px) { .header-actions .btn-brand { display: inline-flex; } }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem; width: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.menu-toggle:hover { background: rgba(255, 255, 255, 0.1); }
@media (min-width: 1280px) { .menu-toggle { display: none; } }
.menu-toggle-bars { position: relative; display: block; width: 18px; height: 2px; background: currentColor; }
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  content: "";
  position: absolute; left: 0;
  width: 18px; height: 2px;
  background: currentColor;
}
.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }

/* ---------- Mobile menu ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 60; overflow-y: auto; background: var(--ink); color: #fff; display: none; }
.mobile-menu.is-open { display: block; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; height: 104px; }
.mobile-menu-head img { height: 4.25rem; width: 245px; object-fit: contain; }
.mobile-menu-close {
  display: inline-flex; align-items: center; justify-content: center;
  height: 2.75rem; width: 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.mobile-menu-close:hover { background: rgba(255, 255, 255, 0.1); }

.mobile-nav { padding-bottom: 3.5rem; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav > ul > li { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.mobile-nav a { display: block; padding: 1rem 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: #fff; text-decoration: none; }
.mobile-nav ul ul { display: none; padding-bottom: 0.75rem; }
.mobile-nav li.is-open > ul { display: block; }
.mobile-nav ul ul a { padding: 0.6rem 0.75rem; font-family: var(--font-body); font-size: 1.05rem; font-weight: 500; color: rgba(255, 255, 255, 0.65); }
.mobile-nav .submenu-toggle {
  float: right;
  width: 2.5rem; height: 2.5rem;
  margin-top: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: transparent;
  color: var(--brand-soft);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.mobile-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2rem; }

/* ---------- Home hero ---------- */
.vpc-hero {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  color: var(--ink);
  display: flex;
  flex-direction: column;
}
.vpc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 10% 0%, rgba(0, 159, 197, 0.2), rgba(0, 159, 197, 0) 62%);
  pointer-events: none;
}
.vpc-hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 2.25rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
}
.vpc-hero-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.vpc-hero-logo { height: 4rem; width: auto; object-fit: contain; }
@media (min-width: 768px) { .vpc-hero-logo { height: 7rem; } }
.vpc-hero-eyebrow { margin-top: 1.5rem; }
.vpc-hero-title {
  margin: 1.15rem 0 0;
  max-width: 900px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 8.4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.vpc-hero-sub { margin: 1.15rem 0 0; max-width: 520px; font-size: 1.1875rem; line-height: 1.65; color: var(--body-text); }
.vpc-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 0.85rem 1.5rem;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 1.1875rem;
  font-weight: 600;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.vpc-hero-btn svg { width: 17px; height: 17px; transition: transform 0.25s ease; }
.vpc-hero-btn:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.vpc-hero-btn:hover svg { transform: translateX(4px); }

.vpc-hero-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 2rem;
}
.vpc-hero-photo { min-width: 0; }
.vpc-hero-frame {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 0.9rem;
  overflow: hidden;
  background: #dce8ea;
}
.vpc-hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* Desktop composition: staggered photo strip bleeding off the bottom edge. */
@media (min-width: 768px) {
  .vpc-hero { --vpc-stagger: clamp(0px, 8cqi - 40px, 72px); min-height: min(94vh, 1000px); }
  .vpc-hero-inner {
    container: vpchero / inline-size;
    flex: 1;
    padding: clamp(44px, 6cqi, 84px) clamp(14px, 1.6cqi, 24px) 0;
    justify-content: space-between;
  }
  .vpc-hero-title { font-size: clamp(2.4rem, 1.5rem + 4.3cqi, 4.5rem); }
  .vpc-hero-sub { margin-top: clamp(18px, 2.2cqi, 26px); }
  .vpc-hero-btn { margin-top: clamp(24px, 3cqi, 34px); }
  .vpc-hero-gallery {
    grid-template-rows: 100%;
    gap: 14px;
    margin-top: clamp(30px, 4cqi, 52px);
    height: min(37cqi, 460px);
    overflow: hidden;
  }
  .vpc-hero-photo { align-self: stretch; min-height: 0; }
  .vpc-hero-photo--2 { transform: translateY(var(--vpc-stagger)); }
  .vpc-hero-frame {
    height: calc(100% + clamp(40px, 9cqi, 130px));
    aspect-ratio: auto;
    border-radius: 22px 22px 0 0;
  }
}

@keyframes vpc-rise { from { opacity: 0; transform: translateY(1.4rem); } to { opacity: 1; transform: translateY(0); } }
@keyframes vpc-rise-photo { from { opacity: 0; transform: translateY(2.5rem); } to { opacity: 1; transform: translateY(0); } }
.vpc-hero--anim .vpc-hero-logo,
.vpc-hero--anim .vpc-hero-eyebrow,
.vpc-hero--anim .vpc-hero-title,
.vpc-hero--anim .vpc-hero-sub,
.vpc-hero--anim .vpc-hero-btn { opacity: 0; animation: vpc-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.vpc-hero--anim .vpc-hero-logo { animation-delay: 0.02s; }
.vpc-hero--anim .vpc-hero-eyebrow { animation-delay: 0.12s; }
.vpc-hero--anim .vpc-hero-title { animation-delay: 0.18s; }
.vpc-hero--anim .vpc-hero-sub { animation-delay: 0.3s; }
.vpc-hero--anim .vpc-hero-btn { animation-delay: 0.42s; }
.vpc-hero--anim .vpc-hero-frame { opacity: 0; animation: vpc-rise-photo 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.vpc-hero--anim .vpc-hero-photo--1 .vpc-hero-frame { animation-delay: 0.5s; }
.vpc-hero--anim .vpc-hero-photo--2 .vpc-hero-frame { animation-delay: 0.62s; }
.vpc-hero--anim .vpc-hero-photo--3 .vpc-hero-frame { animation-delay: 0.74s; }

@keyframes vpc-letter-wave { 0%, 18%, 100% { color: var(--ink); } 9% { color: var(--brand); } }
.vpc-hero-letter { animation: vpc-letter-wave 5s linear infinite; animation-delay: calc(var(--vpc-i, 0) * 0.08s); }

@media (prefers-reduced-motion: reduce) {
  .vpc-hero--anim .vpc-hero-logo,
  .vpc-hero--anim .vpc-hero-eyebrow,
  .vpc-hero--anim .vpc-hero-title,
  .vpc-hero--anim .vpc-hero-sub,
  .vpc-hero--anim .vpc-hero-btn,
  .vpc-hero--anim .vpc-hero-frame { opacity: 1; animation: none; }
  .vpc-hero-letter { animation: none; color: var(--ink); }
}

/* ---------- Sections ---------- */
.section { padding-block: 4rem; }
@media (min-width: 768px) { .section { padding-block: 5rem; } }
@media (min-width: 1024px) { .section { padding-block: 6rem; } }
.section--white { background: #fff; }
.section--tint { background: var(--surface); }
.section--ink { background: var(--ink); color: var(--surface); }
.section--ink h2, .section--ink h3 { color: var(--surface); }

/* A block set to full width lets its content run to the edges of the screen. */
.section--full > .container-x { max-width: none; }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.h2 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.05; margin-top: 1rem; }
.h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.lead { color: var(--body-text); font-size: 1.25rem; max-width: 34rem; margin-top: 1rem; }

.split { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .split { grid-template-columns: 1.05fr 0.95fr; gap: 5rem; align-items: center; } }
.split--reverse > .split__media { order: 2; }
@media (min-width: 1024px) { .split--reverse > .split__media { order: 1; } .split--reverse > .split__body { order: 2; } }

.gather-list { margin-top: 2rem; border-top: 1px solid var(--hairline); padding-top: 2rem; }
.gather { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; border-bottom: 1px solid var(--hairline-soft); padding-bottom: 1rem; margin-bottom: 1rem; }
.gather:last-child { margin-bottom: 0; }
.gather h3 { font-size: 1.25rem; }
.gather p { margin: 0.15rem 0 0; font-size: 1rem; color: var(--muted); }
.gather-meta { flex-shrink: 0; text-align: right; }
.gather-day { display: block; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #006e88; }
.gather-time { display: block; font-size: 1rem; font-weight: 600; color: var(--ink); }
.gather-meta-line { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin-top: 2rem; font-size: 1rem; color: var(--muted); }
.gather-meta-line span { display: inline-flex; align-items: center; gap: 0.5rem; }

.event-card { background: var(--ink); color: var(--surface); border-radius: var(--radius-lg); padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; }
@media (min-width: 768px) { .event-card { padding: 2.5rem; } }
.event-card h3 { margin-top: 1.25rem; font-size: clamp(1.75rem, 2.6vw, 2.25rem); color: #fff; }
.event-date { margin-top: 0.75rem; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand-soft); }
.event-time { margin-top: 0.4rem; font-size: 1rem; font-weight: 600; color: var(--brand-soft); }
.event-card address { margin-top: 1.5rem; font-style: normal; font-size: 1rem; line-height: 1.7; color: rgba(255, 255, 255, 0.6); }
.event-card__foot { margin-top: 2.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 1.5rem; }
.event-card__foot p { font-size: 1rem; color: rgba(255, 255, 255, 0.55); }

.cards { display: grid; gap: 2rem; margin-top: 3rem; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { display: block; color: inherit; text-decoration: none; }
.card__media { border-radius: var(--radius); overflow: hidden; }
.card__media img { width: 100%; height: 16rem; object-fit: cover; transition: transform 0.7s ease; }
@media (min-width: 768px) { .card__media img { height: 18rem; } }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { border-bottom: 1px solid var(--hairline); padding: 1.25rem 0; }
.card__body h3 { font-size: 1.5rem; }
.card__body p { margin: 0.35rem 0 0; font-size: 1rem; color: var(--muted); }
.card__more { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-deep); }

.photo-lg { width: 100%; height: 22rem; border-radius: var(--radius-lg); object-fit: cover; }
@media (min-width: 768px) { .photo-lg { height: 29rem; } }
.caption { margin-top: 1rem; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #006e88; }
.signature { width: auto; height: 4rem; margin-top: 2rem; object-fit: contain; }

.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-top: 2.5rem; }
@media (min-width: 900px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-grid img { width: 100%; height: 14rem; border-radius: 1rem; object-fit: cover; }

.invite-actions { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .invite-actions { flex-direction: row; } }
@media (min-width: 1024px) { .invite-actions { flex-direction: column; } }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 62vh;
  overflow: hidden;
  background: radial-gradient(circle at 18% 18%, var(--brand) 0%, var(--brand-deep) 48%, var(--ink) 100%);
  color: #fff;
}
@media (min-width: 768px) { .page-hero { min-height: 72vh; } }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 16, 19, 0.95), rgba(11, 16, 19, 0.6) 45%, rgba(11, 16, 19, 0.25)); }
.page-hero__inner { position: relative; z-index: 1; padding-block: 7rem 3.5rem; }
@media (min-width: 768px) { .page-hero__inner { padding-block: 9rem 5rem; } }
.page-hero h1 { margin-top: 1.25rem; max-width: 60rem; color: #fff; font-size: clamp(2.5rem, 5.4vw, 5rem); line-height: 0.98; letter-spacing: -0.035em; }
.page-hero__lead { margin-top: 1.5rem; max-width: 48rem; font-size: 1.25rem; line-height: 1.7; color: rgba(255, 255, 255, 0.85); }

.ministry-badge { display: inline-flex; align-items: center; border-radius: 1rem; background: #fff; padding: 1rem 1.25rem; margin-bottom: 1.75rem; box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35); }
.ministry-badge img { height: 2.5rem; width: auto; object-fit: contain; }

/* ---------- Prose ---------- */
.prose { max-width: 52rem; }
.prose p { color: var(--body-text); line-height: 1.8; }
.prose h2 { margin: 2.5rem 0 1rem; font-size: clamp(1.75rem, 2.6vw, 2.25rem); }
.prose h3 { margin: 2rem 0 0.75rem; font-size: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.4rem; color: var(--body-text); }
.prose li { margin-bottom: 0.5rem; }
.prose blockquote { margin: 2rem 0; padding-left: 1.5rem; border-left: 4px solid var(--brand); font-family: var(--font-display); font-size: 1.4rem; line-height: 1.4; color: var(--ink); }
.prose img { margin: 2rem 0; border-radius: var(--radius); }
.prose a { color: var(--brand-deep); text-decoration: underline; }
.prose strong { color: var(--ink); }
.wp-block-button__link { border-radius: 999px !important; }

/* ---------- Archive / blog ---------- */
.archive-grid { display: grid; gap: 2.5rem; margin-top: 3rem; }
@media (min-width: 768px) { .archive-grid { grid-template-columns: repeat(2, 1fr); } }
.entry-card { overflow: hidden; background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius); }
.entry-card img { width: 100%; height: 15rem; object-fit: cover; }
.entry-card__body { padding: 1.5rem; }
.entry-card__body h2 { font-size: 1.5rem; }
.entry-card__body h2 a { text-decoration: none; }
.entry-date { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #006e88; }
.pagination { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 3rem; }
.pagination .page-numbers { padding: 0.5rem 1rem; border: 1px solid var(--hairline); border-radius: 999px; font-weight: 600; text-decoration: none; background: #fff; }
.pagination .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }

.notfound { display: flex; align-items: center; min-height: 60vh; text-align: center; }
.notfound h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.notfound p { margin-top: 1.5rem; color: var(--body-text); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding-top: 4rem; }
.footer-grid { display: grid; gap: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2.5rem; } }
.footer-logo { height: 3.5rem; width: 202px; object-fit: contain; }
.footer-intro { margin-top: 1.5rem; max-width: 20rem; font-size: 1rem; line-height: 1.7; color: rgba(255, 255, 255, 0.55); }
.footer h2 { font-family: var(--font-body); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand-soft); }
.footer ul { margin: 1.25rem 0 0; padding: 0; list-style: none; font-size: 1rem; }
.footer li { margin-bottom: 0.75rem; }
.footer a { color: rgba(255, 255, 255, 0.65); text-decoration: none; transition: color 0.2s ease; }
.footer a:hover { color: var(--brand-soft); }
.footer address { margin-top: 1.25rem; font-style: normal; font-size: 1rem; line-height: 1.7; color: rgba(255, 255, 255, 0.65); }
.footer .btn { margin-top: 1.5rem; width: 100%; }
.socials { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.socials a { display: inline-flex; align-items: center; justify-content: center; height: 2.5rem; width: 2.5rem; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 999px; font-size: 0.85rem; font-weight: 700; color: rgba(255, 255, 255, 0.6); }
.socials a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.footer-bottom { margin-top: 4rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom .container-x { display: flex; flex-direction: column; gap: 0.5rem; padding-block: 1.5rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.4); }
@media (min-width: 640px) { .footer-bottom .container-x { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- Forms (contact form plugins inherit this) ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], textarea, select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--hairline);
  border-radius: 0.9rem;
  background: #fff;
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
label { display: block; margin-bottom: 0.4rem; font-size: 1rem; font-weight: 600; }

/* ---------- Sticky header while scrolling ---------- */
.site-header { transition: background-color 0.3s ease, box-shadow 0.3s ease; }
.site-header.is-scrolled {
  background: rgba(11, 16, 19, var(--vpc-header-alpha, 0.75));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.site-header .topbar {
  overflow: hidden;
  max-height: 3.5rem;
  opacity: 1;
  transition: max-height 0.3s ease, opacity 0.25s ease;
}
body.vpc-hide-topbar .site-header.is-scrolled .topbar {
  max-height: 0;
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .site-header, .site-header .topbar { transition: none; }
}

/* ---------- Page builder blocks ---------- */
.gather-list a.gather { color: inherit; text-decoration: none; }
.gather-list a.gather:hover h3 { color: var(--brand-deep); }
.vpc-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }
.vpc-figure { margin: 0; }
.vpc-figure img { display: block; width: 100%; }
.vpc-quote { margin: 0; max-width: 54rem; }
.vpc-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1.28;
  color: var(--surface);
}
.vpc-quote .caption { margin-top: 1rem; color: var(--brand-soft); }
/* Social feed grid — photos framed exactly like the rest of the site, shaped by
   the block's columns, rows, corners and gap. */
.feed-grid { display: grid; gap: 1rem; margin-top: 2.5rem; }
.feed-grid--cols-1 { grid-template-columns: minmax(0, 1fr); }
.feed-grid--cols-2,
.feed-grid--cols-3,
.feed-grid--cols-4,
.feed-grid--cols-5,
.feed-grid--cols-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) {
  .feed-grid--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feed-grid--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .feed-grid--cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .feed-grid--cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.feed-grid--gap-tight { gap: 0.5rem; }
.feed-grid--gap-normal { gap: 1rem; }
.feed-grid--gap-wide { gap: 1.75rem; }
.feed-grid--corners-none { --feed-radius: 0; }
.feed-grid--corners-small { --feed-radius: 0.5rem; }
.feed-grid--corners-medium { --feed-radius: 1rem; }
.feed-grid--corners-large { --feed-radius: 1.5rem; }
.feed-grid--corners-round { --feed-radius: 999px; }
.feed-item { position: relative; display: block; overflow: hidden; aspect-ratio: 1 / 1; border-radius: var(--feed-radius, 1.25rem); background: #dce8ea; text-decoration: none; }
.feed-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.feed-item:hover img { transform: scale(1.06); }
.feed-item__icon { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 1rem; color: #fff; background: linear-gradient(to top, rgba(11, 16, 19, 0.72), rgba(11, 16, 19, 0) 62%); opacity: 0; transition: opacity 0.3s ease; }
.feed-item__icon svg { width: 26px; height: 26px; }
.feed-item:hover .feed-item__icon,
.feed-item:focus-visible .feed-item__icon { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .feed-item img { transition: none; }
  .feed-item:hover img { transform: none; }
}
.vpc-embed iframe { display: block; width: 100%; border: 0; border-radius: 1rem; }
.vpc-embed--instagram iframe, .vpc-embed--facebook iframe { height: 640px; }