.term-detail-blocks {
    width: 100%;
    margin-top: 40px;
}

.term-detail-card {
    background-color: #ffffff;
    border: 1px solid #e6e6e6;
    padding: 45px 95px;
    margin-bottom: 24px;
}

.term-detail-card:last-child {
    margin-bottom: 40px;
}

.term-detail-card h3 {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 18px;
}

.term-detail-card p {
    margin-bottom: 14px;
    line-height: 1.5;
}

.term-detail-card p:last-child,
.term-detail-card ul:last-child {
    margin-bottom: 0;
}

.term-detail-card ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.term-detail-card ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.term-detail-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: #f37021;
    transform: rotate(45deg);
}

@media (max-width: 991px) {
    .term-detail-card {
        padding: 32px 40px;
    }
}

@media (max-width: 575px) {
    .term-detail-card {
        padding: 24px 20px;
    }
}



/* Блок типов / этапов (LIST_TYPE_OR_STAGE) */
.term-stages {
    width: 100%;
    margin: 50px 0;
}

.term-stages > h2 {
    margin-bottom: 30px;
}

.term-stages > div {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    counter-reset: term-stage-counter;
}

.term-stages > div > div {
    background-color: #f4f4f4;
    border-radius: 10px;
    padding: 32px 36px;
    counter-increment: term-stage-counter;
}

.term-stages > div > div h3 {
    display: flex;
    align-items: center;
    gap: 18px;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
    margin: 0 0 22px 0;
}

.term-stages > div > div h3::before {
    content: counter(term-stage-counter);
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #ff6600;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.term-stages > div > div ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.term-stages > div > div ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.term-stages > div > div ul li:last-child {
    margin-bottom: 0;
}

.term-stages > div > div ul li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 5px;
    width: 14px;
    height: 11px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 11' fill='none'%3E%3Cpath d='M1.5 5.5L5.2 9.2L12.5 1.8' stroke='%23ff6600' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@media (min-width: 992px) {
    .term-stages > div > div:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}
@media (max-width: 991px) {
    .term-stages > div {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .term-stages > div > div {
        padding: 24px 20px;
    }

    .term-stages > div > div h3 {
        font-size: 18px;
        gap: 14px;
    }

    .term-stages > div > div h3::before {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}