/* -------------------------------------------------------------------------
   Styles for pages converted off Elementor (Staff, Karl's Legacy / Sponsors).
   Values here intentionally mirror what Elementor rendered so the pages are
   pixel-identical to the builder versions they replaced.
   Breakpoints match Elementor's: 1024px (tablet) and 767px (mobile).
   ------------------------------------------------------------------------- */

.kpf-page,
.kpf-page *,
.kpf-page *::before,
.kpf-page *::after {
    box-sizing: border-box;
}

.kpf-container {
    max-width: 1140px;
    margin: 0 auto;
}


/* -------------------------------------------------------------------------
   Staff
   ------------------------------------------------------------------------- */

.kpf-staff-hero {
    background-color: #EDF0F1;
    padding: 50px 0;
}

.kpf-staff-hero h1 {
    font-family: "Abel", sans-serif;
    font-size: 45px;
    font-weight: 500;
    line-height: 1;
    color: #333333;
    text-align: center;
    margin: 0 0 20px;
}

.kpf-staff-hero p {
    font-family: "Abel", sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.42857;
    color: #5F6568;
    text-align: center;
    margin: 0 0 10px;
}

.kpf-staff-grid {
    padding: 60px 0;
}

.kpf-staff-grid .kpf-container {
    padding: 0 10px;
}

.kpf-staff-row {
    display: flex;
    flex-wrap: wrap;
}

.kpf-staff-member {
    width: 33.3333%;
    padding: 10px;
    text-align: center;
}

.kpf-staff-member h2 {
    font-family: "Abel", sans-serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 1;
    color: #395464;
    text-align: center;
    margin: 0 0 20px;
}

.kpf-staff-member h3 {
    font-family: "Abel", sans-serif;
    font-size: 19px;
    font-weight: 500;
    line-height: 1;
    color: #395464;
    text-align: center;
    margin: 0 0 50px;
}

@media (max-width: 1024px) {
    .kpf-staff-hero {
        padding: 100px 25px;
    }
}

@media (max-width: 767px) {
    .kpf-staff-hero {
        padding: 50px 20px;
    }

    .kpf-staff-hero h1 {
        font-size: 35px;
    }

    .kpf-staff-member {
        width: 100%;
    }
}


/* -------------------------------------------------------------------------
   Karl's Legacy / Sponsors
   ------------------------------------------------------------------------- */

.kpf-legacy-hero {
    padding: 100px 0;
}

.kpf-legacy-hero .kpf-container {
    display: flex;
    flex-wrap: wrap;
}

.kpf-legacy-hero__text {
    width: 55.349%;
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.kpf-legacy-hero__map {
    width: 44.651%;
    padding: 10px;
}

.kpf-legacy-hero__map img {
    display: block;
    width: 100%;
    height: auto;
}

.kpf-legacy-hero h1 {
    font-family: "Abel", sans-serif;
    font-size: 61px;
    font-weight: 500;
    line-height: 1;
    color: #395464;
    text-align: left;
    margin: 0 0 20px;
}

.kpf-legacy__intro {
    /* 24px opens the blank line the builder version had above this copy */
    margin-top: 24px;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #28383B;
}

.kpf-legacy__intro p {
    margin: 0 0 10px;
}

.kpf-legacy__intro ul {
    margin: 0 0 10px;
    padding-left: 40px;
}

.kpf-legacy__intro li {
    margin: 0;
}

.kpf-sponsors {
    background-color: #FFFFFF;
    padding: 0 0 200px;
}

/* Flex column so the vertical rhythm is additive and never margin-collapses,
   which is how Elementor's widget spacing behaved. */
.kpf-sponsors__inner {
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.kpf-sponsors__spacer {
    height: 50px;
    margin-bottom: 20px;
}

.kpf-sponsors h1 {
    font-family: "Abel", sans-serif;
    font-size: 61px;
    font-weight: 500;
    line-height: 1;
    color: #395464;
    text-align: center;
    margin: 0 0 20px;
}

.kpf-sponsors__subheading {
    font-family: "Abel", sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
    color: #395464;
    text-align: center;
    margin: 0 0 20px;
}

.kpf-sponsors__divider {
    margin: 25px 0;
    padding: 15px 0;
    text-align: center;
}

.kpf-sponsors__divider span {
    display: block;
    width: 70%;
    margin: 0 auto;
    border-top: 1px dashed #000;
}

/* flow-root keeps the first heading's top margin inside the block, matching
   the gap Elementor's text-editor widget produced. */
.kpf-sponsors__list {
    display: flow-root;
    width: 100%;
    max-width: 800px;
    /* 40px bottom keeps the footer where the builder version put it */
    margin: 20px auto 40px;
    text-align: center;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #28383B;
}

.kpf-sponsors__list h2 {
    font-family: "Abel", sans-serif;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.1;
    color: #28383B;
    text-align: center;
    margin: 20px 0 10px;
}

.kpf-sponsors__list h3 {
    font-family: "Abel", sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.1;
    color: #28383B;
    text-align: center;
    margin: 20px 0 10px;
}

.kpf-sponsors__tier {
    margin: 0 0 14px;
}

.kpf-sponsors__tier:last-child {
    margin-bottom: 0;
}

.kpf-sponsors__button {
    margin: 60px 0 0;
    text-align: center;
}

.kpf-sponsors__button a {
    display: inline-block;
    background-color: #45B29D;
    color: #FFFFFF;
    font-family: "Open Sans", sans-serif;
    font-size: 26px;
    font-weight: 500;
    line-height: 1;
    padding: 12px 24px;
    border-radius: 0;
    text-decoration: none;
}

@media (max-width: 767px) {
    .kpf-legacy-hero__text,
    .kpf-legacy-hero__map {
        width: 100%;
    }
}
