/*========================================================
    BAPBI CONNECT PAGE
    Refined centered two-column layout
========================================================*/

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap");

.connect-page {
    background: var(--ivory, #f7f0e6);
    color: var(--espresso, #2d1a0c);
    font-family: "Inter", Arial, sans-serif;
}

.connect-page main {
    display: grid;
    grid-template-columns: minmax(0, 500px) minmax(0, 500px);
    justify-content: center;
    column-gap: 24px;
    align-items: stretch;
    overflow: hidden;
}

.connect-page .page-intro {
    grid-column: 1 / -1;
    width: 100%;
    padding: 2.5rem 0 2rem;
    background: transparent;
    text-align: center;
}

.connect-page .page-intro .content-container {
    width: min(calc(100% - 2rem), 850px);
    margin-inline: auto;
}

.connect-page .page-intro h1 {
    margin: 0 0 1rem;
    color: var(--espresso, #2d1a0c);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 600;
    line-height: 0.98;
}

.connect-page .page-intro-text {
    max-width: 680px;
    margin: 0 auto;
    color: #756b63;
    font-family: "Inter", Arial, sans-serif;
    font-size: 1.08rem;
    line-height: 1.8;
}

.connect-page .content-container {
    width: min(calc(100% - 2rem), 1200px);
    margin-inline: auto;
}

.connect-page .eyebrow {
    margin: 0 0 1rem;
    color: #a66b16;
    font-family: "Inter", Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1.5;
    text-transform: uppercase;
}

.connect-page .facebook-section,
.connect-page .tabernacle-section {
    grid-column: span 1;
    min-width: 0;
    padding: 2.5rem 0 3rem;
    background: var(--ivory, #f7f0e6);
}

.connect-page .facebook-section .content-container,
.connect-page .tabernacle-section .content-container {
    width: min(calc(100% - 2rem), 500px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.connect-page .section-heading {
    min-height: 0;
    margin-bottom: 1.5rem;
    text-align: center;
}

.connect-page .section-heading h2 {
    margin: 0 0 1rem;
    color: #2d1a0c;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.8rem, 2.4vw, 2.55rem);
    font-weight: 600;
    line-height: 1.12;
}

.connect-page .section-heading p:not(.eyebrow) {
    max-width: 480px;
    margin: 0 auto 1.5rem;
    color: #756b63;
    font-family: "Inter", Arial, sans-serif;
    font-size: 0.98rem;
    line-height: 1.7;
}

.connect-page .facebook-section .section-heading h2 {
    font-size: 0;
    line-height: 1;
}

.connect-page .facebook-section .section-heading h2::before {
    content: "BAPBI";
    display: block;
    color: #2d1a0c;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.08em;
}

.connect-page .facebook-feed-card {
    display: flex;
    flex-direction: column;
    width: min(100%, 405px);
    height: 600px;
    margin-inline: auto;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 0.75rem 2rem rgba(45, 26, 12, 0.06);
}

.connect-page .facebook-feed {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0.5rem;
}

.connect-page .facebook-feed .fb-page,
.connect-page .facebook-feed .fb-page > span,
.connect-page .facebook-feed .fb-page iframe {
    width: 100% !important;
    max-width: 100% !important;
}

.connect-page .feed-header {
    flex: 0 0 auto;
    padding: 0.25rem 0.75rem 0.75rem;
    color: #2d1a0c;
    font-family: "Inter", Arial, sans-serif;
}

.connect-page .feed-label {
    display: block;
    margin-bottom: 0.45rem;
    color: #a66b16;
    font-family: "Inter", Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.connect-page .feed-header h3 {
    margin: 0 0 0.35rem;
    color: #2d1a0c;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.15;
}

.connect-page .service-time {
    display: block;
    color: #756b63;
    font-family: "Inter", Arial, sans-serif;
    font-size: 0.86rem;
    line-height: 1.5;
}

.connect-page .connect-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 3.1rem;
    padding: 0.85rem 1.35rem;
    color: #2d1a0c;
    background: #c8a45d;
    border: 1px solid #c8a45d;
    font-family: "Inter", Arial, sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    line-height: 1.3;
    text-decoration: none;
    text-transform: uppercase;
}

.connect-page .connect-button:hover {
    color: #ffffff;
    background: #2d1a0c;
    border-color: #2d1a0c;
}

.connect-page .tabernacle-section {
    position: relative;
}

.connect-page .tabernacle-section::before {
    content: "";
    position: absolute;
    top: 2.5rem;
    bottom: 3rem;
    left: 0;
    width: 1px;
    background: rgba(200, 164, 93, 0.55);
}

.connect-page .service-section {
    grid-column: 1 / -1;
    padding: 3.5rem 0 4rem;
    background: var(--ivory, #f7f0e6);
}

.connect-page .service-section .content-container {
    width: min(calc(100% - 2rem), 1100px);
    margin-inline: auto;
}

.connect-page .service-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    padding: 2.5rem 3rem;
    background: #eee4d3;
    border-top: 1px solid rgba(200, 164, 93, 0.65);
    border-bottom: 1px solid rgba(200, 164, 93, 0.65);
}

.connect-page .service-content {
    min-width: 0;
}

.connect-page .service-content h2 {
    margin: 0 0 0.75rem;
    color: #2d1a0c;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 600;
    line-height: 1.1;
}

.connect-page .service-content > p:not(.eyebrow):not(.service-caption) {
    margin: 0;
    color: #756b63;
    font-family: "Inter", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
}

.connect-page .service-countdown {
    margin: 1rem 0 0;
    color: #a66b16;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.2;
}

.connect-page .service-caption {
    margin: 0.35rem 0 0;
    color: #756b63;
    font-family: "Inter", Arial, sans-serif;
    font-size: 0.85rem;
    line-height: 1.5;
}

.connect-page .service-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .connect-page main {
        display: block;
    }

    .connect-page .page-intro {
        padding: 3rem 0 2.5rem;
    }

    .connect-page .facebook-section,
    .connect-page .tabernacle-section {
        padding: 3rem 0;
    }

    .connect-page .facebook-section .content-container,
    .connect-page .tabernacle-section .content-container {
        width: min(calc(100% - 2rem), 700px);
    }

    .connect-page .section-heading h2 {
        font-size: clamp(2rem, 7vw, 2.7rem);
    }

    .connect-page .facebook-section .section-heading h2 {
        font-size: 0;
    }

    .connect-page .facebook-section .section-heading h2::before {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

    .connect-page .facebook-feed-card {
        width: min(100%, 405px);
        height: 600px;
        margin-inline: auto;
    }

    .connect-page .tabernacle-section::before {
        display: none;
    }

    .connect-page .service-section {
        padding: 2.5rem 0 3rem;
    }

    .connect-page .service-card {
        display: block;
        padding: 2rem 1.25rem;
    }

    .connect-page .service-content h2 {
        font-size: clamp(2rem, 8vw, 2.6rem);
    }

    .connect-page .service-actions {
        justify-content: flex-start;
        margin-top: 1.5rem;
    }
}

/* =========================================================
   SHARED STICKY SITE NAVIGATION
   Keeps the BAPBI header visible while scrolling on every page.
========================================================= */
.site-header {
    position: sticky !important;
    top: 0;
    z-index: 1000;
}
