﻿:is(.cms-article-body, .cms-ebook-reading) figure.cms-block-image {
  width: 100%;
  margin-inline: auto;
}

:is(.cms-article-body, .cms-ebook-reading) figure.cms-block-image--reduced {
  width: min(75%, 580px);
}

:is(.cms-article-body, .cms-ebook-reading) .cms-block-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

:is(.cms-article-body, .cms-ebook-reading) .cms-block-image--original img {
  aspect-ratio: auto;
  object-fit: contain;
}

:is(.cms-article-body, .cms-ebook-reading) .cms-block-image--crop-16-9 img { aspect-ratio: 16 / 9; }
:is(.cms-article-body, .cms-ebook-reading) .cms-block-image--banner img { aspect-ratio: 1920 / 300; }

.cms-spacer--small { height: 16px; }
.cms-spacer--medium { height: 32px; }
.cms-spacer--large { height: 48px; }

.cms-faq { margin-block: 28px; }

.cms-faq details {
  border: 1px solid #dce0e8;
  border-radius: 12px;
  background: white;
  margin-top: 10px;
}

.cms-faq summary {
  display: list-item;
  list-style: none;
  position: relative;
  padding: 14px 46px 14px 16px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
}

.cms-faq summary::-webkit-details-marker { display: none; }
.cms-faq summary::after {
  content: "";
  position: absolute;
  inset-inline-end: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
}
.cms-faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.cms-faq summary:focus-visible { outline: 3px solid #4269c3; outline-offset: 2px; }
.cms-faq-answer { padding: 0 16px 16px; }
.cms-faq .cms-faq-answer > :last-child { margin-bottom: 0; }

@media (max-width: 760px) {
  :is(.cms-article-body, .cms-ebook-reading) figure.cms-block-image--reduced { width: min(85%, 580px); }
  .cms-spacer--small { height: 12px; }
  .cms-spacer--medium { height: 24px; }
  .cms-spacer--large { height: 36px; }
}
