/* Homepage composition. Kept separate so later page work does not depend on global overrides. */
.iw-home-page,
.iw-home-page * {
  letter-spacing: 0;
}

.iw-home-page .iw-section {
  padding-top: 52px;
  padding-bottom: 52px;
}

.iw-home-page .iw-section--compact {
  padding-top: 40px;
  padding-bottom: 40px;
}

.iw-home-page .iw-section-head {
  max-width: 960px;
  margin-bottom: 30px;
}

.iw-home-page .iw-section-head .iw-title {
  max-width: 900px;
  font-size: 36px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.iw-home-page .iw-section-head .iw-subtitle {
  max-width: 860px;
  font-size: 16px;
  line-height: 1.75;
}

.iw-home-carousel {
  height: 520px;
  min-height: 520px;
}

.iw-home-hero__media,
.iw-home-hero__media img {
  width: 100%;
  height: 100%;
}

.iw-home-hero__media img {
  object-fit: cover;
  object-position: center;
}

.iw-home-hero__shade {
  background: rgba(5, 25, 38, 0.6);
}

.iw-home-hero__copy {
  max-width: 760px;
}

.iw-home-hero h1,
.iw-home-hero h2 {
  max-width: 760px;
  font-size: 48px;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.iw-home-hero__slogan {
  max-width: 680px;
  font-size: 18px;
}

.iw-home-carousel__control {
  width: 46px;
  height: 46px;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(5, 29, 43, 0.72);
}

.iw-home-carousel__control--previous {
  left: max(18px, calc((100vw - 1520px) / 2 - 68px));
}

.iw-home-carousel__control--next {
  right: max(18px, calc((100vw - 1520px) / 2 - 68px));
}

.iw-home-problems-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 30px;
  align-items: stretch;
}

.iw-home-problems-media {
  position: relative;
  min-width: 0;
  min-height: 400px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--iw-line);
  border-radius: 6px;
  background: #dce7eb;
}

.iw-home-problems-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.iw-home-problems-media figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 15px 18px;
  border-left: 4px solid var(--iw-cyan);
  background: rgba(5, 29, 43, 0.88);
  color: #fff;
  font-size: 15px;
  font-weight: 750;
}

.iw-home-page .iw-home-problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border: 0;
}

.iw-home-page .iw-home-problem-card,
.iw-home-page .iw-home-problem-card:nth-child(n) {
  display: flex;
  min-width: 0;
  min-height: 193px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--iw-line);
  border-top: 3px solid var(--iw-blue);
  border-radius: 4px;
  background: #fff;
}

.iw-home-page .iw-home-problem-card:nth-child(2) {
  border-top-color: var(--iw-green);
}

.iw-home-page .iw-home-problem-card:nth-child(3) {
  border-top-color: var(--iw-cyan);
}

.iw-home-page .iw-home-problem-card:nth-child(4) {
  border-top-color: var(--iw-orange);
}

.iw-home-page .iw-home-problem-card .iw-home-index {
  display: block;
  width: auto;
  height: auto;
  margin: 0 0 13px;
  background: none;
  color: var(--iw-blue);
}

.iw-home-page .iw-home-problem-card h3 {
  margin-bottom: 8px;
  font-size: 19px;
  overflow-wrap: anywhere;
}

.iw-home-page .iw-home-problem-card p {
  font-size: 14px;
  line-height: 1.65;
}

.iw-home-page .iw-home-problem-card__outcome {
  display: block;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid var(--iw-line);
  color: var(--iw-blue-dark);
  text-decoration: none;
}

.iw-home-page .iw-home-problem-card__outcome:hover strong,
.iw-home-page .iw-home-problem-card__outcome:focus-visible strong {
  color: var(--iw-blue);
}

.iw-home-application-switcher {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(430px, 0.88fr);
  gap: 20px;
  align-items: stretch;
}

.iw-home-application-panels,
.iw-home-application-panel {
  min-width: 0;
  height: 480px;
}

.iw-home-application-panel {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #dce7eb;
}

.iw-home-application-panel[hidden] {
  display: none !important;
}

.iw-home-application-panel__media,
.iw-home-application-panel__media img {
  width: 100%;
  height: 100%;
}

