/* ================================= */
/*  HERO IMAGE MODIFIED FROM LONGFORM   */
/* ================================= */


.entry-element-container.hero-image {
  max-width: 100% !important;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  grid-row-gap: 0;
}

.media-caption.hero-image {   
  display: block;
  position: relative;
  box-sizing: border-box;
  padding: 0;
  margin: 0 auto;
  grid-row-start: 3;
  grid-row-end: 4;
  margin: 1rem auto;
  max-width: 42.5rem;
}
.below .media-caption.hero-image {
  grid-row-start: 2;
  grid-row-end: 3;
}

.hero-image-media {
  box-sizing: border-box;
  overflow: hidden;
}

.video-relative-container {width:100%;}

.title-block {
    width: 46%;
}

.overlay_clear .title-block {
  margin: 0 auto;
}
.overlay_clear .title-block h1,
.overlay_clear .title-block h2 {
  color: #fafafa;
}

.hero-image-title h1,
.hero-image-title h2 {
  font-weight: 800;
  font-size: 3rem;
  line-height: 110%;
  margin: 0;
  padding-top: .5rem;
}

.hero-image-title h1 {
  font-size: 4vw;
}
.overlay_shading .hero-image-title h1,
.overlay_shading .hero-image-title h2 {
  font-size: 2.75rem;
  color: #fff;
  text-align: left;
}
.overlay_shading .hero-image-title h1 {
  font-size: 4vw;
}
.above .hero-image-title h1,
.above .hero-image-title h2 {
  font-size: 2.75rem;
  color: #262626;
  text-align: left;
}

.hero-image-title .heading-subtitle {
  width: 46%;
  font-size: clamp(18px, 2.5vw, 32px);
  line-height: 120%;
  color: #262626;
  text-align: left;
}
.below .hero-image-title .heading-subtitle {
  padding-top: 2rem;
  font-size: clamp(18px, 2.5vw, 32px);
  color: #0A0102;
  text-align: center;
}
.overlay_clear .hero-image-title .heading-subtitle {
  padding-top: 2rem;
  font-size: clamp(18px, 2.5vw, 32px);
  opacity: .85;
  color: #fff;
  max-width: 40rem;
  text-align: center;
}



.hero-title-background {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  opacity: 0.7;
}

.hero-figure {
  display: block;
  position: relative;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  grid-row-start: 2;
  grid-row-end: 3;
}
.overlay_clear .hero-figure,
.overlay_shading .hero-figure {
  grid-row-start: 1;
  grid-row-end: 2;
}
.below .hero-figure {
  grid-row-start: 1;
  grid-row-end: 2;
}
.above .hero-figure,
.overlay_shading .hero-figure {
  display: flex;
  flex-wrap: wrap;
}

.hero-image-title {
  display: block;
  position: relative;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  grid-row-start: 1;
  grid-row-end: 2;
}
.overlay_clear .hero-image-title,
.overlay_shading .hero-image-title {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #013ACEB2;
}
.overlay_clear .hero-image-title {
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .8));
}
.above .hero-image-title {
  position: relative;
  bottom: unset;
  padding-bottom: 2rem;
  top: 0;
  color: #fff;
}
.below .hero-image-title {
  grid-row-start: 3;
  grid-row-end: 4;
  margin-top: 1rem;
}

