.h5-case-list-page {
    width: min(100% - 36px, 960px);
    min-height: calc(100svh - 150px);
    margin: 0 auto;
    padding: 43px 0 48px;
}

.h5-case-list-heading {
    margin-bottom: 24px;
}

.h5-case-list-kicker {
    margin: 0;
    color: #778ca0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .17em;
}

.h5-case-list-heading h1 {
    margin: 7px 0 4px;
    color: #172a3d;
    font-size: clamp(28px, 7vw, 36px);
    font-weight: 650;
    letter-spacing: -.045em;
}

.h5-case-list-heading > p:last-child {
    margin: 0;
    color: #718195;
    font-size: 12px;
    line-height: 1.7;
}

.h5-case-list-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.h5-case-list-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e1e8ef;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 2px 9px rgba(23, 42, 61, .035);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.h5-case-list-card:hover {
    transform: translateY(-2px);
    border-color: #c2d6e8;
    box-shadow: 0 8px 20px rgba(23, 67, 108, .08);
}

.h5-case-list-card__image {
    position: relative;
    aspect-ratio: 1.35;
    overflow: hidden;
    background: #eaf1f7;
}

.h5-case-list-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.h5-case-list-card:hover .h5-case-list-card__image img {
    transform: scale(1.025);
}

.h5-case-list-card__image > span {
    position: absolute;
    bottom: 9px;
    left: 9px;
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    color: #fff;
    background: rgba(23, 42, 61, .58);
    font-size: 8px;
    letter-spacing: .12em;
}

.h5-case-list-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 12px 12px 11px;
}

.h5-case-list-card__body h2 {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #20384f;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.h5-case-list-card__body p {
    display: -webkit-box;
    margin: 7px 0 0;
    overflow: hidden;
    color: #7b8998;
    font-size: 10px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.h5-case-list-card__more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 11px;
    color: #66819a;
    font-size: 10px;
}

.h5-case-list-card__more b {
    color: #2584d8;
    font-size: 13px;
    font-weight: 500;
}

.h5-case-list-empty {
    padding: 54px 20px;
    border: 1px solid #e1e8ef;
    border-radius: 13px;
    color: #718195;
    background: #fff;
    text-align: center;
    font-size: 13px;
}

@media (min-width: 681px) {
    .h5-case-list-page {
        padding-top: 54px;
        padding-bottom: 64px;
    }

    .h5-case-list-heading {
        margin-bottom: 31px;
    }

    .h5-case-list-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

    .h5-case-list-card__image {
        aspect-ratio: 1.5;
    }

    .h5-case-list-card__body {
        padding: 15px 16px 13px;
    }

    .h5-case-list-card__body h2 {
        font-size: 15px;
    }

    .h5-case-list-card__body p {
        font-size: 11px;
    }
}

@media (max-width: 360px) {
    .h5-case-list-page {
        width: calc(100% - 28px);
    }

    .h5-case-list-grid {
        gap: 9px;
    }

    .h5-case-list-card__body {
        padding: 10px 9px 9px;
    }

    .h5-case-list-card__body h2 {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .h5-case-list-card,
    .h5-case-list-card__image img {
        transition: none;
    }
}
