/* ====== Card ====== */
.match-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 168px;
    background: #e9eef3;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
    width: 210px;
    height: 210px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.match-card:hover,
.match-card:focus {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.match-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9);
}

.match-card__overlay {
    position: absolute;
    inset: 0;
}

.overlay-cdmx {
    background: linear-gradient(
        180deg,
        rgba(114, 209, 250, 0.54) 0%,
        rgba(1, 86, 140, 0.74) 100%
    );
}

.overlay-gdl {
    background: linear-gradient(
        180deg,
        rgba(50, 181, 171, 0.74) 0%,
        rgba(6, 153, 214, 0.74) 100%
    );
}

.match-card__title {
    position: inherit;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    display: flex;
    justify-content: center;
    align-items: center;
    height: inherit;
    padding-inline: 1rem;
}

.titulo-especialidad {
    text-align: center;
    margin-bottom: 0%;
}

.titulo-especialidad span {
    display: block;
    font-weight: 600;
    font-size: clamp(13px, 1.9vw, 15px);
}

.match-card--noimg .match-card__overlay {
    background: linear-gradient(
        160deg,
        rgba(24, 119, 242, 0.85),
        rgba(0, 186, 180, 0.85)
    );
}

/* Estado vacío */
.match-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 28px 16px;
    color: #6b788a;
    background: #f7f9fc;
    border: 1px dashed #d6dee6;
    border-radius: 12px;
}
