/* Shared church styles */
:root {
    --mhcbc-navy: #2e4053;
    --mhcbc-navy-dark: #1f2d36;
}

.navbar {
    background-color: var(--mhcbc-navy);
    border-bottom: 3px solid #c5a35a;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.navbar-logo {
    width: 42px;
    height: 42px;
    margin-right: 0;
    object-fit: cover;
    background: #fff;
    border: 2px solid #c5a35a;
    border-radius: 50%;
    padding: 2px;
}

.navbar-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.navbar-brand-text strong {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

.navbar-brand-text small {
    color: #c5a35a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.navbar .nav-link {
    color: #fff !important;
    font-weight: 700;
}

.navbar .nav-link:hover {
    color: #c5a35a !important;
}

.navbar .nav-link.active {
    color: #c5a35a !important;
    text-decoration: none;
    box-shadow: inset 0 -2px 0 #c5a35a;
}

.page-hero,
.home-hero {
    position: relative;
    background-image: url("../background3.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
    padding: 90px 0;
    border-bottom: 5px solid #c5a35a;
}

.page-hero::before,
.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(20, 30, 38, 0.62);
    pointer-events: none;
}

.page-hero > *,
.home-hero > * {
    position: relative;
    z-index: 1;
}

.page-hero h1,
.page-hero h2,
.home-hero h1 {
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.page-hero .lead,
.home-hero .lead {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.page-hero .time-card-day,
.home-hero .time-card-day {
    color: #f4dc96;
}

.hero-tagline {
    color: #f4dc96;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

footer,
.footer {
    background-color: var(--mhcbc-navy);
    color: #fff;
}

.video-16x9 {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 10px;
}

.video-16x9 iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-9x16 {
    position: relative;
    width: 100%;
    padding-bottom: 177.78%;
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 10px;
}

.video-9x16 iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    height: 100%;
}

.video-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    padding: 0.9rem 1rem 1rem;
    color: var(--mhcbc-navy);
}

.home-video {
    max-width: 560px;
    margin-left: auto;
}

.btn-mhcbc {
    background: #fff;
    color: var(--mhcbc-navy);
    border: 2px solid #fff;
    font-weight: 700;
}

.btn-mhcbc:hover {
    background: #f3f6f8;
    color: var(--mhcbc-navy);
}

.btn-mhcbc-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    font-weight: 700;
}

.btn-mhcbc-outline:hover {
    background: #fff;
    color: var(--mhcbc-navy);
}

html,
body {
    overflow-x: hidden;
}

.navbar .container {
    gap: 0.5rem;
}

.visit-connect {
    background: #fff;
    padding: 1.5rem 0 0.5rem;
}

.info-card {
    background: var(--mhcbc-navy);
    color: #fff;
    border-radius: 16px;
    padding: 1.75rem 1.4rem 1.5rem;
    height: 100%;
    text-align: left;
    border-top: 5px solid #c5a35a;
    box-shadow: 0 12px 28px rgba(46, 64, 83, 0.16);
}

.info-card h2 {
    color: #fff;
    font-weight: 800;
    font-size: 1.65rem;
    margin-bottom: 1rem;
}

.info-card .time-card-day {
    color: #c5a35a;
}

.address-link,
.connect-link {
    color: #fff;
    text-decoration: none;
}

.address-link {
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 1rem;
}

.address-link:hover,
.connect-link:hover,
.contact-row:hover,
.social-btn:hover {
    color: #f0e2bd;
}

.contact-list {
    display: grid;
    gap: 0.7rem;
    margin-bottom: 1.25rem;
}

.contact-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    color: #fff;
    text-decoration: none;
}

.contact-label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c5a35a;
    font-weight: 800;
}

.contact-value {
    font-size: 1.05rem;
    font-weight: 700;
    word-break: break-word;
}

.social-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
}

.social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 0.85rem 0.3rem 0.75rem;
    min-height: 96px;
}

.social-btn i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--mhcbc-navy);
    border-radius: 50%;
    font-size: 1.35rem;
}

.social-btn span {
    font-size: 0.78rem;
    font-weight: 700;
}

.responsive-map-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    background: #000;
    border-radius: 12px;
}

.responsive-map-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.worship-times {
    background: #f6f1e7;
    padding: 3.25rem 0 1.5rem;
}

.worship-times h2 {
    text-align: center;
    color: var(--mhcbc-navy);
    font-weight: 800;
    margin-bottom: 1.75rem;
}

.time-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.8rem 1.2rem;
    height: 100%;
    text-align: center;
    box-shadow: 0 12px 28px rgba(46, 64, 83, 0.1);
    border-top: 5px solid #c5a35a;
}

.time-card-day {
    margin: 0 0 1rem;
    color: #c5a35a;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.time-card-item + .time-card-item {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #ece6da;
}

.time-card-time {
    margin: 0;
    color: var(--mhcbc-navy);
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.15;
}

.time-card-note {
    margin: 0.3rem 0 0;
    color: #5c6b78;
    font-weight: 600;
}

.ticket-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 1rem 0 1.25rem;
}

