/* Extend the blue through the Kadence row, not just through its HTML widget. */
#colophon:has(#s365-site-footer) { background: #10233b !important; }
#colophon .site-footer-row-container:has(#s365-site-footer),
#colophon .site-footer-row-container-inner:has(#s365-site-footer) {
  background: #10233b !important;
  padding-block: 0 !important;
  margin-block: 0 !important;
}
#colophon .site-footer-row-container-inner > .site-container:has(#s365-site-footer) {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
}
#colophon .site-footer-row-columns-1:has(#s365-site-footer) {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
#colophon .site-footer-row-columns-1 :is(.site-footer-section, .footer-widget-area, .footer-widget-area-inner, .widget):has(#s365-site-footer) {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#colophon #s365-site-footer {
  --base: #10233b;
  --ink: #f7faff;
  --muted: #d3deec;
  --line: #40546d;
  --red: #bd1028;
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin: 0;
  background: var(--base) !important;
  color: var(--ink) !important;
  font: normal 400 15px/1.5 system-ui, sans-serif !important;
  text-align: start !important;
  overflow-wrap: anywhere;
}
#colophon #s365-site-footer * { box-sizing: border-box; }
#colophon #s365-site-footer :is(h2,h3,p) {
  margin: 0 !important;
  font-family: inherit !important;
  font-style: normal !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  background: none !important;
  color: var(--ink) !important;
}
#colophon #s365-site-footer .s365ft-wrap { width: min(1512px, calc(100% - 88px)); margin-inline: auto; }
#colophon #s365-site-footer .s365ft-inquiry { background: #192f4b !important; color: var(--ink) !important; border: 0; border-bottom: 1px solid var(--line); }
#colophon #s365-site-footer .s365ft-inquiry .s365ft-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-block: 23px; }
#colophon #s365-site-footer h2 { font-size: 23px !important; line-height: 1.2 !important; font-weight: 720 !important; }
#colophon #s365-site-footer .s365ft-inquiry p { margin-top: 5px !important; color: var(--muted) !important; }
#colophon #s365-site-footer .s365ft-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  max-width: 100%;
  padding: 9px 16px;
  border: 1px solid #ef7081;
  border-radius: 6px;
  background: var(--red) !important;
  color: #fff !important;
  font-weight: 720;
  text-decoration: none !important;
}
#colophon #s365-site-footer .s365ft-cta:hover { background: #a50e22 !important; }
#colophon #s365-site-footer .s365ft-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,1.1fr) repeat(2,minmax(0,1fr)); align-items: start; gap: 24px 34px; padding-block: 36px 30px; }
#colophon #s365-site-footer .s365ft-brand { display: block; min-width: 0; text-align: start !important; }
#colophon #s365-site-footer .s365ft-brand a { display: inline-block; vertical-align: top; }
#colophon #s365-site-footer .s365ft-brand img { display: block; width: 158px; height: auto; max-width: 100%; margin: 0 0 9px !important; }
#colophon #s365-site-footer .s365ft-brand p { max-width: 28ch; color: var(--muted) !important; }
#colophon #s365-site-footer .s365ft-grid h3 { margin-bottom: 7px !important; font-size: 16px !important; line-height: 1.3 !important; font-weight: 750 !important; }
#colophon #s365-site-footer :is(.s365ft-links, .s365ft-meta ul) { list-style: none !important; margin: 0 !important; padding: 0 !important; }
#colophon #s365-site-footer li { margin: 0 !important; padding: 0 !important; }
#colophon #s365-site-footer :is(.s365ft-links, .s365ft-meta) a { display: inline-flex; align-items: center; min-height: 34px; color: var(--muted) !important; font-size: 14px; font-style: normal; text-decoration: none; text-underline-offset: 4px; }
#colophon #s365-site-footer :is(.s365ft-links, .s365ft-meta) a:hover { color: #fff !important; text-decoration: underline; }
#colophon #s365-site-footer a:focus-visible { outline: 2px solid #ffd1d8 !important; outline-offset: 3px; }
#colophon #s365-site-footer .s365ft-legal { border-top: 1px solid var(--line); background: #0c1c30 !important; }
#colophon #s365-site-footer .s365ft-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; padding-block: 14px; color: var(--muted) !important; font-size: 13px; }
#colophon #s365-site-footer .s365ft-meta strong { color: var(--ink) !important; }
#colophon #s365-site-footer .s365ft-meta ul { display: flex; flex-wrap: wrap; gap: 4px 18px; }

@media (max-width: 900px) {
  #colophon #s365-site-footer .s365ft-wrap { width: calc(100% - 52px); }
  #colophon #s365-site-footer .s365ft-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px 24px; }
  #colophon #s365-site-footer .s365ft-brand { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
  #colophon #s365-site-footer .s365ft-brand img { width: 130px; margin-bottom: 0 !important; }
}
@media (max-width: 560px) {
  #colophon #s365-site-footer .s365ft-wrap { width: calc(100% - 36px); }
  #colophon #s365-site-footer .s365ft-inquiry .s365ft-wrap { flex-direction: column; align-items: start; padding-block: 18px; }
  #colophon #s365-site-footer h2 { font-size: 20px !important; }
  #colophon #s365-site-footer .s365ft-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 16px; padding-block: 22px 16px; }
  #colophon #s365-site-footer .s365ft-brand img { width: 113px; }
  #colophon #s365-site-footer .s365ft-brand p { flex: 1 1 135px; }
  #colophon #s365-site-footer .s365ft-access { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 15px; }
  #colophon #s365-site-footer .s365ft-access ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; }
  #colophon #s365-site-footer :is(.s365ft-links, .s365ft-meta) a { min-height: 44px; }
}
