/* Refresh only the legacy home sections. Keep their links, content and
   existing accordion/card behaviour, including localized city home pages. */
#allrecords :is(#rec2343411621, #rec2344091971, #rec2344378871, #rec2344392961),
#allrecords :is(#rec2343411621, #rec2344091971, #rec2344378871, #rec2344392961) * {
  box-sizing: border-box;
  font-family: var(--t-text-font), Arial, sans-serif;
}

#allrecords #rec2343411621 {
  padding: 52px 0 !important;
  background: linear-gradient(180deg, #f3fbff, #ffffff);
}

#allrecords #rec2344091971 {
  padding: 52px 0 !important;
  background: #eefaff;
}

#allrecords #rec2344378871 {
  padding: 52px 0 0 !important;
  background: #f7fcff;
}

#allrecords #rec2344392961 {
  padding: 24px 0 52px !important;
  background: #f7fcff;
}

#allrecords :is(#rec2343411621, #rec2343583491, #rec2344091971) .t-section__container,
#allrecords #rec2343411621 .t-card__container,
#allrecords #rec2344091971 .t1050__container {
  width: min(1180px, calc(100% - 40px));
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

#allrecords :is(#rec2343411621, #rec2343583491, #rec2344091971) .t-section__container > .t-col,
#allrecords #rec2344378871 .t-col {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  float: none;
}

#allrecords :is(#rec2343411621, #rec2343583491, #rec2344091971) .t-section__title,
#allrecords #rec2344378871 .t050__title {
  max-width: 100%;
  margin: 0 0 28px !important;
  color: #062b3a;
  font-size: clamp(1.875rem, 3.2vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-align: left;
  overflow-wrap: anywhere;
}

#allrecords #rec2344378871 .t050__title {
  margin-bottom: 0 !important;
}

#allrecords #rec2344378871 .t050__title > div {
  font-size: inherit !important;
  line-height: inherit;
}

/* Equal-height cards, with full images and aligned calls to action. */
#allrecords #rec2343411621 .t-card__container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

#allrecords #rec2343411621 .t-card__container::before,
#allrecords #rec2343411621 .t-card__container::after,
#allrecords #rec2344091971 .t1050__container::before,
#allrecords #rec2344091971 .t1050__container::after,
#allrecords #rec2344392961 .t-container::before,
#allrecords #rec2344392961 .t-container::after {
  display: none;
}

#allrecords #rec2343411621 .t649__col {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0 !important;
  padding: 0;
  float: none;
  border: 1px solid #d9ebf6;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(6, 43, 58, 0.07);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

#allrecords #rec2343411621 .t649__col:hover {
  border-color: #89cce9;
  box-shadow: 0 16px 38px rgba(6, 43, 58, 0.12);
}

#allrecords #rec2343411621 .t649__col:focus-within {
  outline: 3px solid #0b8ed8;
  outline-offset: 4px;
}

#allrecords #rec2343411621 .t649__blockimg {
  width: 100%;
  height: 220px;
  padding: 18px !important;
  border-radius: 26px 26px 0 0;
  background-size: contain !important;
  background-origin: content-box;
  flex-shrink: 0;
}

#allrecords #rec2343411621 .t649__textwrapper {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 20px !important;
}

#allrecords #rec2343411621 .t-card__title {
  margin: 0 0 12px;
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 800;
}

#allrecords #rec2343411621 .t-card__link {
  color: #062b3a;
}

#allrecords #rec2343411621 .t-card__descr {
  margin: 0 0 20px;
  color: #526f7c;
  font-size: 1rem;
  line-height: 1.6;
}

#allrecords #rec2343411621 .t649__btn-container {
  margin-top: auto;
  padding: 0;
}

#allrecords #rec2343411621 .t-card__btn-wrapper {
  display: block;
  padding: 0;
}

#allrecords #rec2343411621 .t-card__btn {
  display: flex;
  width: 100%;
  min-height: 52px;
  height: auto;
  padding: 14px 18px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #0876b4, #0a7cab);
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 800;
  white-space: normal;
  box-shadow: 0 10px 24px rgba(11, 142, 216, 0.2) !important;
}

#allrecords #rec2343411621 .t-card__btn:hover {
  background: linear-gradient(135deg, #086b9e, #096e98);
}

#allrecords #rec2343411621 .t-btnflex__text {
  overflow: visible;
  white-space: normal;
  text-overflow: clip;
}

/* The existing four-step list becomes a consistent, numbered process. */
#allrecords #rec2344091971 .t1050__container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  counter-reset: aq-home-step;
}

#allrecords #rec2344091971 .t1050__col {
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0 !important;
  padding: 24px;
  border: 1px solid #d9ebf6;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(6, 43, 58, 0.05);
  counter-increment: aq-home-step;
}

#allrecords #rec2344091971 .t1050__col::before {
  content: counter(aq-home-step, decimal-leading-zero);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: #e6f6ff;
  color: #0876b4;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1;
}

#allrecords #rec2344091971 .t-heading {
  min-height: 2.5em;
  margin: 0;
  padding: 0;
  color: #062b3a;
  font-size: 1.375rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 800;
  overflow-wrap: anywhere;
}

#allrecords #rec2344091971 .t1050__line {
  width: 40px;
  margin: 16px 0;
  border-top: 2px solid #b8e4f6 !important;
}

