/* Patmos Church theme styles.
   Pages are built from core blocks; each section gets a "pt-…" class in
   Block → Advanced → Additional CSS class(es). This file gives those
   classes the Patmos look on the site and inside the editor. */

:root {
	--pt-navy: #011927;
	--pt-orange: #F97300;
	--pt-cream: #FFFBF5;
	--pt-ink: #1F2937;
	--pt-mist: #E5E7EB;
	--pt-px: 56px;  /* side padding */
	--pt-py: 96px;  /* section padding */
	--pt-ease: cubic-bezier(.22, .8, .24, 1);
	--pt-display: Anton, Impact, sans-serif;
}
@media (max-width: 1024px) { :root { --pt-px: 32px; --pt-py: 72px; } }
@media (max-width: 720px)  { :root { --pt-px: 20px; --pt-py: 56px; } }

/* ── Frame: the whole site sits in a 1280px column ───────────────────── */
body { margin: 0; -webkit-font-smoothing: antialiased; }
.wp-site-blocks { max-width: 1280px; margin: 0 auto; position: relative; background: var(--pt-cream); overflow-x: clip; }
body .wp-site-blocks > * { margin-block: 0; }
.pt-design { margin: 0; }
.pt-design > * { margin-block: 0 !important; }
img { max-width: 100%; height: auto; }
html { scroll-behavior: smooth; }
:where(h1, h2, h3, h4) { text-wrap: balance; margin-block: 0; }
.pt-grid.pt-grid.pt-grid > * { margin-block: 0; }

/* ── Type helpers (paragraph classes) ────────────────────────────────── */
.pt-eyebrow { font-size: 12px !important; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--pt-orange); line-height: 1.5; }
.pt-label   { font-size: 11px !important; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--pt-orange); line-height: 1.5; }
.pt-lead    { font-size: 18px; line-height: 1.65; max-width: 580px; }
.pt-stat    { font-size: 19px; font-weight: 600; line-height: 1.4; color: var(--pt-navy); }
.pt-refs    { font-size: 12px !important; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pt-navy); line-height: 1.6; }
.pt-small   { font-size: 13px; }
.pt-pull    { font-family: var(--pt-display); text-transform: uppercase; font-size: 26px; line-height: 1.1; color: var(--pt-navy); border-left: 4px solid var(--pt-orange); padding-left: 20px; }
.pt-eyebrow + :is(h1, h2, h3) { margin-top: 14px !important; }
.pt-meta    { font-size: 13px; font-weight: 600; color: var(--pt-navy); }

/* Heading sizes shrink on small screens automatically. */
.pt-size-112 { font-size: clamp(50px, 9.4vw, 112px) !important; line-height: .9 !important; }
.pt-size-96  { font-size: clamp(46px, 8vw, 96px) !important; line-height: .92 !important; }
.pt-size-80  { font-size: clamp(44px, 6.8vw, 80px) !important; line-height: .92 !important; }
.pt-size-72  { font-size: clamp(42px, 6.2vw, 72px) !important; }
.pt-size-64  { font-size: clamp(40px, 5.6vw, 64px) !important; }
.pt-size-56  { font-size: clamp(38px, 5vw, 56px) !important; }
.pt-size-52  { font-size: clamp(36px, 4.6vw, 52px) !important; line-height: 1 !important; }
.pt-size-48  { font-size: clamp(34px, 4.2vw, 48px) !important; }
.pt-size-40  { font-size: clamp(30px, 3.6vw, 40px) !important; line-height: 1 !important; }
.pt-size-30  { font-size: 30px !important; line-height: 1 !important; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.wp-block-button__link { text-decoration: none; transition: transform .25s var(--pt-ease), box-shadow .25s var(--pt-ease), background-color .2s, color .2s, border-color .2s; }
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(1, 25, 39, .55); }
.wp-block-button:not([class*="is-style-pt-"]) .wp-block-button__link:hover { color: var(--pt-navy); }
.is-style-pt-navy .wp-block-button__link { background: var(--pt-navy); color: var(--pt-cream); }
.is-style-pt-cream .wp-block-button__link { background: var(--pt-cream); color: var(--pt-navy); }
.is-style-pt-outline-dark .wp-block-button__link,
.is-style-pt-outline-light .wp-block-button__link,
.is-style-pt-outline-orange .wp-block-button__link { background: transparent; border: 2px solid currentColor; padding: 16px 26px; }
.is-style-pt-outline-dark .wp-block-button__link { color: var(--pt-navy); }
.is-style-pt-outline-light .wp-block-button__link { color: var(--pt-cream); }
.is-style-pt-outline-orange .wp-block-button__link { color: var(--pt-cream); border-color: var(--pt-orange); }
.is-style-pt-link .wp-block-button__link { background: none; color: var(--pt-navy); padding: 0 0 4px; font-size: 12px; border-bottom: 2px solid var(--pt-orange); }
.is-style-pt-link .wp-block-button__link:hover { transform: none; box-shadow: none; color: var(--pt-orange); padding-bottom: 7px; }
.pt-dark .is-style-pt-link .wp-block-button__link { color: var(--pt-cream); }
.wp-block-buttons { gap: 14px; align-items: center; }

