/*
Theme Name: Mount Pleasant Baptist
Author: OpenAI
Description: Custom starter theme based on supplied Mount Pleasant Baptist HTML/CSS.
Version: 1.0.0
Text Domain: mount-pleasant-baptist
*/
:root{--mpbc-gold:#ba874d;--mpbc-brown:#8b6f47;--mpbc-ink:#3d3935;--mpbc-cream:#fefcfa;--mpbc-sand:#f3efe8}
*{box-sizing:border-box}body{margin:0;color:var(--mpbc-ink);background:var(--mpbc-cream);font-family:"Instrument Sans",Arial,sans-serif;line-height:1.6}a{color:inherit}.site-header{padding:1rem 4vw;background:var(--mpbc-cream)}.
/* =================================
HEADER AND DESKTOP NAVIGATION
================================= */

.site-header {
position: relative;
z-index: 100;
overflow: visible;
}

.desktop-nav {
display: grid;
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
align-items: center;
gap: 1rem;
position: relative;
z-index: 100;
}

.nav-side {
display: flex;
min-width: 0;
align-items: center;
}

.nav-right {
justify-content: flex-end;
}

/* WordPress menu: top-level items side by side */
.desktop-nav nav > ul.menu {
display: flex !important;
flex-direction: row !important;
flex-wrap: nowrap;
align-items: center;
gap: clamp(.6rem, 1.5vw, 1.5rem);
list-style: none;
margin: 0;
padding: 0;
}

/* All menu items */
.desktop-nav nav li {
position: relative;
flex: 0 0 auto;
list-style: none;
margin: 0;
padding: 0;
}

.desktop-nav nav a {
display: block;
text-decoration: none;
font-size: .95rem;
white-space: nowrap;
text-transform: uppercase;
font-weight: 600;
}

/* Centered logo */
.site-logo {
display: block;
justify-self: center;
}

.site-logo img {
display: block;
width: 200px;
height: auto;
}

/* =================================
DESKTOP DROPDOWN
================================= */

/* Nested lists stay vertical */
.desktop-nav nav ul ul {
display: none;
position: absolute;
top: 100%;
left: 0;
z-index: 1000;

```
min-width: 210px;
margin: 0;
padding: .5rem 0;

list-style: none;
flex-direction: column;
align-items: stretch;
gap: 0;

background: var(--mpbc-ink);
box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
```

}

/* Show submenu on hover or keyboard focus */
.desktop-nav nav li:hover > ul,
.desktop-nav nav li:focus-within > ul {
display: flex;
}

/* Dropdown links */
.desktop-nav nav ul ul li {
width: 100%;
}

.desktop-nav nav ul ul a {
display: block;
padding: .7rem 1rem;
white-space: normal;
}

/* Dropdown hover and focus */
.desktop-nav nav ul ul a:hover,
.desktop-nav nav ul ul a:focus {
background: rgba(255, 255, 255, .1);
}

/* =================================
MOBILE HEADER
================================= */

.mobile-head,
.mobile-drawer {
display: none;
}

.mobile-head {
align-items: center;
justify-content: space-between;
}

.mobile-head img {
display: block;
width: 170px;
height: auto;
}

.menu-toggle {
font-size: 1.8rem;
border: 0;
background: none;
color: var(--mpbc-ink);
}

/* =================================
MAIN CONTENT AND OTHER STYLES
================================= */

main {
min-height: 55vh;
}

.hero {
padding: clamp(4rem, 10vw, 9rem) 7vw;
background:
linear-gradient(
90deg,
rgba(35, 29, 24, .65),
rgba(35, 29, 24, .1)
),
url('https://cpmfiles1.com/mountpleasantbaptist.ca/01-02.png')
center/cover;
color: white;
}

.hero h1 {
max-width: 850px;
font-size: clamp(2.5rem, 6vw, 5.5rem);
line-height: 1.05;
margin: 0 0 1.25rem;
}

.content {
max-width: 1100px;
margin: auto;
padding: 4rem 6vw;
}

.site-footer {
padding: 3rem 6vw;
background: var(--mpbc-ink);
color: #fff;
}

.site-footer img {
max-width: 200px;
}

.button,
.wp-block-button__link {
display: inline-block;
background: var(--mpbc-gold);
color: #fff;
padding: .8rem 1.25rem;
text-decoration: none;
border-radius: 2px;
}

/* =================================
MOBILE BREAKPOINT
================================= */

@media (max-width: 760px) {
.desktop-nav {
display: none !important;
}

.mobile-head {
    display: flex !important;
}

.mobile-drawer {
    display: flex !important;
}

.mobile-drawer[open] {
    display: block !important;
}

.mobile-drawer nav {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    padding: 1rem 0;
}

.mobile-drawer nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-drawer nav li {
    margin: 0;
    padding: 0;
}

.site-header {
    padding: 1rem 5vw;
}


}

/* Desktop: hide the mobile header and drawer */
@media (min-width: 761px) {
.desktop-nav {
display: grid !important;
}


.mobile-head,
.mobile-drawer {
    display: none !important;
}

}

/* Reference-matched homepage sections and responsive latest sermon */
:root {
  --mpbc-gold: #ba874d;
  --mpbc-brown: #8b6f47;
  --mpbc-ink: #3d3935;
  --mpbc-cream: #fefcfa;
  --mpbc-sand: #f3efe8;
}

html, body { max-width: 100%; overflow-x: clip; }
body { font-family: "Instrument Sans", Arial, sans-serif; }

/* Welcome section: constrained text, generous vertical whitespace */
.home .welcome-section {
  background: var(--mpbc-cream);
  padding: clamp(4rem, 8vw, 7rem) 24px;
  text-align: center;
}
.home .welcome-inner {
  width: min(100%, 720px);
  margin-inline: auto;
}
.home .section-label {
  color: var(--mpbc-gold);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.5;
  text-transform: uppercase;
  margin: 0 0 1.35rem;
}
.home .welcome-section h2 {
  max-width: 720px;
  margin: 0 auto 1.6rem;
  color: var(--mpbc-ink);
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.025em;
}
.home .welcome-section p {
  margin: 0;
  color: var(--mpbc-ink);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.75;
}

/* Weekly service cards: edge-to-edge charcoal band */
.home .weekly-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  background: #363331;
  color: var(--mpbc-cream);
}
.home .weekly-service {
  min-width: 0;
  min-height: 200px;
  padding: 3.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-right: 1px solid rgba(186,135,77,.18);
}
.home .weekly-service:last-child { border-right: 0; }
.home .weekly-service .service-label {
  margin: 0 0 1.35rem;
  color: var(--mpbc-gold);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.home .weekly-service h3 {
  margin: 0 0 .65rem;
  color: var(--mpbc-cream);
  font-size: 1.1rem;
  line-height: 1.35;
  font-weight: 600;
}
.home .weekly-service p {
  margin: 0;
  color: rgba(254,252,250,.58);
  font-size: .98rem;
  font-weight: 600;
}

/* Latest sermon: full-width band, centered max-width row.
   Use minmax(0,1fr) and min-width:0 to prevent vertical letter wrapping. */
.home .latest-sermon {
  width: 100%;
  margin: 0;
  padding: clamp(2.5rem, 5vw, 4rem) 24px;
  box-sizing: border-box;
  background: #fff;
  border-top: 1px solid var(--mpbc-gold);
}
.home .latest-sermon-inner {
  display: grid;
  grid-template-columns: 194px minmax(0, 1fr) 108px;
  align-items: center;
  gap: 30px;
  width: min(100%, 1120px);
  margin-inline: auto;
}
.home .latest-sermon figure {
  width: 194px;
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
}
.home .latest-sermon figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home .latest-sermon-main { min-width: 0; }
.home .latest-sermon-meta {
  margin: 0 0 .65rem;
  color: var(--mpbc-gold);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
}
.home .latest-sermon-meta .pipe { padding: 0 .7rem; color: var(--mpbc-gold); }
.home .latest-sermon h2 {
  margin: 0;
  color: #1e2624;
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: normal;
  word-break: normal;
}
.home .latest-sermon h2 a { color: inherit; text-decoration: none; }
.home .latest-sermon h2 a:hover { color: var(--mpbc-brown); }
.home .latest-sermon .listen-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.5rem;
  background: var(--mpbc-gold);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.home .latest-sermon .listen-button:hover { background: var(--mpbc-brown); }

@media (max-width: 760px) {
  .home .weekly-services { grid-template-columns: 1fr; }
  .home .weekly-service {
    min-height: 150px;
    padding: 2.25rem 1.25rem;
    border-right: 0;
    border-bottom: 1px solid rgba(186,135,77,.18);
  }
  .home .weekly-service:last-child { border-bottom: 0; }
  .home .latest-sermon-inner {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 16px;
  }
  .home .latest-sermon figure { width: 100px; }
  .home .latest-sermon .listen-button {
    grid-column: 2;
    justify-self: start;
    min-height: 42px;
  }
  .home .latest-sermon h2 { font-size: 1.05rem; }
  .home .latest-sermon-meta { letter-spacing: .1em; }
}
@media (max-width: 420px) {
  .home .latest-sermon-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .home .latest-sermon figure { width: 120px; }
  .home .latest-sermon .listen-button { grid-column: 1; }
}
/* Latest Sermon — layout fix */
.home .mpbc-latest-sermon {
  display: block;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.home .mpbc-latest-sermon-inner {
  display: grid !important;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  width: calc(100% - 48px) !important;
  max-width: 1120px;
  margin: 0 auto;
  padding: 54px 0;
  box-sizing: border-box;
}

.home .mpbc-sermon-thumbnail {
  display: block;
  width: 180px;
  max-width: 100%;
  min-width: 0;
}

.home .mpbc-sermon-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.home .mpbc-sermon-details {
  min-width: 0;
  overflow-wrap: break-word;
}

.home .mpbc-sermon-details h2,
.home .mpbc-sermon-details h3 {
  max-width: 100%;
  margin: 8px 0 0;
  line-height: 1.35;
  word-break: normal;
  overflow-wrap: break-word;
}

.home .mpbc-listen-button {
  justify-self: end;
  white-space: nowrap;
}

/* Mobile */
@media (max-width: 700px) {
  .home .mpbc-latest-sermon-inner {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 18px;
    width: calc(100% - 32px) !important;
    padding: 32px 0;
  }

  .home .mpbc-sermon-thumbnail {
    width: 100px;
  }

  .home .mpbc-listen-button {
    grid-column: 2;
    justify-self: start;
  }
}
/* Getting Here */
.mpbc-location {
  background: #272729;
  color: #fefcfa;
  text-align: center;
  padding: 88px 24px;
}

.mpbc-location-inner {
  max-width: 560px;
  margin: 0 auto;
}

.mpbc-eyebrow {
  display: block;
  color: #ba874d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.mpbc-location h2,
.mpbc-newsletter h2 {
  font-size: 32px;
  margin: 0 0 24px;
}

.mpbc-location p,
.mpbc-newsletter p {
  font-size: 16px;
  line-height: 1.8;
  margin: 0 auto;
  max-width: 560px;
}

/* Map */
.mpbc-map {
  width: 100%;
  height: 420px;
}

.mpbc-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Newsletter */
.mpbc-newsletter {
  background: #373433;
  color: #fefcfa;
  text-align: center;
  padding: 88px 24px;
}

.mpbc-newsletter p {
  color: #c7c4c1;
  margin-bottom: 32px;
}

.mpbc-button {
  display: inline-block;
  background: #ba874d;
  color: #fff;
  padding: 15px 34px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
}

.mpbc-button:hover {
  background: #8b6f47;
}

/* Social links */
.mpbc-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  background: #373433;
  border-top: 1px solid #4a4642;
  padding: 24px;
}

.mpbc-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fefcfa;
  color: #373433;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 700px) {
  .mpbc-location,
  .mpbc-newsletter {
    padding: 64px 24px;
  }

  .mpbc-location h2,
  .mpbc-newsletter h2 {
    font-size: 28px;
  }

  .mpbc-map {
    height: 320px;
  }
}

/* Minimal footer: social icons + copyright */
.site-footer {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #3d3935;
    color: #fefcfa;
}

.footer-bottom {
    box-sizing: border-box;
    width: 100%;
    padding: 28px 20px 30px;
    border-top: 1px solid rgba(186, 135, 77, 0.18);
    text-align: center;
}

.footer-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 0 18px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fefcfa;
    color: #3d3935;
    font-size: 23px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.footer-socials a:hover {
    background: #ba874d;
    color: #fff;
}

.footer-bottom p {
    margin: 0;
    color: #8f8983;
    font-size: 12px;
    line-height: 1.5;
}

@media (max-width: 700px) {
    .footer-bottom {
        padding: 24px 16px;
    }

    .footer-socials {
        gap: 12px;
    }
}

/* =====================================
   MPBC HOMEPAGE HERO
   ===================================== */

.mpbc-hero {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    background-image: url("https://cpmfiles1.com/mountpleasantbaptist.ca/01-02.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    color: #fff;
    text-align: center;
}

/* Golden overlay on top of the background image */
.mpbc-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;

    background: rgba(136,119,102,0.65);
}

/* Content container */
.mpbc-hero-content {
    position: relative;
    z-index: 1;
    width: min(90%, 760px);
     margin: 80px auto 0;
    padding: 60px 0;
}

/* Church logo */
.mpbc-hero-logo {
    display: block;
    width: 180px;
    max-width: 60%;
    height: auto;
    margin: 0 auto 55px;
    object-fit: contain;
}

/* Main headline */
.mpbc-hero h1 {
    margin: 0 auto 24px;
    color: #fff;
    font-family: "Instrument Sans", sans-serif;
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1.5px;
}

/* Introductory text */
.mpbc-hero-intro {
    max-width: 680px;
    margin: 0 auto;
    color: #fff;
    font-family: "Instrument Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

/* Thin gold divider */
.mpbc-hero-divider {
    width: 1px;
    height: 52px;
    margin: 30px auto 40px;
    background: #ba874d;
}

/* Visit us */
.mpbc-hero-visit span {
    display: block;
    /*margin-bottom: 28px;*/
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.mpbc-hero-visit p {
    margin: 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .mpbc-hero {
        min-height: 650px;
    }

    .mpbc-hero-content {
        width: 88%;
        padding: 45px 0;
    }

    .mpbc-hero-logo {
        width: 145px;
        margin-bottom: 40px;
    }

    .mpbc-hero h1 {
        font-size: clamp(32px, 8vw, 42px);
        letter-spacing: -0.8px;
    }

    .mpbc-hero-intro {
        font-size: 14px;
        line-height: 1.6;
    }

    .mpbc-hero-divider {
        margin: 25px auto 32px;
    }
}


/* =====================================
   LATEST SERMON - STATIC PREVIEW
   ===================================== */

.mpbc-latest-sermon {
    width: 100%;
    padding: 48px 5%;
    background: #f3efe8;
    color: #3d3935;
    box-sizing: border-box;
}

.mpbc-latest-sermon-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
}

.mpbc-sermon-thumbnail {
    width: 160px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.mpbc-sermon-artwork {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 12px;
    background: linear-gradient(145deg, #ba874d, #3d3935);
    color: #fff;
}

.mpbc-sermon-artwork span {
    font-family: Georgia, serif;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 2px;
}

.mpbc-sermon-artwork small {
    margin-top: 8px;
    font-size: 9px;
    letter-spacing: 1px;
}

.mpbc-sermon-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
}

.mpbc-eyebrow,
.steps-section .section-label,
.mpbc-sermon-date {
    color: #ba874d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mpbc-sermon-date {
    padding-left: 14px;
    border-left: 1px solid #ba874d;
}

.mpbc-sermon-details h2 {
    margin: 0;
    color: #3d3935;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
}

.mpbc-listen-button {
    display: inline-block;
    padding: 14px 32px;
    background: #ba874d;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
}

.mpbc-listen-button:hover {
    background: #8b6f47;
    color: #fff;
}

@media (max-width: 650px) {
    .mpbc-latest-sermon {
        padding: 32px 6%;
    }

    .mpbc-latest-sermon-inner {
        grid-template-columns: 90px minmax(0, 1fr);
        gap: 16px;
    }

    .mpbc-sermon-thumbnail {
        width: 90px;
    }

    .mpbc-sermon-artwork span {
        font-size: 20px;
    }

    .mpbc-sermon-artwork small {
        font-size: 7px;
    }

    .mpbc-sermon-details h2 {
        font-size: 16px;
    }

    .mpbc-sermon-meta {
        gap: 6px;
    }

    .mpbc-eyebrow,
    .mpbc-sermon-date {
        font-size: 10px;
    }

    .mpbc-sermon-date {
        padding-left: 6px;
    }

    .mpbc-listen-button {
        grid-column: 2;
        justify-self: start;
    }
}

/* Latest Sermon: align label and date */
.mpbc-sermon-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.mpbc-sermon-meta .mpbc-eyebrow,
.mpbc-sermon-date {
    margin: 0;
    line-height: 1.4;
}

/* Latest Sermon: mobile layout */
@media (max-width: 767px) {
    .mpbc-latest-sermon-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .mpbc-sermon-thumbnail {
        order: -1;
        width: 100%;
        max-width: 100%;
    }

    .mpbc-sermon-thumbnail img {
        display: block;
        width: 100%;
        height: auto;
    }

    .mpbc-sermon-details {
        width: 100%;
    }
}
/* Latest sermon: stack thumbnail above copy on mobile */
@media screen and (max-width: 767px) {
    .mpbc-latest-sermon-inner {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 20px !important;
        align-items: start;
    }

    .mpbc-latest-sermon-inner .mpbc-sermon-thumbnail {
        grid-column: 1 !important;
        grid-row: 1 !important;
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .mpbc-latest-sermon-inner .mpbc-sermon-thumbnail img {
        display: block;
        width: 100% !important;
        height: auto !important;
    }

    .mpbc-latest-sermon-inner .mpbc-sermon-details {
        grid-column: 1 !important;
        grid-row: 2 !important;
        width: 100% !important;
        min-width: 0;
    }
}
/* Mobile: put Listen button below sermon title */
@media screen and (max-width: 767px) {
    .mpbc-latest-sermon-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .mpbc-latest-sermon-inner .mpbc-sermon-details {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
    }

    .mpbc-latest-sermon-inner .mpbc-button {
        align-self: flex-start !important;
        margin-top: 20px !important;
    }
}
/* Mobile: stack sermon thumbnail, copy, then button */
@media (max-width: 767px) {
    .mpbc-latest-sermon-inner {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas:
            "thumbnail"
            "details"
            "listen" !important;
        gap: 20px !important;
        align-items: start !important;
    }

    .mpbc-latest-sermon-inner .mpbc-sermon-thumbnail {
        grid-area: thumbnail !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .mpbc-latest-sermon-inner .mpbc-sermon-details {
        grid-area: details !important;
        width: 100% !important;
    }

    .mpbc-latest-sermon-inner .mpbc-listen-button {
        grid-area: listen !important;
        justify-self: start !important;
        align-self: start !important;
        margin: 0 !important;
    }
}
/* Header transition */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background-color 0.3s ease,
              box-shadow 0.3s ease;
}

/* Transparent header at the top */
.site-header:not(.is-scrolled) {
  background: transparent;
}

.site-header:not(.is-scrolled) a {
  color: #fff;
}

/* White header after scrolling */
.site-header.is-scrolled {
  position: fixed;
  top: 0;
  background: #fefcfa;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.site-header.is-scrolled a {
  color: #3d3935;
}

/* Logo color */
.site-header:not(.is-scrolled) .site-logo img,
.site-header:not(.is-scrolled) .mobile-head img {
  filter: brightness(0) invert(1);
}

.site-header.is-scrolled .site-logo img,
.site-header.is-scrolled .mobile-head img {
  filter: brightness(0);
}

/* Smooth color changes */
.site-header a,
.site-header img {
  transition: color 0.3s ease, filter 0.3s ease;
}
/* Keep the header below the WordPress admin bar */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* FULL-SCREEN MOBILE MENU */
@media (max-width: 767px) {

    .mobile-head {
        position: relative;
        z-index: 10002;
    }

    .menu-toggle {
        position: relative;
        z-index: 10003;
        color: #fff;
        background: transparent;
        border: 0;
        box-shadow: none;
        font-size: 32px;
        line-height: 1;
        padding: 8px;
        cursor: pointer;
    }

    .site-header.is-scrolled .menu-toggle {
        color: #3d3935;
    }

    /* Full viewport overlay */
    .mobile-drawer[open] {
        display: flex;
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        box-sizing: border-box;
        margin: 0;
        padding: 130px 28px 40px;
        background: #fefcfa;
        color: #3d3935;
        border: 0;
        box-shadow: none;
        z-index: 10001;
        overflow-y: auto;
        align-items: flex-start;
        justify-content: center;
    }

    .mobile-drawer > summary {
        display: none !important;
    }

    .mobile-drawer nav {
        width: 100%;
        max-width: 480px;
    }

    .mobile-drawer ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .mobile-drawer li {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        text-align: center;
        border-bottom: 1px solid #e8dfd3;
    }

    .mobile-drawer li:last-child {
        border-bottom: 0;
    }

    .mobile-drawer a {
        display: block;
        padding: 17px 8px;
        color: #3d3935 !important;
        background: transparent !important;
        font-size: 20px;
        font-weight: 500;
        line-height: 1.4;
        text-decoration: none;
    }

    .mobile-drawer a:hover,
    .mobile-drawer a:focus {
        color: #ba874d !important;
    }

    /* Keep close button visible above the overlay */
    .site-header:has(.mobile-drawer[open]) .menu-toggle {
        color: #3d3935 !important;
    }
}

/* Dark logo when the mobile menu is open */
@media (max-width: 767px) {
    .site-header:has(.mobile-drawer[open]) .mobile-head img {
        filter: brightness(0) saturate(100%);
    }
}

.mpbc-content-line {
    width: 1px;
    height: 60px;
    background-color: var(--mpbc-content-line-color, #ba874d);
    margin: 24px auto;
}

/* =========================================
   TIMELINE SECTION
========================================= */

.timeline-section {
    background-color: var(--timeline-bg, var(--cream));
    color: var(--timeline-text, var(--charcoal));
    padding: 6rem 1.5rem;
}

.timeline-section .measure-wide {
    max-width: var(--measure-wide);
    margin-inline: auto;
}

.timeline-section .section--centered {
    text-align: center;
}

.timeline-section .section-label {
    color: var(--timeline-eyebrow, var(--gold));
}

.timeline-section .section-heading {
    color: var(--timeline-text, var(--charcoal));
}


/* =========================================
   TIMELINE SECTION
========================================= */

.timeline-section {
    background-color: var(--timeline-bg, #fefcfa);
    color: var(--timeline-text, var(--charcoal));
    padding: 7rem 1.5rem 6rem;
}

.timeline-section .measure-wide {
    max-width: var(--measure-wide);
    margin-inline: auto;
}

.timeline-section .section--centered {
    text-align: center;
}

.timeline-section .section-label {
    color: var(--timeline-eyebrow, var(--gold));
    color: #ba874d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.timeline-section .section-heading {
    color: var(--timeline-text, var(--charcoal));
    margin-bottom: 2.5rem !important;
}


/* =========================================
   TIMELINE LAYOUT
========================================= */

.timeline-section .timeline {
    width: 100%;
    max-width: 680px;
    margin-inline: auto;
}

.timeline-section .timeline__item {
    display: grid;
    grid-template-columns: 3.25rem minmax(0, 1fr);
    column-gap: 1.5rem;
}

.timeline-section .timeline__year {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.5;
    color: var(--timeline-line, var(--gold));
    text-align: right;
    padding-top: 0.1rem;
}


/* =========================================
   TIMELINE LINE + MARKERS
========================================= */

.timeline-section .timeline__body {
    position: relative;
    min-width: 0;
    border-left: none;
    padding-left: 1.4rem;
    padding-bottom: 2.1rem;
}

/* Bullet */
.timeline-section .timeline__body::before {
    content: "";
    position: absolute;
    left: -4px;
    top: 0.5rem;
    width: 7px;
    height: 7px;
    background: var(--timeline-line, var(--gold));
    border-radius: 50%;
    z-index: 1;
}

/* Vertical line */
.timeline-section .timeline__body::after {
    content: "";
    position: absolute;
    left: -1px;
    top: calc(0.5rem + 3.5px);
    bottom: -0.5rem;
    width: 1px;
    background: var(--timeline-line, var(--gold));
}

/* Last event: line ends at the last bullet's center */
.timeline-section .timeline__item:last-child .timeline__body {
    padding-bottom: 0;
}

.timeline-section .timeline__item:last-child .timeline__body::after {
    display: none;
}


/* =========================================
   TIMELINE TEXT
========================================= */

.timeline-section .timeline__title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: var(--lh-tight);
    color: var(--timeline-text, var(--charcoal));
    margin: 0 0 0.4rem;
}

.timeline-section .timeline__text {
    font-family: var(--font-body);
    font-size: var(--fs-small);
    line-height: var(--lh-body);
    color: var(--timeline-text, var(--gray));
}

.timeline-section .timeline__text > * + * {
    margin-top: 0.9rem;
}

.timeline-section .timeline__text a {
    color: var(--timeline-eyebrow, var(--gold));
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {
    .timeline-section {
        padding: 5rem 1.25rem 4rem;
    }

    .timeline-section .section-heading {
        margin-bottom: 2rem !important;
    }

    .timeline-section .timeline {
        max-width: 420px;
    }

    .timeline-section .timeline__item {
        grid-template-columns: 3.25rem minmax(0, 1fr);
        column-gap: 1.25rem;
    }

    .timeline-section .timeline__body {
        padding-left: 1.1rem;
        padding-bottom: 2rem;
    }
}

/* =========================================
   ARTICLES INDEX
========================================= */

.articles-index {
    background-color: var(--articles-bg, #f3efe8);
    color: var(--articles-text, var(--charcoal));
    padding: 6rem 1.5rem 5.25rem;
}

.articles-index .measure-wide {
    max-width: var(--measure-wide);
    margin-inline: auto;
}

.articles-index .section--centered {
    text-align: center;
}

.articles-index .section-label {
    color: var(--articles-accent, var(--gold));
}

.articles-index .section-heading {
    color: var(--articles-text, var(--charcoal));
    margin-bottom: 2.75rem;
}

/* Three-column index */

.articles-index__grid {
    width: 100%;
    max-width: 830px;
    margin-inline: auto;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 1.8rem;
}

.articles-index__item {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;

    padding: 0.85rem 0;
    border-bottom: 1px solid var(--articles-rule, #e5ded2);

    color: var(--articles-text, var(--charcoal));
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.5;

    transition: color 180ms ease;
}

.articles-index__number {
    flex: 0 0 auto;
    color: var(--articles-accent, var(--gold));
    font-size: 0.8rem;
    font-weight: 700;
}

.articles-index__title {
    min-width: 0;
}

.articles-index__item:hover {
    color: var(--articles-accent, var(--gold));
}

/* Tablet */

@media (max-width: 800px) {
    .articles-index__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 1.5rem;
    }
}

/* Mobile */

@media (max-width: 540px) {
    .articles-index {
        padding: 4.5rem 1.25rem;
    }

    .articles-index__grid {
        grid-template-columns: 1fr;
    }

    .articles-index .section-heading {
        margin-bottom: 2rem;
    }
}

/* =========================================
   ARTICLES CONTENT
========================================= */

.articles-content {
    background-color: var(--articles-content-bg, #fefcfa);
    color: var(--articles-content-text, var(--charcoal));
    padding: 5rem 1.5rem 0;
}

.articles-content__inner {
    width: 100%;
    max-width: 460px;
    margin-inline: auto;
}

/* Individual article */

.articles-content__item {
    margin: 0 0 2rem;
    scroll-margin-top: 6rem;
}

.articles-content__item:last-child {
    margin-bottom: 0;
}

/* Number + heading */

.articles-content__heading {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;

    margin: 0 0 1rem;

    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    line-height: var(--lh-tight);
    color: var(--articles-content-text, var(--charcoal));
}

.articles-content__number {
    flex: 0 0 auto;
    color: var(--articles-content-accent, var(--gold));
    font-weight: 700;
}

/* Article text */

.articles-content__text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--articles-content-text, var(--charcoal));
}

.articles-content__text p {
    margin: 0;
}

.articles-content__text > * + * {
    margin-top: 0.9rem;
}

/* Mobile */

@media (max-width: 600px) {
    .articles-content {
        padding: 4rem 1.25rem;
    }

    .articles-content__inner {
        max-width: 460px;
    }

    .articles-content__item {
        margin-bottom: 1.75rem;
    }
}

/* =========================================
   STEPS SECTION
========================================= */

.steps-section {
    background-color: var(--steps-bg, #fefcfa);
    color: var(--steps-text, var(--charcoal));

    /* Match the spacing of your other sections */
    padding: 6rem 1.5rem;
}


/* =========================================
   HEADING
========================================= */

.steps-section .measure-prose {
    width: 100%;
    max-width: var(--measure-wide);
    margin-inline: auto;
    text-align: center;
}

.steps-section .section-label {
    color: var(--steps-accent, var(--gold));
    text-align: center;
}

.steps-section .section-heading {
    color: var(--steps-text, var(--charcoal));
    text-align: center;
    margin: 0 0 3rem;
}


/* =========================================
   STEPS LAYOUT
========================================= */

.steps-section__steps {
    width: 100%;
    max-width: 490px;
    margin-inline: auto;
}

.steps-section__step {
    position: relative;

    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 1.5rem;

    padding-bottom: 2.25rem;
}

.steps-section__step:last-child {
    padding-bottom: 0;
}


/* =========================================
   NUMBERED SQUARE + CONNECTING LINE
========================================= */

.steps-section__marker {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;
    box-sizing: border-box;

    border: 1px solid var(--steps-accent, var(--gold));
    background-color: var(--steps-marker-bg, var(--cream));
    color: var(--steps-accent, var(--gold));

    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1;
}

/* Line segment runs from this marker toward the next */
.steps-section__step:not(:last-child)::before {
    content: "";
    position: absolute;

    left: 13.5px;
    top: 28px;
    bottom: 0;

    width: 1px;
    background-color: var(--steps-line, var(--gold-rule));
}


/* =========================================
   STEP CONTENT
========================================= */

.steps-section__content {
    min-width: 0;
    padding-top: 0.25rem;
}

.steps-section__title {
    margin: 0 0 0.45rem;

    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: var(--lh-tight);

    color: var(--steps-text, var(--charcoal));
}

.steps-section__body {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--steps-text, var(--charcoal));
}

.steps-section__body p {
    margin: 0;
}

.steps-section__body > * + * {
    margin-top: 0.9rem;
}

.steps-section__body a {
    color: var(--steps-accent, var(--gold));
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {
    .steps-section {
        padding: 4.5rem 1.25rem;
    }

    .steps-section .section-heading {
        margin-bottom: 2.5rem;
    }

    .steps-section__step {
        column-gap: 1rem;
        padding-bottom: 2rem;
    }
}

/* =========================================
   BACK TO TOP BUTTON
========================================= */

.back-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 999;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;
    padding: 0;

    border-radius: 50%;

    background-color: #242321;
	color: #ffffff;
	border: 1px solid #242321;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);

    transition:
        opacity 200ms ease,
        visibility 200ms ease,
        transform 200ms ease,
        background-color 200ms ease,
        color 200ms ease;
}

/* Visible state */

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hover */

.back-to-top:hover {
    background-color: #ba874d;
    border-color: #ba874d;
    color: #ffffff;
}

/* Keyboard accessibility */

.back-to-top:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

/* Mobile */

@media (max-width: 600px) {
    .back-to-top {
        right: 1rem;
        bottom: 1rem;
        width: 44px;
        height: 44px;
    }
}

/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {
    .back-to-top {
        transition: none;
    }
}


/* ========================================
   Leadership Showcase
======================================== */

.mpbc-leadership {
    --leadership-gold: #ba874d;
    --leadership-brown: #8b6f47;
    --leadership-dark: #3d3935;
    --leadership-cream: #fefcfa;
    --leadership-light: #f3efe8;

    position: relative;
    overflow: hidden;
    background: var(--leadership-cream);
    color: var(--leadership-dark);
    font-family: "Instrument Sans", sans-serif;
}

/* Intro */

.mpbc-leadership__intro {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem 1rem;
    text-align: center;
}

.mpbc-leadership__eyebrow {
        display: block;
    margin: 0 0 1.35rem;
    color: #ba874d;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .18em;
    line-height: 1.5;
    text-transform: uppercase;
}

.mpbc-leadership__heading {

	margin: 22px 0 26px;
	color: #3d3935;
	font-size: clamp(23px, 2.3vw, 30px);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -.025em;
}

/* Featured leader */

.mpbc-leadership__feature {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    padding: 2rem 5rem 0;
}

.mpbc-leadership__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    max-width: 1120px;
    min-height: 440px;
    margin: 0 auto;
}

.mpbc-leadership__details {
    max-width: 540px;
    padding: 2rem 0 4rem;
}

.mpbc-leadership__role {
        display: block;
    margin: 0 0 1.35rem;
    color: #ba874d;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .18em;
    line-height: 1.5;
    text-transform: uppercase;
}

.mpbc-leadership__name {
    margin: 0 0 1.25rem;
    color: var(--leadership-dark);
    font-size: clamp(2.5rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.mpbc-leadership__bio {
    max-width: 500px;
    margin: 0;
    color: #625d57;
    font-size: 1rem;
    line-height: 1.8;
}

/* Portrait */

.mpbc-leadership__portrait {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    align-self: stretch;
    min-width: 0;
    min-height: 400px;
}

.mpbc-leadership__main-image {
    display: block;
    width: 100%;
    max-width: 500px;
    max-height: 540px;
    object-fit: contain;
    object-position: center bottom;
}

/* Navigation arrows */

.mpbc-leadership__arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    transform: translateY(-50%);
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
    color: var(--leadership-dark);
    font: inherit;
    font-size: 1.7rem;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.mpbc-leadership__arrow:hover {
    border-color: var(--leadership-gold);
    background: var(--leadership-gold);
    color: #fff;
}

.mpbc-leadership__arrow--prev {
    left: 1.5rem;
}

.mpbc-leadership__arrow--next {
    right: 1.5rem;
}

/* Bottom directory */

.mpbc-leadership__directory {
    position: relative;
    z-index: 3;
    padding: 2rem 1.5rem 2.5rem;
    background: var(--leadership-light);
}

.mpbc-leadership__people {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
}

.mpbc-leadership__person {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    color: var(--leadership-dark);
    font: inherit;
    text-align: center;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.mpbc-leadership__person:hover {
    transform: translateY(-3px);
}

.mpbc-leadership__person.is-active {
    border-color: rgba(186, 135, 77, 0.35);
    background: rgba(254, 252, 250, 0.8);
}

.mpbc-leadership__thumbnail {
    display: grid;
    width: 76px;
    height: 76px;
    margin-bottom: 0.85rem;
    overflow: hidden;
    place-items: center;
    border: 2px solid transparent;
    border-radius: 50%;
    background: #e5ded4;
    transition: border-color 0.2s ease;
}

.mpbc-leadership__person.is-active .mpbc-leadership__thumbnail {
    border-color: var(--leadership-gold);
}

.mpbc-leadership__thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.mpbc-leadership__person-name {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
}

.mpbc-leadership__person-role {
    color: #777068;
    font-size: 0.8rem;
    line-height: 1.5;
}

/* Keyboard focus */

.mpbc-leadership button:focus-visible {
    outline: 2px solid var(--leadership-gold);
    outline-offset: 4px;
}

/* ========================================
   Responsive
======================================== */

@media (max-width: 900px) {
    .mpbc-leadership__feature {
        padding-right: 3.5rem;
        padding-left: 3.5rem;
    }

    .mpbc-leadership__content {
        gap: 1.5rem;
        min-height: 360px;
    }

    .mpbc-leadership__people {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 1rem;
    }

    .mpbc-leadership__portrait {
        min-height: 340px;
    }
}

@media (max-width: 600px) {
    .mpbc-leadership__intro {
        padding: 3.5rem 1.25rem 1rem;
    }

    .mpbc-leadership__feature {
        padding: 1rem 1rem 0;
    }

    .mpbc-leadership__content {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mpbc-leadership__details {
        order: 1;
        padding: 1.5rem 1rem 2rem;
        text-align: center;
    }

    .mpbc-leadership__name {
        font-size: clamp(2.25rem, 9vw, 2.75rem);
    }

    .mpbc-leadership__bio {
        margin: 0 auto;
        font-size: 0.95rem;
    }

    .mpbc-leadership__portrait {
        order: 2;
        min-height: 280px;
        max-height: 360px;
    }

    .mpbc-leadership__main-image {
        max-height: 360px;
    }

    .mpbc-leadership__arrow {
        top: 45%;
        width: 36px;
        height: 36px;
    }

    .mpbc-leadership__arrow--prev {
        left: 0.5rem;
    }

    .mpbc-leadership__arrow--next {
        right: 0.5rem;
    }

    .mpbc-leadership__directory {
        padding: 1.5rem 0.75rem 2rem;
    }

    .mpbc-leadership__people {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .mpbc-leadership__thumbnail {
        width: 64px;
        height: 64px;
    }

	.mpbc-leadership__heading {
        font-size: 2rem;
    }
}



/* ========================================
   Content Columns
======================================== */

.mpbc-content-columns {
    --content-columns-bg: #fefcfa;
    --content-columns-text: #3d3935;
    --content-columns-line: rgba(61, 57, 53, 0.18);

    padding: 5rem 1.5rem;
    background: var(--content-columns-bg);
    color: var(--content-columns-text);
    font-family: "Instrument Sans", sans-serif;
}

.mpbc-content-columns__inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* Section header */

.mpbc-content-columns__header {
    max-width: 760px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.mpbc-content-columns__eyebrow,
.mpbc-content-columns__item-eyebrow {
    display: block;
    margin: 0 0 1.35rem;
    color: #ba874d;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .18em;
    line-height: 1.5;
    text-transform: uppercase;
}

.mpbc-content-columns__heading {
    margin: 22px 0 26px;
        color: #3d3935;
        font-size: clamp(23px, 2.3vw, 30px);
        font-weight: 700;
        line-height: 1.25;
        letter-spacing: -.025em;
}

/* Grid */

.mpbc-content-columns__grid {
    display: grid;
    grid-template-columns: repeat(
        var(--content-columns-count, 2),
        minmax(0, 1fr)
    );
}

.mpbc-content-columns__item {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

.mpbc-content-columns__item + .mpbc-content-columns__item {
    border-left: 1px solid var(--content-columns-line);
}

/* Column content */

.mpbc-content-columns__item-eyebrow {
    margin-bottom: 1rem;
}

.mpbc-content-columns__title {
     margin: 0 0 26px;
        color: #3d3935;
        font-size: clamp(23px, 2.3vw, 30px);
        font-weight: 700;
        line-height: 1.25;
        letter-spacing: -.025em;
}

.mpbc-content-columns__text {
    max-width: 390px;
    margin: 0 0 1.5rem;
    color: inherit;
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.82;
}

.mpbc-content-columns__text p {
    margin: 0 0 1rem;
}

.mpbc-content-columns__text p:last-child {
    margin-bottom: 0;
}

/* Optional link */

.mpbc-content-columns__link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: auto;
    padding: 0.25rem 0;
    color: #8b6f47;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.mpbc-content-columns__link span {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.mpbc-content-columns__link:hover {
    color: #ba874d;
    border-color: #ba874d;
}

.mpbc-content-columns__link:hover span {
    transform: translateX(4px);
}

.mpbc-content-columns__link:focus-visible {
    outline: 2px solid #ba874d;
    outline-offset: 5px;
}

/* ========================================
   Responsive
======================================== */

@media (max-width: 800px) {
    .mpbc-content-columns__item {
        padding: 2rem 1.25rem;
    }

    .mpbc-content-columns__title {
        font-size: 1.5rem;
    }
}

@media (max-width: 650px) {
    .mpbc-content-columns {
        padding: 3.5rem 1.25rem;
    }

    .mpbc-content-columns__header {
        margin-bottom: 2rem;
    }

    .mpbc-content-columns__grid {
        grid-template-columns: 1fr;
    }

    .mpbc-content-columns__item {
        padding: 2rem 0.5rem;
    }

    .mpbc-content-columns__item + .mpbc-content-columns__item {
        border-left: none;
        border-top: 1px solid var(--content-columns-line);
    }

    .mpbc-content-columns__title {
        font-size: 1.65rem;
    }
}


/* ========================================
   SINGLE SERMON PAGE
======================================== */

/* Single Sermon Page */

.mpbc-single-sermon {
    background: #fefcfa;
    color: #3d3935;
    /*padding: 5rem 1.5rem 6rem;*/
}

.mpbc-sermon {
    max-width: 1100px;
    margin: 0 auto;
}

.mpbc-sermon__header {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.mpbc-sermon__eyebrow {
    color: #8b6f47;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.mpbc-sermon__title {
    color: #3d3935;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.15;
    margin: 0 0 1rem;
}

.mpbc-sermon__passage {
    color: #8b6f47;
    font-size: 1.1rem;
}

.mpbc-sermon__thumbnail {
    max-width: 900px;
    margin: 0 auto 2.5rem;
}

.mpbc-sermon__thumbnail img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.mpbc-sermon__details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    margin: 0 0 2rem;
    color: #6b6259;
}

.mpbc-sermon__details p {
    margin: 0;
}

.mpbc-sermon__description {
    max-width: 760px;
    margin: 3rem auto;
    font-size: 1.05rem;
    line-height: 1.8;
}

.mpbc-sermon__audio {
    max-width: 760px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: #f3efe8;
}

.mpbc-sermon__audio h2 {
    margin: 0 0 1rem;
    color: #3d3935;
    font-size: 1.5rem;
}

.mpbc-sermon__audio audio {
    display: block;
    width: 100%;
}

@media (max-width: 600px) {
    .mpbc-single-sermon {
        padding: 3rem 1.25rem 4rem;
    }

    .mpbc-sermon__details {
        flex-direction: column;
        align-items: center;
    }

    .mpbc-sermon__audio {
        padding: 1.25rem;
    }
}

/* Solid header on sermon pages */
body.single-mpbc_sermon .site-header {
    background-color: #3d3935;
}

body.single-mpbc_sermon .site-header a {
    color: #fefcfa;
}

/* More breathing room below the header */
.mpbc-single-sermon {
    padding-top: 60px;
}

/* Single sermon spacing */
.mpbc-single-sermon {
    padding-top: 200px;
    padding-bottom: 80px;
}

.mpbc-sermon__header {
    margin-bottom: 40px;
}

/* Sermon description */
.mpbc-sermon__description {
    max-width: 760px;
    margin: 40px auto;
    line-height: 1.8;
}

/* Remove background behind the audio player */
.mpbc-sermon__audio {
    max-width: 760px;
    margin: 40px auto;
    padding: 0;
    background: transparent;
}

.mpbc-sermon__audio audio {
    display: block;
    width: 100%;
}

/* Mobile spacing */
@media (max-width: 600px) {
    .mpbc-single-sermon {
        padding-top: 40px;
        padding-bottom: 50px;
    }
}

.mpbc-sermon__header {
    margin-bottom: 0px;
}


/* Sermons archive */

.mpbc-sermons-archive {
    background: #fefcfa;
    color: #3d3935;
}

.mpbc-archive-header {
    text-align: center;
    padding: 60px 24px 48px;
}

.mpbc-archive-eyebrow {
    color: #8b6f47;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.mpbc-archive-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin: 0 0 18px;
}

.mpbc-archive-header > p:last-child {
    max-width: 600px;
    margin: 0 auto;
}

.mpbc-sermon-listing {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

/* Search and series filters */

.mpbc-sermon-filters {
    display: grid;
    grid-template-columns: minmax(200px, 1fr) minmax(180px, 260px) auto;
    gap: 12px;
    align-items: center;
    margin-bottom: 40px;
}

.mpbc-sermon-filters input,
.mpbc-sermon-filters select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #d8d0c6;
    border-radius: 4px;
    background: #fff;
    color: #3d3935;
    font: inherit;
}

.mpbc-sermon-filters button {
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid #3d3935;
    border-radius: 4px;
    background: #3d3935;
    color: #fff;
    font: inherit;
    cursor: pointer;
}

.mpbc-sermon-filters button:hover {
    background: #8b6f47;
    border-color: #8b6f47;
}

.mpbc-sermon-filters > a {
    grid-column: 1 / -1;
    color: #8b6f47;
    text-decoration: underline;
}

/* Sermon cards */

.mpbc-sermon-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 24px;
}

.mpbc-sermon-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8e1d8;
    border-radius: 5px;
}

.mpbc-sermon-card__image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #3d3935;
}

.mpbc-sermon-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 250ms ease;
}

.mpbc-sermon-card__image:hover img {
    transform: scale(1.03);
}

.mpbc-sermon-card__placeholder {
    display: grid;
    place-items: center;
    height: 100%;
    padding: 24px;
    color: #fefcfa;
    text-align: center;
}

.mpbc-sermon-card__content {
    padding: 24px;
}

.mpbc-sermon-card__series {
    margin: 0 0 10px;
    color: #8b6f47;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mpbc-sermon-card h2 {
    margin: 0 0 12px;
    font-size: 1.4rem;
    line-height: 1.25;
}

.mpbc-sermon-card h2 a {
    color: #3d3935;
    text-decoration: none;
}

.mpbc-sermon-card h2 a:hover {
    color: #8b6f47;
}

.mpbc-sermon-card__passage {
    margin: 0 0 18px;
    color: #8b6f47;
}

.mpbc-sermon-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding-top: 14px;
    border-top: 1px solid #eee8e0;
    color: #716b65;
    font-size: 0.88rem;
}

.mpbc-sermon-card__link {
    display: inline-block;
    margin-top: 20px;
    color: #8b6f47;
    font-weight: 600;
    text-decoration: none;
}

.mpbc-sermon-card__link:hover {
    text-decoration: underline;
}

/* Pagination */

.mpbc-pagination {
    margin-top: 56px;
}

.mpbc-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0;
    list-style: none;
}

.mpbc-pagination a,
.mpbc-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 8px 14px;
    border: 1px solid #d8d0c6;
    border-radius: 4px;
    color: #3d3935;
    text-decoration: none;
}

.mpbc-pagination .current {
    background: #3d3935;
    border-color: #3d3935;
    color: #fff;
}

.mpbc-pagination a:hover {
    background: #f3efe8;
}

.mpbc-sermon-empty {
    padding: 48px 24px;
    background: #f3efe8;
    text-align: center;
}

@media (max-width: 900px) {
    .mpbc-sermon-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .mpbc-archive-header {
        padding: 48px 20px 36px;
    }

    .mpbc-sermon-listing {
        padding: 0 20px 56px;
    }

    .mpbc-sermon-filters {
        grid-template-columns: 1fr;
    }

    .mpbc-sermon-filters > a {
        grid-column: auto;
    }

    .mpbc-sermon-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .mpbc-sermon-card__content {
        padding: 20px;
    }
}

/* Sermons archive: sticky dark header */
body.post-type-archive-mpbc_sermon .site-header,
body.post-type-archive-mpbc_sermon .site-header.is-scrolled {
    position: sticky;
    top: 0;
    z-index: 9999;
    background-color: #3d3935 !important;
}

/* Keep the logo and navigation visible */
body.post-type-archive-mpbc_sermon .site-header .site-logo img {
    filter: brightness(0) invert(1);
}

body.post-type-archive-mpbc_sermon .site-header a {
    color: #ffffff !important;
}

/* Account for the WordPress admin bar */
body.admin-bar.post-type-archive-mpbc_sermon .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar.post-type-archive-mpbc_sermon .site-header {
        top: 46px;
    }
}

/* Sermon archive search and filters */
.mpbc-sermons-archive form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px) auto;
  gap: 12px;
  align-items: center;
  max-width: 1150px;
  margin: 0 auto 3rem;
}

.mpbc-sermons-archive input[type="search"],
.mpbc-sermons-archive input[type="text"],
.mpbc-sermons-archive select {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 15px;
  border: 1px solid #ded5ca;
  border-radius: 5px;
  background: #fff;
  color: #3d3935;
  font: inherit;
  box-sizing: border-box;
}

.mpbc-sermons-archive input:focus,
.mpbc-sermons-archive select:focus {
  outline: 2px solid #ba874d;
  outline-offset: 2px;
}

.mpbc-sermons-archive button,
.mpbc-sermons-archive input[type="submit"] {
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid #3d3935;
  border-radius: 5px;
  background: #3d3935;
  color: #fefcfa;
  font: inherit;
  cursor: pointer;
  transition: background 0.2s ease;
}

.mpbc-sermons-archive button:hover,
.mpbc-sermons-archive input[type="submit"]:hover {
  background: #8b6f47;
  border-color: #8b6f47;
}

@media (max-width: 700px) {
  .mpbc-sermons-archive form {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 2rem;
  }

  .mpbc-sermons-archive button,
  .mpbc-sermons-archive input[type="submit"] {
    width: 100%;
  }
}

/* Sermon archive pagination */
.mpbc-sermons-archive .navigation.pagination {
  margin: 3rem 0 1rem;
}

.mpbc-sermons-archive .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.mpbc-sermons-archive .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #ded5ca;
  border-radius: 4px;
  background: #fefcfa;
  color: #3d3935;
  font-size: 0.9rem;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.mpbc-sermons-archive .page-numbers:hover {
  border-color: #ba874d;
  color: #8b6f47;
}

.mpbc-sermons-archive .page-numbers.current {
  border-color: #3d3935;
  background: #3d3935;
  color: #fefcfa;
}

.mpbc-sermons-archive .page-numbers.dots {
  border-color: transparent;
  background: transparent;
}

@media (max-width: 480px) {
  .mpbc-sermons-archive .nav-links {
    gap: 5px;
  }

  .mpbc-sermons-archive .page-numbers {
    min-width: 40px;
    min-height: 40px;
    padding: 0 9px;
  }
}


.mpbc-sermon-series {
    color: #8b6f47;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* Sunday Livestream page */
.mpbc-livestream {
    padding: 6rem 1.5rem;
    background: #fefcfa;
    color: #3d3935;
}

.mpbc-livestream-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.mpbc-livestream-heading {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

.mpbc-livestream-heading h1 {
    margin: 1rem 0;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
}

.mpbc-livestream-heading p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.7;
}

.mpbc-livestream-player {
    overflow: hidden;
    border-radius: 4px;
    background: #242321;
}

.mpbc-livestream-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    min-height: 260px;
    padding: 2rem;
    color: #fefcfa;
    text-align: center;
}

.mpbc-livestream-play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin-bottom: 1.5rem;
    border: 1px solid #ba874d;
    border-radius: 50%;
    color: #ba874d;
}