.above .hero-image-title .hero-image-title-container,
.overlay_shading .hero-image-title .hero-image-title-container {
    max-width: 68rem;
    padding: 1.25rem 3.75rem;
    width: calc(100% - 7.5rem);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
.below .hero-image-title .hero-image-title-container {
    display: block;
    position: relative;
    max-width: 42.5rem;
    width: calc(100% - 7.5rem);
    margin: 0 auto;
}

.below .title-block {
  width: 100%;
}
.below div.title-button {
  margin: 0 auto;
}

.above .hero-image-title .hero-image-title-container {
    padding: 3rem 0 1rem 0;
}


/* ================================= */
/*  NEW   */
/* ================================= */

div.entry-element-container.hero-image.overlay_shading span.heading-subtitle.centre {
   padding-top:1rem;
   padding-left:2vw;
   padding-bottom: 1.5rem;
   font-size: clamp(16px, 2vw, 32px);
}

div.entry-element-container.hero-image.overlay_shading .hero-image-title .heading-subtitle {
    color: #fff;
}

.with-button.hero-image-title-container .title-button a,
.with-button.hero-image-title-container .title-button a:visited {
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    display: block;
    color: #fff;
}
.with-button.hero-image-title-container .title-button a:hover,
.with-button.hero-image-title-container .title-button a:focus {
    text-decoration: underline;
}

button.t-button a:visited,
button.t-button {
  border: 0;
  box-shadow: none;
  text-decoration: none;
  padding: 0.5rem 1.25rem;
  display: block;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Open Sans', sans-serif;
}
button:hover.t-button,
button:focus.t-button {
    text-decoration: underline;
}

.title-button {
  border-radius: 2px;
  text-transform: uppercase;
}

button.t-button {
  display: flex;
  align-items: center;
  justify-contents: center;
  height: 2rem;
  border-radius: 2px;
  background: rgba(10, 1, 34, 0.5);
  text-transform: uppercase;
}

.overlay_clear .title-button {
    margin: 0 auto;
}

.above>hero-image-title-container>.title-button>button.t-button,
.overlay_shading>hero-image-title-container>.title-button>button.t-button {
    margin: 0 auto;
    background: rgba(10, 1, 34, 0.85);
}

.heading-subtitle {
    width: calc(100% - 2rem);
    max-width: 40rem;
    padding-bottom: 2.5rem;
    padding-top: 1rem;
    display:block;
    margin: 0 auto;
}
.hero-image-title .hero-image-title-container .heading-subtitle {width:90%;}
.with-button.hero-image-title-container .title-block .title-button {
  width: max-content;
  margin: 0 auto;
}
.above .with-button.hero-image-title-container .title-block .title-button,
.overlay_shading .with-button.hero-image-title-container .title-block .title-button {
  margin: 0;
}
.above .with-button.hero-image-title-container .heading-subtitle,
.overlay_shading .with-button.hero-image-title-container .heading-subtitle {
  padding-top: 3rem;
  padding-left: 1rem;
}

.with-button.hero-image-title-container h1,
.with-button.hero-image-title-container h2 {
    margin: 0 auto;
}

@media only screen and (max-width: 620px) {
  .hero-image-title h1,
  .hero-image-title h2 {
    font-size: 2rem !important;
    text-align: center !important;
    color: #0A0102 !important;
  }
  .hero-image-title .hero-image-title-container .heading-subtitle {
    font-size: 1.125rem !important;
    padding-top: 2rem !important;
    color: #0A0102 !important;
    text-align: center !important;
    padding-left: 0 !important;
    max-width: unset;
    opacity: 1;
  }
  .above .hero-image-title h1,
  .above .hero-image-title h2,
  .above .hero-image-title .hero-image-title-container .heading-subtitle {
    color: #f0f0f0 !important;
  }
  
  .overlay_clear .media-caption.hero-image,
  .overlay_shading .media-caption.hero-image {
    grid-row-start: 2;
    grid-row-end: 3;
  }
  .overlay_clear .hero-figure,
  .overlay_shading .hero-figure {
    grid-row-start: 1;
    grid-row-end: 2;
  }
  .overlay_clear .hero-image-title,
  .overlay_shading .hero-image-title {
    grid-row-start: 3;
    grid-row-end: 4;
    margin-top: 1rem;
    position: relative !important;
    left: unset !important;
    right: unset !important;
    bottom: unset !important;
    background: unset !important;
  }
  .hero-image-title .hero-image-title-container {
    display: block !important;
    position: relative !important;
    max-width: 58rem !important;
    width: calc(100% - 7.5rem) !important;
    margin: 0 auto !important;
  }

  .title-block {
    width: 100% !important;
  }
  .title-button {
    margin: 0 auto !important;
  }
}
@media only screen and (max-width: 620px) {
.entry-element-container.entry-header {
    margin: 0 auto 1rem auto;
}
}
@media only screen and (max-width: 42.5rem) {
  .media-caption.hero-image {
    max-width: calc(100% - 1rem);
  }
}



