/*!**************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/widgets/common/PageContent/style.css ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************/
/* ============================================================================
 * PageContent rich-text styling
 *
 * All presentational styles live here so the rich-text HTML in en.json can be
 * purely semantic (just tags + href + class). This way the visual editor's
 * sanitizer can strip inline `style` attributes on save without breaking the
 * rendered look.
 *
 * Everything is scoped to `.richtext-content` so these rules only affect
 * content rendered by the PageContent widget.
 * ========================================================================= */

.richtext-content {
  font-family: var(--font-opensans), "Open Sans", Arial, sans-serif;
  color: rgb(33, 33, 33);
}

/* Container wrappers (inherited from the reference's markup) */
.richtext-content .content-container {
  position: relative;
  overflow: hidden;
}

.richtext-content .content-preview,
.richtext-content .content-full {
  position: relative;
}

/* ---- Headings ------------------------------------------------------------ */

.richtext-content h1 {
  font-size: 32px;
  line-height: 40px;
  margin-top: 0;
  margin-bottom: 8px;
  font-weight: 400;
  color: rgb(33, 33, 33);
}

@media (min-width: 768px) {
  .richtext-content h1 {
    font-size: 40px;
    line-height: 50px;
  }
}

.richtext-content h2 {
  font-size: 24px;
  line-height: 32px;
  margin-top: 0;
  margin-bottom: 8px;
  font-weight: 400;
  color: rgb(33, 33, 33);
}

@media (min-width: 768px) {
  .richtext-content h2 {
    font-size: 32px;
    line-height: 40px;
  }
}

/* The preview variant uses a larger h2 to match the original hero-style display */
.richtext-content .content-preview h2 {
  font-size: 28px;
  line-height: 36px;
}

@media (min-width: 768px) {
  .richtext-content .content-preview h2 {
    font-size: 40px;
    line-height: 50px;
  }
}

/* Desktop (xl+) — match prod's 16px bottom margin on the preview H2 */
@media (min-width: 1280px) {
  .richtext-content .content-preview h2 {
    margin-bottom: 16px;
  }
}

/* Empty spacer <p> immediately after the H2 in the preview should collapse
   its bottom margin so its total vertical footprint is exactly 24px
   (24 height + 0 margin) — matches prod across all breakpoints. */
.richtext-content .content-preview h2 + p {
  margin-bottom: 0;
}

.richtext-content h3 {
  font-size: 20px;
  line-height: 28px;
  margin-top: 20px;
  margin-bottom: 8px;
  font-weight: 400;
  color: rgb(33, 33, 33);
}

@media (min-width: 768px) {
  .richtext-content h3 {
    font-size: 28px;
    line-height: 36px;
  }
}

.richtext-content h4 {
  font-size: 18px;
  line-height: 26px;
  margin-top: 16px;
  margin-bottom: 8px;
  font-weight: 500;
  color: rgb(33, 33, 33);
}

@media (min-width: 768px) {
  .richtext-content h4 {
    font-size: 22px;
    line-height: 30px;
  }
}

.richtext-content h5 {
  font-size: 16px;
  line-height: 24px;
  margin-top: 14px;
  margin-bottom: 6px;
  font-weight: 600;
  color: rgb(33, 33, 33);
}

@media (min-width: 768px) {
  .richtext-content h5 {
    font-size: 18px;
    line-height: 26px;
  }
}