.iw-home-application-panel__media img {
  object-fit: cover;
  transition: transform 360ms ease;
}

.iw-home-application-panel.is-active:hover .iw-home-application-panel__media img {
  transform: scale(1.015);
}

.iw-home-application-panel__copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  align-items: center;
  padding: 25px 28px;
  background: rgba(5, 29, 43, 0.9);
  color: #fff;
}

.iw-home-application-panel__copy > span {
  grid-row: 1 / 3;
  color: #7ad7dd;
  font-size: 24px;
  font-weight: 800;
}

.iw-home-application-panel__copy small {
  color: #b9d6e4;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.iw-home-application-panel__copy h3 {
  margin: 0;
  color: #fff;
  font-size: 27px;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.iw-home-application-panel__copy p {
  grid-column: 1 / -1;
  max-width: 720px;
  margin: 7px 0 0;
  color: #d9e7ec;
  font-size: 15px;
  line-height: 1.6;
}

.iw-home-application-panel__copy a {
  display: inline-flex;
  grid-column: 1 / -1;
  gap: 7px;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin-top: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.iw-home-application-panel__copy a .iw-icon {
  width: 17px;
  height: 17px;
}

.iw-home-application-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(6, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  height: 480px;
}

.iw-home-application-tab {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 10px;
  align-content: center;
  min-width: 0;
  min-height: 0;
  padding: 11px 13px;
  border: 1px solid var(--iw-line);
  border-left: 3px solid transparent;
  border-radius: 3px;
  background: #fff;
  color: var(--iw-ink);
  text-align: left;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.iw-home-application-tab:hover,
.iw-home-application-tab:focus-visible {
  border-color: #8fb5c7;
  background: #f5fafb;
}

.iw-home-application-tab.is-active {
  border-left-color: var(--iw-cyan);
  background: #eaf5f6;
}

.iw-home-application-tab > span {
  grid-row: 1 / 3;
  color: var(--iw-blue);
  font-size: 12px;
  font-weight: 800;
}

.iw-home-application-tab strong {
  min-width: 0;
  color: var(--iw-ink);
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.iw-home-application-tab small {
  min-width: 0;
  overflow: hidden;
  color: var(--iw-muted);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.iw-home-page .iw-home-section-action {
  justify-content: flex-start;
  margin-top: 24px;
}

.iw-home-page > .iw-home-cta {
  padding-top: 54px;
  padding-bottom: 54px;
}

.iw-home-page .iw-home-cta__inner {
  align-items: center;
}

.iw-home-page .iw-home-cta__inner .iw-title {
  max-width: 760px;
  font-size: 34px;
  line-height: 1.25;
}

.iw-home-page .iw-home-cta__inner .iw-subtitle {
  max-width: 780px;
}

.iw-home-page .iw-home-capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 30px;
  border: 1px solid var(--iw-line);
  border-radius: 4px;
  background: #fff;
}

.iw-home-page .iw-home-capability {
  min-height: 172px;
  padding: 20px 22px;
}

.iw-home-page .iw-home-capability > span {
  margin-bottom: 18px;
}

.iw-home-page .iw-home-capability h3 {
  font-size: 19px;
}

.iw-home-page .iw-home-capability p {
  font-size: 14px;
  line-height: 1.65;
}

.iw-home-page .iw-home-trust-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 14px;
}

.iw-home-page .iw-home-trust-item {
  display: grid;
  grid-template-rows: 168px minmax(0, 1fr);
  min-width: 0;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--iw-line);
  border-radius: 5px;
  background: #fff;
  color: var(--iw-ink);
  text-decoration: none !important;
}

.iw-home-page .iw-home-trust-item * {
  text-decoration: none !important;
}

.iw-home-page .iw-home-trust-item__media {
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.iw-home-page .iw-home-trust-item__caption {
  min-width: 0;
  padding: 17px 18px 20px;
}

.iw-home-page .iw-home-trust-item__caption > span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--iw-green);
  font-size: 13px;
  font-weight: 850;
}

.iw-home-page .iw-home-trust-item h3 {
  margin: 0 0 7px;
  font-size: 17px;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.iw-home-page .iw-home-trust-item p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--iw-muted);
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.iw-home-page .iw-home-trust-item:hover,
.iw-home-page .iw-home-trust-item:focus-visible {
  border-color: #8fb5c7;
  box-shadow: 0 8px 20px rgba(7, 54, 78, 0.1);
}

.iw-home-delivery-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 30px;
  align-items: stretch;
}