.mpbc-livestream-play svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.mpbc-livestream-status {
    margin: 0 0 0.5rem;
    color: #ba874d;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.mpbc-livestream-message {
    margin: 0;
    line-height: 1.6;
}

.mpbc-livestream-note {
    margin: 2rem auto 0;
    text-align: center;
    line-height: 1.7;
}

.mpbc-livestream-note span {
    display: block;
    width: 60px;
    height: 1px;
    margin: 0 auto 1.5rem;
    background: #ba874d;
}

@media (max-width: 600px) {
    .mpbc-livestream {
        padding: 4.5rem 1.25rem;
    }

    .mpbc-livestream-heading {
        margin-bottom: 2rem;
    }

    .mpbc-livestream-placeholder {
        aspect-ratio: 4 / 3;
        min-height: 220px;
        padding: 1.5rem;
    }

    .mpbc-livestream-play {
        width: 60px;
        height: 60px;
    }
}


/* =========================================
   REUSABLE CONTENT SECTION
   Mirrors the original homepage welcome styling
   ========================================= */

.mpbc-welcome {
    width: 100%;
    box-sizing: border-box;
    padding: clamp(4rem, 8vw, 7rem) 24px;
    text-align: center;
}

.mpbc-welcome-inner {
    width: min(100%, 720px);
    margin-inline: auto;
}