.richtext-content h6 {
  font-size: 14px;
  line-height: 22px;
  margin-top: 12px;
  margin-bottom: 4px;
  font-weight: 600;
  color: rgb(33, 33, 33);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (min-width: 768px) {
  .richtext-content h6 {
    font-size: 15px;
    line-height: 22px;
  }
}

/* ---- Body text ----------------------------------------------------------- */

.richtext-content p {
  font-size: 16px;
  line-height: 24px;
  margin-top: 0;
  margin-bottom: 16px;
  font-weight: 400;
  color: rgb(33, 33, 33);
}

/* Expanded (full) state overrides — scoped to `.richtext-content .content-full`
   only, so other PageContent rich-text instances (e.g. `.content-preview`,
   policy / about pages without `.content-full`) are unaffected. */
.richtext-content .content-full h2 {
  font-size: 25px;
  line-height: 32px;
}

.richtext-content .content-full h3 {
  font-size: 23px;
  line-height: 31px;
}

.richtext-content .content-full p {
  font-size: 15px;
  line-height: 22px;
}

/* Empty spacer <p>&nbsp;</p> — give it a real line height */
.richtext-content p:empty,
.richtext-content p:has(br:only-child) {
  min-height: 1em;
}

/* ---- Inline formatting --------------------------------------------------- */

.richtext-content strong,
.richtext-content b {
  font-weight: 700;
}

.richtext-content em,
.richtext-content i {
  font-style: italic;
}

.richtext-content u {
  text-decoration: underline;
}

.richtext-content s,
.richtext-content del,
.richtext-content strike {
  text-decoration: line-through;
  color: rgba(33, 33, 33, 0.7);
}

.richtext-content mark {
  background-color: #fff59d;
  color: rgb(33, 33, 33);
  padding: 0 2px;
  border-radius: 2px;
}

.richtext-content small {
  font-size: 0.85em;
}

.richtext-content sub {
  font-size: 0.75em;
  vertical-align: sub;
}

.richtext-content sup {
  font-size: 0.75em;
  vertical-align: super;
}

.richtext-content abbr {
  border-bottom: 1px dotted currentColor;
  cursor: help;
}

/* ---- Links --------------------------------------------------------------- */

.richtext-content a {
  color: #0d6dfd;
  text-decoration: underline;
}

.richtext-content a:hover {
  opacity: 0.85;
}

/* ---- Lists --------------------------------------------------------------- */

.richtext-content ul,
.richtext-content ol {
  margin-top: 0;
  margin-bottom: 16px;
  padding-left: 28px;
  font-size: 16px;
  line-height: 24px;
  color: rgb(33, 33, 33);
}

.richtext-content ul {
  list-style-type: disc;
}

.richtext-content ol {
  list-style-type: decimal;
}

.richtext-content ul ul,
.richtext-content ol ol,
.richtext-content ul ol,
.richtext-content ol ul {
  margin-top: 6px;
  margin-bottom: 6px;
}

.richtext-content ul ul {
  list-style-type: circle;
}

.richtext-content ul ul ul {
  list-style-type: square;
}

.richtext-content ol ol {
  list-style-type: lower-alpha;
}

.richtext-content ol ol ol {
  list-style-type: lower-roman;
}

.richtext-content li {
  margin-bottom: 6px;
}

.richtext-content li > p {
  margin-bottom: 6px;
}

.richtext-content li:last-child {
  margin-bottom: 0;
}

/* Definition lists */
.richtext-content dl {
  margin-top: 0;
  margin-bottom: 16px;
}

.richtext-content dt {
  font-weight: 600;
  margin-top: 8px;
}

.richtext-content dd {
  margin-left: 24px;
  margin-bottom: 6px;
}

/* ---- Blockquote ---------------------------------------------------------- */

.richtext-content blockquote {
  margin: 16px 0;
  padding: 12px 20px;
  border-left: 4px solid #0d6dfd;
  background-color: rgba(13, 109, 253, 0.05);
  font-style: italic;
  color: rgba(33, 33, 33, 0.85);
}

.richtext-content blockquote p:last-child {
  margin-bottom: 0;
}

/* ---- Code ---------------------------------------------------------------- */

.richtext-content code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9em;
  padding: 2px 6px;
  background-color: rgba(33, 33, 33, 0.08);
  border-radius: 4px;
  color: rgb(33, 33, 33);
}

.richtext-content pre {
  margin-top: 0;
  margin-bottom: 16px;
  padding: 12px 16px;
  background-color: rgba(33, 33, 33, 0.05);
  border-radius: 6px;
  overflow-x: auto;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 14px;
  line-height: 1.5;
}

.richtext-content pre code {
  padding: 0;
  background-color: transparent;
  border-radius: 0;
  font-size: inherit;
}

/* ---- Horizontal rule ----------------------------------------------------- */

.richtext-content hr {
  margin: 24px 0;
  border: 0;
  border-top: 1px solid rgba(33, 33, 33, 0.12);
  height: 0;
}

/* ---- Tables -------------------------------------------------------------- */

.richtext-content table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 20px;
}

.richtext-content th,
.richtext-content td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border: 1px solid rgba(33, 33, 33, 0.12);
}

.richtext-content th {
  background-color: rgba(33, 33, 33, 0.04);
  font-weight: 600;
}

.richtext-content tr:nth-child(even) td {
  background-color: rgba(33, 33, 33, 0.02);
}

.richtext-content caption {
  padding: 8px 0;
  font-size: 13px;
  font-style: italic;
  color: rgba(33, 33, 33, 0.7);
  text-align: left;
}

/* ---- Media (images / video / iframe) ------------------------------------- */

.richtext-content img,
.richtext-content video,
.richtext-content iframe {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 8px;
  margin-bottom: 16px;
  border-radius: 4px;
}

.richtext-content figure {
  margin: 16px 0;
}

.richtext-content figcaption {
  font-size: 13px;
  font-style: italic;
  color: rgba(33, 33, 33, 0.7);
  text-align: center;
  margin-top: 6px;
}

/* ---- Fade-out paragraph (used in preview's last paragraph) --------------- */

.richtext-content .fade {
  /* Retained for markup compatibility; the gradient overlay is applied by
     the widget's wrapper div, so no per-element fade needed here. */
}

/* ---- Text-alignment helpers (TinyMCE adds style="text-align: *") --------- */

.richtext-content [style*="text-align: center"],
.richtext-content .text-center {
  text-align: center;
}

.richtext-content [style*="text-align: right"],
.richtext-content .text-right {
  text-align: right;
}

.richtext-content [style*="text-align: justify"],
.richtext-content .text-justify {
  text-align: justify;
}

/* ---- Legacy expanded/preview toggle helper ------------------------------- */

.richtext-content.expanded .content-preview {
  display: none !important;
}

