/*
Theme Name: Gainesville Church Modern
Theme URI: https://www.gainesville.church/
Author: Gainesville Church of God
Description: A photo-forward, modern WordPress theme for Gainesville Church of God with Gutenberg-editable photography, centrally managed service times, and built-in Planning Center Calendar synchronization and manual events.
Version: 12.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: gcog-modern
*/

:root {
  --gcog-black: #090909;
  --gcog-ink: #111111;
  --gcog-soft-ink: #4b4b4b;
  --gcog-white: #ffffff;
  --gcog-cream: #f2f0eb;
  --gcog-line: #d8d5ce;
  --gcog-accent: #208c20;
  --gcog-max: 1360px;
  --gcog-body: "DM Sans", Inter, Aptos, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --gcog-display: "Oswald", "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--gcog-white);
  color: var(--gcog-ink);
  font-family: var(--gcog-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.gcog-container { width: min(calc(100% - 64px), var(--gcog-max)); margin-inline: auto; }
.gcog-section { padding: clamp(90px, 10vw, 160px) 0; }
.gcog-section--black { background: var(--gcog-black); color: var(--gcog-white); }

h1, h2, h3, h4 { margin: 0; }
h1, h2, h3, .site-footer__brand {
  font-family: var(--gcog-display);
  font-weight: 700;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
p { margin-top: 0; }

.gcog-kicker {
  margin: 0 0 20px;
  color: var(--gcog-soft-ink);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.gcog-kicker--light { color: rgba(255,255,255,.58); }

.gcog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 13px 21px;
  border: 1px solid transparent;
  background: var(--gcog-black);
  color: var(--gcog-white);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.gcog-btn:hover { background: var(--gcog-accent); color: #fff; transform: translateY(-1px); }
.gcog-btn--light { background: #fff; color: #111; }
.gcog-btn--light:hover { background: var(--gcog-accent); color: #fff; }
.gcog-btn--dark { background: #111; color: #fff; }
.gcog-btn--header { min-height: 44px; padding: 10px 16px; }

.gcog-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.gcog-arrow-link span { transition: transform .2s ease; }
.gcog-arrow-link:hover span { transform: translateX(4px); }
.gcog-arrow-link--light { color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid rgba(0,0,0,.09);
  backdrop-filter: blur(14px);
}
.site-header__inner { min-height: 84px; display: flex; align-items: center; gap: 34px; }
.site-branding { flex: 0 0 auto; }
.site-branding .custom-logo { max-height: 56px; width: auto; }
.site-branding__logo { display: block; width: clamp(210px, 18vw, 280px); text-decoration: none; }
.site-branding__logo img { width: 100%; height: auto; }
.site-branding__text { display: inline-flex; align-items: baseline; gap: 7px; color: #111; text-decoration: none; }
.site-branding__text strong, .site-branding__text span { font-family: var(--gcog-display); font-size: 1.32rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.site-branding__text span { color: var(--gcog-accent); }
.site-nav { margin-left: auto; }
.site-nav .menu, .site-nav ul { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.site-nav li { position: relative; }
.site-nav a { color: #111; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--gcog-accent); }
.site-nav .sub-menu { display: none; position: absolute; top: calc(100% + 16px); left: -18px; min-width: 220px; padding: 10px; background: #fff; border: 1px solid #e4e4e4; box-shadow: 0 20px 50px rgba(0,0,0,.12); }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { display: block; }
.site-nav .sub-menu a { display: block; padding: 9px 10px; }
.site-nav .sub-menu a:hover { background: #f5f5f5; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-link { font-size: .74rem; font-weight: 850; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.menu-toggle { display: none; width: 42px; border: 0; padding: 7px; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 100%; height: 2px; margin: 6px 0; background: #111; }

/* Hero */
.gcog-hero {
  position: relative;
  min-height: min(840px, calc(100vh - 84px));
  overflow: hidden;
  background: #292929;
  background-image: var(--gcog-hero-image, linear-gradient(135deg, #141414 0%, #3e3e3e 52%, #111 100%));
  background-position: center 48%;
  background-size: cover;
  color: #fff;
}
.gcog-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.18) 38%, rgba(0,0,0,.72) 100%); }
.gcog-hero__inner { position: relative; z-index: 2; min-height: inherit; display: flex; flex-direction: column; justify-content: space-between; padding-block: 34px 42px; }
.gcog-hero__topline { display: flex; justify-content: space-between; gap: 20px; font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.gcog-hero__content { margin-top: auto; }
.gcog-hero h1 { max-width: 1250px; font-size: clamp(6rem, 14vw, 13rem); line-height: .79; letter-spacing: -.055em; }
.gcog-hero__bottom { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: end; margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.4); }
.gcog-hero__bottom > p { max-width: 560px; margin: 0; font-size: clamp(1.25rem, 2vw, 1.8rem); font-weight: 600; }
.gcog-hero__actions { display: flex; align-items: center; gap: 24px; }

/* Service band */
.gcog-gather-bar { background: var(--gcog-accent); color: #fff; }
.gcog-gather-bar__inner { min-height: 92px; display: grid; grid-template-columns: .7fr 2fr auto; gap: 30px; align-items: center; }
.gcog-gather-bar__label, .gcog-gather-bar a { font-size: .7rem; font-weight: 850; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; }
.gcog-gather-bar__times { display: flex; gap: 34px; font-family: var(--gcog-display); font-size: clamp(1.25rem, 2.2vw, 2rem); font-weight: 700; letter-spacing: -.02em; text-transform: uppercase; }
.gcog-gather-bar a { justify-self: end; border-bottom: 1px solid rgba(255,255,255,.7); padding-bottom: 4px; }

/* Mission statement */
.gcog-statement { background: var(--gcog-cream); }
.gcog-statement h2 { max-width: 1260px; font-size: clamp(3.4rem, 7.5vw, 7.6rem); line-height: .93; }
.gcog-statement__footer { display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: end; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--gcog-line); }
.gcog-statement__footer p { max-width: 760px; margin: 0; color: var(--gcog-soft-ink); font-size: 1.05rem; }

/* Life at Gainesville photo story */
.gcog-life { background: #fff; }
.gcog-life__heading { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(36px, 7vw, 110px); align-items: end; margin-bottom: 52px; }
.gcog-life__heading h2 { max-width: 950px; font-size: clamp(4rem, 8vw, 8rem); line-height: .84; }
.gcog-life__heading > p { max-width: 500px; margin: 0 0 8px; color: var(--gcog-soft-ink); font-size: 1.05rem; }
.gcog-life__grid { display: grid; grid-template-columns: 1.5fr .75fr .75fr; gap: 12px; align-items: stretch; }
.gcog-life__photo { position: relative; min-height: 620px; overflow: hidden; background-color: #333; background-image: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.58)), var(--gcog-life-image, linear-gradient(135deg,#666,#222)); background-size: cover; background-position: center; }
.gcog-life__photo::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(0,0,0,.08); pointer-events: none; }
.gcog-life__photo span { position: absolute; z-index: 2; left: 22px; bottom: 22px; color: #fff; font-size: .68rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.gcog-life__photo--wide { background-position: center 44%; }
.gcog-life__photo--portrait { min-height: 620px; }

/* First-time feature */
.gcog-feature { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 780px; background: #fff; }
.gcog-feature__media { position: relative; min-height: 680px; overflow: hidden; background: #777; background-image: var(--gcog-section-image, linear-gradient(145deg, #777, #282828)); background-size: cover; background-position: center; }
.gcog-feature__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.36), transparent 48%); }
.gcog-feature__word { position: absolute; z-index: 2; left: -8px; bottom: -24px; color: rgba(255,255,255,.92); font-family: var(--gcog-display); font-size: clamp(5rem, 12vw, 12rem); font-weight: 700; letter-spacing: -.06em; line-height: .8; text-transform: uppercase; }
.gcog-feature__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(54px, 7vw, 104px); }
.gcog-feature__copy h2 { max-width: 650px; font-size: clamp(3rem, 5vw, 5.6rem); line-height: .91; }
.gcog-feature__copy > p:not(.gcog-kicker) { max-width: 610px; margin: 28px 0 34px; color: var(--gcog-soft-ink); font-size: 1.08rem; }
.gcog-feature__service-list { margin-bottom: 34px; border-top: 1px solid var(--gcog-line); }
.gcog-feature__service-list div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--gcog-line); }
.gcog-feature__service-list span { color: var(--gcog-soft-ink); font-size: .7rem; font-weight: 850; letter-spacing: .14em; }
.gcog-feature__service-list strong { font-size: .95rem; }
.gcog-feature__copy .gcog-btn { align-self: flex-start; }

/* Connect tiles */
.gcog-places__heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: end; margin-bottom: 54px; }
.gcog-places__heading .gcog-kicker { grid-column: 1 / -1; }
.gcog-places__heading h2 { font-size: clamp(4.2rem, 9vw, 9rem); line-height: .82; }
.gcog-places__heading > p:last-child { margin: 0 0 8px; color: rgba(255,255,255,.64); font-size: 1rem; }
.gcog-places__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gcog-place-card { position: relative; min-height: 590px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 24px; background-color: #202020; background-image: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.78)), var(--gcog-card-image, linear-gradient(140deg,#444,#151515)); background-position: center; background-size: cover; color: #fff; text-decoration: none; }
.gcog-place-card::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.18); pointer-events: none; }
.gcog-place-card > * { position: relative; z-index: 2; }
.gcog-place-card__index, .gcog-place-card div > span { font-size: .66rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.gcog-place-card h3 { margin-top: 6px; font-size: clamp(4rem, 7vw, 7rem); line-height: .82; }
.gcog-place-card { transition: filter .25s ease; }
.gcog-place-card:hover { filter: brightness(1.08); color: #fff; }
.gcog-place-card--kids { background-color: #49413b; }
.gcog-place-card--youth { background-color: #26282c; }
.gcog-place-card--groups { background-color: #5a5143; }
.gcog-places__footer { display: flex; gap: 34px; margin-top: 32px; }

/* Events */
.gcog-events { background: #fff; }
.gcog-editorial-heading { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-bottom: 52px; }
.gcog-editorial-heading h2 { max-width: 980px; font-size: clamp(4rem, 8vw, 8rem); line-height: .84; }
.gcog-event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.gcog-event-card { display: block; color: #111; text-decoration: none; }
.gcog-event-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #dedbd5; }
.gcog-event-card__media::before { content: "EVENT"; position: absolute; z-index: 0; inset: 50% auto auto 50%; transform: translate(-50%,-50%); color: rgba(0,0,0,.12); font-family: var(--gcog-display); font-size: 4rem; font-weight: 700; }
.gcog-event-card__media img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .45s ease; }
.gcog-event-card:hover img { transform: scale(1.035); }
.gcog-event-card__date { position: absolute; z-index: 3; left: 16px; top: 16px; padding: 8px 10px; background: #fff; color: #111; font-size: .68rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.gcog-event-card__content { padding: 20px 0 0; }
.gcog-event-card h3 { font-size: clamp(2rem, 3vw, 3rem); line-height: .93; }
.gcog-event-card__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; color: var(--gcog-soft-ink); font-size: .82rem; }
.gcog-event-card__link { display: inline-block; margin-top: 18px; border-bottom: 1px solid #111; font-size: .7rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.gcog-event-empty { grid-column: 1 / -1; display: grid; gap: 8px; padding: 60px 28px; border-top: 1px solid var(--gcog-line); border-bottom: 1px solid var(--gcog-line); text-align: center; }
.gcog-event-empty strong { font-family: var(--gcog-display); font-size: 2.2rem; text-transform: uppercase; }
.gcog-event-empty span { color: var(--gcog-soft-ink); }
.gcog-single-event-image { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; margin-bottom: 32px; background: #dedbd5; }
.gcog-single-event-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* Belong section */
.gcog-belong { display: grid; grid-template-columns: 1fr 1fr; min-height: 720px; background: #111; color: #fff; }
.gcog-belong__media { min-height: 600px; background: #3a3a3a; background-image: var(--gcog-section-image, linear-gradient(130deg,#4b4b4b,#171717)); background-size: cover; background-position: center; }
.gcog-belong__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(54px, 7vw, 110px); }
.gcog-belong__content h2 { max-width: 650px; font-size: clamp(4.5rem, 8vw, 8rem); line-height: .82; }
.gcog-belong__content > p:not(.gcog-kicker) { max-width: 560px; margin: 34px 0; color: rgba(255,255,255,.7); font-size: 1.06rem; }
.gcog-belong__links { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }

/* Visit */
.gcog-visit { background: var(--gcog-accent); color: #fff; }
.gcog-visit .gcog-kicker { color: rgba(255,255,255,.65); }
.gcog-visit__grid { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(50px, 8vw, 120px); }
.gcog-visit h2 { max-width: 760px; font-size: clamp(4.8rem, 10vw, 10rem); line-height: .82; }
.gcog-visit__details { border-top: 1px solid rgba(255,255,255,.5); }
.gcog-visit__details > div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.5); }
.gcog-visit__details span { font-size: .68rem; font-weight: 850; letter-spacing: .15em; }
.gcog-visit__details strong { font-size: 1rem; }
.gcog-visit__details .gcog-btn { margin-top: 34px; }

/* Footer */
.site-footer { background: var(--gcog-black); color: #fff; padding: 86px 0 26px; }
.site-footer__hero { display: grid; grid-template-columns: 1.5fr .5fr; gap: 50px; align-items: end; padding-bottom: 68px; border-bottom: 1px solid rgba(255,255,255,.18); }
.site-footer__brand { font-size: clamp(5rem, 11vw, 10.5rem); line-height: .75; }
.site-footer__hero p { max-width: 330px; margin: 0 0 8px; color: rgba(255,255,255,.68); font-size: 1.05rem; }
.site-footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; padding: 48px 0; }
.site-footer__label { display: block; margin-bottom: 12px; color: rgba(255,255,255,.42); font-size: .65rem; font-weight: 850; letter-spacing: .16em; }
.site-footer p, .site-footer address { margin: 0 0 9px; color: rgba(255,255,255,.78); font-style: normal; }
.site-footer a { color: rgba(255,255,255,.86); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.gcog-socials { display: grid; gap: 8px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.42); font-size: .7rem; }
.site-footer__bottom a { color: rgba(255,255,255,.65); }

/* Inner pages */
.gcog-page-hero { padding: clamp(100px, 10vw, 150px) 0 72px; background: var(--gcog-black); color: #fff; }
.gcog-page-hero .gcog-eyebrow { margin: 0 0 18px; color: rgba(255,255,255,.5); font-size: .7rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.gcog-page-hero h1 { max-width: 1200px; font-size: clamp(4rem, 9vw, 9rem); line-height: .82; }
.gcog-content { padding: 80px 0 120px; overflow: hidden; }
.gcog-content__inner { width: 100%; }
.gcog-content__inner > :where(p,h2,h3,h4,ul,ol,blockquote,.wp-block-buttons,.wp-block-shortcode):not(.alignwide):not(.alignfull) { width: min(100%, 900px); margin-left: auto; margin-right: auto; }
.gcog-content__inner h2 { margin-top: 1.5em; margin-bottom: .5em; font-size: clamp(2.8rem, 5vw, 4.8rem); line-height: .94; }
.gcog-content__inner h3 { margin-top: 1.3em; margin-bottom: .5em; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: .96; }
.gcog-content__inner a { color: var(--gcog-accent); }
.gcog-content__inner .alignwide { width: min(1200px, calc(100vw - 64px)); max-width: none; margin-left: auto; margin-right: auto; }
.gcog-content__inner .alignfull { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
.gcog-page-lede { margin-top: 0 !important; margin-bottom: 64px !important; color: var(--gcog-soft-ink); font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1.4; }
.gcog-editorial-image { margin-top: 56px !important; margin-bottom: 90px !important; }
.gcog-editorial-image img { width: 100%; max-height: 760px; object-fit: cover; }
.gcog-page-band { margin-top: 90px !important; margin-bottom: 90px !important; padding: clamp(48px, 6vw, 82px); background: var(--gcog-cream); }
.gcog-page-band h2 { margin-top: 0; max-width: 1000px; }
.gcog-page-band > * { max-width: 960px; }
.gcog-page-cards { gap: 0 !important; margin-top: 34px !important; margin-bottom: 90px !important; border-top: 1px solid var(--gcog-line); border-left: 1px solid var(--gcog-line); }
.gcog-page-card { min-width: 0; padding: clamp(28px, 3.5vw, 46px) !important; border-right: 1px solid var(--gcog-line); border-bottom: 1px solid var(--gcog-line); }
.gcog-content__inner .gcog-page-card h3 { margin: 18px 0 16px; font-size: clamp(2rem, 3vw, 3.1rem); }
.gcog-page-card p { color: var(--gcog-soft-ink); }
.gcog-page-card__number { margin: 0 !important; color: var(--gcog-accent) !important; font-size: .72rem; font-weight: 850; letter-spacing: .16em; }
.gcog-page-card__link { margin-top: 24px !important; }
.gcog-page-card__link a { color: var(--gcog-ink) !important; font-size: .72rem; font-weight: 850; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; border-bottom: 1px solid currentColor; }
.gcog-content__inner .gcog-page-buttons { margin-top: 38px; margin-bottom: 72px; gap: 12px; }
.gcog-content__inner .wp-block-button__link { display: inline-flex; align-items: center; min-height: 52px; padding: 14px 22px; border: 1px solid var(--gcog-black); border-radius: 0; background: var(--gcog-black); color: #fff !important; font-size: .75rem; font-weight: 850; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.gcog-content__inner .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--gcog-black) !important; }
.gcog-page-quote { margin-top: 70px !important; margin-bottom: 70px !important; padding: clamp(34px, 5vw, 58px) !important; border: 0 !important; background: var(--gcog-black); color: #fff !important; font-family: var(--gcog-display); font-size: clamp(2rem, 4vw, 4rem) !important; line-height: 1 !important; text-transform: uppercase; }
.gcog-page-quote p { margin: 0; }
.gcog-page-callout { margin-top: 90px !important; padding: clamp(46px, 6vw, 80px); background: var(--gcog-accent); color: #fff; }
.gcog-page-callout h2 { margin-top: 0; }
.gcog-page-callout p { max-width: 760px; }
.gcog-page-callout .wp-block-button__link { background: #fff; border-color: #fff; color: var(--gcog-black) !important; }
.gcog-dynamic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; width: min(1200px, calc(100vw - 64px)); margin: 46px auto 76px; border-top: 1px solid var(--gcog-line); border-left: 1px solid var(--gcog-line); }
.gcog-dynamic-card { min-height: 160px; padding: 30px; border-right: 1px solid var(--gcog-line); border-bottom: 1px solid var(--gcog-line); }
.gcog-dynamic-card > span { display: block; margin-bottom: 14px; color: var(--gcog-soft-ink); font-size: .7rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.gcog-dynamic-card strong { display: block; color: var(--gcog-ink); font-size: 1.05rem; }
.gcog-dynamic-card strong a { color: inherit; text-decoration: none; }
.gcog-dynamic-card > a { display: inline-block; margin-top: 22px; color: var(--gcog-ink) !important; font-size: .72rem; font-weight: 850; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; border-bottom: 1px solid currentColor; }
.gcog-event-grid--page { width: min(1200px, calc(100vw - 64px)); margin: 40px auto 90px; }
.gcog-admin-inline-note { max-width: 900px; margin: 24px 0; padding: 14px 18px; border-left: 4px solid var(--gcog-accent); background: #fff; color: var(--gcog-soft-ink); font-size: .9rem; }

.gcog-archive-head { padding: 100px 0 56px; background: var(--gcog-black); color: #fff; }
.gcog-archive-head .gcog-eyebrow { color: rgba(255,255,255,.55); font-size: .7rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.gcog-archive-head h1 { font-size: clamp(4.5rem, 10vw, 9rem) !important; line-height: .82; }
.gcog-archive-head .gcog-lead { color: rgba(255,255,255,.65); }
.gcog-events-archive { min-height: 60vh; }
.gcog-events-archive > .gcog-container { padding-block: 70px 120px; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { width: auto; height: auto; clip: auto; margin: 0; padding: 12px; z-index: 100000; background: #fff; color: #000; }

@media (max-width: 1080px) {
  .site-nav, .header-link { display: none; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: block; }
  .site-header.is-open .site-nav { display: block; position: absolute; top: 100%; left: 0; right: 0; padding: 18px 32px 28px; background: #fff; border-top: 1px solid #ddd; box-shadow: 0 25px 50px rgba(0,0,0,.12); }
  .site-header.is-open .site-nav ul, .site-header.is-open .site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .site-header.is-open .site-nav li { border-bottom: 1px solid #e6e6e6; }
  .site-header.is-open .site-nav a { display: block; padding: 13px 0; }
  .site-header.is-open .site-nav .sub-menu { position: static; display: block; padding: 0 0 10px 14px; border: 0; box-shadow: none; }
  .gcog-life__heading { grid-template-columns: 1fr; }
  .gcog-life__grid { grid-template-columns: 1.3fr .7fr; }
  .gcog-life__photo--wide { grid-column: 1 / -1; min-height: 560px; }
  .gcog-feature { grid-template-columns: 1fr; }
  .gcog-feature__media { min-height: 620px; }
  .gcog-places__grid { grid-template-columns: repeat(2, 1fr); }
  .gcog-place-card:last-child { grid-column: 1 / -1; min-height: 460px; }
  .gcog-event-grid { grid-template-columns: repeat(2, 1fr); }
  .gcog-belong { grid-template-columns: 1fr; }
  .gcog-belong__media { min-height: 620px; }
}

@media (max-width: 760px) {
  body.admin-bar .site-header { top: 46px; }
  .gcog-container { width: min(calc(100% - 30px), var(--gcog-max)); }
  .gcog-section { padding: 76px 0; }
  .site-header__inner { min-height: 72px; }
  .site-branding .custom-logo { max-height: 44px; max-width: 210px; }
  .site-branding__logo { width: 210px; }
  .gcog-btn--header { display: none; }
  .gcog-hero { min-height: 680px; }
  .gcog-hero__inner { padding-block: 24px 30px; }
  .gcog-hero__topline { font-size: .6rem; }
  .gcog-hero__topline span:last-child { display: none; }
  .gcog-hero h1 { font-size: clamp(5rem, 24vw, 8.5rem); }
  .gcog-hero__bottom { grid-template-columns: 1fr; gap: 22px; }
  .gcog-hero__actions { flex-wrap: wrap; }
  .gcog-gather-bar__inner { grid-template-columns: 1fr; gap: 10px; padding-block: 20px; }
  .gcog-gather-bar__times { flex-direction: column; gap: 2px; }
  .gcog-gather-bar a { justify-self: start; }
  .gcog-statement h2 { font-size: clamp(3rem, 15vw, 5.3rem); }
  .gcog-statement__footer { grid-template-columns: 1fr; }
  .gcog-life__heading { grid-template-columns: 1fr; margin-bottom: 34px; }
  .gcog-life__heading h2 { font-size: clamp(3.8rem, 18vw, 6.2rem); }
  .gcog-life__grid { grid-template-columns: 1fr; gap: 10px; }
  .gcog-life__photo, .gcog-life__photo--wide, .gcog-life__photo--portrait { grid-column: auto; min-height: 440px; }
  .gcog-feature__media { min-height: 470px; }
  .gcog-feature__copy { padding: 58px 24px; }
  .gcog-feature__copy h2 { font-size: clamp(3rem, 14vw, 5rem); }
  .gcog-feature__service-list div { grid-template-columns: 110px 1fr; }
  .gcog-places__heading { grid-template-columns: 1fr; }
  .gcog-places__heading .gcog-kicker { grid-column: auto; }
  .gcog-places__heading h2 { font-size: clamp(4rem, 20vw, 6.5rem); }
  .gcog-places__grid { grid-template-columns: 1fr; }
  .gcog-place-card, .gcog-place-card:last-child { grid-column: auto; min-height: 510px; }
  .gcog-places__footer { flex-direction: column; align-items: flex-start; }
  .gcog-editorial-heading { grid-template-columns: 1fr; }
  .gcog-editorial-heading h2 { font-size: clamp(4rem, 19vw, 6.6rem); }
  .gcog-event-grid { grid-template-columns: 1fr; gap: 42px; }
  .gcog-belong__media { min-height: 460px; }
  .gcog-belong__content { padding: 64px 24px; }
  .gcog-belong__content h2 { font-size: clamp(4.2rem, 20vw, 7rem); }
  .gcog-visit__grid { grid-template-columns: 1fr; }
  .gcog-visit h2 { font-size: clamp(4.5rem, 22vw, 7.6rem); }
  .gcog-visit__details > div { grid-template-columns: 100px 1fr; }
  .site-footer__hero, .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__hero { gap: 24px; }
  .site-footer__brand { font-size: clamp(4.5rem, 22vw, 7rem); }
  .site-footer__bottom { flex-direction: column; }
  .gcog-content { padding: 58px 0 90px; }
  .gcog-page-lede { margin-bottom: 42px !important; }
  .gcog-editorial-image { margin-top: 40px !important; margin-bottom: 58px !important; }
  .gcog-content__inner .alignwide, .gcog-dynamic-grid, .gcog-event-grid--page { width: calc(100vw - 30px); }
  .gcog-page-band, .gcog-page-callout { width: calc(100vw - 30px) !important; padding: 34px 24px; }
  .gcog-page-cards { display: block !important; }
  .gcog-page-card { min-height: 0; }
  .gcog-dynamic-grid { grid-template-columns: 1fr; }
  .gcog-content__inner .gcog-page-buttons { margin-bottom: 52px; }
}

/* -------------------------------------------------------------------------
   Gutenberg-editable homepage (v5)
   ------------------------------------------------------------------------- */
.gcog-home-editor-content { overflow: hidden; }
.gcog-home-editor-content > * { margin-top: 0; margin-bottom: 0; }
.gcog-home-editor-content .gcog-block-shell,
.gcog-home-editor-content .gcog-home-statement > *,
.gcog-home-editor-content .gcog-home-life > *,
.gcog-home-editor-content .gcog-home-places > *,
.gcog-home-editor-content .gcog-home-events > *,
.gcog-home-editor-content .gcog-home-visit > *,
.gcog-home-editor-content .gcog-home-service-band > * {
  width: min(calc(100% - 64px), var(--gcog-max));
  margin-left: auto;
  margin-right: auto;
}
.gcog-home-editor-content .gcog-page-buttons { gap: 12px; margin-top: 28px; }
.gcog-home-editor-content .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid var(--gcog-black);
  border-radius: 0;
  background: var(--gcog-black);
  color: #fff;
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.gcog-home-editor-content .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: inherit; border-color: currentColor; }
.gcog-block-hero { min-height: min(850px, calc(100vh - 84px)) !important; }
.gcog-block-hero .wp-block-cover__inner-container { width: 100%; }
.gcog-block-hero .gcog-block-shell { display: flex; min-height: min(760px, calc(100vh - 84px)); flex-direction: column; justify-content: flex-end; padding: 46px 0; }
.gcog-block-hero__title { max-width: 1250px; margin: 0 !important; color: #fff; font-size: clamp(6rem, 14vw, 13rem) !important; line-height: .79 !important; letter-spacing: -.055em !important; }
.gcog-block-hero__lead { max-width: 640px; margin: 28px 0 0 !important; color: #fff; font-size: clamp(1.25rem, 2vw, 1.8rem); font-weight: 600; }
.gcog-block-hero .gcog-page-buttons .wp-block-button__link { background: #fff; border-color: #fff; color: #111; }
.gcog-home-service-band { padding: 32px 0 18px; background: var(--gcog-accent); color: #fff; }
.gcog-home-service-band .gcog-dynamic-grid { margin-top: 12px; margin-bottom: 18px; border-color: rgba(255,255,255,.35); }
.gcog-home-service-band .gcog-dynamic-card { min-height: 100px; border-color: rgba(255,255,255,.35); }
.gcog-home-service-band .gcog-dynamic-card > span,
.gcog-home-service-band .gcog-dynamic-card strong,
.gcog-home-service-band .gcog-dynamic-card strong a { color: #fff; }
.gcog-home-statement { padding: clamp(90px, 10vw, 160px) 0; background: var(--gcog-cream); }
.gcog-home-display { max-width: 1260px; margin: 0 !important; font-size: clamp(3.7rem, 7.5vw, 7.7rem) !important; line-height: .91 !important; }
.gcog-home-copy { max-width: 780px; margin: 36px 0 0 !important; color: var(--gcog-soft-ink); font-size: 1.08rem; }
.gcog-home-life { padding: clamp(90px, 10vw, 150px) 0; background: #fff; }
.gcog-photo-story { width: min(1200px, calc(100vw - 64px)); margin-top: 48px !important; gap: 12px !important; }
.gcog-photo-story > .wp-block-column:first-child { flex-basis: 50% !important; }
.gcog-story-cover { overflow: hidden; }
.gcog-cover-label { position: absolute; left: 22px; bottom: 22px; margin: 0 !important; color: #fff; font-size: .68rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.gcog-home-feature { gap: 0 !important; margin: 0 !important; background: #fff; }
.gcog-home-feature > .wp-block-column { margin: 0 !important; }
.gcog-home-feature__image { height: 100%; margin: 0 !important; }
.gcog-home-feature__image img { width: 100%; height: 100%; min-height: 720px; object-fit: cover; }
.gcog-home-feature__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(54px, 7vw, 104px); }
.gcog-home-feature__copy h2 { max-width: 650px; font-size: clamp(3rem, 5vw, 5.6rem) !important; line-height: .91 !important; }
.gcog-home-feature__copy > p:not(.gcog-kicker) { max-width: 610px; margin: 28px 0 10px; color: var(--gcog-soft-ink); font-size: 1.08rem; }
.gcog-home-feature__copy .gcog-dynamic-grid { width: 100%; margin: 24px 0 16px; }
.gcog-home-places { padding: clamp(90px, 10vw, 160px) 0; background: var(--gcog-black); color: #fff; }
.gcog-home-places .gcog-home-copy { color: rgba(255,255,255,.65); }
.gcog-home-place-grid { width: min(1200px, calc(100vw - 64px)); margin-top: 48px !important; gap: 12px !important; }
.gcog-place-cover { overflow: hidden; }
.gcog-place-cover__title { margin: auto 0 20px !important; color: #fff; font-size: clamp(3.5rem, 6vw, 6.5rem) !important; line-height: .84 !important; }
.gcog-place-cover .wp-block-cover__inner-container { min-height: 490px; display: flex; flex-direction: column; justify-content: flex-end; }
.gcog-place-cover .gcog-cover-label { position: static; margin-bottom: auto !important; }
.gcog-place-cover .gcog-page-buttons { margin-top: 0; }
.gcog-place-cover .gcog-page-buttons .wp-block-button__link { background: #fff; border-color: #fff; color: #111; }
.gcog-home-places > .gcog-page-buttons .wp-block-button__link { background: #fff; border-color: #fff; color: #111; }
.gcog-home-places > .gcog-page-buttons .is-style-outline .wp-block-button__link { background: transparent; color: #fff; border-color: #fff; }
.gcog-home-events { padding: clamp(90px, 10vw, 150px) 0; background: #fff; }
.gcog-home-events .gcog-event-grid--page { margin-top: 48px; margin-bottom: 36px; }
.gcog-home-belong { gap: 0 !important; margin: 0 !important; background: #111; color: #fff; }
.gcog-home-belong > .wp-block-column { margin: 0 !important; }
.gcog-home-belong__image { height: 100%; margin: 0 !important; }
.gcog-home-belong__image img { width: 100%; height: 100%; min-height: 680px; object-fit: cover; }
.gcog-home-belong__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(54px, 7vw, 110px); }
.gcog-home-belong__copy h2 { max-width: 650px; font-size: clamp(4.5rem, 8vw, 8rem) !important; line-height: .82 !important; color: #fff; }
.gcog-home-belong__copy > p:not(.gcog-kicker) { max-width: 560px; margin: 34px 0 0; color: rgba(255,255,255,.7); font-size: 1.06rem; }
.gcog-home-belong__copy .gcog-page-buttons .wp-block-button__link { background: #fff; border-color: #fff; color: #111; }
.gcog-home-belong__copy .gcog-page-buttons .is-style-outline .wp-block-button__link { background: transparent; color: #fff; border-color: #fff; }
.gcog-home-visit { padding: clamp(90px, 10vw, 150px) 0; background: var(--gcog-accent); color: #fff; }
.gcog-home-visit .gcog-home-display { color: #fff; }
.gcog-home-visit .gcog-dynamic-grid { margin-top: 34px; margin-bottom: 22px; border-color: rgba(255,255,255,.35); }
.gcog-home-visit .gcog-dynamic-card { border-color: rgba(255,255,255,.35); }
.gcog-home-visit .gcog-dynamic-card > span,
.gcog-home-visit .gcog-dynamic-card strong,
.gcog-home-visit .gcog-dynamic-card strong a,
.gcog-home-visit .gcog-dynamic-card > a { color: #fff !important; }
.gcog-home-visit .gcog-page-buttons .wp-block-button__link { background: #111; border-color: #111; color: #fff; }

@media (max-width: 900px) {
  .gcog-photo-story,
  .gcog-home-place-grid { flex-wrap: wrap !important; }
  .gcog-photo-story > .wp-block-column,
  .gcog-home-place-grid > .wp-block-column { flex-basis: calc(50% - 6px) !important; }
  .gcog-photo-story > .wp-block-column:first-child { flex-basis: 100% !important; }
  .gcog-home-feature,
  .gcog-home-belong { flex-wrap: wrap !important; }
  .gcog-home-feature > .wp-block-column,
  .gcog-home-belong > .wp-block-column { flex-basis: 100% !important; }
  .gcog-home-feature__image img,
  .gcog-home-belong__image img { min-height: 520px; }
}

@media (max-width: 760px) {
  .gcog-home-editor-content .gcog-block-shell,
  .gcog-home-editor-content .gcog-home-statement > *,
  .gcog-home-editor-content .gcog-home-life > *,
  .gcog-home-editor-content .gcog-home-places > *,
  .gcog-home-editor-content .gcog-home-events > *,
  .gcog-home-editor-content .gcog-home-visit > *,
  .gcog-home-editor-content .gcog-home-service-band > *,
  .gcog-photo-story,
  .gcog-home-place-grid { width: calc(100% - 30px); }
  .gcog-block-hero { min-height: 680px !important; }
  .gcog-block-hero .gcog-block-shell { min-height: 620px; padding: 30px 0; }
  .gcog-block-hero__title { font-size: clamp(5rem, 24vw, 8.5rem) !important; }
  .gcog-home-display { font-size: clamp(3.4rem, 16vw, 5.5rem) !important; }
  .gcog-photo-story > .wp-block-column,
  .gcog-home-place-grid > .wp-block-column { flex-basis: 100% !important; }
  .gcog-story-cover,
  .gcog-place-cover { min-height: 440px !important; }
  .gcog-home-feature__image img,
  .gcog-home-belong__image img { min-height: 430px; }
  .gcog-home-feature__copy,
  .gcog-home-belong__copy { padding: 58px 24px; }
  .gcog-home-feature__copy h2 { font-size: clamp(3rem, 14vw, 5rem) !important; }
  .gcog-home-belong__copy h2 { font-size: clamp(4rem, 19vw, 6.6rem) !important; }
}
.gcog-admin-event-link { display: inline-block; margin-top: 18px; font-size: .72rem; font-weight: 850; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; border-bottom: 1px solid currentColor; }


/* v11 homepage repair / editorial line tuning */
.gcog-home-display br,
.gcog-home-feature__copy h2 br,
.gcog-home-belong__copy h2 br { display: block; content: ""; }
@media (min-width: 761px) {
  .gcog-home-statement .gcog-home-display { max-width: 1180px; }
  .gcog-home-life .gcog-home-display,
  .gcog-home-events .gcog-home-display { max-width: 920px; }
}
@media (max-width: 760px) {
  .gcog-home-statement .gcog-home-display { font-size: clamp(2.75rem, 14.5vw, 4.75rem) !important; line-height: .9 !important; }
  .gcog-home-life .gcog-home-display,
  .gcog-home-events .gcog-home-display,
  .gcog-home-visit .gcog-home-display { font-size: clamp(3rem, 15vw, 5rem) !important; line-height: .9 !important; }
}

/* v12 editorial text inset
   Keep photography/event grids wide, but pull major homepage copy away from the viewport edge. */
@media (min-width: 761px) {
  .gcog-home-editor-content .gcog-block-hero .gcog-block-shell,
  .gcog-home-editor-content .gcog-home-statement > .gcog-kicker,
  .gcog-home-editor-content .gcog-home-statement > .gcog-home-display,
  .gcog-home-editor-content .gcog-home-statement > .gcog-home-copy,
  .gcog-home-editor-content .gcog-home-statement > .gcog-page-buttons,
  .gcog-home-editor-content .gcog-home-life > .gcog-kicker,
  .gcog-home-editor-content .gcog-home-life > .gcog-home-display,
  .gcog-home-editor-content .gcog-home-places > .gcog-kicker,
  .gcog-home-editor-content .gcog-home-places > .gcog-home-display,
  .gcog-home-editor-content .gcog-home-places > .gcog-home-copy,
  .gcog-home-editor-content .gcog-home-places > .gcog-page-buttons,
  .gcog-home-editor-content .gcog-home-events > .gcog-kicker,
  .gcog-home-editor-content .gcog-home-events > .gcog-home-display,
  .gcog-home-editor-content .gcog-home-events > .gcog-page-buttons,
  .gcog-home-editor-content .gcog-home-visit > .gcog-kicker,
  .gcog-home-editor-content .gcog-home-visit > .gcog-home-display,
  .gcog-home-editor-content .gcog-home-visit > .gcog-dynamic-grid,
  .gcog-home-editor-content .gcog-home-visit > .gcog-page-buttons {
    width: min(calc(100% - 144px), var(--gcog-max));
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Preserve intentional top spacing after recentering blocks. */
  .gcog-home-editor-content .gcog-home-statement > .gcog-home-copy,
  .gcog-home-editor-content .gcog-home-places > .gcog-home-copy {
    margin-top: 36px !important;
  }

  .gcog-home-editor-content .gcog-home-statement > .gcog-page-buttons,
  .gcog-home-editor-content .gcog-home-places > .gcog-page-buttons,
  .gcog-home-editor-content .gcog-home-events > .gcog-page-buttons,
  .gcog-home-editor-content .gcog-home-visit > .gcog-page-buttons {
    margin-top: 28px !important;
  }

  .gcog-home-editor-content .gcog-home-visit > .gcog-dynamic-grid {
    margin-top: 34px !important;
    margin-bottom: 22px !important;
  }
}

@media (max-width: 760px) {
  .gcog-home-editor-content .gcog-block-hero .gcog-block-shell,
  .gcog-home-editor-content .gcog-home-statement > .gcog-kicker,
  .gcog-home-editor-content .gcog-home-statement > .gcog-home-display,
  .gcog-home-editor-content .gcog-home-statement > .gcog-home-copy,
  .gcog-home-editor-content .gcog-home-statement > .gcog-page-buttons,
  .gcog-home-editor-content .gcog-home-life > .gcog-kicker,
  .gcog-home-editor-content .gcog-home-life > .gcog-home-display,
  .gcog-home-editor-content .gcog-home-places > .gcog-kicker,
  .gcog-home-editor-content .gcog-home-places > .gcog-home-display,
  .gcog-home-editor-content .gcog-home-places > .gcog-home-copy,
  .gcog-home-editor-content .gcog-home-places > .gcog-page-buttons,
  .gcog-home-editor-content .gcog-home-events > .gcog-kicker,
  .gcog-home-editor-content .gcog-home-events > .gcog-home-display,
  .gcog-home-editor-content .gcog-home-events > .gcog-page-buttons,
  .gcog-home-editor-content .gcog-home-visit > .gcog-kicker,
  .gcog-home-editor-content .gcog-home-visit > .gcog-home-display,
  .gcog-home-editor-content .gcog-home-visit > .gcog-dynamic-grid,
  .gcog-home-editor-content .gcog-home-visit > .gcog-page-buttons {
    width: calc(100% - 48px);
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
