:root {
--heading_h1_fontsize: clamp(28px, 4vw, 30px);
}
li h2,
li h3,
li h4,
li h5,
li h6{
    margin-bottom: 0;
    display: inline;
}
 h2,
 h3,
 h4,
 h5,
 h6{
    margin-bottom: 10px;
}
 h1,
 h2,
 h3,
 h4,
 h5,
 h6{
	margin-top: 20px;
}
 h1 {
    font-size: calc( var(--heading_h1_fontsize));
}

h2 {
    font-size: calc( var(--heading_h1_fontsize) - 2px );
}
 h3 {
    font-size: calc( var(--heading_h1_fontsize) - 4px );
}
 h4 {
   font-size: calc( var(--heading_h1_fontsize) - 5px );
}
 h5 {
    font-size: calc( var(--heading_h1_fontsize) - 6px );
}
 h6 {
   font-size: calc( var(--heading_h1_fontsize) - 7px );
}
.modular-content,
.bordered-content {
  border: 1px solid #e5e3e1;
  padding: 10px 25px;
  border-radius: 15px;
}

.editor-content p {
  font-size: 16px;
  color: var(--text-body);
  line-height: 40px;
  text-align: justify;
}
.editor-content ul li:before {
  content: "";
  background-color: var(--color2);
  border-radius: 50%;
  width: 8px;
  height: 8px;
  display: inline-flex;
  margin-left: 8px;
  margin-top: 8px;
  flex-shrink: 0;
}
.editor-content ul li,
.editor-content ol li {
  font-size: 16px;
  color: var(--text-body);
  line-height: 35px;
  text-align: justify;
}
ol li::marker {
  color: var(--color2);
  font-size: 20px;
}
ol {
  padding-right: 20px;
}
.editor-content a:hover {
    color: var(--color2);
}
.editor-content a {
    transition: all 0.3s;
}
.editor-content blockquote {
  border-radius: 20px;
  position: relative;
  display: table;
  background-color: var(--color2);
  padding: 20px 50px;
  margin: 3rem auto;
}
.editor-content blockquote p {
  color: #fff;
  text-align: center;
}
.editor-content blockquote:before {
  content: "";
  position: absolute;
  top: -28px;
  right: 50%;
  transform: translateX(50%);
  z-index: 0;
  width: 68px;
  height: 68px;
  background-image: url("../icons/image26.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.websima-editor-gallery-wrapper {
  margin-top: 20px;
  margin-bottom: 20px;
  display: grid;
}

.swiper-websima-editor {
  width: 100%;
  overflow: hidden;
  padding: 10px 5px;
}

.websima-editor-item-wrap {
  position: relative;
  width: auto;
  overflow: hidden;
  border-radius: 8px;
}

.websima-editor-item-wrap img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
  border-radius: 20px;
}

.websima-editor-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
  border-radius: 20px;
}

.websima-editor-overlay i {
  font-size: 55px;
  color: #fff;
  transform: scale(0.5);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.websima-editor-item-wrap:hover .websima-editor-overlay {
  opacity: 1;
}

.websima-editor-item-wrap:hover .websima-editor-overlay i {
  transform: scale(1);
}

.websima-editor-slider-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 15px;
}

.swiper-button-next-websima-editor,
.swiper-button-prev-websima-editor {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: static;
  margin: 0;
}

.swiper-button-next-websima-editor:hover,
.swiper-button-prev-websima-editor:hover {
  transform: scale(1.1);
}

.swiper-button-next-websima-editor i,
.swiper-button-prev-websima-editor i {
  font-size: 18px;
}

.alignleft {
  float: left;
  margin-right: 1.5em;
  display: inline-block;
}

.alignright {
  float: right;
  margin-left: 1.5em;
  display: inline-block;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

p:has(img) {
  margin-bottom: 0;
}
@media(max-width:768px){
  .modular-content, .bordered-content {
    padding: 16px;
}
.editor-content h2:first-child {
    margin: 0;
}
.editor-content blockquote {
    padding: 20px;
}
}