* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: var(--color-text);
    background:
        radial-gradient(circle at top left, rgba(143, 13, 22, 0.16), transparent 32%),
        radial-gradient(circle at top right, rgba(15, 46, 138, 0.2), transparent 38%),
        linear-gradient(180deg, #d7dfef 0%, #eef2fa 28%, #dbe3f3 100%);
    line-height: 1.6;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.site-header .container,
.site-footer .container {
    width: 100%;
    max-width: none;
    padding-left: 2rem;
    padding-right: 2rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(18px);
    background: rgba(233, 239, 250, 0.9);
    border-bottom: 1px solid rgba(15, 46, 138, 0.12);
}

.nav-shell {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand-mark {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    max-width: 420px;
}

.brand-mark img {
    width: 58px;
    height: 58px;
}

.brand-mark strong {
    display: block;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.brand-mark small {
    display: block;
    color: rgba(23, 35, 45, 0.7);
    font-size: 0.8rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.site-nav a {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(23, 35, 45, 0.75);
}

.site-nav a.active,
.site-nav a:hover {
    color: var(--color-secondary);
}

.nav-button {
    padding: 0.8rem 1.15rem;
    border-radius: 999px;
    background: var(--color-secondary);
    color: #fff !important;
}

.admin-nav-link {
    padding: 0.76rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(18, 56, 74, 0.16);
    color: var(--color-secondary) !important;
    background: rgba(255, 255, 255, 0.56);
}

.admin-nav-link:hover {
    background: rgba(18, 56, 74, 0.06);
}

.nav-toggle {
    display: none;
    width: 50px;
    height: 50px;
    border: 0;
    background: transparent;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    margin: 7px auto;
    background: var(--color-secondary);
}

.flash {
    padding: 0.9rem 0;
}

.flash-success {
    background: #e4f6ea;
    color: #14532d;
}

.flash-error {
    background: #fde8e8;
    color: #9b1c1c;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 3.75rem;
}

.home-hero-video-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.home-hero-video-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(6, 16, 36, 0.84), rgba(15, 46, 138, 0.5)),
        linear-gradient(180deg, rgba(6, 16, 36, 0.24), rgba(6, 16, 36, 0.68));
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-hero-stage {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    min-height: calc(100svh - 82px - 3rem);
    padding: 1rem 0 0;
}

.home-hero-copy {
    display: grid;
    align-content: center;
    gap: 1rem;
    max-width: 760px;
    padding: clamp(2rem, 4vw, 3rem) 0;
}

.section-label,
.mini-label,
.panel-kicker {
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.75rem;
}

.section-label {
    color: var(--color-primary);
}

.home-hero-copy .section-label {
    color: var(--color-primary);
}

.home-hero-copy h1,
.page-hero h1,
.section h2,
.final-cta-shell h2 {
    margin: 0 0 1rem;
    font-family: 'Cormorant Garamond', serif;
    line-height: 0.96;
}

.home-hero-copy h1 {
    font-size: clamp(3.5rem, 6.5vw, 6.5rem);
    max-width: 11ch;
    color: #ffffff;
}

.hero-text,
.lead,
.page-hero p {
    font-size: 1.08rem;
    max-width: 62ch;
}

.home-hero-copy .hero-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 58ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 18px 40px rgba(143, 13, 22, 0.28);
}

.button-primary.button-soft {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

.button-secondary {
    background: transparent;
    color: inherit;
    border: 1px solid rgba(23, 35, 45, 0.18);
}

.text-link {
    font-weight: 700;
    color: var(--color-secondary);
}

.hero-panel,
.highlight-panel,
.form-shell {
    border-radius: 30px;
    background: rgba(240, 244, 252, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(16px);
    padding: 1.7rem;
    box-shadow: 0 20px 60px rgba(18, 56, 74, 0.12);
}

.hero-panel {
    color: var(--color-text);
    align-self: center;
}

.service-list,
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(18, 56, 74, 0.1);
}

.service-list li:last-child {
    border-bottom: 0;
}

.hero-panel-foot {
    margin-top: 1.4rem;
    display: grid;
    gap: 0.35rem;
    color: rgba(23, 35, 45, 0.78);
}

.announcement-strip {
    background: var(--color-secondary);
    color: #fff;
}

.announcement-strip .container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    padding: 1rem 0;
}

.announcement-strip article p {
    margin: 0 0 0.25rem;
    font-weight: 800;
}

.announcement-strip article span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.94rem;
}

.section {
    padding: 5.5rem 0;
}

.section-alt {
    background: rgba(18, 56, 74, 0.04);
}

.split-section,
.dual-columns,
.final-cta-shell {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
}

.section h2,
.final-cta-shell h2 {
    font-size: clamp(2.4rem, 5vw, 4.1rem);
}

.highlight-panel h3,
.stack-item h3,
.event-grid h3,
.ministry-grid h3 {
    margin: 0.35rem 0 0.75rem;
    font-size: 1.55rem;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.2rem;
    margin-bottom: 1.6rem;
}

.ministry-grid,
.event-grid,
.gallery-grid {
    display: grid;
    gap: 1.2rem;
}

.ministry-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ministry-grid article,
.event-grid article,
.stack-item,
.gallery-grid figure {
    padding: 1.35rem;
    background: rgba(238, 243, 252, 0.84);
    border: 1px solid rgba(15, 46, 138, 0.08);
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(15, 46, 138, 0.08);
}

.dual-columns {
    align-items: start;
}

.stack-list {
    display: grid;
    gap: 1rem;
}

.stack-item h2 {
    font-size: 2rem;
    margin: 0.35rem 0 0.75rem;
}

.stack-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    color: rgba(23, 35, 45, 0.7);
    font-weight: 600;
}

