/* ==========================================================================
   Additions for content that now comes from the CMS: uploaded images in slots
   the design left empty, logos of any shape, and rich text from the editor.
   ========================================================================== */

.testi-card__avatar { overflow: hidden; }
.testi-card__avatar > img { inline-size: 100%; block-size: 100%; object-fit: cover; display: block; }

.about-logo--cms > img { object-fit: contain; }
.logo-band .marquee__track img { block-size: 102px; inline-size: auto; object-fit: contain; }

.ar-copy > * + *,
.ep-about__copy > * + * { margin-block-start: 1em; }
.ar-copy ul, .ar-copy ol,
.ep-about__copy ul, .ep-about__copy ol { padding-inline-start: 1.25em; }
.ar-copy ul, .ep-about__copy ul { list-style: disc; }
.ar-copy ol, .ep-about__copy ol { list-style: decimal; }
.ar-copy a, .ep-about__copy a { color: var(--primary-500); text-decoration: underline; }
.ar-copy img, .ep-about__copy img { max-inline-size: 100%; block-size: auto; border-radius: var(--r-md); }
.ar-copy .ql-align-center { text-align: center; }
.ar-copy .ql-align-left { text-align: left; }
.ar-copy .ql-align-right { text-align: right; }

.maintenance {
  min-block-size: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--sp-8);
  background: var(--surface-cream);
}
.maintenance img { margin-inline: auto; margin-block-end: var(--sp-8); }
.maintenance h1 { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--tertiary-500); }
.maintenance p { color: var(--text-muted); font-size: var(--fs-p3); margin-block-start: var(--sp-4); }

/* Legal clauses written in the editor: numbered lists, links, bold and
   sub-headings next to the design's paragraphs and bullet lists. */
.legal__text > * + * { margin-block-start: var(--sp-3); }
.legal__item ol {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding-inline-start: 1.4em;
  list-style: decimal;
}
.legal__item ol li { padding-inline-start: 0; }
.legal__item ol li::before { content: none; }
.legal__item a { color: var(--primary-500); text-decoration: underline; text-underline-offset: 3px; }
.legal__item strong, .legal__item b { color: var(--text-strong); }
.legal__item h3 { font-size: var(--fs-p2); color: var(--text-strong); margin-block-start: var(--sp-6); }

/* Content saved in Quill's internal list format before the semantic export */
.ql-ui { display: none; }
ol > li[data-list="bullet"] { list-style-type: disc; }

.ql-direction-rtl { direction: rtl; text-align: right; }
.ql-align-justify { text-align: justify; }
