/* Opt-in components for ACF WYSIWYG content on internal pages. */
.etl-entry-content {
  min-width: 0;
}

.etl-entry-content .etl-table-wrap {
  width: 100%;
  max-width: 100%;
  margin: 28px 0;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 14px;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.etl-entry-content .table.etl-table-wrap {
  overflow-x: auto;
}

.etl-entry-content .etl-table {
  width: 100% !important;
  height: auto !important;
  max-width: none;
  margin: 0;
  border: 1px solid #c8d7e5 !important;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 14px;
  background: #fff;
  color: #17283a;
  font-family: Open Sans, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
}

.etl-entry-content .etl-table tbody,
.etl-entry-content .etl-table thead,
.etl-entry-content .etl-table tr {
  border: 0 !important;
  background: transparent;
}

.etl-entry-content .etl-table tr {
  height: auto;
}

.etl-entry-content .etl-table th,
.etl-entry-content .etl-table td {
  min-width: 0;
  height: auto;
  padding: 14px 16px !important;
  border: 0 !important;
  border-right: 1px solid #c8d7e5 !important;
  border-bottom: 1px solid #c8d7e5 !important;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.etl-entry-content .etl-table th:last-child,
.etl-entry-content .etl-table td:last-child {
  border-right: 0 !important;
}

.etl-entry-content .etl-table tr:last-child > th,
.etl-entry-content .etl-table tr:last-child > td {
  border-bottom: 0 !important;
}

.etl-entry-content .etl-table p {
  margin: 0;
}

.etl-entry-content .etl-table .etl-table__head > th,
.etl-entry-content .etl-table .etl-table__head > td,
.etl-entry-content .etl-table th.etl-table__head,
.etl-entry-content .etl-table td.etl-table__head {
  background: #123e68 !important;
  color: #fff;
  font-weight: 700;
  vertical-align: middle;
}

.etl-entry-content .etl-table .etl-table__section > th,
.etl-entry-content .etl-table .etl-table__section > td,
.etl-entry-content .etl-table th.etl-table__section,
.etl-entry-content .etl-table td.etl-table__section {
  background: #e8f4fc !important;
  color: #123e68;
  font-weight: 700;
  vertical-align: middle;
}

.etl-entry-content .etl-table--standard,
.etl-entry-content .etl-table--details {
  table-layout: auto;
}

.etl-entry-content .etl-table--sectioned {
  min-width: 640px;
}

.etl-entry-content .etl-table--complex {
  min-width: 780px;
  font-size: 15px;
}

.etl-entry-content .etl-table--complex th,
.etl-entry-content .etl-table--complex td {
  padding: 12px 14px !important;
}

.etl-entry-content .etl-table--details td:first-child,
.etl-entry-content .etl-table--details th:first-child {
  width: 34%;
  background: #f2f7fb;
  color: #123e68;
  font-weight: 700;
}

.etl-entry-content .etl-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.etl-entry-content .etl-photo-grid__item {
  display: block;
  min-width: 0;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #edf3f7;
}

.etl-entry-content .etl-photo-grid__item > a,
.etl-entry-content .etl-photo-grid__item > p,
.etl-entry-content .etl-photo-grid__item > p > a {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 !important;
}

.etl-entry-content .etl-photo-grid__item img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: cover;
  object-position: center;
}

.etl-entry-content .etl-photo-grid__item--contain img {
  object-fit: contain;
}

.etl-entry-content .etl-photo-text {
  display: grid;
  grid-template-columns: minmax(280px, 2fr) minmax(0, 3fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  margin: 40px 0;
}

.etl-entry-content .etl-photo-text__media,
.etl-entry-content .etl-photo-text__content {
  min-width: 0;
}

.etl-entry-content .etl-photo-text__content {
  overflow-wrap: anywhere;
}

.etl-entry-content .etl-photo-text__media {
  overflow: hidden;
  border-radius: 16px;
  background: #edf3f7;
}

.etl-entry-content .etl-photo-text__media > a,
.etl-entry-content .etl-photo-text__media > p,
.etl-entry-content .etl-photo-text__media > p > a {
  display: block;
  width: 100%;
  margin: 0 !important;
}

.etl-entry-content .etl-photo-text__media img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: 360px;
  margin: 0 auto !important;
  object-fit: contain;
}

.etl-entry-content .etl-photo-text__content > :first-child {
  margin-top: 0;
}

.etl-entry-content .etl-photo-text__content > :last-child {
  margin-bottom: 0;
}

.etl-entry-content .etl-photo-text--image-right .etl-photo-text__media {
  order: 2;
}

.etl-entry-content .etl-photo-text--image-right {
  grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr);
}

.etl-entry-content .etl-photo-text--image-right .etl-photo-text__content {
  order: 1;
}

