:root {
    --white-color: #f8fafc;
    --off-white-color: #efefef;
    --black-color: #000814;
    --primary-color: #013565;
    --accent-color: #ffc300;
    --sunset-color: #fc9337;
    --primary-light-color: #6991ce;
    --neutral-color: #94b3d0;
    --light-neutral-color: #dbe4ef;
    --light-gray-color: #aeaeae;
    --gray-color: #757575;
    --content-padding: 50px;
    --font-dmsans: 'DM Sans', sans-serif;
    --font-poppins: 'Poppins', sans-serif;
}

* {
    box-sizing: border-box;
}

.content-grid {
    --padding-inline: 2rem;
    --content-max-width: 1240px;
    --breakout-max-width: 1300px;

    --breakout-size: calc(
        (var(--breakout-max-width) - var(--content-max-width)) / 2
    );

    display: grid;
    grid-template-columns:
        [full-width-start] minmax(var(--padding-inline), 1fr)
        [breakout-start] minmax(0, var(--breakout-size))
        [content-start] min(
            100% - (var(--padding-inline) * 2),
            var(--content-max-width)
        )
        [content-end]
        minmax(0, var(--breakout-size)) [breakout-end]
        minmax(var(--padding-inline), 1fr) [full-width-end];
}

/* .content-grid > :not(.breakout, .full-width, .content-with-bleed-image),
.full-width > :not(.breakout, .full-width, .content-with-bleed-image),
.content-with-bleed-image > :not(.breakout, .full-width, .content-with-bleed-image)  */
.content-grid
    > :not(
        .breakout,
        .full-width,
        .content-with-bleed-image,
        .content-with-bleed-image-reverse
    ) {
    grid-column: content;
}

.content-grid > .breakout {
    grid-column: breakout;
}

.content-grid > .full-width {
    grid-column: full-width;
    display: grid;
    grid-template-columns: inherit;
}

.content-grid > .content-with-bleed-image {
    grid-column: content / full-width;
}

.content-grid > .content-with-bleed-image-reverse {
    grid-column: full-width / content;
}

.content-spacing {
    padding-block: var(--content-padding);
}

.w-120 {
    width: 120px;
}

@media only screen and (max-width: 599.98px) {
    .content-spacing:not(section) {
        padding-block: 30px;
    }
}
/*--------------------------------------------------------------
>>> Colors:
--------------------------------------------------------------*/
.text-black {
    color: var(--black-color);
}
.text-white {
    color: var(--white-color);
}
.text-accent {
    color: var(--accent-color);
}
.text-gray {
    color: var(--gray-color);
}

/*--------------------------------------------------------------
>>> Typography:
--------------------------------------------------------------*/
body {
    overflow-x: hidden;
}

body:not(.wp-admin),
button,
input,
select,
optgroup,
textarea,
.wp-block-post-content {
    font-family: var(--font-dmsans);
}

body:not(.wp-admin),
.wp-block-post-content {
    background-color: var(--white-color);
    color: var(--black-color);
    font-family: var(--font-poppins);
    font-size: 16px;
    line-height: 28px;
}
body.nav-menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus {
    outline: none;
}

h1,
h2,
h3,
.heading-1,
.heading-2,
.heading-3,
.title-1,
.title-2 {
    font-family: var(--font-dmsans);
}

h1,
.heading-1 {
    font-size: 70px;
    font-weight: 800;
    line-height: 75px;
}
h2,
.heading-2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 60px;
}
h3,
.heading-3 {
    font-size: 30px;
    font-weight: 700;
    line-height: 60px;
}
.title-1 {
    font-size: 20px;
    font-weight: 600;
}
.title-2 {
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
}
.text-sm {
    font-size: 14px;
}

@media only screen and (max-width: 599.98px) {
    body:not(.wp-admin) {
        font-size: 14px;
    }

    h1,
    .heading-1 {
        font-size: 30px;
        line-height: normal;
    }

    h2,
    h3,
    .heading-2,
    .heading-3 {
        font-size: 25px;
        line-height: normal;
    }
    .title-1,
    .title-2 {
        font-size: 16px;
    }
    .text-sm {
        font-size: 12px;
    }
}

/*--------------------------------------------------------------
>>> Buttons:
--------------------------------------------------------------*/
.btn {
    box-sizing: border-box;
    font-family: var(--font-dmsans);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    line-height: initial;
    cursor: pointer;
    border-style: none;
    border-radius: unset;
    min-height: 50px;
    padding-block: 14px;
    padding-inline: 32px;
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn:hover {
    background-color: var(--primary-light-color);
    color: var(--white-color);
}

.btn:visited {
    color: var(--white-color);
}

.btn.btn-sm {
    min-height: 40px;
    padding-block: 10px;
    padding-inline: 25px;
}

.btn.btn-highlight {
    background-color: var(--accent-color);
    color: var(--black-color);
}

.btn.btn-highlight:hover {
    background-color: var(--sunset-color);
    color: var(--black-color);
}

img {
    display: block;
}

@media only screen and (max-width: 599.98px) {
    .btn {
        font-size: 13px;
        min-height: 40px;
        padding-block: 5px;
        padding-inline: 25px;
    }
}

/*--------------------------------------------------------------
>>> Header:
--------------------------------------------------------------*/
header.site-header {
    background-color: var(--black-color);
    padding-block: 20px;
    anchor-name: --site-header;
}
header.site-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 20px;
    anchor-name: --header-content;
}
header.site-header .main-navigation {
    width: auto;
}
header.site-header .site-branding img {
    max-width: 162px;
}

