/* by Creasant */

/* Home section item */
.home .mtpc-section-item {
  margin-bottom: 0 !important;
}

/* Home slideshow */
.home-slideshow .mtpc-block-slideshow-block .slick-dots {
  top: 56%;
  left: 55%;
  bottom: unset;
  width: auto;
}

/* Card grid — image fills card, bottom gradient + white text overlay */
.card-grid .mtpc-2col-section-wrapper {
  display: flex;
  gap: 20px;
}

.card-grid .mtpc-2col-item {
  flex: 1 1 0;
  min-width: 0;
}

.card-grid .mtpc-2col-item .field--name-field-mod-2-col-container-1,
.card-grid .mtpc-2col-item .field--name-field-mod-2-col-container-2 {
  height: 100%;
}

.card-grid .mtpc-2col-item .field__items {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.card-grid .mtpc-2col-item .field__items::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 1) 100%);
  z-index: 1;
  pointer-events: none;
}

.card-grid .mtpc-2col-item .field__items > .field__item {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0;
}

/* Image item — fills card */
.card-grid .mtpc-2col-item .field__items > .field__item:first-child {
  top: 0;
  bottom: 0;
}

.card-grid .mtpc-block-image-block,
.card-grid .mtpc-block-image-block .field--name-field-mod-image,
.card-grid .mtpc-block-image-block .field--name-field-mod-image > .field__item,
.card-grid .mtpc-block-image-block article {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.card-grid .mtpc-block-image-block .field--name-field-media-image,
.card-grid .mtpc-block-image-block .field--name-field-media-image > .field__item {
  width: 100%;
  height: 100%;
}

.card-grid .mtpc-block-image-block img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.4s ease;
}
.card-grid .mtpc-2col-item:hover .mtpc-block-image-block img {
  transform: scale(1.08);
}

/* Text item — overlay bottom */
.card-grid .mtpc-2col-item .field__items > .field__item:last-child {
  bottom: 0;
  z-index: 2;
  padding: 70px 55px;
  color: #ffffff;
  pointer-events: none;
}

.card-grid .mtpc-2col-item .field__items > .field__item:last-child h1,
.card-grid .mtpc-2col-item .field__items > .field__item:last-child h2,
.card-grid .mtpc-2col-item .field__items > .field__item:last-child h3,
.card-grid .mtpc-2col-item .field__items > .field__item:last-child h4,
.card-grid .mtpc-2col-item .field__items > .field__item:last-child h5,
.card-grid .mtpc-2col-item .field__items > .field__item:last-child h6 {
  color: inherit;
}

.card-grid .mtpc-block-textarea-block,
.card-grid .mtpc-block-textarea-block .field--name-field-mod-long-fmt,
.card-grid .mtpc-block-textarea-block .field--name-field-mod-long-fmt > .field__item {
  margin: 0;
  padding: 0;
}

.card-grid .mtpc-block-textarea-block h3 {
  margin: 0 0 15px;
}

.card-grid .mtpc-block-textarea-block h4 {
  margin: 0;
}

/* Top banner */
.top-banner.mtpc-1col-section {
  padding-top: 0;
  background-color: #eff3f8;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
}

.top-banner .mtpc-1col-section-wrapper {
  padding: 20px 0 90px;
}

.top-banner > img {
  width: calc(100% + 80px);
  height: 508px;
  object-fit: cover;
  margin: 0 -40px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%);
}

.top-banner h2 {
  margin-bottom: 0;
}

/* Team Members view table */
.view-team-members .team-member-cards {
  display: none;
}

/* Base table look shared with .tbl-team (global.css); team-only deltas below */
.view-team-members .views-view-table tbody td.views-field-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 35px;
}

.view-team-members .views-view-table th.views-field-title,
.view-team-members .views-view-table td.views-field-title {
  width: 18.78%;
}
.view-team-members .views-view-table th.views-field-field-position,
.view-team-members .views-view-table td.views-field-field-position {
  width: 33.37%;
}
.view-team-members .views-view-table th.views-field-field-team,
.view-team-members .views-view-table td.views-field-field-team {
  width: 14.17%;
}
.view-team-members .views-view-table th.views-field-field-tel,
.view-team-members .views-view-table td.views-field-field-tel,
.view-team-members .views-view-table th.views-field-field-email,
.view-team-members .views-view-table td.views-field-field-email {
  white-space: nowrap;
}