/* ── Header / navigation ─────────────────────────────────────────────── */
.pt-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px var(--pt-px); background: var(--pt-navy); view-transition-name: pt-nav; }
.wp-site-blocks:has(.pt-hero) > header .pt-header,
.pt-header.is-overlay { position: absolute; top: 0; left: 0; right: 0; z-index: 20; background: transparent; }
.pt-header > * { margin: 0 !important; }
/* The header is its own layer (page transitions), so lift it above the page or the mobile menu opens underneath it. */
.wp-site-blocks > header { position: relative; z-index: 50; }
.pt-logo img { height: 54px !important; width: auto !important; display: block; transition: transform .4s var(--pt-ease); }
.pt-logo a:hover img { transform: scale(1.04); }
.pt-nav { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pt-cream); }
.pt-nav .wp-block-navigation__container { gap: 32px; }
.pt-nav .wp-block-navigation-item__content { color: var(--pt-cream); position: relative; padding-bottom: 6px !important; text-decoration: none; }
.pt-nav .wp-block-navigation-item__content::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--pt-orange); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--pt-ease); }
.pt-nav .wp-block-navigation-item__content:hover::after,
.pt-nav .current-menu-item > .wp-block-navigation-item__content::after,
.pt-nav [aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.pt-nav .wp-block-navigation-item__content:hover,
.pt-nav .current-menu-item > .wp-block-navigation-item__content,
.pt-nav [aria-current="page"] { color: var(--pt-orange); }
.pt-header .wp-block-buttons .wp-block-button__link { font-size: 12px; padding: 12px 22px; }
.pt-nav .pt-nav-give { display: none; }
.pt-nav .is-menu-open .pt-nav-give { display: block; }
.pt-toc-note { font-size: 13px; color: var(--pt-ink); padding: 10px 0; margin: 0; }

/* Mobile menu (core navigation overlay) in Patmos colors */
.pt-nav .wp-block-navigation__responsive-container-open { color: var(--pt-cream); }
.pt-nav .wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; }
.pt-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--pt-navy) !important; color: var(--pt-cream) !important; padding: 28px 24px; }
.pt-nav .is-menu-open .wp-block-navigation__responsive-container-close { color: var(--pt-cream); }
.pt-nav .is-menu-open .wp-block-navigation__responsive-container-close svg { width: 32px; height: 32px; }
.pt-nav .is-menu-open .wp-block-navigation__container { gap: 6px !important; margin-top: 48px; }
.pt-nav .is-menu-open .wp-block-navigation-item__content { font-family: var(--pt-display); font-weight: 400; font-size: clamp(40px, 11vw, 56px); letter-spacing: 0; line-height: 1.05; }
@media (max-width: 900px) {
	.pt-header { gap: 14px; }
	.pt-header .wp-block-buttons { order: 2; margin-left: auto !important; }
	.pt-header .pt-nav { order: 3; }
	.pt-logo img { height: 44px !important; }
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.pt-footer { padding: 56px var(--pt-px) 36px; border-top: 2px solid var(--pt-navy); }
.pt-footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
.pt-footer-cols p { font-size: 14px; line-height: 2; margin: 0; }
.pt-footer-cols p a { text-decoration: none; color: var(--pt-navy); display: block; }
.pt-footer-cols p a:hover { color: var(--pt-orange); }
.pt-footer-cols .pt-label { margin-bottom: 6px !important; }
.pt-footer-cols .pt-addr { line-height: 1.8; }
.pt-footer-cols .pt-addr a { display: inline; text-decoration: underline; }
.pt-footer-logo img { height: 120px !important; width: auto !important; }
.pt-footer-tag { font-size: 11px !important; letter-spacing: .2em; text-transform: uppercase; color: var(--pt-ink); line-height: 1.8 !important; margin-top: 18px !important; }
.pt-footer-bottom { margin-top: 40px !important; padding-top: 18px; border-top: 1px solid var(--pt-mist); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pt-footer-bottom p { margin: 0; font-size: 11px; }
@media (max-width: 900px) { .pt-footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pt-footer-cols { grid-template-columns: 1fr; } .pt-footer-logo img { height: 96px !important; } }

/* ── Section shells ──────────────────────────────────────────────────── */
.pt-section { padding: var(--pt-py) var(--pt-px); }
.pt-section.pt-tight-bottom { padding-bottom: 0; }
.pt-rule-top { border-top: 2px solid var(--pt-navy); }
.pt-rule-bottom { border-bottom: 2px solid var(--pt-navy); }
.pt-dark { background: var(--pt-navy); color: var(--pt-cream); }
.pt-dark :is(h1, h2, h3, h4) { color: var(--pt-cream); }
.pt-dark p:not(.pt-eyebrow):not(.pt-label):not(.pt-refs) { color: var(--pt-mist); }
.pt-dark .pt-refs, .pt-dark .pt-pull { color: var(--pt-cream); }
.pt-dark a:not(.wp-block-button__link) { color: var(--pt-cream); }
.pt-orange-bg { background: var(--pt-orange); color: var(--pt-navy); }
.pt-orange-bg .pt-eyebrow { color: var(--pt-navy); }
.pt-center { text-align: center; }
.pt-center > * { margin-left: auto !important; margin-right: auto !important; }
.pt-narrow { max-width: 900px; margin-left: auto !important; margin-right: auto !important; }
.pt-texture { position: relative; overflow: hidden; }
.pt-texture::before { content: ""; position: absolute; inset: 0; background: url(../images/texture.webp) 0 0 / 700px; opacity: .16; pointer-events: none; }
.pt-texture > * { position: relative; }

/* Title on the left, short paragraph on the right */
.pt-headrow { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 48px !important; }
.pt-headrow > p { max-width: 440px; font-size: 16px; }
.pt-headrow > * { margin: 0 !important; }

/* ── Page header: text left, photo right ─────────────────────────────── */
.pt-pagehead { display: grid; grid-template-columns: minmax(0, 1fr) 480px; min-height: 600px; }
.pt-pagehead > .wp-block-group { padding: 88px var(--pt-px); display: flex; flex-direction: column; justify-content: flex-end; }
.pt-pagehead > .wp-block-group > * { margin-block: 0; }
.pt-pagehead h1 { margin: 16px 0 28px !important; }
.pt-pagehead .wp-block-buttons { margin-top: 32px; }
.pt-fill { position: relative; overflow: hidden; margin: 0 !important; min-height: 280px; }
.pt-fill img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; }
.pt-pagehead .pt-fill img { animation: pt-settle 1.8s var(--pt-ease) both; }
.pt-pos-top img { object-position: center top; }
.pt-pos-30 img { object-position: center 30%; }
.pt-pos-40 img { object-position: center 40%; }
.pt-pos-45 img { object-position: center 45%; }
.pt-pos-60 img { object-position: center 60%; }
@media (max-width: 1024px) { .pt-pagehead { grid-template-columns: minmax(0, 1fr) 360px; min-height: 520px; } .pt-pagehead > .wp-block-group { padding: 64px var(--pt-px); } }
@media (max-width: 720px) {
	.pt-pagehead { grid-template-columns: 1fr; min-height: 0; }
	.pt-pagehead > .wp-block-group { padding: 44px var(--pt-px) 36px; }
	.pt-pagehead .pt-fill { height: 280px; }
	.pt-pagehead .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.pt-pagehead .wp-block-button__link { width: 100%; text-align: center; box-sizing: border-box; }
}

/* Simple header (Contact) */
.pt-simplehead { padding: 96px var(--pt-px) 64px; border-bottom: 2px solid var(--pt-navy); }
.pt-simplehead h1 { max-width: 900px; margin: 16px 0 24px !important; }
.pt-simplehead p.pt-lead { max-width: 620px; }
@media (max-width: 720px) { .pt-simplehead { padding: 48px var(--pt-px) 40px; } }

/* ── Home hero ───────────────────────────────────────────────────────── */
.pt-hero.wp-block-cover { min-height: 760px; padding: 0 var(--pt-px) 64px; align-items: flex-end; color: var(--pt-cream); }
.pt-hero .wp-block-cover__image-background { object-position: center 35%; animation: pt-settle 1.8s var(--pt-ease) both; }
.pt-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(1,25,39,.6) 0%, rgba(1,25,39,.25) 40%, rgba(1,25,39,.9) 100%) !important; opacity: 1 !important; }
.pt-hero .wp-block-cover__inner-container { width: 100%; max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.pt-hero .wp-block-cover__inner-container > * { margin: 0 !important; }
.pt-hero h1 { color: var(--pt-cream); margin: 16px 0 28px !important; }
.pt-hero-main { max-width: 760px; }
.pt-hero-main > * { margin-block: 0; }
.pt-hero-tag { font-size: 12px !important; letter-spacing: .2em; text-transform: uppercase; text-align: right; line-height: 1.9; font-weight: 600; flex: none; }
@media (max-width: 900px) { .pt-hero.wp-block-cover { min-height: 640px; } .pt-hero-tag { display: none; } }
@media (max-width: 720px) {
	.pt-hero.wp-block-cover { min-height: 88vh; padding-bottom: 40px; }
	.pt-hero .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.pt-hero .wp-block-button__link { width: 100%; text-align: center; box-sizing: border-box; }
}

/* ── Strips: a row of labelled facts or links between two rules ──────── */
.pt-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-top: 2px solid var(--pt-navy); border-bottom: 2px solid var(--pt-navy); }
.pt-strip.pt-no-top { border-top: 0; }
.pt-strip > * { padding: 40px 32px; border-right: 1px solid var(--pt-mist); position: relative; }
.pt-strip > :first-child { padding-left: var(--pt-px); }
.pt-strip > :last-child { padding-right: var(--pt-px); border-right: 0; }
.pt-strip > * > * { margin: 0; }
.pt-strip .pt-stat { margin-top: 10px; }
.pt-strip.pt-links > * { padding-top: 32px; padding-bottom: 32px; transition: background-color .25s ease; }
.pt-strip.pt-links > *:hover { background: #fff3e6; }
.pt-strip.pt-links .pt-stat a { color: var(--pt-navy); text-decoration: none; }
.pt-strip.pt-links .pt-stat a::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 900px) {
	.pt-strip { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
	.pt-strip > * { padding: 26px var(--pt-px) !important; border-bottom: 1px solid var(--pt-mist); }
	.pt-strip > :nth-child(2n) { border-right: 0; }
}
@media (max-width: 600px) {
	.pt-strip { grid-template-columns: 1fr; }
	.pt-strip > * { border-right: 0; padding: 22px var(--pt-px) !important; }
	.pt-strip > :last-child { border-bottom: 0; }
}

/* ── Two-column split ────────────────────────────────────────────────── */
.pt-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.pt-split.pt-wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.pt-split.pt-narrow-left { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.pt-split.pt-align-start { align-items: start; }
.pt-split.pt-align-stretch { align-items: stretch; }
.pt-split.pt-gap-lg { gap: 72px; }
.pt-split > .wp-block-group > * { margin-block: 0; }
.pt-split > .wp-block-group > * + * { margin-top: 20px; }
.pt-split h2 + * { margin-top: 22px !important; }
.pt-split .wp-block-buttons { margin-top: 28px !important; }
@media (max-width: 900px) { .pt-split, .pt-split.pt-wide-left, .pt-split.pt-narrow-left { grid-template-columns: 1fr; gap: 40px; } }

/* Photo beside text, edge to edge (Ministries) */
.pt-photosplit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pt-photosplit > .pt-fill { min-height: 560px; }
.pt-photosplit > .wp-block-group { padding: 88px var(--pt-px); display: flex; flex-direction: column; justify-content: center; }
.pt-photosplit > .wp-block-group > * { margin-block: 0; }
.pt-photosplit > .wp-block-group > * + * { margin-top: 18px; }
.pt-photosplit h2 + p { margin-top: 22px !important; }
.pt-photosplit .pt-pull { margin: 10px 0 14px !important; }
@media (max-width: 900px) {
	.pt-photosplit { grid-template-columns: 1fr; }
	.pt-photosplit > .pt-fill { min-height: 320px; order: -1; }
	.pt-photosplit > .wp-block-group { padding: 56px var(--pt-px); }
}

/* ── Latest message (Home) ───────────────────────────────────────────── */
.pt-video { position: relative; aspect-ratio: 16 / 9; background: var(--pt-navy); overflow: hidden; margin: 0 !important; }
.pt-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pt-sermon-heading > * { margin: 0; }
.pt-sermon-heading .pt-meta { margin-top: 14px; }
.pt-split .pt-eyebrow + .pt-sermon-heading { margin-top: 14px !important; }
.editor-styles-wrapper .pt-video iframe { pointer-events: none; }
.editor-styles-wrapper .pt-video > div, .editor-styles-wrapper .pt-video .components-placeholder { position: absolute; inset: 0; }

/* ── "Know / Live / Show" mini track (Home mission band) ─────────────── */
.pt-track3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255,251,245,.22); max-width: 820px; margin: 0 auto 44px !important; text-align: left; }
.pt-track3 > * { padding: 22px 22px 0; }
.pt-track3 > * + * { border-left: 1px solid rgba(255,251,245,.22); }
.pt-track3 > * > * { margin: 0; }
.pt-track3 h3 { font-size: 30px; line-height: 1; margin-top: 8px; }
.pt-mission h2 { margin: 18px 0 24px !important; }
.pt-mission .pt-lead { max-width: 620px; margin: 0 auto 32px !important; }
.pt-mission .wp-block-buttons { justify-content: center; }
@media (max-width: 720px) {
	.pt-track3 { grid-template-columns: 1fr; }
	.pt-track3 > * { padding: 16px 0; }
	.pt-track3 > * + * { border-left: 0; border-top: 1px solid rgba(255,251,245,.22); }
}

