:root {
  --min-width: 320px;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --breakpoint-xxl: 1400px;
}

html, body {
  margin: 0;
}

*, ::before, ::after {
  box-sizing: border-box;
}

.slogan {
  font-size: 30px;
  font-family: Caveat;
  color: var(--ds-color-base-default);
}

.skip-link {
  position: absolute;
  top: -50px;
  left: 0;
  background: var(--ds-color-background-default);
  color: var(--ds-color-base-default);
  padding: 8px 16px;
  z-index: 1000;
}

.skip-link:focus-visible {
  top: 10px;
  left: 10px;
}

.sr-only {
  position: absolute;
  left: -9999px;
}

.page-inner {
  max-width: var(--breakpoint-xxl);
  margin: auto;
  width: 100%;
  padding: 30px;
  min-width: var(--min-width);
}

.page-inner > * {
  margin-bottom: 32px;
}

@media (max-width: 576px) {
  .page-inner {
    padding: 10px;
  }
  .page-inner > * {
    margin-bottom: 16px;
  }
}
.subpage-content > .page-inner > *:last-child {
  margin-bottom: var(--ds-size-12);
}

.ds-heading {
  font-weight: 500;
  font-size: 1.5rem;
}

.ds-tag {
  padding: 0 0.5rem;
}

.link-button-wrapper {
  margin: 0 auto;
  color: var(--ds-color-neutral-text-default);
  display: grid;
  gap: var(--ds-size-6);
}

.link-button-wrapper a {
  text-decoration: none;
}

.link-button-wrapper .ds-paragraph {
  padding-bottom: 0;
  font-size: var(--ds-font-size-5);
  font-weight: normal;
}

.card-container {
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  display: grid;
}

.ds-card__block::before, .ds-card__block::after {
  display: table;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.logo > svg {
  width: 100%;
  max-width: 250px;
  min-width: 150px;
}

.logo svg * {
  fill: #000;
}

@media (prefers-color-scheme: dark) {
  .logo svg * {
    fill: #fff;
  }
}
.nowrap {
  white-space: nowrap;
}
.top-wrapper {
  background-color: var(--ds-color-background-default);
}

.top-media {
  position: relative;
}

.top-media img {
  display: block;
  border-radius: var(--ds-border-radius-xl);
  margin: 0 0 0 auto;
  width: 90%;
}

.top-media .ds-paragraph {
  font-weight: 500;
  font-size: var(--ds-font-size-8);
  color: var(--ds-color-text-default);
  background: var(--ds-color-main1-surface-tinted);
  z-index: 1;
  max-width: 780px;
  min-width: 250px;
  padding: 32px 40px;
  border-radius: var(--ds-border-radius-xl);
  position: absolute;
  bottom: 20px;
  left: 0;
}

.top-media-title2 {
  color: var(--ds-color-main1-text-subtle);
}

.gallery-wrapper {
  display: flex;
  margin-top: 32px;
  margin-bottom: 32px;
  align-items: center;
  justify-content: center;
  gap: var(--ds-size-6);
}

.gallery, .ingress {
  flex: 1;
}

.gallery-top {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  margin-bottom: 5px;
}

.gallery-bottom {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 5px;
}

.gallery img {
  border-radius: var(--ds-border-radius-xl);
  object-fit: cover;
}

.content-wrapper {
  background: linear-gradient(to bottom, var(--ds-color-background-default) 0, var(--ds-color-background-default) 180px, var(--ds-color-background-tinted) 180px, var(--ds-color-background-tinted) 100%);
}

.news-wrapper .ds-heading {
  margin-top: 16px;
}

.news-wrapper .ds-card {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 1rem;
  border: none;
  background: transparent;
}

.news-wrapper .ds-card__block {
  border-radius: var(--ds-border-radius-lg);
}

.news-wrapper .newsCardText {
  background: var(--ds-color-surface-default);
  color: var(--ds-color-neutral-text-default);
  padding: var(--ds-size-6);
}

.news-wrapper .ds-card__block img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  display: block;
}

