/* Break out of Genesis / Minimum Pro layout (800px column + sidebar). */
body.ei-landing .site-header,
body.ei-landing .nav-primary,
body.ei-landing .site-tagline-left,
body.ei-landing .site-tagline-right,
body.ei-landing .before-footer-benefits-of-joining,
body.ei-landing .footer-widgets,
body.ei-landing .site-footer,
body.ei-landing .sidebar,
body.ei-landing .content-sidebar-wrap:before {
  display: none !important;
}

body.ei-landing .site-container,
body.ei-landing .wrap,
body.ei-landing .site-inner,
body.ei-landing .content-sidebar-wrap,
body.ei-landing .content,
body.ei-landing main.content {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  overflow: visible !important;
  clear: both !important;
}

body.ei-landing .site-container {
  background: #003962;
}

.ei-page {
  --ei-blue-dark: #003962;
  --ei-blue: #009ddc;
  --ei-blue-soft: #e8f6fc;
  --ei-text: #1f2933;
  --ei-muted: #5d6b75;
  --ei-border: rgba(0, 157, 220, 0.35);
  --ei-paper: #ffffff;
  --ei-cream: #f7fbfd;

  background:
    radial-gradient(circle at top left, rgba(0, 157, 220, 0.28), transparent 34rem),
    var(--ei-blue-dark);
  color: var(--ei-text);
  padding: clamp(24px, 4vw, 56px) 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ei-page * {
  box-sizing: border-box;
}

.ei-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  background: var(--ei-paper);
  border: 1px solid var(--ei-blue);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.ei-hero {
  background: var(--ei-paper);
}

.ei-hero__image-wrap {
  padding: clamp(10px, 1.5vw, 18px);
  background: linear-gradient(180deg, #ffffff 0%, #f1f8fb 100%);
}

.ei-hero__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 330px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.ei-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 38px);
  padding: 13px 20px;
  border-top: 1px solid var(--ei-border);
  border-bottom: 1px solid var(--ei-border);
  background: linear-gradient(180deg, #ffffff 0%, #edf8fc 100%);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ei-nav a {
  color: var(--ei-blue-dark);
  text-decoration: none;
  font-weight: 700;
}

.ei-nav a:hover,
.ei-nav a:focus-visible {
  color: var(--ei-blue);
}

.ei-nav__home img {
  display: block;
  width: 14px;
  height: 13px;
}

.ei-intro,
.ei-services,
.ei-split,
.ei-recent,
.ei-contact {
  padding: clamp(36px, 6vw, 72px) clamp(22px, 6vw, 88px);
}

.ei-intro {
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, var(--ei-cream) 100%);
}

.ei-kicker {
  margin: 0 0 14px;
  color: var(--ei-blue);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.ei-page h1,
.ei-page h2,
.ei-page h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ei-blue-dark);
  line-height: 1.08;
  margin: 0;
}

.ei-page h1 {
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  letter-spacing: -0.045em;
}

.ei-page h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: -0.035em;
}

.ei-page h3 {
  font-size: 1.55rem;
}

.ei-lede {
  max-width: 790px;
  margin: 28px auto 0;
  color: var(--ei-muted);
  font-size: clamp(1.06rem, 1.8vw, 1.3rem);
  line-height: 1.75;
}

.ei-services {
  background: #fff;
}

.ei-services > h2,
.ei-recent > h2 {
  text-align: center;
  margin-bottom: 34px;
}

.ei-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ei-card {
  padding: 30px;
  border: 1px solid var(--ei-border);
  background: linear-gradient(180deg, #ffffff 0%, #f8fcfe 100%);
  min-height: 190px;
}

.ei-card p,
.ei-split p,
.ei-recent p,
.ei-wysiwyg p {
  color: var(--ei-muted);
  line-height: 1.72;
  font-size: 1rem;
}

.ei-wysiwyg p:last-child {
  margin-bottom: 0;
}

.ei-recent .ei-wysiwyg {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.ei-card p {
  margin-bottom: 0;
}

.ei-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 70px);
  background: var(--ei-blue-soft);
  border-top: 1px solid var(--ei-border);
  border-bottom: 1px solid var(--ei-border);
}

.ei-note {
  padding: 16px 18px;
  border-left: 4px solid var(--ei-blue);
  background: rgba(255, 255, 255, 0.72);
}

.ei-recent {
  text-align: center;
  background: #fff;
}

.ei-recent p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.ei-contact {
  text-align: center;
  background: var(--ei-blue-dark);
  color: #fff;
}

.ei-contact p {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
}

.ei-contact span {
  color: var(--ei-blue);
  padding: 0 8px;
}

.ei-contact a {
  display: inline-block;
  margin: 6px 12px 0;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.ei-contact a:hover,
.ei-contact a:focus-visible {
  color: #9be2ff;
}

@media (max-width: 800px) {
  .ei-nav {
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 0.72rem;
  }

  .ei-card-grid,
  .ei-split {
    grid-template-columns: 1fr;
  }

  .ei-card {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .ei-page {
    padding: 0;
  }

  .ei-shell {
    width: 100%;
    border-left: 0;
    border-right: 0;
  }

  .ei-nav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .ei-hero__image {
    min-height: 160px;
  }
}
