.ef-compensation-page {
  color: var(--ef-ink);
  padding-bottom: clamp(60px, 8vw, 112px);
}

.ef-compensation-page__hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(460px, 42vw, 580px);
  padding-block: clamp(54px, 8vw, 112px);
  overflow: hidden;
  color: #fff;
  background: var(--ef-ink);
}

.ef-compensation-page__hero::before,
.ef-compensation-page__hero figure.ef-compensation-page__hero-image {
  position: absolute;
  inset: 0;
  margin: 0;
}

.ef-compensation-page__hero::before {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #0d1b33 0%, rgba(13, 27, 51, .94) 34%, rgba(13, 27, 51, .48) 75%, rgba(13, 27, 51, .24) 100%);
}

.ef-compensation-page__hero-image {
  z-index: -2;
}

.ef-compensation-page__hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.ef-compensation-page .ef-compensation-page__hero-copy,
.ef-compensation-page > section.ef-compensation-page__section {
  width: min(calc(100% - 64px), var(--ef-max));
  margin-inline: auto;
}

.ef-compensation-page__hero-copy > h1 {
  margin: 0;
  color: inherit;
  font-size: clamp(34px, 4.7vw, 60px);
  line-height: 1.08;
  letter-spacing: -.03em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

@media (prefers-reduced-motion: no-preference) {
  .ef-compensation-page__hero-copy.is-visible {
    animation: ef-compensation-hero-in 1.45s cubic-bezier(.22, 1, .36, 1) both;
  }
}

@keyframes ef-compensation-hero-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.ef-compensation-page__hero-copy > p:not(.ef-compensation-page__eyebrow) {
  margin-block: 22px 0;
  color: #e3ebf5;
  font-size: clamp(17px, 2vw, 21px);
}

.ef-compensation-page__eyebrow {
  width: fit-content;
  margin: 0 0 20px;
  padding: 7px 14px;
  border: 1px solid #ffffff55;
  border-radius: 999px;
  font-size: 14px;
}

.ef-compensation-page > section.ef-compensation-page__section {
  margin-top: clamp(38px, 5.5vw, 72px);
  padding-top: clamp(30px, 4vw, 52px);
  border-top: 1px solid var(--ef-line);
  scroll-margin-top: 110px;
}

.ef-compensation-page > section.ef-compensation-page__intro {
  padding-top: 0;
  border-top: 0;
}

.ef-compensation-page__section h2 {
  margin: 0 0 22px;
  color: var(--ef-ink);
  font-size: clamp(28px, 4vw, 43px);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.ef-compensation-page__section h3 {
  margin: 0 0 10px;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.25;
}

.ef-compensation-page__section > h3,
.ef-compensation-page__section > h2:not(:first-child) {
  margin-top: 28px;
}

.ef-compensation-page__section p,
.ef-compensation-page__section ul,
.ef-compensation-page__section ol {
  margin-block: 0 12px;
  color: var(--ef-muted);
  line-height: 1.63;
}

.ef-compensation-page__section ul,
.ef-compensation-page__section ol {
  padding-inline-start: 1.35em;
}

.ef-compensation-page__section li + li {
  margin-top: 5px;
}

.ef-compensation-page__section :is(p, li) a {
  color: var(--ef-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ef-compensation-page .ef-compensation-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block: 24px 0;
}

.ef-compensation-page .ef-compensation-page__actions:not(:has(a)) {
  display: none;
}

.ef-compensation-page__actions .wp-block-button__link,
.ef-compensation-page__form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 11px 22px;
  border: 1px solid var(--ef-ink);
  border-radius: 12px;
  background: var(--ef-ink);
  color: #fff;
  font: inherit;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s;
}

.ef-compensation-page__actions .is-style-outline > .wp-block-button__link {
  color: var(--ef-ink);
  background: #fff;
}

.ef-compensation-page__actions .wp-block-button__link:hover,
.ef-compensation-page__form input[type="submit"]:hover {
  border-color: #0c1a30;
  background: #0c1a30;
  color: #fff;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .ef-compensation-page__actions .wp-block-button__link:hover,
  .ef-compensation-page__form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(19, 36, 61, .22);
  }
}

.ef-compensation-page__hero .wp-block-button__link {
  border-color: #fff;
  background: #fff;
  color: var(--ef-ink);
}

.ef-compensation-page__hero .is-style-outline > .wp-block-button__link {
  border-color: #fff;
  background: transparent;
  color: #fff;
}

.ef-compensation-page__hero .wp-block-button__link:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.ef-compensation-page__hero .is-style-outline > .wp-block-button__link:hover {
  color: var(--ef-ink);
  background: #fff;
}

.ef-compensation-page__facts,
.ef-compensation-page__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-block: 22px;
}

.ef-compensation-page__facts {
  gap: 0;
  margin: 0 0 clamp(30px, 4.8vw, 56px);
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid var(--ef-line);
  border-radius: 20px;
  background: #f2f6fb;
}

.ef-compensation-page__fact {
  min-width: 0;
  padding: 6px clamp(12px, 2.4vw, 28px);
}

.ef-compensation-page__fact + .ef-compensation-page__fact {
  border-inline-start: 1px solid var(--ef-line);
}

