/**
 * @file
 * Products & Capabilities landing page styles.
 */

.node--type-dew-products-capabilities .node__container {
  max-width: none;
  padding: 0;
}

.node--type-dew-products-capabilities.node--view-mode-full .field {
  margin-bottom: 0;
}

.node--type-dew-products-capabilities .node__header {
  display: none;
}

.page-node-type-dew-products-capabilities .main-content > .container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

.page-node-type-dew-products-capabilities .main-content__container > .row {
  margin-left: 0;
  margin-right: 0;
}

.page-node-type-dew-products-capabilities .main-content__container > .row > section {
  flex: 0 0 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.page-node-type-dew-products-capabilities .main-content__full-width {
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

.page-node-type-dew-products-capabilities .main-content__section {
  padding-bottom: 0;
  padding-top: 0;
}

.page-node-type-dew-products-capabilities .block-local-tasks-block {
  margin-left: auto;
  margin-right: auto;
  max-width: 1440px;
  padding-left: 34px;
  padding-right: 34px;
  width: 100%;
}

.dew-pc-landing {
  --dew-pc-blue: #0875d1;
  --dew-pc-dark: #06162d;
  color: #06162d;
}

.dew-pc-hero {
  background-color: #06162d;
  background-image: var(--dew-pc-hero-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #ffffff;
  min-height: 570px;
  position: relative;
}

.dew-pc-hero__overlay {
  background:
    linear-gradient(90deg, rgba(2, 14, 28, 0.95) 0%, rgba(2, 14, 28, 0.78) 25%, rgba(2, 14, 28, 0.18) 55%, rgba(2, 14, 28, 0.02) 100%),
    linear-gradient(180deg, rgba(2, 14, 28, 0.1) 0%, rgba(2, 14, 28, 0.28) 100%);
  inset: 0;
  position: absolute;
}

.dew-pc-hero__container,
.dew-pc-cards__container,
.dew-pc-lower__container {
  margin-left: auto;
  margin-right: auto;
  max-width: 1440px;
  width: 100%;
}

.dew-pc-hero__container {
  align-items: center;
  display: flex;
  min-height: 570px;
  padding: 58px 34px;
  position: relative;
  z-index: 1;
}

.dew-pc-hero__content {
  max-width: 455px;
}

.dew-pc-hero__heading {
  color: #ffffff;
  font-size: 50px;
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 28px;
  text-transform: uppercase;
}

.dew-pc-hero__summary {
  color: #1896e8;
  font-size: 26px;
  line-height: 1.18;
  margin-bottom: 28px;
}

.dew-pc-hero__summary p,
.dew-pc-hero__body p,
.dew-pc-card__body p,
.dew-pc-cta__body p {
  margin: 0;
}

.dew-pc-hero__body {
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.45;
  max-width: 355px;
}

.dew-pc-hero__rule,
.dew-pc-cta__rule {
  background: var(--dew-pc-blue);
  display: block;
  height: 2px;
  margin-top: 34px;
  width: 60px;
}

.dew-pc-cards {
  background: #ffffff;
  padding: 48px 34px 36px;
}

.dew-pc-cards__container {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dew-pc-card {
  background: var(--dew-pc-dark);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.dew-pc-card:hover,
.dew-pc-card:focus {
  color: #ffffff;
  text-decoration: none;
}

.dew-pc-card__media {
  aspect-ratio: 4 / 2.25;
  background: #0a1c31;
  overflow: hidden;
}

.dew-pc-card__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
  width: 100%;
}

.dew-pc-card:hover .dew-pc-card__media img,
.dew-pc-card:focus .dew-pc-card__media img {
  transform: scale(1.035);
}

.dew-pc-card__content {
  align-items: flex-start;
  background:
    linear-gradient(90deg, rgba(5, 18, 35, 0.98) 0%, rgba(5, 18, 35, 0.92) 66%, rgba(4, 25, 48, 0.88) 100%);
  display: grid;
  flex: 1;
  gap: 18px;
  grid-template-columns: 46px minmax(0, 1fr) 24px;
  padding: 24px 22px 26px;
}

.dew-pc-card__icon {
  color: #ffffff;
  font-size: 42px;
  line-height: 1;
  margin-top: 4px;
}

.dew-pc-card__title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.dew-pc-card__body {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.45;
}

.dew-pc-card__arrow {
  align-self: center;
  color: var(--dew-pc-blue);
  font-size: 25px;
  justify-self: end;
  line-height: 1;
}

.dew-pc-lower {
  background: #ffffff;
  padding: 12px 34px 56px;
}

.dew-pc-lower__container {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.dew-pc-blueprint {
  background-color: #07284b;
  background-image: var(--dew-pc-blueprint-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 260px;
}

.dew-pc-cta {
  background-color: var(--dew-pc-dark);
  background-image: var(--dew-pc-cta-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 260px;
  position: relative;
}

.dew-pc-cta__overlay {
  background: linear-gradient(90deg, rgba(4, 18, 34, 0.96) 0%, rgba(4, 18, 34, 0.84) 36%, rgba(4, 18, 34, 0.25) 72%, rgba(4, 18, 34, 0.05) 100%);
  inset: 0;
  position: absolute;
}

.dew-pc-cta__content {
  color: #ffffff;
  max-width: 470px;
  padding: 42px 50px;
  position: relative;
  z-index: 1;
}

.dew-pc-cta__heading {
  color: #ffffff;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.04;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.dew-pc-cta__body {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 22px;
}

.dew-pc-cta__rule {
  margin: 0 0 22px;
}

.dew-pc-button {
  align-items: center;
  background: var(--dew-pc-blue);
  border: 1px solid #005eac;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: #ffffff !important;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 18px;
  line-height: 1.2;
  min-height: 42px;
  padding: 0 18px 0 22px;
  text-transform: uppercase;
}

.dew-pc-button:hover,
.dew-pc-button:focus {
  background: #0067bb;
  color: #ffffff;
  text-decoration: none;
}

.dew-pc-button .fas {
  align-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  display: inline-flex;
  height: 40px;
  padding-left: 17px;
}

@media (max-width: 1199px) {
  .dew-pc-cards__container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .dew-pc-hero,
  .dew-pc-hero__container {
    min-height: 520px;
  }

  .dew-pc-hero__container,
  .dew-pc-cards,
  .dew-pc-lower {
    padding-left: 18px;
    padding-right: 18px;
  }

  .dew-pc-hero__heading {
    font-size: 38px;
  }

  .dew-pc-hero__summary {
    font-size: 22px;
  }

  .dew-pc-cards__container {
    grid-template-columns: 1fr;
  }

  .dew-pc-card {
    min-height: 0;
  }

  .dew-pc-card__content {
    grid-template-columns: 42px minmax(0, 1fr) 22px;
  }

  .dew-pc-lower__container {
    grid-template-columns: 1fr;
  }

  .dew-pc-blueprint {
    min-height: 150px;
  }

  .dew-pc-cta__content {
    padding: 34px 24px;
  }
}
