/**
 * EverLat legal, company and ecommerce-compliance components.
 *
 * Selectors are intentionally isolated from the homepage hero and slider.
 */

.el-legal-page-wrap {
  margin: clamp(2rem, 4vw, 5rem) auto;
}

.el-legal-page-wrap > article > .entry-content {
  padding: 0;
}

.el-legal {
  color: #13233b;
}

.el-legal a {
  color: #b80725;
  text-decoration-thickness: .08em;
  text-underline-offset: .16em;
}

.el-legal-nav {
  display: flex;
  gap: .8rem;
  margin: 0 0 1.4rem;
  padding: .8rem;
  overflow-x: auto;
  border: 1px solid #dce3ed;
  border-radius: 1.2rem;
  background: #fff;
  scrollbar-width: thin;
}

.el-legal-nav a {
  flex: 0 0 auto;
  padding: .75rem 1.1rem;
  border-radius: .8rem;
  color: #173052;
  font-size: 1.3rem;
  font-weight: 750;
  text-decoration: none;
}

.el-legal-nav a:hover,
.el-legal-nav a:focus-visible {
  background: #eff3f8;
  color: #c2092b;
}

.el-legal-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 30rem);
  gap: clamp(2rem, 5vw, 7rem);
  align-items: end;
  min-height: 32rem;
  padding: clamp(3rem, 6vw, 7rem);
  overflow: hidden;
  border-radius: 2rem;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 11, 47, .34), transparent 27%),
    linear-gradient(135deg, #061b3d 0%, #092d5c 72%, #0c396f 100%);
  color: #fff;
  box-shadow: 0 2.4rem 6rem rgba(6, 27, 61, .18);
}

.el-legal-hero::before,
.el-legal-hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.el-legal-hero::before {
  top: -8rem;
  right: -5rem;
  width: 24rem;
  height: 24rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
}

.el-legal-hero::after {
  top: 0;
  left: 0;
  width: 9rem;
  height: .6rem;
  background: #ff0b2f;
}

.el-legal-hero > * {
  position: relative;
  z-index: 1;
}

