/* Fortunee: country pages (same look as the category pages) */
.country-wrapper { max-width: 900px; margin: 0 auto; padding: 32px 16px 50px; font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif; box-sizing: border-box; }

.country-header { text-align: center; margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid rgba(15, 27, 45, 0.08); }
.country-back { display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 700; color: #6B7A8D; text-decoration: none; }
.country-back:hover { color: #4FA8DA; }
.country-badge { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: #4FA8DA; background: rgba(79, 168, 218, 0.1); padding: 6px 14px; border-radius: 20px; margin: 0 0 12px 10px; }
.country-back + .country-badge { margin-left: 0; }
.country-header h1 { font-size: 32px; font-weight: 800; color: #0F1B2D; margin: 0 0 10px; line-height: 1.25; }
.country-description { max-width: 600px; margin: 0 auto; font-size: 15px; color: #6B7A8D; line-height: 1.6; }
.country-description p { margin: 0 0 .6em; }
.country-wa { display: inline-block; margin-top: 14px; padding: 11px 20px; border-radius: 12px; background: #25D366; color: #fff; font-size: 14px; font-weight: 800; text-decoration: none; }
.country-wa:hover { background: #1EBE5B; color: #fff; }

.country-wrapper .article-preview-section { width: 100%; display: flex; flex-direction: column; gap: 20px; align-items: center; }
.country-card { width: 100%; background: #FFFFFF; border: 1px solid rgba(15, 27, 45, 0.08); border-radius: 16px; padding: 20px; box-shadow: 0 4px 12px rgba(15, 27, 45, 0.03); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; box-sizing: border-box; text-align: center; }
.country-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15, 27, 45, 0.08); border-color: rgba(79, 168, 218, 0.3); }

.country-pagination { margin-top: 40px; width: 100%; display: flex; justify-content: center; }
.country-pagination .nav-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.country-pagination a, .country-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 14px; border-radius: 10px; background: #F2F6FA; color: #0F1B2D; text-decoration: none; font-size: 14px; font-weight: 700; transition: all .15s ease; }
.country-pagination a:hover { background: #FFB627; color: #0F1B2D; transform: translateY(-1px); }
.country-pagination .current { background: #0F1B2D; color: #FFFFFF; }

.country-empty { background: #fff; border: 1px dashed rgba(15, 27, 45, 0.2); border-radius: 16px; padding: 32px 20px; text-align: center; }
.country-empty h2 { font-size: 22px; color: #0F1B2D; margin: 0 0 8px; }
.country-empty p { color: #6B7A8D; margin: 0 0 16px; }
.country-btn { display: inline-block; padding: 11px 22px; border-radius: 12px; background: #0F1B2D; color: #fff; font-weight: 800; text-decoration: none; }
.country-btn:hover { background: #4FA8DA; color: #fff; }
.country-admin-hint { margin-top: 14px; padding: 10px 14px; background: #FFF8E1; border-left: 4px solid #FFB627; font-size: 13px; color: #0F1B2D; }

.country-others { margin-top: 44px; }
.country-others h2 { font-size: 18px; color: #0F1B2D; margin: 0 0 12px; }
.country-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.country-chips a { display: inline-flex; padding: 7px 14px; border-radius: 999px; background: #F2F6FA; color: #0F1B2D; font-size: 14px; font-weight: 700; text-decoration: none; }
.country-chips a:hover { background: #FFB627; }

/* A-Z index */
.country-filter { margin: 20px auto 0; max-width: 440px; }
.country-filter input { width: 100%; height: 48px; padding: 0 16px; border: 2px solid rgba(15, 27, 45, 0.12); border-radius: 12px; font: inherit; font-size: 15px; background: #fff; box-sizing: border-box; }
.country-filter input:focus { border-color: #4FA8DA; outline: none; box-shadow: 0 0 0 3px rgba(79, 168, 218, 0.2); }
.country-group { margin-bottom: 28px; }
.country-group[hidden], .country-list li[hidden], .country-none[hidden] { display: none; }
.country-group__letter { font-size: 22px; font-weight: 800; color: #0F1B2D; margin: 0 0 12px; padding-bottom: 6px; border-bottom: 3px solid rgba(15, 27, 45, 0.08); }
.country-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
.country-list a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid rgba(15, 27, 45, 0.08); border-radius: 12px; text-decoration: none; color: #0F1B2D; font-weight: 700; }
.country-list a:hover { border-color: rgba(79, 168, 218, 0.5); box-shadow: 0 6px 16px rgba(15, 27, 45, 0.06); }
.country-code { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 28px; padding: 0 8px; border-radius: 8px; background: #0F1B2D; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.country-count { margin-left: auto; font-size: 12px; color: #6B7A8D; font-weight: 600; white-space: nowrap; }
.country-none { text-align: center; color: #6B7A8D; padding: 24px 0; }

@media (min-width: 640px) { .country-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
	.country-wrapper { padding-top: 20px; padding-bottom: 32px; }
	.country-header { margin-bottom: 24px; padding-bottom: 18px; }
	.country-header h1 { font-size: 24px; }
	.country-card { padding: 16px; border-radius: 12px; }
}
