.fca-site-header,
.fca-site-footer {
  --fca-primary: var(--e-global-color-primary, #325d88);
  --fca-secondary: var(--e-global-color-secondary, #0277bd);
  --fca-accent: var(--e-global-color-accent, #ffb542);
  --fca-dark: #071b3a;
  font-family: var(--e-global-typography-text-font-family, "Roboto"), sans-serif;
}

/*
 * Jeg Kit stores its icons in Unicode's private-use area. Hide those glyphs
 * until jkiticon is ready so a fallback font cannot render them as CJK text.
 */
.jki::before {
  visibility: hidden !important;
}

.fca-jkiticon-ready .jki::before {
  visibility: visible !important;
}

/* Keep the legacy Elementor home eyebrow directly above the hero H1 (stacks responsively at every width). */
.fca-home-hero__copy {
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: center !important;
}

.fca-home-hero__copy > .fca-home-hero__eyebrow {
  order: -1 !important;
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
  inset: auto !important;
  transform: none !important;
}

.fca-home-hero__eyebrow .elementor-heading-title {
  margin: 0;
  color: var(--e-global-color-accent, #ffb542) !important;
  text-align: left;
}

.fca-site-header {
  position: relative;
  z-index: 100;
  border-bottom: 1px solid #dce6ee;
  background: #fff;
  color: #17324d;
}

.fca-site-header a { text-decoration: none; }

.fca-site-header__languages {
  display: flex;
  min-height: 40px;
  gap: 22px;
  align-items: center;
  justify-content: flex-end;
  padding: 7px max(24px, calc((100% - 1670px) / 2));
  border-bottom: 1px solid #e7edf2;
  font-size: 14px;
}

.fca-site-header__languages a { color: #17324d; }
.fca-site-header__languages a[aria-current="page"] { color: var(--fca-secondary); font-weight: 700; }

.fca-site-header__brand-row,
.fca-site-header__nav-row {
  display: grid;
  width: min(1670px, calc(100% - 48px));
  margin: 0 auto;
}

.fca-site-header__brand-row {
  grid-template-columns: 248px minmax(300px, 1fr) auto auto;
  align-items: center;
  border-bottom: 1px solid #e7edf2;
}

.fca-site-header__logo {
  display: grid;
  min-height: 174px;
  place-items: center;
  background: #06134f;
}

.fca-site-header__logo img { width: 180px; height: auto; }

.fca-site-header__contact {
  display: flex;
  min-width: 0;
  gap: 15px;
  align-items: center;
  padding: 24px 28px;
  color: #4e6173;
}

a.fca-site-header__contact { border-left: 1px solid #e7edf2; }
.fca-site-header__contact > span { color: var(--fca-accent); font-size: 31px; }
.fca-site-header__contact div { display: grid; gap: 5px; }
.fca-site-header__contact strong { color: var(--fca-primary); font-size: 19px; }
.fca-site-header__contact div > span { font-size: 15px; }

.fca-site-header__nav-row {
  min-height: 90px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 28px;
  align-items: center;
}

.fca-site-menu { display: flex; flex-wrap: wrap; gap: 8px 30px; margin: 0; padding: 0; list-style: none; }
.fca-site-menu a { color: #102a43; font-size: 15px; }
.fca-site-menu a:hover, .fca-site-menu a:focus-visible { color: var(--fca-secondary); }

.fca-site-header__social { display: flex; gap: 9px; }
.fca-site-header__social a { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #9badbd; border-radius: 50%; color: #17324d; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.fca-site-header__social a:hover, .fca-site-header__social a:focus-visible { border-color: var(--fca-secondary); color: var(--fca-secondary); }
.fca-site-header__social svg { display: block; width: 16px; height: 16px; fill: currentColor; }
.fca-site-header__partner { display: inline-flex; min-height: 48px; align-items: center; padding: 12px 24px; border-radius: 4px; background: var(--fca-accent); color: #17324d; font-weight: 700; }
.fca-site-header__toggle { display: none; }

.fca-site-footer { position: relative; z-index: 2; padding: 68px max(24px, calc((100% - 1180px) / 2)) 24px; background: var(--fca-dark); color: rgba(255,255,255,.78); }
.fca-site-footer__grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: clamp(44px, 8vw, 100px); }
.fca-site-footer__brand img { width: 190px; height: auto; }
.fca-site-footer__brand p { max-width: 350px; margin: 22px 0 0; line-height: 1.7; }
.fca-site-footer h2 { margin: 0 0 20px; color: #fff; font-family: var(--e-global-typography-primary-font-family, "Open Sans"), sans-serif; font-size: 17px; }
.fca-site-footer .fca-site-menu { display: grid; gap: 10px; }
.fca-site-footer .fca-site-menu a, .fca-site-footer__contact a { color: rgba(255,255,255,.78); }
.fca-site-footer .fca-site-menu a:hover, .fca-site-footer__contact a:hover { color: var(--fca-accent); }
.fca-site-footer__contact { display: grid; align-content: start; gap: 10px; }
.fca-site-footer__contact address { margin: 0 0 6px; font-style: normal; line-height: 1.6; }
.fca-site-footer__bottom { display: flex; gap: 24px; align-items: center; justify-content: space-between; margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: 12px; }
.fca-site-footer__bottom div { display: flex; gap: 18px; }
.fca-site-footer__bottom a { color: rgba(255,255,255,.72); }

/*
 * Keep the home-page photo mosaic only as tall as its images. Elementor's
 * "full height" option adds 100vh here, leaving a large blank area before
 * the blog section on all three translated home pages.
 */
.page-id-2806 .elementor-element-3892db7d,
.page-id-2803 .elementor-element-3892db7d,
.page-id-3062 .elementor-element-3892db7d,
.page-id-2806 .elementor-element-3892db7d > .elementor-container,
.page-id-2803 .elementor-element-3892db7d > .elementor-container,
.page-id-3062 .elementor-element-3892db7d > .elementor-container {
  height: auto !important;
  min-height: 0 !important;
}

body.fca-video-modal-open { overflow: hidden; }

.fca-video-modal {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(3, 15, 34, .88);
}

.fca-video-modal__dialog {
  position: relative;
  width: min(1120px, 100%, calc(177.78vh - 170.67px));
  width: min(1120px, 100%, calc(177.78dvh - 170.67px));
  border-radius: 6px;
  background: #000;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
}

.fca-video-modal__close {
  position: absolute;
  z-index: 1;
  top: -18px;
  right: -18px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 2px solid #071b3a;
  border-radius: 50%;
  background: #ffb542;
  color: #071b3a;
  cursor: pointer;
  font: 400 32px/1 Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

.fca-video-modal__close:hover,
.fca-video-modal__close:focus-visible {
  background: #f2a51a;
  color: #071b3a;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.fca-video-modal__player {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%;
  border-radius: inherit;
}

.fca-video-modal__player iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* The contact map must fill its complete Elementor column on desktop. */
@media (min-width: 768px) {
  .elementor-element-2ef909d3 .elementor-element-1cabb6da > .elementor-widget-wrap,
  .elementor-element-2ef909d3 .elementor-element-3337270a,
  .elementor-element-2ef909d3 .elementor-element-3337270a > .elementor-widget-container,
  .elementor-element-2ef909d3 .elementor-element-3337270a .elementor-custom-embed,
  .elementor-element-2ef909d3 .elementor-element-3337270a iframe {
    height: 100% !important;
  }

  .elementor-element-2ef909d3 .elementor-element-3337270a {
    width: 100% !important;
    max-width: none !important;
    flex: 1 1 auto;
    align-self: stretch;
  }

  .elementor-element-2ef909d3 .elementor-element-3337270a iframe {
    display: block;
    width: 100% !important;
    min-height: 100% !important;
  }
}

@media (max-width: 767px) {
  .elementor-element-2ef909d3 .elementor-element-3337270a,
  .elementor-element-2ef909d3 .elementor-element-3337270a iframe {
    width: 100% !important;
  }

  .elementor-element-2ef909d3 .elementor-element-3337270a iframe {
    height: 420px !important;
  }
}

@media (max-width: 1100px) {
  .fca-site-header__brand-row { grid-template-columns: 190px 1fr 1fr; }
  .fca-site-header__logo { grid-row: span 2; min-height: 150px; }
  .fca-site-header__brand-row > :last-child { grid-column: 2 / 4; border-top: 1px solid #e7edf2; }
  .fca-site-header__contact { padding: 18px 22px; }
  .fca-site-header__nav-row { grid-template-columns: 1fr auto; }
  .fca-site-header__navigation { grid-column: 1 / -1; order: 3; padding-bottom: 20px; }
}

/* Keep the home video action available in Elementor's mobile hero. */
@media (max-width: 767px) {
  .elementor-element-33e3023c.elementor-hidden-mobile {
    display: block !important;
    width: 100% !important;
  }

  .elementor-element-33e3023c > .elementor-container,
  .elementor-element-33e3023c .elementor-widget-wrap {
    width: 100% !important;
  }

  .elementor-element-33e3023c .elementor-element-4d2ac187 {
    width: 100% !important;
  }

  .elementor-element-33e3023c .elementor-heading-title {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    margin: 0;
  }

  .elementor-element-33e3023c a.play-video {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }
}

@media (max-width: 760px) {
  .fca-video-modal { padding: 12px; }
  .fca-video-modal__dialog {
    width: min(100%, calc(177.78vh - 42.67px));
    width: min(100%, calc(177.78dvh - 42.67px));
  }
  .fca-video-modal__close { top: -8px; right: -8px; width: 40px; height: 40px; }
  .fca-site-header__languages { gap: 12px; justify-content: center; padding-inline: 10px; font-size: 11px; }
  .fca-site-header__brand-row { width: calc(100% - 32px); grid-template-columns: 112px minmax(0, 1fr); }
  .fca-site-header__logo { width: 112px; min-width: 0; min-height: 108px; grid-row: auto; }
  .fca-site-header__logo img { width: 104px; }
  .fca-site-header__brand-row > .fca-site-header__contact:first-of-type { display: none; }
  .fca-site-header__brand-row > .fca-site-header__contact:last-child { display: none; }
  .fca-site-header__contact { padding: 14px; border: 0 !important; }
  .fca-site-header__contact > span { font-size: 22px; }
  .fca-site-header__contact strong { font-size: 14px; }
  .fca-site-header__contact div > span { font-size: 12px; overflow-wrap: anywhere; }
  .fca-site-header__nav-row { width: calc(100% - 32px); min-height: 70px; grid-template-columns: 1fr auto; }
  .fca-site-header__toggle { display: inline-flex; width: max-content; gap: 5px; align-items: center; padding: 10px 0; border: 0; background: transparent; color: #17324d; }
  .fca-site-header__toggle span { display: block; width: 22px; height: 2px; background: currentColor; }
  .fca-site-header__toggle span + span { margin-left: -27px; transform: translateY(6px); }
  .fca-site-header__toggle span:nth-child(3) { transform: translateY(-6px); }
  .fca-site-header__toggle b { margin-left: 9px; font-size: 13px; }
  .fca-site-header__social { display: none; }
  .fca-site-header__partner { min-height: 42px; padding: 9px 14px; font-size: 12px; white-space: nowrap; }
  .fca-site-header__navigation { display: none; grid-column: 1 / -1; padding: 0 0 18px; }
  .fca-site-header[data-menu-open="true"] .fca-site-header__navigation { display: block; }
  .fca-site-menu { display: grid; gap: 0; }
  .fca-site-menu a { display: block; padding: 11px 0; border-bottom: 1px solid #e7edf2; }
  .fca-site-footer { padding: 50px 24px 20px; }
  .fca-site-footer__grid { grid-template-columns: 1fr; gap: 38px; }
  .fca-site-footer__bottom { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  .fca-site-header *, .fca-site-footer * { scroll-behavior: auto !important; transition: none !important; }
}