/* Companies — grid layout */
.companies-grid .view-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.companies-grid .views-row {
  min-width: 0;
}
.companies-grid .views-field-nothing,
.companies-grid .views-field-nothing > .field-content {
  display: block;
}

/* Companies — filter pills (desktop default; toggle/close hidden) */
.companies-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 100px;
}
.companies-filter__pills {
  display: contents;
}
.companies-filter__toggle,
.companies-filter__close {
  display: none;
}
.companies-filter__pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13.5px 50px;
  background: #ffffff;
  border: 1px solid #9d9c9c;
  border-radius: 100px;
  color: #1a1a1a;
  font-weight: 500;
  font-size: 24px;
  line-height: 35px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.companies-filter__pill:hover {
  background: #ffffff;
  border-color: #003366;
  color: #1a1a1a;
}
.companies-filter__pill.is-active,
.companies-filter__pill.is-active:hover {
  background: #003366;
  border-color: #003366;
  color: #ffffff;
}
.companies-filter__pill.is-active:not([data-cat="all"])::after {
  content: "";
  width: 19px;
  height: 19px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='19' height='19' viewBox='0 0 19 19' fill='none'><path d='M0.707031 0.707153L17.707 17.7072' stroke='white' stroke-width='2'/><path d='M17.707 0.707153L0.707032 17.7072' stroke='white' stroke-width='2'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

/* Companies — card (flip on hover, image + gradient + title) */
.company-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  perspective: 1200px;
  cursor: pointer;
}
.company-card[hidden] {
  display: none;
}
.company-card__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.6s ease;
  overflow: hidden;
}
.company-card__face--front {
  transform: rotateY(0deg);
}
.company-card__face--back {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  background: #003366;
  color: #ffffff;
  transform: rotateY(180deg);
}
.company-card:hover .company-card__face--front {
  transform: rotateY(-180deg);
}
.company-card:hover .company-card__face--back {
  transform: rotateY(0deg);
}

/* Front face — image fills, gradient overlay, title bottom-left */
.company-card__img,
.company-card__img > article,
.company-card__img .field,
.company-card__img .field__item {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
.company-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.company-card__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 60px;
  color: #ffffff;
  z-index: 1;
  pointer-events: none;
}
.company-card__overlay::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100% + 200px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 1) 100%);
  z-index: -1;
}
.company-card__title {
  margin: 0;
  color: inherit;
  font-weight: 400;
  font-size: 38px;
  line-height: 52px;
}

/* Back face */
.company-card__face--back .company-card__title {
  margin-bottom: 20px;
  font-weight: 700;
}
.company-card__desc {
  font-size: 21px;
  line-height: 34px;
}
.company-card__close {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: transparent;
  font-size: 0;
  line-height: 1;
  text-decoration: none;
  overflow: hidden;
}
.company-card__close::before {
  content: "";
  width: 19px;
  height: 19px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='19' height='19' viewBox='0 0 19 19' fill='none'><path d='M0.707031 0.707153L17.707 17.7072' stroke='white' stroke-width='2'/><path d='M17.707 0.707153L0.707032 17.7072' stroke='white' stroke-width='2'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

/* Mobile/tablet popup overlay (hidden on desktop) */
.companies-popup-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(34, 34, 34, 0.95);
  z-index: 999;
}
body.companies-popup-open .companies-popup-backdrop {
  display: block;
}
body.companies-popup-open {
  overflow: hidden;
}
.companies-popup {
  display: none;
}

/* Logo grid — square cells, logo centered */
.logo-grid .mtpc-block-image-grid-item-wrapper > .mtpc-image-grid-block-item {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
}

/* Number-item: big bg digit + title overlay (left) + body copy (right) */
.field__items.mtpc-section {
  counter-reset: numitem;
}
.number-item {
  counter-increment: numitem;
}

.number-item .field--name-field-mod-1-col-container.field__items {
  display: grid;
  grid-template-columns: 412px 1fr;
  gap: 110px;
  align-items: center;
}

