@charset "UTF-8";
/* Frontend styles for embedded images and content */
/* Font size styles for frontend display */
.ql-size-small {
  font-size: 0.75em;
}

.ql-size-large {
  font-size: 1.5em;
}

.ql-size-huge {
  font-size: 2.5em;
}

/* General content styling for frontend display */
.ql-editor {
  font-family: Merriweather, Constantia, Lucida Bright, Lucidabright, Lucida Serif, Lucida, DejaVu Serif, Bitstream Vera Serif, Liberation Serif, Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.9;
  padding: 0;
  word-break: break-word;
  overflow-y: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ql-editor p,
.ql-editor ul,
.ql-editor ol,
.ql-editor h1,
.ql-editor h2,
.ql-editor h3,
.ql-editor blockquote,
.ql-editor pre {
  min-width: 100%;
}

.ql-editor h2 {
  margin-top: 0 !important;
  margin-bottom: 33px !important;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 2.6rem;
}

.ql-editor h3 {
  margin-bottom: 33px !important;
  font-size: 17px !important;
  font-weight: bold;
  line-height: 2.6rem;
}

.ql-editor p,
.ql-editor ol,
.ql-editor ul,
.ql-editor pre,
.ql-editor blockquote {
  margin-bottom: 33px !important;
}

.ql-editor h1,
.ql-editor h2 {
  margin-top: 56px;
  margin-bottom: 15px;
}

/* List styling for frontend */
.ql-editor ol,
.ql-editor ul {
  padding-left: 1.5em !important;
}

.ql-editor ol > li,
.ql-editor ul > li {
  list-style-type: none !important;
}

.ql-editor ul > li::before {
  content: "\2022" !important;
}

.ql-editor li::before {
  display: inline-block;
  white-space: nowrap;
  width: 1.2em;
}

.ql-editor li:not(.ql-direction-rtl)::before {
  margin-left: -1.5em;
  margin-right: 0.3em;
  text-align: right;
}

.ql-editor li.ql-direction-rtl::before {
  margin-left: 0.3em;
  margin-right: -1.5em;
}

.ql-editor ol li:not(.ql-direction-rtl),
.ql-editor ul li:not(.ql-direction-rtl) {
  padding-left: 1.5em;
}

.ql-editor ol li.ql-direction-rtl,
.ql-editor ul li.ql-direction-rtl {
  padding-right: 1.5em;
}

.ql-editor ol li {
  counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
  counter-increment: list-0;
}

.ql-editor ol li:before {
  content: counter(list-0, decimal) ". " !important;
}

.ql-editor ol li.ql-indent-1 {
  counter-increment: list-1;
}

.ql-editor ol li.ql-indent-1:before {
  content: counter(list-1, lower-alpha) ". ";
}

.ql-editor ol li.ql-indent-1 {
  counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
}

.ql-editor ol li.ql-indent-2 {
  counter-increment: list-2;
}

.ql-editor ol li.ql-indent-2:before {
  content: counter(list-2, lower-roman) ". ";
}

.ql-editor ol li.ql-indent-2 {
  counter-reset: list-3 list-4 list-5 list-6 list-7 list-8 list-9;
}

.ql-editor ol li.ql-indent-3 {
  counter-increment: list-3;
}

.ql-editor ol li.ql-indent-3:before {
  content: counter(list-3, decimal) ". ";
}

.ql-editor ol li.ql-indent-3 {
  counter-reset: list-4 list-5 list-6 list-7 list-8 list-9;
}

.ql-editor ol li.ql-indent-4 {
  counter-increment: list-4;
}

.ql-editor ol li.ql-indent-4:before {
  content: counter(list-4, lower-alpha) ". ";
}

.ql-editor ol li.ql-indent-4 {
  counter-reset: list-5 list-6 list-7 list-8 list-9;
}

.ql-editor ol li.ql-indent-5 {
  counter-increment: list-5;
}

.ql-editor ol li.ql-indent-5:before {
  content: counter(list-5, lower-roman) ". ";
}

.ql-editor ol li.ql-indent-5 {
  counter-reset: list-6 list-7 list-8 list-9;
}

.ql-editor ol li.ql-indent-6 {
  counter-increment: list-6;
}

.ql-editor ol li.ql-indent-6:before {
  content: counter(list-6, decimal) ". ";
}

.ql-editor ol li.ql-indent-6 {
  counter-reset: list-7 list-8 list-9;
}

.ql-editor ol li.ql-indent-7 {
  counter-increment: list-7;
}

.ql-editor ol li.ql-indent-7:before {
  content: counter(list-7, lower-alpha) ". ";
}

.ql-editor ol li.ql-indent-7 {
  counter-reset: list-8 list-9;
}

.ql-editor ol li.ql-indent-8 {
  counter-increment: list-8;
}

.ql-editor ol li.ql-indent-8:before {
  content: counter(list-8, lower-roman) ". ";
}

.ql-editor ol li.ql-indent-8 {
  counter-reset: list-9;
}

.ql-editor ol li.ql-indent-9 {
  counter-increment: list-9;
}

.ql-editor ol li.ql-indent-9:before {
  content: counter(list-9, decimal) ". ";
}

.ql-editor ul li.ql-indent-1 {
  counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
}

.ql-editor ul li.ql-indent-2 {
  counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
}

.ql-editor ul li.ql-indent-3 {
  counter-reset: list-3 list-4 list-5 list-6 list-7 list-8 list-9;
}

.ql-editor ul li.ql-indent-4 {
  counter-reset: list-4 list-5 list-6 list-7 list-8 list-9;
}

.ql-editor ul li.ql-indent-5 {
  counter-reset: list-5 list-6 list-7 list-8 list-9;
}

.ql-editor ul li.ql-indent-6 {
  counter-reset: list-6 list-7 list-8 list-9;
}

.ql-editor ul li.ql-indent-7 {
  counter-reset: list-7 list-8 list-9;
}

.ql-editor ul li.ql-indent-8 {
  counter-reset: list-8 list-9;
}

.ql-editor ul li.ql-indent-9 {
  counter-reset: list-9;
}

.ql-editor ol li.ql-indent-1:before {
  content: counter(list-1, lower-alpha) ". ";
}

.ql-editor ol li.ql-indent-2:before {
  content: counter(list-2, lower-roman) ". ";
}

.ql-editor ol li.ql-indent-3:before {
  content: counter(list-3, decimal) ". ";
}

.ql-editor ol li.ql-indent-4:before {
  content: counter(list-4, lower-alpha) ". ";
}

.ql-editor ol li.ql-indent-5:before {
  content: counter(list-5, lower-roman) ". ";
}

.ql-editor ol li.ql-indent-6:before {
  content: counter(list-6, decimal) ". ";
}

.ql-editor ol li.ql-indent-7:before {
  content: counter(list-7, lower-alpha) ". ";
}

.ql-editor ol li.ql-indent-8:before {
  content: counter(list-8, lower-roman) ". ";
}

.ql-editor ol li.ql-indent-9:before {
  content: counter(list-9, decimal) ". ";
}

.ql-editor ul li.ql-indent-1:before {
  content: "\25E6";
}

.ql-editor ul li.ql-indent-2:before {
  content: "\25AA";
}

.ql-editor ul li.ql-indent-3:before {
  content: "\25CF";
}

.ql-editor ul li.ql-indent-4:before {
  content: "\25E6";
}

.ql-editor ul li.ql-indent-5:before {
  content: "\25AA";
}

.ql-editor ul li.ql-indent-6:before {
  content: "\25CF";
}

.ql-editor ul li.ql-indent-7:before {
  content: "\25E6";
}

.ql-editor ul li.ql-indent-8:before {
  content: "\25AA";
}

.ql-editor ul li.ql-indent-9:before {
  content: "\25CF";
}

.ql-bubble .ql-editor a {
  color: #4040c8;
  text-decoration: none;
}

.ql-container hr {
  border: none;
  color: #22292f;
  letter-spacing: 1em;
  text-align: center;
  margin-bottom: 5rem;
}

.ql-container hr:before {
  content: "...";
}

/* Embedded Image Styles */
.embedded_image {
  margin-bottom: 33px !important;
  cursor: default;
}

/* Default and wide layouts - vertical stacking */
.embedded_image[data-layout=default],
.embedded_image[data-layout=wide] {
  display: block;
}

.embedded_image[data-layout=default] .image-container img,
.embedded_image[data-layout=wide] .image-container img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 4px;
}

