/* Styling for Drupal Kit Hero #4 customization. */
.ut-hero-eev.hero--blue-bar {
  .relative {
    position: relative;
    width: 100%;
  }

  .hero-img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center;
  }

  img {
    width: auto;
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center;
    max-width: 100%;
    min-height: 450px;
  }

  @media screen and (min-width: 1200px) {
    img {
      width: 58%;
      position: absolute;
      top: 0;
      right: 0;
      min-height: unset;
    }
  }

  .hero-gray-block {
    background-color: #c3ced4;
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left: 0;
    position: relative;
  }

  @media screen and (min-width: 1200px) {
    .hero-gray-block {
      padding-top: 6rem;
      padding-bottom: 6rem;
      padding-left: 6rem;
      width: 43%;
    }
  }

  .hero-callout {
    background-color: #ffffff;
    margin: -85px auto 0;
    padding: 1rem;
    position: relative;
    z-index: 0;
    width: calc(100% - 60px);
  }

  @media screen and (min-width: 900px) {
    .hero-callout {
      padding: 3rem;
    }
  }

  @media screen and (min-width: 1200px) {
    .hero-callout {
      margin-right: -10rem;
      margin-left: 4rem;
      margin-top: 0;
      width: unset;
    }
  }

  .hero-headline {
    color: #333f48;
    font-size: 26px;
    font-weight: 600;
    font-family: "GT Sectra", georgia, serif;
    line-height: 1.5;
    margin-bottom: 40px;
    padding: 0;
  }

  @media screen and (min-width: 900px) {
    .hero-headline {
      font-size: 45px;
      line-height: 50px;
    }
  }

  .headline-underline {
    background-color: #bf5700;
    width: 80px;
    height: 3px;
    margin-bottom: 40px;
  }

  .hero-subhead {
    color: #333f48;
    margin-bottom: 40px;
    line-height: 1.625;
  }

  .hero-cta a {
    text-transform: uppercase;
    font-size: .75rem;
  }

  @media screen and (min-width: 900px) {
    .hero-cta a {
      font-size: 1rem;
    }
  }

  .hero-cta a::after {
    -webkit-mask-image: none;
    mask-image: none;
    background-color: transparent;
    width: 1.25rem;
    display: inline-block;
    vertical-align: middle;
    border-left: 1px solid rgba(255, 255, 255, .2);
    height: 1.25rem;
    padding-left: 1.75rem;
    margin-left: 1rem;
    background-image: url(../images/right-arrow-white.png);
    background-repeat: no-repeat;
    background-position: right center;
  }

  /* Styles for Hero #5 customization. */
  .background-accent .block.block-bundle-utexas-hero {
    background-color: transparent;
    border: none;
    padding-top: 0;
    padding-bottom: 0;
    /* padding-right: 44px; */
  }

  /* Style for section BG color, and border around hero 5 - make hero BG white */
  .background-accent .layout.layout--utexas-onecol.container .utexas-field-border {
    border: 1px solid #333f48;

    .ut-hero.hero--half-n-half {
      padding: 24px;
      background: #ffffff;
      margin-left: -20px;
      margin-right: -20px;

      .hero-content {
        padding: 0;
      }
    }
  }

  /* Handle widths of hero #5 so content is constrained. */
  .background-accent .hero--half-n-half .hero-content {
    width: 100%;
  }

  @media (min-width: 600px) {
    .background-accent .hero--half-n-half .hero-content {
      max-width: 840px;
    }
  }

  @media (max-width: 899px) {
    .background-accent .hero--half-n-half .hero-content .hero-cta {
      padding: 1rem 1rem 0 1rem;
    }

    .background-accent .hero--half-n-half .hero-content .hero-cta a.ut-btn {
      margin-bottom: 0;
    }
  }

  @media (min-width: 900px) {
    .background-accent .hero--half-n-half .hero-content {
      max-width: 1000px;
    }
  }

  @media (min-width: 1200px) {
    .background-accent .hero--half-n-half .hero-content {
      max-width: 1140px;
    }
  }

  @media (min-width: 1600px) {
    .background-accent .hero--half-n-half .hero-content {
      max-width: 1500px;
    }
  }
}
