:root {
    --clergy-navy: #071b42;
    --clergy-blue: #168ed3;
    --clergy-sky: #eaf6ff;
    --clergy-gold: #d9a83a;
    --clergy-ink: #273a55;
    --clergy-muted: #63728a;
    --clergy-line: #dce8f3;
}

html { scroll-behavior: smooth; }
.clergy-native-page { background: #f7faff; }
.clergy-native-page .about-desktop-nav a::after { background: var(--clergy-blue); }

.clergy-native-hero {
    position: relative;
    min-height: 460px;
    display: grid;
    align-items: end;
    justify-items: center;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(5, 23, 51, .12) 0%, rgba(5, 23, 51, .16) 40%, rgba(5, 23, 51, .78) 80%, rgba(5, 23, 51, .9) 100%),
        url("../images/clergy/clergy-main.png") center 35% / cover no-repeat;
}

.clergy-native-hero::before { position: absolute; top: -170px; right: -120px; width: 470px; height: 470px; background: radial-gradient(circle, rgba(57, 173, 236, .34), transparent 68%); border-radius: 50%; content: ""; }
.clergy-native-hero::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: linear-gradient(90deg, transparent, #35b3ed, transparent); content: ""; }
.clergy-native-hero__inner { position: relative; z-index: 1; width: calc(100% - 80px); max-width: none; padding: 28px 0 32px; text-align: center; text-shadow: 0 2px 8px rgba(0, 0, 0, .45); }
.clergy-native-hero__inner > * { width: 100%; margin-left: auto; margin-right: auto; }
.clergy-native-breadcrumbs { margin-bottom: 14px; display: flex; justify-content: center; gap: 9px; color: rgba(255, 255, 255, .7); font-size: 12px; }
.clergy-native-breadcrumbs a { color: #88d4fa; }
.clergy-native-kicker { margin-top: 0; margin-bottom: 12px; color: #7ed5fb; font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.clergy-native-hero h1 { margin-top: 0; margin-bottom: 0; color: #fff; font-size: clamp(44px, 5.3vw, 64px); font-weight: 900; letter-spacing: -.055em; line-height: 1.05; }
.clergy-native-hero__lead { margin-top: 18px; margin-bottom: 0; color: rgba(255, 255, 255, .92); font-size: 17px; line-height: 1.65; }
.clergy-native-hero__links { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.clergy-native-hero__links a { min-height: 40px; padding: 0 16px; display: inline-flex; align-items: center; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .24); border-radius: 999px; font-size: 12px; font-weight: 800; text-decoration: none; }
.clergy-native-hero__links a:first-child,
.clergy-native-hero__links a:hover,
.clergy-native-hero__links a:focus-visible { background: var(--clergy-blue); border-color: var(--clergy-blue); }

.clergy-directory { padding: 76px 0 92px; background: radial-gradient(circle at 8% 9%, rgba(34, 154, 221, .1), transparent 25%), linear-gradient(180deg, #f5faff, #fff 48%, #f7faff); }
.clergy-group { padding: 25px 0 58px; }
.clergy-group + .clergy-group { padding-top: 58px; border-top: 1px solid #e5edf6; }
.clergy-group__heading { max-width: 720px; margin: 0 auto 34px; text-align: center; }
.clergy-group__heading p { margin: 0 0 9px; color: var(--clergy-blue); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.clergy-group__heading h2 { margin: 0; color: var(--clergy-navy); font-size: clamp(34px, 4vw, 48px); font-weight: 850; letter-spacing: -.045em; line-height: 1.08; }
.clergy-group__rule { width: 112px; height: 27px; margin: 13px auto 0; display: flex; align-items: center; gap: 9px; }
.clergy-group__rule::before,
.clergy-group__rule::after { height: 1px; flex: 1; background: #9ccced; content: ""; }
.clergy-group__rule img { width: 23px; max-height: 25px; object-fit: contain; }
.clergy-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); justify-content: center; gap: 22px; }
.clergy-grid--few { grid-template-columns: repeat(auto-fit, minmax(250px, 285px)); }
.clergy-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--clergy-line); border-radius: 15px; box-shadow: 0 16px 38px rgba(7, 36, 78, .1); transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
.clergy-card:hover { border-color: #a9d7f3; box-shadow: 0 23px 52px rgba(7, 36, 78, .16); transform: translateY(-6px); }
.clergy-card__photo { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: linear-gradient(135deg, #dceefe, #f8fbff); }
.clergy-card__photo img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center top; }
.clergy-card__photo-call { position: absolute; right: 14px; bottom: 14px; width: 46px; height: 46px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #1288ce, #36b7ed); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 10px 24px rgba(5, 48, 88, .25); text-decoration: none; }
.clergy-card__body { padding: 17px 18px 18px; text-align: center; }
.clergy-card__role { min-height: 23px; padding: 0 9px; display: inline-flex; align-items: center; color: #0876ba; background: var(--clergy-sky); border-radius: 999px; font-size: 8px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.clergy-card h3 { margin: 9px 0 0; color: var(--clergy-navy); font-size: 18px; letter-spacing: -.02em; line-height: 1.22; }
.clergy-card__meta { margin: 8px 0 0; padding: 0; list-style: none; color: var(--clergy-muted); font-size: 11px; line-height: 1.45; }
.clergy-card__meta li + li { margin-top: 2px; }
.clergy-card__meta i { width: 15px; color: var(--clergy-gold); }
.clergy-empty { margin: 0; padding: 34px; color: var(--clergy-muted); background: #fff; border: 1px dashed #bfd3e5; border-radius: 14px; text-align: center; }

.clergy-native-cta { position: relative; min-height: 340px; display: grid; place-items: center; overflow: hidden; color: #fff; background: #071b42; text-align: center; }
.clergy-native-cta::before { position: absolute; inset: 0; background: linear-gradient(rgba(5, 25, 57, .9), rgba(5, 25, 57, .94)), url("../images/bg/church-general-1.webp") center / cover no-repeat; content: ""; }
.clergy-native-cta__inner { position: relative; z-index: 1; padding: 65px 0; }
.clergy-native-cta h2 { max-width: 760px; margin: 0 auto; color: #fff; font-size: clamp(36px, 5vw, 53px); letter-spacing: -.04em; line-height: 1.1; }
.clergy-native-cta p { max-width: 650px; margin: 17px auto 25px; color: rgba(255, 255, 255, .8); font-size: 16px; line-height: 1.7; }
.clergy-native-cta a { min-height: 48px; padding: 0 23px; display: inline-flex; align-items: center; color: #fff; background: var(--clergy-blue); border-radius: 999px; font-size: 12px; font-weight: 800; text-decoration: none; text-transform: uppercase; }

.clergy-native-footer { padding: 36px 0 18px; color: rgba(255, 255, 255, .75); background: #03132f; }
.clergy-native-footer__inner { display: flex; align-items: center; gap: 24px; }
.clergy-native-footer__inner img { width: 170px; }
.clergy-native-footer__inner p { margin: 0; }
.clergy-native-footer__inner div { margin-left: auto; display: flex; gap: 10px; }
.clergy-native-footer__inner div a { width: 36px; height: 36px; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .09); border-radius: 50%; }
.clergy-native-footer__copyright { margin: 22px 0 0; padding-top: 17px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12px; text-align: center; }

@media (max-width: 1050px) { .clergy-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .clergy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) {
    .clergy-native-hero__inner > * { width: 100%; margin-left: auto; }
}
@media (max-width: 620px) {
    .clergy-native-page .about-container { width: min(100% - 32px, 1240px); }
    .clergy-native-hero { min-height: 440px; }
    .clergy-native-hero__inner { padding: 28px 0; }
    .clergy-native-hero__lead { font-size: 16px; }
    .clergy-native-hero__links { gap: 8px; }
    .clergy-native-hero__links a { min-height: 40px; padding: 0 14px; }
    .clergy-directory { padding: 55px 0 66px; }
    .clergy-group { padding-bottom: 45px; }
    .clergy-group + .clergy-group { padding-top: 45px; }
    .clergy-grid,
    .clergy-grid--few { grid-template-columns: 1fr; }
    .clergy-card { width: min(100%, 380px); margin: 0 auto; }
    .clergy-native-footer__inner { flex-direction: column; text-align: center; }
    .clergy-native-footer__inner div { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .clergy-card,
    .clergy-card__photo img { transition: none; }
}
