.ppro-y26-countries-listing {
    background: var(--ppro-background);
}

.ppro-y26-countries-listing__hero {
    background: var(--ppro-color-paper);
    padding: 10rem var(--ppro-container-padding-x) 7.5rem;
}

.ppro-y26-countries-listing__hero-inner {
    max-width: 58rem;
    margin: 0 auto;
    text-align: center;
}

.ppro-y26-countries-listing__title {
    margin: 0;
    font-family: var(--ppro-font-display);
    font-weight: var(--ppro-font-weight-display);
    font-size: 3.5rem;
    line-height: 3.75rem;
    letter-spacing: var(--ppro-tracking-tight);
}

.ppro-y26-countries-listing__subtitle {
    max-width: 42rem;
    margin: 1.25rem auto 0;
    font-family: var(--ppro-font-body);
    font-weight: var(--ppro-font-weight-body);
    font-size: 1.25rem;
    line-height: 1.75rem;
    opacity: 0.75;
}

.ppro-y26-countries-listing__filters {
    max-width: 50rem;
    margin: 2.5rem auto 0;
}

.ppro-y26-countries-filter {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.ppro-y26-countries-filter__regions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.ppro-y26-countries-filter__region {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.125rem;
    border: 1px solid transparent;
    border-radius: 0;
    background: transparent;
    font-family: var(--ppro-font-body);
    font-weight: var(--ppro-font-weight-body);
    font-size: 0.9375rem;
    line-height: 1;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ppro-y26-countries-filter__region:hover {
    background: color-mix(in srgb, var(--ppro-color-lime) 45%, transparent);
}

.ppro-y26-countries-filter__region.is-active {
    background: var(--ppro-color-lime);
    border-color: currentColor;
    color: var(--ppro-foreground);
}

.ppro-y26-countries-listing__body {
    max-width: var(--ppro-container-max-width);
    margin: 0 auto;
    padding: 4rem var(--ppro-container-padding-x) 6rem;
}

.ppro-y26-countries-listing__body--loading {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.ppro-y26-countries-listing__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.ppro-y26-countries-listing__empty {
    padding: 3rem 0;
    font-family: var(--ppro-font-body);
    font-size: 1.125rem;
    line-height: 1.625rem;
    text-align: center;
    opacity: 0.7;
}

.ppro-y26-countries-listing__body .ppro-y26-c-pagination {
    margin-top: 2.5rem;
}

@media (max-width: 1279px) {
    .ppro-y26-countries-listing__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
    .ppro-y26-countries-listing__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .ppro-y26-countries-listing__hero {
        padding: 7rem var(--ppro-container-padding-x-mobile) 4rem;
    }

    .ppro-y26-countries-listing__title {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }

    .ppro-y26-countries-listing__subtitle {
        font-size: 1.0625rem;
        line-height: 1.5rem;
    }

    .ppro-y26-countries-listing__body {
        padding: 2.5rem var(--ppro-container-padding-x-mobile) 4rem;
    }

    .ppro-y26-countries-listing__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ppro-y26-countries-filter__regions {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        margin-inline: calc(var(--ppro-container-padding-x-mobile) * -1);
        padding-inline: var(--ppro-container-padding-x-mobile);
        scrollbar-width: none;
    }

    .ppro-y26-countries-filter__regions::-webkit-scrollbar {
        display: none;
    }
}