.stack-actions a {
    color: var(--color-secondary);
}

.video-preview {
    display: grid;
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 1rem;
    margin: 1.2rem 0 0.4rem;
    padding: 0.85rem;
    border-radius: 20px;
    background: rgba(18, 56, 74, 0.05);
    border: 1px solid rgba(18, 56, 74, 0.08);
    align-items: center;
}

.video-preview-media {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.video-preview-media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.video-preview-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(12, 24, 32, 0.82);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.74rem;
}

.video-preview-copy {
    display: grid;
    gap: 0.3rem;
}

.video-preview-copy strong {
    font-size: 1rem;
}

.video-preview-copy span {
    color: rgba(23, 35, 45, 0.72);
}

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

.event-grid article span,
.stack-item span {
    color: rgba(23, 35, 45, 0.7);
}

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

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

.gallery-grid figure {
    overflow: hidden;
    padding: 0;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 1 / 1.08;
    object-fit: cover;
}

.gallery-grid figcaption {
    padding: 1rem 1.2rem 1.25rem;
    display: grid;
    gap: 0.2rem;
}

.gallery-single-viewer {
    position: relative;
    display: grid;
    gap: 0;
    padding: 0;
    border-radius: 28px;
    background: rgba(236, 241, 251, 0.9);
    border: 1px solid rgba(15, 46, 138, 0.1);
    box-shadow: 0 18px 40px rgba(15, 46, 138, 0.08);
    align-items: stretch;
    width: 12cm;
    height: 12cm;
    min-height: 12cm;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
    overflow: hidden;
    justify-self: center;
}

.gallery-single-viewer:hover,
.gallery-single-viewer:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(15, 46, 138, 0.14);
    border-color: rgba(15, 46, 138, 0.22);
    outline: none;
}

.gallery-single-viewer.is-expanded {
    grid-column: 1 / -1;
    width: 100%;
    height: auto;
    min-height: 700px;
    cursor: default;
}

.gallery-single-viewer.is-expanded:hover,
.gallery-single-viewer.is-expanded:focus-visible {
    transform: none;
}

.gallery-single-viewer.is-expanded .gallery-single-media,
.gallery-single-viewer.is-expanded .gallery-slides,
.gallery-single-viewer.is-expanded .gallery-single-media img {
    min-height: 520px;
}

