/* Marine Trust — global header & footer (HFE templates) */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Barlow:wght@300;400;500;600&family=Barlow+Condensed:wght@400;600;700&display=swap");
:root {
  --navy: #0B1F3A;
  --navy-mid: #122B50;
  --teal: #0E7C7B;
  --teal-light: #12A8A6;
  --gold: #B8960C;
  --gold-light: #D4AC0D;
  --white: #FFFFFF;
  --off-white: #F4F6F8;
  --text-light: #CBD5E0;
  --text-mid: #8FA3B8;
}
#masthead, #colophon {
  padding: 0 !important; margin: 0 !important;
  background: none !important; border: none !important;
  max-width: none !important;
}
header.site-header, footer.site-footer { display: none !important; }
.site-main, .page-content, #content, .entry-content {
  padding: 0 !important; margin: 0 !important; max-width: none !important;
}
#colophon .marine-trust-boxed.e-con {
  width: 100% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.marine-trust-global { font-family: 'Barlow', sans-serif; }
  .marine-trust-global .logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
  }

  .marine-trust-global .logo-mark {
    width: 42px;
    height: 42px;
    border: 2px solid var(--teal);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 22px;
    color: var(--teal);
    letter-spacing: -1px;
  }

  .marine-trust-global .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
  }

  .marine-trust-global .logo-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white);
  }

  .marine-trust-global .logo-sub {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal-light);
  }

/* ── HEADER (native Elementor widgets) ── */
header.site-header,
.ehf-header #masthead {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}

.mt-site-header.e-con {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100% !important;
  max-width: none !important;
  padding: 0 48px !important;
  box-sizing: border-box;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mt-header-inner.e-con,
.mt-header-inner.e-grid {
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: center !important;
  width: 100% !important;
  column-gap: 32px !important;
}

.mt-header-brand.e-con {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-self: start;
  width: auto !important;
  max-width: none !important;
  flex: none !important;
}

.mt-header-brand-text.e-con {
  display: flex !important;
  flex-direction: column !important;
}

.mt-header-logo .elementor-widget-container,
.mt-header-logo img {
  width: 56px !important;
  height: 56px !important;
  object-fit: contain;
  display: block;
}

.mt-header-logo-name .elementor-heading-title {
  margin: 0;
  line-height: 1.1;
}

.mt-header-logo-sub p {
  margin: 0;
  line-height: 1.1;
}

.mt-header-nav.e-con {
  display: flex !important;
  justify-content: center !important;
  justify-self: center;
  width: 100% !important;
  min-width: 0;
}

.mt-header-menu {
  width: 100%;
}

.mt-header-menu .hfe-nav-menu,
.mt-header-menu .hfe-nav-menu__layout-horizontal,
.mt-header-menu .hfe-nav-menu__layout-horizontal .hfe-nav-menu {
  display: flex !important;
  justify-content: center;
  width: auto !important;
}

.mt-header-menu .hfe-nav-menu > li.menu-item {
  display: list-item !important;
}

.mt-header-menu a.hfe-menu-item,
.mt-header-menu a.hfe-sub-menu-item {
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .mt-header-menu .hfe-nav-menu__toggle {
    display: none !important;
  }
}

.mt-header-cta-wrap.e-con {
  display: flex !important;
  justify-content: flex-end !important;
  justify-self: end;
  width: auto !important;
  flex: none !important;
}

.mt-header-cta .elementor-button {
  white-space: nowrap;
}

body.marine-trust-front-page .mt-header-cta .elementor-button,
.mt-header-cta .elementor-button {
  background-color: #0E7C7B !important;
  color: #FFFFFF !important;
}

body.marine-trust-front-page .mt-header-cta .elementor-button:hover,
.mt-header-cta .elementor-button:hover {
  background-color: #12A8A6 !important;
  color: #FFFFFF !important;
}

  /* ── FOOTER ── */
  .marine-trust-footer footer {
    background: rgba(0,0,0,0.4);
    border-top: 1px solid rgba(14,124,123,0.2);
    padding: 48px 0 32px;
  }

  .marine-trust-footer .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
  }

  .marine-trust-footer .footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
  }

  .marine-trust-footer .footer-brand p {
    font-size: 13px;
    color: var(--text-mid);
    line-height: 1.7;
    margin-top: 16px;
    margin-bottom: 20px;
  }

  .marine-trust-footer .footer-iso {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(184,150,12,0.1);
    border: 1px solid rgba(184,150,12,0.3);
    border-radius: 3px;
    padding: 6px 14px;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
  }

  .marine-trust-footer .footer-col h5 {
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--teal-light);
    font-weight: 700;
    margin-bottom: 16px;
  }

  .marine-trust-footer .footer-col ul { list-style: none; }
  .marine-trust-footer .footer-col ul li { margin-bottom: 10px; }
  .marine-trust-footer .footer-col ul li a {
    font-size: 13px;
    color: var(--text-mid);
    text-decoration: none;
    transition: color 0.2s;
  }
  .marine-trust-footer .footer-col ul li a:hover { color: var(--white); }

  .marine-trust-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .marine-trust-footer .footer-bottom p {
    font-size: 12px;
    color: var(--text-mid);
  }

  .marine-trust-footer .footer-bottom span {
    color: var(--teal-light);
  }

  
@media (max-width: 900px) {
  .mt-site-header.e-con {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .mt-header-inner.e-con,
  .mt-header-inner.e-grid {
    grid-template-columns: 1fr auto !important;
  }
  .mt-header-nav.e-con {
    justify-self: end;
  }
  .marine-trust-footer .footer-top { grid-template-columns: 1fr 1fr; }
}
