/* Shared layout for news articles that use the news-* classes.
   Loaded once for every single news post. Do not duplicate this in Elementor. */

body.single-post .news-band {
  align-items: center !important;
}

body.single-post .news-split {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: stretch !important;
  flex-wrap: wrap !important;
}

body.single-post .news-measure {
  width: min(929px, 100%) !important;
  max-width: 929px !important;
  flex: 0 0 auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  --padding-top: 0px !important;
  --padding-right: 0px !important;
  --padding-bottom: 0px !important;
  --padding-left: 0px !important;
  padding: 0 !important;
}

body.single-post .news-split-col {
  width: calc((929px - 40px) / 2) !important;
  max-width: calc((929px - 40px) / 2) !important;
  flex: 1 1 calc((929px - 40px) / 2) !important;
  --padding-top: 0px !important;
  --padding-right: 0px !important;
  --padding-bottom: 0px !important;
  --padding-left: 0px !important;
  padding: 0 !important;
}

body.single-post .news-hero {
  --padding-top: 0px !important;
  --padding-right: 0px !important;
  --padding-bottom: 0px !important;
  --padding-left: 0px !important;
  padding: 0 !important;
  border: 0 !important;
}

body.single-post .news-hero .elementor-widget-image,
body.single-post .news-hero .elementor-widget-image .elementor-widget-container {
  padding: 0 !important;
  line-height: 0;
}

body.single-post .news-hero img {
  display: block;
  width: 100%;
  height: auto;
}

body.single-post .news-media-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  min-height: 0 !important;
  overflow: hidden;
  --gap: 0px !important;
  --widgets-spacing: 0px !important;
  gap: 0 !important;
  row-gap: 0 !important;
}

body.single-post .news-media-card .elementor-widget-container {
  padding: 0 !important;
  line-height: 0;
}

body.single-post .news-media-card .elementor-widget-video .elementor-wrapper {
  position: relative !important;
  width: 100% !important;
  height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 56.25% !important;
  background: var(--e-global-color-primary);
}

body.single-post .news-media-card .elementor-widget-video video,
body.single-post .news-media-card .elementor-widget-video .elementor-video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

body.single-post .tier4-pdf-frame {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
  background: #fff;
}

body.single-post .news-media-link {
  width: 100%;
  margin: 0;
  background: var(--e-global-color-secondary);
  flex: 0 0 auto;
}

body.single-post .news-media-link .elementor-heading-title,
body.single-post .news-media-link .elementor-heading-title a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 10px 12px;
  white-space: nowrap;
}

body.single-post .tier4-resources .elementor-accordion-item,
body.single-post .tier4-resources .elementor-tab-title,
body.single-post .tier4-resources .elementor-tab-content {
  border: 0;
}

body.single-post .tier4-resources .elementor-tab-title {
  background: var(--e-global-color-primary);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 1;
}

body.single-post .tier4-resources .elementor-tab-title .elementor-accordion-icon {
  float: none;
  order: 2;
  width: auto;
  font-size: 12px;
  line-height: 1;
}

body.single-post .tier4-resources .elementor-accordion-title {
  line-height: 1;
  order: 1;
}

body.single-post .tier4-resources .elementor-tab-content {
  background: var(--e-global-color-secondary);
  color: #fff;
  padding: 16px 22px 8px;
  display: none;
}

body.single-post .tier4-resources .elementor-tab-title.elementor-active + .elementor-tab-content {
  display: block;
}

body.single-post .tier4-resources .elementor-tab-content a {
  color: #fff;
}

body.single-post .news-details ul {
  margin: 0 0 16px 1.2em;
}

body.single-post .news-cta,
body.single-post .news-cta p {
  text-align: center;
}

body.single-post .post-tags {
  display: none;
}

@media (max-width: 767px) {
  body.single-post .news-split {
    flex-direction: column;
    align-items: center;
  }

  body.single-post .news-split-col {
    width: 100% !important;
    max-width: 929px !important;
    flex: 1 1 100% !important;
  }
}
