.competition-card-grid {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 25px;
}

.template-card {
    border-radius: 22px;
    box-shadow: 0 12px 28px #3d26301f;
    color: #fff;
    max-height: 300px;
    overflow: hidden;
    padding: 25px;
    position: relative;
    transition: .25s;
}

.template-card:hover {
    box-shadow: 0 20px 38px #3d263038;
    transform: translateY(-6px);
}

.template-card__content {
    max-width: 64%;
    position: relative;
    z-index: 1;
}

.template-card h2 {
    font-size: 1.6rem;
    line-height: 1.1;
    margin: 0 0 10px;
    overflow-wrap: anywhere;
}

.template-card__class {
    font-size: .8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.template-card__concept {
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.template-card img {
    bottom: 15px;
    max-height: 68%;
    max-width: 48%;
    object-fit: contain;
    position: absolute;
    right: 14px;
    transition: .35s;
}

.template-card:hover img {
    transform: translateY(-10px) scale(1.08);
}

@media (max-width: 900px) {
    .competition-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .competition-card-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {

    .template-card,
    .template-card img {
        transition: none;
    }

    .template-card:hover,
    .template-card:hover img {
        transform: none;
    }
}