.number-item .field--name-field-mod-1-col-container > .field__item:has(.number-item__title) {
  position: relative;
  min-height: 548px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.number-item .field--name-field-mod-1-col-container > .field__item:has(.number-item__title)::before {
  content: counter(numitem);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 700px;
  line-height: 1;
  color: rgba(0, 51, 102, 0.1);
  pointer-events: none;
  z-index: 0;
}

.number-item .field--name-field-mod-1-col-container > .field__item:has(.number-item__content) {
  margin: 0;
  min-width: 0;
}

.number-item__title {
  position: relative;
  z-index: 1;
  text-align: center;
}

.number-item__title .field__item,
.number-item__title h3 {
  margin: 0;
}

.number-item__content .field__item {
  margin: 0;
}

.number-item__content p {
  margin: 0;
}

.number-item__content p + p {
  margin-top: 34px;
}

/* Number-item — sticky scroll morph */
/* region-content uses overflow:clip in global.css (not hidden), so descendant
   position:sticky works without an override here. */
.numbers-scroller {
  position: relative;
}
.numbers-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.numbers-sticky .mtpc-section-item {
  position: absolute;
  inset: 0;
  /* Pin to viewport height: align-content centers within this box, so every
     slide must be exactly 100vh or its text drifts off the (viewport-centered)
     SVG digit. The last slide otherwise collapses ~200px short. */
  height: 100vh;
  margin: 0;
  display: grid;
  align-content: center;
  will-change: opacity, transform;
}
.numbers-sticky .mtpc-section-item > * {
  width: 100%;
}
.numbers-sticky .number-item .field--name-field-mod-1-col-container > .field__item:has(.number-item__title)::before {
  display: none;
}
.numbers-morph-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  pointer-events: none;
  z-index: 0;
}
.numbers-morph-wrap__inner {
  position: relative;
  width: 100%;
  max-width: 1650px;
  margin: 0 auto;
}
.numbers-morph {
  display: block;
  fill: rgba(0, 51, 102, 0.1);
}

/* Note text — h8 typography */
.note-text {
  font-size: 14px;
  line-height: 24px;
  font-weight: 300;
}

.note-text li {
  margin-bottom: 0;
}

/* News & Events — exposed filter row (year + category) */
.news-events-grid .view-filters {
  margin-bottom: 50px;
}
.news-events-grid .views-exposed-form .form--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.news-events-grid .views-exposed-form .form-item {
  width: auto;
  margin: 0;
}
.news-events-grid .views-exposed-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.news-events-grid .views-exposed-form .form-select {
  height: 45px;
  padding: 0 44px 0 20px;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='19' height='11' viewBox='0 0 19 11' fill='none'><path d='M0.685547 0.728149L9.18555 8.72815L17.6855 0.728149' stroke='%2300A6AE' stroke-width='2'/></svg>");
  background-repeat: no-repeat;
  background-position: right 20px center;
  border: 1px solid #e1e1e1;
  border-radius: 0;
  color: #3d3d3d;
  font-size: 21px;
  font-weight: 400;
  line-height: 34px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.news-events-grid .views-exposed-form #edit-field-date-value {
  width: 232px;
}
.news-events-grid .views-exposed-form #edit-field-categories-target-id {
  width: 361px;
}
/* Apply button hidden — JS auto-submits on select change */
.news-events-grid .views-exposed-form .form-actions {
  display: none;
}

/* News & Events — mosaic grid (4 cols, 18-item nth-child cycle).
   Row height tracks column width via aspect-ratio on each .views-row,
   so cells stay square at any viewport width. */
.news-events-grid .view-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  grid-auto-flow: row dense;
}
.news-events-grid .views-row {
  min-width: 0;
  aspect-ratio: 1 / 1;
}
.news-events-grid .views-field-nothing,
.news-events-grid .views-field-nothing > .field-content {
  display: block;
  width: 100%;
  height: 100%;
}
/* Big cards 3, 7, 17 — left half, span 2x2 starting col 1.
   Big cards 4, 16, 18 — right half, span 2x2 starting col 3.
   Smalls 12-15 forced into left columns so big 16 lands top-right. */