/* Image size styles */
.embedded_image[data-size=default] .image-container img {
  max-width: 100% !important;
}

.embedded_image[data-size=small] .image-container {
  max-width: 200px !important;
  margin: 0 auto;
}

.embedded_image[data-size=small] .image-container img {
  max-width: 100% !important;
  width: 100%;
  height: auto;
}

.embedded_image[data-size=medium] .image-container {
  max-width: 400px !important;
  margin: 0 auto;
}

.embedded_image[data-size=medium] .image-container img {
  max-width: 100% !important;
  width: 100%;
  height: auto;
}

.embedded_image[data-size=large] .image-container {
  max-width: 600px !important;
  margin: 0 auto;
}

.embedded_image[data-size=large] .image-container img {
  max-width: 100% !important;
  width: 100%;
  height: auto;
}

.embedded_image[data-layout=wide] .image-container img {
  max-width: 1024px;
}

.embedded_image[data-layout=default] .image-caption,
.embedded_image[data-layout=wide] .image-caption {
  text-align: center;
  margin: 10px 0 0 0 !important;
  line-height: 1.6;
  color: #666;
  font-style: italic;
}

/* Horizontal layout - image left, caption right */
.embedded_image[data-layout=horizontal] {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.embedded_image[data-layout=horizontal] .image-container {
  flex: 0 0 auto;
  min-width: 200px;
  max-width: 50%;
}

/* Horizontal layout size overrides */
.embedded_image[data-layout=horizontal][data-size=default] .image-container {
  min-width: 200px;
  max-width: 50%;
}

.embedded_image[data-layout=horizontal][data-size=small] .image-container {
  min-width: 150px;
  max-width: 200px;
}

.embedded_image[data-layout=horizontal][data-size=medium] .image-container {
  min-width: 200px;
  max-width: 300px;
}

.embedded_image[data-layout=horizontal][data-size=large] .image-container {
  min-width: 250px;
  max-width: 400px;
}

.embedded_image[data-layout=horizontal] .image-container img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.embedded_image[data-layout=horizontal] .image-caption {
  flex: 1;
  margin: 0 !important;
  padding: 10px 0;
  text-align: left;
  line-height: 1.6;
  color: #666;
  font-style: italic;
}

/* Horizontal reverse layout - image right, caption left */
.embedded_image[data-layout=horizontal-reverse] {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-direction: row-reverse;
}

.embedded_image[data-layout=horizontal-reverse] .image-container {
  flex: 0 0 auto;
  min-width: 200px;
  max-width: 50%;
}

/* Horizontal reverse layout size overrides */
.embedded_image[data-layout=horizontal-reverse][data-size=default] .image-container {
  min-width: 200px;
  max-width: 50%;
}

.embedded_image[data-layout=horizontal-reverse][data-size=small] .image-container {
  min-width: 150px;
  max-width: 200px;
}

.embedded_image[data-layout=horizontal-reverse][data-size=medium] .image-container {
  min-width: 200px;
  max-width: 300px;
}

.embedded_image[data-layout=horizontal-reverse][data-size=large] .image-container {
  min-width: 250px;
  max-width: 400px;
}

.embedded_image[data-layout=horizontal-reverse] .image-container img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.embedded_image[data-layout=horizontal-reverse] .image-caption {
  flex: 1;
  margin: 0 !important;
  padding: 10px 0;
  text-align: left;
  line-height: 1.6;
  color: #666;
  font-style: italic;
}

/* Responsive behavior for smaller screens */
@media (max-width: 768px) {
  .embedded_image[data-layout=horizontal],
.embedded_image[data-layout=horizontal-reverse] {
    flex-direction: column;
    gap: 10px;
  }

  .embedded_image[data-layout=horizontal] .image-container,
.embedded_image[data-layout=horizontal-reverse] .image-container {
    max-width: 100%;
  }

  .embedded_image[data-layout=horizontal] .image-caption,
.embedded_image[data-layout=horizontal-reverse] .image-caption {
    text-align: center;
  }
}