.header-banner * {
  color: var(--color-white) !important;
}

.header-banner .max-width {
  padding: 0 38px;
  max-width: 1300px;
}

.header-banner h1 {
  font-size: clamp(2rem, 3rem, 4rem); /* Preferred: 3rem */
  font-weight: 600;
  line-height: clamp(3.5rem, 4.25rem, 5rem); /* Preferred: 4.25rem */
  max-width: 980px;
  margin: 0 !important;
}

.header-banner.title,
.header-banner.profile,
.header-banner.secondary-page,
.header-banner.title-with-breadcrumbs {
  position: relative;
  padding: 65px 0;
}

.header-banner.title-with-breadcrumbs {
  padding-bottom: 100px;
}

.header-banner.title span,
.header-banner.profile span,
.header-banner.secondary-page p {
  font-size: clamp(1rem, 1.125rem, 1.25rem); /* Preferred: 1.125rem */
  line-height: clamp(1.75rem, 2rem, 2.25rem); /* Preferred: 2rem */
  font-weight: 400;
}

.header-banner.secondary-page p {
  max-width: 900px;
}

.header-banner.secondary-page p:last-child {
  margin-bottom: 10px;
}

.header-banner.secondary-section-header,
.header-banner.title-with-breadcrumbs {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 65px 0;
}

.header-banner.secondary-section-header::after,
.header-banner.title-with-breadcrumbs::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  position: absolute;
  top: 0;
}

.header-banner.secondary-section-header.trust-conference::after,
.header-banner.title-with-breadcrumbs.trust-conference::after {
  background-color: rgba(23, 62, 145, 0.7);
}

.header-banner.secondary-section-header.trust-law::after,
.header-banner.title-with-breadcrumbs.trust-law::after {
  background-color: rgba(62, 124, 168, 0.85);
}

.header-banner.secondary-section-header .max-width,
.header-banner.title-with-breadcrumbs .max-width {
  position: relative;
  z-index: 2;
}

.header-banner.secondary-section-header .wrap {
  max-width: 900px;
}

.header-banner.secondary-section-header h1 {
  padding-bottom: 25px !important;
  border-bottom: 1px solid;
  display: inline-block;
}

.header-banner.secondary-section-header h1.white:has(+ p.white.large) {
  border: 0;
  display: block;
}

.header-banner.secondary-section-header p {
  font-size: clamp(1rem, 1.125rem, 1.25rem); /* Preferred: 1.125rem */
  border-top: 1px solid;
  margin: -5px 0 10px;
  padding-top: 1.125rem; /* 18px / 16px */
}

