.ebmnt1-countries__card {
    position: relative;
    isolation: isolate;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    padding: 1.75em 1.25em;
    border-radius: var(--ebmnt1-radius-card);
    background-color: var(--ebmnt1-color-country-card-bg);
    overflow: hidden;
    text-align: center;
    --ebmnt1-circle-bg: var(--ebmnt1-color-country-icon-bg);
    --ebmnt1-circle-fill: var(--ebmnt1-color-country-icon-fill);
    --ebmnt1-circle-icon: var(--ebmnt1-color-country-icon);
    --ebmnt1-circle-size: 4.375rem;
}

.ebmnt1-countries__card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: var(--ebmnt1-color-country-card-fill);
    transform: translateY(100%);
    transition: transform var(--ebmnt1-duration-medium) var(--ebmnt1-ease-main);
}

.ebmnt1-countries__card:hover::before {
    transform: translateY(0);
}

.ebmnt1-countries__name {
    font-size: var(--ebmnt1-fs-h3);
    color: var(--ebmnt1-color-country-title);
    transition: color var(--ebmnt1-duration-fast) var(--ebmnt1-ease-main);
}

.ebmnt1-countries__text {
    color: var(--ebmnt1-color-country-text);
    transition: color var(--ebmnt1-duration-fast) var(--ebmnt1-ease-main);
}

.ebmnt1-countries__card:hover .ebmnt1-countries__name {
    color: var(--ebmnt1-color-country-title-hover);
}

.ebmnt1-countries__card:hover .ebmnt1-countries__text {
    color: var(--ebmnt1-color-country-text-hover);
}
