.tips {
    margin-top: 130px;
}
.tips .actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.tips .name {
    font-size: 50px;
    font-weight: 600;
}
.tips .embla__container {
    gap: 28px;
}
.tips .item {
    position: relative;
    border-radius: 35px;
    border: 2px solid #FEF3C7;
    padding: 24px 20px 170px;
    max-width: 344px;
}
.tips .item.type-2 {
    border-color: #FEE2E2;
}
.tips .item.type-3 {
    border-color: #DCFCE7;
}
.tips .item .info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.tips .item .info .type {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    line-height: 35px;
    color: #B45309;
    background: #FEF3C7;
    border-radius: 35px;
    padding: 0 16px;
}
.tips .item.type-2 .info .type {
    color: #DC2626;
    background: #FEE2E2;
}
.tips .item.type-3 .info .type {
    color: #166534;
    background: #DCFCE7;
}
.tips .item .info .date {
    font-size: 17px;
    color: #64748B;
}
.tips .item .title {
    font-size: 22px;
    line-height: 1.36;
    margin: 22px 0 0;
}
.tips-l .list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 18px 0 0;
}
.tips-l .list .li {
    font-size: 20px;
    color: #7C7C7C;
    text-align: center;
    line-height: 56px;
    border: 2px solid #F5F5F5;
    border-radius: 56px;
    background: #F5F5F5;
}
.tips-l .list .li.active {
    border-color: #22C55E;
}
.tips .item .txt-1 {
    font-size: 18px;
    font-weight: 500;
    color: #22C55E;
    text-align: center;
    margin-top: 18px;
}
.tips-l .author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.tips-l .author .photo {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
}
.tips-l .author .name {
    font-size: 20px;
    color: #1E293B;
}
.tips-l .author .position {
    font-size: 17px;
    color: #64748B;
    margin-top: 6px;
}
.tips-l .more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #D9D9D9;
    padding-top: 18px;
    margin-top: 18px;
}
.tips-l .more .read-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #F1F9FF;
    border-radius: 40px;
    font-size: 16px;
    color: #002FB9;
    line-height: 40px;
    padding: 0 16px;
    cursor: pointer;
}
.tips-l .more .statuses {
    display: inline-flex;
    gap: 16px;
}
.tips-l .more .statuses .ind {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #475569;
}
.tips-l .information {
    position: absolute;
    right: 20px;
    bottom: 16px;
    width: calc(100% - 40px);
}
.tips .item .text {
    margin-top: 28px;
    font-size: 20px;
    color: #7C7C7C;
    line-height: 1.5;
}
.tips-popup popup {
    max-width: 860px;
    max-height: 635px;
    border-radius: 35px;
    box-shadow: 0px 0px 25px 0px #DBEAFE80;
    background: #fff;
}
.tips-popup .head {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #FEF3C7;
    border-radius: 35px;
    width: calc(100% - 62px);
    height: 62px;
    padding: 0 30px 0 60px;
    font-size: 25px;
    color: #B45309;
}
.tips-popup .close {
    top: 10px;
    left: 12px;
}
.tips-popup .close img {
    width: 18px;
}
.tips-popup .block-1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.tips-popup .block-1 .txt-1 {
    font-size: 25px;
}
.tips-popup .block-1 .date {
    font-size: 17px;
    color: #64748B;
}
.tips-popup .list {
    max-width: 338px;
}
.tips-popup .text-1 {
    margin-top: 28px;
}
.tips-popup .text-1 p {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 24px;
}
.tips-popup .blocks {
    position: relative;
    padding: 18px 26px 104px;
}
.tips-popup .information {
    display: flex;
    justify-content: space-between;
    align-items: center;
    right: 26px;
    bottom: 0;
    width: calc(100% - 26px);
    border-top: 1px solid #D9D9D9;
    padding-top: 18px;
}
.tips-popup .more {
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
}
@media (max-width: 840px) {
    .tips {
        margin-top: 60px;
        padding-right: 16px;
    }
    .tips .embla__controls {
        display: none;
    }
    .tips .name {
        font-size: 25px;
    }
    .tips .item {
        border-radius: 28px;
        padding: 18px 16px 140px;
        max-width: 278px;
    }
    .tips .item .info .type {
        font-size: 15px;
        line-height: 30px;
        padding: 0 12px;
    }
    .tips .item .info .type img {
        max-height: 16px;
    }
    .tips .item .info .date {
        font-size: 15px;
    }
    .tips .item .title {
        font-size: 18px;
        margin: 18px 0 0;
    }
    .tips-l .list .li {
        font-size: 17px;
        text-align: center;
        line-height: 48px;
    }
    .tips .item .txt-1 {
        font-size: 15px;
        margin-top: 16px;
    }
    .tips-l .author .photo {
        width: 36px;
        height: 36px;
    }
    .tips-l .author .name {
        font-size: 17px;
        font-weight: 400;
    }
    .tips-l .author .position {
        font-size: 15px;
        margin-top: 2px;
    }
    .tips-l .more {
        padding-top: 12px;
        margin-top: 12px;
    }
    .tips-l .more .read-more {
        font-size: 14px;
        line-height: 32px;
        padding: 0 14px;
    }
    .tips-l .more .read-more img {
        width: 13px;
    }
    .tips-l .more .statuses .ind {
        font-size: 13px;
    }
    .tips-l .more .statuses .ind img {
        height: 24px;
    }
    .tips-l .more .statuses .ind.share {
        font-size: 14px;
    }
    .tips-l .more .statuses .ind.share img {
        height: 24px;
    }
    .tips .item .text {
        margin-top: 20px;
        font-size: 17px;
    }
    .tips-popup popup {
        width: calc(100% - 20px);
        max-width: calc(100% - 20px);
        min-width: 340px;
        height: 80dvh;
        max-height: fit-content;
        border-radius: 25px;
        top: 40px;
        bottom: unset;
    }
    .tips-popup popup .popup-content {
        padding: 0;
        height: auto;
    }
    .tips-popup .head {
        border-radius: 25px;
        width: calc(100% - 42px);
        height: 44px;
        padding: 0 20px 0 50px;
        font-size: 20px;
        font-weight: 500;
    }
    .tips-popup .block-1 {
        flex-wrap: wrap;
        flex-direction: column-reverse;
        justify-content: right;
    }
    .tips-popup .block-1 .date {
        width: 100%;
        font-size: 14px;
        margin-bottom: 6px;
    }
    .tips-popup .text-1 {
        margin-top: 18px;
        max-height: 31vh;
        overflow-y: auto;
    }
    .tips-popup .text-1 p {
        font-size: 16px;
        line-height: 1.56;
        padding-left: 20px;
    }
    .tips-popup .author .photo {
        width: 48px;
        height: 48px;
    }
    .tips-popup .author .name {
        font-size: 18px;
    }
    .tips-popup .author .position {
        font-size: 16px;
    }
    .tips-popup .more {
        padding-top: 0;
        margin-top: 0;
    }
    .tips-popup .more .statuses .ind img {
        height: 18px;
    }
    .tips-popup .blocks {
        padding: 18px 16px 110px;
    }
    .tips-popup .information {
        right: 16px;
        bottom: 16px;
        width: calc(100% - 32px);
    }
    .tips-popup .close {
        top: 3px;
        left: 8px;
    }
    .tips-popup .close img {
        width: 12px;
    }
    .tips-popup .block-1 .txt-1 {
        font-size: 19px;
        font-weight: 500;
        line-height: 1.2;
        text-align: right;
        width: 100%;
    }
    .tips-l .list {
        margin: 16px 0 0;
    }
    .tips-popup .list {
        max-width: 273px;
    }
}