.osa-academy-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.25rem;
    align-items: stretch;
}

.osa-academy-card {
    display: flex !important;
    min-width: 0;
    min-height: 430px !important;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dbe7f0 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #1f2937 !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .08) !important;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.osa-academy-card:hover {
    transform: translateY(-2px);
    border-color: #13badb !important;
    box-shadow: 0 18px 38px rgba(15, 23, 42, .13) !important;
}

.osa-academy-media {
    position: relative;
    display: grid !important;
    place-items: center;
    box-sizing: border-box;
    width: 100% !important;
    height: 168px !important;
    min-height: 168px !important;
    max-height: 168px !important;
    padding: 0 !important;
    overflow: hidden;
    background: #eef9ff !important;
    color: #13badb !important;
}

.osa-academy-media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

.osa-academy-media > i {
    margin: 0 !important;
    color: #13badb !important;
    font-size: 2.5rem !important;
}

.osa-wishlist-form {
    position: absolute;
    top: .75rem;
    right: .75rem;
    z-index: 3;
    margin: 0;
}

.osa-wishlist-btn {
    position: absolute;
    top: .75rem;
    right: .75rem;
    z-index: 3;
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: #07111f;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-4px);
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .16);
    transition: opacity .18s ease, transform .18s ease, background .18s ease, color .18s ease;
}

.osa-wishlist-form .osa-wishlist-btn {
    position: static;
}

.osa-wishlist-btn:hover,
.osa-wishlist-btn.is-saved {
    background: #13badb;
    color: #06111f;
}

.osa-wishlist-btn.is-loading,
.osa-wishlist-btn:disabled {
    opacity: .75 !important;
    cursor: wait;
}

.osa-academy-card:hover .osa-wishlist-btn,
.osa-academy-card:focus-within .osa-wishlist-btn,
.osa-wishlist-btn.is-saved {
    opacity: 1;
    transform: translateY(0);
}

@media (hover: none) {
    .osa-wishlist-btn {
        opacity: 1;
        transform: translateY(0);
    }
}

.osa-academy-fallback {
    display: grid;
    place-items: center;
    gap: .65rem;
    width: 100%;
    height: 100%;
    padding: 1rem;
    background:
        radial-gradient(circle at 78% 18%, rgba(19, 186, 219, .18), transparent 32%),
        linear-gradient(135deg, #eef9ff 0%, #eef2ff 100%);
    color: #0f6f86;
    text-align: center;
}

.osa-academy-fallback i {
    display: grid;
    place-items: center;
    width: 4.25rem;
    height: 4.25rem;
    border: 1px solid rgba(19, 186, 219, .24);
    border-radius: 999px;
    background: #fff;
    color: #13badb;
    font-size: 2rem;
    box-shadow: 0 14px 28px rgba(15, 23, 42, .08);
}

.osa-academy-fallback span {
    max-width: 90%;
    color: #1f2937;
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.25;
}

.osa-academy-body {
    display: flex !important;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: .75rem !important;
    padding: 1.25rem !important;
    background: #fff;
}

.osa-academy-tag {
    display: inline-block !important;
    align-self: flex-start;
    box-sizing: border-box;
    max-width: 100%;
    margin: 0 !important;
    padding: .3rem .65rem !important;
    overflow: hidden;
    border-radius: 999px;
    background: #e6f9fd !important;
    color: #08748b !important;
    font-size: .78rem !important;
    font-weight: 700;
    line-height: 1.3;
    text-overflow: ellipsis;
    text-transform: none !important;
    white-space: nowrap;
}

.osa-academy-title {
    display: -webkit-box !important;
    min-height: 3.25rem !important;
    height: auto !important;
    margin: 0 !important;
    overflow: hidden;
    color: #111827 !important;
    font-size: 1.18rem !important;
    font-weight: 700;
    line-height: 1.4 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.osa-academy-title a {
    color: inherit !important;
    text-decoration: none;
}

.osa-academy-location,
.osa-academy-owner {
    display: flex !important;
    min-width: 0;
    height: auto !important;
    margin: 0 !important;
    align-items: flex-start !important;
    gap: .5rem;
    overflow: hidden;
    color: #6b7280 !important;
    font-size: .88rem !important;
    font-weight: 500;
    line-height: 1.45;
}

.osa-academy-location {
    min-height: 2.55rem;
}

.osa-academy-location i,
.osa-academy-owner i {
    flex: 0 0 auto;
    width: 1rem;
    margin-top: .15rem;
    color: #13badb !important;
    text-align: center;
}

.osa-academy-location span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.osa-academy-owner {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.osa-academy-photos,
.osa-academy-spacer {
    display: none !important;
}

.osa-academy-actions {
    display: flex !important;
    height: auto !important;
    margin: auto 0 0 !important;
    padding: .25rem 0 0 !important;
    gap: .5rem;
}

.osa-academy-actions a,
.osa-academy-actions .osa-academy-view {
    display: inline-flex !important;
    min-width: 0;
    min-height: 42px;
    flex: 1;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 0 !important;
    padding: .7rem 1rem !important;
    border: 0;
    border-radius: 8px !important;
    background: #07111f !important;
    color: #fff !important;
    font-size: .88rem !important;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;
}

.osa-academy-actions .osa-academy-contact {
    max-width: 44px;
    padding: .7rem !important;
    background: #e6f9fd !important;
    color: #08748b !important;
}

.osa-academy-actions .osa-academy-enquire {
    background: #13badb !important;
    color: #06111f !important;
}

.sports .sports-grid {
    gap: 1.25rem;
}

.sports .sport-box {
    display: grid;
    min-height: 210px;
    align-content: center;
    justify-items: center;
    gap: .75rem;
    padding: 1.4rem;
    border: 1px solid rgba(34, 211, 238, .16) !important;
    border-radius: 10px !important;
    background:
        radial-gradient(circle at 78% 16%, rgba(34, 211, 238, .16), transparent 32%),
        linear-gradient(180deg, rgba(15, 23, 42, .96), rgba(6, 13, 28, .96)) !important;
    color: #fff !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .22) !important;
    text-align: center;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.sports .sport-box:hover {
    transform: translateY(-2px);
    border-color: rgba(34, 211, 238, .5) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .3) !important;
}

.sports .sport-box i {
    display: grid;
    place-items: center;
    width: 4rem;
    height: 4rem;
    margin: 0;
    border: 1px solid rgba(19, 186, 219, .24);
    border-radius: 999px;
    background: rgba(34, 211, 238, .12);
    color: #13badb;
    font-size: 1.8rem;
}

.sports .sport-box h3 {
    min-height: 2.9rem;
    margin: 0;
    color: #fff;
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.3;
}

.sports .sport-box p {
    margin: 0;
    color: rgba(226, 232, 240, .78);
    font-size: .9rem;
    font-weight: 700;
}

@media (max-width: 1000px) {
    .osa-academy-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .osa-academy-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
}
