/* Open Sans Light */
@font-face {
    font-family: 'Rockwell';
    src: url('/wp-content/themes/Astra/fonts/Rockwell.woff2') format('woff2');
}

.best-practices-background-mobile {
    display: none;
}

.best-practices-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.best-practices-points {
    font-size: 1.2em;
}

.best-practices-wrapper .texts {
    position: absolute;
    right: 20px;
    width: 45%;
    color: #fff;
}

.best-practices-wrapper .texts h1 {
    font-family: 'Rockwell';
    font-size: 5em;
    box-shadow: 0 -10px 0 #f48400 inset, 0 10px 0 #f48400;
    display: inline-block;
    padding: 0 10px;
    margin-bottom: 35px;
}

.best-practices-wrapper .texts li {
    line-height: 1.7;
    margin-bottom: 10px;
}

.best-practices-wrapper .texts li::before {
    content: '•';
    color: #ff8400;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

@media screen and (max-width: 1024px) {
    .best-practices-wrapper h1 {
        font-size: 3em !important;
        box-shadow: 0 -18px 0 #f48400 inset, 0 0px 0 #f48400 !important;
    }

    .best-practices-points {
        font-size: 0.9em;
    }

    .best-practices-wrapper .texts li {
        line-height: 1.3 !important;
    }
}

@media screen and (max-width: 680px) {
    .best-practices-wrapper {
        display: block !important;
        background: #ea2131;
    }

    .best-practices-wrapper .texts {
        position: relative;
        top: unset;
        right: unset;
        width: auto;
        padding: 20px 40px;
        border-top: 2px solid #fc6c61;
    }

    .best-practices-points {
        font-size: 1.2em;
    }

    .best-practices-wrapper .texts li {
        line-height: 1.5 !important;
    }

    .best-practices-background-mobile {
        display: block;
    }

    .best-practices-background-desktop {
        display: none;
    }
}