.iw-home-delivery-media {
  min-width: 0;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid var(--iw-line);
  border-radius: 6px;
  background: #dce7eb;
}

.iw-home-delivery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.iw-home-page .iw-home-delivery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  counter-reset: none;
}

.iw-home-page .iw-home-delivery li,
.iw-home-page .iw-home-delivery li:nth-child(n) {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  min-height: 84px;
  padding: 13px 17px;
  border: 1px solid var(--iw-line);
  border-top: 0;
  background: #fff;
}

.iw-home-page .iw-home-delivery li:first-child {
  border-top: 3px solid var(--iw-blue);
  border-radius: 4px 4px 0 0;
}

.iw-home-page .iw-home-delivery li:last-child {
  border-radius: 0 0 4px 4px;
}

.iw-home-page .iw-home-delivery__index {
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 1px solid #9dc4d1;
  border-radius: 50%;
  color: var(--iw-blue);
  font-size: 12px;
}

.iw-home-page .iw-home-delivery h3 {
  margin: 0 0 3px;
  font-size: 17px;
}

.iw-home-page .iw-home-delivery p {
  margin: 0 0 5px;
  font-size: 13px;
  line-height: 1.5;
}

.iw-home-page .iw-home-delivery strong {
  display: block;
  padding: 0;
  border: 0;
  font-size: 11px;
  line-height: 1.45;
}

.iw-home-page .iw-home-authority .iw-section-head {
  margin-bottom: 26px;
}

.iw-home-page .iw-home-authority-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--iw-line);
  border-radius: 4px;
  background: #fff;
}

.iw-home-page .iw-home-authority-link,
.iw-home-page .iw-home-authority-link:nth-child(n) {
  min-height: 120px;
  padding: 17px 19px;
  border-top: 0;
  background: transparent;
}

.iw-home-page .iw-home-authority-link > span {
  margin-bottom: 10px;
}

.iw-home-page .iw-home-authority-link h3 {
  font-size: 16px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.iw-home-page .iw-home-authority-link strong {
  margin-top: auto;
}

@media (max-width: 1180px) {
  .iw-home-application-switcher {
    grid-template-columns: 1fr;
  }

  .iw-home-application-panels,
  .iw-home-application-panel {
    height: 500px;
  }

  .iw-home-application-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(74px, auto));
    height: auto;
  }

  .iw-home-page .iw-home-trust-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .iw-home-page .iw-home-trust-item {
    grid-template-rows: 185px minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .iw-home-page .iw-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .iw-home-problems-layout,
  .iw-home-delivery-layout {
    grid-template-columns: 1fr;
  }

  .iw-home-problems-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .iw-home-page .iw-home-capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .iw-home-page .iw-home-capability:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--iw-line);
  }

  .iw-home-page .iw-home-capability:nth-child(4) {
    border-top: 1px solid var(--iw-line);
  }

  .iw-home-delivery-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .iw-home-page .iw-home-authority-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .iw-home-page .iw-home-authority-link:nth-child(3) {
    border-left: 0;
  }

  .iw-home-page .iw-home-authority-link:nth-child(n + 3) {
    border-top: 1px solid var(--iw-line);
  }
}

