.flags {
    width: 100%;
    max-width: 100%;
    text-align: center;
    line-height: 0;
    box-sizing: border-box;
}

.flag-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 5px;
    text-decoration: none;
    vertical-align: top;
    box-sizing: border-box;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;

    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.flag-item img {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 50%;
}

.flag-item:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
    transition: all 0.2s ease;
}
[id] {
    scroll-margin-top: 5em;
}

h2{font-size:2.2em;}
h3{font-size:1.8em;}



.geo-group-text {
    margin-bottom: 20px;
}

.geo-group-text strong {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 18px;
}

.geo-group-text p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.geo-group-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.geo-card {
    display: flex;
    gap: 16px;
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    box-sizing: border-box;
}

.geo-card img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.geo-card-content h4 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.2;
}

.geo-card-content p {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.5;
}

.geo-link,
.geo-review-link {
    display: inline-block;
    margin-right: 12px;
    margin-top: 6px;
    font-size: 15px;
    text-decoration: underline;
}

.geo-rating {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.5;
}

.geo-country-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.geo-country-tags span {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #f3f5f8;
    font-size: 14px;
    line-height: 1.2;
}

@media (max-width: 992px) {
    .geo-group-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .geo-group-list {
        grid-template-columns: 1fr;
    }

    .geo-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .geo-card img {
        width: 48px;
        height: 48px;
    }

    .geo-group-text p,
    .geo-card-content p,
    .geo-rating,
    .geo-link,
    .geo-review-link {
        font-size: 14px;
    }
}

