.content a.foto-card,
.content a.foto-card:hover,
.content a.foto-card:focus {
    text-decoration: none !important;
    outline: none !important;
    border-bottom: none !important;
    color: #ffffff;
    font-weight: inherit;
    transition: box-shadow 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.content .foto-card * + * {
    margin-top: 0;
}

.foto-card {
    --foto-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --foto-dur: 0.42s;
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(13, 17, 23, 0.14);
    transition: box-shadow var(--foto-dur) var(--foto-ease);
}

.foto-card__media {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.foto-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform var(--foto-dur) var(--foto-ease);
}

.foto-card__gradient {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(10, 25, 47, 0.32) 0%,
        rgba(10, 32, 60, 0.18) 36%,
        rgba(8, 20, 38, 0.94) 100%
    );
}

.foto-card__gradient::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 25, 47, 0.12) 0%,
        rgba(11, 122, 192, 0.42) 45%,
        rgba(6, 18, 35, 0.98) 100%
    );
    opacity: 0;
    transition: opacity var(--foto-dur) var(--foto-ease);
}

.foto-card__top,
.foto-card__body {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 16px 18px;
    pointer-events: none;
}

.foto-card__top {
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.foto-card__date {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.foto-card__date:empty,
.foto-card__badge:empty,
.foto-card__score:empty,
.foto-card__away:empty {
    display: none;
}

.foto-card__badge {
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #e0f2fe;
    padding: 4px 12px;
    background: rgba(11, 122, 192, 0.4);
    backdrop-filter: blur(6px);
    border-radius: 9999px;
    border: 1px solid rgba(56, 189, 248, 0.3);
    max-width: 62%;
    text-align: right;
    line-height: 1.25;
}

.foto-card__body {
    bottom: 0;
}

.foto-card__score {
    display: block;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 8px;
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.foto-card__home,
.foto-card__away {
    display: block;
    font-size: 15px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.foto-card__home {
    font-weight: 700;
}

.foto-card__away {
    font-weight: 500;
    opacity: 0.92;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .foto-card:hover {
        box-shadow: 0 16px 40px rgba(11, 122, 192, 0.28);
    }

    .foto-card:hover .foto-card__media img {
        transform: scale(1.045);
    }

    .foto-card:hover .foto-card__gradient::after {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .foto-card {
        border-radius: 18px;
    }

    .foto-card__score {
        font-size: 26px;
    }

    .foto-card__home,
    .foto-card__away {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .foto-card,
    .foto-card__media img,
    .foto-card__gradient::after {
        transition: none;
    }
}
