.health {
    margin-bottom: 80px;
    overflow: hidden;
    color: #323231;
}

.health__inner {
    width: 95%;
    max-width: 1232px;
    margin: 0 auto;
}

.health__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 52px;
    text-align: center;
}

.health__title {
    position: relative;
    max-width: 650px;
    margin: 0 0 8px;
    font-family: 'Eastman Black', sans-serif;
    font-size: 36px;
    line-height: 43px;
    color: inherit;
}

.health__title-heart {
    position: absolute;
    top: 37%;
    left: 93%;
    width: 60px;
    height: 48px;
    pointer-events: none;
}

.health__subtitle {
    max-width: 758px;
    margin: 0 0 24px;
    font-size: 18px;
    line-height: 23px;
}

.health__tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.health__tag {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 24px 20px 20px;
    border-radius: 10px;
    overflow: hidden;
}

.health__tag--peach {
    background-color: #edd0be;
}

.health__tag--lilac {
    background-color: #d7bbf8;
}

.health__tag--yellow {
    background-color: #feda79;
}

.health__tag-decor {
    position: absolute;
    height: auto;
    max-width: none;
    pointer-events: none;
}

.health__tag--peach .health__tag-decor {
    top: -185%;
    left: 27%;
    width: 77%;
    transform: rotate(22deg);
}

.health__tag--lilac .health__tag-decor {
    top: -89%;
    left: -17%;
    width: 145%;
    transform: rotate(-19deg);
}

.health__tag--yellow .health__tag-decor {
    top: -277%;
    left: 29%;
    width: 102%;
    transform: rotate(33deg);
}

.health__tag-icon {
    position: relative;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.health__tag-text {
    position: relative;
    font-family: 'Eastman Medium', sans-serif;
    font-style: italic;
    font-size: 14px;
    line-height: 14px;
    text-transform: uppercase;
    white-space: nowrap;
}

.health__slider {
    overflow: visible;
}

.health__slide {
    flex-shrink: 0;
}

.health-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 490px;
    height: 460px;
    padding: 28px;
    border-radius: 20px;
    overflow: hidden;
}

.health-card--motivation {
    background-color: #ffdeac;
}

.health-card--confidence {
    background-color: #e0ecf3;
}

.health-card--anxiety {
    background-color: #fff6d7;
}

.health-card--gadgets {
    background-color: #e7d3ff;
}

.health-card--communication {
    background-color: #ffe5e6;
}

.health-card--family {
    background-color: #e9ffe6;
}

.health-card__decor {
    position: absolute;
    height: auto;
    max-width: none;
    pointer-events: none;
}

.health-card--motivation .health-card__decor {
    top: -40%;
    left: -42%;
    width: 111%;
    transform: rotate(34deg);
}

.health-card--confidence .health-card__decor {
    top: -53%;
    left: -20%;
    width: 126%;
    transform: rotate(33deg);
}

.health-card--anxiety .health-card__decor {
    top: -13%;
    left: -48%;
    width: 195%;
}

.health-card--gadgets .health-card__decor {
    top: -77%;
    left: -84%;
    width: 174%;
}

.health-card--communication .health-card__decor {
    top: -2%;
    left: -34%;
    width: 181%;
    transform: rotate(-19deg);
}

.health-card--family .health-card__decor {
    top: -14%;
    left: -9%;
    width: 172%;
}

.health-card__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.health-card__image {
    position: absolute;
    height: auto;
    max-width: none;
}

.health-card--motivation .health-card__image {
    top: -1%;
    left: -3%;
    width: 125%;
}

.health-card--confidence .health-card__image {
    top: 11%;
    left: 14%;
    width: 112%;
}

.health-card--anxiety .health-card__image {
    top: 18%;
    left: 12%;
    width: 103%;
    transform: scaleX(-1);
}

.health-card--gadgets .health-card__image {
    top: 26%;
    left: 0;
    width: 107%;
}

.health-card--communication .health-card__image {
    top: 21%;
    left: 0;
    width: 99%;
}

.health-card--family .health-card__image {
    top: -8%;
    left: -24%;
    width: 158%;
    transform: scaleX(-1);
}

.health-card__title {
    position: relative;
    margin: 0;
    font-family: 'Eastman Bold', sans-serif;
    font-size: 24px;
    line-height: 24px;
    color: inherit;
}

.health-card__text {
    position: relative;
    max-width: 308px;
    margin: 0;
    font-size: 14px;
    line-height: 18px;
}

.health-card--gadgets .health-card__text {
    max-width: none;
}

.health-card--communication .health-card__text,
.health-card--family .health-card__text {
    max-width: 373px;
}

@media (max-width: 768px) {
    .health {
        margin-bottom: 60px;
    }

    .health__header {
        margin-bottom: 40px;
    }

    .health__title {
        font-size: 30px;
        line-height: 36px;
    }

    .health__subtitle {
        font-size: 16px;
        line-height: 21px;
    }
}

@media (max-width: 576px) {
    .health {
        margin-bottom: 40px;
    }

    .health__inner {
        width: calc(100% - 32px);
    }

    .health__header {
        align-items: stretch;
        margin-bottom: 24px;
        text-align: left;
    }

    .health__title {
        max-width: none;
        margin-bottom: 4px;
        font-size: 24px;
        line-height: 29px;
    }

    .health__title-heart {
        top: -7%;
        left: 77%;
        width: 40px;
        height: 31px;
    }

    .health__subtitle {
        margin-bottom: 16px;
        font-size: 12px;
        line-height: 16px;
    }

    .health__tags {
        flex-direction: column;
        gap: 4px;
    }

    .health__tag {
        justify-content: center;
        padding: 12px 20px;
        border-radius: 6px;
    }

    .health__tag-decor {
        display: none;
    }

    .health__tag-icon {
        width: 12px;
        height: 12px;
    }

    .health__tag-text {
        font-size: 12px;
        line-height: 12px;
    }

    .health-card {
        gap: 8px;
        width: 316px;
        height: 352px;
        padding: 20px;
        border-radius: 16px;
    }

    .health-card__media {
        top: 16%;
    }

    .health-card__title {
        font-size: 20px;
        line-height: 20px;
    }

    .health-card__text,
    .health-card--communication .health-card__text,
    .health-card--family .health-card__text {
        max-width: none;
        font-size: 12px;
        line-height: 16px;
    }
}
