/*
 * Home Page Styles — New Hope to Asia
 * Hybrid dark + warm design
 */

/* Remove GP default article padding on homepage */
.page-template-page-home .inside-article {
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}
.page-template-page-home .entry-content {
    max-width: none;
}
.page-template-page-home .site-content { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.page-template-page-home .inside-article,
.page-template-page-home .entry-content { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.page-template-page-home .entry-header {
    display: none;
}

/* ===== HERO ===== */
.nhta-hero {
    background: var(--nhta-charcoal);
    position: relative;
    overflow: hidden;
    min-height: 510px;
}
/* Grain texture */
.nhta-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: 1;
}
/* Amber glow */
.nhta-hero::after {
    content: '';
    position: absolute;
    bottom: -120px;
    right: -80px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212,133,74,.14) 0%, transparent 65%);
    pointer-events: none;
    z-index: 1;
}

/* Photo column */
.nhta-hero-photo-col {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 46%;
    overflow: hidden;
}
.nhta-hero-photo-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--nhta-charcoal) 0%, rgba(36,36,40,.6) 35%, rgba(36,36,40,.15) 100%);
    z-index: 2;
}
.nhta-hero-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hero content */
.nhta-hero-content {
    position: relative;
    z-index: 3;
    padding: 80px 56px;
    max-width: 58%;
}
.nhta-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--nhta-sans);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--nhta-amber-light);
    margin-bottom: 22px;
}
.nhta-hero-eyebrow::before {
    content: '';
    width: 24px;
    height: 1.5px;
    background: var(--nhta-amber);
    display: block;
}
.nhta-hero-h1 {
    font-family: var(--nhta-display) !important;
    font-size: clamp(40px, 4.5vw, 62px) !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    color: white !important;
    margin-bottom: 20px !important;
    letter-spacing: -.02em;
    text-shadow: none !important;
}
.nhta-hero-h1::after { display: none !important; }
.nhta-hero-h1 em {
    font-style: italic;
    font-weight: 400;
    color: var(--nhta-amber-light);
}
.nhta-hero-body {
    font-family: var(--nhta-sans);
    font-size: 15.5px;
    color: var(--nhta-light-text);
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: 34px;
    font-weight: 300;
}
.nhta-hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.nhta-hero-stats {
    display: flex;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 28px;
}
.nhta-hero-stat {
    padding-right: 32px;
    margin-right: 32px;
    border-right: 1px solid rgba(255,255,255,.1);
}
.nhta-hero-stat:last-child {
    border-right: none;
}
.nhta-hero-stat-num {
    font-family: var(--nhta-display);
    font-size: 34px;
    font-weight: 700;
    color: var(--nhta-amber-light);
    line-height: 1;
    margin-bottom: 4px;
}
.nhta-hero-stat-label {
    font-family: var(--nhta-sans);
    font-size: 10.5px;
    font-weight: 500;
    color: var(--nhta-dim-text);
    letter-spacing: .08em;
    text-transform: uppercase;
}

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

/* ===== MINISTRIES SECTION ===== */
.nhta-ministries {
    background: var(--nhta-cream);
    padding: 72px 0;
}
.nhta-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
.nhta-section-heading {
    margin-bottom: 48px;
}
.nhta-section-heading.center {
    text-align: center;
}
.nhta-section-h2 {
    font-family: var(--nhta-display) !important;
    font-size: clamp(28px, 3vw, 40px) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    color: var(--nhta-ink) !important;
    letter-spacing: -.01em;
    margin: 0 !important;
}
/* Remove the h2::after underline for custom sections */
.nhta-section-h2::after {
    display: none !important;
}
.nhta-section-sub {
    font-family: var(--nhta-sans);
    font-size: 15px;
    color: var(--nhta-muted);
    margin-top: 10px;
    line-height: 1.7;
    font-weight: 300;
    max-width: 540px;
}
.nhta-section-heading.center .nhta-section-sub {
    margin-left: auto;
    margin-right: auto;
}

/* Ministry cards */
.nhta-min-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.nhta-min-card {
    background: var(--nhta-cream-2);
    border: 1px solid var(--nhta-cream-3);
    border-radius: var(--nhta-r-md);
    overflow: hidden;
    box-shadow: var(--nhta-shadow-sm);
    transition: box-shadow var(--nhta-t), transform var(--nhta-t);
    text-decoration: none !important;
    display: block;
}
.nhta-min-card:hover {
    box-shadow: var(--nhta-shadow-md);
    transform: translateY(-3px);
}
.nhta-min-card-img {
    height: 152px;
    position: relative;
    overflow: hidden;
}
.nhta-min-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
    transition: transform .5s ease;
}
.nhta-min-card:hover .nhta-min-card-img img {
    transform: scale(1.05);
}
.nhta-min-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.45) 0%, transparent 60%);
}
.nhta-min-card-tag {
    position: absolute;
    bottom: 10px;
    left: 12px;
    font-family: var(--nhta-sans);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: var(--nhta-amber);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
}
.nhta-min-card-body {
    padding: 18px 20px 20px;
}
.nhta-min-card-title {
    font-family: var(--nhta-display) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--nhta-ink) !important;
    margin-bottom: 7px !important;
    line-height: 1.2;
}
.nhta-min-card-desc {
    font-family: var(--nhta-sans);
    font-size: 12.5px;
    color: var(--nhta-muted);
    line-height: 1.6;
    margin-bottom: 14px;
    font-weight: 300;
}
.nhta-min-card-link {
    font-family: var(--nhta-sans);
    font-size: 12px;
    font-weight: 600;
    color: var(--nhta-sky);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: .03em;
    transition: gap var(--nhta-t);
}
.nhta-min-card:hover .nhta-min-card-link {
    gap: 10px;
}

