﻿.country-heading {
    font-weight: 900 !important;
}

@media (min-width: 992px) {
    .country-heading {
        font-size: 6rem;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .country-heading {
        font-size: 4rem;
    }
}

@media (max-width: 767px) {
    .country-heading {
        font-size: 3rem;
    }
}

@media (max-width: 414px) {
    .country-heading {
        font-size: 2rem;
    }
}

/* ── Nations list ── */
.columns-list {
    columns: 4;
    column-gap: 0;
    column-rule: 1px solid #000;
    border: 1px solid #000;
    padding: 0;
}

    .columns-list li {
        padding: 10px 12px 2px;
        text-align: center;
        break-inside: avoid;
    }

        .columns-list li a {
            text-decoration: none;
            color: #0d6efd;
        }

            .columns-list li a:hover {
                text-decoration: underline;
                color: #0d6efd;
            }

@media (max-width: 991px) {
    .columns-list {
        columns: 3;
    }
}

@media (max-width: 767px) {
    .columns-list {
        columns: 2;
    }
}

@media (max-width: 480px) {
    .columns-list {
        columns: 1;
    }
}

.countries-list-wrapper {
    background-color: #fff;
    border-radius: 5px;
    padding: 1rem;
}

/* ── Country detail ── */
.native-name {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
}

.country-table th {
    width: 50%;
    background-color: #f8f9fa;
}

@media (max-width: 440px) {
    .country-table th {
        width: 44%;
    }
}

.phone-format {
    font-size: 1rem;
    line-height: 1.6;
}

.faq-section h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cta-label {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.cta-btn-wrapper {
    width: 420px;
    max-width: 100%;
    margin: 0 auto;
}

.btn-cta-primary {
    font-size: 1.4rem !important;
    padding: 16px 40px !important;
}

.btn-cta-success {
    font-size: 1.4rem !important;
    padding: 16px 40px !important;
    color: #fff !important;
}

    .btn-cta-success:hover {
        background-color: #009650 !important;
        border-color: #009650 !important;
        color: #fff !important;
    }

/* ── Nations index panel ── */
.nations-heading {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.1;
}

.nations-subheading {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.nation-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #dee2e6;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: background-color 0.15s ease;
}

    .nation-card:hover {
        background-color: #f8f9fa;
        text-decoration: none;
        color: inherit;
    }

.nation-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.nation-code {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.nation-flag {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 1px solid #dee2e6;
}

.nations-list-link {
    font-size: 1rem;
    color: inherit;
}

.nation-flag.fi {
    display: block !important;
    width: 80% !important;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
}

.text-link a {
    text-decoration: none;
    color: #0d6efd;
}

    .text-link a:hover {
        text-decoration: underline;
        color: #0d6efd;
    }