@media (max-width: 600px) {
  .iw-home-page .iw-section,
  .iw-home-page .iw-section--compact {
    padding: 40px 18px;
  }

  .iw-home-page .iw-section-head {
    margin-bottom: 28px;
  }

  .iw-home-page .iw-section-head .iw-title {
    font-size: 29px;
  }

  .iw-home-page .iw-section-head .iw-subtitle {
    font-size: 14px;
    line-height: 1.65;
  }

  .iw-home-carousel {
    height: 460px;
    min-height: 460px;
  }

  .iw-home-hero__inner {
    padding: 48px 58px 48px 22px;
  }

  .iw-home-hero__copy {
    padding-left: 15px;
  }

  .iw-home-hero h1,
  .iw-home-hero h2 {
    font-size: 35px;
    line-height: 1.2;
  }

  .iw-home-hero__slogan {
    font-size: 15px;
    line-height: 1.65;
  }

  .iw-home-carousel__control {
    width: 40px;
    height: 40px;
  }

  .iw-home-carousel__control--previous {
    left: 10px;
  }

  .iw-home-carousel__control--next {
    right: 10px;
  }

  .iw-home-problems-layout {
    gap: 16px;
  }

  .iw-home-problems-media {
    aspect-ratio: 4 / 3;
  }

  .iw-home-problems-media figcaption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 12px 14px;
    font-size: 13px;
  }

  .iw-home-page .iw-home-problem-grid {
    gap: 9px;
  }

  .iw-home-page .iw-home-problem-card,
  .iw-home-page .iw-home-problem-card:nth-child(n) {
    min-height: 230px;
    padding: 16px 14px;
  }

  .iw-home-page .iw-home-problem-card h3 {
    font-size: 16px;
  }

  .iw-home-page .iw-home-problem-card p {
    font-size: 12px;
    line-height: 1.55;
  }

  .iw-home-page .iw-home-problem-card__outcome small {
    font-size: 10px;
  }

  .iw-home-page .iw-home-problem-card__outcome strong {
    font-size: 12px;
  }

  .iw-home-application-panels,
  .iw-home-application-panel {
    height: 330px;
  }

  .iw-home-application-panel__copy {
    padding: 18px;
  }

  .iw-home-application-panel__copy > span {
    font-size: 19px;
  }

  .iw-home-application-panel__copy h3 {
    font-size: 21px;
  }

  .iw-home-application-panel__copy p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .iw-home-application-panel__copy a {
    font-size: 12px;
  }

  .iw-home-application-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(6, minmax(64px, auto));
    gap: 7px;
  }

  .iw-home-application-tab {
    padding: 9px 10px;
  }

  .iw-home-application-tab strong {
    font-size: 12px;
  }

  .iw-home-application-tab small {
    display: none;
  }

  .iw-home-page > .iw-home-cta {
    padding: 40px 18px;
  }

  .iw-home-page .iw-home-cta__inner .iw-title {
    font-size: 28px;
  }

  .iw-home-page .iw-home-capability {
    min-height: 200px;
    padding: 18px 16px;
  }

  .iw-home-page .iw-home-capability h3 {
    font-size: 17px;
  }

  .iw-home-page .iw-home-capability p {
    font-size: 12px;
    line-height: 1.6;
  }

  .iw-home-page .iw-home-trust-gallery {
    gap: 9px;
  }

  .iw-home-page .iw-home-trust-item {
    grid-template-rows: 115px minmax(0, 1fr);
    min-height: 250px;
  }

  .iw-home-page .iw-home-trust-item__caption {
    padding: 13px;
  }

  .iw-home-page .iw-home-trust-item__caption > span {
    margin-bottom: 6px;
    font-size: 11px;
  }

  .iw-home-page .iw-home-trust-item h3 {
    font-size: 14px;
  }

  .iw-home-page .iw-home-trust-item p {
    font-size: 11px;
  }

  .iw-home-delivery-layout {
    gap: 16px;
  }

  .iw-home-delivery-media {
    aspect-ratio: 4 / 3;
  }

  .iw-home-page .iw-home-delivery li,
  .iw-home-page .iw-home-delivery li:nth-child(n) {
    grid-template-columns: 40px minmax(0, 1fr);
    min-height: 96px;
    padding: 14px;
  }

  .iw-home-page .iw-home-delivery__index {
    width: 34px;
    height: 34px;
  }

  .iw-home-page .iw-home-delivery h3 {
    font-size: 15px;
  }

  .iw-home-page .iw-home-delivery p {
    font-size: 12px;
  }

  .iw-home-page .iw-home-delivery strong {
    font-size: 10px;
  }

  .iw-home-page .iw-home-authority-link,
  .iw-home-page .iw-home-authority-link:nth-child(n) {
    min-height: 132px;
    padding: 16px;
  }

  .iw-home-page .iw-home-authority-link h3 {
    font-size: 14px;
  }

  .iw-home-page .iw-home-authority-link strong {
    font-size: 11px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .iw-home-application-panel__media img,
  .iw-home-application-tab {
    transition: none;
  }
}
