/**
 * Our Network — country flag sizing (loads after main.css).
 */

.network-explore-section .network-card__flag-wrap {
  box-sizing: border-box;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 3rem;
  aspect-ratio: 3 / 2;
  padding: 3px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 0.375rem;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.network-explore-section .network-card__flag-wrap--panel {
  width: 4.5rem;
}

@media (min-width: 40rem) {
  .network-explore-section .network-card__flag-wrap {
    width: 3.375rem;
  }
}

@media (min-width: 48rem) {
  .network-explore-section .network-card__flag-wrap {
    width: 3.75rem;
  }

  .network-explore-section .network-card__flag-wrap--panel {
    width: 4.75rem;
  }
}

.network-explore-section .network-card__flag-wrap .network-card__flag {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border: 0;
  border-radius: 2px;
  box-shadow: none;
  object-fit: contain;
  object-position: center;
  aspect-ratio: auto;
}
