/*
 * Clean DRY stylesheet for GWM church theme.
 * Replaces stacked patch blocks with one consolidated source of truth.
 */

:root {
    --gwm-navy: #07131f;
    --gwm-midnight: #0b2037;
    --gwm-ivory: #fbf3df;
    --gwm-paper: #fffdf8;
    --gwm-white: #ffffff;
    --gwm-gold: #c9a227;
    --gwm-soft-gold: #f0d779;
    --gwm-ink: #101828;
    --gwm-muted: #667085;
    --gwm-line: rgba(16, 24, 40, .12);
    --gwm-radius: 8px;
    --gwm-shadow: 0 18px 45px rgba(7, 19, 31, .12);
    --gwm-container: min(100% - 32px, 1180px);
    --gwm-header-height: 68px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding-top: 30px !important;
    color: var(--gwm-ink);
    background: var(--gwm-paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

@media (max-width: 782px) {
    body {
        padding-top: 0;
    }
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

:focus-visible {
    outline: 3px solid var(--gwm-soft-gold);
    outline-offset: 3px;
}

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

.gwm-container {
    width: var(--gwm-container);
    margin-inline: auto;
}

.gwm-skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 1000;
    padding: .75rem 1rem;
    background: var(--gwm-gold);
    color: var(--gwm-navy);
}

.gwm-skip-link:focus {
    top: 1rem;
}

/* Header */
.gwm-site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    width: 100%;
    background: rgba(7, 19, 31, .92);
    color: var(--gwm-white);
    backdrop-filter: blur(14px);
}

.home .gwm-site-header,
.front-page .gwm-site-header {
    background: #07131f;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}

.gwm-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: var(--gwm-container);
    min-height: var(--gwm-header-height);
    margin-inline: auto;
    gap: .85rem;
}

.gwm-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: .62rem;
    text-decoration: none;
}

.gwm-brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gwm-gold);
    color: var(--gwm-navy);
    font-weight: 800;
}

.gwm-brand-image {
    width: auto;
    max-width: clamp(72px, 8vw, 108px);
    max-height: 46px;
    object-fit: contain;
}

.gwm-brand-text {
    display: grid;
    min-width: 0;
    line-height: 1.12;
}

.gwm-brand-text strong {
    overflow: hidden;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(.78rem, 1.05vw, 1.05rem);
    letter-spacing: .02em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.gwm-brand-text small {
    overflow: hidden;
    color: var(--gwm-soft-gold);
    font-size: clamp(.52rem, .7vw, .62rem);
    font-weight: 800;
    letter-spacing: .075em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.gwm-desktop-nav {
    display: none;
}

.gwm-menu {
    display: flex;
    align-items: center;
    gap: clamp(.75rem, 1.6vw, 1.55rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.gwm-menu a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    opacity: .94;
    text-decoration: none;
    font-size: .95rem;
    font-weight: 650;
}

.gwm-menu a:hover,
.gwm-menu a:focus-visible {
    opacity: 1;
    color: var(--gwm-soft-gold);
}

.gwm-mobile-actions {
    display: grid;
    gap: .7rem;
}

/* Buttons */
.gwm-header-give,
.gwm-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border-radius: var(--gwm-radius);
    padding: .45rem .80rem;
    text-decoration: none;
    font-weight: 750;
}

.gwm-header-give,
.gwm-button-primary {
    background: var(--gwm-gold);
    color: var(--gwm-navy);
}

.gwm-header-give {
    min-width: 104px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}

.gwm-button-secondary {
    border: 1px solid currentColor;
    color: inherit;
}

.gwm-button-ghost {
    background: rgba(255, 255, 255, .09);
    color: inherit;
}

.gwm-button-row,
.gwm-contact-actions,
.gwm-visit-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

/* Sections */
.gwm-section {
    padding: clamp(3.5rem, 7vw, 7rem) 0;
}

.gwm-section-paper {
    background: var(--gwm-paper);
}

.gwm-section-ivory {
    background: var(--gwm-ivory);
}

.gwm-section-navy {
    background: linear-gradient(135deg, var(--gwm-navy), var(--gwm-midnight));
    color: var(--gwm-white);
}

.gwm-section-header {
    max-width: 760px;
    margin-bottom: 2rem;
}

.gwm-section-header h2,
.gwm-home-hero h1,
.gwm-page-hero h1 {
    margin: 0 0 .85rem;
    line-height: 1.05;
    letter-spacing: 0;
}

.gwm-section-header h2 {
    font-size: clamp(2rem, 5vw, 3.6rem);
}

.gwm-eyebrow {
    color: var(--gwm-gold);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gwm-scriptline {
    margin: 0 0 .6rem;
    color: var(--gwm-gold);
    font-family: "Brush Script MT", "Segoe Script", cursive;
    font-size: clamp(1.8rem, 4vw, 3.1rem);
    font-weight: 400;
    letter-spacing: .02em;
}

/* Heroes */
.gwm-home-hero {
    position: relative;
    display: grid;
    align-items: center;
    min-height: clamp(480px, 66vh, 700px);
    background-image: var(--gwm-hero-image);
    background-position: center top;
    background-size: cover;
    color: var(--gwm-white);
}

.gwm-home-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 13, 25, .00) 0%, rgba(5, 13, 25, .0) 34%, rgba(5, 13, 25, .16) 70%, rgba(5, 13, 25, .04) 100%),
        linear-gradient(0deg, rgba(5, 13, 25, .00), rgba(5, 13, 25, .20));
}

.gwm-home-hero-content {
    position: relative;
    max-width: 700px;
    padding-top: clamp(3.8rem, 7vw, 6.2rem);
}

.gwm-home-hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -.018em;
}

.gwm-hero-lede {
    max-width: 620px;
    font-size: clamp(1.08rem, 2.4vw, 1.45rem);
}

.gwm-home-hero .gwm-button {
    min-width: 185px;
}

.gwm-page-hero {
    padding: clamp(5rem, 10vw, 9rem) 0 clamp(3rem, 7vw, 6rem);
    background: linear-gradient(135deg, var(--gwm-navy), var(--gwm-midnight));
    color: var(--gwm-white);
}

.gwm-page-hero h1 {
    font-size: clamp(2.4rem, 7vw, 5rem);
}

.gwm-content {
    max-width: 820px;
    font-size: 1.08rem;
}

/* Cards and grids */
.gwm-card-grid,
.gwm-snapshot-grid,
.gwm-bank-list {
    display: grid;
    gap: 1rem;
}

.gwm-card {
    overflow: hidden;
    border: 1px solid var(--gwm-line);
    border-radius: var(--gwm-radius);
    background: var(--gwm-white);
    box-shadow: var(--gwm-shadow);
}

.gwm-card-media {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.gwm-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gwm-card-body {
    padding: 1.2rem;
}

.gwm-card-body h3 {
    margin: .2rem 0 .55rem;
    font-size: 1.3rem;
    line-height: 1.2;
}

.gwm-card-body a {
    text-decoration: none;
}

.gwm-card-meta {
    color: var(--gwm-gold);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.gwm-card-link {
    color: var(--gwm-midnight);
    font-weight: 800;
}

.gwm-snapshot-card,
.gwm-copy-card {
    border: 1px solid var(--gwm-line);
    border-radius: var(--gwm-radius);
    background: var(--gwm-white);
    box-shadow: var(--gwm-shadow);
}

.gwm-service-snapshot {
    position: relative;
    z-index: 3;
    margin-top: -1.6rem;
    padding: 0 0 1.35rem;
    background: transparent;
}

.gwm-snapshot-grid {
    padding: .72rem;
    border-radius: var(--gwm-radius);
    background: rgba(255, 253, 248, .96);
    box-shadow: 0 18px 50px rgba(7, 19, 31, .14);
}

.gwm-snapshot-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: .95rem;
    min-height: 84px;
    padding: 1rem;
    box-shadow: 0 8px 22px rgba(7, 19, 31, .075);
}

.gwm-snapshot-icon {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #0b2037, #07131f);
    color: var(--gwm-gold);
    box-shadow: inset 0 0 0 2px rgba(201, 162, 39, .5);
}

.gwm-snapshot-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gwm-snapshot-card .gwm-snapshot-label,
.gwm-snapshot-card strong {
    grid-column: 2;
}

.gwm-snapshot-card .gwm-snapshot-label {
    align-self: end;
    color: var(--gwm-navy);
    font-size: .92rem;
    font-weight: 750;
}

.gwm-snapshot-card strong {
    align-self: start;
    margin-top: .1rem;
    color: #a97f18;
    font-size: clamp(.95rem, 1.65vw, 1rem);
    line-height: 1.1;
}

/* Homepage highlights */
.gwm-home-highlights {
    padding: clamp(2rem, 4.5vw, 4rem) 0 clamp(2.4rem, 5vw, 4.8rem);
    background:
        radial-gradient(circle at 12% 0%, rgba(201, 162, 39, .08), transparent 32%),
        var(--gwm-paper);
}

.gwm-home-highlights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 2vw, 1.55rem);
    align-items: stretch;
}

.gwm-home-highlight-card,
.gwm-home-welcome,
.gwm-home-sermon,
.gwm-home-ministries {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    height: 100%;
    min-height: 0;
    padding: clamp(.8rem, 1.45vw, 1rem);
    overflow: hidden;
    border: 1px solid rgba(16, 24, 40, .10);
    border-radius: calc(var(--gwm-radius) + 6px);
    background: rgba(255, 255, 255, .92);
    color: var(--gwm-ink);
    box-shadow: 0 18px 48px rgba(7, 19, 31, .10);
}

.gwm-home-highlight-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0));
}

.gwm-home-highlight-card > *,
.gwm-home-welcome > *,
.gwm-home-sermon > *,
.gwm-home-ministries > * {
    position: relative;
    z-index: 1;
}

.gwm-home-highlight-media,
.gwm-home-welcome-image {
    display: block;
    width: 100%;
    margin: 0;
    padding: .58rem;
    overflow: hidden;
    border: 1px solid rgba(201, 162, 39, .22);
    border-radius: calc(var(--gwm-radius) + 4px);
    background: var(--gwm-white);
    box-shadow: 0 12px 30px rgba(7, 19, 31, .10);
    aspect-ratio: 16 / 10;
    text-decoration: none;
}

.gwm-home-highlight-media img,
.gwm-home-welcome-image img {
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: var(--gwm-radius);
    object-fit: cover;
}

.gwm-home-highlight-media:hover img,
.gwm-home-highlight-media:focus-visible img {
    transform: scale(1.035);
    transition: transform .45s ease;
}

.gwm-home-highlight-copy,
.gwm-home-highlight-body,
.gwm-home-welcome-copy,
.gwm-home-sermon > div,
.gwm-home-ministries > .gwm-home-highlight-copy,
.gwm-home-ministries > .gwm-home-highlight-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: clamp(1rem, 1.7vw, 1.25rem) .12rem .1rem;
}

.gwm-home-highlight-copy .gwm-eyebrow,
.gwm-home-highlight-body .gwm-eyebrow,
.gwm-home-welcome-copy .gwm-eyebrow,
.gwm-home-sermon .gwm-eyebrow,
.gwm-home-ministries .gwm-eyebrow {
    margin: 0 0 .42rem;
    color: var(--gwm-gold);
    font-size: .73rem;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.gwm-home-highlight-copy .gwm-scriptline,
.gwm-home-highlight-body .gwm-scriptline,
.gwm-home-welcome-copy .gwm-scriptline {
    margin: 0 0 .42rem;
    color: var(--gwm-gold);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: .73rem;
    font-weight: 850;
    letter-spacing: .11em;
    line-height: 1.2;
    text-transform: uppercase;
}

.gwm-home-highlight-copy h2,
.gwm-home-highlight-body h2,
.gwm-home-welcome-copy h2,
.gwm-home-sermon h2,
.gwm-home-ministries h2 {
    max-width: 100%;
    margin: 0 0 .66rem;
    color: var(--gwm-navy);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(1.15rem, 2.4vw, 1.6rem);
    font-weight: 750;
    line-height: 1.04;
    letter-spacing: -.02em;
}

.gwm-home-highlight-copy p:not(.gwm-eyebrow):not(.gwm-scriptline),
.gwm-home-highlight-body p:not(.gwm-eyebrow):not(.gwm-scriptline),
.gwm-home-welcome-copy p:not(.gwm-eyebrow):not(.gwm-scriptline),
.gwm-home-sermon p:not(.gwm-eyebrow),
.gwm-home-ministries p:not(.gwm-eyebrow) {
    max-width: 100%;
    margin: 0 0 1.05rem;
    color: #475467;
    font-size: clamp(.94rem, 1.05vw, 1rem);
    line-height: 1.62;
}

.gwm-home-highlight-action {
    width: 100%;
    margin-top: auto;
    padding-top: .35rem;
}

.gwm-home-highlight-action .gwm-button,
.gwm-home-welcome-copy .gwm-button,
.gwm-home-sermon .gwm-button {
    width: 100%;
    min-height: 44px;
    padding: .72rem 1rem;
    border-radius: var(--gwm-radius);
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: .01em;
    box-shadow: 0 10px 24px rgba(7, 19, 31, .13);
}

.gwm-home-welcome .gwm-button,
.gwm-home-welcome-copy .gwm-button {
    background: var(--gwm-navy);
    color: var(--gwm-white);
}

.gwm-home-welcome .gwm-button:hover,
.gwm-home-welcome .gwm-button:focus-visible,
.gwm-home-welcome-copy .gwm-button:hover,
.gwm-home-welcome-copy .gwm-button:focus-visible,
.gwm-home-highlight-action .gwm-inline-link:hover,
.gwm-home-highlight-action .gwm-inline-link:focus-visible,
.gwm-home-ministries .gwm-inline-link:hover,
.gwm-home-ministries .gwm-inline-link:focus-visible {
    background: var(--gwm-gold);
    color: var(--gwm-navy);
}

.gwm-ministry-mini-grid,
.gwm-home-highlight-media-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .62rem;
}

.gwm-home-highlight-media-gallery,
.gwm-ministry-mini-grid.gwm-home-highlight-media {
    aspect-ratio: 16 / 10;
}

.gwm-ministry-mini-card {
    position: relative;
    min-height: 0;
    overflow: hidden;
    border-radius: var(--gwm-radius);
    color: var(--gwm-white);
    text-decoration: none;
    box-shadow: none;
}

.gwm-ministry-mini-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(7, 19, 31, .70), rgba(7, 19, 31, .60));
}

.gwm-ministry-mini-card img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
}

.gwm-ministry-mini-card span {
    position: absolute;
    right: .55rem;
    bottom: .42rem;
    left: .55rem;
    z-index: 1;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.1;
}

.gwm-inline-link,
.gwm-home-highlight-action .gwm-inline-link,
.gwm-home-ministries .gwm-inline-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: .72rem 1rem;
    border: 1px solid rgba(7, 19, 31, .16);
    border-radius: var(--gwm-radius);
    background: var(--gwm-navy);
    color: var(--gwm-white);
    text-align: center;
    text-decoration: none;
    font-size: .95rem;
    font-weight: 850;
}

/* Standard content sections */
.gwm-welcome-band,
.gwm-featured-content,
.gwm-ministry-preview {
    padding-top: clamp(1.4rem, 3vw, 2.3rem);
    padding-bottom: clamp(1.4rem, 3vw, 2.3rem);
}

.gwm-welcome-grid {
    display: grid;
    gap: 1.1rem;
}

.gwm-welcome-image {
    margin: 0;
    overflow: hidden;
    border-radius: var(--gwm-radius);
    box-shadow: var(--gwm-shadow);
}

.gwm-welcome-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.gwm-welcome-copy h2,
.gwm-sermon-feature h2,
.gwm-ministry-preview h2 {
    margin: 0 0 .7rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1;
}

.gwm-sermon-feature {
    display: grid;
    align-items: center;
    min-height: 310px;
    overflow: hidden;
    border-radius: var(--gwm-radius);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background:
        linear-gradient(90deg, rgba(7, 19, 31, .95), rgba(7, 19, 31, .70), rgba(7, 19, 31, .25)),
        var(--gwm-sermon-image) center right / cover no-repeat,
        var(--gwm-navy);
    color: var(--gwm-white);
    box-shadow: var(--gwm-shadow);
}

.gwm-sermon-feature p {
    max-width: 420px;
}

.gwm-prayer-strip {
    padding: 0 0 .35rem;
    background: var(--gwm-paper);
}

.gwm-prayer-strip-inner {
    display: grid;
    align-items: center;
    gap: 1rem;
    border-radius: var(--gwm-radius);
    padding: 1rem clamp(1rem, 3vw, 2rem);
    background: linear-gradient(90deg, #07131f, #0b2037);
    color: var(--gwm-white);
    box-shadow: 0 12px 30px rgba(7, 19, 31, .16);
}

.gwm-prayer-icon {
    display: grid;
    place-items: center;
    color: var(--gwm-gold);
}

.gwm-prayer-icon svg {
    width: 54px;
    height: 54px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gwm-prayer-strip p,
.gwm-prayer-strip h2 {
    margin: 0;
}

.gwm-prayer-strip h2 {
    color: var(--gwm-gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.55rem, 2.6vw, 2.2rem);
}

/* Visit Us */
.gwm-visit-photo-section {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: linear-gradient(90deg, #07131f 0%, #081a2d 48%, #07131f 100%);
    color: var(--gwm-white);
}

.gwm-visit-photo-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 68% 45%, rgba(212, 175, 55, .12), transparent 34%),
        linear-gradient(90deg, rgba(7, 19, 31, .12), rgba(7, 19, 31, .34));
    pointer-events: none;
}

.gwm-visit-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
    align-items: center;
    gap: clamp(1rem, 2vw, 2rem);
    min-height: clamp(330px, 35vw, 430px);
    padding-block: clamp(2.4rem, 5vw, 4rem);
}

.gwm-visit-hero-copy {
    max-width: 580px;
}

.gwm-visit-hero-copy .gwm-eyebrow {
    margin-bottom: .75rem;
    color: var(--gwm-gold);
}

.gwm-visit-hero-copy h2 {
    max-width: 560px;
    margin: 0 0 .95rem;
    color: var(--gwm-white);
    font-size: clamp(1.85rem, 3.2vw, 3rem);
    line-height: 1.04;
}

.gwm-visit-hero-copy p:not(.gwm-eyebrow) {
    max-width: 560px;
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(.98rem, 1.2vw, 1.08rem);
    line-height: 1.6;
}

.gwm-visit-hero-actions {
    justify-content: flex-start;
    margin-top: clamp(1.25rem, 2.6vw, 2rem);
}

.gwm-visit-hero-photo {
    position: relative;
    justify-self: start;
    width: 100%;
    max-width: 460px;
    min-height: clamp(200px, 18vw, 230px);
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, .24);
    border-radius: var(--gwm-radius);
    background: #081a2d;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .36);
    transform: translateX(-40px);
}

.gwm-visit-hero-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(7, 19, 31, .82) 0%, rgba(7, 19, 31, .32) 32%, rgba(7, 19, 31, 0) 62%),
        linear-gradient(0deg, rgba(7, 19, 31, .2), rgba(7, 19, 31, 0) 42%);
    pointer-events: none;
}

.gwm-visit-hero-photo img {
    width: 100%;
    height: 100%;
    min-height: clamp(200px, 18vw, 230px);
    object-fit: cover;
    object-position: 66% center;
    filter: brightness(1.14) contrast(1.08) saturate(1.05);
}