/* ── Photo tiles (Home "Find your place", Ministries) ───────────────── */
.pt-mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 16px; }
.pt-mosaic > :nth-child(1) { grid-column: span 5; grid-row: span 2; }
.pt-mosaic > :nth-child(2) { grid-column: span 4; grid-row: span 2; }
.pt-mosaic > :nth-child(n+3) { grid-column: span 3; }
.pt-tile.wp-block-cover { min-height: 0; height: 100%; padding: 20px; align-items: flex-end; justify-content: flex-start; overflow: hidden; color: var(--pt-cream); }
.pt-tile .wp-block-cover__background { background: linear-gradient(transparent 45%, rgba(1,25,39,.88)) !important; opacity: 1 !important; }
.pt-tile .wp-block-cover__image-background { transition: transform .9s var(--pt-ease), filter .6s ease; }
.pt-tile:hover .wp-block-cover__image-background { transform: scale(1.06); filter: saturate(1.08); }
.pt-tile .wp-block-cover__inner-container { width: 100%; position: static; }
.pt-tile .wp-block-cover__inner-container > * { margin: 0; position: relative; z-index: 2; }
.pt-tile h3 { color: var(--pt-cream); font-size: 32px; margin-top: 4px; }
.pt-tile h3 a { color: inherit; text-decoration: none; }
.pt-tile h3 a::after { content: ""; position: absolute; inset: -400px -40px -40px -40px; }
.pt-mosaic > :nth-child(n+3) h3 { font-size: 26px; }
.pt-tiles2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pt-tiles2 .pt-tile { height: 440px; padding: 22px; }
.pt-tiles2 .pt-tile h3 { font-size: 34px; }
@media (max-width: 900px) {
	.pt-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
	.pt-mosaic > :nth-child(n) { grid-column: span 1; grid-row: span 1; }
	.pt-mosaic > :nth-child(1) { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 600px) {
	.pt-mosaic { grid-template-columns: 1fr; grid-auto-rows: 220px; }
	.pt-mosaic > :nth-child(1) { grid-column: span 1; }
	.pt-tiles2 { grid-template-columns: 1fr; }
	.pt-tiles2 .pt-tile { height: 320px; }
}

/* ── Orange + navy call-to-action pair ───────────────────────────────── */
.pt-ctapair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pt-ctapair.pt-gap-top { margin-top: 80px !important; }
.pt-ctapair > * { padding: 64px var(--pt-px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.pt-ctapair.pt-tall > * { padding-top: 72px; padding-bottom: 72px; min-height: 340px; box-sizing: border-box; }
.pt-ctapair > * > * { margin: 0 !important; }
.pt-ctapair .wp-block-group > * { margin-block: 0; }
.pt-ctapair h2 { margin-top: 12px !important; }
.pt-ctapair .pt-stat { color: inherit; font-size: 16px; line-height: 1.5; margin-top: 16px !important; }
.pt-ctapair .pt-dark .pt-stat { color: var(--pt-mist); }
@media (max-width: 720px) { .pt-ctapair { grid-template-columns: 1fr; } .pt-ctapair > * { padding: 48px var(--pt-px) !important; min-height: 0 !important; } }

/* ── Numbered cards (What to expect, Discipleship track) ─────────────── */
.pt-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--pt-navy); counter-reset: pt-card; }
.pt-cards > * { counter-increment: pt-card; padding: 36px 32px 40px; border-right: 1px solid var(--pt-mist); border-bottom: 1px solid var(--pt-mist); }
.pt-cards > :nth-child(3n+1) { padding-left: 0; }
.pt-cards > :nth-child(3n) { padding-right: 0; border-right: 0; }
.pt-cards > :nth-last-child(-n+3):nth-child(3n+1),
.pt-cards > :nth-last-child(-n+3):nth-child(3n+1) ~ * { border-bottom: 0; }
.pt-cards > *::before { content: counter(pt-card, decimal-leading-zero); display: block; font-family: var(--pt-display); font-size: 36px; color: var(--pt-orange); line-height: 1; }
.pt-cards > * > * { margin-block: 0; }
.pt-cards h3 { font-size: 30px; margin: 14px 0 14px !important; }
.pt-cards p { font-size: 16px; line-height: 1.7; }
.pt-cards.pt-on-dark { border-top: 1px solid rgba(255,251,245,.25); }
.pt-cards.pt-on-dark > * { border-color: rgba(255,251,245,.25); border-bottom: 0; padding-bottom: 8px; }
.pt-cards.pt-on-dark > *::before { font-size: 44px; }
.pt-cards.pt-on-dark h3 { font-size: 40px; margin: 16px 0 6px !important; }
.pt-cards.pt-on-dark .pt-label { margin-bottom: 18px !important; }
@media (max-width: 1024px) {
	.pt-cards { grid-template-columns: 1fr 1fr; }
	.pt-cards > * { padding: 32px 24px !important; border-right: 1px solid var(--pt-mist) !important; border-bottom: 1px solid var(--pt-mist) !important; }
	.pt-cards > :nth-child(2n+1) { padding-left: 0 !important; }
	.pt-cards > :nth-child(2n) { padding-right: 0 !important; border-right: 0 !important; }
	.pt-cards.pt-on-dark { grid-template-columns: 1fr; }
	.pt-cards.pt-on-dark > * { padding: 28px 0 !important; border-right: 0 !important; border-color: rgba(255,251,245,.25) !important; }
}
@media (max-width: 720px) {
	.pt-cards { grid-template-columns: 1fr; }
	.pt-cards > * { padding: 28px 0 !important; border-right: 0 !important; }
}

/* "Read more" toggles (Details block) */
.pt-more { margin-top: 16px !important; }
.pt-more > summary {
	list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
	font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pt-cream);
	border-bottom: 2px solid var(--pt-orange); padding-bottom: 4px; margin-bottom: 18px; transition: color .2s ease;
}
.pt-more > summary::-webkit-details-marker { display: none; }
.pt-more > summary::after { content: "+"; font-size: 16px; line-height: 1; color: var(--pt-orange); transition: transform .3s var(--pt-ease); }
.pt-more[open] > summary::after { transform: rotate(45deg); }
.pt-more > summary:hover { color: var(--pt-orange); }
.pt-more > p { font-size: 16px; margin: 0 0 14px; }

