/* ==============================
  Diverse Employer Front
============================== */

.page-id-7 #content.l-content.l-container {
  max-width: none;
  margin-bottom: 0;
  padding-top: 0;
  padding-right: 0;
  padding-left: 0;
}

.page-id-7 .l-mainContent__inner > .post_content {
  margin: 0;
}

.diverse-employer-home {
  --employer-ink: #17324d;
  --employer-muted: #586779;
  --employer-line: rgba(23, 50, 77, 0.14);
  --employer-blue: #2669a6;
  --employer-teal: #217f75;
  --employer-orange: #e87824;
  --employer-bg: #f5f8fb;
  color: var(--employer-ink);
  background: #fff;
  font-family: inherit;
}

.diverse-employer-home * {
  box-sizing: border-box;
}

.diverse-employer-home a {
  color: inherit;
}

.employer-section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.employer-section__head {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.employer-section__head--split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 32px;
  align-items: end;
  max-width: none;
  text-align: left;
}

.employer-section__label,
.employer-hero__eyebrow {
  margin: 0 0 10px;
  color: var(--employer-teal);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.employer-section h2 {
  margin: 0;
  color: var(--employer-ink);
  font-size: 30px;
  font-weight: 850;
  line-height: 1.45;
}

.diverse-employer-home .employer-section h2.is-style-section_ttl {
  border-left: 0 !important;
  background: none !important;
  background-size: auto !important;
  padding: 0 0 0.75em !important;
}

.diverse-employer-home .employer-section h2.is-style-section_ttl::before {
  content: none !important;
}

.diverse-employer-home .employer-section h2.is-style-section_ttl::after {
  height: 2px;
  background: var(--employer-teal);
}

.employer-section__head p,
.employer-service__copy p {
  margin: 14px 0 0;
  color: var(--employer-muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.9;
}

/* ==============================
  Hero
============================== */

.employer-hero {
  position: relative;
  min-height: 548px;
  overflow: hidden;
  background-color: #f6f9fb;
  background-image:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.98) 38%,
      rgba(255, 255, 255, 0.86) 58%,
      rgba(255, 255, 255, 0.38) 82%,
      rgba(255, 255, 255, 0.08) 100%
    ),
    url("../images/diverse-hero.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
}

.employer-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 108px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}

.employer-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 548px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 56px;
}

.employer-hero__copy {
  width: min(580px, 52%);
}

.employer-hero__title {
  margin: 0;
  color: #102f4d;
  font-size: 42px;
  font-weight: 900;
  line-height: 1.32;
}

.employer-hero__lead {
  max-width: 540px;
  margin: 22px 0 0;
  color: #3e5165;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.95;
}

.employer-hero__actions,
.employer-service__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.employer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.employer-button:hover {
  transform: translateY(-1px);
}

.employer-button--primary {
  background: var(--employer-orange);
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(232, 120, 36, 0.22);
}

.employer-button--secondary {
  border-color: rgba(38, 105, 166, 0.28);
  background: rgba(255, 255, 255, 0.92);
  color: var(--employer-blue) !important;
}

/* ==============================
  Routes
============================== */

.employer-routes {
  padding: 54px 0 64px;
  background: #fff;
}

.employer-route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.employer-route-card {
  display: block;
  min-height: 208px;
  padding: 22px 18px;
  border: 1px solid var(--employer-line);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(23, 50, 77, 0.06);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.employer-route-card:hover {
  border-color: rgba(33, 127, 117, 0.42);
  box-shadow: 0 14px 32px rgba(23, 50, 77, 0.1);
  transform: translateY(-2px);
}

.employer-route-card__kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--employer-orange);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.employer-route-card h3 {
  margin: 0;
  color: var(--employer-ink);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.45;
}

.employer-route-card p {
  margin: 12px 0 0;
  color: var(--employer-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.75;
}

/* ==============================
  Topics
============================== */

.employer-topics {
  padding: 64px 0 72px;
  background: var(--employer-bg);
}

.employer-topic-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.employer-topic {
  overflow: hidden;
  border: 1px solid rgba(23, 50, 77, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(23, 50, 77, 0.05);
}

.employer-topic summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding: 16px 42px 16px 18px;
  cursor: pointer;
  list-style: none;
  color: var(--employer-ink);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.45;
}

.employer-topic summary::-webkit-details-marker {
  display: none;
}

.employer-topic summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(38, 105, 166, 0.1);
  color: var(--employer-blue);
  font-size: 15px;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
  transform: translateY(-50%);
}

.employer-topic[open] summary::after {
  content: "-";
}

.employer-topic summary small {
  flex: 0 0 auto;
  color: var(--employer-teal);
  font-size: 12px;
  font-weight: 800;
}

.employer-topic ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 0 18px 18px;
  list-style: none;
}