.news-events-grid .view-content > .views-row:nth-child(18n + 3),
.news-events-grid .view-content > .views-row:nth-child(18n + 7),
.news-events-grid .view-content > .views-row:nth-child(18n + 17) {
  grid-column: 1 / span 2;
  grid-row: span 2;
}
.news-events-grid .view-content > .views-row:nth-child(18n + 4),
.news-events-grid .view-content > .views-row:nth-child(18n + 16),
.news-events-grid .view-content > .views-row:nth-child(18n + 18) {
  grid-column: 3 / span 2;
  grid-row: span 2;
}
.news-events-grid .view-content > .views-row:nth-child(18n + 12),
.news-events-grid .view-content > .views-row:nth-child(18n + 14) {
  grid-column: 1;
}
.news-events-grid .view-content > .views-row:nth-child(18n + 13),
.news-events-grid .view-content > .views-row:nth-child(18n + 15) {
  grid-column: 2;
}

/* News & Events — Home featured block. 2-col grid, square cells reuse
   .ne-card big-style overlay (bottom gradient) from base. */
.home-news-events-section.mtpc-1col-section {
  padding-top: 150px;
  padding-bottom: 300px;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
}

.news-events-home .view-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  margin-top: 50px;
}
.news-events-home .views-row {
  min-width: 0;
  aspect-ratio: 1 / 1;
}
.news-events-home .views-field-nothing,
.news-events-home .views-field-nothing > .field-content {
  display: block;
  width: 100%;
  height: 100%;
}
/* Figma 2144:6476 — 800x800 card, 24/35 SemiBold. */
.ne-card--home .ne-card__overlay {
  padding: 50px 50px 70px;
}
.ne-card--home .ne-card__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 35px;
}

/* News & Events — card */
.ne-card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.ne-card__link {
  position: absolute;
  inset: 0;
  display: block;
  color: inherit;
  text-decoration: none;
}
.ne-card__img,
.ne-card__img > article,
.ne-card__img .field,
.ne-card__img .field__item {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
.ne-card__img img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.4s ease;
}
.ne-card:hover .ne-card__img img {
  transform: scale(1.08);
}
.ne-card__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 30px 26px;
  color: #ffffff;
  z-index: 1;
  pointer-events: none;
}
.ne-card__overlay::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100% + 200px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 1) 100%);
  z-index: -1;
}
.ne-card__date {
  display: none;
}
.ne-card__title {
  margin: 0;
  color: inherit;
  font-weight: 400;
  font-size: 21px;
  line-height: 34px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  overflow: hidden;
}