/* ── Values accordion (About: Way Makers) ────────────────────────────── */
.pt-values { border-top: 2px solid var(--pt-navy); counter-reset: pt-value; }
.pt-values > * { margin: 0 !important; }
.pt-value { border-bottom: 1px solid var(--pt-mist); counter-increment: pt-value; }
.pt-value > summary {
	list-style: none; cursor: pointer; display: grid; grid-template-columns: 76px minmax(0, 1fr) minmax(0, 420px) 32px;
	align-items: center; gap: 0 20px; padding: 28px 0; transition: background-color .25s ease, padding .3s var(--pt-ease);
	font-family: var(--pt-display); text-transform: uppercase; font-size: 40px; line-height: 1; color: var(--pt-navy);
}
.pt-value > summary::-webkit-details-marker { display: none; }
.pt-value > summary::before { content: counter(pt-value, decimal-leading-zero); color: var(--pt-orange); }
.pt-value > summary::after { content: "+"; font-family: Montserrat, sans-serif; font-size: 28px; color: var(--pt-orange); justify-self: end; transition: transform .35s var(--pt-ease); grid-column: 4; grid-row: 1; }
.pt-value > summary em { grid-column: 3; font-family: Montserrat, sans-serif; text-transform: none; font-size: 15px; font-weight: 600; line-height: 1.4; }
.pt-value[open] > summary::after { transform: rotate(45deg); }
.pt-value > summary:hover { background: #fff3e6; padding-left: 14px; padding-right: 14px; }
.pt-value > :not(summary) { margin: 0 52px 16px 96px; max-width: 830px; }
.pt-value > :last-child { margin-bottom: 40px; }
.pt-value .pt-pull { margin-top: 26px; margin-bottom: 20px; }
@media (max-width: 900px) {
	.pt-value > summary { grid-template-columns: 48px minmax(0, 1fr) 28px; font-size: 30px; padding: 22px 0; }
	.pt-value > summary em { grid-column: 2; grid-row: 2; margin-top: 8px; }
	.pt-value > summary::after { grid-column: 3; }
	.pt-value > :not(summary) { margin-left: 68px; margin-right: 0; }
}
@media (max-width: 600px) {
	.pt-value > summary { grid-template-columns: 36px minmax(0, 1fr) 24px; gap: 0 12px; font-size: 24px; }
	.pt-value > :not(summary) { margin-left: 0; }
}

/* ── Pastor / leadership ─────────────────────────────────────────────── */
.pt-leader { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 64px; align-items: center; }
.pt-leader > * { margin: 0 !important; }
.pt-offset { position: relative; height: 480px; }
.pt-offset::before { content: ""; position: absolute; inset: 0; transform: translate(14px, 14px); background: var(--pt-orange); }
.pt-offset img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; object-position: center top; }
.pt-leader .wp-block-group > * { margin-block: 0; }
.pt-leader .wp-block-group > * + * { margin-top: 18px; }
.pt-leader .pt-label { color: var(--pt-navy); }
.pt-note { font-size: 13px; font-style: italic; }
@media (max-width: 900px) { .pt-leader { grid-template-columns: 1fr; gap: 40px; } .pt-offset { height: 400px; max-width: 360px; } }

