.banner--primary .banner__content .field--name-localgov-subsites-banner-text {
  font-size: var(--banner-font-size);
  font-family: var(--banner-font-family);
  font-weight: var(--banner-font-weight);
  line-height: 1em;
  text-align: var(--banner-text-alignment);
}

.banner--primary {
  grid-template: "container";
  align-items: baseline;
  overflow: initial;
  transform: none;
  left: 0;
  position: relative;
  width: 100vw;
}

.banner--primary > * {
  grid-area: container;
}

@media (min-width: 620px) {
  .banner--primary {
    display: grid;
  }
}

.banner--primary .banner__content .field--name-localgov-title {
  font-size: var(--banner-title-size);
  font-family: var(--banner-font-family);
  line-height: var(--banner-heading-line-height);
  font-weight: var(--banner-heading-font-weight);
  text-align: var(--banner-text-alignment);
  margin-bottom: 1rem;
}

.banner--primary .banner__content {
  margin: 0;
  max-width: 100%;
}

@media screen and (min-width: 768px) {

  .banner {
    align-items: initial;
  }
  
  .banner--primary .banner__content {
    justify-content: center;
    text-align: center;
    --banner-content-width: 32rem;
    z-index: 2;
    bottom: 0;
    width: calc(100% - 30px);
    left: 50%;
    transform: translateY(50%) translateX(-50%);
    /* margin-bottom: 152px; */
  max-width: var(--banner-content-width);

  }

  .banner-wrapper {
    /* width: 75rem; */
    width: 100%;
    margin: 0 auto;
    display: grid;
  }

  /* This is the default position */
  .banner--primary.position- {
    display: block;
  }
  .banner--primary .position- {
    grid-area: auto;
    margin: calc(var(--banner-content-margin) * -1) auto var(--banner-content-margin);
    transform: none;
    left: 0;
  }

  .banner .position-right {
    place-self: center right;
    /* margin: 1rem; */
    position: relative;
    transform: none;
    left: 0;
    transform: translateX(-20%);
    margin-bottom: 0;
  }

  .banner .position-left {
    place-self: center left;
    /* margin: 1rem; */
    position: relative;
    transform: none;
    left: 0;
    margin-bottom: 0;
    z-index: auto;
  }

  .banner .position-top {
    place-self: start center;
    /* margin: 1rem; */
    width: auto;
    left: 0;
    transform: none;
    position: relative;
  }

  .banner .position-bottom {
    place-self: end center;
    /* margin: 1rem; */
  }
}

.banner .has-mobile-image .field--name-field-lbhf-mobile-image {
  display: block;
}

.banner .has-mobile-image .field--name-localgov-image {
  display: none;
}

@media (min-width: 620px) {
  .banner .has-mobile-image .field--name-field-lbhf-mobile-image {
    display: none;
  }

  .banner .has-mobile-image .field--name-localgov-image {
    display: block;
  }
} 