#allrecords #rec2344091971 .t-descr {
  margin: 0;
  padding: 0;
  color: #526f7c;
  font-size: 1rem;
  line-height: 1.6;
}

/* Restyle the accordion without overriding its hidden/open state. */
#allrecords :is(#rec2344378871, #rec2344392961) .t-container {
  width: min(900px, calc(100% - 40px));
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

#allrecords #rec2344392961 .t-col {
  width: 100%;
  max-width: none;
  margin: 0 0 12px;
  padding: 0;
  float: none;
}

#allrecords #rec2344392961 .t-col:last-child {
  margin-bottom: 0;
}

#allrecords #rec2344392961 .t585__accordion {
  border: 1px solid #d9ebf6;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(6, 43, 58, 0.04);
}

#allrecords #rec2344392961 .t585__header {
  border: 0 !important;
}

#allrecords #rec2344392961 .t585__trigger-button {
  min-height: 72px;
  padding: 20px 76px 20px 24px;
  border-radius: 18px;
}

#allrecords #rec2344392961 .t585__trigger-button:focus-visible {
  outline: 3px solid #0b8ed8;
  outline-offset: 3px;
}

#allrecords #rec2344392961 .t585__trigger-button[aria-expanded="true"] {
  background: #f3fbff;
}

#allrecords #rec2344392961 .t585__title {
  color: #062b3a;
  font-size: 1.125rem;
  line-height: 1.45;
  font-weight: 750;
  overflow-wrap: anywhere;
}

#allrecords #rec2344392961 .t585__trigger-button[aria-expanded="true"] .t585__title {
  color: #0876b4;
}

#allrecords #rec2344392961 .t585__icon {
  right: 20px;
  width: 40px;
  height: 40px;
  padding: 10px;
}

#allrecords #rec2344392961 .t585__lines svg {
  width: 100%;
  height: 100%;
}

#allrecords #rec2344392961 .t585__lines g[stroke] {
  stroke: #0876b4;
}

#allrecords #rec2344392961 .t585__circle {
  background-color: #e6f6ff !important;
}

#allrecords #rec2344392961 .t585__icon-hover .t585__circle {
  background-color: #d4effb !important;
}

#allrecords #rec2344392961 .t585__textwrapper {
  padding: 8px 24px 22px;
}

#allrecords #rec2344392961 .t585__text {
  margin: 0;
  color: #526f7c;
  font-size: 1rem;
  line-height: 1.65;
}

#allrecords #rec2344392961 .t585__border {
  display: none;
}

@media (max-width: 980px) {
  #allrecords #rec2343411621 .t-card__container {
    grid-template-columns: minmax(0, 1fr);
  }

  #allrecords #rec2343411621 .t649__col {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
  }

  #allrecords #rec2343411621 .t649__blockimg {
    height: 240px;
    border-radius: 26px 0 0 26px;
  }

  #allrecords #rec2344091971 .t1050__container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #allrecords :is(#rec2343411621, #rec2344091971) {
    padding: 36px 0 !important;
  }

  #allrecords #rec2344378871 {
    padding-top: 36px !important;
  }

  #allrecords #rec2344392961 {
    padding: 20px 0 36px !important;
  }

  #allrecords :is(#rec2343411621, #rec2343583491, #rec2344091971, #rec2344378871, #rec2344392961) .t-container {
    width: calc(100% - 28px);
  }

  #allrecords :is(#rec2343411621, #rec2343583491, #rec2344091971) .t-section__title {
    margin-bottom: 24px !important;
  }

  #allrecords #rec2343411621 .t649__col {
    display: flex;
    border-radius: 22px;
  }

  #allrecords #rec2343411621 .t649__blockimg {
    height: 180px;
    border-radius: 22px 22px 0 0;
  }

  #allrecords #rec2343411621 .t649__textwrapper {
    padding: 18px !important;
  }

  #allrecords #rec2343411621 .t-card__title {
    font-size: 1.375rem;
  }

  #allrecords #rec2344091971 .t1050__container {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  #allrecords #rec2344091971 .t1050__col {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 8px 14px;
    padding: 20px;
    border-radius: 20px;
  }

  #allrecords #rec2344091971 .t1050__col::before {
    grid-row: 1 / span 2;
    margin: 0;
  }

  #allrecords #rec2344091971 .t-heading {
    min-height: 0;
    font-size: 1.25rem;
  }

  #allrecords #rec2344091971 .t1050__line {
    display: none;
  }

  #allrecords #rec2344091971 .t-descr {
    grid-column: 2;
  }

  #allrecords #rec2344392961 .t585__trigger-button {
    padding: 18px 60px 18px 18px;
  }

  #allrecords #rec2344392961 .t585__title {
    font-size: 1rem;
  }

  #allrecords #rec2344392961 .t585__icon {
    right: 12px;
    width: 34px;
    height: 34px;
    padding: 8px;
  }

  #allrecords #rec2344392961 .t585__circle {
    width: 34px;
    height: 34px;
  }

  #allrecords #rec2344392961 .t585__textwrapper {
    padding: 6px 18px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #allrecords #rec2343411621 .t649__col,
  #allrecords #rec2343411621 .t-card__btn {
    transition: none;
  }
}
