.series-intro h2 {
    margin: 15px 0;
}

.card {
    border: #dcdcdc solid 1px;
    overflow: hidden;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    position: relative;
}

.card-body {
    flex: 1;
    color: black;
    text-decoration: none;
}

.img-container {
    aspect-ratio: 4/3;
}

.img-container img {
    display: block;
    margin-top: auto;
    margin-inline: auto;
    object-fit: fill;
    max-width: 100%;
    max-height: 100%;
}

.card-content {
    padding: 16px;
}

.card-content h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.19;
}

.card-content h3 {
    margin: 8px 0 16px;
    color: #666;
    font-size: .9375rem;
    font-weight: 400;
    line-height: 1.18;
}

.card-content p {
    background-color: white;
}

.bg-gray {
    background-color: #f0f0f0;
}

.bg-white {
    background-color: #fff;
}

#cases-container {
    grid-auto-rows: 1fr;
}

.feature-card {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    padding: 16px;
}

.feature-card img {
    width: 48px;
    height: 48px;
    margin-right: 16px;
}

.feature-card p {
    font-size: 1.0625rem;
    line-height: 1.55;
    color: #333;
}

.step-flow {
    display: flex;
    list-style: none;
    margin-top: 30px;
    border-top: 2px solid #f5b100;
}

.step {
    text-align: center;
    flex: 1;
    position: relative;
}

.step .dot {
    width: 12px;
    height: 12px;
    background-color: #f5b100;
    border-radius: 50%;
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
}

.step .text {
    white-space: pre-line;
    line-height: 1.5;
}



.card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: scale 0.3s ease;
}

.card-overlay {
    inset: 0;
    z-index: 2;
    padding: 24px 0 26px 16px;
    height: 100%;
    color: white;
    background-color: rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s ease;
}

.hoverable:hover .card-overlay {
    color: black;
    background-color: var(--main-yellow);
    opacity: 0.85;
}

.hoverable:hover .card-bg {
    scale: 1.1;
}

.card-overlay h2 {
    margin-top: 0;
    margin-bottom: 12px;
}

.card-overlay ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-overlay li {
    font-size: 16px;
    display: flex;
    align-items: center;
}

@media (max-width: 750px) {
    .step-flow {
        flex-direction: column;
        border-top: none;
        border-left: 2px solid #f5b100;
        margin-top: 0;
        padding-left: 24px;
    }

    .step {
        text-align: left;
        padding-top: 0;
        padding-left: 0;
        margin: 16px 0;
    }

    .step .dot {
        left: -30px;
        top: 50%;
        transform: translateY(-50%);
    }

    .step .text {
        white-space: normal;
    }
}