:root {
	--churchschool-ink: #18312b;
	--churchschool-muted: #61716c;
	--churchschool-surface: #f4f8f6;
	--churchschool-line: #dbe6e1;
	--nextgen-navy: #102a43;
	--nextgen-blue: #2364aa;
	--nextgen-cyan: #16a9d3;
	--nextgen-text: #273746;
	--nextgen-muted: #667788;
	--nextgen-border: #dce6ed;
	--nextgen-icon-color: var(--nextgen-cyan);
	--nextgen-dept-icon-color: var(--nextgen-blue);
	--nextgen-dept-icon-hover: var(--nextgen-cyan);
}

html,
body {
	width: 100%;
	margin: 0;
	padding: 0;
}

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

.churchschool-site {
	min-height: 100vh;
	color: var(--churchschool-ink);
	background: #fff;
	font-family: "Montserrat", Arial, "Noto Sans KR", sans-serif;
}

.churchschool-site a { color: inherit; }
.churchschool-shell { width: min(100% - 40px, 1200px); margin-right: auto; margin-left: auto; }
.churchschool-skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; color: #fff; background: var(--churchschool-accent); transform: translateY(-150%); }
.churchschool-skip-link:focus { transform: translateY(0); }

.churchschool-header { position: relative; z-index: 20; border-bottom: 1px solid var(--churchschool-line); background: #fff; }
.churchschool-header__inner { display: flex; min-height: 76px; align-items: center; gap: 28px; }
.churchschool-brand { display: inline-flex; align-items: center; font-size: 21px; font-weight: 800; text-decoration: none; }
.churchschool-brand img { display: block; width: auto; max-width: 230px; max-height: 52px; object-fit: contain; }
.churchschool-nav { display: flex; margin-left: auto; align-items: center; gap: 24px; }
.churchschool-nav__list { display: flex; margin: 0; padding: 0; align-items: center; gap: 24px; list-style: none; }
.churchschool-nav__item { position: relative; }
.churchschool-nav__item > a { display: block; padding: 27px 0; font-size: 14px; font-weight: 700; text-decoration: none; }
.churchschool-nav__item.is-active > a { color: var(--churchschool-accent); }
.churchschool-nav__submenu { position: absolute; top: 100%; left: 50%; display: none; min-width: 210px; margin: 0; padding: 8px 0; background: #fff; border: 1px solid var(--churchschool-line); box-shadow: 0 14px 35px rgba(24,49,43,.12); list-style: none; transform: translateX(-50%); }
.churchschool-nav__item:hover .churchschool-nav__submenu,
.churchschool-nav__item:focus-within .churchschool-nav__submenu { display: block; }
.churchschool-nav__submenu a { display: block; padding: 10px 16px; text-decoration: none; white-space: nowrap; }
.churchschool-nav__submenu a:hover,
.churchschool-nav__submenu a:focus { color: var(--churchschool-accent); background: var(--churchschool-surface); }
.churchschool-nav__empty { margin: 0; color: var(--churchschool-muted); font-size: 13px; }
.churchschool-main-site-link { padding: 9px 13px; color: #fff !important; background: var(--churchschool-accent); border-radius: 4px; font-size: 13px; font-weight: 700; text-decoration: none; }
.churchschool-menu-toggle { display: none; min-width: 44px; min-height: 44px; margin-left: auto; padding: 0; color: #1D4882; background: transparent; border: 0; border-radius: 0; box-shadow: none; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; letter-spacing: .12em; cursor: pointer; }

.churchschool-hero { position: relative; height: 500px; color: #fff; background: #18312b; isolation: isolate; overflow: hidden; }
.churchschool-hero__media,
.churchschool-hero__shade { position: absolute; inset: 0; }
.churchschool-hero__media { z-index: -2; overflow: hidden; }
.churchschool-hero__video { position: absolute; top: 50%; left: 50%; width: max(100%, 888.89px); height: max(100%, 56.25vw); border: 0; pointer-events: none; transform: translate(-50%, -50%); }
.churchschool-hero__shade { z-index: -1; background: rgba(8, 20, 16, .52); }
.churchschool-hero__slides { position: relative; display: grid; height: 100%; }
.churchschool-hero__slide { display: flex; height: 100%; grid-area: 1 / 1; align-items: center; visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(14px); transition: visibility 0s linear .55s, opacity .55s ease, transform .55s ease; }
.churchschool-hero__slide.is-active { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); transition-delay: 0s; }
.churchschool-hero__content { width: 90%; margin-right: auto; margin-left: auto; text-align: center; }
.churchschool-hero__content--image { display: flex; align-items: center; flex-direction: column; }
.churchschool-hero__image-link { display: inline-block; }
.churchschool-hero__image-link img,
.churchschool-hero__image { display: block; width: auto; max-width: min(100%, 620px); max-height: 230px; object-fit: contain; }
.churchschool-hero__subtitle { margin: 0 0 5px; font-size: clamp(17px, 2vw, 22px); font-weight: 400; }
.churchschool-hero h1 { margin: 0; font-size: clamp(38px, 5vw, 62px); font-weight: 500; line-height: 1.12; }
.churchschool-hero__description { width: 100%; max-width: none; margin: 9px auto 0; font-size: clamp(15px, 1.6vw, 19px); font-weight: 300; line-height: 1.7; }
.churchschool-hero__actions { display: flex; margin-top: 24px; justify-content: center; flex-wrap: wrap; gap: 12px; }
.churchschool-hero__actions--fixed { position: absolute; z-index: 2; bottom: 48px; left: 50%; width: 100%; margin-top: 0; transform: translateX(-50%); }
.churchschool-hero__button { display: inline-flex; min-height: 44px; padding: 10px 22px; border: 2px solid transparent; border-radius: 4px; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; text-decoration: none; transition: opacity .2s ease, background-color .2s ease; }
.churchschool-hero__button--primary { color: #fff !important; background: var(--churchschool-accent); }
.churchschool-hero__button--outline { color: #fff !important; background: transparent; border-color: #fff; }
.churchschool-hero__button:hover { opacity: .82; }
.churchschool-subpage__eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.churchschool-home__content { padding-top: 64px; padding-bottom: 80px; }

.churchschool-vision { padding: 25px 0; background: #fff; }
.churchschool-vision__layout { display: grid; grid-template-columns: minmax(0, 65fr) minmax(300px, 35fr); }
.churchschool-vision__main { padding-right: clamp(36px, 5vw, 76px); }
.churchschool-section-eyebrow { margin: 0 0 6px; color: var(--nextgen-cyan); font-size: 12px; font-weight: 700; letter-spacing: .18em; line-height: 1.4; text-transform: uppercase; }
.churchschool-vision h2 { margin: 0; color: var(--nextgen-navy); font-size: clamp(32px, 4vw, 48px); font-weight: 600; line-height: 1.14; }
.churchschool-vision__lead { max-width: 690px; margin: 11px 0 0; color: var(--nextgen-text); font-size: 17px; font-weight: 300; line-height: 1.75; }
.churchschool-vision__items { display: grid; margin-top: 30px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.churchschool-vision-item { padding: 22px 16px; border: 1px dotted #aeb8c0; text-align: center; }
.churchschool-vision-item__icon { display: block; width: 48px; height: 48px; margin-right: auto; margin-left: auto; color: var(--nextgen-icon-color); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.churchschool-vision-item h3 { margin: 18px 0 5px; color: var(--nextgen-navy); font-size: 15px; font-weight: 700; letter-spacing: .1em; }
.churchschool-vision-item p { margin: 0; color: var(--nextgen-muted); font-size: 14px; line-height: 1.5; }
.churchschool-worship { padding-left: clamp(32px, 4vw, 58px); border-left: 1px solid var(--nextgen-border); }
.churchschool-worship__heading { display: flex; align-items: flex-start; gap: 14px; }
.churchschool-worship__icon { width: 30px; height: 30px; margin-top: 2px; color: var(--nextgen-blue); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.churchschool-worship h2 { font-size: clamp(27px, 3vw, 38px); }
.churchschool-worship__list { margin-top: 30px; }
.churchschool-worship__row { display: grid; padding: 18px 0; border-top: 1px solid var(--nextgen-border); grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; }
.churchschool-worship__row:last-child { border-bottom: 1px solid var(--nextgen-border); }
.churchschool-worship__row strong,
.churchschool-worship__row span { display: block; }
.churchschool-worship__row strong { color: var(--nextgen-navy); font-size: 14px; font-weight: 600; line-height: 1.4; }
.churchschool-worship__row span { margin-top: 3px; color: var(--nextgen-muted); font-size: 13px; line-height: 1.4; }
.churchschool-worship__row time { color: var(--nextgen-blue); font-size: 17px; font-weight: 700; white-space: nowrap; }

.churchschool-pastor { padding: 25px 0; background: #fff; }
.churchschool-pastor__banner { position: relative; min-height: 390px; aspect-ratio: 16 / 5.5; color: #fff; background: linear-gradient(135deg, var(--nextgen-navy), #0b4971); isolation: isolate; overflow: hidden; }
.churchschool-pastor__media,
.churchschool-pastor__overlay { position: absolute; inset: 0; }
.churchschool-pastor__media { z-index: -2; }
.churchschool-pastor__image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.churchschool-pastor__overlay { z-index: -1; background: linear-gradient(90deg, rgba(4,25,48,.9) 0%, rgba(4,25,48,.58) 50%, rgba(4,25,48,.22) 100%); }
.churchschool-pastor__content { position: relative; z-index: 1; display: grid; height: 100%; min-height: 390px; padding: clamp(38px, 5vw, 68px); grid-template-columns: minmax(0, 1fr) minmax(230px, .55fr); align-items: end; gap: 48px; }
.churchschool-pastor__message h2 { margin: 0; color: #fff; font-size: clamp(38px, 4.7vw, 66px); font-weight: 800; letter-spacing: -.035em; line-height: .98; }
.churchschool-pastor__brand { margin: 25px 0 0; font-size: 13px; font-weight: 700; letter-spacing: .16em; }
.churchschool-pastor__brand span { color: var(--nextgen-cyan); }
.churchschool-pastor__details { padding-bottom: 3px; }
.churchschool-pastor__subtitle { max-width: 270px; margin: 0 0 34px; font-size: clamp(20px, 2.2vw, 29px); font-style: italic; font-weight: 300; line-height: 1.3; }
.churchschool-pastor__eyebrow { margin: 0; color: var(--nextgen-cyan); font-size: 11px; font-weight: 700; letter-spacing: .15em; line-height: 1.45; }
.churchschool-pastor__name { margin: 7px 0 0; font-size: 16px; font-weight: 500; }
.churchschool-pastor__play { position: absolute; z-index: 3; top: 50%; left: 65%; display: grid; width: 64px; height: 64px; padding: 0; color: #fff; background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.85); border-radius: 50%; cursor: pointer; place-items: center; transform: translate(-50%, -50%); transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease; }
.churchschool-pastor__play[hidden] { display: none; }
.churchschool-pastor__play svg { width: 27px; height: 27px; fill: currentColor; }
.churchschool-pastor__play:hover,
.churchschool-pastor__play:focus-visible { color: var(--nextgen-navy); background: var(--nextgen-cyan); border-color: var(--nextgen-cyan); outline: 3px solid rgba(255,255,255,.8); outline-offset: 3px; transform: translate(-50%, -50%) scale(1.08); }
.churchschool-pastor__iframe { position: absolute; z-index: 5; width: 100%; height: 100%; border: 0; inset: 0; }
.churchschool-pastor__banner.is-playing .churchschool-pastor__content,
.churchschool-pastor__banner.is-playing .churchschool-pastor__overlay,
.churchschool-pastor__banner.is-playing .churchschool-pastor__play { display: none; }

.churchschool-departments { padding: 25px 0; background: #f7fafc; }
.churchschool-departments__heading { max-width: 700px; }
.churchschool-departments__heading h2 { margin: 0; color: var(--nextgen-navy); font-size: clamp(32px, 4vw, 48px); font-weight: 600; line-height: 1.14; }
.churchschool-departments__heading > p:last-child { margin: 9px 0 0; color: var(--nextgen-muted); font-size: 16px; font-weight: 300; line-height: 1.7; }
.churchschool-departments__grid { display: grid; margin-top: 30px; border-top: 1px solid var(--nextgen-border); border-bottom: 1px solid var(--nextgen-border); grid-template-columns: repeat(8, minmax(0, 1fr)); }
.churchschool-department { display: grid; min-width: 0; min-height: 190px; padding: 28px 10px 25px; color: var(--nextgen-text); border-right: 1px solid var(--nextgen-border); align-content: start; justify-items: center; text-align: center; text-decoration: none; transition: color .2s ease, transform .2s ease; }
.churchschool-department:last-child { border-right: 0; }
.churchschool-department__icon { display: grid; width: 52px; height: 52px; color: var(--nextgen-dept-icon-color); place-items: center; transition: color .2s ease; }
.churchschool-department__icon svg { display: block; width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.churchschool-department__content { display: block; min-width: 0; margin-top: 19px; }
.churchschool-department__content strong,
.churchschool-department__content small { display: block; }
.churchschool-department__content strong { color: var(--nextgen-navy); font-size: 14px; font-weight: 700; letter-spacing: .045em; line-height: 1.35; transition: color .2s ease; }
.churchschool-department__content small { margin-top: 8px; color: var(--nextgen-muted); font-size: 12px; line-height: 1.45; }
.churchschool-department:hover { transform: translateY(-3px); }
.churchschool-department:hover .churchschool-department__icon,
.churchschool-department:focus-visible .churchschool-department__icon { color: var(--nextgen-dept-icon-hover); }
.churchschool-department:hover .churchschool-department__content strong,
.churchschool-department:focus-visible .churchschool-department__content strong { color: var(--nextgen-dept-icon-hover); }
.churchschool-department:focus-visible { position: relative; outline: 2px solid var(--nextgen-dept-icon-hover); outline-offset: -2px; }

.churchschool-activities { --activities-gap: 22px; padding: 25px 0; background: #fff; }
.churchschool-activities__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; }
.churchschool-activities__heading { max-width: 700px; }
.churchschool-activities__heading h2 { margin: 0; color: var(--nextgen-navy); font-size: clamp(32px, 4vw, 48px); font-weight: 600; line-height: 1.14; }
.churchschool-activities__heading > p:last-child { margin: 9px 0 0; color: var(--nextgen-muted); font-size: 16px; font-weight: 300; line-height: 1.7; }
.churchschool-activities__navigation { display: flex; padding-bottom: 4px; gap: 10px; flex: 0 0 auto; }
.churchschool-activities__navigation button { display: grid; width: 44px; height: 44px; padding: 0; color: var(--nextgen-navy); background: #fff; border: 1px solid var(--nextgen-border); border-radius: 50%; cursor: pointer; place-items: center; transition: color .2s ease, border-color .2s ease; }
.churchschool-activities__navigation button:hover:not(:disabled),
.churchschool-activities__navigation button:focus-visible { color: var(--nextgen-cyan); border-color: var(--nextgen-cyan); outline: none; }
.churchschool-activities__navigation button:focus-visible { box-shadow: 0 0 0 3px rgba(22,169,211,.18); }
.churchschool-activities__navigation button:disabled { color: #aebbc4; background: #f3f6f8; cursor: default; }
.churchschool-activities__navigation svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.churchschool-activities__track { display: flex; margin-top: 30px; padding: 3px 1px 8px; gap: var(--activities-gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.churchschool-activities__track::-webkit-scrollbar { display: none; }
.churchschool-activities__track:focus-visible { outline: 2px solid var(--nextgen-cyan); outline-offset: 5px; }
.churchschool-activity { min-width: 0; color: var(--nextgen-text); background: #fff; border: 1px solid var(--nextgen-border); border-radius: 6px; scroll-snap-align: start; text-decoration: none; flex: 0 0 calc((100% - 3 * var(--activities-gap)) / 4); overflow: hidden; transition: border-color .2s ease, transform .2s ease; }
.churchschool-activity__media { position: relative; display: block; aspect-ratio: 3 / 2; background: #eaf0f4; overflow: hidden; }
.churchschool-activity__media img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .2s ease; }
.churchschool-activity__media img:not([src]) { display: none; }
.churchschool-activity__placeholder { position: absolute; background: linear-gradient(135deg, #edf3f6, #dce7ed); inset: 0; }
.churchschool-activity__content { display: block; min-height: 82px; padding: 18px; }
.churchschool-activity__content strong,
.churchschool-activity__content small { display: block; }
.churchschool-activity__content strong { color: var(--nextgen-navy); font-size: 16px; font-weight: 600; line-height: 1.35; transition: color .2s ease; }
.churchschool-activity__content small { margin-top: 5px; color: var(--nextgen-muted); font-size: 13px; line-height: 1.4; }
.churchschool-activity:hover { border-color: #c7d8e2; transform: translateY(-3px); }
.churchschool-activity:hover .churchschool-activity__media img { transform: scale(1.025); }
.churchschool-activity:hover .churchschool-activity__content strong,
.churchschool-activity:focus-visible .churchschool-activity__content strong { color: var(--nextgen-cyan); }
.churchschool-activity:focus-visible { outline: 2px solid var(--nextgen-cyan); outline-offset: -2px; }

.churchschool-gallery { padding: 25px 0; background: #f7fafc; }
.churchschool-gallery__heading { max-width: 700px; }
.churchschool-gallery__heading h2 { margin: 0; color: var(--nextgen-navy); font-size: clamp(32px, 4vw, 48px); font-weight: 600; line-height: 1.14; }
.churchschool-gallery__heading > p:last-child { margin: 9px 0 0; color: var(--nextgen-muted); font-size: 16px; font-weight: 300; line-height: 1.7; }
.churchschool-gallery__grid { display: grid; margin-top: 30px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.churchschool-gallery-card { min-width: 0; color: var(--nextgen-text); text-decoration: none; }
.churchschool-gallery-card__media { position: relative; display: block; aspect-ratio: 4 / 3; background: #e5edf2; overflow: hidden; }
.churchschool-gallery-card__media img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .22s ease; }
.churchschool-gallery-card__media img:not([src]) { display: none; }
.churchschool-gallery-card__placeholder { position: absolute; background: linear-gradient(135deg, #eaf1f5, #d8e4eb); inset: 0; }
.churchschool-gallery-card__content { display: block; padding: 17px 1px 0; }
.churchschool-gallery-card__content strong,
.churchschool-gallery-card__content time { display: block; }
.churchschool-gallery-card__content strong { display: -webkit-box; color: var(--nextgen-navy); font-size: 16px; font-weight: 600; line-height: 1.35; transition: color .2s ease; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.churchschool-gallery-card__content time { margin-top: 8px; color: var(--nextgen-muted); font-size: 13px; line-height: 1.4; }
.churchschool-gallery-card:hover .churchschool-gallery-card__media img { transform: scale(1.04); }
.churchschool-gallery-card:hover .churchschool-gallery-card__content strong,
.churchschool-gallery-card:focus-visible .churchschool-gallery-card__content strong { color: var(--nextgen-cyan); }
.churchschool-gallery-card:focus-visible { outline: 2px solid var(--nextgen-cyan); outline-offset: 5px; }
.churchschool-gallery__action { margin-top: 10px; text-align: center; }
.churchschool-gallery__view-all { display: inline-flex; min-height: 46px; padding: 11px 22px; color: var(--nextgen-navy); background: transparent; border: 1px solid var(--nextgen-navy); align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.churchschool-gallery__view-all span { color: var(--nextgen-cyan); font-size: 18px; }
.churchschool-gallery__view-all:hover,
.churchschool-gallery__view-all:focus-visible { color: #fff; background: var(--nextgen-navy); border-color: var(--nextgen-navy); outline: none; }
.churchschool-gallery__view-all:focus-visible { box-shadow: 0 0 0 3px rgba(22,169,211,.22); }

.churchschool-cta { position: relative; min-height: 340px; color: #fff; background: linear-gradient(135deg, #06335f, var(--nextgen-blue)); isolation: isolate; overflow: hidden; }
.churchschool-cta__image,
.churchschool-cta__overlay { position: absolute; inset: 0; }
.churchschool-cta__image { z-index: -2; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.churchschool-pastor__image:not([src]),
.churchschool-cta__image:not([src]) { display: none; }
.churchschool-cta__overlay { z-index: -1; background: linear-gradient(90deg, rgba(4,25,48,.88) 0%, rgba(4,25,48,.67) 48%, rgba(4,25,48,.36) 100%); }
.churchschool-cta__inner { display: flex; min-height: 340px; padding-top: 25px; padding-bottom: 25px; align-items: center; }
.churchschool-cta__content { width: min(100%, 620px); }
.churchschool-cta h2 { margin: 0; color: #fff; font-size: clamp(36px, 4.6vw, 62px); font-weight: 800; letter-spacing: -.025em; line-height: 1.02; white-space: pre-line; }
.churchschool-cta__content > p { max-width: 570px; margin: 10px 0 0; color: rgba(255,255,255,.86); font-size: 17px; font-weight: 300; line-height: 1.65; white-space: pre-line; }
.churchschool-cta__button { display: inline-flex; min-height: 46px; margin-top: 30px; padding: 11px 23px; color: #fff !important; background: var(--nextgen-cyan); border: 1px solid var(--nextgen-cyan); border-radius: 4px; align-items: center; gap: 11px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-decoration: none; transition: background-color .2s ease, border-color .2s ease; }
.churchschool-cta__button span { font-size: 18px; }
.churchschool-cta__button:hover,
.churchschool-cta__button:focus-visible { background: var(--nextgen-blue); border-color: #fff; outline: none; }
.churchschool-cta__button:focus-visible { box-shadow: 0 0 0 3px rgba(255,255,255,.3); }

@media (max-width: 1199px) {
	.churchschool-departments__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.churchschool-department { border-bottom: 1px solid var(--nextgen-border); }
	.churchschool-department:nth-child(4n) { border-right: 0; }
	.churchschool-department:nth-child(n+5) { border-bottom: 0; }
	.churchschool-activity { flex-basis: calc((100% - 2 * var(--activities-gap)) / 3); }
}

.churchschool-subpage { min-height: 65vh; }
.churchschool-subpage__header { padding: 70px 0 46px; color: #fff; background: linear-gradient(135deg, var(--churchschool-accent), #18312b); }
.churchschool-subpage__header h1 { margin: 0; font-size: clamp(34px, 5vw, 56px); }
.churchschool-subpage__content { padding-top: 54px; padding-bottom: 80px; }

.churchschool-footer { padding: 42px 0; color: rgba(255,255,255,.76); background: #13251f; }
.churchschool-footer__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 30px; }
.churchschool-footer strong { color: #fff; font-size: 18px; }
.churchschool-footer p { margin: 0; }
.churchschool-footer a { color: #fff; font-weight: 700; }
.churchschool-footer__copyright { text-align: center; }
.churchschool-footer__main-link { justify-self: end; text-align: right; }

@media (max-width: 960px) {
	.churchschool-brand img { max-width: 200px; max-height: 46px; }
	.churchschool-header__inner { min-height: 68px; }
	.churchschool-menu-toggle { display: inline-flex; }
	.churchschool-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; margin: 0; padding: 18px 20px 24px; background: #fff; border-bottom: 1px solid var(--churchschool-line); box-shadow: 0 18px 35px rgba(24,49,43,.12); align-items: stretch; flex-direction: column; }
	.churchschool-nav.is-open { display: flex; }
	.churchschool-nav__list { align-items: stretch; flex-direction: column; gap: 0; }
	.churchschool-nav__item > a { padding: 12px 0; }
	.churchschool-nav__submenu { position: static; display: block; min-width: 0; padding: 0 0 8px 16px; border: 0; box-shadow: none; transform: none; }
	.churchschool-main-site-link { text-align: center; }
	.churchschool-footer__inner { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 10px; }
	.churchschool-footer__brand { order: 1; }
	.churchschool-footer__main-link { order: 2; justify-self: start; text-align: left; }
	.churchschool-footer__copyright { order: 3; text-align: left; }
	.churchschool-hero { height: 400px; }
	.churchschool-hero__video { width: max(100%, 711.12px); height: max(100%, 56.25vw); }
	.churchschool-hero__image-link img,
	.churchschool-hero__image { max-height: 160px; }
	.churchschool-hero__description { margin-top: 9px; line-height: 1.55; }
	.churchschool-hero__actions { margin-top: 18px; }
	.churchschool-hero__actions--fixed { bottom: 30px; margin-top: 0; }
	.churchschool-vision { padding: 25px 0; }
	.churchschool-vision__layout { grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr); }
	.churchschool-vision__main { padding-right: 34px; }
	.churchschool-worship { padding-left: 30px; }
	.churchschool-vision__items { gap: 18px; }
	.churchschool-pastor { padding: 25px 0; }
	.churchschool-pastor__content { padding: 42px; grid-template-columns: minmax(0, 1fr) minmax(210px, .48fr); gap: 32px; }
	.churchschool-departments { padding: 25px 0; }
	.churchschool-activities { padding: 25px 0; }
	.churchschool-gallery { padding: 25px 0; }
}

@media (max-width: 899px) {
	.churchschool-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
	.churchschool-vision__layout { grid-template-columns: minmax(0, 1fr); }
	.churchschool-vision__main { padding-right: 0; }
	.churchschool-worship { margin-top: 30px; padding: 30px 0 0; border-top: 1px solid var(--nextgen-border); border-left: 0; }
	.churchschool-pastor { padding: 25px 0; }
	.churchschool-pastor__banner { min-height: 520px; aspect-ratio: auto; }
	.churchschool-pastor__overlay { background: linear-gradient(180deg, rgba(4,25,48,.2) 0%, rgba(4,25,48,.48) 42%, rgba(4,25,48,.94) 100%); }
	.churchschool-pastor__content { min-height: 520px; padding: 34px; grid-template-columns: minmax(0, 1fr); align-content: end; gap: 27px; }
	.churchschool-pastor__message h2 { font-size: clamp(35px, 9vw, 52px); line-height: 1; }
	.churchschool-pastor__details { display: flex; align-items: flex-end; flex-wrap: wrap; column-gap: 24px; }
	.churchschool-pastor__subtitle { width: 100%; max-width: none; margin-bottom: 20px; font-size: 20px; }
	.churchschool-pastor__play { top: 31%; left: 50%; }
	.churchschool-departments__grid { border-bottom: 0; grid-template-columns: minmax(0, 1fr); }
	.churchschool-department { min-height: 78px; padding: 14px 8px; border-right: 0; border-bottom: 1px solid var(--nextgen-border) !important; grid-template-columns: 48px minmax(0, 1fr); align-content: center; align-items: center; justify-items: stretch; gap: 18px; text-align: left; }
	.churchschool-department__icon { width: 48px; height: 48px; }
	.churchschool-department__icon svg { width: 42px; height: 42px; }
	.churchschool-department__content { margin-top: 0; }
	.churchschool-department__content strong { font-size: 16px; }
	.churchschool-department__content small { margin-top: 3px; font-size: 13px; }
	.churchschool-department:hover { transform: translateX(3px); }
	.churchschool-activities { --activities-gap: 14px; }
	.churchschool-activities__top { display: block; }
	.churchschool-activities__navigation { margin-top: 24px; }
	.churchschool-activities__track { margin-top: 30px; }
	.churchschool-activity { flex-basis: calc((100% - var(--activities-gap)) / 2); }
	.churchschool-activity__content { min-height: 78px; padding: 14px 12px; }
	.churchschool-activity__content strong { font-size: 15px; }
	.churchschool-gallery__grid { margin-top: 30px; gap: 22px 14px; }
	.churchschool-gallery-card__content { padding-top: 12px; }
	.churchschool-gallery-card__content strong { font-size: 15px; }
	.churchschool-gallery__action { margin-top: 10px; }
	.churchschool-cta,
	.churchschool-cta__inner { min-height: 380px; }
	.churchschool-cta__overlay { background: linear-gradient(90deg, rgba(4,25,48,.88), rgba(4,25,48,.58)); }
	.churchschool-cta__inner { padding-top: 25px; padding-bottom: 25px; }
	.churchschool-cta__content { width: 100%; }
	.churchschool-cta h2 { font-size: clamp(34px, 10vw, 48px); }
	.churchschool-cta__content > p { font-size: 16px; }
}

@media (max-width: 480px) {
	.churchschool-vision { padding: 25px 0; }
	.churchschool-vision__items { margin-top: 30px; grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.churchschool-vision-item { display: block; padding: 20px 14px; text-align: center; }
	.churchschool-vision-item__icon { width: 42px; height: 42px; margin-right: auto; margin-left: auto; }
	.churchschool-vision-item h3 { margin: 12px 0 3px; }
	.churchschool-worship__row { gap: 12px; }
	.churchschool-worship__row time { font-size: 16px; }
	.churchschool-pastor { padding: 25px 0; }
	.churchschool-pastor__banner,
	.churchschool-pastor__content { min-height: 500px; }
	.churchschool-pastor__content { padding: 26px 22px; }
	.churchschool-departments { padding: 25px 0; }
	.churchschool-activities { padding: 25px 0; }
	.churchschool-gallery { padding: 25px 0; }
	.churchschool-gallery__grid { gap: 20px 12px; }
	.churchschool-gallery-card__content strong { font-size: 14px; }
	.churchschool-cta h2 { font-size: clamp(31px, 9.5vw, 40px); }
}

@media (prefers-reduced-motion: reduce) {
	.churchschool-hero__slide { transform: none; transition: none; }
}
/* Activities supplies its own full-width Hero and section containers. */
.churchschool-site .churchschool-activities-content { width: 100%; max-width: none; margin: 0; padding: 0; }
