/* ==================================================
   MT. PLEASANT UNITED METHODIST CHURCH
   CUSTOM HOMEPAGE
================================================== */

/* Only change the theme when our custom homepage exists */
body:has(#mp-home) .site-header,
body:has(#mp-home) .entry-header,
body:has(#mp-home) .entry-title,
body:has(#mp-home) .site-footer {
    display: none !important;
}

body:has(#mp-home),
body:has(#mp-home) #page,
body:has(#mp-home) .site,
body:has(#mp-home) .site-content,
body:has(#mp-home) #content,
body:has(#mp-home) .content-area,
body:has(#mp-home) .site-main,
body:has(#mp-home) article,
body:has(#mp-home) .hentry,
body:has(#mp-home) .entry-content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Main homepage wrapper */
#mp-home {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    overflow-x: hidden !important;
    background: #ffffff;
    color: #17243a;
    font-family: Arial, Helvetica, sans-serif;
}

#mp-home *,
#mp-home *::before,
#mp-home *::after {
    box-sizing: border-box !important;
}

#mp-home img {
    display: block;
    max-width: 100%;
}

/* HEADER */
.mp-header {
    background: #071b30;
    border-bottom: 3px solid #c99a3d;
    padding: 22px 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.mp-brand-main {
    font-family: Georgia, "Times New Roman", serif;
    color: #ffffff;
    font-size: 34px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 1px;
}

.mp-brand-sub {
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 2px;
    margin-top: 8px;
}

.mp-brand-city {
    color: #d6a443;
    font-size: 11px;
    letter-spacing: 2px;
    margin-top: 6px;
}

.mp-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 24px;
}

.mp-nav a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    margin: 0 !important;
    padding: 8px 0;
}

.mp-nav a:hover {
    color: #d6a443 !important;
}

/* HERO */
.mp-hero {
    min-height: 560px;
    padding: 50px 5%;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            90deg,
            rgba(3,20,38,.96) 0%,
            rgba(3,20,38,.84) 36%,
            rgba(3,20,38,.30) 67%,
            rgba(3,20,38,.10) 100%
        ),
        url("https://mtpleasantgulfport.org/wp-content/uploads/2026/08/733747147_1426512072839759_9160463071100162691_n.jpg");
    background-size: cover;
    background-position: center;
}

.mp-hero-content {
    width: 100%;
    max-width: 700px;
}

.mp-welcome-label {
    color: #d6a443;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
}

.mp-hero-title {
    font-family: Georgia, "Times New Roman", serif;
    color: #ffffff;
    font-size: 68px;
    line-height: 1;
    font-weight: 700;
    margin: 16px 0 0;
}

.mp-hero-tagline {
    font-family: Georgia, "Times New Roman", serif;
    color: #d6a443;
    font-size: 39px;
    line-height: 1.3;
    margin: 20px 0;
}

.mp-gold-line {
    width: 90px;
    height: 3px;
    background: #d6a443;
    margin: 22px 0;
}

.mp-hero-text {
    color: #ffffff;
    font-size: 19px;
    line-height: 1.6;
    max-width: 590px;
}

.mp-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.mp-btn-gold,
.mp-btn-dark,
.mp-btn-outline {
    display: inline-block;
    text-decoration: none !important;
    font-weight: 700;
    padding: 14px 22px;
}

.mp-btn-gold {
    background: #d6a443;
    color: #ffffff !important;
}

.mp-btn-dark {
    background: #082543;
    color: #ffffff !important;
}

.mp-btn-outline {
    color: #ffffff !important;
    border: 2px solid #ffffff;
}

/* QUICK INFO */
.mp-quick-info {
    background: #082543;
    color: #ffffff;
    padding: 0 4%;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 5px solid #d6a443;
}

.mp-info-box {
    flex: 1 1 240px;
    padding: 28px 25px;
    border-right: 1px solid rgba(255,255,255,.28);
}

.mp-info-box:last-child {
    border-right: none;
}

.mp-icon {
    color: #d6a443;
    font-size: 31px;
    margin-bottom: 8px;
}

.mp-info-box h3 {
    color: #ffffff;
    margin: 0 0 8px;
    font-size: 19px;
}

.mp-service-time {
    color: #d6a443;
    font-size: 22px;
    font-weight: 700;
}

.mp-info-box p,
.mp-info-box div {
    line-height: 1.6;
}

.mp-qr {
    width: 125px !important;
    margin: 12px auto 6px;
    padding: 8px;
    background: #ffffff;
}

/* MAIN CARDS */
.mp-main-cards {
    background: #f7f5f0;
    padding: 48px 3%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.mp-card {
    background: #ffffff;
    box-shadow: 0 3px 14px rgba(0,0,0,.12);
    overflow: hidden;
}

.mp-card-image {
    width: 100%;
    height: 290px;
    object-fit: cover;
}

.mp-pastor-image {
    height: 360px;
    object-position: center top;
}

.mp-card-body {
    padding: 26px;
}

.mp-card h2 {
    font-family: Georgia, "Times New Roman", serif;
    color: #0b2949;
    font-size: 31px;
    margin: 0;
}

.mp-card h3 {
    color: #0b2949;
}

.mp-card p {
    font-size: 16px;
    line-height: 1.7;
}

.mp-card-accent {
    color: #c4912e;
    font-size: 17px;
    font-weight: 700;
}

.mp-small-line {
    width: 55px;
    height: 3px;
    background: #d6a443;
    margin: 14px 0 18px;
}

/* WORSHIP / GROW / SERVE */
.mp-values {
    background: #153d31;
    color: #ffffff;
    padding: 34px 4%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.mp-value {
    text-align: center;
    padding: 25px;
}

.mp-value + .mp-value {
    border-left: 1px solid rgba(255,255,255,.28);
}

.mp-value-icon {
    color: #d6a443;
    font-size: 38px;
}

.mp-value h2 {
    font-family: Georgia, "Times New Roman", serif;
    color: #ffffff;
}

/* FEATURE SECTIONS */
.mp-feature {
    padding: 55px 5%;
    display: flex;
    align-items: center;
    gap: 45px;
}

.mp-feature-light {
    background: #ffffff;
}

.mp-feature-soft {
    background: #f7f5f0;
}

.mp-feature-image,
.mp-feature-copy {
    flex: 1 1 50%;
}

.mp-feature-image img {
    width: 100%;
    max-height: 510px;
    object-fit: cover;
}

.mp-section-label {
    color: #d6a443;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

.mp-feature h2 {
    font-family: Georgia, "Times New Roman", serif;
    color: #0b2949;
    font-size: 38px;
    line-height: 1.15;
}

.mp-feature p {
    font-size: 17px;
    line-height: 1.8;
}

/* FOOTER */
.mp-footer {
    background: #071b30;
    color: #ffffff;
    padding: 42px 4% 28px;
}

.mp-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 30px;
}

.mp-footer h3 {
    color: #d6a443;
}

.mp-footer a {
    color: #ffffff !important;
    text-decoration: none !important;
}

.mp-footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.25);
    margin-top: 34px;
    padding-top: 24px;
}

.mp-footer-tagline {
    font-family: Georgia, "Times New Roman", serif;
    color: #d6a443;
    font-size: 25px;
    font-style: italic;
}

/* TABLET */
@media (max-width: 1050px) {

    .mp-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .mp-nav {
        justify-content: flex-start;
    }

    .mp-main-cards {
        grid-template-columns: 1fr 1fr;
    }

    .mp-main-cards .mp-card:last-child {
        grid-column: 1 / -1;
    }

    .mp-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* MOBILE */
@media (max-width: 700px) {

    .mp-brand-main {
        font-size: 27px;
    }

    .mp-nav {
        gap: 10px 18px;
    }

    .mp-nav a {
        font-size: 12px;
    }

    .mp-hero {
        min-height: 540px;
        padding: 42px 6%;
        background-position: 62% center;
    }

    .mp-hero-title {
        font-size: 42px;
    }

    .mp-hero-tagline {
        font-size: 28px;
    }

    .mp-main-cards {
        grid-template-columns: 1fr;
    }

    .mp-main-cards .mp-card:last-child {
        grid-column: auto;
    }

    .mp-values {
        grid-template-columns: 1fr;
    }

    .mp-value + .mp-value {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,.28);
    }

    .mp-feature {
        flex-direction: column;
    }

    .mp-footer-grid {
        grid-template-columns: 1fr;
    }

    .mp-info-box {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.25);
    }
}