/* KTSW-174 */
.element-header .header__text {
  text-align: center;
}

/* KTSW-279 */
.element-section {
  .element-teaser {
    color: inherit;
  }
}

/* KTSW-275 */
:root {
  --clr-linkgrid-foreground: var(--clr-accent-foreground, white);
}

.element-link-grid .link-tile {
  color: var(--clr-linkgrid-foreground);
}

.element-link-grid .link-tile {
  .tile__icon {
    &:is(svg):not(.feather) {
      path:not([fill=none]), circle, rect {
        fill: var(--clr-linkgrid-foreground);
      }
    }

    svg {
      &:not(.feather) {
        path:not([fill=none]), circle, rect {
          fill: var(--clr-linkgrid-foreground);
        }
      }

      &:is(svg):not(.feather) {
        path:not([fill=none]), circle, rect {
          fill: var(--clr-linkgrid-foreground);
        }
      }

      svg:not(.feather) {
        path:not([fill=none]), circle, rect {
          fill: var(--clr-linkgrid-foreground);
        }
      }
    }
  }

  .tile__button {
    .arrow {
      &:is(svg):not(.feather) {
        path:not([fill=none]), circle, rect {
          fill: var(--clr-linkgrid-foreground);
        }
      }

      svg:not(.feather) {
        path:not([fill=none]), circle, rect {
          fill: var(--clr-linkgrid-foreground);
        }
      }
    }
  }
}

/* KTSW-293 */
.element-section.background--red,
.element-section.background--blue,
.element-section.background--dark-blue
{
  --clr-linkgrid-foreground: black;
}

/* KOBSTDMRKR-35 */
/* fix embed extension in combination with consens iframe blocker */
.jonnitto-prettyembed iframe {
  z-index: 2;
}

/* KOBSTDMRKR-26 */
/* fix team element image on safari mobile */
/* should be broken because we use a <picture> element with class .person__image */
@media screen and (max-width: 440px) {
  .element-team .element-team-person .person__image {
    max-width: none;
  }
}
