.list {
    border-top: 2px solid #cf0606;
    border-radius: 5px;
    box-shadow: 0 2px 4px #ddd;
    background: #fff;
    padding: 25px;
    margin-bottom: 60px;
}

.list h2 {
    font-size: 30px;
    color: #cf0606;
    font-weight: 400;
    margin-bottom: 26px;
    font-family: cardo, serif;
}

.big-box {
    display: flex;
    flex-wrap: wrap;
}

.big-box h3 {
    color: #4db2ec;
}

.main-bot {
    display: flex;
    gap: 30px;
}

.main-bot-left {
    width: 790px;
}

.main-bot-right {
    width: calc(var(--all-width) - 790px - 30px);
}

.top-box {
    position: relative;
}

.top-box .img-box::before,
.three-box .img-box::before {
    padding-top: 65%;
}

.top-box .img-box {
    overflow: hidden;
}

.top-box:hover img {
    transform: scale(1.2);
}

.top-box .img-box img {
    transition: .3s;
}

.top-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.top-text h3 {
    font-size: 20px;
    line-height: 1.1;
    margin-top: 5px;
    text-shadow: 0 0 10px #000;
    color: #fff;
}

.top-text b {
    width: auto !important;
    max-width: 100%;
    display: block;
    margin-right: auto;
    font-size: 12px;
    padding: 3px 7px;
    background-color: rgb(0, 0, 0, .7);
}

.main-bot-left .list:first-child .big-box {
    gap: 30px;
}

.one-left-box {
    flex-basis: calc(50% - 15px);
    position: sticky;
    top: 30px;
    margin-bottom: auto;
}

.one-left-box .img-box::before {
    padding-top: 70%;
}

.one-left-box .text-box {
    margin-top: 15px;
    color: #777;
    font-size: 13px;
    line-height: 1.5;
}

.one-left-box .text-box h3 {
    font-weight: 400;
    font-size: 21px;
    margin-bottom: 15px;
    line-height: 1.1;
}

.one-right-big-box {
    flex-basis: calc(50% - 15px);
}

.one-right-big-box>a {
    display: flex;
    margin-bottom: 20px;
    gap: 15px;
}

.one-right-big-box>a:last-child {
    margin-bottom: 0;
}

.one-right-big-box>a .img-box {
    min-width: 30%;
    max-width: 30%;
    width: 30%;
}

.one-right-big-box>a .img-box::before {
    padding-top: 70%;
}

.one-right-big-box>a h3 {
    font-weight: 550;
    height: fit-content;
    font-size: 15px;
}

.two-big-box {
    flex-direction: column;
    gap: 30px;
}

.two-box {
    width: 100%;
    display: flex;
    gap: 20px;
}

.two-box .img-box {
    min-width: 45%;
    max-width: 45%;
    width: 45%;
    height: fit-content;
}

.two-box .img-box::before {
    padding-top: 75%;
}

.two-box .text-box {
    width: calc(100% - 45% - 20px);
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: #777;
    font-size: 15px;
    line-height: 1.6;
}

.two-box .text-box h3 {
    font-weight: 400;
    font-size: 24px;
    line-height: 1.2;
}

.two-box .text-box button {
    padding: 10px 15px;
    border: 2px solid #fff;
    margin-right: auto;
    background-color: #4db2ec;
    font-size: 13px;
    color: #fff;
}

.three-box .text-box {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
    gap: 15px;
    color: #777;
    font-size: 13px;
}

.three-box .text-box h3 {
    font-size: 16px;
    line-height: 1.1;
    font-weight: 400;
}

.four-box {
    width: 100%;
    margin-bottom: 30px;
}

.four-box .img-box::before {
    padding-top: 55%;
}

.four-box .text-box h3 {
    margin-top: 15px;
    font-weight: 400;
    font-size: 19px;
}

.four-box:last-child {
    margin-bottom: 0;
}

@media screen and (min-width:770px) {

    .top-box,
    .three-box {
        width: calc((100% - 40px) / 3);
        margin-right: 20px;
    }

    .three-box {
        margin-bottom: 20px;
    }

    .top-box:nth-of-type(3n),
    .three-box:nth-of-type(3n) {
        margin-right: 0;
    }
}

@media screen and (max-width:769px) {
    .list {
        padding: 15px;
        margin-bottom: 30px;
    }

    .main-bot {
        gap: 0;
    }

    .list h2 {
        margin-bottom: 15px;
    }

    .main-top {
        flex-wrap: nowrap;
        overflow-x: auto;
        border-radius: 0;
    }

    .top-box {
        min-width: 80vw;
        margin-right: 5vw;
    }

    .top-box,
    .three-box {
        width: 100%;
    }

    .main-bot {
        flex-direction: column;
    }

    .main-bot-left .list:first-child .big-box {
        flex-direction: column;
    }

    .one-left-box {
        position: relative;
        top: 0;
    }

    .main-bot-left,
    .one-right-big-box,
    .main-bot-right {
        width: 100%;
    }

    .two-box .text-box h3 {
        font-size: 18px;
    }

    .two-box {
        gap: 12px;
    }

    .two-box .text-box {
        font-size: 12px;
        line-height: 1.1;
        gap: 10px;
    }

    .two-box .text-box button {
        padding: 5px 10px;
    }

    .three-box {
        width: calc((100% - 10px) /2);
        margin-right: 10px;
        margin-bottom: 15px;
    }

    .three-box:nth-of-type(2n) {
        margin-right: 0;
    }

    .three-box .text-box {
        margin-top: 8px;
        gap: 8px;
    }
}