.el-legal-eyebrow {
  display: block;
  margin: 0 0 1rem;
  color: #ff6a81;
  font-size: 1.15rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.el-legal-hero h1 {
  max-width: 84rem;
  margin: 0;
  color: #fff;
  font-size: clamp(3.4rem, 5vw, 6.7rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.el-legal-hero p {
  max-width: 78rem;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.55;
}

.el-legal-hero__meta {
  display: grid;
  gap: .5rem;
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
}

.el-legal-hero__meta strong {
  color: #fff;
  font-size: 1.7rem;
}

.el-legal-hero__meta span {
  color: rgba(255, 255, 255, .73);
  font-size: 1.25rem;
}

.el-legal-content {
  max-width: 112rem;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 8rem) 0;
}

.el-legal-section {
  padding: clamp(2.8rem, 5vw, 5.5rem) 0;
  border-bottom: 1px solid #dde4ed;
}

.el-legal-section:first-child {
  padding-top: 0;
}

.el-legal-section:last-child {
  border-bottom: 0;
}

.el-legal-section h2 {
  margin: 0 0 1.6rem;
  color: #071f45;
  font-size: clamp(2.5rem, 3.4vw, 3.8rem);
  line-height: 1.13;
  letter-spacing: -.035em;
}

.el-legal-section h3 {
  color: #071f45;
}

.el-legal-section p,
.el-legal-section li {
  color: #4b5b70;
  font-size: 1.58rem;
  line-height: 1.75;
}

.el-legal-section ul,
.el-legal-section ol {
  display: grid;
  gap: .8rem;
  margin: 1.6rem 0;
  padding-left: 2.3rem;
}

.el-legal-section li::marker {
  color: #d4092c;
  font-weight: 800;
}

.el-legal-section__intro {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 2rem;
  margin-bottom: 2.8rem;
}

.el-legal-section__intro h2,
.el-legal-section__intro p {
  margin-top: 0;
}

.el-legal-number {
  color: #c5ceda;
  font-size: 3.8rem;
  font-weight: 850;
  line-height: 1;
}

.el-legal-section--split {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(34rem, 1.2fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}

.el-legal-card-grid {
  display: grid;
  gap: 1.4rem;
}

.el-legal-card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.el-legal-card,
.el-contact-card {
  padding: clamp(2rem, 3vw, 3rem);
  border: 1px solid #dce3ed;
  border-radius: 1.4rem;
  background: #fff;
  box-shadow: 0 1.2rem 3rem rgba(8, 37, 79, .055);
}

.el-legal-card strong {
  display: block;
  margin-bottom: .8rem;
  color: #08254f;
  font-size: 1.8rem;
}

.el-legal-card p {
  margin: 0;
}

.el-legal-card--metric strong {
  color: #d4092c;
  font-size: clamp(2.4rem, 3.5vw, 3.5rem);
  letter-spacing: -.04em;
}

.el-process-list {
  margin: 0 !important;
  padding: 0 !important;
  counter-reset: everlat-process;
  list-style: none;
}

.el-process-list li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(20rem, .7fr) minmax(0, 1.3fr);
  gap: 2rem;
  padding: 2rem 2rem 2rem 6.5rem;
  border-top: 1px solid #dce3ed;
  counter-increment: everlat-process;
}

.el-process-list li::before {
  position: absolute;
  top: 1.6rem;
  left: .4rem;
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  border-radius: 50%;
  background: #ffe9ed;
  color: #c2092b;
  content: counter(everlat-process);
  font-size: 1.4rem;
  font-weight: 850;
}

.el-process-list strong {
  color: #08254f;
  font-size: 1.7rem;
}

.el-process-list span {
  color: #5a687a;
}

.el-legal-notice {
  margin: 2.4rem 0;
  padding: 2.1rem 2.4rem;
  border: 1px solid #ccd9e8;
  border-left: .5rem solid #244d7f;
  border-radius: 0 1.2rem 1.2rem 0;
  background: #f1f5fa;
}

.el-legal-notice--important {
  border-color: #ffd0d8;
  border-left-color: #e20a30;
  background: #fff2f4;
}

.el-legal-notice strong {
  display: block;
  margin-bottom: .55rem;
  color: #08254f;
  font-size: 1.7rem;
}

.el-legal-notice p {
  margin: 0;
  color: #4b5b70;
  line-height: 1.65;
}

.el-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.el-contact-card {
  min-height: 23rem;
}

.el-contact-card__label {
  display: inline-flex;
  margin-bottom: 3.5rem;
  padding: .55rem .8rem;
  border-radius: .6rem;
  background: #eff3f8;
  color: #52647a;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.el-contact-card h2 {
  margin: 0 0 1.3rem;
  color: #08254f;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
}

.el-contact-card p {
  margin: .55rem 0;
  color: #506077;
}

.el-contact-card a {
  color: #b80725;
  font-weight: 700;
}

.el-contact-card small {
  display: block;
  margin-top: 1.3rem;
  color: #748195;
}

.el-company-details {
  margin: 0;
  overflow: hidden;
  border: 1px solid #dce3ed;
  border-radius: 1.4rem;
  background: #fff;
}

.el-company-details > div {
  display: grid;
  grid-template-columns: minmax(14rem, .7fr) minmax(0, 1.3fr);
  gap: 2rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e4e9f0;
}

.el-company-details > div:last-child {
  border-bottom: 0;
}

.el-company-details dt {
  color: #718096;
  font-size: 1.25rem;
}

.el-company-details dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #08254f;
  font-weight: 720;
  text-align: right;
}

.el-legal-table-wrap {
  margin: 2rem 0;
  overflow-x: auto;
  border: 1px solid #dce3ed;
  border-radius: 1.2rem;
  background: #fff;
}

.el-legal-table {
  width: 100%;
  min-width: 74rem;
  border: 0;
  border-collapse: collapse;
  font-size: 1.4rem;
}

.el-legal-table th {
  padding: 1.4rem 1.6rem;
  background: #08254f;
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: .04em;
  text-align: left;
  text-transform: uppercase;
}

.el-legal-table td {
  padding: 1.4rem 1.6rem;
  border-bottom: 1px solid #e3e8ef;
  color: #4b5b70;
  line-height: 1.55;
  vertical-align: top;
}

.el-legal-table tr:last-child td {
  border-bottom: 0;
}

.el-withdrawal-form {
  margin: 2rem 0;
  padding: clamp(2.4rem, 5vw, 5rem);
  border: 1px solid #ccd6e3;
  border-radius: 1.2rem;
  background: #fff;
}

.el-withdrawal-form__heading {
  margin-bottom: 2.4rem;
}

.el-withdrawal-form__heading h3 {
  margin: 0 0 1rem;
  color: #071f45;
  font-size: clamp(2.2rem, 3vw, 3rem);
}

.el-withdrawal-form__heading p {
  margin: .7rem 0;
}

.el-withdrawal-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.el-withdrawal-field {
  display: grid;
  gap: .6rem;
  margin: 0;
  color: #263952;
  font-weight: 750;
}

.el-withdrawal-field--wide {
  grid-column: 1 / -1;
}

.el-withdrawal-field abbr {
  color: #c10829;
  text-decoration: none;
}

.el-withdrawal-field input,
.el-withdrawal-field textarea {
  width: 100%;
  min-height: 4.8rem;
  padding: 1rem 1.2rem;
  border: 1px solid #aeb9c8;
  border-radius: .8rem;
  background: #fff;
  color: #142943;
  font-weight: 500;
}

.el-withdrawal-field textarea {
  resize: vertical;
}

.el-withdrawal-field input:focus,
.el-withdrawal-field textarea:focus {
  border-color: #08254f;
  outline: 3px solid rgba(8, 37, 79, .12);
  outline-offset: 1px;
}

.el-withdrawal-confirmation {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin-top: 2rem;
  color: #263952;
  font-weight: 700;
}

.el-withdrawal-confirmation input {
  width: 1.8rem;
  height: 1.8rem;
  margin: .25rem 0 0;
}

.el-withdrawal-privacy {
  margin: 1.2rem 0 0;
  color: #65748a;
  font-size: 1.35rem;
}

.el-withdrawal-signature {
  display: none;
}

.el-withdrawal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.el-withdrawal-trap {
  display: none !important;
}

.el-withdrawal-print-portal {
  display: none;
}

.el-withdrawal-notice {
  margin: 1.5rem 0;
  padding: 1.3rem 1.5rem;
  border: 1px solid;
  border-radius: .8rem;
  font-weight: 700;
}

.el-withdrawal-notice--success {
  border-color: #79b991;
  background: #edf8f1;
  color: #185b31;
}

.el-withdrawal-notice--error {
  border-color: #e2a0ad;
  background: #fff2f4;
  color: #8c122a;
}

.el-legal-button,
.el-legal-submit,
.el-legal-print {
  display: inline-flex;
  min-height: 4.6rem;
  align-items: center;
  justify-content: center;
  padding: .9rem 1.6rem;
  border: 2px solid #e20a30;
  border-radius: .8rem;
  background: #e20a30;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
}

.el-legal-button:hover,
.el-legal-button:focus-visible,
.el-legal-submit:hover,
.el-legal-submit:focus-visible,
.el-legal-print:hover,
.el-legal-print:focus-visible {
  border-color: #b80725;
  background: #b80725;
}

.el-legal-button--secondary {
  border-color: rgba(255, 255, 255, .35);
  background: transparent;
}

.el-legal-submit,
.el-legal-print {
  font: inherit;
  cursor: pointer;
}

.el-legal-help {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  align-items: center;
  margin-top: 1rem;
  padding: clamp(2.5rem, 5vw, 5rem);
  border-radius: 1.6rem;
  background: #071f45;
  color: #fff;
}

.el-legal-help h2 {
  margin: 0 0 .7rem;
  color: #fff;
  font-size: clamp(2.5rem, 3.5vw, 3.7rem);
}

.el-legal-help p {
  max-width: 76rem;
  margin: 0;
  color: rgba(255, 255, 255, .72);
}

.el-legal-help__actions {
  display: flex;
  gap: .8rem;
}

.el-digital-consent {
  padding: 1.2rem 1.4rem !important;
  border: 1px solid #f0b7c1;
  border-radius: .8rem;
  background: #fff4f6;
}

.el-digital-consent label {
  color: #263952;
  font-size: 1.35rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .el-legal-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .el-legal-hero__meta {
    max-width: 34rem;
  }

  .el-legal-card-grid--three {
    grid-template-columns: 1fr;
  }

  .el-legal-section--split {
    grid-template-columns: 1fr;
  }

  .el-legal-help {
    grid-template-columns: 1fr;
  }

  .el-legal-help__actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 680px) {
  .el-legal-page-wrap {
    width: min(100% - 2rem, 144rem);
  }

  .el-legal-hero {
    padding: 3rem 2.2rem;
    border-radius: 1.4rem;
  }

  .el-legal-section__intro {
    grid-template-columns: 1fr;
    gap: .7rem;
  }

  .el-legal-number {
    font-size: 2.2rem;
  }

  .el-contact-grid {
    grid-template-columns: 1fr;
  }

  .el-process-list li {
    grid-template-columns: 1fr;
    gap: .5rem;
    padding-left: 5.5rem;
  }

  .el-company-details > div {
    grid-template-columns: 1fr;
    gap: .3rem;
  }

  .el-company-details dd {
    text-align: left;
  }

  .el-legal-help__actions {
    display: grid;
  }

  .el-withdrawal-form__grid {
    grid-template-columns: 1fr;
  }

  .el-withdrawal-field--wide {
    grid-column: auto;
  }

  .el-withdrawal-actions {
    display: grid;
  }
}

@media print {
  .header-wrapper,
  .announcement-bar-section,
  .el-quick-nav,
  .el-legal-nav,
  .el-legal-help,
  .footer,
  .el-back-to-top,
  .el-legal-print {
    display: none !important;
  }

  .el-legal-page-wrap,
  .el-legal-content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .el-legal-hero {
    min-height: 0;
    padding: 2rem 0;
    background: #fff !important;
    box-shadow: none;
    color: #000;
  }

  .el-legal-hero h1,
  .el-legal-hero p,
  .el-legal-hero__meta strong,
  .el-legal-hero__meta span {
    color: #000;
  }

  .el-legal-hero__meta {
    border-color: #bbb;
  }

  .el-legal-section {
    break-inside: avoid;
  }

  body.el-print-withdrawal-only > * {
    display: none !important;
  }

  body.el-print-withdrawal-only > .el-withdrawal-print-portal {
    display: block !important;
    width: 100%;
  }

  body.el-print-withdrawal-only .el-withdrawal-print-target {
    width: 100%;
    margin: 0;
    padding: 1.2cm;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  body.el-print-withdrawal-only .el-withdrawal-actions,
  body.el-print-withdrawal-only .el-withdrawal-confirmation,
  body.el-print-withdrawal-only .el-withdrawal-privacy,
  body.el-print-withdrawal-only .el-withdrawal-trap,
  body.el-print-withdrawal-only input[type="hidden"] {
    display: none !important;
  }

  body.el-print-withdrawal-only .el-withdrawal-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45cm .7cm;
  }

  body.el-print-withdrawal-only .el-withdrawal-field input,
  body.el-print-withdrawal-only .el-withdrawal-field textarea {
    min-height: 1.1cm;
    padding: .15cm 0;
    border: 0;
    border-bottom: 1px solid #555;
    border-radius: 0;
    outline: 0;
    color: #000;
  }

  body.el-print-withdrawal-only .el-withdrawal-field textarea {
    min-height: 1.7cm;
  }

  body.el-print-withdrawal-only .el-withdrawal-signature {
    display: block;
    margin-top: .8cm;
    color: #000;
  }

  body.el-print-withdrawal-only .el-withdrawal-signature span {
    display: block;
    height: 1cm;
    border-bottom: 1px solid #555;
  }
}


/* v1.4.5 withdrawal-rights information and downloadable forms. */
.el-withdrawal-information .el-legal-detailed-list {
  display: block;
  margin: 0;
  padding-left: 3.2rem;
}

.el-withdrawal-information .el-legal-detailed-list li {
  margin: 0 0 1.45rem;
  padding-left: .8rem;
}

.el-withdrawal-information .el-legal-detailed-list li::marker {
  color: #071f45;
  font-weight: 850;
}

.el-legal-inline-download {
  font-weight: 800;
  text-decoration-thickness: .13em;
  text-underline-offset: .15em;
}

.el-withdrawal-downloads {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
  padding: clamp(2.2rem, 4vw, 3.5rem);
  border: 1px solid #d8e0ea;
  border-radius: 1.4rem;
  background: #f5f7fa;
}

.el-withdrawal-downloads h2 {
  margin: .6rem 0 .8rem;
  font-size: clamp(2.2rem, 3vw, 3.2rem);
}

.el-withdrawal-downloads p {
  margin: 0;
}

.el-withdrawal-downloads__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}

.el-legal-button--outline {
  border-color: #08254f;
  background: #fff;
  color: #08254f !important;
}

.el-legal-button--outline:hover,
.el-legal-button--outline:focus-visible {
  border-color: #08254f;
  background: #08254f;
  color: #fff !important;
}

.el-legal-effective-date {
  margin-top: 2.5rem !important;
  color: #718096 !important;
  font-size: 1.35rem !important;
  font-weight: 700;
}

@media (max-width: 760px) {
  .el-withdrawal-information .el-legal-detailed-list {
    padding-left: 2.5rem;
  }

  .el-withdrawal-downloads {
    grid-template-columns: 1fr;
  }

  .el-withdrawal-downloads__actions {
    display: grid;
    justify-content: stretch;
  }
}