.employer-topic li {
  position: relative;
  margin: 0;
  padding: 9px 0 9px 18px;
  border-top: 1px solid rgba(23, 50, 77, 0.08);
  color: #425466;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}

.employer-topic li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--employer-orange);
}

/* ==============================
  Service
============================== */

.employer-service {
  padding: 72px 0;
  background: #fff;
}

.employer-service__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 42px;
  align-items: center;
}

.employer-service__copy h2 {
  max-width: 520px;
}

.employer-service__panel {
  padding: 30px;
  border: 1px solid rgba(23, 50, 77, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(246, 249, 251, 0.9), #fff);
  box-shadow: 0 16px 34px rgba(23, 50, 77, 0.08);
}

.employer-service__panel h3 {
  margin: 0 0 16px;
  color: var(--employer-ink);
  font-size: 20px;
  font-weight: 850;
  line-height: 1.45;
}

.employer-service__panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.employer-service__panel li {
  position: relative;
  margin: 0;
  padding: 12px 0 12px 24px;
  border-top: 1px solid rgba(23, 50, 77, 0.1);
  color: #41556a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
}

.employer-service__panel li:first-child {
  border-top: none;
}

.employer-service__panel li::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  width: 12px;
  height: 8px;
  border-bottom: 2px solid var(--employer-teal);
  border-left: 2px solid var(--employer-teal);
  transform: rotate(-45deg);
}

/* ==============================
  Responsive
============================== */

@media (max-width: 1023px) {
  .employer-route-grid,
  .employer-topic-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .employer-service__grid,
  .employer-section__head--split {
    grid-template-columns: 1fr;
  }

  .employer-section__head--split {
    gap: 16px;
  }
}

@media (min-width: 768px) and (max-width: 959px) {
  .employer-hero {
    background-image:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.99) 46%,
        rgba(255, 255, 255, 0.92) 66%,
        rgba(255, 255, 255, 0.58) 86%,
        rgba(255, 255, 255, 0.24) 100%
      ),
      url("../images/diverse-hero.png");
    background-position: calc(100% + 80px) center;
    background-size: auto 88%;
  }
}

@media (max-width: 767px) {
  .employer-section,
  .employer-hero__inner {
    width: min(100% - 36px, 1120px);
  }

  .employer-hero {
    min-height: 560px;
    background-image:
      linear-gradient(
        105deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.99) 48%,
        rgba(255, 255, 255, 0.92) 66%,
        rgba(255, 255, 255, 0.68) 84%,
        rgba(255, 255, 255, 0.4) 100%
      ),
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 72%,
        rgba(255, 255, 255, 0.94) 100%
      ),
      url("../images/diverse-hero-sp.png");
    background-position:
      left top,
      left top,
      calc(100% + 142px) 236px;
    background-size:
      auto,
      auto,
      380px auto;
  }

  .employer-hero__inner {
    align-items: flex-start;
    min-height: 560px;
    padding: 34px 0 28px;
  }

  .employer-hero__copy {
    width: min(100%, 360px);
  }

  .employer-hero__title {
    max-width: 320px;
    font-size: 32px;
    line-height: 1.28;
  }

  .employer-hero__lead {
    max-width: 276px;
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.8;
  }

  .employer-hero__actions,
  .employer-service__actions {
    gap: 10px;
    margin-top: 22px;
  }

  .employer-button {
    width: 100%;
    min-height: 46px;
    padding: 0 18px;
    font-size: 14px;
  }

  .employer-routes,
  .employer-topics,
  .employer-service {
    padding: 46px 0 54px;
  }

  .employer-section__head {
    margin-bottom: 22px;
    text-align: left;
  }

  .employer-section h2 {
    font-size: 24px;
    line-height: 1.45;
  }

  .employer-section__head p,
  .employer-service__copy p {
    font-size: 14px;
    line-height: 1.8;
  }

  .employer-route-grid,
  .employer-topic-list,
  .employer-service__grid {
    grid-template-columns: 1fr;
  }

  .employer-route-card {
    min-height: 0;
    padding: 18px 16px;
  }

  .employer-topic summary {
    min-height: 56px;
    padding: 14px 40px 14px 16px;
    font-size: 15px;
  }

  .employer-topic ul {
    padding: 0 16px 16px;
  }

  .employer-service__panel {
    padding: 22px 18px;
  }
}

@media (max-width: 374px) {
  .employer-section,
  .employer-hero__inner {
    width: min(100% - 28px, 1120px);
  }

  .employer-hero {
    background-position:
      left top,
      left top,
      calc(100% + 164px) 242px;
    background-size:
      auto,
      auto,
      360px auto;
  }

  .employer-hero__title {
    max-width: 286px;
    font-size: 29px;
  }

  .employer-hero__lead {
    max-width: 252px;
  }
}