.mpbc-content-body {
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
}

.mpbc-content-body .mpbc-eyebrow, .mpbc-sermon__eyebrow {
    display: block;
    margin: 0 0 1.35rem;
    color: #ba874d;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .18em;
    line-height: 1.5;
    text-transform: uppercase;
}

.mpbc-content-body h2 {
    max-width: 720px;
    margin: 0 auto 1.6rem;
    color: inherit;
    font-size: clamp(1.65rem, 2.5vw, 2.15rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.mpbc-content-body p {
    max-width: 720px;
    margin: 0 auto;
    color: inherit;
    font-size: clamp(1rem, 1.3vw, 1.12rem);
    line-height: 1.75;
}

.mpbc-welcome .mpbc-content-line {
    width: 1px;
    height: 60px;
    margin: 24px auto;
    background-color: var(--mpbc-content-line-color, #ba874d);
}

@media (max-width: 600px) {
    .mpbc-welcome {
        padding: 4rem 24px;
    }
}

/* =========================================
   MPBC — Reusable Section Spacing Utilities
   ========================================= */

/* Default vertical spacing */
.mpbc-section-spacing {
    padding-top: clamp(4rem, 8vw, 7rem);
    padding-bottom: clamp(4rem, 8vw, 7rem);
}

/* Optional padding controls */
.mpbc-section-spacing--no-top {
    padding-top: 0 !important;
}

.mpbc-section-spacing--no-bottom {
    padding-bottom: 0 !important;
}

.mpbc-section-spacing--no-vertical {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* WIDER DESKTOP DROPDOWN SUBMENU */
.desktop-nav nav ul ul {
    min-width: 240px;
    width: 240px;
    box-sizing: border-box;
}

.desktop-nav nav ul ul a {
    padding: .75rem 1.25rem;
    white-space: normal;
}

/* =================================
   DESKTOP DROPDOWN — SCROLLED HEADER
================================= */

.desktop-nav nav ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;

    width: 260px;
    min-width: 260px;
    height: auto;
    box-sizing: border-box;

    margin: 0;
    padding: .4rem 0;
    list-style: none;

    flex-direction: column;
    align-items: stretch;
    gap: 0;

    background: var(--mpbc-ink);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

.desktop-nav nav li:hover > ul,
.desktop-nav nav li:focus-within > ul {
    display: flex;
}

.desktop-nav nav ul ul li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.desktop-nav nav ul ul a {
    display: block;
    width: 100%;
    box-sizing: border-box;

    padding: .75rem 1.25rem;
    color: #fff !important;
    background: transparent;

    font-size: .85rem;
    line-height: 1.4;
    text-decoration: none;
    white-space: normal;
}

.desktop-nav nav ul ul a:hover,
.desktop-nav nav ul ul a:focus {
    color: #fff !important;
    background: rgba(255, 255, 255, .12);
}



/* =================================
   HERO EYEBROW
================================= */

.mpbc-hero-eyebrow {
    margin: 0 0 .85rem;
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--mpbc-gold);
}

/* Keep eyebrow readable over image backgrounds */
.mpbc-hero--image .mpbc-hero-eyebrow {
    color: #fff;
}

/* Slightly tighter spacing on short heroes */
.mpbc-hero--short{
    max-height: 420px !important;
    min-height: min-content;

}




.mpbc-hero--short .mpbc-hero-eyebrow {
    margin-bottom: .6rem;
}

/* =================================
   LIVESTREAM
================================= */

.mpbc-livestream {
    background: var(--mpbc-cream, #fefcfa);
    padding: clamp(5rem, 9vw, 8rem) 6vw;
}

.mpbc-livestream-inner {
    width: min(1100px, 100%);
    margin: 0 auto;
}

.mpbc-livestream-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto clamp(3rem, 6vw, 5rem);
}

.mpbc-livestream-heading .mpbc-eyebrow,
.mpbc-livestream-password-inner .mpbc-eyebrow {
    display: block;
    margin-bottom: 1rem;
    color: var(--mpbc-gold);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.mpbc-livestream-heading h1,
.mpbc-livestream-password-inner h1 {
    margin: 0;
    color: var(--mpbc-ink);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1;
}

.mpbc-livestream-heading p {
    margin: 1.25rem 0 0;
    color: var(--mpbc-ink);
    font-size: 1.1rem;
}

.mpbc-livestream-player {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.mpbc-livestream-player iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
}

.mpbc-livestream-note {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: clamp(3rem, 6vw, 5rem);
    text-align: center;
}

.mpbc-livestream-note span {
    display: block;
    width: 1px;
    height: 48px;
    margin-bottom: 1.5rem;
    background: var(--mpbc-gold);
}

.mpbc-livestream-note p {
    margin: 0;
    color: var(--mpbc-ink);
    line-height: 1.6;
}


/* =================================
   LIVESTREAM PASSWORD SCREEN
================================= */

.mpbc-livestream-password {
    background: var(--mpbc-cream, #fefcfa);
    min-height: 65vh;
    display: flex;
    align-items: center;
    padding: clamp(5rem, 10vw, 8rem) 6vw;
}

.mpbc-livestream-password-inner {
    width: min(700px, 100%);
    margin: 0 auto;
    text-align: center;
}

.mpbc-livestream-password-inner h1 {
    margin-bottom: 1.5rem;
}

.mpbc-livestream-password-intro {
    max-width: 560px;
    margin: 0 auto 2.5rem;
    color: var(--mpbc-ink);
    font-size: 1.05rem;
    line-height: 1.7;
}


/* WordPress password form */

.mpbc-livestream-password-inner .post-password-form {
    margin: 0 auto;
}

.mpbc-livestream-password-inner .post-password-form p {
    margin: 0;
}

.mpbc-livestream-password-inner .post-password-form label {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    color: var(--mpbc-ink);
    font-size: .95rem;
}

.mpbc-livestream-password-inner .post-password-form input[type="password"] {
    width: 240px;
    padding: .85rem 1rem;
    border: 1px solid rgba(61, 57, 53, .25);
    border-radius: 2px;
    background: #fff;
    color: var(--mpbc-ink);
    font: inherit;
    box-sizing: border-box;
}

.mpbc-livestream-password-inner .post-password-form input[type="password"]:focus {
    outline: none;
    border-color: var(--mpbc-gold);
    box-shadow: 0 0 0 2px rgba(186, 135, 77, .15);
}

.mpbc-livestream-password-inner .post-password-form input[type="submit"] {
    padding: .85rem 1.4rem;
    border: 0;
    border-radius: 2px;
    background: var(--mpbc-gold);
    color: #fff;
    font: inherit;
    cursor: pointer;
    transition: opacity .2s ease;
}

.mpbc-livestream-password-inner .post-password-form input[type="submit"]:hover {
    opacity: .85;
}


/* =================================
   LIVESTREAM MOBILE
================================= */

@media (max-width: 760px) {

    .mpbc-livestream {
        padding: 4rem 5vw;
    }

    .mpbc-livestream-heading {
        margin-bottom: 3rem;
    }

    .mpbc-livestream-heading h1,
    .mpbc-livestream-password-inner h1 {
        font-size: clamp(2.2rem, 10vw, 3.2rem);
    }

    .mpbc-livestream-player iframe {
        aspect-ratio: 16 / 9;
    }

    .mpbc-livestream-password {
        min-height: 60vh;
        padding: 5rem 5vw;
    }

    .mpbc-livestream-password-inner .post-password-form label {
        flex-direction: column;
    }

    .mpbc-livestream-password-inner .post-password-form input[type="password"] {
        width: min(320px, 100%);
    }

    .mpbc-livestream-password-inner .post-password-form input[type="submit"] {
        width: min(320px, 100%);
    }
}



/* =================================
   CONTENT COLUMNS — IMAGES
================================= */

.mpbc-content-columns__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 2rem;
    overflow: hidden;
}

.mpbc-content-columns__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================
   SINGLE SERMON CTA
========================================= */

.mpbc-single-sermon > .mpbc-cta {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

/* Remove any bottom gap before the footer */
.mpbc-single-sermon > .mpbc-cta {
    margin-bottom: 0;
}

.mpbc-single-sermon {
    margin-bottom: 0;
    padding-bottom: 0;
}


/* =========================================
   CONTACT US PAGE
========================================= */

.mpbc-contact-form-section {
    background: var(--cream, #fefcfa);
    color: var(--charcoal, #3d3935);
    padding: 6rem 1.5rem;
}

.mpbc-contact-form-inner {
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
}

.mpbc-contact-form-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.mpbc-contact-form-intro h2 {
    margin: 0.5rem 0 1rem;
}

.mpbc-contact-form-intro p {
    max-width: 620px;
    margin: 0 auto;
    line-height: var(--lh-body, 1.6);
}

/* WPForms */

.mpbc-contact-form .wpforms-container {
    margin: 0 !important;
}

.mpbc-contact-form .wpforms-field {
    padding: 0 0 1.5rem !important;
}

.mpbc-contact-form .wpforms-field-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--charcoal, #3d3935);
    margin-bottom: 0.5rem !important;
}

.mpbc-contact-form input[type="text"],
.mpbc-contact-form input[type="email"],
.mpbc-contact-form input[type="tel"],
.mpbc-contact-form select,
.mpbc-contact-form textarea {
    width: 100% !important;
    box-sizing: border-box;
    border: 1px solid rgba(61, 57, 53, 0.25) !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: var(--charcoal, #3d3935) !important;
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.85rem 1rem !important;
    box-shadow: none !important;
}

.mpbc-contact-form input[type="text"],
.mpbc-contact-form input[type="email"],
.mpbc-contact-form input[type="tel"],
.mpbc-contact-form select {
    min-height: 52px;
}

.mpbc-contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

.mpbc-contact-form input:focus,
.mpbc-contact-form select:focus,
.mpbc-contact-form textarea:focus {
    outline: none !important;
    border-color: var(--gold, #ba874d) !important;
    box-shadow: 0 0 0 1px var(--gold, #ba874d) !important;
}

/* Submit button */

.mpbc-contact-form button[type="submit"],
.mpbc-contact-form input[type="submit"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0.8rem 1.5rem !important;
    border: 1px solid var(--charcoal, #3d3935) !important;
    border-radius: 0 !important;
    background: var(--charcoal, #3d3935) !important;
    color: #fff !important;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: none !important;
}

.mpbc-contact-form button[type="submit"]:hover,
.mpbc-contact-form input[type="submit"]:hover {
    background: var(--gold, #ba874d) !important;
    border-color: var(--gold, #ba874d) !important;
}

/* Validation */

.mpbc-contact-form .wpforms-error {
    font-size: 0.85rem;
}

.mpbc-contact-form .wpforms-field-required {
    color: var(--gold, #ba874d);
}

/* Mobile */

@media (max-width: 600px) {
    .mpbc-contact-form-section {
        padding: 4.5rem 1.25rem;
    }

    .mpbc-contact-form-intro {
        margin-bottom: 2.5rem;
    }
}

div.wpforms-container-full .wpforms-form .wpforms-field.wpforms-field-select-style-classic select {
    padding-inline-start: 14px;
    height: 50px;
}