.header-banner.impact-story {
  min-height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.header-banner.impact-story::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.header-banner.impact-story.trust-conference::after {
  background-color: rgba(23, 62, 145, 0.7);
}

.header-banner.impact-story.trust-law::after {
  background-color: rgba(62, 124, 168, 0.45);
}

.header-banner.impact-story.wdi::after {
  background-color: rgba(70, 53, 0, 0.7);
}

.header-banner.impact-story .max-width {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 65px;
}

.header-banner.impact-story .photo-credits {
  position: absolute;
  right: 0;
  bottom: -65px;
  margin: 0;
  background-color: var(--color-white);
  color: var(--color-graphite) !important;
  padding: 0.6875rem 1.0625rem; /* 11px 17px */
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  font-size: clamp(0.875rem, 1rem, 1.125rem); /* Preferred: 1rem */
}

.header-banner .post-type-label {
  border: 1px solid;
  font-size: clamp(0.75rem, 0.875rem, 1rem); /* Preferred: 0.875rem */
  padding: 0.375rem 0.9375rem; /* 6px 15px */
  display: inline-block;
  border-radius: 3px;
  font-weight: 600;
  margin-bottom: 1rem; /* 16px / 16px */
}

.header-banner.section-header {
  min-height: 420px;
  background-size: cover;
  background-position: center 28%;
  position: relative;
}

.header-banner.section-header::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(100.64deg, #000000 12.13%, #010101 29.48%, rgba(4, 4, 4, 0) 55.51%);
  position: absolute;
  top: 0;
}

.header-banner.section-header .max-width {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.header-banner.section-header .wrap {
  max-width: 630px;
}

.header-banner.section-header h1 {
  margin-bottom: 1.125rem !important; /* 18px / 16px */
}

.header-banner.section-header h5 {
  font-weight: 600;
}

.header-banner.title-with-breadcrumbs .breadcrumbs {
  margin-bottom: 1.25rem; /* 20px / 16px */
}

.header-banner.title-with-breadcrumbs .breadcrumbs a::after {
  content: "";
  display: inline-block;
  background-image: url("/wp-content/uploads/2024/07/arrow-right-graphite-small.svg");
  width: 6px;
  height: 10px;
  margin-left: 0.75rem; /* 12px / 16px */
  position: relative;
  top: 0;
  filter: invert(1);
  background-size: contain;
  background-position: center;
}

.header-banner.news-events {
  padding: 65px 0;
  position: relative;
}

.header-banner.news-events.bg-image {
  background-size: cover;
  background-position: center;
}

.header-banner.news-events.bg-image::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  position: absolute;
  top: 0;
}

.header-banner.news-events.bg-image.trust-conference::after {
  background-color: rgba(23, 62, 145, 0.7);
}

.header-banner.news-events.bg-image.trust-law::after {
  background-color: rgba(62, 124, 168, 0.75);
}

.header-banner.news-events .max-width {
  position: relative;
  z-index: 2;
}

.header-banner.news-events .news-category {
  border: 1px solid;
  font-size: clamp(0.75rem, 0.875rem, 1rem); /* Preferred: 0.875rem */
  padding: 0.375rem 0.9375rem; /* 6px 15px */
  display: inline-block;
  border-radius: 3px;
  font-weight: 600;
  margin-bottom: 1.0625rem; /* 17px / 16px */
}

.header-banner.news-events .news-date {
  display: block;
  margin: 0.3125rem 0; /* 5px / 16px */
}

.header-banner.news-events .author-profile {
  margin-top: 0.9375rem; /* 15px / 16px */
}

.header-banner.news-events .author-profile .author-avatar-circle {
  width: 2rem; /* 32px / 16px */
  height: 2rem; /* 32px / 16px */
  background-color: var(--color-orange);
  border-radius: 50%;
  text-align: center;
  font-size: clamp(0.6875rem, 0.8125rem, 0.9375rem); /* Preferred: 0.8125rem */
  line-height: 1.9375rem; /* 31px / 16px */
  margin-right: 0.625rem; /* 10px / 16px */
}

.header-banner.news-events .author-profile .author-info .byline {
  font-size: clamp(0.75rem, 0.875rem, 1rem); /* Preferred: 0.875rem */
  font-weight: 200;
}

.header-banner.full-image-background {
  min-height: 700px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.header-banner.full-image-background .max-width {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
}

.header-banner.full-image-background h1 {
  font-size: clamp(3.5rem, 4.6875rem, 5.5rem); /* Preferred: 4.6875rem */
  line-height: clamp(4rem, 5.3125rem, 6rem); /* Preferred: 5.3125rem */
  max-width: 600px;
  font-weight: 600;
}

.header-banner.featured-full-image-background {
  min-height: calc(100vh - 163px);
  background-size: cover;
  background-position: center;
  position: relative;
  margin: 0 25px;
}

.header-banner.featured-full-image-background .max-width {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.header-banner.featured-full-image-background .wrap {
  max-width: 670px;
}

.header-banner.featured-full-image-background h1 {
  font-size: clamp(3.5rem, 4.5rem, 5.5rem); /* Preferred: 4.5rem */
  line-height: clamp(4rem, 4.9375rem, 5.5rem); /* Preferred: 4.9375rem */
  font-weight: 900;
  margin-bottom: 1.25rem !important; /* 20px / 16px */
}

.header-banner.scroll-line::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 4px;
  left: calc(50% - 1px);
  height: 90px;
  background-color: #fff;
}

.header-banner.scroll-line::after {
  content: "";
  position: absolute;
  bottom: 60px;
  left: calc(50% - 14px);
  width: 30px;
  height: 30px;
  background-color: #fff;
  border-radius: 100%;
}

.header-banner.featured-full-image-background h5 {
  font-size: var(--fontsize-heading-quinary);
}

.header-banner .author-info {
  width: calc(100% - 40px);
}

@media (min-width: 1700px) {
  .header-banner .max-width {
    max-width: 1695px !important;
  }
}

@media (min-width: 1471px) {
  .header-banner .max-width {
    max-width: 1475px;
  }
}

@media (max-width: 1080px) {
  .header-banner.featured-full-image-background {
    margin: 0;
    min-height: calc(100vh - 70px);
  }
  .header-banner.featured-full-image-background .max-width {
    max-width: 925px;
  }
  .header-banner.featured-full-image-background h5 {
    font-size: clamp(1.25rem, 1.5rem, 1.75rem); /* Preferred: 1.5rem */
  }
  .header-banner.section-header::after {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.2));
  }
  .header-banner.section-header {
    min-height: 335px;
  }
  .header-banner h1 {
    font-size: clamp(2rem, 2.5rem, 3rem); /* Preferred: 2.5rem */
    line-height: clamp(3rem, 3.75rem, 4.5rem); /* Preferred: 3.75rem */
  }
  .header-banner.section-header h1 {
    margin-bottom: 0.625rem !important; /* 10px / 16px */
  }
  .header-banner.section-header h5 {
    font-weight: 400;
    font-size: clamp(1rem, 1.125rem, 1.25rem); /* Preferred: 1.125rem */
    line-height: clamp(1.75rem, 2rem, 2.25rem); /* Preferred: 2rem */
  }
}