@media (min-width: 993px) {
  .top-left {
    width: 530px;
    height: 250px;
  }
  .top-right {
    width: 180px;
    height: 180px;
  }
  .bottom-left {
    width: 180px;
    height: 180px;
  }
  .bottom-right {
    width: 220px;
    height: 250px;
  }
}
@media (max-width: 992px) {
  .top-media .ds-paragraph {
    margin: auto;
    position: relative;
    top: -50px;
  }
  .top-left {
    width: 340px;
    height: 250px;
  }
  .top-right {
    width: 160px;
    height: 180px;
  }
  .bottom-left {
    width: 160px;
    height: 180px;
  }
  .bottom-right {
    width: 200px;
    height: 260px;
  }
  .news-wrapper .ds-card {
    grid-template-columns: 2fr 1fr;
  }
}
@media (max-width: 768px) {
  .top-media .ds-paragraph {
    font-size: var(--ds-font-size-6);
    padding: 21px 28px;
    margin: 16px;
  }
  .gallery-wrapper {
    flex-direction: column-reverse;
  }
  .gallery {
    margin-bottom: 16px;
  }
  .top-left {
    width: 60%;
    height: 220px;
  }
  .top-right {
    width: 30%;
    height: 160px;
  }
  .bottom-left {
    width: 35%;
    height: 160px;
  }
  .bottom-right {
    width: 35%;
    height: 220px;
  }
  .news-wrapper .ds-card {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 576px) {
  .top-media img {
    width: 100%;
    border-radius: 0;
  }
  .news-wrapper .ds-card {
    padding: 20px;
    grid-template-columns: 1fr;
  }
  .newsCardImage {
    order: -1;
  }
  .page-inner.top {
    padding: 0;
  }
}
.job-ad-box {
  padding: 21px;
  border-radius: var(--ds-border-radius-lg);
  border-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.job-ad-box p.ds-paragraph {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 0.5rem;
  margin: 1rem 0;
}

.job-ad-wrapper {
  padding: 16px 0;
}

.jobLink {
  padding: 8px 0;
}

.jobs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

[data-color=tag-background] {
  background-color: var(--ds-color-accent-background-default);
}

@media (max-width: 1200px) {
  .jobs {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .jobs {
    grid-template-columns: 1fr;
  }
}
.ds-card__block {
  padding: 0;
}

.ds-heading {
  font-weight: 500;
  font-size: var(--ds-font-size-6);
}

.image-with-textbox {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}

.image-with-textbox > img {
  position: relative;
  z-index: 1;
  object-fit: cover;
  border-radius: var(--ds-border-radius-xl);
}

.image-with-textbox > .ds-card {
  z-index: 2;
  overflow: auto;
  border-style: none;
  padding: var(--ds-size-6);
  font-size: var(--ds-font-size-4);
  font-weight: normal;
  max-height: 90%;
}

.image-with-textbox > .ds-card:not(:focus-visible):not(:has(:focus-visible)) {
  box-shadow: 5px 5px 10px 1px rgba(0, 0, 0, 0.2);
}

.image-with-textbox:nth-of-type(even) > .ds-card {
  background-color: var(--ds-color-main2-background-tinted);
  color: var(--ds-color-main2-text-default);
}

.image-with-textbox:nth-of-type(odd) > .ds-card {
  background-color: var(--ds-color-main1-surface-tinted);
}

@media screen and (min-width: 1201px) {
  .image-with-textbox > img {
    width: 60%;
  }
  .image-with-textbox > .ds-card {
    width: 50%;
  }
}
@media screen and (max-width: 1200px) and (min-width: 769px) {
  .image-with-textbox > img {
    width: 80%;
  }
  .image-with-textbox > .ds-card {
    width: 50%;
  }
}
@media screen and (min-width: 769px) {
  .image-with-textbox:nth-of-type(odd) > .ds-card {
    left: 0;
  }
  .image-with-textbox:nth-of-type(even) > .ds-card {
    right: 0;
  }
  .image-with-textbox:nth-of-type(odd) > img {
    margin: 15px 0 15px auto;
  }
  .image-with-textbox:nth-of-type(even) > img {
    margin: 15px auto 15px 0;
  }
  .image-with-textbox > .ds-card {
    position: absolute;
  }
}
@media screen and (max-width: 768px) {
  .ds-heading {
    font-size: var(--ds-font-size-5);
  }
  .image-with-textbox > .ds-card {
    position: relative;
  }
  .image-with-textbox {
    justify-content: flex-start;
    flex-direction: column;
  }
  .image-with-textbox > img {
    width: 95%;
    align-self: flex-start;
  }
  .image-with-textbox > .ds-card {
    min-height: 100px;
    width: 95%;
    bottom: 50px;
    align-self: flex-end;
    padding: var(--ds-size-6);
    font-size: var(--ds-font-size-3);
  }
}
@media screen and (max-width: 575px) {
  .image-with-textbox > .ds-card {
    padding: var(--ds-size-7);
  }
}
@media screen and (max-width: 320px) {
  .image-with-textbox > img {
    width: 100%;
  }
  .image-with-textbox > .ds-card {
    width: 100%;
  }
}