/* ===== WORSHIP SECTION ===== */
.nhta-worship-section {
    background: var(--nhta-cream);
    padding: 0 0 72px;
}
.nhta-worship-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--nhta-r-lg);
    overflow: hidden;
    box-shadow: var(--nhta-shadow-lg);
}
.nhta-worship-dark {
    background: var(--nhta-coal);
    padding: 50px 48px;
    position: relative;
    overflow: hidden;
}
.nhta-worship-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%);
}
.nhta-worship-warm {
    background: var(--nhta-cream-2);
    padding: 50px 48px;
}
.nhta-worship-h2 {
    font-family: var(--nhta-display) !important;
    font-size: 34px !important;
    font-weight: 700 !important;
    color: white !important;
    line-height: 1.15 !important;
    margin-bottom: 10px !important;
}
.nhta-worship-h2::after { display: none !important; }
.nhta-worship-h2 em {
    font-style: italic;
    color: var(--nhta-amber-light);
    font-weight: 400;
}
.nhta-worship-body-dark {
    font-family: var(--nhta-sans);
    font-size: 14px;
    color: var(--nhta-light-text);
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 28px;
}
.nhta-worship-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    position: relative;
    z-index: 1;
}
.nhta-worship-detail:first-child {
    border-top: 1px solid rgba(255,255,255,.07);
}
.nhta-worship-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-wd-label {
    font-family: var(--nhta-sans);
    font-size: 11px;
    font-weight: 600;
    color: white;
    margin-bottom: 2px;
}
.nhta-wd-value {
    font-family: var(--nhta-sans);
    font-size: 12.5px;
    color: var(--nhta-dim-text);
    line-height: 1.5;
}
.nhta-wd-value a {
    color: var(--nhta-amber-light) !important;
    text-decoration: none !important;
}
.nhta-worship-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-worship-warm-h3::after { display: none !important; }

/* Visit cards */
.nhta-visit-card {
    background: white;
    border-radius: var(--nhta-r-md);
    padding: 22px 24px;
    box-shadow: var(--nhta-shadow-sm);
    margin-bottom: 16px;
}
.nhta-visit-card-head {
    font-family: var(--nhta-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--nhta-ink);
    margin-bottom: 8px;
}
.nhta-visit-card-body {
    font-family: var(--nhta-sans);
    font-size: 13px;
    color: var(--nhta-muted);
    line-height: 1.65;
    font-weight: 300;
}
.nhta-visit-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.nhta-visit-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);
}

/* ===== STORIES SECTION ===== */
.nhta-stories-section {
    background: var(--nhta-cream);
    padding: 72px 0;
}
/* Story filter pills */
.nhta-story-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.nhta-story-filter-btn {
    font-family: var(--nhta-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid var(--nhta-cream-3);
    background: transparent;
    color: var(--nhta-muted);
    cursor: pointer;
    transition: background var(--nhta-t), color var(--nhta-t), border-color var(--nhta-t);
}
.nhta-story-filter-btn:hover {
    border-color: var(--nhta-amber);
    color: var(--nhta-amber);
}
.nhta-story-filter-btn.active {
    background: var(--nhta-amber);
    color: white;
    border-color: var(--nhta-amber);
}

.nhta-stories-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 18px;
}
.nhta-story-card {
    background: white;
    border-radius: var(--nhta-r-md);
    overflow: hidden;
    box-shadow: var(--nhta-shadow-sm);
    transition: box-shadow var(--nhta-t), transform var(--nhta-t);
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
}
.nhta-story-card:hover {
    box-shadow: var(--nhta-shadow-md);
    transform: translateY(-2px);
}
.nhta-story-card.featured {
    grid-row: span 2;
}
.nhta-story-img {
    position: relative;
    overflow: hidden;
}
.nhta-story-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 55%);
    pointer-events: none;
    z-index: 1;
}
.nhta-story-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    font-family: var(--nhta-sans);
    font-size: 10.5px;
    font-weight: 400;
    color: white;
    letter-spacing: .02em;
    padding: 8px 14px 10px;
    z-index: 2;
}
.nhta-story-card.featured .nhta-story-caption {
    font-size: 11.5px;
}
.nhta-story-card.featured .nhta-story-img {
    height: 240px;
}
.nhta-story-card:not(.featured) .nhta-story-img {
    height: 130px;
}
.nhta-story-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
    transition: transform .5s ease;
}
.nhta-story-card:hover .nhta-story-img img {
    transform: scale(1.05);
}
.nhta-story-img-placeholder {
    width: 100%;
    height: 100%;
    background: var(--nhta-cream-3);
}
.nhta-story-body {
    padding: 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.nhta-story-cat {
    font-family: var(--nhta-sans);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--nhta-amber);
    margin-bottom: 8px;
}
.nhta-story-title {
    font-family: var(--nhta-display) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--nhta-ink) !important;
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
}
.nhta-story-card:not(.featured) .nhta-story-title {
    font-size: 14.5px !important;
}
.nhta-story-excerpt {
    font-family: var(--nhta-sans);
    font-size: 12.5px;
    color: var(--nhta-muted);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 14px;
    font-weight: 300;
}
.nhta-story-meta {
    font-family: var(--nhta-sans);
    font-size: 10.5px;
    color: #c0b9b0;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 6px;
}
.nhta-story-meta::before {
    content: '';
    width: 18px;
    height: 1px;
    background: #e0d9ce;
}