.gallery-album-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, 12cm);
    gap: 1.75rem;
    align-items: stretch;
    justify-content: center;
}

.gallery-single-media {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    min-height: 100%;
    height: 100%;
    background: rgba(18, 56, 74, 0.08);
}

.gallery-slides {
    position: relative;
    min-height: 100%;
    height: 100%;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(18, 56, 74, 0.38) transparent;
    border-radius: 22px;
}

.gallery-slide {
    margin: 0;
    min-width: 100%;
    position: relative;
    scroll-snap-align: start;
    flex: 0 0 100%;
}

.gallery-single-media img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
}

.gallery-slide-caption {
    position: absolute;
    left: 1.2rem;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 2;
    display: grid;
    gap: 0.4rem;
    padding: 1.2rem;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(12, 24, 32, 0.22), rgba(12, 24, 32, 0.82));
    color: #fff;
}

.gallery-slide-caption h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-family: 'Cormorant Garamond', serif;
    line-height: 0.95;
}

.gallery-slide-caption span {
    max-width: 52ch;
    color: rgba(255, 255, 255, 0.84);
}

.gallery-slides::-webkit-scrollbar {
    height: 10px;
}

.gallery-slides::-webkit-scrollbar-track {
    background: rgba(18, 56, 74, 0.08);
    border-radius: 999px;
}

.gallery-slides::-webkit-scrollbar-thumb {
    background: rgba(18, 56, 74, 0.28);
    border-radius: 999px;
}

.gallery-single-summary {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 3;
    display: flex;
    justify-content: flex-end;
}

.gallery-summary-copy {
    display: none;
}

.gallery-single-summary h2,
.gallery-count {
    display: none;
}

.gallery-count {
    font-weight: 800;
    font-size: 0.64rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffc4ca;
}

.gallery-page-shell {
    position: relative;
    overflow: hidden;
}

.gallery-page-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(9, 21, 28, 0.8), rgba(18, 56, 74, 0.48)),
        linear-gradient(180deg, rgba(12, 24, 32, 0.18), rgba(12, 24, 32, 0.46));
    z-index: 1;
    pointer-events: none;
}

.gallery-page-shell > * {
    position: relative;
    z-index: 2;
}

.gallery-page-hero {
    padding: 5rem 0 3rem;
}

.gallery-page-background {
    position: absolute;
    inset: 0;
    background-color: #112733;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(10px);
    transform: scale(1.08);
    transition: opacity 400ms ease;
}

.gallery-page-background.is-fading {
    opacity: 0.3;
}

.gallery-page-hero-inner {
    position: relative;
    z-index: 2;
    color: #fff;
}

.gallery-page-hero-inner .section-label {
    color: #ffc4ca;
}

.gallery-page-hero-inner p {
    color: rgba(255, 255, 255, 0.84);
}

.gallery-page-meta {
    font-weight: 800;
    letter-spacing: 0.04em;
}

.section-gallery {
    background: transparent;
}

.section-gallery .container {
    width: 100%;
    max-width: none;
    padding-left: 2rem;
    padding-right: 2rem;
}

.gallery-expand-toggle {
    width: fit-content;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font: inherit;
    font-weight: 800;
    font-size: 0.64rem;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.gallery-expand-toggle:hover,
.gallery-expand-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.22);
    outline: none;
}

.gallery-single-viewer.is-expanded {
    padding: 1.1rem;
    gap: 1rem;
}

.gallery-single-viewer.is-expanded .gallery-single-summary {
    position: static;
    bottom: auto;
    display: grid;
    justify-content: start;
    gap: 0.35rem;
    padding: 0.15rem 0 0.1rem;
    border-radius: 0;
    background: transparent;
}

.gallery-single-viewer.is-expanded .gallery-single-summary h2,
.gallery-single-viewer.is-expanded .gallery-count,
.gallery-single-viewer.is-expanded .gallery-summary-copy {
    display: block;
}

.gallery-single-viewer.is-expanded .gallery-single-summary h2 {
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    color: var(--color-text);
}

