/* rd-sun-v44: footer restore, mobile switchers, even about chips, policy headings */
@media (min-width: 1024px) {
  html body#f-theme .f-footer .f-accordion--item-content {
    display: block !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

@media (max-width: 1023px) {
  html body#f-theme .f-footer--currency-language {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    gap: 12px !important;
  }
  html body#f-theme .f-footer--bottom .f-language-switcher {
    margin-left: auto !important;
    margin-right: 0 !important;
  }
  html body#f-theme .f-button--scroll-top,
  html body#f-theme .f-button.f-button--scroll-top {
    bottom: 16px !important;
    right: 12px !important;
  }
  html body#f-theme .f-footer .f-select-custom.isActive .f-select-custom--options {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    top: auto !important;
    bottom: 140px !important;
    max-height: min(260px, calc(100vh - 180px)) !important;
  }
}

html body#f-theme.rd-ref-site #f-section-rd-about-layers.rd-about-layers .f-numbered-services__list {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
}
html body#f-theme.rd-ref-site #f-section-rd-about-layers.rd-about-layers .f-numbered-services__item {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
}
html body#f-theme.rd-ref-site #f-section-rd-about-layers.rd-about-layers .f-numbered-services__link {
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  padding: 12px 8px !important;
  gap: 4px !important;
}
html body#f-theme.rd-ref-site #f-section-rd-about-layers.rd-about-layers .f-numbered-services__title,
html body#f-theme.rd-ref-site #f-section-rd-about-layers.rd-about-layers .f-numbered-services__title-text {
  font-size: 13px !important;
  line-height: 1.25 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}
@media (max-width: 767px) {
  html body#f-theme.rd-ref-site #f-section-rd-about-layers.rd-about-layers .f-numbered-services__list {
    grid-template-columns: 1fr !important;
  }
  html body#f-theme.rd-ref-site #f-section-rd-about-layers.rd-about-layers .f-numbered-services__title,
  html body#f-theme.rd-ref-site #f-section-rd-about-layers.rd-about-layers .f-numbered-services__title-text {
    font-size: 16px !important;
    white-space: nowrap !important;
  }
}

html body#f-theme .main-page .f-page-content h2,
html body#f-theme .main-page .f-page-content h2 strong,
html body#f-theme .main-page .f-page-content.rte h2,
html body#f-theme .main-page .f-page-content h3,
html body#f-theme .main-page .f-page-content h3 strong,
html body#f-theme .main-page .f-page-content.rte h3 {
  font-size: 16px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}
