/* v8-ssr: unified Follmann Bridge base stylesheet (zero serif/sans font shifts). */
:root {
  --bridge-blue: #24458c;
  --bridge-blue-dark: #162b60;
  --bridge-sand: #c7a082;
  --bridge-ink: #162330;
  --bridge-shell: 1120px;
  --bridge-font: Lato, 'Segoe UI', Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-family: var(--bridge-font);
}

body {
  margin: 0;
  color: var(--bridge-ink);
  font-family: var(--bridge-font) !important;
  font-size: 17px;
  line-height: 1.65;
  background: #fff;
}

body * {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

.container,
.site-content .container,
.et_pb_row {
  width: min(100% - 40px, var(--bridge-shell)) !important;
  max-width: var(--bridge-shell) !important;
  margin-inline: auto !important;
}

.site {
  overflow-x: clip;
}

.entry-content {
  padding: 34px 0 56px;
}

.entry-content.fb-catalog-entry {
  padding: 24px 0 48px;
}

.entry-content p,
.et_pb_text_inner p {
  font-family: var(--bridge-font);
  font-size: clamp(16px, 1.12vw, 18px);
  line-height: 1.72;
}

.entry-content h1,
.entry-content h2,
.et_pb_text_inner h2,
.entry-content .et_pb_module_header {
  color: var(--bridge-blue) !important;
  font: 700 clamp(22px, 2.4vw, 35px)/1.24 var(--bridge-font) !important;
  letter-spacing: -0.015em;
  margin: 20px 0 16px;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* Prevent legacy theme h2::after centered underline from floating in mid-air on left-aligned headings */
.entry-content h2:not([style*="center"])::after,
.et_pb_text_inner h2:not([style*="center"])::after {
  margin: 12px 0 0 !important;
}

html.fb-v5-legal .entry-content h2::after {
  display: none !important;
  content: none !important;
}

.entry-content h3,
.et_pb_text_inner h3 {
  color: var(--bridge-ink);
  font: 600 clamp(19px, 1.5vw, 23px)/1.38 var(--bridge-font) !important;
}

.entry-content ul {
  padding-left: 22px;
  margin: 14px 0 24px;
}

.entry-content ul li {
  margin-bottom: 9px;
  line-height: 1.62;
}

.entry-content a {
  text-underline-offset: 3px;
}

.et_pb_row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: clamp(16px, 2vw, 30px);
  padding: 22px 0;
}

.et_pb_column {
  flex: 1 1 240px;
  min-width: 0;
}

.et_pb_column_empty {
  display: none !important;
}

.et_pb_module {
  max-width: 100%;
}

.et_pb_image_wrap,
.et_pb_image {
  display: block;
}

.et_pb_image img,
img[data-src],
img[data-lazy-src] {
  opacity: 1 !important;
  visibility: visible !important;
}

.et_pb_image img {
  max-height: 420px;
  object-fit: cover;
}

.et_pb_button,
.entry-content a.et_pb_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--bridge-blue);
  border-radius: 3px;
  padding: 9px 24px;
  text-decoration: none;
  color: var(--bridge-blue);
  font: 700 15px/1.2 var(--bridge-font);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.et_pb_button:hover,
.entry-content a.et_pb_button:hover {
  background: var(--bridge-blue);
  color: #fff;
}

.bridge-contact-summary {
  max-width: 760px;
  margin: 18px auto 20px;
  padding: 22px 26px;
  background: #f8fafc;
  border: 1px solid #dde5ee;
  border-top: 4px solid var(--bridge-sand);
  border-radius: 4px;
}

.bridge-contact-summary p {
  margin: 8px 0;
  font-size: 16px;
}

.bridge-contact-summary a {
  color: var(--bridge-blue);
  font-weight: 600;
}

.bridge-message {
  margin: 14px auto 32px;
  max-width: 760px;
  padding: 15px 20px;
  border: 1px solid #9fb3cc;
  border-left: 4px solid var(--bridge-blue);
  border-radius: 4px;
  background: #f4f7fb;
  font-size: 15px;
}

.pre-footer {
  padding: 44px 0;
  background: #f6f7f9;
  border-top: 1px solid #e5eaf0;
}

.pre-footer h2 {
  font: 700 clamp(24px, 2.3vw, 32px)/1.25 var(--bridge-font) !important;
  color: var(--bridge-blue-dark) !important;
  margin: 0 0 22px;
}

.pre-footer .cta > div {
  text-align: center;
  margin-bottom: 12px;
}

.pre-footer .cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: min(100%, 260px);
  padding: 11px 26px;
  border-radius: 3px;
  background: var(--bridge-blue);
  color: #fff !important;
  font: 700 16px/1.2 var(--bridge-font);
  text-decoration: none;
  transition: background-color 0.16s ease;
}

.pre-footer .cta a:hover {
  background: var(--bridge-blue-dark);
}

.site-footer,
#colophon {
  background: var(--bridge-blue);
  color: #fff;
  padding: 24px 0;
}

.site-footer a,
#colophon a {
  color: #fff;
}

#colophon .footer-menu-class {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
}

#colophon #menu-footer {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 900px) {
  .et_pb_row {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .entry-content {
    padding-top: 20px;
  }

  .container,
  .site-content .container,
  .et_pb_row {
    width: min(100% - 28px, var(--bridge-shell)) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .et_pb_button,
  .pre-footer .cta a {
    transition: none;
  }
}
