/* Locally hosted official brand campaign imagery for brand landing pages. */
body.brand-banner-ready main section[class*="-hero"] {
  background-image:
    linear-gradient(90deg, rgba(14, 17, 20, .88) 0%, rgba(14, 17, 20, .68) 43%, rgba(14, 17, 20, .24) 100%),
    var(--official-brand-banner);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

body[data-brand-banner="hp"].brand-banner-ready main section[class*="-hero"],
body[data-brand-banner="lenovo"].brand-banner-ready main section[class*="-hero"] {
  background-position: center;
}

body[data-brand-banner="partner"].brand-banner-ready main section[class*="-hero"] {
  background-color: #f5f5f4;
  background-position: 75% center;
}

body[data-brand-banner="loxone"].brand-banner-ready main section[class*="-hero"] {
  background-position: center 56%;
}

body[data-brand-banner="mobotix"].brand-banner-ready main section[class*="-hero"] {
  background-position: center 44%;
}

body[data-brand-banner="panduit"].brand-banner-ready main section[class*="-hero"] {
  background-position: center 48%;
}

@media (max-width: 620px) {
  body.brand-banner-ready main section[class*="-hero"] {
    background-image:
      linear-gradient(180deg, rgba(14, 17, 20, .78) 0%, rgba(14, 17, 20, .72) 55%, rgba(14, 17, 20, .42) 100%),
      var(--official-brand-banner);
    background-position: center;
  }

  body[data-brand-banner="partner"].brand-banner-ready main section[class*="-hero"] {
    background-position: 70% center;
  }
}

.brand-banner-landing {
  min-height: 360px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin: 28px auto 60px;
  padding: 44px 54px;
  border-radius: 14px;
  color: #fff;
}

.brand-banner-landing .brand-banner-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.brand-banner-landing h1 {
  margin: 12px 0;
  font: 800 clamp(38px, 5vw, 62px)/1.04 Manrope, sans-serif;
  letter-spacing: -2px;
}

.brand-banner-landing p {
  max-width: 540px;
  color: #e0e1e2;
  font-size: 14px;
  line-height: 1.75;
}

.brand-banner-landing .brand-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.brand-banner-landing .brand-banner-actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 16px;
  border-radius: 5px;
  background: #fff;
  color: #1c2024;
  font-size: 12px;
  font-weight: 800;
}

.brand-banner-landing .brand-banner-actions a:last-child {
  border: 1px solid rgba(255, 255, 255, .62);
  background: rgba(20, 23, 27, .28);
  color: #fff;
}

.brand-banner-landing .brand-banner-footer {
  position: absolute;
  right: 24px;
  bottom: 18px;
  z-index: 1;
  color: rgba(255, 255, 255, .82);
  font-size: 10px;
}

.brand-banner-landing .brand-banner-footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 620px) {
  .brand-banner-landing {
    min-height: 430px;
    margin: 14px auto 38px;
    padding: 30px 22px 54px;
    align-items: flex-start;
  }

  .brand-banner-landing h1 {
    font-size: 39px;
  }

  .brand-banner-landing p {
    font-size: 12px;
  }

  .brand-banner-landing .brand-banner-footer {
    right: 16px;
    bottom: 14px;
  }
}
