/* === ts-article-before-after widget === */
.ts-article-before-after .ts-article-before-after__intro {
    margin-bottom: 60px;
}
.ts-article-before-after .ts-article-before-after__intro h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #242424;
}

/* Case card */
.ts-baf-card {
    background: #f3f7f8;
    border-radius: 30px;
    padding: 40px;
    margin-bottom: 30px;
}

/* Case number circle */
.ts-baf-card__num {
    width: 60px;
    height: 60px;
    background: #3AAD81;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    margin-right: 20px;
}

.ts-baf-card__title {
    font-size: 26px;
    font-weight: 700;
    color: #242424;
    line-height: 1.4;
}

.ts-baf-card__photo {
    border-radius: 20px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Results white block */
.ts-baf-card__results {
    background: #fff;
    border-radius: 20px;
    padding: 20px 30px;
    margin-top: 20px;
}

.ts-baf-card__results-title {
    margin-bottom: 8px;
    font-size: 16px;
    color: #242424;
}

/* Quote block */
.ts-baf-card__quote {
    border: 1px solid rgba(58, 173, 129, 0.3);
    border-radius: 20px;
    padding: 30px;
    margin-top: 20px;
}

.ts-baf-card__quote-text {
    font-style: italic;
    font-size: 16px;
    line-height: 1.6;
    color: #242424;
    margin-bottom: 16px;
}

.ts-baf-card__quote-author {
    text-align: right;
    font-weight: 700;
    font-size: 16px;
    color: #242424;
    margin-bottom: 0;
}

/* Summary */
.ts-article-before-after__summary h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #242424;
}

@media (max-width: 768px) {
    .ts-baf-card {
        padding: 24px 20px;
        border-radius: 20px;
    }
    .ts-baf-card__title {
        font-size: 20px;
    }
    .ts-baf-card__results {
        padding: 16px;
    }
}

/* Green bullet points in intro_html */
.ts-article-before-after .ts-article-before-after__intro ul {
    list-style-type: none;
    display: flow-root;
    margin-bottom: 20px;
}
.ts-article-before-after .ts-article-before-after__intro ul li {
    padding-left: 20px;
    position: relative;
}
.ts-article-before-after .ts-article-before-after__intro ul li:before {
    position: absolute;
    left: 0;
    top: 9px;
    content: "";
    background-image: url(../img/blocks/window-model-profile/point.svg);
    background-position: left center;
    background-repeat: no-repeat;
    width: 9px;
    height: 9px;
}
