/* Country selection remains clear on small screens, including the all-country view. */
.hero-country-row .country-switch{min-width:0}
.hero-country-row .country-switch button{white-space:nowrap}
.discover-country-filter{display:inline-grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;max-width:100%;padding:5px;margin:0 0 15px;background:#edf3eb;border:1px solid #dce7dc;border-radius:16px}
.discover-country-filter button{min-height:44px;min-width:0;padding:9px 15px;border:0;border-radius:12px;background:transparent;color:#456456;font:700 13px/1.2 'DM Sans',sans-serif;cursor:pointer;white-space:nowrap}
.discover-country-filter button.active{background:#153d33;color:#fff;box-shadow:0 5px 14px #153d3326}
.discover-country-filter button:focus-visible{outline:3px solid #ef7a62;outline-offset:2px}
.studio-country{grid-template-columns:repeat(3,minmax(0,1fr))}
.studio-country button{min-width:0}
@media(max-width:720px){
  .hero-country-row{flex-wrap:wrap}
  .hero-country-row .country-switch{width:100%;flex:1 0 100%;grid-template-columns:repeat(2,minmax(0,1fr));border-radius:20px}
  .hero-country-row .country-switch button{min-width:0;padding-inline:8px;font-size:12px}
  .hero-country-row .use-location{width:auto;max-width:100%;padding-inline:14px;white-space:nowrap}
  .hero-country-row .use-location span{position:static;width:auto;height:auto;overflow:visible}
}
@media(max-width:420px){
  .nav-actions .country-switch.compact{display:none}
  .discover-country-filter{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}
  .discover-country-filter button{white-space:normal;padding-inline:8px}
  .studio-country{gap:7px}
  .studio-country button{justify-content:center;min-height:52px;padding:8px 5px;font-size:12px}
  .studio-country button>span,.studio-country button>svg{display:none}
}
