/* components/relo-countries.css — scoped hook for .rp-relo-countries (Relocation countries).
   Figma 16781:40223 — light-blue band, 6 white cards in a 3-col × 2-row grid, each a
   horizontal layout: 32px circular flag (left) + country name + visa/timeline meta. */

/* Section band — chain the body template class to beat migration.min.css's
   .main-section-holder{background:#fff} at equal specificity. */
body.page-template-page-relocation .rp-relo-countries {
  background: #F0F4FE;
}

/* The cards live inside a .hero_double_section_2 wrapper that ships a white
   background, which would cover the lower half of the blue band. Clear it so the
   section's #F0F4FE bleeds edge-to-edge behind the whole section. */
.rp-relo-countries .hero_double_section_2 {
  background: transparent;
}

/* 3-col grid (the markup also carries a .grid-4-cols class that would otherwise win). */
body.page-template-page-relocation .rp-relo-countries .relo-countries-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* Compact horizontal card: flag left, text stacked right. align-self:start so each
   card hugs its content instead of stretching to the tallest cell in the row. */
.rp-relo-countries .relo-countries-grid .int-item-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  align-self: start;
  padding: 21px;
  background: #FFFFFF;
  border: 1px solid #E8EAF1;
  border-radius: 16px;
  box-shadow: none;
}

.rp-relo-countries .relo-countries-grid .expand {
  flex: 0 0 auto;
  margin: 0;
  min-height: 0;
  display: flex;
  align-self: center;
}

.rp-relo-countries img.relo-flag {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.rp-relo-countries .relo-country-card .mt5 {
  margin: 0;
  text-align: start;
}

.rp-relo-countries .relo-country-name {
  font-size: 15px;
  font-weight: 700;
  color: #0E1E36;
  line-height: 1.55;
  text-align: start;
  margin: 0 0 2px;
}

.rp-relo-countries .relo-country-meta {
  font-size: 12px;
  font-weight: 400;
  color: #0E1E36;
  line-height: 1.55;
  margin-top: 0;
  text-align: start;
}

/* Footer line ("…plus 100+ more. Check your destination →") — centered, same size
   as the lead-in text, single arrow (Figma 16781:40289: 14px, #6B7794 lead-in +
   #114EF7 link, centered, 20px below the grid). The single → comes from the link's
   background-image arrow; scaled to the 14px text so it reads as one arrow. */
.rp-relo-countries .relo-countries-footer {
  text-align: center;
  font-size: 14px;
  line-height: 1.55;
  color: #6B7794;
  margin: 20px 0 0;
}

.rp-relo-countries .relo-countries-footer .txt-link {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  color: #114EF7;
  /* The link text already carries a literal "→" (matches Figma). The .txt-link
     class also paints a background-image arrow — drop it so only one arrow shows. */
  background-image: none;
  padding-right: 0;
}

@media (max-width: 991px) {
  body.page-template-page-relocation .rp-relo-countries .relo-countries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rp-relo-countries .relo-countries-grid .int-item-card {
    padding: 16px 18px;
  }
}

@media (max-width: 600px) {
  body.page-template-page-relocation .rp-relo-countries .relo-countries-grid {
    grid-template-columns: 1fr;
  }
}

/* Heading in sentence case + centered intro paragraph, max-width 720 (Figma 16781:40223). */
.rp-relo-countries > h2 { text-transform: none; }
.rp-relo-countries > p.double-slide-landing-page-left-label {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
