.sport-hero {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-shadow: 0 2px 16px #0002;
}

.sport-hero-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    filter: brightness(0.55);
}

.sport-hero-content {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    padding: 32px 28px 24px 28px;
    text-align: center;
    color: #fff;
    z-index: 2;
}

.sport-badge {
    font-weight: bold;
    font-size: 30px;
    margin-bottom: 18px;
}

.sport-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 6px;
    text-shadow: 0 2px 8px #0008;
}

@media (max-width: 600px) {
    .sport-hero {
        max-width: 100%;
    }
    .sport-hero-image {
        height: 180px;
    }
    .sport-hero-content {
        padding: 16px 10px 12px 14px;
    }
    .sport-title {
        font-size: 1.2rem;
    }
}

.workout-list-section {
    max-width: 700px;
    margin: 30px auto 0 auto;
}

.workout-list-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: black;
    text-align: center;
}

.workout-cards-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.workout-card {
    background: #f0f4f8;
    border-radius: 12px;
    padding: 16px 14px 14px 14px;
    width: 300px;
    box-shadow: 0 2px 8px #0001;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.18s, background 0.18s;
}

.workout-card:hover {
    background: #e6f0fa;
    box-shadow: 0 4px 16px #0078d733;
}

.workout-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.workout-card-title {
    font-weight: bold;
    font-size: 1.08rem;
    margin-bottom: 4px;
    color: #222;
}

.workout-card-link {
    color: #fff;
    background: #a71d2a;
    border-radius: 6px;
    padding: 7px 16px;
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
    transition: background 0.18s;
    display: inline-block;
}
.workout-card-link:hover {
    background: #5f010a;
}

@media (max-width: 700px) {
    .workout-cards-row {
        flex-direction: column;
        gap: 12px;
        padding: 0 6px; /* Add horizontal padding to prevent overflow */
        box-sizing: border-box;
    }
    .workout-card {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
}