/* Forms and utility panels */
.gwm-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    padding: .85rem;
    border-radius: var(--gwm-radius);
    background: var(--gwm-white);
    box-shadow: var(--gwm-shadow);
}

.gwm-search-form input {
    flex: 1 1 240px;
    min-height: 48px;
    border: 1px solid var(--gwm-line);
    border-radius: var(--gwm-radius);
    padding: 0 1rem;
}

.gwm-search-form button {
    min-height: 48px;
    border: 0;
    border-radius: var(--gwm-radius);
    padding: 0 1.2rem;
    background: var(--gwm-gold);
    color: var(--gwm-navy);
    font-weight: 800;
}

.gwm-form-wrapper,
.gwm-bank-panel,
.gwm-contact-split {
    display: grid;
    align-items: center;
    gap: 2rem;
}

.gwm-copy-card {
    padding: 1rem;
    text-align: left;
    cursor: pointer;
}

.gwm-copy-card span {
    display: block;
    color: var(--gwm-muted);
    font-weight: 800;
}

.gwm-copy-card strong {
    font-size: 1.4rem;
}

.gwm-empty-state {
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
}

/* Footer */
.gwm-site-footer {
    border-top: 1px solid rgba(255, 255, 255, .12);
    background: #07131f;
    color: var(--gwm-white);
}

.gwm-footer-grid,
.gwm-footer-bottom {
    width: var(--gwm-container);
    margin-inline: auto;
}

/* Remove underline from footer credit URL */
.gwm-footer-bottom a {
    text-decoration: none !important;
}

.gwm-footer-bottom a:hover,
.gwm-footer-bottom a:focus {
    text-decoration: none !important;
}

.gwm-footer-grid {
    display: grid;
    gap: 0;
    padding: 2.6rem 0 1.8rem;
}

.gwm-footer-col {
    min-width: 0;
    padding: .2rem clamp(1rem, 2vw, 1.8rem);
    border-left: 1px solid rgba(255, 255, 255, .18);
}

.gwm-footer-col:first-child {
    border-left: 0;
    padding-left: 0;
    text-align: center;
}

.gwm-footer-logo {
    display: block;
    width: auto;
    max-width: 250px;
    max-height: 80px;
    margin: 0 auto .65rem;
}

.gwm-footer-col:first-child a:has(.gwm-footer-logo) {
    display: flex;
    justify-content: center;
}

.gwm-footer-col h2 {
    margin: 0 0 .75rem;
    color: var(--gwm-gold);
    font-size: .82rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gwm-footer-col p {
    margin: .35rem 0;
    font-size: .9rem;
    line-height: 1.45;
}

.gwm-footer-col strong {
    font-weight: 700;
}

.gwm-footer-col ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .35rem 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gwm-footer-col a {
    text-decoration: none;
    font-size: .9rem;
}

.gwm-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    justify-content: center;
    margin-top: .85rem;
}

.gwm-footer-social a {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    color: var(--gwm-white);
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.gwm-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .14);
    padding: 1rem 0;
    font-size: .82rem;
}

/* Gateway fallback */
.gwm-gateway-fallback {
    display: grid;
    min-height: 100vh;
    background:
        linear-gradient(90deg, rgba(7, 19, 31, .92), rgba(7, 19, 31, .54)),
        var(--gwm-navy);
    color: var(--gwm-white);
}

.gwm-gateway-fallback-hero {
    display: grid;
    align-items: center;
    width: var(--gwm-container);
    min-height: 100vh;
    margin-inline: auto;
    padding: 4rem 0;
}

.gwm-gateway-fallback h1 {
    max-width: 840px;
    margin: 0 0 1rem;
    font-size: clamp(3rem, 9vw, 7rem);
    line-height: 1;
}

.gwm-gateway-fallback nav {
    display: grid;
    gap: .9rem;
    max-width: 420px;
    margin-top: 2rem;
}

.gwm-gateway-fallback nav a {
    display: block;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--gwm-radius);
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, .08);
    color: var(--gwm-white);
    text-decoration: none;
    font-weight: 800;
}

/* Reveal animation */
[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

body.gwm-menu-open {
    overflow: hidden;
}

/* Responsive */
@media (min-width: 640px) {
    .gwm-desktop-nav {
        display: block;
    }

.gwm-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gwm-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gwm-welcome-grid {
        grid-template-columns: .95fr .85fr;
        align-items: center;
    }

    .gwm-prayer-strip-inner {
        grid-template-columns: auto .7fr 1.2fr auto;
    }
}

@media (min-width: 760px) {
    .gwm-snapshot-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gwm-featured-content .gwm-card {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .gwm-bank-panel,
    .gwm-contact-split {
        grid-template-columns: 1.2fr .8fr;
    }

    .gwm-home-highlights-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home .gwm-section-navy .gwm-container,
    .front-page .gwm-section-navy .gwm-container {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

@media (min-width: 1080px) {
    .gwm-desktop-nav {
        margin-left: auto;
    }

    .gwm-header-inner {
        gap: 1.15rem;
    }

    .gwm-footer-grid {
        grid-template-columns: 1.35fr 1.35fr 1.25fr 1.45fr 1.35fr;
    }

    .gwm-welcome-band,
    .gwm-featured-content,
    .gwm-ministry-preview {
        padding-top: clamp(1.8rem, 3vw, 3rem);
        padding-bottom: clamp(1.8rem, 3vw, 3rem);
    }

    .gwm-welcome-grid {
        grid-template-columns: .9fr .8fr;
    }

    .gwm-home-highlights-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gwm-home-highlight-card,
    .gwm-home-welcome,
    .gwm-home-sermon,
    .gwm-home-ministries {
        min-height: 520px;
    }

    .gwm-featured-content .gwm-card {
        min-height: 320px;
        overflow: hidden;
    }
}

@media (max-width: 980px) {
    .gwm-visit-hero-inner {
        grid-template-columns: 1fr;
    }

    .gwm-visit-hero-photo {
        max-width: 680px;
        transform: none;
    }
}

@media (max-width: 759px) {
    :root {
        --gwm-header-height: 62px;
    }

    .gwm-header-inner {
        gap: .6rem;
        min-height: var(--gwm-header-height);
    }

    .gwm-brand {
        flex: 1 1 auto;
        max-width: calc(100vw - 164px);
    }

    .gwm-brand-image {
        max-width: 64px;
        max-height: 38px;
    }

    .gwm-brand-text strong,
    .gwm-brand-text small {
        max-width: 11.5rem;
    }

    .gwm-brand-text strong {
        font-size: .76rem;
    }

    .gwm-brand-text small {
        font-size: .48rem;
    }

    .gwm-header-give {
        min-width: auto;
        padding-inline: .78rem;
    }

    .gwm-home-hero h1 {
        font-size: clamp(2.35rem, 12vw, 3.6rem);
    }

    .gwm-scriptline {
        font-size: clamp(1.45rem, 8vw, 2.2rem);
    }

    .gwm-snapshot-grid {
        width: min(100% - 24px, 520px);
    }

    .gwm-snapshot-card {
        min-height: 78px;
    }

    .gwm-snapshot-icon {
        width: 48px;
        height: 48px;
    }

    .gwm-home-highlight-card,
    .gwm-home-welcome,
    .gwm-home-sermon,
    .gwm-home-ministries {
        padding: .78rem;
    }

    .gwm-home-highlight-media,
    .gwm-home-welcome-image,
    .gwm-home-highlight-media-gallery {
        aspect-ratio: 16 / 10;
    }

    .gwm-home-highlight-copy h2,
    .gwm-home-highlight-body h2,
    .gwm-home-welcome-copy h2,
    .gwm-home-sermon h2,
    .gwm-home-ministries h2 {
        font-size: clamp(1.75rem, 8vw, 2.35rem);
    }

    .gwm-footer-col,
    .gwm-footer-col:first-child {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .14);
        padding: 1.1rem 0;
    }
}

@media (max-width: 640px) {
    .gwm-visit-hero-inner {
        min-height: 0;
        padding-block: 2rem;
    }

    .gwm-visit-hero-copy h2 {
        font-size: clamp(1.65rem, 8vw, 2.35rem);
    }

    .gwm-visit-hero-photo {
        width: 100%;
        max-width: 100%;
        min-height: 0;
        aspect-ratio: 16 / 9;
        transform: none;
    }

    .gwm-visit-hero-photo img {
        width: 100%;
        height: 100%;
        min-height: 0;
        object-fit: cover;
        object-position: 70% center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
/* GWM manual fix: home highlight card finishing */
.gwm-home-highlights {
    padding-top: clamp(0.75rem, 2vw, 1.5rem) !important;
    padding-bottom: clamp(2rem, 4vw, 3.5rem) !important;
}

.gwm-home-highlights-grid {
    align-items: stretch !important;
}

.gwm-home-highlight-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

/* Stop old sermon background image styling from creating extra layout space */
.gwm-home-sermon::before {
    content: none !important;
    display: none !important;
}

.gwm-home-sermon,
.gwm-sermon-slider-card {
    padding: 15px !important;
}

.gwm-sermon-slide {
    display: none !important;
}

.gwm-sermon-slide.is-active {
    display: flex !important;
    flex-direction: column !important;
}

/* Sermon image area */
.gwm-home-sermon .gwm-home-highlight-media {
    width: calc(100% - 1.3rem) !important;
    margin: 0.65rem 0.65rem 0 !important;
    padding: 0.5rem !important;
    aspect-ratio: 16 / 10 !important;
    background: #ffffff !important;
    border: 1px solid rgba(201, 162, 39, 0.22) !important;
    border-radius: var(--gwm-radius) !important;
    overflow: hidden !important;
}

.gwm-home-sermon .gwm-home-highlight-media img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
}

/* Sermon text area: this removes the ugly extended empty space */
.gwm-home-sermon .gwm-home-highlight-body {
    flex: 0 0 auto !important;
    width: 100% !important;
    padding: 1rem 1.05rem 1.05rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

.gwm-home-sermon .gwm-home-highlight-body h2 {
    margin: 0 0 0.55rem !important;
    font-size: clamp(1.35rem, 2vw, 1.95rem) !important;
    line-height: 1.08 !important;
}

.gwm-home-sermon .gwm-home-highlight-body p {
    margin-top: 0 !important;
}

.gwm-home-sermon .gwm-home-highlight-body > p:last-of-type {
    margin-bottom: 0 !important;
}

.gwm-home-sermon .gwm-home-highlight-action {
    width: 100% !important;
    margin-top: 0.85rem !important;
    padding-top: 0 !important;
}

.gwm-home-sermon .gwm-button {
    width: 100% !important;
    margin: 0 !important;
    background: var(--gwm-gold) !important;
    color: var(--gwm-navy) !important;
}

/* =========================================================
   GWM CPT Sermon Slider - Homepage Card Polish
   ========================================================= */

/* Reduce space above the 3 cards */
.gwm-home-highlights {
    padding-top: clamp(0.75rem, 2vw, 1.5rem) !important;
    padding-bottom: clamp(2rem, 4vw, 3.5rem) !important;
}

/* Keep all cards balanced */
.gwm-home-highlights-grid {
    align-items: stretch !important;
}

.gwm-home-highlight-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    overflow: hidden !important;
}

/* Disable old fake sermon image if it exists */
.gwm-home-sermon::before {
    content: none !important;
    display: none !important;
}

/* Sermon slider card */
.gwm-home-sermon,
.gwm-sermon-slider-card {
    position: relative !important;
    padding: 0 !important;
}

/* Slider wrapper */
.gwm-sermon-slides {
    position: relative !important;
    width: 100% !important;
}

/* Hide inactive slides */
.gwm-sermon-slide {
    display: none !important;
}

/* Show active sermon slide */
.gwm-sermon-slide.is-active {
    display: flex !important;
    flex-direction: column !important;
}

/* Sermon image area */
.gwm-home-sermon .gwm-home-highlight-media {
    width: calc(100% - 1.3rem) !important;
    margin: 0.65rem 0.65rem 0 !important;
    padding: 0.5rem !important;
    aspect-ratio: 16 / 10 !important;
    background: #ffffff !important;
    border: 1px solid rgba(201, 162, 39, 0.22) !important;
    border-radius: var(--gwm-radius) !important;
    overflow: hidden !important;
}

.gwm-home-sermon .gwm-home-highlight-media img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    border-radius: calc(var(--gwm-radius) - 3px) !important;
}

/* Sermon text body */
.gwm-home-sermon .gwm-home-highlight-body {
    flex: 0 0 auto !important;
    width: 100% !important;
    padding: 1rem 1.05rem 0.8rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

/* Eyebrow */
.gwm-home-sermon .gwm-eyebrow {
    margin-bottom: 0.35rem !important;
}

/* Sermon title */
.gwm-home-sermon .gwm-home-highlight-body h2 {
    margin: 0 0 0.5rem !important;
    font-size: clamp(1.15rem, 3vw, 1.45rem) !important;
    line-height: 1.1 !important;
}

/* Preacher text */
.gwm-sermon-preacher {
    margin: 0 0 0.4rem !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: var(--gwm-gold) !important;
}

/* Sermon summary */
.gwm-home-sermon .gwm-home-highlight-body p {
    margin-top: 0 !important;
}

.gwm-home-sermon .gwm-home-highlight-body > p:last-of-type {
    margin-bottom: 0 !important;
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
}

/* Watch button */
.gwm-home-sermon .gwm-home-highlight-action {
    width: 100% !important;
    margin-top: 0.85rem !important;
    padding-top: 0 !important;
}

.gwm-home-sermon .gwm-button {
    width: 100% !important;
    margin: 0 !important;
    justify-content: center !important;
    background: var(--gwm-gold) !important;
    color: var(--gwm-navy) !important;
    border-color: var(--gwm-gold) !important;
}

/* Slider navigation */
.gwm-sermon-slider-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.6rem !important;
    padding: 0 1.05rem 1rem !important;
}

/* Prev / next buttons */
.gwm-sermon-slider-btn {
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(201, 162, 39, 0.35) !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: var(--gwm-navy) !important;
    font-size: 1.25rem !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

.gwm-sermon-slider-btn:hover {
    background: var(--gwm-gold) !important;
    color: var(--gwm-navy) !important;
}

/* Slider dots */
.gwm-sermon-slider-dots {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
}

.gwm-sermon-slider-dot {
    width: 7px !important;
    height: 7px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(7, 19, 31, 0.25) !important;
    cursor: pointer !important;
}

.gwm-sermon-slider-dot.is-active {
    width: 18px !important;
    background: var(--gwm-gold) !important;
}

/* Mobile */
@media (max-width: 782px) {
    .gwm-home-sermon .gwm-home-highlight-body h2 {
        font-size: clamp(1.15rem, 6vw, 1.45rem) !important;
    }

    .gwm-home-sermon .gwm-home-highlight-media {
        aspect-ratio: 16 / 11 !important;
    }
}

/* =========================================================
   GWM Sermon Slider - Manual Final Polish
   ========================================================= */

/* Make sermon image match the visual weight of the other cards */
.gwm-home-sermon .gwm-home-highlight-media {
    width: calc(100% - 1.3rem) !important;
    margin: -0.2rem 0.65rem 0 !important;
    padding: 0.55rem !important;
    aspect-ratio: 16 / 9.8 !important;
    background: #fff !important;
    border: 1px solid rgba(201, 162, 39, 0.22) !important;
    border-radius: var(--gwm-radius) !important;
    overflow: hidden !important;
}

.gwm-home-sermon .gwm-home-highlight-media img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center top !important;
    border-radius: calc(var(--gwm-radius) - 3px) !important;
}

/* Better sermon text spacing */
.gwm-home-sermon .gwm-home-highlight-body {
    padding: 1rem 1.05rem 0.85rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

.gwm-home-sermon .gwm-eyebrow {
    margin: 0 0 0.35rem !important;
}

.gwm-home-sermon .gwm-home-highlight-body h2 {
    margin: 0 0 0.65rem !important;
    font-size: clamp(1.2rem, 2.4vw, 1.55rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.025em !important;
}

/* New clean sermon meta layout */
.gwm-sermon-meta {
    display: grid !important;
    gap: 0.35rem !important;
    margin: 0 0 0.75rem !important;
    padding: 0.7rem 0.75rem !important;
    width: auto;
    border-radius: 8px !important;
    background: var(--gwm-white) !important;
    border: 1px solid rgba(0, 0, 0, 0.07) !important;
}

.gwm-sermon-meta-row {
    display: grid !important;
    grid-template-columns: 74px 1fr !important;
    gap: 0.65rem !important;
    align-items: baseline !important;
    font-size: 0.86rem !important;
    line-height: 1.25 !important;
}

.gwm-sermon-meta-row span {
    color: rgba(7, 19, 31, 0.58) !important;
    font-weight: 700 !important;
}

.gwm-sermon-meta-row strong {
    color: var(--gwm-navy) !important;
    font-weight: 800 !important;
}

/* Sermon summary */
.gwm-sermon-summary {
    margin: 0 !important;
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    color: rgba(7, 19, 31, 0.75) !important;
}

/* Watch button closer and cleaner */
.gwm-home-sermon .gwm-home-highlight-action {
    margin-top: 0.85rem !important;
    width: 100% !important;
}

.gwm-home-sermon .gwm-button {
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    justify-content: center !important;
    border-radius: 8px !important;
    background: var(--gwm-gold) !important;
    color: var(--gwm-navy) !important;
    font-weight: 900 !important;
}

/* Fix carousel nav: force horizontal, not vertical */
.gwm-sermon-slider-nav {
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.55rem !important;
    padding: 0 1.05rem 1rem !important;
    margin: 0 !important;
}

.gwm-sermon-slider-dots {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    width: auto !important;
    margin: 0 !important;
}

.gwm-sermon-slider-btn {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border-radius: 999px !important;
    border: 1px solid rgba(201, 162, 39, 0.45) !important;
    background: #fff !important;
    color: var(--gwm-navy) !important;
    font-size: 1.5rem !important;
    line-height: 1 !important;
}

.gwm-sermon-slider-btn:hover {
    background: var(--gwm-gold) !important;
    color: var(--gwm-navy) !important;
}

.gwm-sermon-slider-dot {
    width: 7px !important;
    height: 7px !important;
    min-width: 7px !important;
    min-height: 7px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(7, 19, 31, 0.22) !important;
}

.gwm-sermon-slider-dot.is-active {
    width: 18px !important;
    background: var(--gwm-gold) !important;
}
/* =========================================================
   GWM Backend-Driven Welcome + Ministries Card Polish
   ========================================================= */

.gwm-home-highlights {
    padding-top: clamp(0.75rem, 2vw, 1.5rem) !important;
    padding-bottom: clamp(2rem, 4vw, 3.5rem) !important;
}

.gwm-home-highlights-grid {
    align-items: stretch !important;
}

.gwm-home-highlight-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    overflow: hidden !important;
}

.gwm-home-highlight-media {
    width: calc(100% - 1.3rem) !important;
    margin: 0.65rem 0.65rem 0 !important;
    padding: 0.55rem !important;
    aspect-ratio: 16 / 9.8 !important;
    background: #ffffff !important;
    border: 1px solid rgba(201, 162, 39, 0.22) !important;
    border-radius: var(--gwm-radius) !important;
    overflow: hidden !important;
}

.gwm-home-highlight-media img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    border-radius: calc(var(--gwm-radius) - 3px) !important;
}

.gwm-home-highlight-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    padding: 1rem 1.05rem 1.05rem !important;
}

.gwm-home-highlight-body h2 {
    margin: 0 0 0.55rem !important;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.025em !important;
}

.gwm-home-highlight-body p {
    margin-top: 0 !important;
}

.gwm-home-highlight-action {
    margin-top: auto !important;
    width: 100% !important;
}

/* Ministries gallery */
.gwm-home-highlight-media-gallery {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.45rem !important;
    aspect-ratio: 16 / 9.8 !important;
}

.gwm-ministry-mini-card {
    position: relative !important;
    display: block !important;
    min-height: 0 !important;
    overflow: hidden !important;
    border-radius: calc(var(--gwm-radius) - 3px) !important;
    background: #07131f !important;
    text-decoration: none !important;
}

.gwm-ministry-mini-card img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    transform: scale(1.01) !important;
    transition: transform 220ms ease, opacity 220ms ease !important;
}

.gwm-ministry-mini-card::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(
        180deg,
        rgba(7, 19, 31, 0.00),
        rgba(7, 19, 31, 0.00)
    ) !important;
}