.gallery-single-viewer.is-expanded .gallery-single-summary p {
    font-size: 0.94rem;
    line-height: 1.45;
    color: rgba(23, 35, 45, 0.78);
}

.gallery-single-viewer.is-expanded .gallery-count {
    font-size: 0.82rem;
    color: var(--color-secondary);
}

.gallery-single-viewer.is-expanded .gallery-expand-toggle {
    margin-top: 0.35rem;
    padding: 0.72rem 1rem;
    border: 1px solid rgba(18, 56, 74, 0.12);
    background: rgba(18, 56, 74, 0.06);
    color: var(--color-secondary);
    font-size: 0.94rem;
    backdrop-filter: none;
}

.gallery-single-viewer.is-expanded .gallery-expand-toggle:hover,
.gallery-single-viewer.is-expanded .gallery-expand-toggle:focus-visible {
    background: rgba(18, 56, 74, 0.12);
}

.gallery-empty-state {
    padding: 2rem;
    border-radius: 24px;
    background: rgba(236, 241, 251, 0.9);
    border: 1px solid rgba(15, 46, 138, 0.1);
    box-shadow: 0 18px 40px rgba(15, 46, 138, 0.08);
}

.gallery-slide-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: rgba(12, 24, 32, 0.7);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    cursor: pointer;
    z-index: 2;
    font-weight: 800;
}

.gallery-slide-control.prev {
    left: 1rem;
}

.gallery-slide-control.next {
    right: 1rem;
}

.gallery-slide-dots {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    display: flex;
    gap: 0.55rem;
    z-index: 2;
}

.gallery-slide-dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

.gallery-slide-dot.is-active {
    background: var(--color-primary);
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0 2rem;
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.page-hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
}

.page-hero:not(.gallery-page-hero)::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(143, 13, 22, 0.2), transparent 32%),
        linear-gradient(120deg, rgba(15, 46, 138, 0.12), rgba(15, 46, 138, 0.03));
    z-index: 0;
}

.page-hero-verse-layer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;
    z-index: 1;
    pointer-events: none;
}

.page-hero-verse-panel {
    max-width: 1120px;
    display: grid;
    gap: 0.75rem;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 500ms ease, transform 500ms ease;
}

.page-hero-verse-panel.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.page-hero-verse-text {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4.6vw, 4.25rem);
    line-height: 1.02;
    color: rgba(9, 22, 45, 0.22);
    letter-spacing: 0.01em;
}

.page-hero-verse-reference {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(143, 13, 22, 0.34);
}

.form-shell {
    display: grid;
    gap: 1rem;
}

.form-shell label {
    display: grid;
    gap: 0.45rem;
    font-weight: 700;
}

.form-shell input,
.form-shell textarea {
    width: 100%;
    border: 1px solid rgba(18, 56, 74, 0.12);
    border-radius: 16px;
    padding: 0.95rem 1rem;
    font: inherit;
    background: #fff;
}

.checkbox-row {
    display: flex !important;
    gap: 0.7rem;
    align-items: center;
    font-weight: 600 !important;
}

.checkbox-row input {
    width: auto;
}

.formatted-copy {
    white-space: pre-line;
}

.embed-shell iframe {
    width: 100%;
    min-height: 420px;
    border: 0;
    border-radius: 24px;
}

.final-cta {
    padding-top: 2rem;
}

