.image-text-wrapper {
  width: 100%;
  margin: 0;
}

.image-text-item {
  display: block;
}

@media (min-width: 768px) {
  .image-text-item.side-by-side {
    display: flex;
    align-items: stretch;
    min-height: 460px;
    gap: 26px;
  }

  .image-text-item.side-by-side.reverse {
    flex-direction: row-reverse;
  }

  .image-text-item.side-by-side .image-text-image,
  .image-text-item.side-by-side .image-text-body {
    width: 50%;
    flex: 1;
  }

  .image-text-item.side-by-side .image-text-image img {
    height: 100%;
    max-height: none;
    object-fit: cover;
  }

  .image-text-item.side-by-side.no-image .image-text-body {
    width: 100%;
  }
}

.image-text-item.no-image .image-text-body {
  padding-top: 0;
}

.image-text-image img {
  width: 100%;
  height: auto;
  max-height: 72vh;
  display: block;
  object-fit: contain;
}

.image-text-image-placeholder {
  min-height: 320px;
  background: #d8d8d8;
}

.image-text-body {
  padding: 28px 0;
}

.image-text-body .page-context-title {
  margin-top: 0;
  margin-bottom: 16px;
}

.image-text-set-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.image-text-set-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
  background: #fafafa;
  border: 1px solid #e0e0e0;
}

.image-text-set-item:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .image-text-set-item {
    flex-direction: row;
    align-items: stretch;
    min-height: 320px;
    gap: 22px;
  }

  .page-context-block.image-text-set-reverse .image-text-set-item {
    flex-direction: row-reverse;
  }

  .image-text-set-image,
  .image-text-set-text {
    width: 50%;
    flex: 1;
    padding: 20px;
  }

  .image-text-set-item.no-image .image-text-set-text {
    width: 100%;
  }
}

.image-text-set-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.image-text-set-image-placeholder {
  min-height: 220px;
  background: #d8d8d8;
}

.image-text-set-text {
  padding: 32px;
}

.image-text-set-title {
  margin-top: 0;
  margin-bottom: 12px;
}

.pdf-text-context {
  width: 100%;
}

.pdf-text-intro {
  margin-bottom: 18px;
}

.pdf-text-intro .page-context-title {
  margin-top: 0;
  margin-bottom: 12px;
}

.pdf-text-set-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.pdf-text-set-item {
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  padding: 20px;
}

.pdf-text-set-item:last-child {
  margin-bottom: 0;
}

.pdf-text-set-title {
  margin-top: 0;
  margin-bottom: 12px;
}

.pdf-text-set-body {
  margin-bottom: 16px;
}