.custom-heading-underline {
  font-size: 15px;
  position: relative;
  color: #989475;
}

html, body.single-projects, body.single-post {
  overflow: unset !important;
}

.custom-heading-underline:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 48px;
  height: 1px;
  /* background: linear-gradient(135deg, hsl(36 50% 60%) 0%, hsl(36 35% 45%) 100%); */
  background: #989475;
}

.image-circle {
  padding: 100px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: linear-gradient(#eeebe4, #eeebe4) padding-box,
    linear-gradient(135deg, hsl(36 50% 60%) 0%, hsl(36 35% 45%) 100%) border-box;
}

.gradient-text {
  background: linear-gradient(135deg, hsl(36 50% 60%) 0%, hsl(36 35% 45%) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

span.text-bg {
  /* background: linear-gradient(135deg, hsl(36 50% 60%) 0%, hsl(36 35% 45%) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent; */
  color: #999474;
  /* display: inline-block; */
}

.custom-heading-footer {
  color: white;
}

.custom-heading-footer:after {
  background: #ffffff;
}

.full-bg-outer .box-icon svg path {
  fill: #989475;
}

.copyright-footer img {
  filter: brightness(0) invert(1);
}

.page-hero {
  position: relative;
  padding: 80px 0 0 0;
  background-size: cover;
  color: #ffffff;
  text-align: center;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background-position: 100% 40%;
  margin-bottom: 80px;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  font-size: 0.9rem;
  margin-top: 10px;
}

.breadcrumb a {
  color: #eee;
  text-decoration: none;
}

section.ifm-section.ifm-topics,
section.ifm-section.ifm-outputs {
  position: relative;
}

section.ifm-section.ifm-topics:after,
section.ifm-section.ifm-outputs:after {
  content: "" !important;
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  background: #e0eadc;
  transform: translateX(-50%);
  z-index: -1;
}

/* IFM single publication / output — full-width shell, 1376px inner container, no extra padding */
.ifm-single-publication.ifm-scope,
.ifm-single-output.ifm-scope {
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--cnvp-color-text, #020307);
}

.ifm-single-publication .ifm-single-content,
.ifm-single-output .ifm-single-content {
  background: transparent;
  padding: 0;
}

/* IFM archives / taxonomies — full-width hero, 1376px content below */
.ifm-archive.ifm-scope,
.ifm-tax-archive.ifm-scope {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  position: relative;
  z-index: 0;
}

.ifm-archive.ifm-scope section.ifm-hero,
.ifm-tax-archive.ifm-scope section.ifm-hero,
.ifm-archive.ifm-scope .ifm-single-header,
.ifm-tax-archive.ifm-scope .ifm-single-header {
  width: 100%;
}

.ifm-single-header {
  background: linear-gradient(135deg, var(--ifm-primary), var(--ifm-secondary));
}

/* Responsive YouTube embed on single output */
.ifm-single-output .ifm-youtube-embed {
  position: relative;
  width: 100%;
  max-width: 48rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1rem;
  background: #0f172a;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.35);
}

.ifm-single-output .ifm-youtube-embed iframe,
.ifm-single-output .ifm-youtube-embed .ifm-youtube-iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  border: 0;
  display: block;
}

.plyr__control {
  background: transparent;
  border: 0 !important;
  border-radius: 3px !important;
  border-radius: var(--plyr-control-radius, 3px) !important;
  color: inherit !important;
  cursor: pointer !important;
  flex-shrink: 0;
  overflow: visible;
  padding: 7px !important;
  padding: calc(var(--plyr-control-spacing, 10px) * .7) !important;
  position: relative;
  transition: all .3s ease !important;
}

a[href^="tel"]{
    color:inherit;
    text-decoration:none;
}

@media (min-width: 1024px) { 
  .cnvp-menu ul li a.hide-on-desktop {
      display: none !important;
  }
}