/*
Theme Name: Child
Version: 1.0.0
Author: Weird Wolf
Author URI: https://weirdwolf.agency
Template: weirdwolfpack
*/

body main p,
body main li {
    line-height: 1.7;
}

body main p {
    margin-bottom: 1.25rem;
}

body main h1,
body main .h1,
body main h2,
body main .h2,
body main h3,
body main .h3,
body main h4,
body main .h4,
body main h5,
body main .h5,
body main h6,
body main .h6 {
    line-height: 1.18;
}

.b-hero-style-1 > div:nth-child(1) h1,
.b-hero-style-1 > div:nth-child(1) .h1 {
    max-width: 920px;
    padding: 0 24px;
}

.b-hero-style-1 > div:nth-child(2) {
    font-size: 1.2rem;
    line-height: 1.65;
}

.b-hero-style-1 > div:nth-child(2) p {
    max-width: 68ch;
    margin-left: auto;
    margin-right: auto;
}

.b-hero-style-1 > div:nth-child(2) p:last-child {
    margin-bottom: 0;
}

.b-content {
    padding: 56px 0 42px 0;
}

.b-content .col-12.col-md-10,
.b-content .col.col-md-9 {
    max-width: 920px;
}

.b-content h2,
.b-content .h2,
.b-content h3,
.b-content .h3 {
    margin-bottom: 1.5rem;
}

.b-content h2:last-child,
.b-content .h2:last-child,
.b-content h3:last-child,
.b-content .h3:last-child,
.b-content p:last-child,
.b-content ul:last-child,
.b-content ol:last-child {
    margin-bottom: 0;
}

.b-content p,
.b-content ul,
.b-content ol {
    max-width: 74ch;
}

.b-content ul,
.b-content ol {
    padding-left: 1.35rem;
    margin-bottom: 1.35rem;
}

.b-content li + li {
    margin-top: .35rem;
}

.b-content [style*='text-align: center'] {
    margin-left: auto;
    margin-right: auto;
}

.b-content + .b-content {
    padding-top: 12px;
}

.b-content + .b-blocks {
    margin-top: -10px;
}

.b-blocks {
    margin-bottom: 56px;
}

.b-blocks .row {
    row-gap: 1.5rem;
}

.b-blocks .block > a h2,
.b-blocks .block > a .h2 {
    max-width: 12em;
    line-height: 1.15;
    font-size: 1.5rem;
}

.b-team {
    padding-bottom: 32px;
}

.b-team .w-75 {
    max-width: 74ch;
}

.sc-subscribe-form {
    padding-bottom: 3rem !important;
}

.sc-subscribe-form h2,
.sc-subscribe-form .h2 {
    margin-bottom: 2rem !important;
}

.sc-subscribe-form .container-xxl {
    max-width: 920px;
}

#main-footer {
    padding: 48px 0 24px 0;
    line-height: 1.6;
}

#main-footer .footer-contact-link,
#main-footer .footer-contact-link i,
#main-footer .footer-contact-link a {
    line-height: 1;
}

#main-footer .footer-contact-link i {
    display: flex;
    align-items: center;
}

#main-footer .footer-right {
    align-items: center;
}

#main-footer .footer-nav {
    width: 100%;
}

#main-footer .footer-menu,
#main-footer .footer-related-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

#main-footer .footer-menu {
    margin-bottom: 4px;
}

#main-footer .footer-related-menu {
    margin-top: 4px;
}

#main-footer .footer-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#main-footer .footer-weird-wolf {
    display: flex;
    justify-content: center;
    width: 100%;
}

#main-footer .disclaimer {
    max-width: 120ch;
}

@media (min-width: 768px) {
    #main-footer .footer-right {
        align-items: flex-end;
        min-width: 260px;
    }

    #main-footer .footer-menu,
    #main-footer .footer-related-menu {
        align-items: flex-end;
    }

    #main-footer .footer-partners {
        justify-content: flex-start;
    }

    #main-footer .footer-weird-wolf {
        justify-content: flex-end;
    }
}

@media (max-width: 575.98px) {
    .b-hero-style-1 > div:nth-child(1) {
        min-height: 260px;
    }

    .b-hero-style-1 > div:nth-child(2) {
        padding: 36px 0;
        font-size: 1rem;
    }

    .b-blocks {
        margin-bottom: 40px;
    }

    .b-blocks .block > a h2,
    .b-blocks .block > a .h2 {
        font-size: 1.25rem;
    }

    .b-team .mx-5 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .b-team .w-75 {
        width: 100% !important;
    }
}
