h2 {
  font-size: 1.5em;
  padding-bottom: 10px;
  -ms-hyphens: auto;
  -o-hyphens: auto;
  hyphens: auto;

  a {
    @extend %link-underlining;
  }
}

h3 {
  font-size: 19px;
  margin-top: $gutter;
}

h4 {

}

.richtext,
.richtext_full {
	font-size: 16px;
	line-height: 1.5em;
	max-width: 600px;

	a:not(.glossary) {
		color: $link_color;
    text-decoration: underline;

    &:hover,
    &:focus,
    &:active {
      outline: 2px solid $color-accent-contrast;
    }
	}
}

.img_container {
  margin-bottom: $gutter;

  a {
    @extend %imagelink;
    width: 100%;
  }

  img {
    max-width: 100%;
  }

  .img_info_container {
    padding-top: 5px;
    font-size: .85em;

    .area:not(.page_body_right_content ) & {
      border-bottom: 1px solid $text;
    }
  }

  &.img_container_third {
    max-width: 320px;

    &.hochkant {
      max-width: 220px;
    }
  }

  &.img_container_gallery_thumb {
    max-width: 95px;
  }
}

.vimeo_video,
.youtube_video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;

  iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}
