.wysiwyg-styles {
    padding: 50px 0;
}
.wysiwyg-styles .wp-caption {
    width: 100% !important;
  }
  .wysiwyg-styles .wp-caption-text {
    font-size: 12px;
    line-height: 18px;
    margin: 10px 0 0;
    color: #000;
  }
  .wysiwyg-styles > img, .wysiwyg-styles > p > img, .wysiwyg-styles .wp-caption > img {
    width: 100%;
    max-height: 478px;
    -o-object-fit: cover;
       object-fit: cover;
    margin-top: 15px;
  }
  .wysiwyg-styles > img, .wysiwyg-styles .wp-caption {
    margin-bottom: 30px;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .wysiwyg-styles > p {
    margin-bottom: 30px;
  }
  .wysiwyg-styles > p:has(strong) {
    margin-bottom: 10px;
  }
  .wysiwyg-styles > p .alignleft, .wysiwyg-styles > p .alignright {
    max-width: 50% !important;
    max-height: 500px !important;
    height: auto !important;
    -o-object-fit: cover !important;
       object-fit: cover !important;
  }
  .wysiwyg-styles > p .alignleft {
    float: left;
    margin: 0 30px 30px 0;
  }
  .wysiwyg-styles > p .alignright {
    float: right;
    margin: 0 0 30px 30px;
  }
  .wysiwyg-styles > p strong {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
  }
  .wysiwyg-styles > ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    padding-left: 0;
  }
  .wysiwyg-styles > ul li {
    padding-left: 30px;
    position: relative;
  }
  .wysiwyg-styles > ul li::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
    width: 10px;
    height: 10px;
    background-color: #FFF;
    border-radius: 50%;
  }
  .wysiwyg-styles > p, .wysiwyg-styles > ul li {
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    line-height: 1.2;
    color: #fff;
  }
  .wysiwyg-styles > p a:not(.default-button), .wysiwyg-styles > ul li a:not(.default-button) {
    position: relative;
    color: #48B1EC;
    transition: all 0.2s linear;
    font-family: 'Barlow', sans-serif;
  }
  .wysiwyg-styles > p a:not(.default-button):hover, .wysiwyg-styles > ul li a:not(.default-button):hover {
    color: #F8BA0C;
  }
  .wysiwyg-styles > h2 {
    font-family: 'Barlow', sans-serif;
    font-size: 30px;
    line-height: 40px;
    color: #fff;
    font-weight: normal;
    margin-bottom: 15px;
  }
  .wysiwyg-styles > h3 {
    font-family: 'Barlow', sans-serif;
    font-size: 20px;
    line-height: 34px;
    color: #fff;
    margin: 50px 0 15px;
  }
  .wysiwyg-styles > h4 {
    font-family: 'Barlow', sans-serif;
    font-size: 18px;
    line-height: 20px;
    color: #4AC074;
  }
  .wysiwyg-styles > a {
    color: #4AC074;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.2s linear;
    font-family: 'Barlow', sans-serif;
    line-height: 1.2;
  }
  .wysiwyg-styles > a:hover {
    color: #4AC074;
  }
  .wysiwyg-styles .wysiwyg-button {
    margin-bottom: 30px;
  }
  .wysiwyg-styles > *:first-child {
    margin-top: 0 !important;
  }

  .wysiwyg-styles > p:last-child {
    margin-bottom: 0 !important;
  }
  
  .video-wysiwyg {
    margin: 50px 0;
    position: relative;
    overflow: hidden;
    max-width: 920px;
  }
  .video-wysiwyg:before {
    content: "";
    display: block;
    padding-top: 56.25%;
  }
  .video-wysiwyg iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .wysiwyg-gallery .single-gallery-element {
    transform: perspective(1000px);
    -webkit-transform: perspective(1000px);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
    -webkit-perspective: 1000px;
    width: calc((100% - 40px) / 5.001);
    margin: 10px 10px 10px 0;
    transition: all 0.2s linear;
  }
  .wysiwyg-gallery .single-gallery-element > a > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .wysiwyg-gallery .single-gallery-element:nth-of-type(5n), .wysiwyg-gallery .single-gallery-element:nth-last-of-type(1) {
    margin: 10px 0 10px;
  }
  .wysiwyg-gallery .single-gallery-element:before {
    content: "";
    display: block;
    padding-top: 90.9375%;
  }
  .wysiwyg-gallery .single-gallery-element .additional-number {
    font-size: 25px;
    line-height: 30px;
    right: 0;
    bottom: 0;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    font-family: InterMedium;
    color: #fff;
  }
  .wysiwyg-gallery .single-gallery-element .darkness-effect {
    background-color: rgba(51, 41, 60, 0.58);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }
  .wysiwyg-gallery .single-gallery-element:hover {
    transform: translateY(-5px) perspective(1000px);
    -webkit-transform: translateY(-5px) perspective(1000px);
  }
  
  .wp-video {
    margin-bottom: 30px;
  }
  
  .mejs-container {
    background: #efefef !important;
    z-index: 1 !important;
    margin-top: 30px !important;
  }
  .mejs-container .mejs-controls, .mejs-container .mejs-embed, .mejs-container .mejs-embed body {
    background: linear-gradient(9deg, rgb(167, 167, 167) 0%, rgb(246, 246, 246) 100%) !important;
  }
  .mejs-container .mejs-time {
    color: #888888 !important;
  }
  .mejs-container .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
    background-color: #fff !important;
  }
  .mejs-container .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
    background: #d10000 !important;
  }
  .mejs-container .mejs-controls .mejs-time-rail .mejs-time-total {
    background-color: #fff !important;
  }
  .mejs-container .mejs-controls .mejs-time-rail .mejs-time-loaded {
    background-color: rgba(219, 78, 136, 0.075) !important;
  }
  .mejs-container .mejs-controls .mejs-time-rail .mejs-time-current {
    background: #d10000 !important;
  }
  .mejs-container .mejs-time-buffering, .mejs-container .mejs-time-current, .mejs-container .mejs-time-float, .mejs-container .mejs-time-float-corner, .mejs-container .mejs-time-float-current, .mejs-container .mejs-time-hovered, .mejs-container .mejs-time-loaded, .mejs-container .mejs-time-marker, .mejs-container .mejs-time-total, .mejs-container .mejs-horizontal-volume-total, .mejs-container .mejs-time-handle-content {
    height: 4px !important;
  }
  .mejs-container .mejs-time-handle-content {
    top: -6px !important;
  }
  .mejs-container .mejs-time-total {
    margin-top: 8px !important;
  }
  .mejs-container .mejs-horizontal-volume-total {
    top: 19px !important;
  }
  
  @media screen and (max-width: 1024px) {
    .wysiwyg-styles > img, .wysiwyg-styles .wp-caption {
      margin-bottom: 30px;
    }
    .wysiwyg-styles > p {
      margin-bottom: 20px;
    }
    .wysiwyg-styles > p > img {
      margin-bottom: 10px;
    }
    .wysiwyg-styles > p .alignleft {
      margin: 0 20px 20px 0;
    }
    .wysiwyg-styles > p .alignright {
      margin: 0 0 20px 20px;
    }
    .wysiwyg-styles > ul {
      margin-bottom: 20px;
    }
    .wysiwyg-styles > ul li {
      background-position: 0 10px;
    }
    .wysiwyg-styles > p, .wysiwyg-styles > ul li {
      font-size: 16px;
      line-height: 28px;
    }
    .wysiwyg-styles > h2, .wysiwyg-styles > h3, .wysiwyg-styles > h4 {
      margin-bottom: 10px;
    }
    .wysiwyg-styles > h2 {
      font-size: 26px;
      line-height: 36px;
    }
    .wysiwyg-styles > h3 {
      font-size: 18px;
      line-height: 26px;
    }
    .wysiwyg-styles > h4 {
      font-size: 16px;
      line-height: 24px;
    }
  }
  @media screen and (max-width: 767px) {
    .wysiwyg-gallery {
      justify-content: center;
      -webkit-justify-content: center;
    }
    .wysiwyg-gallery .single-gallery-element {
      width: calc((100% - 30px) / 2.001);
      margin: 0 15px 15px 0 !important;
    }
    .wysiwyg-gallery .single-gallery-element:nth-of-type(2n), .wysiwyg-gallery .single-gallery-element:nth-last-of-type(1) {
      margin: 0 0 15px !important;
    }
  }
  @media screen and (max-width: 500px) {
    .wysiwyg-gallery .single-gallery-element {
      width: 100%;
      margin: 0 0 15px 0 !important;
    }
    .video-wysiwyg:before {
      padding-top: 57%;
    }
  }