@media (max-width: 781px) {
  .header-banner .max-width {
    padding: 0 2rem; /* 32px / 16px */
  }
  .header-banner.featured-full-image-background h1 {
    font-size: clamp(3rem, 4rem, 5rem); /* Preferred: 4rem */
    line-height: clamp(4.5rem, 5.25rem, 6rem); /* Preferred: 5.25rem */
  }
  .header-banner.featured-full-image-background h5 {
    font-size: clamp(1.125rem, 1.375rem, 1.625rem); /* Preferred: 1.375rem */
    line-height: clamp(1.5rem, 1.875rem, 2.25rem); /* Preferred: 1.875rem */
  }
  .header-banner.featured-full-image-background .max-width {
    max-width: 700px;
    text-align: center;
  }
  .header-banner h1 {
    font-size: clamp(1.75rem, 2.25rem, 2.75rem); /* Preferred: 2.25rem */
    line-height: clamp(2.5rem, 3rem, 3.5rem); /* Preferred: 3rem */
  }
}

@media (max-width: 639px) {
  .header-banner .max-width {
    padding: 0 1.25rem; /* 20px / 16px */
  }
  .header-banner.featured-full-image-background h1 {
    font-size: clamp(2rem, 3rem, 4rem); /* Preferred: 3rem */
    line-height: clamp(2.5rem, 3.5rem, 4.5rem); /* Preferred: 3.5rem */
  }
  .header-banner h1 {
    font-size: clamp(1.75rem, 2.25rem, 2.75rem); /* Preferred: 2.25rem */
    line-height: clamp(2.5rem, 3rem, 3.5rem); /* Preferred: 3rem */
  }
  .header-banner.section-header {
    min-height: 227px;
  }
  .header-banner.section-header .max-width {
    position: relative;
    top: auto;
    transform: none;
    bottom: auto;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  /*.header-banner.section-header h5 {
    display: none;
  }*/
  .header-banner.secondary-section-header,
  .header-banner.title-with-breadcrumbs {
    padding: 2.8125rem 0 2.1875rem; /* 45px 0 35px */
  }
  .header-banner.title,
  .header-banner.profile,
  .header-banner.secondary-page {
    padding: 1.5rem 0; /* 24px / 16px */
  }
  .header-banner.impact-story {
    min-height: 392px;
  }
  .header-banner.impact-story .photo-credits {
    right: 0.9375rem; /* 15px / 16px */
    padding: 0.375rem 1.0625rem; /* 6px 17px */
    font-size: clamp(0.75rem, 0.875rem, 1rem); /* Preferred: 0.875rem */
  }
  .header-banner.news-events {
    padding: 2.5rem 0; /* 40px / 16px */
  }
  .wp-block-column.single-post-sidebar .newsletter-side {
    margin: -1px -1.25rem; /* -1px -20px */
    padding: 2.5rem 1.25rem 2.625rem; /* 40px 20px 42px */
  }
  .wp-block-column.single-post-sidebar .social-sharing {
    margin: 0 -1.25rem; /* 0 -20px */
    padding: 2.5rem 1.25rem; /* 40px 20px */
  }
  .wp-block-column.single-post-sidebar .repeatable-tags {
    margin: -1px -1.25rem; /* -1px -20px */
    padding: 1.25rem; /* 20px / 16px */
  }
}

@media screen and (min-resolution: 1.1dppx) {
  .header-banner.featured-full-image-background .max-width {
    position: relative;
    top: auto;
    transform: none;
    padding-top: 6rem;
    padding-bottom: 7rem;
  }
}
