/*
 * Worship Page Styles — New Hope to Asia
 * NHTA Design System v2 — dark hero + split panel + warm features + map + dark CTA
 */

/* ===== GP OVERRIDES ===== */
.page-template-page-worship .inside-article {
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}
.page-template-page-worship .entry-header {
    display: none;
}
.page-template-page-worship .entry-content {
    max-width: none;
}

/* Kill GP separate-containers gap between content and footer */
.page-template-page-worship .site-content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.page-template-page-worship .inside-article,
.page-template-page-worship .entry-content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* ===== HERO: DARK BANNER WITH PHOTO ===== */
.nhta-wor-hero {
    background: var(--nhta-charcoal);
    position: relative;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Grain texture */
.nhta-wor-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    opacity: .6;
    pointer-events: none;
    z-index: 2;
}
/* Amber glow */
.nhta-wor-hero::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(212,133,74,.12) 0%, transparent 65%);
    pointer-events: none;
    z-index: 2;
}

/* Photo background */
.nhta-wor-hero-photo {
    position: absolute;
    inset: 0;
}
.nhta-wor-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.nhta-wor-hero-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(36,36,40,.75) 0%,
        rgba(36,36,40,.85) 50%,
        rgba(36,36,40,.92) 100%
    );
    z-index: 1;
}

/* Hero content */
.nhta-wor-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 80px 40px;
    max-width: 700px;
}
.nhta-wor-hero-content .nhta-rule.center {
    margin: 12px auto 18px;
}
.nhta-wor-hero-h1 {
    font-family: var(--nhta-display) !important;
    font-size: clamp(34px, 4.5vw, 52px) !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    color: white !important;
    margin: 0 0 16px !important;
    letter-spacing: -.02em;
}
.nhta-wor-hero-h1::after {
    display: none !important;
}
.nhta-wor-hero-h1 em {
    font-style: italic;
    font-weight: 400;
    color: var(--nhta-amber-light);
}
.nhta-wor-hero-sub {
    font-family: var(--nhta-sans);
    font-size: 16px;
    font-weight: 300;
    color: var(--nhta-light-text);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 28px;
}
.nhta-wor-hero-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Entrance animations */
@keyframes nhta-wor-fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.nhta-wor-hero-content .nhta-label { animation: nhta-wor-fadeUp .55s ease both; }
.nhta-wor-hero-h1 { animation: nhta-wor-fadeUp .55s .1s ease both; }
.nhta-wor-hero-sub { animation: nhta-wor-fadeUp .55s .2s ease both; }
.nhta-wor-hero-ctas { animation: nhta-wor-fadeUp .55s .3s ease both; }

/* ===== WORSHIP SPLIT PANEL ===== */
.nhta-wor-split-wrap {
    background: var(--nhta-cream);
    padding: 72px 0;
}
.nhta-wor-split-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
.nhta-wor-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--nhta-r-lg);
    overflow: hidden;
    box-shadow: var(--nhta-shadow-lg);
}

/* Dark left: service info */
.nhta-wor-dark {
    background: var(--nhta-coal);
    padding: 50px 48px;
    position: relative;
    overflow: hidden;
}
.nhta-wor-dark::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212,133,74,.12) 0%, transparent 70%);
    pointer-events: none;
}
.nhta-wor-dark-h2 {
    font-family: var(--nhta-display) !important;
    font-size: 34px !important;
    font-weight: 700 !important;
    color: white !important;
    line-height: 1.15 !important;
    margin: 0 0 10px !important;
}
.nhta-wor-dark-h2::after {
    display: none !important;
}
.nhta-wor-dark-h2 em {
    font-style: italic;
    color: var(--nhta-amber-light);
    font-weight: 400;
}
.nhta-wor-dark-body {
    font-family: var(--nhta-sans);
    font-size: 14px;
    color: var(--nhta-light-text);
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 28px;
}

/* Detail rows */
.nhta-wor-details {
    position: relative;
    z-index: 1;
}
.nhta-wor-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.nhta-wor-detail:first-child {
    border-top: 1px solid rgba(255,255,255,.07);
}
.nhta-wor-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(212,133,74,.15);
    border: 1px solid rgba(212,133,74,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.nhta-wor-dl {
    font-family: var(--nhta-sans);
    font-size: 11px;
    font-weight: 600;
    color: white;
    margin-bottom: 2px;
}
.nhta-wor-dv {
    font-family: var(--nhta-sans);
    font-size: 12.5px;
    color: var(--nhta-dim-text);
    line-height: 1.5;
}
.nhta-wor-dv a {
    color: var(--nhta-amber-light) !important;
    text-decoration: none !important;
}
.nhta-wor-dv a:hover {
    color: white !important;
}

/* Warm right: What to Expect */
.nhta-wor-warm {
    background: var(--nhta-cream-2);
    padding: 50px 48px;
}
.nhta-wor-warm-h3 {
    font-family: var(--nhta-display) !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--nhta-ink) !important;
    margin-bottom: 20px !important;
    line-height: 1.2;
}
.nhta-wor-warm-h3::after {
    display: none !important;
}

/* Visit cards */
.nhta-wor-visit-card {
    background: white;
    border-radius: var(--nhta-r-md);
    padding: 22px 24px;
    box-shadow: var(--nhta-shadow-sm);
    margin-bottom: 16px;
}
.nhta-wor-vc-head {
    font-family: var(--nhta-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--nhta-ink);
    margin-bottom: 8px;
}
.nhta-wor-vc-body {
    font-family: var(--nhta-sans);
    font-size: 13px;
    color: var(--nhta-muted);
    line-height: 1.65;
    font-weight: 300;
}
.nhta-wor-vc-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.nhta-wor-vc-tag {
    font-family: var(--nhta-sans);
    font-size: 10.5px;
    font-weight: 500;
    background: var(--nhta-cream-2);
    color: var(--nhta-muted);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid var(--nhta-cream-3);
}

