/* Simple page (text pages: FAQ, Contact Us, policies, terms)
   Loaded on simple pages after components.css. Templates:
   template-document.php, template-parts/document-page.php. Logic:
   inc/document.php. The content is whatever the editor holds; the rules
   below give the block editor's output the document look of the design.
--------------------------------------------- */

.bluthe_document {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(30px, 4.5vw, 60px) 0 clamp(52px, 7vw, 88px);
  font-family: var(--bl-font);
  color: var(--bl-navy);
}

/* Title and the line under it (the excerpt)
--------------------------------------------- */
.bluthe_document__head {
  max-width: none;
  margin-bottom: clamp(26px, 3.5vw, 44px);
}
.bluthe_document__title {
  margin: 0 0 12px;
  font-family: var(--bl-font);
  font-weight: 400;
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.06;
}
.bluthe_document__intro {
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--bl-text-soft);
}

/* The text
--------------------------------------------- */
.bluthe_document__body {
  max-width: none;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(22, 40, 63, 0.85);
}
.bluthe_document__body > :first-child {
  margin-top: 0;
}
.bluthe_document__body > :last-child {
  margin-bottom: 0;
}
.bluthe_document__body p {
  margin: 0 0 14px;
}
.bluthe_document__body :is(h1, h2, h3, h4, h5, h6) {
  margin: 34px 0 12px;
  font-family: var(--bl-font);
  font-weight: 400;
  line-height: 1.2;
  color: var(--bl-navy);
}
.bluthe_document__body :is(h1, h2) {
  font-size: clamp(20px, 2.2vw, 26px);
}
.bluthe_document__body h3 {
  font-size: 19px;
}
.bluthe_document__body :is(h4, h5, h6) {
  font-size: 16px;
  font-weight: 500;
}
.bluthe_document__body strong,
.bluthe_document__body b {
  font-weight: 500;
  color: var(--bl-navy);
}
.bluthe_document__body em {
  font-style: italic;
}
.bluthe_document__body a {
  color: var(--bl-navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(22, 40, 63, 0.3);
  transition: color 0.18s ease, border-color 0.18s ease;
}
.bluthe_document__body a:hover {
  color: var(--bl-accent);
  border-bottom-color: var(--bl-accent);
}
.bluthe_document__body :is(ul, ol) {
  margin: 0 0 16px;
  padding-inline-start: 1.3em;
}
.bluthe_document__body li {
  margin: 0 0 6px;
}
.bluthe_document__body li > :is(ul, ol) {
  margin: 6px 0 0;
}
.bluthe_document__body hr,
.bluthe_document__body .wp-block-separator {
  width: 100%;
  max-width: none;
  height: 0;
  margin: 30px 0;
  border: 0;
  border-top: 1px solid var(--bl-line);
  background: none;
  opacity: 1;
}
.bluthe_document__body blockquote {
  margin: 0 0 18px;
  padding: 4px 0 4px 20px;
  border-inline-start: 2px solid var(--bl-line);
  color: var(--bl-text-soft);
}
.bluthe_document__body :is(figure, .wp-block-image) {
  margin: 0 0 18px;
}
.bluthe_document__body img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--bl-radius-sm);
}
.bluthe_document__body img.aligncenter {
  margin-inline: auto;
}
.bluthe_document__body figure.aligncenter {
  display: table;
  margin-inline: auto;
}
.bluthe_document__body figure.aligncenter img {
  margin-inline: auto;
}
.bluthe_document__body .has-text-align-center {
  text-align: center;
}
.bluthe_document__body .has-text-align-right {
  text-align: right;
}
.bluthe_document__body table {
  width: 100%;
  margin: 0 0 18px;
  border-collapse: collapse;
  font-size: 15px;
}
.bluthe_document__body :is(th, td) {
  padding: 10px 12px;
  border-bottom: 1px solid var(--bl-line);
  text-align: start;
  vertical-align: top;
}
.bluthe_document__body th {
  font-weight: 500;
  color: var(--bl-navy);
}
.bluthe_document__body .wp-block-buttons {
  margin: 0 0 18px;
}
.bluthe_document__body .page-links {
  margin-top: 24px;
  font-size: 14px;
}
/* Details/summary (a FAQ written with the Details block) */
.bluthe_document__body details {
  margin: 0 0 4px;
  border-bottom: 1px solid var(--bl-line);
  padding: 4px 0 10px;
}
.bluthe_document__body summary {
  padding: 10px 0;
  cursor: pointer;
  font-weight: 400;
  font-size: 17px;
  color: var(--bl-navy);
}

/* The note at the end
--------------------------------------------- */
.bluthe_document__foot {
  max-width: none;
  margin-top: clamp(30px, 4vw, 44px);
  padding-top: 26px;
  border-top: 1px solid var(--bl-line);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(22, 40, 63, 0.82);
}
.bluthe_document__foot a {
  color: var(--bl-navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(22, 40, 63, 0.3);
  transition: color 0.18s ease, border-color 0.18s ease;
}
.bluthe_document__foot a:hover {
  color: var(--bl-accent);
  border-bottom-color: var(--bl-accent);
}
