.alerts-content-transition {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.services-content {
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.services-page {
  --services-page-inline-padding: clamp(14px, 3vw, 28px);
  box-sizing: border-box;
  width: min(100%, 760px);
  max-width: 100vw;
  min-width: 0;
  margin: 0 auto;
  padding: 24px var(--services-page-inline-padding) calc(112px + env(safe-area-inset-bottom));
  color: #17181a;
  color: var(--text-color, #17181a);
}

.services-page__header {
  padding: 4px 2px 20px;
}

.services-page__header h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.services-page__header p {
  max-width: 580px;
  margin: 10px 0 0;
  color: color-mix(in srgb, currentColor 62%, transparent);
  font-size: 15px;
  line-height: 1.45;
}

.services-list {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-gap: 18px;
  gap: 18px;
}

.service-country-groups {
  display: grid;
  min-width: 0;
  grid-gap: 34px;
  gap: 34px;
}

.service-country {
  width: 100%;
  min-width: 0;
  content-visibility: auto;
  contain-intrinsic-block-size: auto 720px;
}

.services-page__load-sentinel {
  width: 100%;
  height: 1px;
}

.service-country__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 2px 12px;
}

.service-country__header h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.service-country__header span {
  display: grid;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  place-items: center;
  border-radius: 999px;
  color: color-mix(in srgb, currentColor 62%, transparent);
  background: color-mix(in srgb, currentColor 8%, transparent);
  font-size: 12px;
  font-weight: 750;
}

.service-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(35, 39, 45, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 32px rgba(30, 37, 48, 0.08);
}

.service-card__map-button {
  display: grid;
  width: 28px;
  height: 28px;
  margin: -6px -6px -6px -7px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.service-card__map-button:active {
  transform: scale(0.92);
}

.service-card__map-button:focus-visible {
  outline: 2px solid #7768e8;
  outline: 2px solid var(--accent, #7768e8);
  outline-offset: 1px;
}

.service-card__hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 142px;
  padding: 18px 20px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.94);
  background: #7768e8;
}

.service-card__hero::before,
.service-card__hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

.service-card__hero::before {
  width: 210px;
  height: 210px;
  top: -118px;
  right: -38px;
}

.service-card__hero::after {
  width: 150px;
  height: 150px;
  left: 18%;
  bottom: -116px;
}

.service-card__hero--blue { background: #3183bf; }
.service-card__hero--coral { background: #d66b61; }
.service-card__hero--green { background: #478d78; }
.service-card__hero--amber { background: #c58a34; }

.service-card__hero .mdi-icon {
  position: relative;
  z-index: 1;
}

.service-card__hero img {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-page__loader {
  width: 32px;
  height: 32px;
  margin: 42px auto;
  border: 3px solid color-mix(in srgb, currentColor 14%, transparent);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: services-loader-spin 700ms linear infinite;
}

.service-card__hero .mdi-icon {
  width: 42px;
  height: 42px;
  opacity: 0.88;
}

.service-card__body {
  min-width: 0;
  padding: 18px 20px 20px;
}

.service-card__eyebrow {
  display: flex;
  align-items: center;
  gap: 5px;
  color: color-mix(in srgb, currentColor 56%, transparent);
  font-size: 12px;
  font-weight: 650;
}

.service-card__eyebrow span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.service-card__eyebrow .mdi-icon {
  width: 16px;
  height: 16px;
}

.service-card h3 {
  margin: 7px 0 6px;
  font-size: 20px;
  line-height: 1.16;
  letter-spacing: -0.018em;
  overflow-wrap: anywhere;
}

.service-card p {
  margin: 0;
  color: color-mix(in srgb, currentColor 68%, transparent);
  font-size: 14px;
  line-height: 1.45;
}

.service-card__contacts {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  margin-top: 16px;
}

.service-card__contacts div {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.service-card__contacts .mdi-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: color-mix(in srgb, currentColor 48%, transparent);
}

.service-card__contacts b {
  min-width: 0;
  overflow-wrap: anywhere;
  color: color-mix(in srgb, currentColor 82%, transparent);
  font-size: 12px;
  font-weight: 720;
}

.theme-dark .services-page { color: #f5f5f7; }
.theme-dark .service-card {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(34, 35, 39, 0.94);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
}

@media (orientation: portrait) and (max-width: 519px) {
  
  body.nav-mobile-active
    .page-shell[data-route="alerts"][data-route-tab="services"]
    .services-page {
    padding-top: calc(
      var(--floating-topbar-content-top)
      + 20px
    );
    padding-top: calc(
      var(--floating-topbar-content-top)
      + var(--app-route-content-gap, 20px)
    );
  }
}

@media (min-width: 720px) {
  .services-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 719px) {
  .services-list {
    width: auto;
    margin-inline: calc(-1 * var(--services-page-inline-padding));
  }
}

@keyframes services-loader-spin {
  to { transform: rotate(360deg); }
}

