:root {
  --enf-home-blue: #034C8C;
  --enf-home-blue-strong: #023E73;
  --enf-home-blue-soft: #45A8FF;
  --enf-home-gold: #DB9525;
  --enf-home-ink: #183047;
  --enf-home-muted: #647589;
  --enf-home-line: #d8e6f2;
  --enf-home-surface: #ffffff;
  --enf-home-surface-soft: #f3f8fc;
  --enf-home-shadow: 0 16px 40px rgba(3, 76, 140, 0.10);
  --enf-home-font-body: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --enf-home-font-heading: "Oswald", "Arial Narrow", var(--enf-home-font-body);
}

.home .site-content > .ast-container {
  align-items: stretch;
}

.home #primary {
  width: 100%;
}

.enf-home,
.enf-home * {
  box-sizing: border-box;
}

.enf-home {
  display: grid;
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: 14px 0 56px;
  color: var(--enf-home-ink);
  font-family: var(--enf-home-font-body);
}

.enf-home a {
  color: inherit;
}

.enf-home h1,
.enf-home h2,
.enf-home h3,
.enf-home p {
  margin: 0;
  letter-spacing: 0;
}

.enf-home h1,
.enf-home h2,
.enf-home h3,
.enf-home__eyebrow,
.enf-home__section-kicker,
.enf-home__panel-kicker,
.enf-home__post-meta {
  font-family: var(--enf-home-font-heading);
  font-weight: 700;
}

.enf-home__hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--enf-home-line);
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 58%, #f0f8ff 58%, #f0f8ff 100%);
}

.enf-home__hero::before {
  content: "";
  position: absolute;
  right: -40px;
  bottom: 24px;
  width: 58%;
  height: 66px;
  border-top: 12px solid #1e2833;
  border-bottom: 3px solid rgba(3, 76, 140, 0.18);
  border-radius: 999px 0 0 999px;
  transform: rotate(-5deg);
  opacity: 0.12;
  pointer-events: none;
}

.enf-home__hero-grid,
.enf-home__section,
.enf-home__split,
.enf-home__trust-block {
  position: relative;
  z-index: 1;
}

.enf-home__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.88fr);
  gap: 34px;
  align-items: center;
  min-height: 560px;
  padding: 44px 0 46px;
}

.enf-home__hero-copy {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.enf-home__eyebrow,
.enf-home__section-kicker,
.enf-home__panel-kicker,
.enf-home__post-meta {
  color: var(--enf-home-blue);
  font-size: 0.86rem;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
}

.enf-home h1 {
  max-width: 18ch;
  color: var(--enf-home-blue-strong);
  font-size: 3.5rem;
  line-height: 1.03;
}

.enf-home__intro {
  max-width: 66ch;
  color: var(--enf-home-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.enf-home__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.enf-home__action {
  display: grid;
  gap: 6px;
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--enf-home-line);
  border-left: 5px solid var(--enf-home-gold);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(3, 76, 140, 0.06);
  text-decoration: none;
}

.enf-home__action:hover,
.enf-home__action:focus-visible {
  border-color: #b8dcff;
  border-left-color: var(--enf-home-blue-soft);
  outline: none;
  transform: translateY(-1px);
}

.enf-home__action strong {
  color: var(--enf-home-blue-strong);
  font-size: 1rem;
  line-height: 1.25;
}

.enf-home__action span {
  color: var(--enf-home-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.enf-home__hero-panel {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 486px;
  padding: 0;
  color: #ffffff;
  overflow: hidden;
}

.enf-home__route-line {
  position: absolute;
  right: -28px;
  top: 150px;
  z-index: 2;
  width: 72%;
  height: 86px;
  border-top: 14px solid #1e2833;
  border-bottom: 4px solid #ffffff;
  border-radius: 999px;
  transform: rotate(15deg);
  pointer-events: none;
}

.enf-home__route-line::after {
  content: "";
  position: absolute;
  top: -10px;
  right: 24px;
  left: 24px;
  border-top: 2px dashed var(--enf-home-gold);
}

.enf-home__hero-media,
.enf-home__collage-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 4px solid #ffffff;
  border-radius: 8px;
  background: var(--enf-home-blue-strong);
  box-shadow: var(--enf-home-shadow);
  text-decoration: none;
}

.enf-home__hero-media--primary {
  z-index: 1;
  min-height: 300px;
  aspect-ratio: 16 / 11;
}

.enf-home__visual-img,
.enf-home__collage-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.enf-home__hero-media span,
.enf-home__collage-card span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--enf-home-blue);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 800;
}

.enf-home__collage-stack {
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 88%;
  margin: -64px 0 0 auto;
}

.enf-home__collage-card {
  min-height: 156px;
  aspect-ratio: 4 / 3;
}

.enf-home__panel-proof {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(69, 168, 255, 0.32);
  border-radius: 8px;
  background: var(--enf-home-blue);
}

.enf-home__panel-proof .enf-home__panel-kicker {
  color: #ffffff;
}

.enf-home__trust-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.enf-home__trust-list li {
  position: relative;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
}

.enf-home__trust-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 10px;
  border-top: 2px solid var(--enf-home-gold);
}

.enf-home__visual-fallback {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
}

.enf-home__section,
.enf-home__split {
  border-bottom: 1px solid var(--enf-home-line);
  padding: 40px 0;
}

.enf-home__section--soft {
  margin-right: -18px;
  margin-left: -18px;
  padding-right: 18px;
  padding-left: 18px;
  background: var(--enf-home-surface-soft);
}

.enf-home__section-head {
  display: grid;
  gap: 10px;
  max-width: 78ch;
  margin-bottom: 22px;
}

