/* Site header, page shell and shared landing-page foundation. */

/* Shared page shell and product landing pages. */

#header .sub-menu {
  padding: 8px;
  border: 1px solid rgba(17, 51, 79, 0.12);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(17, 51, 79, 0.16);
}
#header .sub-menu .ct-menu-link {
  min-height: 0;
  padding: 12px 14px;
  border-radius: 4px;
  color: #172b38;
}

#header .sub-menu .menu-item:hover > .ct-menu-link,
#header .sub-menu .menu-item:focus-within > .ct-menu-link,
#header .sub-menu .current-menu-item > .ct-menu-link {
  background: #edf4f8;
  color: #24587b;
}

@media (min-width: 1000px) {
  #header .sub-menu {
    width: max-content;
    min-width: 340px;
    max-width: calc(100vw - 32px);
  }

  #header .sub-menu .ct-menu-link {
    white-space: nowrap;
  }
}

body.page {
  color: var(--mf-ink);
  background: var(--mf-white);
}

body.page .hero-section,
body.page #footer {
  display: none;
}

body.page .hero-section:has(.entry-header) {
  display: none;
}

body.page .ct-container-full[data-vertical-spacing] {
  --theme-content-vertical-spacing: 0;
}

body.page .entry-content {
  max-width: none;
  margin: 0;
  padding: 0;
}

body.page .entry-content > * {
  margin-block: 0;
}

body.page header.ct-header {
  position: sticky;
  z-index: 80;
  top: 0;
}

body.admin-bar.page header.ct-header {
  top: 32px;
}

body.page .ct-header [data-row*="middle"] {
  --height: 82px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--mf-line);
}

body.page .ct-header [data-id="menu"] > ul > li > a {
  color: var(--mf-ink);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

body.page .ct-header [data-id="logo"] .site-title a {
  display: block;
  width: 190px;
  height: 48px;
  overflow: hidden;
  background: url("https://new.mailfino.com/wp-content/uploads/2026/07/mailfino-logo.png") center / contain no-repeat;
  color: transparent;
  font-size: 0;
  white-space: nowrap;
}

body.page .ct-header [data-id="search"] {
  display: none;
}

/* Keep the language name available to assistive technology, but show only the flag. */
body .ct-header .trp-menu-ls-label {
  display: inline-grid;
  width: 32px;
  min-width: 32px;
  height: 32px;
  place-items: center;
}

body .ct-header .trp-flag-image {
  display: block;
  width: 22px;
  height: auto;
  margin: 0;
}

body .ct-header .trp-ls-language-name {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

body .ct-header .menu-item:has(.trp-menu-ls-label) > .ct-menu-link {
  min-width: 44px;
  padding-inline: 6px;
  justify-content: center;
}

.mf-shell {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.mf-page-hero {
  position: relative;
  width: 100vw;
  max-width: none !important;
  min-height: 590px;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: var(--mf-navy);
  background-image: var(--mf-page-art);
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--mf-white);
}

.mf-page-hero::before {
  position: absolute;
  inset: 0;
  background: rgba(4, 19, 58, 0.16);
  content: "";
}

.mf-page-hero-inner {
  position: relative;
  z-index: 2;
  width: 50%;
  padding: 78px 0 86px;
}

.mf-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: #7ddcf0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.mf-kicker::before {
  width: 34px;
  height: 2px;
  background: var(--mf-yellow);
  content: "";
}

.mf-page-hero h1 {
  max-width: 690px;
  margin: 0 0 26px;
  color: var(--mf-white);
  font-size: 58px;
  line-height: 1.03;
  letter-spacing: 0;
}

.mf-page-hero-copy {
  max-width: 630px;
  margin: 0;
  color: #dbe6f6;
  font-size: 20px;
  line-height: 1.55;
}
