/* CKEditor 5 content styles — scoped to .ck-editor__editable (inline editor).
   Matches published-page typography from bundles/assets/style.css. */

.ck-editor__editable {
  font-family: "Arial", "Helvetica", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: #353F49;
  text-align: left;
  background-color: #fff;
}

.ck-editor__editable h1,
.ck-editor__editable h2,
.ck-editor__editable h3,
.ck-editor__editable h4,
.ck-editor__editable h5,
.ck-editor__editable h6 {
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.ck-editor__editable h1 { font-size: 48px; }
.ck-editor__editable h2 { font-size: 38px; }
.ck-editor__editable h3 { font-size: 28px; }
.ck-editor__editable h4 { font-size: 22px; }
.ck-editor__editable h5 { font-size: 28px; line-height: 36px; }
.ck-editor__editable h6 { font-size: 22px; line-height: 29px; }

.ck-editor__editable blockquote {
  margin: 0 0 1rem;
}

.ck-editor__editable blockquote p {
  font-family: Roboto, sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 24px;
  line-height: 34px;
  color: #898989;
}

.ck-editor__editable blockquote p {
  position: relative;
  text-indent: 30px;
}

/* Opening quote mark (kov.png) — mirrors .rel-info blockquote p:first-of-type::before.
   One opening mark per blockquote, at the start of the first text paragraph. */
.ck-editor__editable blockquote p:first-of-type::before {
  content: url("../../bundles/assets/images/icons/kov.png");
  height: 14px;
  position: absolute;
  top: -5px;
  left: -30px;
}

/* Closing quote mark (kov2.png) — mirrors .rel-info blockquote p:last-of-type::after.
   Attribution (<cite>/<span>) sits outside the <p> elements, so the last
   paragraph is always the last line of the quote text. */
.ck-editor__editable blockquote p:last-of-type::after {
  display: inline-block;
  margin-left: -20px;
  content: url("../../bundles/assets/images/icons/kov2.png");
  width: 0;
  height: 0;
}


.ck-editor__editable blockquote cite.author {
  display: block;
  margin-top: 24px;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  text-transform: uppercase;
  color: #282828;
}

.ck-editor__editable blockquote span.job-title {
  display: block;
  margin-top: 8px;
  font-family: Roboto, sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;
  color: #898989;
}

.ck-editor__editable img {
  max-width: 100%;
  height: auto;
}

.ck-editor__editable p {
  margin-top: 0;
  margin-bottom: 16px;
}

.ck-editor__editable .figcaption {
  margin-top: 4px;
}

.ck-editor__editable .align-left {
  padding-right: 10px;
  padding-bottom: 10px;
}

.ck-editor__editable .align-right {
  padding-left: 10px;
  padding-bottom: 10px;
}

.ck-editor__editable .align-center {
  text-align: center;
}

.ck-editor__editable .article {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  line-height: 130%;
  color: #282828;
  font-style: normal;
  font-size: 18px;
}

/* New <article class="subtitle"> (CKE5 Styles plugin): heading style for inner paragraphs. */
.ck-editor__editable article.subtitle > p {
  margin-top: 0;
  font-family: Roboto, sans-serif;
  font-size: 18px;
  line-height: 23px;
  font-weight: 500;
  color: #282828;
}

.ck-editor__editable table caption {
  font-size: 28px;
  line-height: 36px;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  color: #282828;
  font-style: normal;
  text-align: left;
}

@media (max-width: 767.98px) {
  .ck-editor__editable .align-left,
  .ck-editor__editable .align-right {
    float: none;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 577px) {
  .ck-editor__editable .article {
    font-size: 16px;
  }
}

@media (max-width: 321px) {
  .ck-editor__editable .article {
    font-size: 14px;
  }
}