header.site-header .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 30px;
    line-height: 48px;
    anchor-name: --nav-menu;
}
header.site-header .nav-menu .menu-item::after {
    height: 2px;
    background-color: var(--accent-color);
    transition: all 0.2s linear;
    content: '';
    display: block;
    width: 0;
    position: absolute;
    bottom: 0;
}

header.site-header .nav-menu .menu-item:hover::after,
header.site-header .nav-menu .menu-item.current_page_item::after {
    width: 100%;
}

header.site-header .nav-menu a {
    color: var(--white-color);
}

header.site-header .main-navigation > button {
    color: var(--white-color);
    background-color: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
}
header.site-header .main-navigation > button:hover {
    color: var(--accent-color);
}

@media only screen and (max-width: 991px) {
    header.site-header .header-content > a {
        display: none;
    }

    header.site-header .nav-menu {
        justify-content: flex-end;
    }
}

@media only screen and (max-width: 599.98px) {
    #wpadminbar {
        display: none;
    }
    header.site-header {
        height: 80px;
    }
    header.site-header .header-content > a {
        display: inline-flex;
        position: absolute;
        position-anchor: --nav-menu;
        top: calc(anchor(bottom) + 20px);
        transform: translateX(calc(-100% - 2.5rem));
        transition: transform 0.4s ease-in-out;
    }
    body.nav-menu-open header.site-header .header-content > a {
        transform: translateX(0);
        z-index: 9999;
    }

    header.site-header .header-content .site-branding {
        position: absolute;
        position-anchor: --header-content;
        right: anchor(right);
        top: calc(anchor(top) + 5px);
    }
    header.site-header .site-branding img {
        height: 30px;
        width: auto;
    }

    header.site-header .main-navigation .nav-menu {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        row-gap: 20px;
        font-size: 16px;
    }

    header.site-header .main-navigation > button {
        margin-block-start: 5px;
    }

    header.site-header .main-navigation .menu-primary-menu-container {
        position: absolute;
        position-anchor: --site-header;
        background-color: var(--gray-color);
        width: 100%;
        height: calc(100vh - 80px);
        top: anchor(bottom);
        left: 0;
        overflow: scroll;
        transform: translateX(-100%);
        transition: transform 0.4s ease-in-out;
        padding-block: 4rem;
        padding-inline: 2.5rem;
        z-index: 999;
    }

    header.site-header .main-navigation.toggled .menu-primary-menu-container {
        transform: translateX(0);
    }
}

/*--------------------------------------------------------------
>>> Footer:
--------------------------------------------------------------*/
footer {
    color: var(--gray-color);
}
footer .footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    column-gap: 30px;
    row-gap: 20px;
}
footer .footer-top .ft-other-links,
footer .footer-top .ft-contact-us,
footer .footer-top .ft-newsletter-socials {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}
footer .footer-top .ft-logo img {
    max-width: 226px;
}
footer .footer-top .ft-other-links .other-links {
    display: flex;
    flex-direction: column;
}
footer .footer-top .ft-contact-us {
    width: 100%;
    max-width: 212px;
}
footer .footer-top .ft-contact-us .contact-info {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}
footer .footer-top .ft-contact-us .contact-info .contact-info-item {
    display: flex;
    column-gap: 10px;
}
footer .footer-top .ft-contact-us .contact-info .contact-info-item > svg {
    margin-block-start: 5px;
}
footer .footer-top .ft-newsletter-socials {
    width: 100%;
    max-width: 368px;
}

footer .footer-top .ft-social-links .sl-title {
    font-family: var(--font-dmsans);
    font-weight: 500;
    line-height: 26px;
}
footer .footer-top .ft-social-links .sl-list {
    display: flex;
    align-items: center;
    column-gap: 10px;
    margin-block-start: 10px;
}
footer .footer-top .ft-social-links .sl-list a {
    display: inline-flex;
}
footer .footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    column-gap: 30px;
    row-gap: 10px;
    border-top: 1px solid rgba(15, 27, 36, 0.1);
    margin-block-start: 10px;
    padding-block-start: 30px;
}
footer .footer-bottom .fb-copyright span {
    color: var(--black-color);
}
footer .footer-bottom .social-links {
    width: 100%;
    max-width: 368px;
    display: flex;
    column-gap: 25px;
}
@media only screen and (max-width: 767.98px) {
    footer .footer-top {
        flex-direction: column;
    }
}
@media only screen and (max-width: 599.98px) {
    footer .footer-top {
        flex-direction: column-reverse;
    }
    footer .footer-top .ft-other-links,
    footer .footer-top .ft-contact-us,
    footer .footer-top .ft-newsletter-socials {
        row-gap: 10px;
    }
    footer .footer-top .ft-logo {
        display: none;
    }
    footer .footer-top .ft-contact-us {
        max-width: none;
    }
    footer .footer-bottom {
        margin-block-start: 20px;
        padding-block-start: 10px;
    }
    footer .footer-bottom .social-links {
        flex-direction: column;
    }
}
