/* Global SAR Hub, country page styles. Header and footer come from css/news.css. */

.country-hero {
    text-align: center;
    padding: 90px 24px 60px;
    background: radial-gradient(circle at 50% 0%, rgba(42,107,255,0.12) 0%, transparent 60%);
}
.country-hero-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #5b8fff;
    background: rgba(42,107,255,0.1);
    border: 1px solid rgba(42,107,255,0.25);
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
}
.country-hero h1 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 auto 18px;
    max-width: 900px;
    letter-spacing: -0.01em;
}
.country-hero-subtitle {
    color: rgba(255,255,255,0.65);
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 620px;
    margin: 0 auto;
}

.country-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 24px 80px;
}

.country-group {
    margin-bottom: 50px;
}
.country-group-title {
    font-size: 1rem;
    font-weight: 800;
    color: #5b8fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(42,107,255,0.2);
}
.country-group-count {
    color: rgba(255,255,255,0.4);
    font-weight: 600;
    margin-left: 6px;
}

.country-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 16px;
}
.country-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 20px 22px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}
.country-card:hover {
    transform: translateY(-3px);
    border-color: rgba(42,107,255,0.45);
    box-shadow: 0 10px 30px rgba(42,107,255,0.15);
}
.country-card-name {
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    line-height: 1.3;
}
.country-card-srr {
    font-size: 11px;
    font-weight: 700;
    color: #5b8fff;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}
.country-card-contacts {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
}
.country-card-line {
    color: rgba(255,255,255,0.65);
    font-size: 13px;
    word-break: break-word;
}
.country-card-line i {
    color: #5b8fff;
    margin-right: 6px;
    font-size: 12px;
    width: 14px;
    text-align: center;
}
.country-card-arrow {
    color: #5b8fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    margin-top: 6px;
    opacity: 0.65;
    transition: opacity 0.2s, transform 0.2s;
}
.country-card-arrow i {
    margin-left: 4px;
    transition: transform 0.2s;
}
.country-card:hover .country-card-arrow {
    opacity: 1;
}
.country-card:hover .country-card-arrow i {
    transform: translateX(3px);
}

.country-empty {
    text-align: center;
    padding: 80px 20px;
}
.country-empty h1 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 14px;
}
.country-empty p {
    color: rgba(255,255,255,0.55);
    margin: 0 0 30px;
}
.country-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5b8fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

/* LANGUAGE SELECTOR */
.lang-selector {
    text-align: center;
    padding: 24px 16px 8px;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.2);
}
.lang-selector-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-right: 14px;
}
.lang-selector-label i { margin-right: 6px; }
.lang-selector-options {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}
.lang-selector-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;
    transition: all 0.2s ease;
}
.lang-selector-btn:hover {
    background: rgba(42,107,255,0.15);
    border-color: rgba(42,107,255,0.4);
    color: #fff;
}
.lang-selector-btn.active {
    background: linear-gradient(135deg, #2A6BFF 0%, #5b8fff 100%);
    border-color: transparent;
    color: #fff;
}
.lang-selector-btn .lang-flag { font-size: 14px; }
.lang-selector-btn .lang-code { font-weight: 700; }

@media (max-width: 700px) {
    .country-hero { padding: 50px 16px 40px; }
    .country-hero h1 { font-size: 1.7rem; }
    .country-main { padding: 20px 16px 60px; }
    .lang-selector-label { display: block; margin: 0 0 10px; }
}
