
/* Homepage migration layout — test site only */

.home-banner {
    min-height: 350px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.home-banner-overlay {
    width: 100%;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.25);
}

.home-banner h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.home-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 35px 20px;
}

.home-mission {
    background: #5aa0a6;
    color: #fff;
    text-align: center;
}

.home-mission h2,
.home-worship h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px;
}

.home-mission p {
    line-height: 1.7;
    margin: 16px 0;
}

.home-worship {
    padding-bottom: 25px;
}

.home-worship h4 {
    text-align: center;
    margin-bottom: 30px;
}

.home-service-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
}

.home-service-columns h3 {
    margin-bottom: 12px;
}

.home-service-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.home-service-table td {
    padding: 10px 8px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.4);
}

.home-service-table td:last-child {
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 650px) {
    .home-banner {
        min-height: 240px;
    }

    .home-service-columns {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .home-container {
        padding: 25px 16px;
    }
}


/* Refine homepage layout to match the original site */
.home-banner,
.home-mission {
    width: 100%;
    max-width: none;
}

.home-banner {
    min-height: 300px;
}

.home-mission .home-container {
    max-width: 1100px;
}

.home-worship .home-container {
    max-width: 1040px;
}

.home-worship h2,
.home-worship h4 {
    text-align: left;
}

.home-service-columns {
    gap: 26px;
}

@media (min-width: 768px) {
    .home-banner,
    .home-mission {
        width: calc(100% + 30px);
        margin-left: -15px;
    }
}


/* Match the original homepage banner */
.home-banner {
    min-height: 350px;
}

.home-banner-overlay {
    display: none;
}

@media (max-width: 650px) {
    .home-banner {
        min-height: 350px;
    }
}