.ef-compensation-page__card {
  min-width: 0;
  padding: 18px 0;
  border-top: 1px solid var(--ef-line);
}

.ef-compensation-page__fact p:last-child,
.ef-compensation-page__card p:last-child,
.ef-compensation-page__step p:last-child,
.ef-compensation-page__section .wp-block-details p:last-child {
  margin-bottom: 0;
}

.ef-compensation-page__fact p.ef-compensation-page__fact-value {
  margin-bottom: 6px;
  color: var(--ef-ink);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 750;
  line-height: 1.12;
}

.ef-compensation-page__steps {
  margin-block: 22px;
}

.ef-compensation-page__step {
  padding-block: clamp(16px, 2.2vw, 24px);
  border-top: 1px solid var(--ef-line);
}

.ef-compensation-page__list-columns {
  columns: 2;
  column-gap: 40px;
}

.ef-compensation-page__list-columns li {
  break-inside: avoid-column;
}

.ef-compensation-page__section .ef-compensation-page__note {
  margin-top: 16px;
  padding: 13px 16px;
  border-inline-start: 3px solid var(--ef-ink);
  background: #f1f5fa;
  border-radius: 0 10px 10px 0;
}

.ef-compensation-page__examples {
  max-width: 100%;
  margin: 16px 0;
  overflow-x: auto;
  border: 1px solid #dce4ef;
  border-radius: 14px;
}

.ef-compensation-page__examples table {
  width: 100%;
  min-width: 465px;
  border-collapse: collapse;
}

.ef-compensation-page__examples :is(th, td) {
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid #dce4ef;
  text-align: start;
}

.ef-compensation-page__examples thead {
  border: 0;
  background: #eef3f9;
}

.ef-compensation-page__examples tbody tr:last-child td {
  border-bottom: 0;
}

.ef-compensation-page > section.ef-compensation-page__request {
  padding: clamp(20px, 4vw, 48px);
  border: 1px solid #dce4ef;
  border-radius: 22px;
  background: #f2f6fb;
}

.ef-compensation-page__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ef-compensation-page__request .wpcf7 {
  margin-block: 22px;
}

.ef-compensation-page__form label {
  display: block;
  min-width: 0;
  font-weight: 600;
}

.ef-compensation-page__form :is(input:not([type="submit"]), textarea) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin-top: 6px;
  padding: 10px 13px;
  border: 1px solid #c3d1e3;
  border-radius: 10px;
  background: #fff;
  color: var(--ef-ink);
  font: inherit;
  font-weight: 400;
}

.ef-compensation-page__form textarea {
  min-height: 118px;
  resize: vertical;
}

.ef-compensation-page__form-wide {
  grid-column: 1 / -1;
}

.ef-compensation-page__form p {
  max-width: none;
  margin: 0;
}

.ef-compensation-page__form p:has(> .ef-compensation-page__form-wide) {
  grid-column: 1 / -1;
}

.ef-compensation-page__form .wpcf7-form-control-wrap {
  display: block;
}

.ef-compensation-page__form :is(.wpcf7-not-valid-tip, p.ef-compensation-page__form-wide) {
  font-size: 14px;
}

.ef-compensation-page__form .wpcf7-spinner {
  vertical-align: middle;
}

.ef-compensation-page__request .wpcf7 form .wpcf7-response-output {
  margin: 12px 0 0;
  padding: 10px 14px;
  border-radius: 10px;
}

.ef-compensation-page__faq .wp-block-details {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--ef-line);
}

.ef-compensation-page__faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.ef-compensation-page__faq summary::-webkit-details-marker {
  display: none;
}

.ef-compensation-page__faq summary::after {
  content: "";
  flex: 0 0 8px;
  height: 8px;
  margin-inline-end: 3px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.ef-compensation-page__faq [open] > summary::after {
  transform: rotate(225deg);
}

.ef-compensation-page__faq .wp-block-details p:last-child {
  padding-bottom: 16px;
}

@media (max-width: 780px) {
  .ef-compensation-page .ef-compensation-page__hero-copy,
  .ef-compensation-page > section.ef-compensation-page__section {
    width: calc(100% - 36px);
  }

  .ef-compensation-page__hero {
    min-height: 0;
  }

  .ef-compensation-page__hero::before {
    background: linear-gradient(90deg, rgba(13, 27, 51, .94), rgba(13, 27, 51, .70));
  }

  .ef-compensation-page__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .ef-compensation-page :is(.ef-compensation-page__facts, .ef-compensation-page__cards, .ef-compensation-page__form) {
    grid-template-columns: minmax(0, 1fr);
  }

  .ef-compensation-page__fact {
    padding-block: 13px;
  }

  .ef-compensation-page__fact + .ef-compensation-page__fact {
    border-inline-start: 0;
    border-top: 1px solid var(--ef-line);
  }

  .ef-compensation-page__list-columns {
    columns: 1;
  }

  .ef-compensation-page__actions :is(.wp-block-button, .wp-block-button__link) {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ef-compensation-page__actions .wp-block-button__link,
  .ef-compensation-page__form input[type="submit"] {
    transform: none;
    transition: none;
  }
}
