/* Régions & datacenters — /regions */

@import url('./transit-ip.css');

.rg .rg-hero-visual img {
  width: min(100%, 480px);
}

.rg-map {
  margin: 8px auto 0;
  max-width: 920px;
  padding: 20px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 70% 20%, rgba(56, 189, 248, 0.18), transparent 45%),
    linear-gradient(160deg, #eef6fc, #e2eef8);
}

.rg-map img {
  display: block;
  width: 100%;
  height: auto;
}

/* Cards pays — même design que VPS « emplacements » */
.rg-world-section.vps-world-section {
  padding: 80px 0 100px;
  background: #f8fafc;
}

.rg .vps-world-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.75rem;
}

.rg .vps-world-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #1e3a8a;
}

.rg .vps-world-head h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.rg .vps-world-desc {
  margin: 0;
  color: #64748b;
  font-size: 1.02rem;
  line-height: 1.65;
}

.rg .vps-world-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.rg .vps-world-card {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.4rem 1.35rem 1.5rem;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  color: inherit;
}

.rg .vps-world-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.12);
}

.rg .vps-world-card-link {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #cbd5e1;
  font-size: 0.85rem;
  transition: color .15s;
}

.rg .vps-world-card:hover .vps-world-card-link {
  color: #2563eb;
}

.rg .vps-world-flag {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 0.9rem;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08), 0 4px 10px rgba(15, 23, 42, 0.08);
  background: #fff;
}

.rg .vps-world-flag img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.rg .vps-world-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  padding-right: 1.5rem;
}

.rg .vps-world-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #64748b;
}

@media (max-width: 991px) {
  .rg .vps-world-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .rg .vps-world-grid {
    grid-template-columns: 1fr;
  }
}