/* Big quote */
.pt-quote { margin: 0 !important; padding: 4px 0 4px 24px; border-left: 4px solid var(--pt-orange); }
.pt-quote p { font-family: var(--pt-display); text-transform: uppercase; font-size: 30px; line-height: 1.05; color: var(--pt-navy); margin: 0; }
.pt-quote cite { display: block; font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pt-navy); margin-top: 12px; }
.pt-aside { font-size: 14px !important; line-height: 1.6; color: var(--pt-navy); padding-top: 18px; border-top: 1px solid var(--pt-mist); }
.pt-way p:not([class]) { font-size: 18px; line-height: 1.75; }

/* ── Statement of faith ──────────────────────────────────────────────── */
.pt-faith { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; padding-top: 72px; }
.pt-faith > * { margin: 0 !important; }
.pt-toc { position: sticky; top: calc(32px + var(--wp-admin--admin-bar--height, 0px)); align-self: start; display: flex; flex-direction: column; border-top: 2px solid var(--pt-navy); }
.pt-toc a { text-decoration: none; color: var(--pt-navy); font-size: 13px; font-weight: 600; padding: 10px 0; border-bottom: 1px solid var(--pt-mist); display: flex; gap: 12px; position: relative; transition: color .2s ease, padding-left .3s var(--pt-ease); }
.pt-toc a span { color: var(--pt-orange); font-family: var(--pt-display); font-weight: 400; width: 22px; flex: none; }
.pt-toc a:hover, .pt-toc a.pt-active { padding-left: 6px; }
.pt-toc a.pt-active { color: var(--pt-orange); }
.pt-beliefs { counter-reset: pt-belief; }
.pt-beliefs > * { margin: 0 !important; }
.pt-belief { counter-increment: pt-belief; padding: 0 0 40px 76px; margin-bottom: 40px !important; border-bottom: 1px solid var(--pt-mist); scroll-margin-top: 32px; position: relative; }
.pt-belief:last-child { border-bottom: 0; margin-bottom: 0 !important; }
.pt-belief::before { content: counter(pt-belief, decimal-leading-zero); position: absolute; left: 0; top: -6px; font-family: var(--pt-display); font-size: 40px; line-height: 1; color: var(--pt-orange); }
.pt-belief > * { margin-block: 0; }
.pt-belief h3 { margin-bottom: 18px; }
.pt-belief p { font-size: 17px; line-height: 1.75; margin-bottom: 14px; }
.pt-belief.pt-flash::before { animation: pt-pop .6s var(--pt-ease); }
@media (max-width: 900px) {
	.pt-faith { grid-template-columns: 1fr; gap: 24px; padding-top: 0; }
	.pt-toc { flex-direction: row; overflow-x: auto; gap: 8px; top: 0; z-index: 5; background: var(--pt-cream); padding: 12px 0; border-top: 0; border-bottom: 2px solid var(--pt-navy); scrollbar-width: none; margin: 0 calc(var(--pt-px) * -1) !important; padding-left: var(--pt-px); padding-right: var(--pt-px); }
	.pt-toc a { white-space: nowrap; border: 1px solid var(--pt-mist); padding: 8px 12px; }
	.pt-belief { padding-left: 56px; }
	.pt-belief::before { font-size: 32px; }
}

