.search-row { padding: 4px 4px 4px 16px;
}
.search-row input { padding: 12px 8px; font-size: 15px;
}
.search-row .count { padding: 8px 12px; font-size: 12px;
}
.search-row {
  max-width: 560px; margin: -24px auto 40px;
  display: flex; align-items: center;
  background: #fff;
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.search-row svg { width: 20px; height: 20px; color: var(--ink-500); flex: none;
}
.search-row input {
  flex: 1; border: 0; outline: 0;
  background: transparent;
  font: 500 16px var(--font-sans);
  color: var(--ink-900);
  padding: 14px 14px;
}
.search-row input::placeholder { color: var(--ink-500);
}
.search-row .count {
  font-size: 13px; font-weight: 600;
  color: var(--ink-700);
  padding: 10px 16px;
  background: var(--cream-100);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  flex: none;
}
.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.country-card {
  position: relative;
  display: flex; flex-direction: column;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  text-decoration: none;
  color: var(--ink-900);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
  overflow: hidden;
}
.country-card::after {
  content: "";
  position: absolute; inset: auto -40% -60% auto;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--saffron-300);
  opacity: 0; transform: scale(0.6);
  transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
  pointer-events: none;
}
.country-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(27,34,53,0.16);
}
.country-card:hover::after { opacity: 0.5; transform: scale(1);
}
.country-card > * { position: relative; z-index: 1;
}
.country-flag {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--cream-100);
  display: grid; place-items: center;
  font-size: 32px; line-height: 1;
  box-shadow: inset 0 0 0 1px var(--border);
}
.country-name {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 500;
  letter-spacing: -0.02em; line-height: 1.1;
  margin: 0;
}
.country-url {
  font-family: var(--font-mono);
  font-size: 13px; color: var(--ink-700);
  margin-top: 6px; word-break: break-all;
}
.country-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.country-foot .label {
  font-size: 13px; font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--ink-700);
}
.country-foot .arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink-900); color: var(--cream-50);
  display: grid; place-items: center;
  transition: background var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
.country-foot .arrow svg { width: 16px; height: 16px;
}
.country-card:hover .arrow { background: var(--saffron-500); color: var(--ink-900); transform: translateX(4px);
}
.country-card[data-featured="true"] { background: var(--ink-900); color: var(--cream-50); border-color: transparent;
}
.country-card[data-featured="true"] .country-flag { background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10);
}
.country-card[data-featured="true"] .country-url { color: rgba(250,246,236,0.7);
}
.country-card[data-featured="true"] .country-foot { border-color: rgba(255,255,255,0.10);
}
.country-card[data-featured="true"] .country-foot .label { color: var(--saffron-500);
}
.country-card[data-featured="true"] .arrow { background: var(--saffron-500); color: var(--ink-900);
}
.country-card[data-featured="true"]::after { background: rgba(255, 210, 63, 0.18);
}
.country-card.is-hidden { display: none;
}
footer .col-links { display: grid; gap: 12px;
}
footer .col-links a {
  color: rgba(250,246,236,0.85);
  text-decoration: none;
  font-size: 15px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: color var(--dur-micro) var(--ease);
}
footer .col-links a .mini-flag { font-size: 16px;
}
footer .col-links a:hover { color: var(--saffron-500);
}
footer .blurb { font-size: 15px; color: rgba(250,246,236,0.7); line-height: 1.6; margin: 18px 0 0; max-width: 340px;
}
footer .contact { font-size: 15px; color: rgba(250,246,236,0.85); line-height: 1.65; font-style: normal;
}
footer .contact a { color: rgba(250,246,236,0.85); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.18);
}
footer .contact a:hover { color: var(--saffron-500); border-color: var(--saffron-500);
}