/* News & Events — detail page (node view-mode-full) */
.node--type-news-event.node--view-mode-full .node__content {
  display: grid;
  grid-template-columns: 1fr 441px;
  grid-template-areas:
    "date   date"
    "title  title"
    "banner banner"
    "body   sidebar"
    "back   back";
  column-gap: 79px;
  row-gap: 30px;
  max-width: 1650px;
  margin: 100px auto 200px;
  padding: 0 40px;
  box-sizing: border-box;
}
.node--type-news-event.node--view-mode-full .field--name-field-date {
  grid-area: date;
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
  color: #3d3d3d;
  margin-bottom: -20px;
}
.node--type-news-event.node--view-mode-full .field--name-field-date time {
  color: inherit;
}
.node--type-news-event.node--view-mode-full .ne-detail__title {
  grid-area: title;
  max-width: 1430px;
  margin: 0;
  font-size: 38px;
  font-weight: 400;
  line-height: 52px;
  color: #003974;
}
.node--type-news-event.node--view-mode-full .field--name-field-banner {
  grid-area: banner;
  margin-top: 10px;
}
.node--type-news-event.node--view-mode-full .field--name-body {
  grid-area: body;
  max-width: 1050px;
}
.node--type-news-event.node--view-mode-full .field--name-body img {
  display: block;
  max-width: 100%;
  height: auto;
}
.node--type-news-event.node--view-mode-full .ne-detail__sidebar {
  grid-area: sidebar;
  align-self: start;
  padding: 30px 47px;
  background: rgba(238, 238, 238, 0.5);
}
.node--type-news-event.node--view-mode-full .ne-detail__tags-label {
  margin: 0 0 30px;
  font-size: 21px;
  font-weight: 400;
  line-height: 34px;
  color: #3d3d3d;
}
.node--type-news-event.node--view-mode-full .ne-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.node--type-news-event.node--view-mode-full .ne-detail__tag {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 15px;
  background: transparent;
  border: 1px solid #e1e1e1;
  color: #3d3d3d;
  font-size: 14px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 1.4px;
  text-decoration: none;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.node--type-news-event.node--view-mode-full .ne-detail__tag:hover {
  background: #003366;
  border-color: #003366;
  color: #ffffff;
}
/* Visual styling comes from .efund-button (global.css); only layout here */
.node--type-news-event.node--view-mode-full .ne-detail__back {
  grid-area: back;
  justify-self: start;
  margin-top: 40px;
}

/* News & Events — load more button */
.news-events-grid .pager,
.news-events-grid .js-pager__items {
  display: none;
}
.ne-load-more {
  display: block;
  margin: 60px auto 0;
  padding: 0 50px;
  height: 50px;
  background: #003974;
  color: #ffffff;
  border: 1px solid #003974;
  border-radius: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.ne-load-more:hover {
  background: #ffffff;
  color: #003974;
}
.ne-load-more[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Contact Us — bg-image section, centered h2, white card (image left + text right) */
.mtpc-1col-section.contact-us {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 100px;
  padding-bottom: 200px;
}

.mtpc-1col-section.contact-us .field--name-field-mod-1-col-container > .field__item {
  margin: 0;
}

.mtpc-1col-section.contact-us .field--name-field-mod-1-col-container > .field__item:first-child {
  text-align: center;
  margin-bottom: 50px;
}

.mtpc-1col-section.contact-us .field--name-field-mod-1-col-container > .field__item:first-child h2 {
  margin: 0;
}

.contact-us-card {
  padding: 105px 50px;
  background: #ffffff;
}

.contact-us-card-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
}

.contact-us-card > .field__item {
  margin: 0;
  min-width: 0;
}

.contact-us-img {
  display: flex;
  align-items: center;
}

.contact-us-img .field--name-field-mod-image {
  width: 474px;
}

.contact-us-content {
  display: flex;
  align-items: center;
  max-width: 547px;
}

.contact-us-content .mtpc-textarea,
.contact-us-content .field--name-field-mod-long-fmt,
.contact-us-content .field--name-field-mod-long-fmt > .field__item {
  margin: 0;
  width: 100%;
}

.contact-us-content .field--name-field-mod-long-fmt > .field__item {
  display: grid;
  grid-template-columns: 140px 1fr;
  column-gap: 10px;
  row-gap: 29px;
  align-items: start;
}

.contact-us-content h4 {
  margin: 0;
  color: #003366;
  font-size: 24px;
  font-weight: 600;
  line-height: 35px;
}

.contact-us-content p {
  margin: 0;
  color: #3d3d3d;
  font-size: 21px;
  font-weight: 400;
  line-height: 34px;
}

.contact-us-content p a {
  color: inherit;
  text-decoration: none;
}

.contact-us-content p a:hover {
  color: #00a6ae;
}

/* Home Companies — autoplay logo carousel (Swiper). Full-bleed breakout
   from mtpc page-builder container; slides are fixed-width cards. */
.home-companies-swiper {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 50px;
  margin-bottom: 180px;
  overflow: hidden;
}
.home-companies-swiper .view-content {
  /* Linear timing-function on the long-speed autoplay gives a marquee feel. */
  transition-timing-function: linear !important;
}
.home-companies-swiper .swiper-slide {
  width: auto;
  height: auto;
}
.home-companies-swiper .views-field,
.home-companies-swiper .views-field > .field-content {
  display: block;
}
.home-company-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 400px;
  height: 265px;
  padding: 32px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 0;
  box-sizing: border-box;
  text-decoration: none;
}
.home-company-card__img,
.home-company-card__img > article,
.home-company-card__img .field,
.home-company-card__img .field__item {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}
.home-company-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Pattern skip toggles — opt out of decorative bg patterns per page (body class) */
.skip-pattern-1 .region-content::before {
  display: none;
}
.skip-pattern-2 .region-content::after {
  display: none;
}

/* Image wrapper — side-by-side images, equal width */
.img-wrapper {
  display: flex;
  gap: 50px;
}
/* min-width:0 releases the flex-item auto-minimum (else CKEditor's width="500"
   attr pins each img at 500px); width/height auto neutralize the inline w/h
   attrs so flex distributes width equally and height tracks aspect ratio. */
.img-wrapper > img {
  flex: 1;
  min-width: 0;
  width: auto !important;
  height: auto !important;
}
