/* Country card component styles */
.country-card {
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.125rem;
    background: #ffffff;
    box-shadow: 0 18px 45px -30px rgba(15, 23, 42, 0.25);
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.country-card:hover {
    transform: translateY(-0.5rem);
    border-color: rgba(15, 118, 110, 0.16);
    box-shadow: 0 28px 70px -32px rgba(15, 23, 42, 0.28);
}

.country-card__link {
    display: block;
    padding: 1.25rem;
    color: inherit;
    text-decoration: none;
}

.country-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.country-card__flag {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    border-radius: 0.65rem;
    background: rgba(16, 185, 129, 0.08);
    padding: 0.125rem;
    box-shadow: 0 6px 18px -12px rgba(15, 23, 42, 0.2);
}

.country-card__flag-picture-wrapper,
.country-card__flag-picture {
    width: 100%;
    height: 100%;
}

.country-card__flag-picture {
    display: flex;
    align-items: center;
    justify-content: center;
}

.country-card__flag-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    border-radius: 0.1rem;
    transition: transform 300ms ease;
}

.country-card:hover .country-card__flag-image {
    transform: scale(1.05);
}

.country-card__eyebrow {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0f766e;
}

.country-card__title {
    margin: 0.25rem 0 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: #111827;
    transition: color 300ms ease;
}

.country-card:hover .country-card__title {
    color: #0f766e;
}

.country-card__copy {
    margin: 1rem 0 0;
    font-size: 0.95rem;
    line-height: 1.75;
    color: #64748b;
}

.country-card__footer {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f766e;
    transition: color 300ms ease;
}

.country-card:hover .country-card__footer {
    color: #115e3b;
}

.country-card__arrow,
.country-card__footer > svg {
    display: inline-block;
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    max-width: none;
    min-width: 1rem;
    min-height: 1rem;
    transition: transform 300ms ease;
}

.country-card__arrow {
    width: 1rem !important;
    height: 1rem !important;
    min-width: 1rem !important;
    min-height: 1rem !important;
    max-width: 1rem !important;
    max-height: 1rem !important;
}

.country-card:hover .country-card__arrow {
    transform: translateX(0.25rem);
}
