/* Homepage resource and case modules */
.home-hospital-network,
.home-case-audit {
    padding: clamp(72px, 7vw, 108px) 0;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
}

.home-case-audit {
    background: #fff;
}

.home-hospital-network__grid,
.home-case-audit__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.home-hospital-network-card,
.home-case-audit-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    border: 1px solid #dbe8f3;
    border-radius: 16px;
    background: #fff;
    color: #10243d;
    box-shadow: 0 18px 48px rgba(10, 31, 58, .08);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.home-hospital-network-card:hover,
.home-case-audit-card:hover {
    color: #10243d;
    transform: translateY(-4px);
    border-color: rgba(0, 102, 204, .35);
    box-shadow: 0 26px 64px rgba(0, 74, 153, .13);
}

.home-hospital-network-card__image,
.home-case-audit-card__image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eef6ff;
}

.home-hospital-network-card__image img,
.home-case-audit-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease;
}

.home-hospital-network-card:hover img,
.home-case-audit-card:hover img {
    transform: scale(1.035);
}

.home-hospital-network-card__body,
.home-case-audit-card__body {
    display: grid;
    gap: 10px;
    padding: 22px;
    min-width: 0;
}

.home-hospital-network-card__body strong,
.home-case-audit-card__body strong {
    color: #06254a;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.home-hospital-network-card__body em,
.home-case-audit-card__body p {
    margin: 0;
    color: #5d7188;
    font-size: 14px;
    font-style: normal;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.home-case-audit-card__body span {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.home-case-audit-card__body b,
.home-case-audit-card__body em {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #eef6ff;
    color: #0066cc;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.home-case-audit__more {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.home-case-audit__more a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    background: #06254a;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
}

.home-case-audit__more a:hover {
    background: #0066cc;
    color: #fff;
}

@media (max-width: 991.98px) {
    .home-hospital-network__grid,
    .home-case-audit__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 575.98px) {
    .home-hospital-network,
    .home-case-audit {
        padding: 48px 0;
    }

    .home-hospital-network__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .home-case-audit__grid {
        grid-template-columns: 1fr;
    }

    .home-hospital-network-card {
        border-radius: 14px;
    }

    .home-hospital-network-card__body {
        padding: 14px;
    }

    .home-hospital-network-card__body strong {
        font-size: 15px;
    }

    .home-hospital-network-card__body em {
        display: none;
    }

    .home-case-audit-card__body {
        padding: 18px;
    }
}
