.hero-section[data-type="type-1"] {
  text-align: var(--alignment);
  margin-bottom: var(--margin-bottom, 40px);
}

.hero-section[data-type="type-1"] .page-description {
  max-width: var(--description-max-width, 100%);
  display: inline-block;
}

.hero-section[data-type="type-2"] {
  padding-top: calc(var(--has-transparent-header)*var(--header-height));
  position: relative;
}

.hero-section[data-type="type-2"] > [class*="ct-container"] {
  justify-content: var(--vertical-alignment, center);
  text-align: var(--alignment, center);
  z-index: 2;
  padding: var(--container-padding, 50px 0);
  min-height: var(--min-height, 250px);
  flex-direction: column;
  display: flex;
  position: relative;
}

.hero-section[data-type="type-2"] > figure {
  z-index: 1;
  background-color: inherit;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-section[data-type="type-2"] > figure .ct-media-container {
  vertical-align: top;
  height: 100%;
}

.hero-section[data-type="type-2"] > figure .ct-media-container img {
  height: 100%;
}

.hero-section[data-type="type-2"] .ct-title-label {
  text-transform: uppercase;
  margin-bottom: .5em;
  font-size: 12px;
  display: block;
}

.entry-header > :not(:first-child) {
  margin-top: var(--itemSpacing, 20px);
}

.entry-header .page-title {
  margin-bottom: 0;
}

.entry-header .page-description {
  color: var(--theme-text-color);
}

.entry-header .page-description > :last-child {
  margin-bottom: 0;
}
