.section-list-box-cards .list_box_card {
    display: grid;
    grid-template-columns: repeat(3, minmax(0%, 100%));
}

.section-list-box-cards .list_box_card:has(.type_1) {
    gap: 28px;
}

.section-list-box-cards .list_box_card:has(.type_2) {
    gap: 40px;
}

.section-list-box-cards .list_box_card .box_content.type_1 {
    border-radius: 10px;
    background: #FFDA00;
    box-shadow: 7px 8px 19.9px 0px rgba(84, 109, 106, 0.20);
    position: relative;
    aspect-ratio: 1.33;
    overflow: hidden;
}

.section-list-box-cards .list_box_card .box_content.type_1 .title {
    color: #000;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.333;
    margin: 0;
}

.section-list-box-cards .list_box_card .box_content.type_1 .btn {
    color: #000;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.25;
    display: inline-flex;
    gap: 5px;
    align-items: center;
    text-decoration: unset;
}

.section-list-box-cards .list_box_card .box_content.type_1 .btn svg {
    transition-duration: 0.3s;
}

.section-list-box-cards .list_box_card .box_content.type_1 .btn:hover svg {
    margin-left: 8px;
}

.section-list-box-cards .list_box_card .box_content.type_1 .content {
    padding: 35px 40px;
    position: relative;
    z-index: 1;
}

.section-list-box-cards .list_box_card .box_content.type_1 .img {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
}

.section-list-box-cards .list_box_card .box_content.type_1 .img img {
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom;
}

.section-list-box-cards .list_box_card .box_content.type_2 {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 59.98%, rgba(0, 0, 0, 0.80) 84.71%), var(--data-image) lightgray 50% / cover no-repeat;
    aspect-ratio: 0.91;
    padding: 40px 20px;
    display: flex;
    align-items: end;
    justify-content: center;
    border-radius: 10px;
}

.section-list-box-cards .list_box_card .box_content.type_2 .title {
    color: #FFF;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
    margin-bottom: 16px;
}

.section-list-box-cards .list_box_card .box_content.type_2 .btn {
    border-radius: 8px;
    border: 1px solid #0B2F2B;
    background: #FFF;
    padding: 10px 30px;
    color: #0B2F2B;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.6;
    text-decoration: unset;
    display: inline-block;
    text-transform: unset;
}

.section-list-box-cards .list_box_card .box_content.type_2 .btn:hover {
    background: #ffda00;
}

@media (max-width: 1024px) {
    .section-list-box-cards .list_box_card {
        grid-template-columns: repeat(2, minmax(0%, 100%));
    }
}

@media (max-width: 1024px) {
    .section-list-box-cards .list_box_card {
        grid-template-columns: repeat(1, minmax(0%, 100%));
    }
}

.section-list-box-cards:has(.box_content.type_3),
.section-list-box-cards:has(.box_content.type_4) {
    .list_box_card {
        gap: 28px 60px;
        display: flex;
        flex-wrap: wrap;
        .box_content {
            overflow: unset;
            height: 100%;
            min-height: 167px;
            width: 100%;
            aspect-ratio: unset;
            .img {
                border-bottom-right-radius: 10px;
                overflow: hidden;
            }
            &.type_3 {
                /*aspect-ratio: 2.87272727;*/
              .img {
                display: flex;
                align-items: end;
                img {
                  width: 100%;
                  height: auto;
                }
              }
            }
            &.type_4 {
                /*aspect-ratio: 2.42424242;*/
                background: #FFF;
                .img {
                    max-width: 125px;
                    display: flex;
                    align-items: end;
                    img {
                        width: 100%;
                        height: auto;
                    }
                }
            }
        }
        h3 {
            width: 100%;
            font-size: 24px;
            font-weight: 700;
            line-height: 1.3;
            margin: 0;
            grid-column: -1 / 1;
            grid-row: 1;
        }
        .box_left {
            width: calc(70% - 30px);
            display: grid;
            grid-template-columns: repeat(2, minmax(0%, 100%));
            grid-template-rows: auto;
            grid-auto-rows: 1fr;
            gap: 28px 40px;
            .box_content {

            }
        }
        .box_right {
            width: calc(30% - 30px);
            display: grid;
            grid-template-columns: repeat(1, minmax(0%, 100%));
            grid-template-rows: auto;
            grid-auto-rows: 1fr;
            gap: 28px;
        }
    }
    @media (max-width: 1375px) {
      .list_box_card .box_content.type_1 .content {
        padding: 20px 30px;
      }
    }
    @media (max-width: 1375px) and (min-width: 1024px) {
      .list_box_card .box_content.type_3 .img {
        max-width: 180px;
      }
    }
    @media (max-width: 1024px) {
        .list_box_card .box_left,
        .list_box_card .box_right {
            width: 100%;
        }
        .list_box_card .box_right {
            grid-template-columns: repeat(2, minmax(0%, 100%));
        }
        .list_box_card .box_content.type_3 .img {
          max-width: 250px;
        }
    }
    @media (max-width: 767px) {
        .list_box_card .box_left,
        .list_box_card .box_right {
            grid-template-columns: repeat(1, minmax(0%, 100%));
            grid-auto-rows: auto;
        }
    }
}