/* ── Contact form ────────────────────────────────────────────────────── */
.pt-form { display: flex; flex-direction: column; gap: 22px; }
.pt-form .pt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pt-form label { display: flex; flex-direction: column; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--pt-navy); }
.pt-form input, .pt-form select, .pt-form textarea {
	font-family: inherit; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--pt-ink);
	background: #fff; border: 2px solid var(--pt-navy); border-radius: 0; padding: 14px 16px; width: 100%; box-sizing: border-box;
	transition: border-color .2s ease, box-shadow .2s ease; -webkit-appearance: none; appearance: none;
}
.pt-form select {
	background-image: linear-gradient(45deg, transparent 50%, var(--pt-navy) 50%), linear-gradient(135deg, var(--pt-navy) 50%, transparent 50%);
	background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px;
}
.pt-form textarea { resize: vertical; min-height: 150px; }
.pt-form :is(input, select, textarea):focus { border-color: var(--pt-orange); box-shadow: 0 0 0 3px rgba(249,115,0,.18); outline: none; }
.pt-form button { font-family: inherit; cursor: pointer; border: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pt-navy); background: var(--pt-orange); padding: 18px 28px; align-self: flex-start; transition: transform .25s var(--pt-ease), box-shadow .25s var(--pt-ease); }
.pt-form button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(1, 25, 39, .55); }
.pt-form .pt-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.pt-form-msg { padding: 16px 18px; font-size: 15px; border-left: 4px solid var(--pt-orange); background: #fff3e6; color: var(--pt-navy); }
.pt-form-msg.is-error { border-color: #B42318; background: #fdecea; }
@media (max-width: 600px) { .pt-form .pt-row { grid-template-columns: 1fr; } .pt-form button { align-self: stretch; } }

.pt-facts { border-top: 2px solid var(--pt-navy); }
.pt-facts > * { margin: 0 !important; padding: 24px 0; border-bottom: 1px solid var(--pt-mist); }
.pt-facts > :last-child { border-bottom: 0; }
.pt-facts > * > * { margin-block: 0; }
.pt-facts .pt-stat { margin: 8px 0 10px; }

/* Map and giving embeds */
.pt-map { position: relative; min-height: 380px; background: var(--pt-mist); border: 2px solid var(--pt-navy); }
.pt-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
.pt-giveframe { background: #fff; border: 2px solid var(--pt-navy); }
.pt-giveframe iframe { display: block; width: 100%; height: 760px; border: 0; }

/* ── Ordinary pages and posts (made later by staff) ──────────────────── */
.pt-plain { padding: 72px var(--pt-px) 96px; }
.pt-plain > * { max-width: 760px; margin-left: auto !important; margin-right: auto !important; }
.pt-plain > .alignwide { max-width: 1168px; }
.pt-plain > .alignfull { max-width: none; margin-left: calc(var(--pt-px) * -1) !important; margin-right: calc(var(--pt-px) * -1) !important; }
.pt-plain .wp-block-post-title { font-size: clamp(46px, 8vw, 88px); line-height: .95; margin-bottom: 32px !important; }
.pt-plain .wp-block-post-content a { text-decoration: underline; text-decoration-color: var(--pt-orange); text-underline-offset: 3px; }
.pt-plain .wp-block-post-template { list-style: none; padding: 0; }
.pt-plain .wp-block-post-template > li { padding: 32px 0; border-bottom: 1px solid var(--pt-mist); }
.pt-plain .wp-block-post-template h2 { font-size: 40px; }
.pt-plain .wp-block-post-template h2 a { text-decoration: none; }

/* ── Motion ──────────────────────────────────────────────────────────── */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: pt-out .28s var(--pt-ease) both; }
::view-transition-new(root) { animation: pt-in .55s var(--pt-ease) .06s both; }
@keyframes pt-out { to { opacity: 0; transform: translateY(-18px) scale(.985); } }
@keyframes pt-in { from { opacity: 0; transform: translateY(28px); } }
@keyframes pt-rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes pt-settle { from { transform: scale(1.06); } }
@keyframes pt-pop { 40% { transform: scale(1.18); } }
.pt-hero-main > *, .pt-pagehead > .wp-block-group > * { animation: pt-rise .9s var(--pt-ease) both; }
.pt-hero-main > :nth-child(2), .pt-pagehead > .wp-block-group > :nth-child(2) { animation-delay: .15s; }
.pt-hero-main > :nth-child(n+3), .pt-pagehead > .wp-block-group > :nth-child(n+3) { animation-delay: .3s; }
.pt-reveal { opacity: 0; transform: translateY(32px); }
.pt-reveal.pt-in { opacity: 1; transform: none; transition: opacity .8s var(--pt-ease), transform .8s var(--pt-ease); transition-delay: var(--pt-delay, 0s); }
:is(a, button, summary, input, select, textarea):focus-visible { outline: 2px solid var(--pt-orange); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	.pt-reveal { opacity: 1; transform: none; }
}

/* In the editor: no entrance animations, and keep everything visible. */
.editor-styles-wrapper .is-root-container > .alignfull,
.editor-styles-wrapper .wp-block-post-content > .alignfull { margin-block: 0; }
.editor-styles-wrapper .is-root-container.wp-block-post-content { max-width: 1280px; margin-left: auto; margin-right: auto; }
.editor-styles-wrapper .pt-center > .wp-block { margin-left: auto !important; margin-right: auto !important; }
.editor-styles-wrapper .pt-reveal { opacity: 1; transform: none; }
.editor-styles-wrapper .pt-hero-main > *, .editor-styles-wrapper .pt-pagehead > .wp-block-group > * { animation: none; }
.editor-styles-wrapper .pt-value > :not(summary) { display: block; }