/* ===== WELCOME SHOWCASE: WARM 2-COLUMN ===== */
.nhta-wor-welcome {
    background: var(--nhta-cream-2);
    padding: 72px 0;
}
.nhta-wor-welcome-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
.nhta-wor-welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Photo */
.nhta-wor-welcome-photo {
    position: relative;
    border-radius: var(--nhta-r-md);
    overflow: hidden;
}
.nhta-wor-welcome-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: var(--nhta-r-md);
    transition: transform .5s ease;
}
.nhta-wor-welcome-photo:hover img {
    transform: scale(1.03);
}
/* Caption below photo */
.nhta-wor-welcome-caption {
    display: block;
    text-align: center;
    font-family: var(--nhta-sans);
    font-size: 12px;
    font-weight: 300;
    font-style: italic;
    color: var(--nhta-ink-soft);
    margin-top: 10px;
}

/* Text */
.nhta-wor-welcome-text {
    padding: 8px 0;
}
.nhta-wor-welcome-text .nhta-rule {
    margin: 12px 0 18px;
}
.nhta-wor-welcome-h2 {
    font-family: var(--nhta-display) !important;
    font-size: clamp(26px, 2.5vw, 34px) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    color: var(--nhta-ink) !important;
    margin: 0 0 14px !important;
}
.nhta-wor-welcome-h2::after {
    display: none !important;
}
.nhta-wor-welcome-body {
    font-family: var(--nhta-sans);
    font-size: 15px;
    font-weight: 500;
    color: var(--nhta-ink-2);
    line-height: 1.7;
    margin-bottom: 12px;
}
.nhta-wor-welcome-detail {
    font-family: var(--nhta-sans);
    font-size: 14px;
    font-weight: 300;
    color: var(--nhta-muted);
    line-height: 1.75;
    margin-bottom: 24px;
}

/* ===== FEATURES: WARM 3-COLUMN ===== */
.nhta-wor-features {
    background: var(--nhta-cream);
    padding: 0 0 72px;
}
.nhta-wor-features-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
.nhta-wor-features-heading {
    text-align: center;
    margin-bottom: 48px;
}
.nhta-wor-features-heading .nhta-rule.center {
    margin: 12px auto 18px;
}
.nhta-wor-features-h2 {
    font-family: var(--nhta-display) !important;
    font-size: clamp(28px, 3vw, 38px) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    color: var(--nhta-ink) !important;
    margin: 0 !important;
}
.nhta-wor-features-h2::after {
    display: none !important;
}
.nhta-wor-features-sub {
    font-family: var(--nhta-sans);
    font-size: 15px;
    font-weight: 300;
    color: var(--nhta-muted);
    line-height: 1.7;
    max-width: 520px;
    margin: 10px auto 0;
}
/* Pillar cards use shared .nhta-pillar-* classes from about-page.css */

/* ===== GOOGLE MAPS ===== */
.nhta-wor-map {
    background: var(--nhta-cream-2);
    padding: 48px 0 0;
}
.nhta-wor-map-label {
    text-align: center;
    padding-bottom: 24px;
}
.nhta-wor-map-embed {
    line-height: 0;
}
.nhta-wor-map-embed iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

/* ===== CTA: DARK BANNER ===== */
.nhta-wor-cta {
    background: var(--nhta-coal);
    padding: 72px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* Grain */
.nhta-wor-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    opacity: .6;
    pointer-events: none;
    z-index: 0;
}
/* Amber glow */
.nhta-wor-cta::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -80px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212,133,74,.1) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}
.nhta-wor-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}
.nhta-wor-cta-h2 {
    font-family: var(--nhta-display) !important;
    font-size: clamp(30px, 3.5vw, 42px) !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    color: white !important;
    margin: 14px 0 14px !important;
}
.nhta-wor-cta-h2::after {
    display: none !important;
}
.nhta-wor-cta-h2 em {
    font-style: italic;
    color: var(--nhta-amber-light);
    font-weight: 400;
}
.nhta-wor-cta-body {
    font-family: var(--nhta-sans);
    font-size: 15px;
    font-weight: 300;
    color: var(--nhta-light-text);
    line-height: 1.7;
    margin-bottom: 28px;
}
.nhta-wor-cta-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .nhta-wor-split {
        grid-template-columns: 1fr;
    }
    .nhta-wor-dark,
    .nhta-wor-warm {
        padding: 40px 30px;
    }
    .nhta-wor-welcome-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .nhta-wor-welcome-text {
        text-align: center;
    }
    .nhta-wor-welcome-text .nhta-rule {
        margin: 12px auto 18px;
    }
}

@media (max-width: 768px) {
    .nhta-wor-hero {
        min-height: 400px;
    }
    .nhta-wor-hero-content {
        padding: 60px 24px;
    }
    .nhta-wor-hero-h1 {
        font-size: 30px !important;
    }
    .nhta-wor-dark,
    .nhta-wor-warm {
        padding: 36px 24px;
    }
    .nhta-wor-split-wrap {
        padding: 48px 0;
    }
    .nhta-wor-split-inner {
        padding: 0 20px;
    }
    .nhta-wor-welcome {
        padding: 48px 0;
    }
    .nhta-wor-welcome-inner {
        padding: 0 20px;
    }
    .nhta-wor-features {
        padding: 0 0 48px;
    }
    .nhta-wor-features-inner {
        padding: 0 20px;
    }
    .nhta-wor-map-embed iframe {
        height: 300px;
    }
    .nhta-wor-cta {
        padding: 56px 24px;
    }
}