@media (max-width: 900px) {
  .etl-entry-content .etl-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .etl-entry-content .etl-photo-text {
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .etl-entry-content .etl-table-wrap {
    margin: 22px 0;
    border-radius: 10px;
  }

  .etl-entry-content .etl-table {
    border-radius: 10px;
    font-size: 14px;
  }

  .etl-entry-content .etl-table th,
  .etl-entry-content .etl-table td,
  .etl-entry-content .etl-table--complex th,
  .etl-entry-content .etl-table--complex td {
    padding: 10px 12px !important;
  }

  .etl-entry-content .etl-photo-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin: 24px 0;
  }

  .etl-entry-content .etl-photo-text {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    margin: 28px 0;
  }

  .etl-entry-content .etl-photo-text .etl-photo-text__media,
  .etl-entry-content .etl-photo-text .etl-photo-text__content {
    order: initial;
  }

  .etl-entry-content .etl-photo-text .etl-photo-text__media {
    order: 1;
  }

  .etl-entry-content .etl-photo-text .etl-photo-text__content {
    order: 2;
  }
}

/* Opt-in page compositions. Legacy pages do not receive these rules. */
.etl-internal-page--service .etl-entry-content,
.etl-internal-page--article .etl-entry-content,
.etl-internal-page--technical .etl-entry-content {
  color: #000;
  font-size: 17px;
  line-height: 1.75;
}

.etl-internal-page--service .etl-entry-content :where(p),
.etl-internal-page--article .etl-entry-content :where(p),
.etl-internal-page--technical .etl-entry-content :where(p) {
  margin: 0 0 1.25em;
  line-height: 1.75;
}

.etl-internal-page--service .etl-entry-content :where(h2),
.etl-internal-page--article .etl-entry-content :where(h2),
.etl-internal-page--technical .etl-entry-content :where(h2) {
  margin: 2em 0 0.75em;
  color: #3c8eda;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
}

.etl-internal-page--service .etl-entry-content :where(h3),
.etl-internal-page--article .etl-entry-content :where(h3),
.etl-internal-page--technical .etl-entry-content :where(h3) {
  margin: 1.6em 0 0.65em;
  color: #3c8eda;
  font-size: clamp(21px, 2.3vw, 27px);
  font-weight: 700;
  line-height: 1.3;
}

.etl-internal-page--service .etl-entry-content :where(ul, ol),
.etl-internal-page--article .etl-entry-content :where(ul, ol),
.etl-internal-page--technical .etl-entry-content :where(ul, ol) {
  margin: 1.25em 0 1.6em;
  padding-left: 1.45em;
}

.etl-internal-page--service .etl-entry-content :where(li),
.etl-internal-page--article .etl-entry-content :where(li),
.etl-internal-page--technical .etl-entry-content :where(li) {
  margin: 0.5em 0;
  line-height: 1.7;
}

.etl-internal-page--service .etl-entry-content :where(a),
.etl-internal-page--article .etl-entry-content :where(a),
.etl-internal-page--technical .etl-entry-content :where(a) {
  color: #267fcf;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.etl-internal-page--service .etl-entry-content > :first-child,
.etl-internal-page--article .etl-entry-content > :first-child,
.etl-internal-page--technical .etl-entry-content > :first-child {
  margin-top: 0;
}

.etl-internal-page--service .etl-entry-content > :last-child,
.etl-internal-page--article .etl-entry-content > :last-child,
.etl-internal-page--technical .etl-entry-content > :last-child {
  margin-bottom: 0;
}

.etl-internal-page .etl-reading-flow > :where(p, h2, h3, h4, ul, ol, blockquote) {
  max-width: 900px;
}

@media (min-width: 1201px) {
  .etl-internal-page .etl-reading-flow > :where(p, h2, h3, h4, ul, ol, blockquote) {
    max-width: 1020px;
    margin-right: auto;
    margin-left: auto;
  }
}

.etl-internal-page .etl-reading-flow > :first-child {
  margin-top: 0;
}

.etl-internal-page .etl-reading-flow > :last-child {
  margin-bottom: 0;
}

.etl-internal-page .etl-content-block--text + .etl-content-block--text {
  margin-top: 44px;
}

.etl-internal-page--service .etl-entry-content .etl-table p,
.etl-internal-page--article .etl-entry-content .etl-table p,
.etl-internal-page--technical .etl-entry-content .etl-table p {
  margin: 0;
}

.etl-entry-content .etl-photo-grid--single {
  grid-template-columns: minmax(0, min(720px, 100%));
  justify-content: center;
}

.etl-entry-content .etl-photo-grid--two {
  max-width: 960px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 640px) {
  .etl-internal-page--service .etl-entry-content,
  .etl-internal-page--article .etl-entry-content,
  .etl-internal-page--technical .etl-entry-content {
    font-size: 16px;
  }

  .etl-entry-content .etl-photo-grid--single,
  .etl-entry-content .etl-photo-grid--two {
    grid-template-columns: minmax(0, 1fr);
  }
}