.enf-home__section-head h2 {
  color: var(--enf-home-blue-strong);
  font-size: 2.15rem;
  line-height: 1.13;
}

.enf-home__section-head p:last-child {
  color: var(--enf-home-muted);
  line-height: 1.6;
}

.enf-home__card-grid,
.enf-home__hub-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.enf-home__post-card,
.enf-home__hub-card,
.enf-home__mini-card {
  border: 1px solid var(--enf-home-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(3, 76, 140, 0.06);
}

.enf-home__post-card {
  display: grid;
  overflow: hidden;
}

.enf-home__post-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  background: #e7f3ff;
}

.enf-home__post-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.enf-home__post-fallback {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.enf-home__post-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.enf-home__post-body h3,
.enf-home__mini-card h3,
.enf-home__hub-card h3 {
  color: var(--enf-home-blue-strong);
  font-size: 1.18rem;
  line-height: 1.25;
}

.enf-home__post-body h3 a,
.enf-home__mini-card h3 a,
.enf-home__hub-card h3 a {
  text-decoration: none;
}

.enf-home__post-body h3 a:hover,
.enf-home__mini-card h3 a:hover,
.enf-home__hub-card h3 a:hover,
.enf-home__post-body h3 a:focus-visible,
.enf-home__mini-card h3 a:focus-visible,
.enf-home__hub-card h3 a:focus-visible {
  color: var(--enf-home-blue);
  outline: none;
  text-decoration: underline;
  text-decoration-color: var(--enf-home-gold);
  text-underline-offset: 4px;
}

.enf-home__post-body p:last-child,
.enf-home__mini-card p,
.enf-home__hub-card p {
  color: var(--enf-home-muted);
  line-height: 1.55;
}

.enf-home__hub-card,
.enf-home__mini-card {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.enf-home__hub-card {
  border-top: 4px solid var(--enf-home-blue-soft);
}

.enf-home__hub-card:nth-child(3n + 2) {
  border-top-color: var(--enf-home-gold);
}

.enf-home__split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.enf-home__lane {
  padding: 22px;
  border: 1px solid var(--enf-home-line);
  border-radius: 8px;
  background: #ffffff;
}

.enf-home__mini-grid {
  display: grid;
  gap: 14px;
}

.enf-home__section--trust {
  margin-top: 36px;
  border: 0;
  border-radius: 8px;
  background: var(--enf-home-blue);
  color: #ffffff;
}

.enf-home__trust-block {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) auto;
  gap: 22px;
  align-items: center;
  padding: 30px;
}

.enf-home__section--trust .enf-home__section-kicker,
.enf-home__section--trust p {
  color: rgba(255, 255, 255, 0.88);
}

.enf-home__section--trust h2 {
  color: #ffffff;
  font-size: 2.1rem;
  line-height: 1.14;
}

.enf-home__author-list {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.enf-home__author-list li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
}

.enf-home__author-list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 9px;
  border-top: 2px solid var(--enf-home-gold);
}

.enf-home__cta-stack {
  display: grid;
  gap: 12px;
  min-width: 260px;
}

.enf-home__cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.enf-home__cta--solid {
  background: var(--enf-home-gold);
  color: #15202b;
}

.enf-home__cta--ghost {
  border-color: rgba(255, 255, 255, 0.36);
  color: #ffffff;
}

.enf-home__cta:hover,
.enf-home__cta:focus-visible {
  outline: none;
  transform: translateY(-1px);
}

@media (max-width: 1080px) {
  .enf-home__hero {
    background: #ffffff;
  }

  .enf-home__hero-grid,
  .enf-home__trust-block,
  .enf-home__split {
    grid-template-columns: 1fr;
  }

  .enf-home__hero-grid {
    min-height: 0;
  }

  .enf-home h1 {
    max-width: 20ch;
    font-size: 3rem;
  }

  .enf-home__card-grid,
  .enf-home__hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .enf-home__cta-stack {
    min-width: 0;
    max-width: 520px;
  }
}

@media (max-width: 820px) {
  .enf-home {
    width: min(100% - 24px, 1204px);
    padding-top: 8px;
    padding-bottom: 42px;
  }

  .enf-home__hero-grid,
  .enf-home__section,
  .enf-home__split {
    padding: 28px 0;
  }

  .enf-home h1 {
    max-width: none;
    font-size: 2.35rem;
  }

  .enf-home__intro {
    font-size: 1rem;
  }

  .enf-home__actions,
  .enf-home__card-grid,
  .enf-home__hub-grid {
    grid-template-columns: 1fr;
  }

  .enf-home__action {
    min-height: 96px;
  }

  .enf-home__route-line {
    top: 116px;
    right: -18px;
    width: 70%;
  }

  .enf-home__section--soft {
    margin-right: 0;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
  }

  .enf-home__collage-stack {
    width: 100%;
    margin-top: 12px;
  }

  .enf-home__section-head h2,
  .enf-home__section--trust h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .enf-home {
    width: min(100% - 20px, 1204px);
  }

  .enf-home__hero-grid,
  .enf-home__section,
  .enf-home__split {
    padding: 24px 0;
  }

  .enf-home h1 {
    font-size: 2rem;
  }

  .enf-home__route-line {
    display: none;
  }

  .enf-home__hero-media--primary {
    min-height: 236px;
  }

  .enf-home__collage-stack {
    grid-template-columns: 1fr;
  }

  .enf-home__collage-card {
    min-height: 150px;
  }

  .enf-home__panel-proof,
  .enf-home__lane,
  .enf-home__trust-block {
    padding: 16px;
  }
}