.final-cta-shell {
    padding: 2rem;
    background: linear-gradient(140deg, var(--color-secondary), #0e2430);
    color: #fff;
    border-radius: 34px;
}

.site-footer {
    position: relative;
    padding: 5rem 0 2rem;
    background: #0e1a22;
    color: rgba(255, 255, 255, 0.76);
}

.site-footer h3,
.site-footer h4 {
    margin-top: 0;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
    gap: 1.5rem;
}

.footer-links {
    display: grid;
    gap: 0.55rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.whatsapp-float {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    padding: 0.95rem 1.15rem;
    border-radius: 999px;
    background: #25d366;
    color: #06240f;
    font-weight: 800;
    box-shadow: 0 18px 36px rgba(37, 211, 102, 0.25);
}

@media (max-width: 980px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 82px;
        left: 1rem;
        right: 1rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border-radius: 22px;
        background: rgba(255, 250, 245, 0.96);
        box-shadow: 0 20px 60px rgba(18, 56, 74, 0.12);
    }

    .site-nav.nav-open {
        display: flex;
    }

    .home-hero-stage,
    .split-section,
    .dual-columns,
    .final-cta-shell,
    .footer-grid,
    .announcement-strip .container,
    .event-grid,
    .gallery-single-viewer,
    .gallery-grid,
    .gallery-grid-large,
    .ministry-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

    .video-preview {
        grid-template-columns: 1fr;
    }

    .gallery-album-list {
        grid-template-columns: 1fr;
    }

    .home-hero-copy h1 {
        font-size: clamp(3.1rem, 16vw, 4.9rem);
    }

    .home-hero-stage {
        min-height: auto;
        padding-top: 1rem;
    }

    .gallery-single-media,
    .gallery-slides,
    .gallery-single-media img {
        min-height: 320px;
    }

    .gallery-single-viewer {
        width: 100%;
        height: auto;
        min-height: 480px;
        padding: 1.1rem;
        gap: 1rem;
    }

    .gallery-single-viewer.is-expanded {
        min-height: 620px;
    }

    .gallery-single-summary {
        position: static;
        right: auto;
        bottom: auto;
        display: grid;
        justify-content: start;
        gap: 0.35rem;
        padding: 0.15rem 0 0.1rem;
        border-radius: 0;
        background: transparent;
    }

    .gallery-single-summary h2,
    .gallery-count,
    .gallery-summary-copy {
        display: block;
    }

    .gallery-single-summary h2 {
        font-size: clamp(1.45rem, 2.2vw, 2rem);
        color: var(--color-text);
    }

    .gallery-single-summary p {
        font-size: 0.94rem;
        line-height: 1.45;
        color: rgba(23, 35, 45, 0.78);
    }

    .gallery-summary-copy {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .gallery-count {
        font-size: 0.82rem;
        color: var(--color-secondary);
    }

    .gallery-expand-toggle {
        margin-top: 0.35rem;
        padding: 0.72rem 1rem;
        border: 1px solid rgba(18, 56, 74, 0.12);
        background: rgba(18, 56, 74, 0.06);
        color: var(--color-secondary);
        font-size: 0.94rem;
        backdrop-filter: none;
    }

    .gallery-expand-toggle:hover,
    .gallery-expand-toggle:focus-visible {
        background: rgba(18, 56, 74, 0.12);
    }

    .page-hero-verse-layer {
        padding: 2rem 1rem;
    }

    .page-hero-verse-text {
        font-size: clamp(1.65rem, 8vw, 3rem);
    }

    .page-hero-verse-reference {
        font-size: 0.76rem;
        letter-spacing: 0.14em;
    }
}

@media (max-width: 640px) {
    .container {
        padding-left: 0.625rem;
        padding-right: 0.625rem;
    }

    .hero-section {
        padding-top: 3.2rem;
    }

    .hero-copy {
        padding-bottom: 0;
    }

    .home-hero-copy {
        padding: 1.5rem;
        padding-left: 0;
        padding-right: 0;
    }

    .final-cta-shell,
    .highlight-panel,
    .hero-panel,
    .form-shell {
        padding: 1.3rem;
        border-radius: 22px;
    }

    .whatsapp-float {
        right: 0.8rem;
        bottom: 0.8rem;
        padding: 0.8rem 1rem;
    }

    .gallery-page-hero {
        padding-top: 4rem;
    }

    .gallery-slide-caption {
        left: 0.8rem;
        right: 0.8rem;
        bottom: 0.8rem;
        padding: 1rem;
    }

    .gallery-slide-caption h2 {
        font-size: clamp(1.7rem, 9vw, 2.4rem);
    }

    .gallery-single-viewer {
        min-height: 440px;
    }

    .gallery-single-viewer.is-expanded {
        min-height: 560px;
    }
}