/* ===== GIVE CTA SECTION ===== */
.nhta-give-cta {
    background: var(--nhta-coal);
    padding: 72px 0;
    position: relative;
    overflow: hidden;
}
.nhta-give-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: 1;
}
.nhta-give-cta::after {
    content: '';
    position: absolute;
    left: -100px;
    bottom: -80px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212,133,74,.1) 0%, transparent 65%);
    pointer-events: none;
    z-index: 1;
}
.nhta-give-cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}
.nhta-give-cta-h2 {
    font-family: var(--nhta-display) !important;
    font-size: 46px !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    color: white !important;
    margin-bottom: 14px !important;
    letter-spacing: -.02em;
}
.nhta-give-cta-h2::after { display: none !important; }
.nhta-give-cta-h2 em {
    font-style: italic;
    color: var(--nhta-amber-light);
    font-weight: 400;
}
.nhta-give-cta-body {
    font-family: var(--nhta-sans);
    font-size: 14.5px;
    font-weight: 300;
    color: var(--nhta-light-text);
    line-height: 1.75;
    margin-bottom: 22px;
}
.nhta-give-verse {
    border-left: 2px solid var(--nhta-amber);
    padding: 10px 0 10px 20px;
    font-family: var(--nhta-serif);
    font-size: 15px;
    font-style: italic;
    color: var(--nhta-amber-light);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Impact tiers */
.nhta-give-tiers-label {
    font-family: var(--nhta-sans);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--nhta-dim-text);
    margin-bottom: 12px;
}
.nhta-give-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.nhta-tier {
    background: var(--nhta-charcoal-2);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--nhta-r-md);
    padding: 20px 14px;
    text-align: center;
    transition: background var(--nhta-t), border-color var(--nhta-t), transform var(--nhta-t);
}
.nhta-tier:hover {
    background: var(--nhta-charcoal-3);
    transform: translateY(-2px);
}
.nhta-tier.hot {
    border-color: var(--nhta-amber);
    background: rgba(212,133,74,.12);
}
.nhta-tier-icon {
    font-size: 26px;
    margin-bottom: 8px;
}
.nhta-tier-amount {
    font-family: var(--nhta-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--nhta-amber-light);
    margin-bottom: 5px;
}
.nhta-tier-desc {
    font-family: var(--nhta-sans);
    font-size: 11px;
    color: var(--nhta-dim-text);
    line-height: 1.4;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .nhta-min-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nhta-worship-split {
        grid-template-columns: 1fr;
    }
    .nhta-give-cta-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .nhta-stories-grid {
        grid-template-columns: 1fr 1fr;
    }
    .nhta-story-card.featured {
        grid-row: span 1;
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nhta-hero {
        min-height: auto;
    }
    .nhta-hero-photo-col {
        position: relative;
        width: 100%;
        height: 250px;
    }
    .nhta-hero-photo-mask {
        background: linear-gradient(to bottom, rgba(36,36,40,.3) 0%, var(--nhta-charcoal) 90%);
    }
    .nhta-hero-content {
        max-width: 100%;
        padding: 30px 24px 50px;
    }
    .nhta-hero-h1 {
        font-size: 32px !important;
    }
    .nhta-hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }
    .nhta-hero-stat {
        padding-right: 20px;
        margin-right: 20px;
    }
    .nhta-hero-stat-num {
        font-size: 24px;
    }
    .nhta-ministries,
    .nhta-worship-section,
    .nhta-stories-section,
    .nhta-give-cta {
        padding: 48px 0;
    }
    .nhta-section-inner {
        padding: 0 20px;
    }
    .nhta-min-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .nhta-worship-dark,
    .nhta-worship-warm {
        padding: 36px 24px;
    }
    .nhta-stories-grid {
        grid-template-columns: 1fr;
    }
    .nhta-story-card.featured {
        grid-column: span 1;
    }
    .nhta-give-cta-h2 {
        font-size: 32px !important;
    }
    .nhta-give-tiers {
        grid-template-columns: 1fr;
        max-width: 240px;
    }
}