.gwm-ministry-mini-card span {
    position: absolute !important;
    left: 0.55rem !important;
    right: 0.55rem !important;
    bottom: 0.45rem !important;
    z-index: 2 !important;
    color: #ffffff !important;
    font-size: 0.78rem !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5) !important;
}

.gwm-ministry-mini-card:hover img {
    transform: scale(1.06) !important;
    opacity: 0.9 !important;
}

/* Ministries button */
.gwm-home-ministries .gwm-inline-link {
    width: 100% !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    background: var(--gwm-navy) !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

.gwm-home-ministries .gwm-inline-link:hover {
    background: var(--gwm-gold) !important;
    color: var(--gwm-navy) !important;
}

/* Welcome button */
.gwm-home-welcome .gwm-button {
    width: 100% !important;
    justify-content: center !important;
}

/* Mobile */
@media (max-width: 782px) {
    .gwm-home-highlight-media,
    .gwm-home-highlight-media-gallery {
        aspect-ratio: 16 / 10.5 !important;
    }

    .gwm-home-highlight-body h2 {
        font-size: clamp(1.25rem, 6vw, 1.6rem) !important;
    }

    .gwm-ministry-mini-card span {
        font-size: 0.74rem !important;
    }
}

/* GWM Church Life & Witness Section */
.gwm-home-church-life {
    padding: clamp(2.4rem, 5vw, 4.6rem) 0;
    background:
        radial-gradient(circle at 12% 0%, rgba(201, 162, 39, 0.08), transparent 34%),
        var(--gwm-paper, #f8f5ef);
}

.gwm-home-section-header {
    width: min(760px, 100%);
    margin: 0 auto clamp(1.4rem, 3vw, 2rem);
    text-align: center;
}

.gwm-home-section-eyebrow {
    margin: 0 0 0.45rem;
    color: var(--gwm-gold, #c9a227);
    font-size: 0.73rem;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.gwm-home-section-title {
    margin: 0 0 0.65rem;
    color: var(--gwm-navy, #07131f);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.75rem, 3vw, 2.55rem);
    line-height: 1.05;
}

.gwm-home-section-intro {
    margin: 0;
    color: #475467;
    font-size: clamp(0.96rem, 1.1vw, 1.05rem);
    line-height: 1.65;
}

.gwm-life-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 1.8vw, 1.35rem);
    align-items: stretch;
}

.gwm-life-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid rgba(16, 24, 40, 0.1);
    border-radius: var(--gwm-radius, 8px);
    background: #ffffff;
    color: var(--gwm-ink, #101828);
    box-shadow: 0 18px 48px rgba(7, 19, 31, 0.1);
}

.gwm-life-card-slides,
.gwm-life-card-slide {
    min-width: 0;
}

.gwm-life-card-slide {
    display: none;
    flex: 1 1 auto;
    flex-direction: column;
}

.gwm-life-card-slide.is-active {
    display: flex;
}

.gwm-life-card-media {
    display: block;
    width: calc(100% - 1.3rem);
    margin: 0.65rem 0.65rem 0;
    padding: 0.55rem;
    overflow: hidden;
    border: 1px solid rgba(201, 162, 39, 0.22);
    border-radius: var(--gwm-radius, 8px);
    background: #ffffff;
    aspect-ratio: 16 / 10;
    text-decoration: none;
}

.gwm-life-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: calc(var(--gwm-radius, 8px) - 3px);
    object-fit: cover;
}

.gwm-life-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 1rem 1.05rem 1.05rem;
}

.gwm-life-card-body h3 {
    margin: 0 0 0.55rem;
    color: var(--gwm-navy, #07131f);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    line-height: 1.08;
}

.gwm-life-card-meta {
    margin: 0 0 0.62rem;
    color: rgba(7, 19, 31, 0.64);
    font-size: 0.83rem;
    font-weight: 800;
    line-height: 1.35;
}

.gwm-life-card-text {
    margin: 0 0 1rem;
    color: #475467;
    font-size: 0.94rem;
    line-height: 1.56;
}

.gwm-life-card-action {
    width: 100%;
    margin-top: auto;
}

.gwm-life-card-action .gwm-button,
.gwm-life-card-action a {
    width: 100%;
    justify-content: center;
}

.gwm-card-slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0 1.05rem 1rem;
}

.gwm-card-slider-btn {
    width: 32px;
    height: 32px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(201, 162, 39, 0.35);
    border-radius: var(--gwm-radius, 8px);
    background: #ffffff;
    color: var(--gwm-navy, #07131f);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

.gwm-card-slider-dots {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.gwm-card-slider-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(7, 19, 31, 0.22);
    cursor: pointer;
}

.gwm-card-slider-dot.is-active {
    background: var(--gwm-gold, #c9a227);
}

@media (max-width: 1079px) {
    .gwm-life-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .gwm-life-card-grid {
        grid-template-columns: 1fr;
    }
}

/* GWM Full Site Launch Polish */
.gwm-page-hero{min-height:clamp(320px,42vw,560px);display:flex;align-items:center;background-size:cover;background-position:center;color:#f7efd2;padding:clamp(5rem,9vw,8rem) clamp(1rem,5vw,4rem)}
.gwm-page-hero__inner{width:min(1120px,100%);margin:0 auto}
.gwm-eyebrow{margin:0 0 .85rem;color:#d4af37;text-transform:uppercase;letter-spacing:.12em;font-size:.78rem;font-weight:700}
.gwm-page-hero h1{max-width:880px;margin:0;font-size:clamp(2.25rem,6vw,5rem);line-height:1.02;color:#fff}
.gwm-page-hero p:not(.gwm-eyebrow){max-width:720px;font-size:clamp(1rem,2vw,1.25rem);line-height:1.75}
.gwm-content-band{width:min(1180px,calc(100% - 2rem));margin:0 auto;padding:clamp(3rem,6vw,5rem) 0}
.gwm-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.25rem}
.gwm-card{background:#fff;border:1px solid rgba(7,19,31,.1);border-radius:8px;overflow:hidden;box-shadow:0 18px 48px rgba(7,19,31,.08)}
.gwm-card__media{display:block;aspect-ratio:16/10;background:#07131f;color:#f7efd2;text-decoration:none;overflow:hidden}
.gwm-card__media img{width:100%;height:100%;object-fit:cover;display:block}
.gwm-card__placeholder{display:grid;place-items:center;height:100%;padding:1rem;text-align:center}
.gwm-card__body{padding:1.1rem}
.gwm-card__title{font-size:1.2rem;margin:.1rem 0 .65rem}
.gwm-card__title a,.gwm-card__link{color:#07131f;text-decoration:none}
.gwm-card__link{font-weight:700;border-bottom:1px solid #d4af37}
.gwm-footer-credit a{text-decoration:none}
.gwm-footer-credit a:hover{color:#d4af37;border-bottom:1px solid currentColor}
.gwm-social-links{display:flex;gap:.65rem;align-items:center;flex-wrap:wrap}
.gwm-social-links a{display:inline-flex;width:40px;height:40px;border-radius:50%;text-decoration:none}
.gwm-social-links img,.gwm-social-links svg{width:40px;height:40px;display:block}
.gwm-cookie-bar{position:fixed;left:1rem;right:1rem;bottom:1rem;z-index:9999;display:none;gap:1rem;align-items:center;justify-content:space-between;max-width:980px;margin:auto;padding:1rem;border-radius:8px;background:#07131f;color:#f7efd2;box-shadow:0 22px 70px rgba(0,0,0,.3)}
.gwm-cookie-bar.is-visible{display:flex}
.gwm-cookie-bar button{border:0;border-radius:6px;padding:.7rem 1rem;background:#d4af37;color:#07131f;font-weight:700;cursor:pointer}
@media(max-width:680px){.gwm-cookie-bar{flex-direction:column;align-items:flex-start}.gwm-page-hero{min-height:300px}}

/* GWM Premium Half Drawer Mobile Menu V2 State Awareness */
@media (max-width: 900px) {
}

@media (min-width: 901px) {
}

/* GWM Mobile Menu V4 Closed Accordion State Fix */
@media (min-width: 901px) {
}

@media (max-width: 900px) {
}

/* GWM Mobile Menu V5 Close Button State Fix */
@media (min-width: 901px) {
}

@media (max-width: 900px) {
}



/* =========================================================
   GWM Final Navigation Suite Polish
   Definitive primary-menu dropdown repair.
   ========================================================= */

.gwm-site-header,
.site-header {
    z-index: 1000;
}

.gwm-site-header .gwm-desktop-nav,
.gwm-site-header .main-navigation {
    position: relative;
}

.gwm-site-header .gwm-menu,
.gwm-site-header .gwm-primary-menu,
.gwm-site-header .primary-menu,
.gwm-site-header .main-navigation > ul {
    display: flex;
    align-items: center;
    gap: clamp(0.7rem, 1.45vw, 1.35rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.gwm-site-header .gwm-menu li,
.gwm-site-header .gwm-primary-menu li,
.gwm-site-header .primary-menu li,
.gwm-site-header .main-navigation li {
    position: relative;
    list-style: none;
}

.gwm-site-header .gwm-menu > li > a,
.gwm-site-header .gwm-primary-menu > li > a,
.gwm-site-header .primary-menu > li > a,
.gwm-site-header .main-navigation > ul > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    gap: 0.35rem;
    color: #fff;
    line-height: 1.2;
    text-decoration: none;
}

.gwm-site-header .menu-item-has-children > a,
.gwm-site-header .page_item_has_children > a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.gwm-site-header .menu-item-has-children > a::after,
.gwm-site-header .page_item_has_children > a::after {
    content: "";
    flex: 0 0 auto;
    width: 0.42rem;
    height: 0.42rem;
    margin-left: 0.08rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    opacity: 0.78;
    transition: transform 180ms ease, opacity 180ms ease;
}

.gwm-site-header .menu-item-has-children:hover > a::after,
.gwm-site-header .menu-item-has-children:focus-within > a::after,
.gwm-site-header .page_item_has_children:hover > a::after,
.gwm-site-header .page_item_has_children:focus-within > a::after {
    transform: rotate(225deg) translateY(-1px);
    opacity: 1;
}

.gwm-site-header .current-menu-item > a,
.gwm-site-header .current-menu-parent > a,
.gwm-site-header .current-menu-ancestor > a,
.gwm-site-header .current_page_item > a,
.gwm-site-header .current_page_parent > a,
.gwm-site-header .current_page_ancestor > a {
    color: var(--gwm-gold, #c9a227) !important;
}

@media (min-width: 901px) {
    .gwm-site-header .gwm-menu .sub-menu,
    .gwm-site-header .gwm-menu .children,
    .gwm-site-header .gwm-primary-menu .sub-menu,
    .gwm-site-header .gwm-primary-menu .children,
    .gwm-site-header .primary-menu .sub-menu,
    .gwm-site-header .primary-menu .children,
    .gwm-site-header .main-navigation .sub-menu,
    .gwm-site-header .main-navigation .children {
        position: absolute;
        top: calc(100% + 0.65rem);
        left: 0;
        z-index: 1001;
        display: block;
        width: max-content;
        min-width: 230px;
        max-width: 290px;
        margin: 0;
        padding: 0.65rem;
        list-style: none;
        background: rgba(7, 19, 31, 0.98);
        border: 1px solid rgba(201, 162, 39, 0.28);
        border-radius: 8px;
        box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(10px);
        transition:
            opacity 180ms ease,
            transform 180ms ease,
            visibility 180ms ease;
    }

    .gwm-site-header .gwm-menu .sub-menu .sub-menu,
    .gwm-site-header .gwm-menu .children .children,
    .gwm-site-header .gwm-primary-menu .sub-menu .sub-menu,
    .gwm-site-header .gwm-primary-menu .children .children,
    .gwm-site-header .primary-menu .sub-menu .sub-menu,
    .gwm-site-header .primary-menu .children .children,
    .gwm-site-header .main-navigation .sub-menu .sub-menu,
    .gwm-site-header .main-navigation .children .children {
        top: -0.65rem;
        left: calc(100% + 0.5rem);
    }

    .gwm-site-header .gwm-menu .menu-item-has-children:hover > .sub-menu,
    .gwm-site-header .gwm-menu .menu-item-has-children:focus-within > .sub-menu,
    .gwm-site-header .gwm-menu .page_item_has_children:hover > .children,
    .gwm-site-header .gwm-menu .page_item_has_children:focus-within > .children,
    .gwm-site-header .gwm-primary-menu .menu-item-has-children:hover > .sub-menu,
    .gwm-site-header .gwm-primary-menu .menu-item-has-children:focus-within > .sub-menu,
    .gwm-site-header .primary-menu .menu-item-has-children:hover > .sub-menu,
    .gwm-site-header .primary-menu .menu-item-has-children:focus-within > .sub-menu,
    .gwm-site-header .main-navigation .menu-item-has-children:hover > .sub-menu,
    .gwm-site-header .main-navigation .menu-item-has-children:focus-within > .sub-menu,
    .gwm-site-header .main-navigation .page_item_has_children:hover > .children,
    .gwm-site-header .main-navigation .page_item_has_children:focus-within > .children {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .gwm-site-header .sub-menu li,
    .gwm-site-header .children li {
        display: block;
        width: 100%;
    }

    .gwm-site-header .sub-menu a,
    .gwm-site-header .children a {
        display: flex;
        width: 100%;
        min-height: 0;
        align-items: center;
        justify-content: space-between;
        padding: 0.58rem 0.68rem;
        border-radius: 6px;
        color: rgba(255, 255, 255, 0.94);
        font-size: 0.9rem;
        line-height: 1.35;
        text-decoration: none;
        white-space: normal;
    }

    .gwm-site-header .sub-menu a:hover,
    .gwm-site-header .sub-menu a:focus-visible,
    .gwm-site-header .children a:hover,
    .gwm-site-header .children a:focus-visible,
    .gwm-site-header .sub-menu .current-menu-item > a,
    .gwm-site-header .children .current_page_item > a {
        background: rgba(201, 162, 39, 0.16);
        color: var(--gwm-soft-gold, #f0d779);
    }
}

.gwm-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.gwm-quick-actions a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 0.7rem 1rem;
    background: var(--gwm-navy, #07131f);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.gwm-quick-actions a:hover,
.gwm-quick-actions a:focus-visible {
    background: var(--gwm-gold, #c9a227);
    color: var(--gwm-navy, #07131f);
}

@media (max-width: 900px) {
    .gwm-site-header .gwm-desktop-nav,
.gwm-submenu-toggle::before {
        content: "";
        width: 0.5rem;
        height: 0.5rem;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        transition: transform 180ms ease;
    }

    .menu-item.is-submenu-open > .gwm-submenu-toggle::before,
    .page_item.is-submenu-open > .gwm-submenu-toggle::before {
        transform: rotate(225deg);
    }
}

/* =========================================================
   GWM Primary Menu Visibility Correction
   Fixes exposed desktop toggle dashes and clipped fixed header.
   ========================================================= */

body {
    padding-top: var(--gwm-header-height);
}

.gwm-site-header {
    min-height: 0px;
}

.gwm-site-header .gwm-header-inner {
    min-height: var(--gwm-header-height);
}

@media (min-width: 901px) {
    .gwm-site-header .gwm-desktop-nav {
        display: flex;
        align-items: center;
        min-width: 0;
    }

    .gwm-site-header .gwm-desktop-nav .gwm-submenu-toggle,
    .gwm-site-header .gwm-desktop-nav .submenu-toggle,
    .gwm-site-header .gwm-desktop-nav .dropdown-toggle,
    .gwm-site-header .gwm-desktop-nav button[aria-expanded],
    .gwm-site-header .main-navigation > ul > li > button,
    .gwm-site-header .gwm-menu > li > button {
        display: none !important;
    }

    .gwm-site-header .gwm-menu > li,
    .gwm-site-header .gwm-primary-menu > li,
    .gwm-site-header .primary-menu > li,
    .gwm-site-header .main-navigation > ul > li {
        display: flex;
        align-items: center;
        min-height: var(--gwm-header-height);
    }

    .gwm-site-header .gwm-menu > li > a,
    .gwm-site-header .gwm-primary-menu > li > a,
    .gwm-site-header .primary-menu > li > a,
    .gwm-site-header .main-navigation > ul > li > a {
        position: relative;
        overflow: visible;
        width: auto;
        max-width: none;
        min-width: 0;
        height: auto;
        min-height: 42px;
        padding: 0.35rem 0;
        color: #ffffff !important;
        opacity: 1 !important;
       
        font-weight: 400;
        letter-spacing: 0;
        line-height: 1.2;
        text-indent: 0;
        text-transform: none;
        white-space: nowrap;
        visibility: visible;
        clip: auto;
        clip-path: none;
        transform: none;
    }

    .gwm-site-header .gwm-menu > li.current-menu-item > a,
    .gwm-site-header .gwm-menu > li.current-menu-parent > a,
    .gwm-site-header .gwm-menu > li.current-menu-ancestor > a,
    .gwm-site-header .gwm-primary-menu > li.current-menu-item > a,
    .gwm-site-header .gwm-primary-menu > li.current-menu-parent > a,
    .gwm-site-header .gwm-primary-menu > li.current-menu-ancestor > a,
    .gwm-site-header .primary-menu > li.current-menu-item > a,
    .gwm-site-header .primary-menu > li.current-menu-parent > a,
    .gwm-site-header .primary-menu > li.current-menu-ancestor > a,
    .gwm-site-header .main-navigation > ul > li.current-menu-item > a,
    .gwm-site-header .main-navigation > ul > li.current-menu-parent > a,
    .gwm-site-header .main-navigation > ul > li.current-menu-ancestor > a {
        color: var(--gwm-gold, #c9a227) !important;
    }

    .gwm-site-header .menu-item-has-children > a::after,
    .gwm-site-header .page_item_has_children > a::after {
        display: inline-block;
        width: 0.38rem;
        height: 0.38rem;
        margin-left: 0.35rem;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg) translateY(-2px);
    }

    .gwm-site-header .menu-item-has-children:hover > a::after,
    .gwm-site-header .menu-item-has-children:focus-within > a::after,
    .gwm-site-header .page_item_has_children:hover > a::after,
    .gwm-site-header .page_item_has_children:focus-within > a::after {
        transform: rotate(225deg) translateY(-1px);
    }
}

@media (max-width: 900px) {
    body {
        padding-top: var(--gwm-header-height);
    }
}

/* =========================================================
   GWM Stable Primary Menu Final Override
   Purpose: stable desktop dropdowns, readable labels, no hover gap.
   ========================================================= */

body {
    padding-top: var(--gwm-header-height);
}

.gwm-site-header {
    min-height: var(--gwm-header-height);
    overflow: visible;
}

.gwm-site-header .gwm-header-inner {
    min-height: var(--gwm-header-height);
    overflow: visible;
}

@media (min-width: 901px) {
    .gwm-site-header .gwm-desktop-nav,
    .gwm-site-header .main-navigation {
        display: flex;
        align-items: center;
        position: relative;
        overflow: visible;
        min-width: 0;
    }

    .gwm-site-header .gwm-menu,
    .gwm-site-header .gwm-primary-menu,
    .gwm-site-header .primary-menu,
    .gwm-site-header .main-navigation > ul {
        display: flex;
        align-items: center;
        gap: clamp(0.45rem, 0.9vw, 0.9rem);
        margin: 0;
        padding: 0;
        list-style: none;
        overflow: visible;
    }

    .gwm-site-header .gwm-menu > li,
    .gwm-site-header .gwm-primary-menu > li,
    .gwm-site-header .primary-menu > li,
    .gwm-site-header .main-navigation > ul > li {
        display: flex;
        align-items: center;
        position: relative;
        min-height: var(--gwm-header-height);
        list-style: none;
        overflow: visible;
    }

    .gwm-site-header .gwm-menu > li > a,
    .gwm-site-header .gwm-primary-menu > li > a,
    .gwm-site-header .primary-menu > li > a,
    .gwm-site-header .main-navigation > ul > li > a {
        display: inline-flex !important;
        align-items: center;
        gap: 0.34rem;
        position: relative;
        min-height: 42px;
        width: auto;
        max-width: none;
        padding: 0.35rem 0;
        color: #ffffff !important;
        opacity: 1 !important;
        font-size: clamp(0.96rem, 1vw, 1.06rem);
        font-weight: 800;
        line-height: 1.2;
        text-decoration: none;
        text-indent: 0;
        text-transform: none;
        white-space: nowrap;
        visibility: visible !important;
        clip: auto;
        clip-path: none;
        transform: none;
        overflow: visible;
    }

    .gwm-site-header .gwm-menu > li > a:hover,
    .gwm-site-header .gwm-menu > li > a:focus-visible,
    .gwm-site-header .gwm-primary-menu > li > a:hover,
    .gwm-site-header .gwm-primary-menu > li > a:focus-visible,
    .gwm-site-header .primary-menu > li > a:hover,
    .gwm-site-header .primary-menu > li > a:focus-visible,
    .gwm-site-header .main-navigation > ul > li > a:hover,
    .gwm-site-header .main-navigation > ul > li > a:focus-visible {
        color: var(--gwm-soft-gold, #f0d779) !important;
    }

    .gwm-site-header .current-menu-item > a,
    .gwm-site-header .current-menu-parent > a,
    .gwm-site-header .current-menu-ancestor > a,
    .gwm-site-header .current_page_item > a,
    .gwm-site-header .current_page_parent > a,
    .gwm-site-header .current_page_ancestor > a {
        color: var(--gwm-gold, #c9a227) !important;
    }

    .gwm-site-header .gwm-desktop-nav .gwm-submenu-toggle,
    .gwm-site-header .gwm-desktop-nav .submenu-toggle,
    .gwm-site-header .gwm-desktop-nav .dropdown-toggle,
    .gwm-site-header .gwm-desktop-nav button[aria-expanded],
    .gwm-site-header .gwm-desktop-nav .menu-item > button,
    .gwm-site-header .main-navigation > ul > li > button,
    .gwm-site-header .gwm-menu > li > button {
        display: none !important;
    }

    .gwm-site-header .menu-item-has-children > a::after,
    .gwm-site-header .page_item_has_children > a::after {
        content: "";
        flex: 0 0 auto;
        display: inline-block;
        width: 0.42rem;
        height: 0.42rem;
        margin-left: 0.25rem;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        opacity: 0.82;
        transform: rotate(45deg) translateY(-2px);
        transition: transform 160ms ease, opacity 160ms ease;
    }

    .gwm-site-header .menu-item-has-children:hover > a::after,
    .gwm-site-header .menu-item-has-children:focus-within > a::after,
    .gwm-site-header .page_item_has_children:hover > a::after,
    .gwm-site-header .page_item_has_children:focus-within > a::after {
        opacity: 1;
        transform: rotate(225deg) translateY(-1px);
    }

    .gwm-site-header .gwm-menu .sub-menu,
    .gwm-site-header .gwm-menu .children,
    .gwm-site-header .gwm-primary-menu .sub-menu,
    .gwm-site-header .gwm-primary-menu .children,
    .gwm-site-header .primary-menu .sub-menu,
    .gwm-site-header .primary-menu .children,
    .gwm-site-header .main-navigation .sub-menu,
    .gwm-site-header .main-navigation .children {
        position: absolute !important;
        top: 100% !important;
        left: 0;
        z-index: 1001;
        display: block !important;
        width: max-content;
        min-width: 240px;
        max-width: 310px;
        margin: 0;
        padding: 0.7rem;
        list-style: none;
        background: rgba(7, 19, 31, 0.985);
        border: 1px solid rgba(201, 162, 39, 0.3);
        border-radius: 8px;
        box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(6px);
        transition:
            opacity 150ms ease,
            transform 150ms ease,
            visibility 150ms ease;
    }

    .gwm-site-header .sub-menu::before,
    .gwm-site-header .children::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -0.7rem;
        height: 0.7rem;
        display: block;
    }

    .gwm-site-header .gwm-menu .sub-menu .sub-menu,
    .gwm-site-header .gwm-menu .children .children,
    .gwm-site-header .gwm-primary-menu .sub-menu .sub-menu,
    .gwm-site-header .gwm-primary-menu .children .children,
    .gwm-site-header .primary-menu .sub-menu .sub-menu,
    .gwm-site-header .primary-menu .children .children,
    .gwm-site-header .main-navigation .sub-menu .sub-menu,
    .gwm-site-header .main-navigation .children .children {
        top: 0 !important;
        left: calc(100% + 0.35rem);
    }

    .gwm-site-header .gwm-menu .menu-item-has-children:hover > .sub-menu,
    .gwm-site-header .gwm-menu .menu-item-has-children:focus-within > .sub-menu,
    .gwm-site-header .gwm-menu .page_item_has_children:hover > .children,
    .gwm-site-header .gwm-menu .page_item_has_children:focus-within > .children,
    .gwm-site-header .gwm-primary-menu .menu-item-has-children:hover > .sub-menu,
    .gwm-site-header .gwm-primary-menu .menu-item-has-children:focus-within > .sub-menu,
    .gwm-site-header .primary-menu .menu-item-has-children:hover > .sub-menu,
    .gwm-site-header .primary-menu .menu-item-has-children:focus-within > .sub-menu,
    .gwm-site-header .main-navigation .menu-item-has-children:hover > .sub-menu,
    .gwm-site-header .main-navigation .menu-item-has-children:focus-within > .sub-menu,
    .gwm-site-header .main-navigation .page_item_has_children:hover > .children,
    .gwm-site-header .main-navigation .page_item_has_children:focus-within > .children {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .gwm-site-header .sub-menu li,
    .gwm-site-header .children li {
        display: block;
        width: 100%;
        min-height: 0;
    }

    .gwm-site-header .sub-menu a,
    .gwm-site-header .children a {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 0;
        padding: 0.62rem 0.7rem;
        border-radius: 6px;
        color: rgba(255, 255, 255, 0.94) !important;
        font-size: 0.96rem;
        font-weight: 750;
        line-height: 1.35;
        text-decoration: none;
        white-space: normal;
    }

    .gwm-site-header .sub-menu a:hover,
    .gwm-site-header .sub-menu a:focus-visible,
    .gwm-site-header .children a:hover,
    .gwm-site-header .children a:focus-visible,
    .gwm-site-header .sub-menu .current-menu-item > a,
    .gwm-site-header .children .current_page_item > a {
        background: rgba(201, 162, 39, 0.16);
        color: var(--gwm-soft-gold, #f0d779) !important;
    }
}

@media (max-width: 900px) {
    body {
        padding-top: var(--gwm-header-height);
    }
}

/* GWM mobile menu wiped 20260705-120158 */
/* GWM mobile menu wiped 20260705-120158 */

/* GWM Royal Chapel Primary Menu Palette
   Phase 2: primary header/menu colour system.
   Keep this near the end of main.css so it overrides older repair blocks cleanly.
*/
:root {
    --gwm-royal-header-bg: #07131F;
    --gwm-royal-surface: #0B1E2F;
    --gwm-royal-text: #FFF8E8;
    --gwm-royal-muted: #B9C5D0;
    --gwm-royal-gold: #D6A84A;
    --gwm-royal-gold-hover: rgba(214, 168, 74, 0.14);
    --gwm-royal-divider: rgba(255, 248, 232, 0.12);
}

.gwm-site-header {
    background: rgba(7, 19, 31, 0.96);
    border-bottom: 1px solid var(--gwm-royal-divider);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.gwm-site-header .gwm-brand,
.gwm-site-header .gwm-brand:visited {
    color: var(--gwm-royal-text);
}

.gwm-site-header .gwm-brand-text strong {
    color: var(--gwm-royal-text);
}

.gwm-site-header .gwm-brand-text small {
    color: var(--gwm-royal-muted);
}

.gwm-site-header .gwm-brand-mark {
    background: var(--gwm-royal-gold);
    color: var(--gwm-royal-header-bg);
    border-color: rgba(255, 248, 232, 0.35);
}

.gwm-site-header .gwm-desktop-nav > ul > li > a,
.gwm-site-header .main-navigation > ul > li > a {
    color: var(--gwm-royal-text);
}

.gwm-site-header .gwm-desktop-nav > ul > li > a:hover,
.gwm-site-header .gwm-desktop-nav > ul > li > a:focus,
.gwm-site-header .main-navigation > ul > li > a:hover,
.gwm-site-header .main-navigation > ul > li > a:focus {
    color: var(--gwm-royal-gold);
    background: var(--gwm-royal-gold-hover);
}

.gwm-site-header .gwm-desktop-nav > ul > li.current-menu-item > a,
.gwm-site-header .gwm-desktop-nav > ul > li.current_page_item > a,
.gwm-site-header .gwm-desktop-nav > ul > li.current-menu-ancestor > a,
.gwm-site-header .main-navigation > ul > li.current-menu-item > a,
.gwm-site-header .main-navigation > ul > li.current_page_item > a,
.gwm-site-header .main-navigation > ul > li.current-menu-ancestor > a {
    color: var(--gwm-royal-gold);
    background: var(--gwm-royal-gold-hover);
}

.gwm-site-header .sub-menu,
.gwm-site-header .children {
    background: var(--gwm-royal-surface);
    border: 1px solid var(--gwm-royal-divider);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34);
}

.gwm-site-header .sub-menu a,
.gwm-site-header .children a {
    color: var(--gwm-royal-text);
    border-bottom: 1px solid var(--gwm-royal-divider);
}

.gwm-site-header .sub-menu a:hover,
.gwm-site-header .sub-menu a:focus,
.gwm-site-header .children a:hover,
.gwm-site-header .children a:focus {
    color: var(--gwm-royal-gold);
    background: var(--gwm-royal-gold-hover);
}

.gwm-site-header .sub-menu .current-menu-item > a,
.gwm-site-header .sub-menu .current_page_item > a,
.gwm-site-header .children .current-menu-item > a,
.gwm-site-header .children .current_page_item > a {
    color: var(--gwm-royal-gold);
    background: var(--gwm-royal-gold-hover);
}

.gwm-header-give,
.gwm-header-give:visited {
    background: var(--gwm-royal-gold);
    border-color: var(--gwm-royal-gold);
    color: var(--gwm-royal-header-bg);
}

.gwm-header-give:hover,
.gwm-header-give:focus {
    background: #E4BD67;
    border-color: #E4BD67;
    color: var(--gwm-royal-header-bg);
}

.gwm-site-header a:focus-visible,
.gwm-header-give:focus-visible {
    outline: 2px solid var(--gwm-royal-gold);
    outline-offset: 3px;
}

/* GWM Phase 3 Mobile Drawer */
.gwm-mobile-menu-trigger {
    display: none;
}

.gwm-mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
}

.gwm-mobile-drawer[aria-hidden="false"] {
    pointer-events: auto;
}

.gwm-mobile-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(3, 8, 14, 0.58);
    opacity: 0;
    transition: opacity 240ms ease;
}

.gwm-mobile-drawer[aria-hidden="false"] .gwm-mobile-drawer__overlay {
    opacity: 1;
}

.gwm-mobile-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(88vw, 430px);
    height: 100dvh;
    display: flex;
    flex-direction: column;
    background: #0B1E2F;
    color: #FFF8E8;
    box-shadow: -28px 0 70px rgba(0, 0, 0, 0.42);
    transform: translateX(100%);
    transition: transform 260ms ease;
    outline: none;
}

.gwm-mobile-drawer[aria-hidden="false"] .gwm-mobile-drawer__panel {
    transform: translateX(0);
}

.gwm-mobile-drawer__header,
.gwm-mobile-drawer__actions,
.gwm-mobile-drawer__footer {
    flex: 0 0 auto;
}

.gwm-mobile-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px;
    border-bottom: 1px solid rgba(255, 248, 232, 0.12);
    background: #07131F;
}

.gwm-mobile-drawer__brand {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 4px 12px;
    align-items: center;
    color: #FFF8E8;
    text-decoration: none;
}

.gwm-mobile-drawer__brand img,
.gwm-mobile-drawer__brand > span {
    grid-row: span 2;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: contain;
    background: rgba(255, 248, 232, 0.08);
}

.gwm-mobile-drawer__brand strong {
    line-height: 1.1;
}

.gwm-mobile-drawer__brand small {
    color: #B9C5D0;
}

.gwm-mobile-drawer__close,
.gwm-mobile-menu-trigger,
.gwm-mobile-submenu-toggle {
    min-width: 44px;
    min-height: 44px;
    border: 1px solid rgba(255, 248, 232, 0.12);
    border-radius: 8px;
    background: rgba(255, 248, 232, 0.06);
    color: #FFF8E8;
    cursor: pointer;
}

.gwm-mobile-menu-trigger__bars,
.gwm-mobile-menu-trigger__bars::before,
.gwm-mobile-menu-trigger__bars::after {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    content: "";
}

.gwm-mobile-menu-trigger__bars {
    position: relative;
}

.gwm-mobile-menu-trigger__bars::before {
    position: absolute;
    top: -7px;
}

.gwm-mobile-menu-trigger__bars::after {
    position: absolute;
    top: 7px;
}

.gwm-mobile-drawer__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 248, 232, 0.12);
}

.gwm-mobile-drawer__actions a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 8px;
    background: rgba(214, 168, 74, 0.14);
    color: #FFF8E8;
    text-decoration: none;
    font-weight: 700;
}

.gwm-mobile-drawer__actions a.is-give {
    background: #D6A84A;
    color: #07131F;
}

.gwm-mobile-drawer__nav {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 8px 0;
    scrollbar-color: #D6A84A rgba(255, 248, 232, 0.08);
}

.gwm-mobile-menu-section {
    border-bottom: 1px solid rgba(255, 248, 232, 0.12);
}

.gwm-mobile-menu-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
}

.gwm-mobile-menu-link,
.gwm-mobile-submenu a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 12px 18px;
    color: #FFF8E8;
    text-decoration: none;
    font-weight: 700;
}

.gwm-mobile-menu-link:hover,
.gwm-mobile-menu-link:focus,
.gwm-mobile-submenu a:hover,
.gwm-mobile-submenu a:focus,
.gwm-mobile-submenu-toggle:hover,
.gwm-mobile-submenu-toggle:focus {
    background: rgba(214, 168, 74, 0.14);
    color: #D6A84A;
}

.gwm-mobile-submenu-toggle {
    margin-right: 12px;
    transition: transform 220ms ease;
}

.gwm-mobile-menu-section.is-open .gwm-mobile-submenu-toggle span[aria-hidden="true"] {
    display: inline-block;
    transform: rotate(180deg);
}

.gwm-mobile-submenu {
    padding: 0 0 8px;
    background: rgba(7, 19, 31, 0.42);
}

.gwm-mobile-submenu a {
    min-height: 44px;
    padding-left: 34px;
    color: #B9C5D0;
    font-weight: 600;
}

.gwm-mobile-drawer__footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border-top: 1px solid rgba(255, 248, 232, 0.12);
    background: rgba(255, 248, 232, 0.08);
}

.gwm-mobile-drawer__footer a {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: #07131F;
    color: #B9C5D0;
    text-align: center;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
}

.gwm-mobile-menu-is-open,
.gwm-mobile-menu-is-open body {
    overflow: hidden;
}

@media (max-width: 980px) {
    .gwm-site-header .gwm-desktop-nav,
    .gwm-site-header .main-navigation {
        display: none !important;
    }

    .gwm-mobile-menu-trigger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #FFF8E8;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gwm-mobile-drawer__overlay,
    .gwm-mobile-drawer__panel {
        transition: none;
    }
}

/* GWM Phase 3C Mobile Drawer Final Polish */
.gwm-mobile-drawer__panel {
    left: 0 !important;
    right: auto !important;
    transform: translateX(-100%) !important;
    width: min(88vw, 430px);
    background: #FFFBF1;
    color: #07131F;
    box-shadow: 28px 0 70px rgba(0, 0, 0, 0.32);
}

.gwm-mobile-drawer[aria-hidden="false"] .gwm-mobile-drawer__panel {
    transform: translateX(0) !important;
}

.gwm-mobile-drawer__header {
    background: #FFF4D8;
    border-bottom: 1px solid #E7D9B8;
}

.gwm-mobile-drawer__close {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.gwm-mobile-drawer__group {
    padding: 14px 18px;
    border-bottom: 1px solid #E7D9B8;
}

.gwm-mobile-drawer__group--nav {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
}

.gwm-mobile-drawer__group-label {
    margin: 0 0 10px;
    color: #B8892E;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gwm-mobile-drawer__actions {
    padding: 0;
    border: 0;
}

.gwm-mobile-drawer__nav {
    margin-inline: -18px;
}

.gwm-mobile-submenu-toggle span[aria-hidden="true"] {
    display: inline-block;
    color: #B8892E;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
    transition: transform 220ms ease;
}

.gwm-mobile-menu-section.is-open .gwm-mobile-submenu-toggle span[aria-hidden="true"] {
    transform: rotate(180deg);
}

.gwm-mobile-drawer__church-socials {
    flex: 0 0 auto;
    padding: 14px 18px 16px;
    border-top: 1px solid #E7D9B8;
    background: #FFF4D8;
}

.gwm-mobile-drawer__church-links {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.gwm-mobile-drawer__church-links a {
    color: #07131F;
    font-weight: 800;
    text-decoration: none;
}

.gwm-mobile-drawer__socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gwm-mobile-drawer__socials a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E7D9B8;
    border-radius: 999px;
    background: #FFFBF1;
    color: #07131F;
    font-weight: 900;
    text-decoration: none;
}

.gwm-mobile-drawer__socials a:hover,
.gwm-mobile-drawer__socials a:focus {
    background: rgba(184, 137, 46, 0.14);
    color: #B8892E;
}


/* GWM Phase 3D Dark Royal Mobile Drawer Palette */
.gwm-mobile-drawer__panel {
    background: #0B1E2F !important;
    color: #FFFFFF !important;
}

.gwm-mobile-drawer__header,
.gwm-mobile-drawer__church-socials {
    background: #07131F !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
}

.gwm-mobile-drawer__brand,
.gwm-mobile-drawer__brand strong,
.gwm-mobile-menu-link,
.gwm-mobile-drawer__church-links a {
    color: #FFFFFF !important;
}

.gwm-mobile-drawer__brand small,
.gwm-mobile-submenu a {
    color: #D7DEE6 !important;
}

.gwm-mobile-drawer__group,
.gwm-mobile-menu-section {
    border-color: rgba(255, 255, 255, 0.14) !important;
}

.gwm-mobile-drawer__group-label,
.gwm-mobile-submenu-toggle span[aria-hidden="true"] {
    color: #D6A84A !important;
}

.gwm-mobile-drawer__actions a {
    background: rgba(214, 168, 74, 0.14) !important;
    color: #FFFFFF !important;
}

.gwm-mobile-drawer__actions a.is-give {
    background: #D6A84A !important;
    color: #07131F !important;
}

.gwm-mobile-drawer__close,
.gwm-mobile-submenu-toggle,
.gwm-mobile-menu-trigger {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    color: #FFFFFF !important;
}

.gwm-mobile-menu-link:hover,
.gwm-mobile-menu-link:focus,
.gwm-mobile-submenu a:hover,
.gwm-mobile-submenu a:focus,
.gwm-mobile-submenu-toggle:hover,
.gwm-mobile-submenu-toggle:focus {
    background: rgba(214, 168, 74, 0.14) !important;
    color: #D6A84A !important;
}

.gwm-mobile-submenu {
    background: rgba(7, 19, 31, 0.58) !important;
}

.gwm-mobile-drawer__socials a {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    color: #FFFFFF !important;
}

.gwm-mobile-drawer__socials a:hover,
.gwm-mobile-drawer__socials a:focus {
    background: rgba(214, 168, 74, 0.14) !important;
    color: #D6A84A !important;
}

.gwm-mobile-drawer__nav {
    scrollbar-color: #D6A84A rgba(255, 255, 255, 0.10) !important;
}


/* GWM Mobile Drawer Canonical Scroll Fix */
.gwm-mobile-drawer__panel {
    left: 0 !important;
    right: auto !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    display: block !important;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-width: auto !important;
    scrollbar-color: #D6A84A rgba(255, 255, 255, 0.22) !important;
}

.gwm-mobile-drawer__panel::-webkit-scrollbar {
    width: 18px;
}

.gwm-mobile-drawer__panel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.22);
}

.gwm-mobile-drawer__panel::-webkit-scrollbar-thumb {
    background: #D6A84A;
    border: 4px solid #0B1E2F;
    border-radius: 999px;
}

.gwm-mobile-drawer__panel::-webkit-scrollbar-thumb:hover {
    background: #E4BD67;
}

.gwm-mobile-drawer__group--nav,
.gwm-mobile-drawer__nav {
    overflow: visible !important;
    max-height: none !important;
    min-height: auto !important;
    flex: 0 0 auto !important;
}

.gwm-mobile-drawer__church-socials {
    position: static !important;
    display: block !important;
    padding-bottom: max(22px, env(safe-area-inset-bottom)) !important;
}

.gwm-mobile-drawer__church-links {
    display: grid !important;
    gap: 8px !important;
}

.gwm-mobile-drawer__socials {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding-bottom: 18px !important;
}

.gwm-mobile-drawer__header {
    position: sticky !important;
    top: 0 !important;
    z-index: 3 !important;
}

/* GWM Anchor Navigation Blocks */
html {
  scroll-behavior: smooth;
}

.gwm-anchor-page {
  color: #1f2640;
}

.gwm-parallax-shell {
  min-height: 58vh;
  display: grid;
  align-items: center;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-color: #f8f1e4;
  background-image: linear-gradient(90deg, rgba(255, 252, 245, 0.9), rgba(255, 252, 245, 0.62));
  padding: clamp(5rem, 8vw, 8rem) clamp(1.25rem, 4vw, 4rem);
}

.gwm-anchor-section {
  scroll-margin-top: 120px;
  padding: clamp(2.75rem, 6vw, 5.5rem) clamp(1.25rem, 4vw, 4rem);
}

.gwm-hero-panel,
.gwm-ivory-card {
  max-width: 1120px;
  margin-inline: auto;
  background: rgba(255, 252, 245, 0.94);
  border: 1px solid rgba(189, 145, 55, 0.38);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(31, 38, 64, 0.11);
}

.gwm-hero-panel {
  padding: clamp(2rem, 5vw, 4rem);
}

.gwm-ivory-card {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.gwm-card-grid {
  max-width: 1120px;
  margin-inline: auto;
  gap: 1.5rem;
}

.gwm-anchor-page h1,
.gwm-anchor-page h2 {
  color: #18203a;
  line-height: 1.12;
}

.gwm-anchor-page h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.gwm-anchor-page h2 {
  font-size: clamp(1.75rem, 3vw, 2.7rem);
}

.gwm-anchor-page p,
.gwm-anchor-page li {
  color: #38405a;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.75;
}

.gwm-faith-list {
  display: grid;
  gap: 0.85rem;
  padding-left: 1.25rem;
}

.gwm-gold-button .wp-block-button__link {
  background: #b98a2e;
  color: #fffaf0;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
}

.gwm-gold-button .wp-block-button__link:hover,
.gwm-gold-button .wp-block-button__link:focus {
  background: #9f7423;
}

@media (max-width: 782px) {
  .gwm-parallax-shell {
    min-height: 48vh;
    background-attachment: scroll;
  }

  .gwm-anchor-section {
    scroll-margin-top: 92px;
    padding-inline: 1rem;
  }
}

/* GWM About Page Fixed Parallax Background */
.gwm-about-parallax-page {
    position: relative;
    min-height: 100vh;
    background-color: #fbf7ee;
    background-image:
        linear-gradient(
            180deg,
            rgba(255, 252, 245, 0.92),
            rgba(255, 252, 245, 0.78)
        ),
        var(--gwm-about-parallax-image, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.gwm-about-parallax-page .gwm-anchor-editor-content {
    position: relative;
    z-index: 1;
    background: transparent;
}

.gwm-about-parallax-page .gwm-anchor-section {
    scroll-margin-top: 120px;
}

.gwm-about-parallax-page .gwm-ivory-card,
.gwm-about-parallax-page .gwm-hero-panel {
    backdrop-filter: blur(2px);
}

@media (max-width: 782px) {
    .gwm-about-parallax-page {
        background-attachment: scroll;
        background-position: center top;
    }

    .gwm-about-parallax-page .gwm-anchor-section {
        scroll-margin-top: 92px;
    }
}

/* GWM Admin Hero Image + About Parallax */
.gwm-page-hero--admin-image {
    position: relative;
    min-height: clamp(340px, 52vh, 620px);
    display: grid;
    align-items: center;
    background-color: #fbf7ee;
    background-image:
        linear-gradient(90deg, rgba(255, 252, 245, 0.92), rgba(255, 252, 245, 0.66)),
        var(--gwm-page-hero-image, none);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.gwm-page-hero--admin-image .gwm-page-hero__inner {
    width: min(1120px, calc(100% - 2rem));
    margin-inline: auto;
    padding-block: clamp(4rem, 8vw, 7rem);
}

.gwm-page-hero--admin-image .gwm-page-hero__eyebrow {
    margin: 0 0 0.8rem;
    color: #b98a2e;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gwm-page-hero--admin-image .gwm-page-hero__title {
    max-width: 780px;
    margin: 0;
    color: #18203a;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 1.08;
}

.gwm-page-hero--admin-image .gwm-page-hero__subtitle {
    max-width: 760px;
    margin: 1rem 0 0;
    color: #38405a;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.75;
}

.gwm-about-parallax-page {
    position: relative;
    min-height: 100vh;
    background-color: #fbf7ee;
    background-image:
        linear-gradient(180deg, rgba(255, 252, 245, 0.92), rgba(255, 252, 245, 0.78)),
        var(--gwm-about-parallax-image, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.gwm-about-parallax-page .gwm-anchor-editor-content {
    position: relative;
    z-index: 1;
    background: transparent;
}

.gwm-about-parallax-page .gwm-anchor-section {
    scroll-margin-top: 120px;
}

.gwm-about-parallax-page .gwm-ivory-card,
.gwm-about-parallax-page .gwm-hero-panel {
    backdrop-filter: blur(2px);
}

@media (max-width: 782px) {
    .gwm-about-parallax-page {
        background-attachment: scroll;
        background-position: center top;
    }

    .gwm-about-parallax-page .gwm-anchor-section {
        scroll-margin-top: 92px;
    }
}

/* === GWM ABOUT PREMIUM POLISH START === */
.gwm-about-parallax-page {
    --gwm-ivory: rgba(255, 252, 245, 0.94);
    --gwm-ivory-solid: #fffcf5;
    --gwm-cream: #fbf4e7;
    --gwm-royal: #18203a;
    --gwm-body: #38405a;
    --gwm-muted: #69708a;
    --gwm-gold: #b98a2e;
    --gwm-gold-soft: rgba(185, 138, 46, 0.38);
    --gwm-shadow: 0 22px 60px rgba(31, 38, 64, 0.10);
    position: relative;
    background-color: var(--gwm-cream);
    background-image:
        radial-gradient(circle at 12% 8%, rgba(255,255,255,0.78), transparent 26rem),
        linear-gradient(180deg, rgba(255, 252, 245, 0.90), rgba(255, 252, 245, 0.76)),
        var(--gwm-about-parallax-image, none);
    background-size: auto, cover, cover;
    background-position: center, center, center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.gwm-about-premium-content {
    padding: clamp(2.5rem, 5vw, 5rem) 0 clamp(4rem, 8vw, 7rem);
}

.gwm-about-section {
    width: min(1120px, calc(100% - 2rem));
    margin-inline: auto;
    padding: clamp(1.35rem, 3vw, 2.2rem) 0;
    scroll-margin-top: 124px;
}

.gwm-anchor-editor-content {
    background: transparent;
}

.gwm-ivory-card {
    position: relative;
    overflow: hidden;
    padding: clamp(1.6rem, 4vw, 3.4rem);
    border: 1px solid var(--gwm-gold-soft);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.72), rgba(255,252,245,0.96)),
        var(--gwm-ivory);
    box-shadow: var(--gwm-shadow);
    color: var(--gwm-body);
}

.gwm-ivory-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, rgba(185,138,46,0.95), rgba(185,138,46,0.18));
}

.gwm-ivory-card::after {
    content: "";
    position: absolute;
    width: 16rem;
    height: 16rem;
    right: -9rem;
    top: -10rem;
    border: 1px solid rgba(185,138,46,0.16);
    border-radius: 999px;
    background: rgba(255,255,255,0.34);
    pointer-events: none;
}

.gwm-about-editorial-card {
    max-width: 920px;
    margin-inline: auto;
}

.gwm-section-eyebrow,
.gwm-card-kicker {
    margin: 0 0 0.8rem;
    color: var(--gwm-gold);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.gwm-about-premium-content h2,
.gwm-about-premium-content h3 {
    color: var(--gwm-royal);
    letter-spacing: -0.035em;
}

.gwm-about-premium-content h2 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.05;
}

.gwm-about-premium-content h3 {
    margin: 0 0 0.7rem;
    font-size: clamp(1.12rem, 2vw, 1.48rem);
    line-height: 1.16;
}

.gwm-about-premium-content p {
    color: var(--gwm-body);
    line-height: 1.78;
}

.gwm-section-lead {
    max-width: 760px;
    font-size: clamp(1.02rem, 1.5vw, 1.2rem);
    color: var(--gwm-royal);
}

.gwm-card-grid {
    gap: clamp(1rem, 2vw, 1.5rem) !important;
}

.gwm-about-feature-card {
    height: 100%;
    min-height: 260px;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.gwm-about-feature-card .gwm-card-kicker {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--gwm-gold-soft);
    border-radius: 999px;
    background: rgba(255,255,255,0.65);
    letter-spacing: 0;
}

.gwm-about-feature-card-alt {
    background:
        linear-gradient(135deg, rgba(255,252,245,0.96), rgba(255,255,255,0.78));
}

.gwm-timeline-list {
    position: relative;
    display: grid;
    gap: 1rem;
    margin-top: 1.75rem;
    padding-left: clamp(1rem, 2vw, 1.6rem);
    border-left: 2px solid rgba(185, 138, 46, 0.32);
}

.gwm-timeline-item {
    position: relative;
    padding: 1.15rem 1.25rem;
    border: 1px solid rgba(185, 138, 46, 0.22);
    border-radius: 8px;
    background: rgba(255,255,255,0.58);
}

.gwm-timeline-item::before {
    content: "";
    position: absolute;
    left: calc(-1.6rem - 7px);
    top: 1.35rem;
    width: 13px;
    height: 13px;
    border-radius: 999px;
    background: var(--gwm-gold);
    box-shadow: 0 0 0 6px rgba(185,138,46,0.13);
}

.gwm-leader-grid .wp-block-column,
.gwm-leader-mini-card {
    padding: 1.25rem;
    border: 1px solid rgba(185, 138, 46, 0.25);
    border-radius: 8px;
    background: rgba(255,255,255,0.64);
}

.gwm-faith-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.7rem;
}

.gwm-faith-item {
    position: relative;
    padding: 1.15rem 1.15rem 1.15rem 1.35rem;
    border: 1px solid rgba(185, 138, 46, 0.24);
    border-radius: 8px;
    background: rgba(255,255,255,0.62);
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.gwm-faith-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.1rem;
    width: 4px;
    height: 2.2rem;
    border-radius: 0 999px 999px 0;
    background: var(--gwm-gold);
}

.gwm-service-grid .wp-block-column,
.gwm-schedule-card {
    padding: 1.25rem;
    border: 1px solid rgba(185, 138, 46, 0.24);
    border-radius: 8px;
    background: rgba(255,255,255,0.64);
}

.gwm-schedule-card h3 {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(185, 138, 46, 0.20);
}

.gwm-about-location-card {
    align-items: stretch !important;
}

.gwm-map-panel {
    height: 100%;
    min-height: 280px;
    display: grid;
    align-content: center;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px dashed rgba(185, 138, 46, 0.45);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.68), rgba(255,248,236,0.72));
}

.gwm-final-cta {
    text-align: center;
    max-width: 980px;
    margin-inline: auto;
}

.gwm-final-cta::before {
    width: 100%;
    height: 5px;
    inset: 0 0 auto 0;
    background: linear-gradient(90deg, transparent, var(--gwm-gold), transparent);
}

.gwm-final-cta .wp-block-buttons {
    justify-content: center;
}

.gwm-about-button .wp-block-button__link {
    border-radius: 6px !important;
    padding: 0.9rem 1.35rem;
    background: var(--gwm-royal);
    border: 1px solid var(--gwm-royal);
    color: #fffaf0;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(24, 32, 58, 0.16);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.gwm-about-button-outline .wp-block-button__link {
    background: rgba(255,255,255,0.58);
    color: var(--gwm-royal);
    border-color: var(--gwm-gold);
    box-shadow: none;
}

.gwm-about-button .wp-block-button__link:hover,
.gwm-about-button .wp-block-button__link:focus,
.gwm-about-feature-card:hover,
.gwm-faith-item:hover {
    transform: translateY(-3px);
}

.gwm-about-button .wp-block-button__link:focus-visible {
    outline: 3px solid rgba(185,138,46,0.42);
    outline-offset: 3px;
}

.gwm-reveal-card {
    animation: gwmAboutRise 640ms ease both;
}

@keyframes gwmAboutRise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gwm-reveal-card,
    .gwm-about-button .wp-block-button__link,
    .gwm-about-feature-card,
    .gwm-faith-item {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 900px) {
    .gwm-about-parallax-page {
        background-attachment: scroll;
        background-position: center top;
    }

    .gwm-about-section {
        width: min(100% - 1rem, 720px);
        scroll-margin-top: 92px;
    }

    .gwm-about-premium-content .wp-block-columns {
        display: block;
    }

    .gwm-about-premium-content .wp-block-column {
        margin-bottom: 1rem;
    }

    .gwm-faith-list {
        grid-template-columns: 1fr;
    }

    .gwm-ivory-card {
        padding: 1.35rem;
    }

    .gwm-about-premium-content h2 {
        font-size: clamp(1.85rem, 9vw, 2.5rem);
    }
}

@media (max-width: 520px) {
    .gwm-about-premium-content {
        padding-top: 1.25rem;
    }

    .gwm-ivory-card::after {
        display: none;
    }

    .gwm-timeline-list {
        padding-left: 1rem;
    }

    .gwm-timeline-item::before {
        left: -1.45rem;
    }
}
/* === GWM ABOUT PREMIUM POLISH END === */

/* === GWM FINAL CTA BUTTON POLISH START === */

/* Final CTA button group: desktop */
.gwm-final-cta .wp-block-buttons {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.85rem;
    margin-top: 1.65rem;
}

.gwm-final-cta .wp-block-button {
    margin: 0 !important;
}

.gwm-final-cta .wp-block-button__link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.9rem 1.35rem !important;
    border-radius: 6px !important;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
}

/* Primary final CTA button */
.gwm-final-cta .wp-block-button:first-child .wp-block-button__link {
    min-width: 170px;
}

/* Secondary final CTA buttons */
.gwm-final-cta .gwm-about-button-outline .wp-block-button__link {
    min-width: 180px;
}

/* Mobile: stack beautifully */
@media (max-width: 640px) {
    .gwm-final-cta {
        padding-left: 1.15rem;
        padding-right: 1.15rem;
    }

    .gwm-final-cta .wp-block-buttons {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-top: 1.35rem;
    }

    .gwm-final-cta .wp-block-button {
        width: 100%;
    }

    .gwm-final-cta .wp-block-button__link {
        width: 100%;
        min-width: 0 !important;
        min-height: 52px;
        padding: 0.95rem 1rem !important;
        font-size: 0.96rem;
        box-shadow: 0 12px 26px rgba(24, 32, 58, 0.12);
    }

    .gwm-final-cta .gwm-about-button-outline .wp-block-button__link {
        background: rgba(255, 255, 255, 0.72);
    }
}

/* Extra small screens */
@media (max-width: 390px) {
    .gwm-final-cta .wp-block-button__link {
        font-size: 0.92rem;
        padding-left: 0.85rem !important;
        padding-right: 0.85rem !important;
    }
}

/* === GWM FINAL CTA BUTTON POLISH END === */

/* === GWM ABOUT SUMMARY HARD POLISH START === */

/*
 * Premium About Summary section.
 * Purpose: make the opening About GWM content feel editorial, warm, layered, and designed.
 */

.gwm-about-summary-section {
    position: relative;
    isolation: isolate;
}

.gwm-about-summary-shell {
    position: relative;
    max-width: 1180px;
    margin-inline: auto;
}

.gwm-about-summary-shell::before {
    content: "";
    position: absolute;
    inset: -34px -24px auto auto;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(185, 138, 46, 0.18), rgba(185, 138, 46, 0));
    pointer-events: none;
    z-index: -1;
}

.gwm-about-summary-shell::after {
    content: "";
    position: absolute;
    left: -18px;
    bottom: -22px;
    width: 220px;
    height: 90px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(24, 32, 58, 0.08), rgba(24, 32, 58, 0));
    pointer-events: none;
    z-index: -1;
}

.gwm-about-summary-grid {
    gap: clamp(1rem, 2vw, 1.35rem) !important;
    align-items: stretch !important;
    margin-bottom: 0 !important;
}

.gwm-about-summary-main,
.gwm-about-summary-aside {
    height: 100%;
    min-height: 100%;
}

.gwm-about-summary-main {
    position: relative;
    overflow: hidden;
    padding: clamp(1.75rem, 4vw, 3.6rem);
    border-radius: 10px;
    border: 1px solid rgba(185, 138, 46, 0.36);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.93), rgba(255, 250, 239, 0.98)),
        rgba(255, 250, 239, 0.96);
    box-shadow:
        0 28px 80px rgba(24, 32, 58, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.gwm-about-summary-main::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 7px;
    background: linear-gradient(180deg, #c89a39, rgba(200, 154, 57, 0.18));
}

.gwm-about-summary-main::after {
    content: "";
    position: absolute;
    right: -70px;
    top: -70px;
    width: 210px;
    height: 210px;
    border-radius: 999px;
    border: 1px solid rgba(185, 138, 46, 0.20);
    background:
        radial-gradient(circle at center, rgba(185, 138, 46, 0.10), rgba(185, 138, 46, 0) 62%);
    pointer-events: none;
}

.gwm-about-summary-main .gwm-section-eyebrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 0.85rem !important;
    color: #b98a2e;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.gwm-about-summary-main .gwm-section-eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: rgba(185, 138, 46, 0.72);
}

.gwm-about-summary-main h2 {
    position: relative;
    max-width: 760px;
    margin: 0 0 1rem !important;
    color: #18203a;
    font-size: clamp(2.25rem, 4.8vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.gwm-about-summary-main .gwm-section-lead {
    position: relative;
    max-width: 790px;
    margin: 0 0 0.95rem !important;
    color: #22304d;
    font-size: clamp(1.08rem, 1.45vw, 1.25rem);
    font-weight: 540;
    line-height: 1.82;
}

.gwm-about-summary-main p:not(.gwm-section-eyebrow):not(.gwm-section-lead) {
    position: relative;
    max-width: 740px;
    margin-bottom: 0 !important;
    color: #42506a;
    font-size: 1.01rem;
    line-height: 1.88;
}

.gwm-about-summary-aside {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding: clamp(1.35rem, 2.8vw, 2.1rem);
    border-radius: 10px;
    border: 1px solid rgba(185, 138, 46, 0.28);
    background:
        linear-gradient(145deg, rgba(255, 252, 245, 0.98), rgba(255, 255, 255, 0.82));
    box-shadow:
        0 22px 58px rgba(24, 32, 58, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.gwm-about-summary-aside::before {
    content: "";
    position: absolute;
    right: -42px;
    bottom: -42px;
    width: 140px;
    height: 140px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(185, 138, 46, 0.14), rgba(185, 138, 46, 0));
    pointer-events: none;
}

.gwm-about-summary-aside .gwm-card-kicker {
    margin: 0 !important;
    color: #b98a2e;
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.gwm-about-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 0.15rem 0 0.15rem !important;
}

.gwm-about-chip-list p,
.gwm-about-chip {
    margin: 0 !important;
}

.gwm-about-chip {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(185, 138, 46, 0.32);
    background: rgba(255, 255, 255, 0.78);
    color: #18203a;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 9px 22px rgba(24, 32, 58, 0.06);
}

.gwm-about-summary-aside p:not(.gwm-card-kicker):not(.gwm-about-chip) {
    position: relative;
    margin-bottom: 0 !important;
    color: #4a5870;
    font-size: 0.98rem;
    line-height: 1.78;
}

.gwm-about-premium-content .gwm-ivory-card {
    border-radius: 10px;
    border-color: rgba(185, 138, 46, 0.30);
    box-shadow:
        0 20px 54px rgba(24, 32, 58, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.gwm-about-premium-content .gwm-ivory-card,
.gwm-about-premium-content .gwm-faith-item,
.gwm-about-premium-content .gwm-schedule-card,
.gwm-about-premium-content .gwm-leader-mini-card,
.gwm-about-premium-content .gwm-timeline-item {
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        border-color 220ms ease,
        background-color 220ms ease;
}

.gwm-about-premium-content .gwm-ivory-card:hover,
.gwm-about-premium-content .gwm-faith-item:hover,
.gwm-about-premium-content .gwm-schedule-card:hover,
.gwm-about-premium-content .gwm-leader-mini-card:hover,
.gwm-about-premium-content .gwm-timeline-item:hover {
    transform: translateY(-4px);
    border-color: rgba(185, 138, 46, 0.48);
    box-shadow: 0 30px 76px rgba(24, 32, 58, 0.14);
}

@media (max-width: 900px) {
    .gwm-about-summary-grid {
        display: block !important;
    }

    .gwm-about-summary-grid .wp-block-column {
        width: 100% !important;
        flex-basis: auto !important;
        margin-bottom: 1rem;
    }

    .gwm-about-summary-main h2 {
        font-size: clamp(2.1rem, 9vw, 3rem);
    }
}

@media (max-width: 560px) {
    .gwm-about-summary-shell::before,
    .gwm-about-summary-shell::after {
        opacity: 0.55;
    }

    .gwm-about-summary-main,
    .gwm-about-summary-aside {
        padding: 1.25rem;
        border-radius: 8px;
    }

    .gwm-about-summary-main::before {
        width: 5px;
    }

    .gwm-about-summary-main .gwm-section-eyebrow {
        font-size: 0.69rem;
        letter-spacing: 0.12em;
    }

    .gwm-about-summary-main .gwm-section-eyebrow::before {
        width: 24px;
    }

    .gwm-about-summary-main .gwm-section-lead {
        font-size: 1.01rem;
        line-height: 1.72;
    }

    .gwm-about-summary-main p:not(.gwm-section-eyebrow):not(.gwm-section-lead),
    .gwm-about-summary-aside p:not(.gwm-card-kicker):not(.gwm-about-chip) {
        font-size: 0.96rem;
        line-height: 1.72;
    }

    .gwm-about-chip-list {
        gap: 0.55rem;
    }

    .gwm-about-chip {
        min-height: 36px;
        padding: 0.5rem 0.78rem;
        font-size: 0.86rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gwm-about-premium-content .gwm-ivory-card,
    .gwm-about-premium-content .gwm-faith-item,
    .gwm-about-premium-content .gwm-schedule-card,
    .gwm-about-premium-content .gwm-leader-mini-card,
    .gwm-about-premium-content .gwm-timeline-item {
        transition: none;
    }

    .gwm-about-premium-content .gwm-ivory-card:hover,
    .gwm-about-premium-content .gwm-faith-item:hover,
    .gwm-about-premium-content .gwm-schedule-card:hover,
    .gwm-about-premium-content .gwm-leader-mini-card:hover,
    .gwm-about-premium-content .gwm-timeline-item:hover {
        transform: none;
    }
}

/* === GWM ABOUT SUMMARY HARD POLISH END === */

/* === GWM ABOUT MASTER VISUAL POLISH START === */

/*
 * GWM About Page Final Visual System
 * Direction: Royal Ivory Cathedral Editorial
 * Scope: About page hero, editorial sections, cards, timeline, faith, service, location, final CTA.
 */

/* Page-level atmosphere */
body.page-id-140 {
    --gwm-master-ivory: #fffaf0;
    --gwm-master-cream: #f7efe1;
    --gwm-master-paper: rgba(255, 252, 245, 0.94);
    --gwm-master-paper-strong: rgba(255, 255, 255, 0.96);
    --gwm-master-royal: #17213b;
    --gwm-master-royal-soft: #23304f;
    --gwm-master-body: #46546f;
    --gwm-master-muted: #6c7487;
    --gwm-master-gold: #bd8b2f;
    --gwm-master-gold-soft: rgba(189, 139, 47, 0.28);
    --gwm-master-border: rgba(189, 139, 47, 0.30);
    --gwm-master-shadow: 0 28px 82px rgba(20, 29, 52, 0.13);
    --gwm-master-shadow-soft: 0 18px 48px rgba(20, 29, 52, 0.09);
    background:
        radial-gradient(circle at 10% 8%, rgba(189, 139, 47, 0.09), transparent 28rem),
        radial-gradient(circle at 90% 28%, rgba(23, 33, 59, 0.06), transparent 26rem),
        linear-gradient(180deg, #fffaf0 0%, #f8f0e3 48%, #fffaf0 100%);
}

/* HERO: definitive finishing touch */
body.page-id-140 .gwm-page-hero,
body.page-id-140 .page-hero,
body.page-id-140 .gwm-hero,
body.page-id-140 .entry-header {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: clamp(460px, 66vh, 720px);
    display: flex;
    align-items: center;
    background-color: #17213b;
}

body.page-id-140 .gwm-page-hero::before,
body.page-id-140 .page-hero::before,
body.page-id-140 .gwm-hero::before,
body.page-id-140 .entry-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(90deg, rgba(255, 250, 240, 0.96) 0%, rgba(255, 250, 240, 0.86) 42%, rgba(255, 250, 240, 0.34) 72%, rgba(255, 250, 240, 0.16) 100%),
        radial-gradient(circle at 18% 34%, rgba(189, 139, 47, 0.22), transparent 26rem);
}

body.page-id-140 .gwm-page-hero::after,
body.page-id-140 .page-hero::after,
body.page-id-140 .gwm-hero::after,
body.page-id-140 .entry-header::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 38%;
    z-index: -1;
    background:
        linear-gradient(180deg, transparent, rgba(255, 250, 240, 0.98)),
        radial-gradient(circle at 52% 100%, rgba(189, 139, 47, 0.18), transparent 28rem);
    pointer-events: none;
}

/* Hero content panel */
body.page-id-140 .gwm-page-hero .container,
body.page-id-140 .gwm-page-hero .wrap,
body.page-id-140 .gwm-page-hero-content,
body.page-id-140 .page-hero .container,
body.page-id-140 .page-hero .wrap,
body.page-id-140 .entry-header .container,
body.page-id-140 .entry-header .wrap {
    position: relative;
    z-index: 2;
}

body.page-id-140 .gwm-page-hero h1,
body.page-id-140 .page-hero h1,
body.page-id-140 .gwm-hero h1,
body.page-id-140 .entry-header h1 {
    max-width: 860px;
    margin-bottom: 1rem;
    color: var(--gwm-master-royal);
    font-size: clamp(3rem, 7vw, 6.8rem);
    line-height: 0.92;
    letter-spacing: -0.07em;
    text-wrap: balance;
}

body.page-id-140 .gwm-page-hero p,
body.page-id-140 .page-hero p,
body.page-id-140 .gwm-hero p,
body.page-id-140 .entry-header p {
    max-width: 720px;
    color: var(--gwm-master-royal-soft);
    font-size: clamp(1.08rem, 1.65vw, 1.32rem);
    line-height: 1.82;
}

/* Gold ceremonial line under hero title area */
body.page-id-140 .gwm-page-hero h1::after,
body.page-id-140 .page-hero h1::after,
body.page-id-140 .gwm-hero h1::after,
body.page-id-140 .entry-header h1::after {
    content: "";
    display: block;
    width: clamp(84px, 12vw, 150px);
    height: 2px;
    margin-top: 1.15rem;
    background: linear-gradient(90deg, var(--gwm-master-gold), rgba(189, 139, 47, 0));
}

/* Main About content canvas */
body.page-id-140 .gwm-about-premium-content,
body.page-id-140 .gwm-anchor-page {
    position: relative;
    padding-top: clamp(2.5rem, 6vw, 5rem);
    padding-bottom: clamp(3rem, 7vw, 6rem);
}

body.page-id-140 .gwm-anchor-section {
    position: relative;
    max-width: 1180px;
    margin-inline: auto;
    margin-bottom: clamp(2rem, 5vw, 4.5rem);
    padding-inline: clamp(1rem, 3vw, 1.4rem);
    scroll-margin-top: 110px;
}

body.page-id-140 .gwm-anchor-section > h2,
body.page-id-140 .gwm-about-section > h2 {
    color: var(--gwm-master-royal);
    font-size: clamp(2rem, 4.2vw, 3.75rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

body.page-id-140 .gwm-section-lead {
    max-width: 820px;
    color: var(--gwm-master-royal-soft);
    font-size: clamp(1.04rem, 1.45vw, 1.22rem);
    line-height: 1.85;
}

/* Universal premium cards */
body.page-id-140 .gwm-ivory-card,
body.page-id-140 .gwm-about-editorial-card,
body.page-id-140 .gwm-about-feature-card,
body.page-id-140 .gwm-about-timeline-card,
body.page-id-140 .gwm-about-leadership-card,
body.page-id-140 .gwm-about-faith-card,
body.page-id-140 .gwm-about-service-card,
body.page-id-140 .gwm-about-location-card,
body.page-id-140 .gwm-faith-item,
body.page-id-140 .gwm-schedule-card,
body.page-id-140 .gwm-leader-mini-card,
body.page-id-140 .gwm-timeline-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--gwm-master-border);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 249, 237, 0.96)),
        var(--gwm-master-paper);
    box-shadow:
        var(--gwm-master-shadow-soft),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

body.page-id-140 .gwm-ivory-card::before,
body.page-id-140 .gwm-about-editorial-card::before,
body.page-id-140 .gwm-about-feature-card::before,
body.page-id-140 .gwm-about-timeline-card::before,
body.page-id-140 .gwm-about-leadership-card::before,
body.page-id-140 .gwm-about-faith-card::before,
body.page-id-140 .gwm-about-service-card::before,
body.page-id-140 .gwm-about-location-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--gwm-master-gold), rgba(189, 139, 47, 0.10), transparent);
}

body.page-id-140 .gwm-ivory-card::after,
body.page-id-140 .gwm-about-editorial-card::after,
body.page-id-140 .gwm-about-feature-card::after,
body.page-id-140 .gwm-about-faith-card::after,
body.page-id-140 .gwm-about-service-card::after,
body.page-id-140 .gwm-about-location-card::after {
    content: "";
    position: absolute;
    right: -72px;
    bottom: -72px;
    width: 190px;
    height: 190px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(189, 139, 47, 0.12), rgba(189, 139, 47, 0));
    pointer-events: none;
}

body.page-id-140 .gwm-ivory-card,
body.page-id-140 .gwm-about-editorial-card,
body.page-id-140 .gwm-about-feature-card,
body.page-id-140 .gwm-about-timeline-card,
body.page-id-140 .gwm-about-leadership-card,
body.page-id-140 .gwm-about-faith-card,
body.page-id-140 .gwm-about-service-card,
body.page-id-140 .gwm-about-location-card {
    padding: clamp(1.35rem, 3vw, 2.65rem);
}

/* Card typography */
body.page-id-140 .gwm-about-premium-content h2,
body.page-id-140 .gwm-about-premium-content h3,
body.page-id-140 .gwm-about-premium-content h4 {
    color: var(--gwm-master-royal);
    letter-spacing: -0.025em;
}

body.page-id-140 .gwm-about-premium-content p,
body.page-id-140 .gwm-about-premium-content li {
    color: var(--gwm-master-body);
    line-height: 1.82;
}

body.page-id-140 .gwm-section-eyebrow,
body.page-id-140 .gwm-card-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.8rem;
    color: var(--gwm-master-gold);
    font-size: 0.73rem;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

body.page-id-140 .gwm-section-eyebrow::before,
body.page-id-140 .gwm-card-kicker::before {
    content: "";
    width: 30px;
    height: 1px;
    background: rgba(189, 139, 47, 0.72);
}

/* Summary: make it the opening editorial signature */
body.page-id-140 .gwm-about-summary-shell {
    position: relative;
}

body.page-id-140 .gwm-about-summary-main {
    box-shadow: var(--gwm-master-shadow);
}

body.page-id-140 .gwm-about-summary-main h2 {
    font-size: clamp(2.35rem, 5vw, 4.35rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

/* Mission and Vision */
body.page-id-140 .gwm-about-mission-grid,
body.page-id-140 .gwm-card-grid,
body.page-id-140 .gwm-service-grid,
body.page-id-140 .gwm-leader-grid,
body.page-id-140 .gwm-faith-list {
    gap: clamp(1rem, 2vw, 1.35rem) !important;
}

body.page-id-140 .gwm-about-feature-card h3,
body.page-id-140 .gwm-schedule-card h3,
body.page-id-140 .gwm-faith-item h3,
body.page-id-140 .gwm-leader-mini-card h3 {
    margin-top: 0;
    font-size: clamp(1.24rem, 2vw, 1.7rem);
}

/* History timeline */
body.page-id-140 .gwm-about-timeline-card {
    padding-left: clamp(1.4rem, 3vw, 3rem);
}

body.page-id-140 .gwm-timeline-list {
    position: relative;
    display: grid;
    gap: 1rem;
    margin-top: 1.2rem;
}

body.page-id-140 .gwm-timeline-list::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: linear-gradient(180deg, rgba(189, 139, 47, 0), rgba(189, 139, 47, 0.55), rgba(189, 139, 47, 0));
}

body.page-id-140 .gwm-timeline-item {
    padding: 1.05rem 1.15rem 1.05rem 2.8rem;
}

body.page-id-140 .gwm-timeline-item::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 1.35rem;
    width: 13px;
    height: 13px;
    border-radius: 999px;
    background: var(--gwm-master-gold);
    box-shadow: 0 0 0 7px rgba(189, 139, 47, 0.13);
}

/* Statement of Faith: oath-style cards */
body.page-id-140 .gwm-faith-item {
    padding: 1.25rem 1.25rem 1.2rem;
}

body.page-id-140 .gwm-faith-item::before {
    content: "";
    position: absolute;
    left: 1.25rem;
    top: 1.25rem;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(189, 139, 47, 0.38);
    background:
        radial-gradient(circle, rgba(189, 139, 47, 0.20), rgba(189, 139, 47, 0.04));
}

body.page-id-140 .gwm-faith-item h3,
body.page-id-140 .gwm-faith-item h4 {
    padding-left: 3rem;
}

/* Service Times */
body.page-id-140 .gwm-schedule-card {
    padding: 1.35rem;
}

body.page-id-140 .gwm-schedule-card strong,
body.page-id-140 .gwm-schedule-card b {
    color: var(--gwm-master-royal);
}

/* Location */
body.page-id-140 .gwm-map-panel {
    min-height: 280px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--gwm-master-border);
    box-shadow: var(--gwm-master-shadow-soft);
    background:
        linear-gradient(135deg, rgba(23, 33, 59, 0.92), rgba(35, 48, 79, 0.82)),
        radial-gradient(circle at 70% 20%, rgba(189, 139, 47, 0.28), transparent 18rem);
}

/* Final CTA: premium invitation panel */
body.page-id-140 .gwm-final-cta {
    position: relative;
    overflow: hidden;
    max-width: 980px;
    margin-inline: auto;
    padding: clamp(2rem, 5vw, 4rem);
    text-align: center;
    border-radius: 16px;
    border: 1px solid rgba(189, 139, 47, 0.38);
    background:
        linear-gradient(135deg, rgba(23, 33, 59, 0.96), rgba(31, 43, 72, 0.94)),
        radial-gradient(circle at 25% 20%, rgba(189, 139, 47, 0.30), transparent 22rem);
    box-shadow: 0 32px 90px rgba(20, 29, 52, 0.22);
}

body.page-id-140 .gwm-final-cta::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    pointer-events: none;
}

body.page-id-140 .gwm-final-cta h2 {
    color: #fffaf0;
    font-size: clamp(2rem, 4.2vw, 3.65rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

body.page-id-140 .gwm-final-cta p {
    max-width: 720px;
    margin-inline: auto;
    color: rgba(255, 250, 240, 0.82);
}

body.page-id-140 .gwm-final-cta .wp-block-buttons {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.6rem;
}

body.page-id-140 .gwm-final-cta .wp-block-button {
    margin: 0 !important;
}

body.page-id-140 .gwm-final-cta .wp-block-button__link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    min-width: 170px;
    padding: 0.9rem 1.25rem !important;
    border-radius: 7px !important;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

/* Interaction polish */
body.page-id-140 .gwm-ivory-card,
body.page-id-140 .gwm-about-editorial-card,
body.page-id-140 .gwm-about-feature-card,
body.page-id-140 .gwm-about-timeline-card,
body.page-id-140 .gwm-about-leadership-card,
body.page-id-140 .gwm-about-faith-card,
body.page-id-140 .gwm-about-service-card,
body.page-id-140 .gwm-about-location-card,
body.page-id-140 .gwm-faith-item,
body.page-id-140 .gwm-schedule-card,
body.page-id-140 .gwm-leader-mini-card,
body.page-id-140 .gwm-timeline-item {
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        border-color 220ms ease,
        background-color 220ms ease;
}

body.page-id-140 .gwm-ivory-card:hover,
body.page-id-140 .gwm-about-editorial-card:hover,
body.page-id-140 .gwm-about-feature-card:hover,
body.page-id-140 .gwm-about-timeline-card:hover,
body.page-id-140 .gwm-about-leadership-card:hover,
body.page-id-140 .gwm-about-faith-card:hover,
body.page-id-140 .gwm-about-service-card:hover,
body.page-id-140 .gwm-about-location-card:hover,
body.page-id-140 .gwm-faith-item:hover,
body.page-id-140 .gwm-schedule-card:hover,
body.page-id-140 .gwm-leader-mini-card:hover,
body.page-id-140 .gwm-timeline-item:hover {
    transform: translateY(-5px);
    border-color: rgba(189, 139, 47, 0.52);
    box-shadow: 0 32px 88px rgba(20, 29, 52, 0.15);
}

/* Mobile refinement */
@media (max-width: 900px) {
    body.page-id-140 .gwm-page-hero,
    body.page-id-140 .page-hero,
    body.page-id-140 .gwm-hero,
    body.page-id-140 .entry-header {
        min-height: 520px;
    }

    body.page-id-140 .gwm-page-hero::before,
    body.page-id-140 .page-hero::before,
    body.page-id-140 .gwm-hero::before,
    body.page-id-140 .entry-header::before {
        background:
            linear-gradient(180deg, rgba(255, 250, 240, 0.94), rgba(255, 250, 240, 0.82)),
            radial-gradient(circle at 22% 28%, rgba(189, 139, 47, 0.18), transparent 20rem);
    }

    body.page-id-140 .gwm-about-summary-grid,
    body.page-id-140 .gwm-about-mission-grid,
    body.page-id-140 .gwm-card-grid,
    body.page-id-140 .gwm-service-grid,
    body.page-id-140 .gwm-leader-grid,
    body.page-id-140 .gwm-faith-list {
        display: block !important;
    }

    body.page-id-140 .wp-block-column {
        width: 100% !important;
        flex-basis: auto !important;
        margin-bottom: 1rem;
    }
}

@media (max-width: 640px) {
    body.page-id-140 .gwm-page-hero,
    body.page-id-140 .page-hero,
    body.page-id-140 .gwm-hero,
    body.page-id-140 .entry-header {
        min-height: 480px;
        padding-top: 5rem;
        padding-bottom: 4rem;
    }

    body.page-id-140 .gwm-page-hero h1,
    body.page-id-140 .page-hero h1,
    body.page-id-140 .gwm-hero h1,
    body.page-id-140 .entry-header h1 {
        font-size: clamp(2.6rem, 13vw, 4.2rem);
    }

    body.page-id-140 .gwm-anchor-section {
        margin-bottom: 2.2rem;
        padding-inline: 1rem;
    }

    body.page-id-140 .gwm-ivory-card,
    body.page-id-140 .gwm-about-editorial-card,
    body.page-id-140 .gwm-about-feature-card,
    body.page-id-140 .gwm-about-timeline-card,
    body.page-id-140 .gwm-about-leadership-card,
    body.page-id-140 .gwm-about-faith-card,
    body.page-id-140 .gwm-about-service-card,
    body.page-id-140 .gwm-about-location-card {
        padding: 1.2rem;
        border-radius: 10px;
    }

    body.page-id-140 .gwm-final-cta {
        padding: 1.55rem;
        border-radius: 12px;
    }

    body.page-id-140 .gwm-final-cta .wp-block-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    body.page-id-140 .gwm-final-cta .wp-block-button,
    body.page-id-140 .gwm-final-cta .wp-block-button__link {
        width: 100%;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.page-id-140 .gwm-ivory-card,
    body.page-id-140 .gwm-about-editorial-card,
    body.page-id-140 .gwm-about-feature-card,
    body.page-id-140 .gwm-about-timeline-card,
    body.page-id-140 .gwm-about-leadership-card,
    body.page-id-140 .gwm-about-faith-card,
    body.page-id-140 .gwm-about-service-card,
    body.page-id-140 .gwm-about-location-card,
    body.page-id-140 .gwm-faith-item,
    body.page-id-140 .gwm-schedule-card,
    body.page-id-140 .gwm-leader-mini-card,
    body.page-id-140 .gwm-timeline-item {
        transition: none;
    }

    body.page-id-140 .gwm-ivory-card:hover,
    body.page-id-140 .gwm-about-editorial-card:hover,
    body.page-id-140 .gwm-about-feature-card:hover,
    body.page-id-140 .gwm-about-timeline-card:hover,
    body.page-id-140 .gwm-about-leadership-card:hover,
    body.page-id-140 .gwm-about-faith-card:hover,
    body.page-id-140 .gwm-about-service-card:hover,
    body.page-id-140 .gwm-about-location-card:hover,
    body.page-id-140 .gwm-faith-item:hover,
    body.page-id-140 .gwm-schedule-card:hover,
    body.page-id-140 .gwm-leader-mini-card:hover,
    body.page-id-140 .gwm-timeline-item:hover {
        transform: none;
    }
}

/* === GWM ABOUT MASTER VISUAL POLISH END === */

/* === GWM ABOUT BUTTON MASTER POLISH START === */

/*
 * GWM About Page Button System
 * Direction: Royal Ivory Cathedral Editorial
 * Scope: About page hero buttons, content buttons, final CTA buttons.
 */

body.page-id-140 {
    --gwm-btn-royal: #17213b;
    --gwm-btn-royal-2: #22304f;
    --gwm-btn-gold: #bd8b2f;
    --gwm-btn-gold-2: #d4a84c;
    --gwm-btn-ivory: #fffaf0;
    --gwm-btn-cream: #f7efe1;
    --gwm-btn-muted: #5f697d;
    --gwm-btn-border: rgba(189, 139, 47, 0.38);
    --gwm-btn-shadow: 0 16px 34px rgba(20, 29, 52, 0.18);
    --gwm-btn-shadow-hover: 0 22px 46px rgba(20, 29, 52, 0.24);
}

/* Button group rhythm */
body.page-id-140 .wp-block-buttons,
body.page-id-140 .gwm-hero-actions,
body.page-id-140 .gwm-about-actions,
body.page-id-140 .gwm-final-cta .wp-block-buttons {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.45rem;
}

body.page-id-140 .wp-block-buttons {
    justify-content: flex-start;
}

body.page-id-140 .gwm-final-cta .wp-block-buttons {
    justify-content: center;
}

body.page-id-140 .wp-block-button {
    margin: 0 !important;
}

/* Base button */
body.page-id-140 .wp-block-button__link,
body.page-id-140 a.gwm-about-button,
body.page-id-140 a.gwm-about-button-outline,
body.page-id-140 .gwm-about-button a,
body.page-id-140 .gwm-about-button-outline a {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    min-width: 168px;
    padding: 0.92rem 1.25rem !important;
    border-radius: 7px !important;
    border: 1px solid transparent;
    font-size: 0.94rem;
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: 0.015em;
    text-align: center;
    text-decoration: none !important;
    white-space: normal;
    cursor: pointer;
    transform: translateY(0);
    transition:
        transform 190ms ease,
        box-shadow 190ms ease,
        border-color 190ms ease,
        background-color 190ms ease,
        color 190ms ease,
        opacity 190ms ease;
}

/* Subtle light sweep */
body.page-id-140 .wp-block-button__link::before,
body.page-id-140 a.gwm-about-button::before,
body.page-id-140 a.gwm-about-button-outline::before,
body.page-id-140 .gwm-about-button a::before,
body.page-id-140 .gwm-about-button-outline a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        110deg,
        transparent 0%,
        rgba(255, 255, 255, 0.24) 44%,
        transparent 74%
    );
    transform: translateX(-120%);
    transition: transform 520ms ease;
}

/* Primary button default */
body.page-id-140 .wp-block-button:not(.is-style-outline) .wp-block-button__link,
body.page-id-140 .gwm-about-button .wp-block-button__link,
body.page-id-140 a.gwm-about-button {
    color: var(--gwm-btn-ivory) !important;
    border-color: rgba(189, 139, 47, 0.50);
    background:
        linear-gradient(135deg, var(--gwm-btn-royal), var(--gwm-btn-royal-2));
    box-shadow:
        var(--gwm-btn-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

/* Primary hover */
body.page-id-140 .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
body.page-id-140 .gwm-about-button .wp-block-button__link:hover,
body.page-id-140 a.gwm-about-button:hover {
    color: #ffffff !important;
    border-color: rgba(212, 168, 76, 0.78);
    transform: translateY(-3px);
    box-shadow:
        var(--gwm-btn-shadow-hover),
        0 0 0 1px rgba(189, 139, 47, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

/* Outline / secondary button */
body.page-id-140 .wp-block-button.is-style-outline .wp-block-button__link,
body.page-id-140 .gwm-about-button-outline .wp-block-button__link,
body.page-id-140 a.gwm-about-button-outline {
    color: var(--gwm-btn-royal) !important;
    border-color: var(--gwm-btn-border);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 250, 240, 0.92));
    box-shadow:
        0 12px 28px rgba(20, 29, 52, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

/* Outline hover */
body.page-id-140 .wp-block-button.is-style-outline .wp-block-button__link:hover,
body.page-id-140 .gwm-about-button-outline .wp-block-button__link:hover,
body.page-id-140 a.gwm-about-button-outline:hover {
    color: var(--gwm-btn-royal) !important;
    border-color: rgba(189, 139, 47, 0.62);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 226, 0.96));
    transform: translateY(-3px);
    box-shadow:
        0 18px 40px rgba(20, 29, 52, 0.14),
        0 0 0 1px rgba(189, 139, 47, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

/* Hover sweep */
body.page-id-140 .wp-block-button__link:hover::before,
body.page-id-140 a.gwm-about-button:hover::before,
body.page-id-140 a.gwm-about-button-outline:hover::before,
body.page-id-140 .gwm-about-button a:hover::before,
body.page-id-140 .gwm-about-button-outline a:hover::before {
    transform: translateX(120%);
}

/* Active press */
body.page-id-140 .wp-block-button__link:active,
body.page-id-140 a.gwm-about-button:active,
body.page-id-140 a.gwm-about-button-outline:active,
body.page-id-140 .gwm-about-button a:active,
body.page-id-140 .gwm-about-button-outline a:active {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(20, 29, 52, 0.16);
}

/* Keyboard focus */
body.page-id-140 .wp-block-button__link:focus-visible,
body.page-id-140 a.gwm-about-button:focus-visible,
body.page-id-140 a.gwm-about-button-outline:focus-visible,
body.page-id-140 .gwm-about-button a:focus-visible,
body.page-id-140 .gwm-about-button-outline a:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(255, 250, 240, 0.92),
        0 0 0 6px rgba(189, 139, 47, 0.48),
        var(--gwm-btn-shadow-hover);
}

/* Final CTA button treatment on dark panel */
body.page-id-140 .gwm-final-cta .wp-block-button:not(.is-style-outline):first-child .wp-block-button__link,
body.page-id-140 .gwm-final-cta .gwm-about-button .wp-block-button__link {
    color: #17213b !important;
    border-color: rgba(255, 250, 240, 0.32);
    background:
        linear-gradient(135deg, #e3bd64, var(--gwm-btn-gold), #a8731d);
    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

body.page-id-140 .gwm-final-cta .wp-block-button:not(.is-style-outline):first-child .wp-block-button__link:hover,
body.page-id-140 .gwm-final-cta .gwm-about-button .wp-block-button__link:hover {
    color: #10182d !important;
    transform: translateY(-3px);
    border-color: rgba(255, 250, 240, 0.54);
    box-shadow:
        0 24px 56px rgba(0, 0, 0, 0.32),
        0 0 0 1px rgba(255, 250, 240, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

/* Final CTA secondary buttons */
body.page-id-140 .gwm-final-cta .wp-block-button.is-style-outline .wp-block-button__link,
body.page-id-140 .gwm-final-cta .gwm-about-button-outline .wp-block-button__link {
    color: #fffaf0 !important;
    border-color: rgba(255, 250, 240, 0.32);
    background: rgba(255, 255, 255, 0.07);
    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
}

body.page-id-140 .gwm-final-cta .wp-block-button.is-style-outline .wp-block-button__link:hover,
body.page-id-140 .gwm-final-cta .gwm-about-button-outline .wp-block-button__link:hover {
    color: #fffaf0 !important;
    border-color: rgba(227, 189, 100, 0.70);
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(227, 189, 100, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* Button arrows: elegant, not noisy */
body.page-id-140 .wp-block-button__link::after,
body.page-id-140 a.gwm-about-button::after,
body.page-id-140 a.gwm-about-button-outline::after,
body.page-id-140 .gwm-about-button a::after,
body.page-id-140 .gwm-about-button-outline a::after {
    content: "ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢";
    display: inline-block;
    margin-left: 0.52rem;
    font-size: 1.02em;
    line-height: 1;
    transform: translateX(0);
    transition: transform 190ms ease;
}

body.page-id-140 .wp-block-button__link:hover::after,
body.page-id-140 a.gwm-about-button:hover::after,
body.page-id-140 a.gwm-about-button-outline:hover::after,
body.page-id-140 .gwm-about-button a:hover::after,
body.page-id-140 .gwm-about-button-outline a:hover::after {
    transform: translateX(3px);
}

/* Avoid arrow on buttons marked no-arrow */
body.page-id-140 .gwm-no-arrow .wp-block-button__link::after,
body.page-id-140 .wp-block-button__link.gwm-no-arrow::after,
body.page-id-140 a.gwm-no-arrow::after {
    content: none;
}

/* Disabled / unavailable */
body.page-id-140 .wp-block-button__link[aria-disabled="true"],
body.page-id-140 .wp-block-button__link.is-disabled,
body.page-id-140 .wp-block-button__link:disabled {
    opacity: 0.55;
    pointer-events: none;
    transform: none;
    box-shadow: none;
}

/* Mobile: definitive adaptive stack */
@media (max-width: 700px) {
    body.page-id-140 .wp-block-buttons,
    body.page-id-140 .gwm-hero-actions,
    body.page-id-140 .gwm-about-actions,
    body.page-id-140 .gwm-final-cta .wp-block-buttons {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.72rem;
        margin-top: 1.25rem;
    }

    body.page-id-140 .wp-block-button,
    body.page-id-140 .wp-block-button__link,
    body.page-id-140 a.gwm-about-button,
    body.page-id-140 a.gwm-about-button-outline,
    body.page-id-140 .gwm-about-button a,
    body.page-id-140 .gwm-about-button-outline a {
        width: 100%;
        min-width: 0;
    }

    body.page-id-140 .wp-block-button__link,
    body.page-id-140 a.gwm-about-button,
    body.page-id-140 a.gwm-about-button-outline,
    body.page-id-140 .gwm-about-button a,
    body.page-id-140 .gwm-about-button-outline a {
        min-height: 52px;
        padding: 0.96rem 1rem !important;
        font-size: 0.95rem;
    }
}

/* Tiny screens */
@media (max-width: 390px) {
    body.page-id-140 .wp-block-button__link,
    body.page-id-140 a.gwm-about-button,
    body.page-id-140 a.gwm-about-button-outline,
    body.page-id-140 .gwm-about-button a,
    body.page-id-140 .gwm-about-button-outline a {
        min-height: 50px;
        font-size: 0.9rem;
        padding-left: 0.82rem !important;
        padding-right: 0.82rem !important;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    body.page-id-140 .wp-block-button__link,
    body.page-id-140 .wp-block-button__link::before,
    body.page-id-140 .wp-block-button__link::after,
    body.page-id-140 a.gwm-about-button,
    body.page-id-140 a.gwm-about-button::before,
    body.page-id-140 a.gwm-about-button::after,
    body.page-id-140 a.gwm-about-button-outline,
    body.page-id-140 a.gwm-about-button-outline::before,
    body.page-id-140 a.gwm-about-button-outline::after {
        transition: none;
    }

    body.page-id-140 .wp-block-button__link:hover,
    body.page-id-140 a.gwm-about-button:hover,
    body.page-id-140 a.gwm-about-button-outline:hover {
        transform: none;
    }
}

/* === GWM ABOUT BUTTON MASTER POLISH END === */

/* === GWM ABOUT LIGHT BUTTONS NO MOJIBAKE START === */

/*
 * Final light correction for About page.
 * Removes deep royal blue backgrounds and removes arrow/mojibake button attachments.
 */

body.page-id-140 {
    --gwm-light-ivory: #fffaf0;
    --gwm-light-cream: #f8efe0;
    --gwm-light-paper: rgba(255, 252, 245, 0.96);
    --gwm-light-royal-text: #17213b;
    --gwm-light-body: #46546f;
    --gwm-light-gold: #bd8b2f;
    --gwm-light-gold-2: #d6ab55;
    --gwm-light-border: rgba(189, 139, 47, 0.34);
}

/* Remove deep royal/dark hero treatment */
body.page-id-140 .gwm-page-hero,
body.page-id-140 .page-hero,
body.page-id-140 .gwm-hero,
body.page-id-140 .entry-header {
    background:
        radial-gradient(circle at 12% 18%, rgba(189, 139, 47, 0.12), transparent 24rem),
        linear-gradient(135deg, #fffaf0, #f8efe0) !important;
    color: var(--gwm-light-royal-text) !important;
}

body.page-id-140 .gwm-page-hero::before,
body.page-id-140 .page-hero::before,
body.page-id-140 .gwm-hero::before,
body.page-id-140 .entry-header::before {
    background:
        linear-gradient(90deg, rgba(255, 250, 240, 0.98), rgba(255, 250, 240, 0.82)),
        radial-gradient(circle at 20% 36%, rgba(189, 139, 47, 0.16), transparent 24rem) !important;
}

body.page-id-140 .gwm-page-hero::after,
body.page-id-140 .page-hero::after,
body.page-id-140 .gwm-hero::after,
body.page-id-140 .entry-header::after {
    background:
        linear-gradient(180deg, transparent, rgba(255, 250, 240, 0.98)) !important;
}

body.page-id-140 .gwm-page-hero h1,
body.page-id-140 .page-hero h1,
body.page-id-140 .gwm-hero h1,
body.page-id-140 .entry-header h1,
body.page-id-140 .gwm-page-hero p,
body.page-id-140 .page-hero p,
body.page-id-140 .gwm-hero p,
body.page-id-140 .entry-header p {
    color: var(--gwm-light-royal-text) !important;
}

/* Remove deep royal final CTA panel */
body.page-id-140 .gwm-final-cta {
    background:
        radial-gradient(circle at 12% 18%, rgba(189, 139, 47, 0.14), transparent 22rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 240, 0.98)) !important;
    border: 1px solid rgba(189, 139, 47, 0.38) !important;
    color: var(--gwm-light-royal-text) !important;
    box-shadow:
        0 26px 76px rgba(20, 29, 52, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.82) !important;
}

body.page-id-140 .gwm-final-cta::before {
    border-color: rgba(189, 139, 47, 0.22) !important;
}

body.page-id-140 .gwm-final-cta h2,
body.page-id-140 .gwm-final-cta h3,
body.page-id-140 .gwm-final-cta p,
body.page-id-140 .gwm-final-cta li {
    color: var(--gwm-light-royal-text) !important;
}

/* Remove deep royal map/location panel */
body.page-id-140 .gwm-map-panel {
    background:
        radial-gradient(circle at 80% 16%, rgba(189, 139, 47, 0.16), transparent 20rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 240, 0.98)) !important;
    border: 1px solid rgba(189, 139, 47, 0.34) !important;
    color: var(--gwm-light-royal-text) !important;
}

/* Override known inline dark Gutenberg groups on About page */
body.page-id-140 .wp-block-group[style*="#17213b"],
body.page-id-140 .wp-block-group[style*="#18203a"],
body.page-id-140 .wp-block-group[style*="#10182d"],
body.page-id-140 .wp-block-cover[style*="#17213b"],
body.page-id-140 .wp-block-cover[style*="#18203a"],
body.page-id-140 .wp-block-cover[style*="#10182d"] {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,250,240,0.98)) !important;
    color: var(--gwm-light-royal-text) !important;
}

/* Definitive light button system */
body.page-id-140 .wp-block-buttons,
body.page-id-140 .gwm-final-cta .wp-block-buttons {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
}

body.page-id-140 .gwm-final-cta .wp-block-buttons {
    justify-content: center;
}

body.page-id-140 .wp-block-button {
    margin: 0 !important;
}

body.page-id-140 .wp-block-button__link,
body.page-id-140 a.gwm-about-button,
body.page-id-140 a.gwm-about-button-outline,
body.page-id-140 .gwm-about-button a,
body.page-id-140 .gwm-about-button-outline a {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    min-width: 168px;
    padding: 0.92rem 1.25rem !important;
    border-radius: 7px !important;
    border: 1px solid rgba(189, 139, 47, 0.38) !important;
    color: var(--gwm-light-royal-text) !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 240, 0.98)) !important;
    box-shadow:
        0 13px 30px rgba(20, 29, 52, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.86) !important;
    font-size: 0.94rem;
    font-weight: 850;
    line-height: 1.15;
    text-align: center;
    text-decoration: none !important;
    white-space: normal;
    transform: translateY(0);
    transition:
        transform 190ms ease,
        box-shadow 190ms ease,
        border-color 190ms ease,
        background-color 190ms ease,
        color 190ms ease;
}

/* Primary buttons use gold, not deep royal blue */
body.page-id-140 .wp-block-button:not(.is-style-outline):first-child .wp-block-button__link,
body.page-id-140 .gwm-about-button .wp-block-button__link,
body.page-id-140 a.gwm-about-button {
    color: #17213b !important;
    border-color: rgba(189, 139, 47, 0.55) !important;
    background:
        linear-gradient(135deg, #f5dfaa, #d6ab55, #bd8b2f) !important;
    box-shadow:
        0 16px 36px rgba(189, 139, 47, 0.22),
        inset 0 1px 0 rgba(255,255,255,0.44) !important;
}

/* Hover state */
body.page-id-140 .wp-block-button__link:hover,
body.page-id-140 a.gwm-about-button:hover,
body.page-id-140 a.gwm-about-button-outline:hover,
body.page-id-140 .gwm-about-button a:hover,
body.page-id-140 .gwm-about-button-outline a:hover {
    color: #17213b !important;
    border-color: rgba(189, 139, 47, 0.68) !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,244,219,0.98)) !important;
    transform: translateY(-3px);
    box-shadow:
        0 20px 44px rgba(20, 29, 52, 0.14),
        0 0 0 1px rgba(189, 139, 47, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.90) !important;
}

/* Gold primary hover */
body.page-id-140 .wp-block-button:not(.is-style-outline):first-child .wp-block-button__link:hover,
body.page-id-140 .gwm-about-button .wp-block-button__link:hover,
body.page-id-140 a.gwm-about-button:hover {
    background:
        linear-gradient(135deg, #ffe8b8, #dfb663, #c79235) !important;
    box-shadow:
        0 22px 48px rgba(189, 139, 47, 0.28),
        inset 0 1px 0 rgba(255,255,255,0.48) !important;
}

/* Remove all generated arrows/mojibake attached to buttons */
body.page-id-140 .wp-block-button__link::after,
body.page-id-140 a.gwm-about-button::after,
body.page-id-140 a.gwm-about-button-outline::after,
body.page-id-140 .gwm-about-button a::after,
body.page-id-140 .gwm-about-button-outline a::after,
body.page-id-140 .gwm-final-cta .wp-block-button__link::after {
    content: none !important;
    display: none !important;
}

/* Remove animated sweep if it is creating visual noise */
body.page-id-140 .wp-block-button__link::before,
body.page-id-140 a.gwm-about-button::before,
body.page-id-140 a.gwm-about-button-outline::before,
body.page-id-140 .gwm-about-button a::before,
body.page-id-140 .gwm-about-button-outline a::before {
    content: none !important;
    display: none !important;
}

/* Focus state */
body.page-id-140 .wp-block-button__link:focus-visible,
body.page-id-140 a.gwm-about-button:focus-visible,
body.page-id-140 a.gwm-about-button-outline:focus-visible,
body.page-id-140 .gwm-about-button a:focus-visible,
body.page-id-140 .gwm-about-button-outline a:focus-visible {
    outline: none !important;
    box-shadow:
        0 0 0 3px rgba(255, 250, 240, 0.96),
        0 0 0 6px rgba(189, 139, 47, 0.46),
        0 18px 42px rgba(20, 29, 52, 0.16) !important;
}

/* Mobile button stack */
@media (max-width: 700px) {
    body.page-id-140 .wp-block-buttons,
    body.page-id-140 .gwm-final-cta .wp-block-buttons {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.72rem;
    }

    body.page-id-140 .wp-block-button,
    body.page-id-140 .wp-block-button__link,
    body.page-id-140 a.gwm-about-button,
    body.page-id-140 a.gwm-about-button-outline,
    body.page-id-140 .gwm-about-button a,
    body.page-id-140 .gwm-about-button-outline a {
        width: 100%;
        min-width: 0;
    }

    body.page-id-140 .wp-block-button__link,
    body.page-id-140 a.gwm-about-button,
    body.page-id-140 a.gwm-about-button-outline,
    body.page-id-140 .gwm-about-button a,
    body.page-id-140 .gwm-about-button-outline a {
        min-height: 52px;
        padding: 0.96rem 1rem !important;
        font-size: 0.95rem;
    }
}

/* === GWM ABOUT LIGHT BUTTONS NO MOJIBAKE END === */

/* === GWM ABOUT VISIBLE HERO IMAGE START === */

/*
 * About page hero must show a real background image.
 * Source: WordPress Featured Image exposed as --gwm-about-hero-image.
 */

body.page-id-140 .gwm-page-hero,
body.page-id-140 .page-hero,
body.page-id-140 .gwm-hero,
body.page-id-140 .entry-header {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: clamp(480px, 68vh, 760px);
    display: flex;
    align-items: center;
    color: #17213b !important;
    background:
        linear-gradient(
            90deg,
            rgba(255, 250, 240, 0.72) 0%,
            rgba(255, 250, 240, 0.58) 42%,
            rgba(255, 250, 240, 0.32) 72%,
            rgba(255, 250, 240, 0.18) 100%
        ),
        var(--gwm-about-hero-image, linear-gradient(135deg, #fffaf0, #f8efe0)) !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
}

/* Keep overlays gentle. Do not bury the image. */
body.page-id-140 .gwm-page-hero::before,
body.page-id-140 .page-hero::before,
body.page-id-140 .gwm-hero::before,
body.page-id-140 .entry-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 18% 34%, rgba(189, 139, 47, 0.18), transparent 24rem),
        linear-gradient(90deg, rgba(255, 250, 240, 0.20), rgba(255, 250, 240, 0.04)) !important;
    opacity: 1 !important;
    pointer-events: none;
}

body.page-id-140 .gwm-page-hero::after,
body.page-id-140 .page-hero::after,
body.page-id-140 .gwm-hero::after,
body.page-id-140 .entry-header::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 30%;
    z-index: -1;
    background: linear-gradient(180deg, transparent, rgba(255, 250, 240, 0.96)) !important;
    pointer-events: none;
}

/* Hero content remains readable without hiding the image */
body.page-id-140 .gwm-page-hero .container,
body.page-id-140 .gwm-page-hero .wrap,
body.page-id-140 .gwm-page-hero-content,
body.page-id-140 .page-hero .container,
body.page-id-140 .page-hero .wrap,
body.page-id-140 .entry-header .container,
body.page-id-140 .entry-header .wrap {
    position: relative;
    z-index: 2;
    max-width: 1180px;
}

body.page-id-140 .gwm-page-hero h1,
body.page-id-140 .page-hero h1,
body.page-id-140 .gwm-hero h1,
body.page-id-140 .entry-header h1 {
    max-width: 850px;
    color: #17213b !important;
    text-shadow: 0 2px 18px rgba(255, 250, 240, 0.48);
}

body.page-id-140 .gwm-page-hero p,
body.page-id-140 .page-hero p,
body.page-id-140 .gwm-hero p,
body.page-id-140 .entry-header p {
    max-width: 720px;
    color: #22304f !important;
    text-shadow: 0 1px 14px rgba(255, 250, 240, 0.42);
}

/* Mobile: show the image, but protect readability */
@media (max-width: 760px) {
    body.page-id-140 .gwm-page-hero,
    body.page-id-140 .page-hero,
    body.page-id-140 .gwm-hero,
    body.page-id-140 .entry-header {
        min-height: 520px;
        background:
            linear-gradient(
                180deg,
                rgba(255, 250, 240, 0.82) 0%,
                rgba(255, 250, 240, 0.66) 52%,
                rgba(255, 250, 240, 0.38) 100%
            ),
            var(--gwm-about-hero-image, linear-gradient(135deg, #fffaf0, #f8efe0)) !important;
        background-size: cover !important;
        background-position: center center !important;
    }
}

/* === GWM ABOUT VISIBLE HERO IMAGE END === */

/* === GWM ABOUT HERO TEXT ONLY CARD START === */

/*
 * About Hero Text Card
 * This styles ONLY the content wrapper around the hero text.
 * It does NOT style the full hero/header background.
 */

body.page-id-140 :is(.gwm-page-hero, .page-hero, .gwm-hero, .entry-header) {
    overflow: hidden;
}

/* Main text-card selector */
body.page-id-140 :is(.gwm-page-hero, .page-hero, .gwm-hero, .entry-header)
:is(.gwm-page-hero-content, .page-hero-content, .hero-content, .container, .wrap):has(h1) {
    position: relative;
    z-index: 3;
    box-sizing: border-box;

    width: fit-content !important;
    max-width: min(760px, calc(100% - 2rem)) !important;

    margin-left: max(1rem, calc((100vw - 1180px) / 2)) !important;
    margin-right: auto !important;

    padding: clamp(1.25rem, 3vw, 2.35rem) !important;

    border-radius: 14px;
    border: 1px solid rgba(189, 139, 47, 0.34);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.82),
            rgba(255, 250, 240, 0.88)
        ) !important;

    box-shadow:
        0 24px 70px rgba(20, 29, 52, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.80);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Keep hero image visible behind the card */
body.page-id-140 :is(.gwm-page-hero, .page-hero, .gwm-hero, .entry-header)
:is(.gwm-page-hero-content, .page-hero-content, .hero-content, .container, .wrap):has(h1)::before {
    content: "";
    position: absolute;
    inset: 10px;
    z-index: -1;
    border-radius: 10px;
    border: 1px solid rgba(189, 139, 47, 0.16);
    pointer-events: none;
}

/* Text inside the card */
body.page-id-140 :is(.gwm-page-hero, .page-hero, .gwm-hero, .entry-header)
:is(.gwm-page-hero-content, .page-hero-content, .hero-content, .container, .wrap):has(h1) h1 {
    max-width: 680px !important;
    margin-top: 0 !important;
    margin-bottom: 0.8rem !important;
    color: #17213b !important;
    text-shadow: none !important;
}

body.page-id-140 :is(.gwm-page-hero, .page-hero, .gwm-hero, .entry-header)
:is(.gwm-page-hero-content, .page-hero-content, .hero-content, .container, .wrap):has(h1) p {
    max-width: 620px !important;
    color: #263553 !important;
    text-shadow: none !important;
}

/* Hero buttons stay inside the text card */
body.page-id-140 :is(.gwm-page-hero, .page-hero, .gwm-hero, .entry-header)
:is(.gwm-page-hero-content, .page-hero-content, .hero-content, .container, .wrap):has(h1) .wp-block-buttons {
    margin-top: 1.15rem !important;
}

/* Mobile: card remains only behind text */
@media (max-width: 760px) {
    body.page-id-140 :is(.gwm-page-hero, .page-hero, .gwm-hero, .entry-header)
    :is(.gwm-page-hero-content, .page-hero-content, .hero-content, .container, .wrap):has(h1) {
        width: auto !important;
        max-width: calc(100% - 2rem) !important;
        margin-left: 1rem !important;
        margin-right: 1rem !important;
        padding: 1.2rem !important;
        border-radius: 12px;
        background:
            linear-gradient(
                135deg,
                rgba(255, 255, 255, 0.86),
                rgba(255, 250, 240, 0.92)
            ) !important;
    }

    body.page-id-140 :is(.gwm-page-hero, .page-hero, .gwm-hero, .entry-header)
    :is(.gwm-page-hero-content, .page-hero-content, .hero-content, .container, .wrap):has(h1) h1 {
        max-width: 100% !important;
    }

    body.page-id-140 :is(.gwm-page-hero, .page-hero, .gwm-hero, .entry-header)
    :is(.gwm-page-hero-content, .page-hero-content, .hero-content, .container, .wrap):has(h1) p {
        max-width: 100% !important;
    }
}

/* === GWM ABOUT HERO TEXT ONLY CARD END === */

/* === GWM ABOUT HERO TEXT ONLY CARD START === */

/*
 * About Hero Text Card
 * This styles ONLY the content wrapper around the hero text.
 * It does NOT style the full hero/header background.
 */

body.page-id-140 :is(.gwm-page-hero, .page-hero, .gwm-hero, .entry-header) {
    overflow: hidden;
}

/* Main text-card selector */
body.page-id-140 :is(.gwm-page-hero, .page-hero, .gwm-hero, .entry-header)
:is(.gwm-page-hero-content, .page-hero-content, .hero-content, .container, .wrap):has(h1) {
    position: relative;
    z-index: 3;
    box-sizing: border-box;

    width: fit-content !important;
    max-width: min(760px, calc(100% - 2rem)) !important;

    margin-left: max(1rem, calc((100vw - 1180px) / 2)) !important;
    margin-right: auto !important;

    padding: clamp(1.25rem, 3vw, 2.35rem) !important;

    border-radius: 14px;
    border: 1px solid rgba(189, 139, 47, 0.34);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.82),
            rgba(255, 250, 240, 0.88)
        ) !important;

    box-shadow:
        0 24px 70px rgba(20, 29, 52, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.80);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Keep hero image visible behind the card */
body.page-id-140 :is(.gwm-page-hero, .page-hero, .gwm-hero, .entry-header)
:is(.gwm-page-hero-content, .page-hero-content, .hero-content, .container, .wrap):has(h1)::before {
    content: "";
    position: absolute;
    inset: 10px;
    z-index: -1;
    border-radius: 10px;
    border: 1px solid rgba(189, 139, 47, 0.16);
    pointer-events: none;
}

/* Text inside the card */
body.page-id-140 :is(.gwm-page-hero, .page-hero, .gwm-hero, .entry-header)
:is(.gwm-page-hero-content, .page-hero-content, .hero-content, .container, .wrap):has(h1) h1 {
    max-width: 680px !important;
    margin-top: 0 !important;
    margin-bottom: 0.8rem !important;
    color: #17213b !important;
    text-shadow: none !important;
}

body.page-id-140 :is(.gwm-page-hero, .page-hero, .gwm-hero, .entry-header)
:is(.gwm-page-hero-content, .page-hero-content, .hero-content, .container, .wrap):has(h1) p {
    max-width: 620px !important;
    color: #263553 !important;
    text-shadow: none !important;
}

/* Hero buttons stay inside the text card */
body.page-id-140 :is(.gwm-page-hero, .page-hero, .gwm-hero, .entry-header)
:is(.gwm-page-hero-content, .page-hero-content, .hero-content, .container, .wrap):has(h1) .wp-block-buttons {
    margin-top: 1.15rem !important;
}

/* Mobile: card remains only behind text */
@media (max-width: 760px) {
    body.page-id-140 :is(.gwm-page-hero, .page-hero, .gwm-hero, .entry-header)
    :is(.gwm-page-hero-content, .page-hero-content, .hero-content, .container, .wrap):has(h1) {
        width: auto !important;
        max-width: calc(100% - 2rem) !important;
        margin-left: 1rem !important;
        margin-right: 1rem !important;
        padding: 1.2rem !important;
        border-radius: 12px;
        background:
            linear-gradient(
                135deg,
                rgba(255, 255, 255, 0.86),
                rgba(255, 250, 240, 0.92)
            ) !important;
    }

    body.page-id-140 :is(.gwm-page-hero, .page-hero, .gwm-hero, .entry-header)
    :is(.gwm-page-hero-content, .page-hero-content, .hero-content, .container, .wrap):has(h1) h1 {
        max-width: 100% !important;
    }

    body.page-id-140 :is(.gwm-page-hero, .page-hero, .gwm-hero, .entry-header)
    :is(.gwm-page-hero-content, .page-hero-content, .hero-content, .container, .wrap):has(h1) p {
        max-width: 100% !important;
    }
}

/* === GWM ABOUT HERO TEXT ONLY CARD END === */
