@import "pulse2025constant.css";
@import "partials/layout.css";
@import "partials/default.css";
@import "partials/navbar.css";
@import "partials/table.css";
@import "partials/social-footer.css";
@import "partials/new-menu.css";

.home .pageBody,
.page--htmlPage > .pageBody {
    background-image: url('https://assets.crfconnect.com/meetings/pulse2025/theme/pulse_bgnd.png');
    background-position: center bottom;
    background-color: #19245B;
    background-repeat: no-repeat;
    background-size: cover;
}

.pageWrapper__inner {
    max-width: 1000px;
}

.headerBanner {

    .logoWrapper {
        width: unset;
        flex-shrink: 0;
    }

    .heroLogo {
        height: 160px;
        width: auto;
    }

    .headerContent {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex-grow: 1;
        gap: 30px;
        width: 100%;
    }

    .headerContentCenter {
        flex-grow: 1;
        white-space: nowrap;
        overflow: hidden;
        position: relative;
        display: flex;
        border-top: 1px solid #F5DFA3;
        border-bottom: 1px solid #F5DFA3;
        padding: 15px 0;

        div {
            font-family: 'Palatino', 'Times New Roman', serif;
            font-size: 60px;
            line-height: 1.1;
            font-weight: 500;
            color: #F5DFA3;
            align-self: center;
            margin: 0 auto;
            text-align: center;
        }
    }

    .headerContentRight {
        text-align: center;
        color: white;
        flex-shrink: 0;
        min-width: 150px;
        margin-bottom: 20px;
    }

    .headerContentRight p {
        margin: 0;
        font-size: 16px;
        font-weight: 400;
        line-height: 1.2;
    }

    .headerContentRight p:first-child {
        font-family: 'Palatino', 'Times New Roman', serif;
        font-size: 32px;
        font-weight: 500;
        margin-bottom: 0;
    }

    .headerContentRight p:nth-child(2) {
        font-family: 'Palatino', 'Times New Roman', serif;
        font-size: 60px;
        font-weight: 500;
        margin-bottom: 0;
    }
}

.menu .menu__item.highlight > a {
    background-color: #C09649;
    //color: #fff;
    &:hover {
        color: #19245B;
        background-color: #C09649;
    }
}

@media (min-width: 1200px) {
    .headerBanner {
        .heroLogo {
            height: 120px;
        }
        .headerContent {
            flex-direction: row;
        }

        .logoWrapper {
            padding-right: 35px;
            border-right: 1px solid #F5DFA3;
        }

        .headerContentCenter {
            border-top: 0;
            border-bottom: 0;
            padding: 0;
            div {
                padding-right: 20px;
            }
        }

        .headerContentCenter::after {
            content: '';
            position: absolute;
            right: 0; /* Half of gap */
            top: 0;
            bottom: 0;
            width: 1px;
            background-color: #F5DFA3;
        }
        .headerContentRight {
            margin-bottom: 0;
        }
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Palatino', serif;
    font-weight: 400;
}

h1 {
    text-transform: uppercase;
    font-size: 60px;
    line-height: 1.1;
    margin-bottom: 30px;
}

h1.alt {
    font-size: 44px!important;
}

.page--donate,
.page--reserve {
    h1 {
        font-size: 44px!important;
    }
}

h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

main {
    h2, h3 {
        font-family: canada-type-gibson, sans-serif;
        font-size: 20px !important;
        font-weight: 500;
    }

    p, h1, h2, h3, h4, h5, h6 {
        text-align: center;
    }
}

.body p a {
    text-decoration: underline;
}

main .btn {
    border-radius: 30px;
    font-weight: 500;
    padding: 15px 15px;
    font-size: 18px;
    &:hover {
        color: #fff !important;
    }
    &.btn-wide {
        max-width: 450px!important;
    }
}

@media (max-width: 1200px) {
    span.mobile-break:after {
        content: "\A";
        white-space: pre;
    }
}

@media (min-width: 832px) {
    span.desktop-break:after {
        content: "\A";
        white-space: pre;
    }
}

.crf-stripe .social-icon-solid, footer .social-icon-solid {
    fill: #C09649;
}

.crf-stripe .social-icon-outline, footer .social-icon-outline {
    stroke: #C09649;
}

.milestones {
    max-width: 900px;
    margin: 0 auto;
}

.milestone {
    height: 210px;
    width: 210px;
    background-color: #C09649;
    color: #fff;
    padding: 20px;
    border-radius: 100%;
    text-align: center;
    margin: 0 auto;

    div:first-child {
        font-family: Palatino, serif;
        font-size: 82px;
        line-height: 1;
        font-weight: 500;
    }

    div:last-child {
        font-size: 16px;
    }
}

/*about crf*/
.logo-lockup {
    img {
        max-width: 250px;
    }

    .box-33 {
        display: flex;
        align-content: center;
        justify-content: center;
    }
}

@media (max-width: 832px) {
    .page--about-crf .tct2025Hero {
        background-position: 70% top!important;
    }
}

footer > div {
    justify-content: center!important;
    > div:nth-child(2) {
        display: none;
    }
    .social-icons {
        margin-right: 0!important;
    }
}

@media (min-width: 1024px) {
    footer > div {
        gap: 35px;
        align-items: flex-end!important;
    }
}

@media (max-width: 1023px) {
    footer > div {
        align-items: center !important;
        text-align: center;
    }
}