@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Gabarito:wght@400..900&display=swap');

.bj-seo-container {
    position: relative;
    max-width: 1170px;
    width: auto;
    background-color: #0b0b0b;
    border-radius: 10px;
    margin: auto;
    padding: 25px 20px;
    max-height: 284px;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.fade-mask::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(24, 24, 24, 0.0128) 50%, rgba(24, 24, 24, 0.9) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 1;
}

.bj-seo-container.expanded::after {
    opacity: 0;
}

.rotate {
    transform: rotate(180deg);
}

.bj-seo-text {
    padding: 0 10px 10px 10px;
}

.container-down {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
}

.container-down img {
    margin-right: 50px;
    cursor: pointer !important;
    margin-bottom: 20px;
}

.bj-seo-text h1 {
    font-family: 'Gabarito', sans-serif;
    color: #fff;
    font-weight: 700;
    font-size: 40px;
    line-height: 48px;
    text-transform: uppercase;
    margin-bottom: 0;
    padding-bottom: 20px;
    text-align: left;
}

.bj-seo-text p {
    font-family: 'Inter', sans-serif;
    color: #fff;
    font-weight: 400;
    font-size: 16px;
    line-height: 35px;
    margin-top: 10px;
    text-align: left;
    padding-bottom: 15px;
}

.bj-seo-text h2 {
    font-family: 'Inter', sans-serif;
    color: #fff;
    font-weight: 600;
    font-size: 30px;
    line-height: 36px;
    margin-bottom: 0;
    padding-bottom: 0;
    text-align: left;
    padding-top: 10px;
    padding-bottom: 10px;
}

.bj-seo-text h3 {
    font-family: 'Inter', sans-serif;
    color: #fff;
    font-weight: 600;
    font-size: 26px;
    line-height: 36px;
    margin-bottom: 0;
    padding-bottom: 0;
    text-align: left;
    padding-top: 10px;
}

.bj-seo-text h4 {
    font-family: 'Inter', sans-serif;
    color: #fff;
    font-weight: 600;
    font-size: 22px;
    line-height: 28px;
    margin-bottom: 0;
    padding-bottom: 0;
    text-align: left;
    padding-top: 10px;
}

.bj-seo-text span {
    font-weight: 700 !important;
}

.bj-seo-text a {
    color: #fff !important;
    text-decoration: underline !important;
}

.seo-logo-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 30px 0 0 0;
    margin: 0 0 15px 0;
}

.seo-logo-container a {
    display: block;
    width: 20%;
    margin: 0;
    padding: 0;
    text-align: center; /* Center the image within the anchor */
}

.seo-logo-container a:nth-child(1) {
    display: block;
    width: 12%;
    margin: 0;
    padding: 0;
    text-align: center; /* Center the image within the anchor */
}

.seo-logo-container a:nth-child(2) {
    display: block;
    width: 8%;
    margin: 0;
    padding: 0;
    text-align: center; /* Center the image within the anchor */
}

.seo-logo-container img {
    width: 100%;
    height: auto;
    display: block;
}

.bj-seo-text ul li,
.bj-seo-text ol li {
    font-family: 'Inter', sans-serif;
    color: #fff;
    font-weight: 400;
    font-size: 16px;
    line-height: 35px;
    text-align: left !important;
}

@media screen and (max-width: 768px) {
    .bj-seo-container {
        max-width: none;
        width: 90%;
    }

    .container-down img {
        margin-right: 0;
        margin-bottom: 60px;
    }

    .bj-seo-text h1 {
        font-size: 32px;
        line-height: 40px;
    }

    .bj-seo-text h2 {
        font-size: 24px;
        line-height: 30px;
    }

    .bj-seo-text h3 {
        font-size: 20px;
        line-height: 28px;
    }

    .bj-seo-text h4 {
        font-size: 18px;
        line-height: 24px;
    }

    .bj-seo-text p,
    .bj-seo-text ul li,
    .bj-seo-text ol li {
        font-size: 14px;
        line-height: 30px;
    }

    .seo-logo-container a:nth-child(1) {
        display: block;
        width: 20%;
        margin: 0;
        padding: 0;
        text-align: center; /* Center the image within the anchor */
    }

    .seo-logo-container a:nth-child(2) {
        display: block;
        width: 15%;
        margin: 0;
        padding: 0;
        text-align: center; /* Center the image within the anchor */
    }

    .seo-logo-container a:nth-child(3) {
        display: block;
        width: 35%;
        margin: 0;
        padding: 0;
        text-align: center; /* Center the image within the anchor */
    }
}

@media screen and (max-width: 480px) {
    .bj-seo-text ol {
        padding-left: 10px !important;
    }

    .bj-seo-text ul {
        padding-left: 15px !important;
    }

    .bj-seo-text h1 {
        font-size: 16px;
        line-height: 22px;
    }

    .bj-seo-text h2 {
        font-size: 14px;
        line-height: 26px;
        padding-bottom: 5px;
    }

    .bj-seo-text h3 {
        font-size: 13px;
        line-height: 24px;
    }

    .bj-seo-text h4 {
        font-size: 12px;
        line-height: 20px;
    }

    .bj-seo-text p,
    .bj-seo-text ul li,
    .bj-seo-text ol li {
        font-size: 11px;
        line-height: 28px;
        text-align: justify;
    }

    .container-down img {
        margin-right: 0;
        margin-bottom: 40px;
    }

    .container-down {
        padding-top: 0;
    }
}
