/* MDP Central premium card treatment */
body .shortcut,
body .service-grid > a,
body .secondary-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #dce6ee !important;
  border-radius: 14px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.995) 0%, rgba(251,253,255,.995) 60%, rgba(247,250,252,.995) 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.98),
    0 2px 5px rgba(11,35,54,.045),
    0 10px 24px rgba(11,35,54,.075) !important;
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    background-color .2s ease !important;
}

body .shortcut {
  min-height: 164px !important;
  padding: 18px 14px 17px !important;
}

body .shortcut::before,
body .service-grid > a::before,
body .secondary-card::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 2px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(
    90deg,
    rgba(35,145,196,0),
    rgba(35,145,196,.72) 24%,
    rgba(72,184,225,.9) 50%,
    rgba(35,145,196,.72) 76%,
    rgba(35,145,196,0)
  );
  opacity: .68;
  pointer-events: none;
  z-index: 2;
}

body .shortcut::after,
body .service-grid > a::after,
body .secondary-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% -8%, rgba(30,144,197,.095), transparent 38%),
    linear-gradient(135deg, rgba(255,255,255,.48), transparent 48%);
}

body .shortcut:hover,
body .service-grid > a:hover,
body .secondary-card:hover {
  transform: translateY(-4px) !important;
  border-color: #bdd7e6 !important;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 55%, #f2f8fb 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 5px 10px rgba(9,33,52,.07),
    0 16px 34px rgba(9,33,52,.13) !important;
}

body .shortcut .city-illustration-shortcut {
  position: relative;
  z-index: 2;
  width: 60px !important;
  height: 60px !important;
  border-radius: 15px !important;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%) !important;
  border: 1px solid #d9e4eb !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 5px 13px rgba(18,48,69,.10) !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease !important;
}

body .shortcut:hover .city-illustration-shortcut {
  transform: translateY(-1px) scale(1.035);
  border-color: #c6dbe7 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 8px 18px rgba(18,48,69,.14) !important;
}

body .shortcut strong {
  position: relative;
  z-index: 2;
  margin-top: 11px !important;
  color: #12283a !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  letter-spacing: -.015em;
}

body .shortcut small {
  position: relative;
  z-index: 2;
  margin-top: 7px !important;
  color: #536574 !important;
  line-height: 1.42 !important;
}

body .service-grid > a {
  padding: 15px !important;
}

body .service-grid > a .city-illustration-quick {
  background: linear-gradient(180deg, #fff, #f3f7fa) !important;
  border: 1px solid #dde6ec !important;
  box-shadow: 0 4px 12px rgba(18,48,69,.08) !important;
}

/* Secondary editorial cards next to the hero */
body .secondary-news {
  gap: 12px !important;
}

body .secondary-card {
  min-height: 0 !important;
  padding: 10px !important;
  gap: 15px !important;
  align-items: stretch !important;
}

body .secondary-card > img,
body .secondary-card > .editorial-cover {
  width: 122px !important;
  min-width: 122px !important;
  height: auto !important;
  min-height: 108px !important;
  align-self: stretch !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  border: 1px solid rgba(27,73,101,.10) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    0 6px 16px rgba(13,42,61,.10) !important;
  transition: transform .22s ease, box-shadow .22s ease !important;
}

body .secondary-card > img {
  object-fit: cover !important;
}

body .secondary-card:hover > img,
body .secondary-card:hover > .editorial-cover {
  transform: scale(1.025) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.6),
    0 9px 22px rgba(13,42,61,.14) !important;
}

body .secondary-card > div:last-child {
  display: flex !important;
  min-width: 0 !important;
  flex: 1 !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding: 4px 10px 4px 0 !important;
}

body .secondary-card .badge {
  border-radius: 6px !important;
  padding: 5px 8px !important;
  font-size: 9.5px !important;
  letter-spacing: .01em !important;
  box-shadow: 0 3px 8px rgba(18,124,182,.12) !important;
}

body .secondary-card h3 {
  margin-top: 10px !important;
  color: #132a3b !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  font-weight: 760 !important;
  letter-spacing: -.018em !important;
}

body .secondary-card small {
  margin-top: 14px !important;
  color: #6a7b89 !important;
  font-size: 10px !important;
}

body .secondary-card:hover h3 {
  color: #0b78b8 !important;
}

body .secondary-card:focus-visible,
body .shortcut:focus-visible,
body .service-grid > a:focus-visible {
  outline: 3px solid rgba(27,148,205,.28) !important;
  outline-offset: 3px !important;
}

@media (max-width: 1100px) {
  body .secondary-card > img,
  body .secondary-card > .editorial-cover {
    width: 108px !important;
    min-width: 108px !important;
  }
}

@media (max-width: 820px) {
  body .shortcut {
    min-height: 150px !important;
    padding: 16px 12px !important;
    border-radius: 13px !important;
  }

  body .shortcut .city-illustration-shortcut {
    width: 54px !important;
    height: 54px !important;
    border-radius: 14px !important;
  }

  body .secondary-card {
    border-radius: 13px !important;
  }
}