.ticket-pill {
    display: inline-flex;
    align-items: baseline;
    gap: 0.55rem;
    background: var(--mhcbc-navy);
    color: #fff;
    border-radius: 999px;
    padding: 0.55rem 1rem;
}

.ticket-pill span {
    font-size: 0.92rem;
}

.ticket-pill strong {
    font-size: 1.15rem;
}

.ticket-pill-gold {
    background: #c5a35a;
    color: #1f2d36;
}

.event-block {
    margin-bottom: 1.4rem;
}

.event-block h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--mhcbc-navy);
    margin-bottom: 0.35rem;
}

.event-block p {
    margin-bottom: 0.2rem;
}

.page-inner {
    background: #f6f1e7;
}

.page-band {
    background: #f6f1e7;
    padding: 3rem 0;
}

.content-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.75rem;
    box-shadow: 0 12px 28px rgba(46, 64, 83, 0.1);
    border-top: 5px solid #c5a35a;
    height: 100%;
}

.content-card h2,
.event-split h2 {
    color: var(--mhcbc-navy);
    font-weight: 800;
}

.content-card p,
.event-split p {
    color: #3d4b57;
    line-height: 1.7;
}

.quote-card {
    background: var(--mhcbc-navy);
    color: #fff;
    border-radius: 16px;
    padding: 1.6rem 1.75rem;
    border-left: 5px solid #c5a35a;
    box-shadow: 0 12px 28px rgba(46, 64, 83, 0.16);
}

.quote-card p {
    color: #fff;
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.7;
}

.event-split {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(46, 64, 83, 0.1);
    border-top: 5px solid #c5a35a;
}

.event-split img {
    width: 100%;
    height: auto;
    display: block;
}

.event-split img.event-photo {
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    object-position: center top;
}

.pastor-photo-wrap {
    background: #eef1f4;
    padding: 1rem 1rem 0;
}

.pastor-photo-wrap .pastor-photo {
    width: 100%;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    object-fit: contain !important;
    object-position: center top;
    display: block;
}

.event-split-body {
    padding: 1.8rem 1.6rem;
}

.btn-navy {
    background: var(--mhcbc-navy);
    color: #fff;
    border: 2px solid var(--mhcbc-navy);
    font-weight: 700;
}

.btn-navy:hover {
    background: var(--mhcbc-navy-dark);
    color: #fff;
    border-color: var(--mhcbc-navy-dark);
}

.video-card {
    border-top: 5px solid #c5a35a;
}

.site-accordion .accordion-item {
    border: none;
    margin-bottom: 1rem;
    background: transparent;
}

.site-accordion .accordion-button {
    box-shadow: none;
    font-size: 1.1rem;
    font-weight: 800;
    background-color: var(--mhcbc-navy);
    color: #fff;
    border-radius: 12px !important;
    border-top: 4px solid #c5a35a;
}

.site-accordion .accordion-button:not(.collapsed) {
    background-color: var(--mhcbc-navy-dark);
    color: #fff;
    box-shadow: none;
}

.site-accordion .accordion-button:hover,
.site-accordion .accordion-button:focus {
    background-color: var(--mhcbc-navy-dark);
    color: #fff;
    box-shadow: none;
}

.site-accordion .accordion-body {
    background: #fff;
    border-radius: 0 0 12px 12px;
    padding: 1.25rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 56px 0;
    }

    .page-hero h1,
    .page-hero h2,
    .header-text h1 {
        font-size: 2.05rem !important;
        line-height: 1.2;
    }

    .navbar-brand-text strong {
        font-size: 13px;
    }

    .navbar-brand-text small {
        font-size: 10px;
    }

    .container.px-5 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .home-video {
        width: 100%;
        max-width: 100%;
        margin: 1.25rem auto 0;
    }

    .time-card-time {
        font-size: 1.45rem;
    }

    .visit-connect,
    .worship-times {
        padding-left: 0;
        padding-right: 0;
    }

    .info-card,
    .time-card {
        padding: 1.4rem 1rem;
    }

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

    .ticket-pills {
        justify-content: center;
    }

    .ticket-pill {
        width: 100%;
        justify-content: space-between;
    }

    .anniversary-panel {
        text-align: center !important;
    }

    .anniversary-panel .event-block,
    .anniversary-panel .ticket-pills {
        text-align: left;
    }

    .btn-mhcbc,
    .btn-mhcbc-outline {
        width: 100%;
    }

    .header-text .my-5 {
        margin-top: 1.25rem !important;
        margin-bottom: 1.25rem !important;
    }

    header.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .page-band {
        padding: 2rem 0;
    }

    .content-card,
    .quote-card,
    .event-split-body {
        padding: 1.35rem 1.1rem;
    }

    .event-split img.event-photo {
        min-height: 200px;
        max-height: 240px;
    }

    .pastor-photo-wrap .pastor-photo {
        max-height: none !important;
        min-height: 0 !important;
    }

    .quote-card p {
        font-size: 1.02rem;
    }

    .site-accordion .accordion-button {
        font-size: 1rem;
    }

    .btn-navy {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .navbar-brand-text strong {
        font-size: 12px;
    }

    .social-btn {
        min-height: 88px;
    }
}
