#image-viewer-container-mobile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: scroll;
  height: 100%;
}

.right-to-left-arrow {
  transform: rotate(180deg);
}

#image-left-btn-mobile,
#image-right-btn-mobile {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 20px;
  color: #333;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 2;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
#image-left-btn-mobile {
  left: 6px;
}
#image-right-btn-mobile {
  right: 6px;
}
#image-left-btn-mobile:hover,
#image-right-btn-mobile:hover {
  background: #f0f0f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
#image-viewer-container,
#image-viewer-container-modal {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  overflow: scroll;
}

#image-viewer-container-modal {
  width: 100%;
  height: 100%;
  #image-viewer-img-modal {
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
  }
}
#image-left-btn,
#image-right-btn,
#image-left-btn-modal,
#image-right-btn-modal {
  position: absolute;
  top: 50%;
  /* transform: translateY(-50%); */
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 22px;
  color: #333;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 2;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
#image-left-btn {
  left: 10px;
}
#image-left-btn-modal {
  left: 37px;
}
#image-right-btn {
  right: 10px;
}
#image-right-btn-modal {
  right: 37px;
}
#image-left-btn:hover,
#image-right-btn:hover,
#image-left-btn-modal:hover,
#image-right-btn-modal:hover {
  background: #f0f0f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.document-content-container {
  position: relative;
}

.document-content-container::before,
.doc-modal-body::before {
  content: "Preview Only";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-20deg);
  font-size: 50px;
  color: rgba(150, 150, 150, 0.2);
  white-space: pre;
  pointer-events: none;
  z-index: 10;
  user-select: none;
  line-height: 60px;
  font-weight: 600;
}
/* Image Viewer Styles */
#image-viewer-container {
  position: relative;
  text-align: center;
  width: 100%;
  height: 530px;
  overflow: scroll !important;
}

#image-viewer-img,
#image-viewer-img-mobile {
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
}
#image-left-btn,
#image-right-btn {
  position: absolute;
  top: 50%;
  background: #fff;
  border: 1px solid #ddd;
  z-index: 10;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 22px;
  color: #333;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 11;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
/* #image-left-btn {
  transform: translate(-180px, 0px);
}

#image-right-btn {
  transform: translate(180px, 0px);
} */
#image-left-btn:hover,
#image-right-btn:hover {
  background: #f0f0f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
#image-left-btn {
  left: 10px;
}
#image-right-btn {
  right: 10px;
}
.skeleton-loader-modal {
  margin-top: 15px;
  .skeleton-loader-body,
  .skeleton-loader-title {
    width: 100%;
    margin: 0 auto 12px auto;
    border-radius: 4px;
    background: #ececec;
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.2s infinite linear;
  }
  .skeleton-loader-body {
    height: 100%;
  }
  .skeleton-loader-title {
    height: 2%;
  }
}
.skeleton-loader-progress-bar {
  position: relative;
  width: 100%;
  height: 4px;
  background: #f1f1f1;
  overflow: hidden;
  margin-bottom: 18px;
}
.skeleton-loader-progress-bar::before {
  content: "";
  position: absolute;
  left: -40%;
  top: 0;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, #ea2124 0%, #ffb3b3 100%);
  animation: skeleton-progress-bar-move 1.2s linear infinite;
  border-radius: 2px;
}
@keyframes skeleton-progress-bar-move {
  0% {
    left: -40%;
  }
  100% {
    left: 100%;
  }
}
.skeleton-card-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 15px;
  padding: 20px 0;
}
@media (max-width: 1199px) {
  .skeleton-card-list {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 991px) {
  .skeleton-card-list {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 799px) {
  .skeleton-card-list {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 619px) {
  .skeleton-card-list {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 479px) {
  .skeleton-card-list {
    grid-template-columns: 1fr !important;
  }
  .skeleton-card {
    max-width: 100%;
    min-width: 0;
  }
}
.skeleton-card {
  position: relative;
  max-width: 220px;
  border: 1px solid #d8dbdf;
  border-radius: 8px;
  padding: 14px 9px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.07);
}
.skeleton-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.skeleton-card-brand {
  height: 18px;
  width: 40px;
  border-radius: 4px;
  background: #ececec;
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s infinite linear;
}
.skeleton-card-badge {
  height: 18px;
  width: 32px;
  border-radius: 8px;
  background: #f1f1f1;
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s infinite linear;
}
.skeleton-card-title {
  height: 17px;
  width: 80%;
  border-radius: 6px;
  background: linear-gradient(90deg, #f1f1f1 25%, #ececec 50%, #f1f1f1 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s infinite linear;
  margin: 14px 0 10px 0;
}
.skeleton-card-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 13px;
}
.skeleton-card-line {
  height: 6px;
  background: #e6e7eb;
  border-radius: 3px;
  width: 33%;
}
.skeleton-card-line.large {
  height: 8px;
  width: 100%;
}
.skeleton-card-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.skeleton-card-format {
  height: 16px;
  width: 40px;
  border-radius: 100px;
  background: #ececec;
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s infinite linear;
}
.skeleton-card-action {
  height: 16px;
  width: 60px;
  border-radius: 100px;
  background: #ececec;
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s infinite linear;
}
.skeleton-header-row {
  display: flex;
  gap: 16px;
  width: 100%;
  margin-bottom: 10px;
}
.skeleton-header-cell {
  height: 18px;
  border-radius: 4px;
  background: #e0e0e0;
}
.draft-template-link {
  margin-bottom: 10px;
  margin-top: 10px;
}
/* Loader for document table */
#doc-table-loader {
  display: none;
  text-align: center;
  padding: 32px 0;
}
.skeleton-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.skeleton-row {
  display: flex;
  gap: 16px;
  width: 80%;
}
.skeleton-cell {
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f1f1f1 25%, #ececec 50%, #f1f1f1 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s infinite linear;
}
@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.edd-banner .price-box,
.legal-template-page,
.legal-template-single-page {
  .price-box {
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    display: flex;
    align-items: center;
    font-size: 14px;
    .price-new {
      color: #ea2124;
      font-weight: 700;
      margin-right: 6px;

      img {
        width: 19px;
        margin-right: 5px;
      }
    }

    .price-old {
      text-decoration: line-through;
      opacity: 0.7;
      margin-right: 6px;
    }

    .price-save {
      color: white;
      margin-left: 5px;
    }
  }
}

.clara-msg-row {
  display: flex;
  width: 100%;
}
.clara-msg-row--right {
  justify-content: flex-end;
}

.clara-msg-row--left {
  justify-content: flex-start;
  margin-bottom: 20px;
}

/* Base bubble */
.clara-bubble {
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.35;
  color: white;
  background: transparent;
  border-radius: 4px;
}

/* User bubble: gradient border */
.clara-bubble--user {
  background-color: #40444c;
  border: 4px solid transparent;
  border-radius: 4px;
  background:
    linear-gradient(#1d2024, #1d2024) padding-box,
    linear-gradient(90deg, #d73225 0%, #bc358e 49.52%, #7454f6 93.75%)
      border-box;
  background-clip: padding-box, border-box;
  display: inline-grid;
  place-items: center;
}

/* Bot wrapper with badge */
.clara-botwrap {
  display: flex;
  flex-direction: column;
}

.clara-botbadge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
}

/* Bot bubble (left) */
.clara-bubble--bot {
  padding: 0 !important;
  background: transparent;
  border: 0;
  line-height: 1.5 !important;
}

.edd-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #25272c;
  border-radius: 8px;
  overflow: hidden;
  /* padding: 40px; */
  color: #fff;
  position: relative;

  .banner-content {
    max-width: 60%;
    z-index: 2;
    .banner-left {
      margin: 27px;
    }
  }
  .banner-status {
    font-size: 14px;
    color: #34b371;
    margin-bottom: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .banner-title {
    font-size: 34px;
    line-height: 34px;
    margin: 0 0 15px;
    font-weight: 700;
    margin-top: 20px;
  }

  .banner-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 25px;
    max-width: 500px;
  }

  /* Buttons + price box */
  .banner-actions {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .video-container {
    display: none;
    a {
      color: white;
      display: flex;
      align-items: center;
      gap: 10px;
      img {
        width: 20px;
      }
    }
  }

  .banner-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 40%;
    height: 100%;
    background-image: url("https://notoryproaccountstroage.blob.core.windows.net/notarypro-assets/EDD_Background.png");
    background-size: cover;
    background-position: center;
    mask-image: linear-gradient(to left, black 60%, transparent);
    -webkit-mask-image: linear-gradient(to left, black 60%, transparent);
  }
}
.legal-template-page {
  .legal-template-title {
    padding-top: 100px;
    padding-bottom: 50px;
    border-bottom: 1px solid #b6bac3;

    background: #f7f8f8;
    height: 100%;
    position: relative;
    .background-image {
      position: absolute;
      width: 100%;
      height: 100%;
      z-index: 1;
    }
    .title-container {
      z-index: 10;
      position: relative;
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
      gap: 2rem;
    }
    .title-container .right_container {
      width: 100%;
      height: 100%;
      img {
        border-radius: 30.94px;
        object-fit: cover; /* fills container and allows cropping */
        object-position: center; /* keeps image centered */
        display: block; /* removes extra space under image */
        width: 100%;
        height: 100%;
      }
    }
    .title-container .left_container {
      padding: 20px 30px;
      .trustpilot-widget {
        width: 420px;
      }
      .button-container {
        display: flex;
        margin-bottom: 20px;
        a {
          padding: 7px 30px !important;
        }
        .dist-btn {
          height: 40px !important;
        }

        .type7 {
          display: flex;
          align-items: center;
          gap: 1rem;
          justify-content: center;
          border-color: #2a2d3280;
        }
        .type8 {
          display: flex;
          flex-direction: column;
          justify-content: center;
        }
        .type8 span:nth-child(2) {
          font-size: 12px;
        }
      }
      h1 {
        font-size: 60px;
        line-height: 60px;
      }
      p {
        font-size: 16px;
        line-height: 25px;
        margin-bottom: 45px;
      }
    }
  }

  .template_search {
    margin-top: 62px;
    .doc-finder {
      border-radius: 16px;
      background: #ffffff;
    }
    #doc-search-chat {
      margin-bottom: 20px;
      .clara-bubble--user {
        border: 4px solid transparent;
        background:
          linear-gradient(#f7f8f8, #f7f8f8) padding-box,
          linear-gradient(90deg, #d73225 0%, #bc358e 49.52%, #7454f6 93.75%)
            border-box !important;
        display: inline-grid;
        place-items: center;
        color: black !important;
      }
      .clara-bubble--bot {
        color: black !important;
      }
      .clara-botbadge {
        color: #4a4e5a !important;
      }
    }

    .doc-finder__top {
      padding: 16px 30px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: linear-gradient(
        90deg,
        #25272c 59.51%,
        #d73225 84.28%,
        #c61f8d 92.38%,
        #714fff 98.42%
      );
      border: 1px solid #b6bac3;
      border-top-left-radius: 16px;
      border-top-right-radius: 16px;
    }

    .doc-finder__title {
      color: #fff;
      font-weight: 600;
      font-family: "Playfair Display";
      font-size: 20px;
    }

    .doc-finder__brand {
      color: white;
      font-style: italic;
      font-family: "Playfair Display";
      font-weight: 900;
      font-size: 20px;
    }

    /* Body area */
    .doc-finder__body {
      padding: 18px 32px;
      border-bottom: 1px solid #b6bac3;
      border-left: 1px solid #b6bac3;
      border-right: 1px solid #b6bac3;
      border-bottom-right-radius: 16px;
      border-bottom-left-radius: 16px;
      background-color: #f7f8f8;
    }

    .doc-search__dropdown {
      position: absolute;
      top: calc(100% + 6px);
      left: 0;
      width: 100%;
      background: #ffffff;
      border-radius: 12px;
      border: 1px solid rgba(0, 0, 0, 0.12);
      box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
      overflow: hidden;
      z-index: 50;
    }

    .doc-search__option {
      padding: 12px 16px;
      font-size: 15px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .doc-search__option:hover {
      background: #f3f4f6;
    }

    .doc-search__option span {
      color: rgba(0, 0, 0, 0.55);
      font-size: 13px;
    }

    .doc-search {
      position: relative;
      display: flex;
      align-items: center;
      gap: 12px;
      height: 50px;
      border-radius: 4px;
      background: #fff;
      padding-left: 44px;
      padding-right: 70px;
      border: 1px solid #0000003b;
    }

    .doc-search__icon {
      position: absolute;
      left: 14px;
      color: #0000008f;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .doc-search__input {
      width: 100%;
      height: 100%;
      border: 0;
      outline: 0;
      font-size: 16px;
      /* color: #00000099; */
      background: 0 0;
    }

    .doc-search__input::placeholder {
      color: rgba(0, 0, 0, 0.45);
    }

    .doc-search__btn {
      position: absolute;
      right: 12px;
      width: 34px;
      height: 34px;
      border-radius: 999px;
      border: 0;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(
        90deg,
        #d73225 35.53%,
        #c61f8d 54.13%,
        #714fff 100%
      );
    }

    .doc-search__btn:active {
      transform: translateY(1px);
    }

    /* Pills row */
    .doc-pills {
      margin-top: 14px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
    }

    .doc-pill {
      display: inline-flex;
      align-items: center;
      height: 30px;
      padding: 0 14px;
      border-radius: 999px;
      text-decoration: none;
      font-size: 13px;
      color: #40444c;
      background-color: #edeef1;
      white-space: nowrap;
    }

    .doc-pill--active {
      background-color: #edeef1 !important;
      border: 2px solid transparent;
      border-radius: 999px;
      background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(90deg, #ef4444, #a855f7, #3b82f6) border-box;
    }

    .doc-pill--more {
      padding: 0 12px;
      padding: 0 12px;
      background-color: inherit;
    }

    .doc-finder__foot {
      margin-top: 7px;
      text-align: center;
      font-size: 11px;
      color: #00000099;
    }
  }
  .trustpilot_review {
    padding: 50px 0px;
  }

  .logo_mobile {
    padding: 50px 0px;
    display: none;
    .logo-container {
      display: grid;
      gap: 2rem;
      align-items: center;
      justify-content: center;
      grid-template-columns: 1fr 1fr 1fr;
      .trustpilot-widget {
        height: 100px;
      }
    }
    .ti-widget[data-layout-id="12"][data-set-id="light-minimal"][data-pid="080d47119cc4068c2126e50d545"]
      .ti-footer {
      padding: 0;
    }
    .ti-widget[data-layout-id="12"][data-set-id="light-minimal"]
      .ti-stars
      .ti-star {
      width: calc(80% / 6) !important;
    }
    .ti-widget[data-layout-id="12"][data-set-id="light-minimal"]
      .ti-rating-text {
      display: none !important;
    }
  }

  .legal-template-discover {
    .discover-container {
      margin-bottom: 130px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;
      .left-container {
        display: flex;
        align-items: center;
        h2 {
          text-align: left;
        }
      }
      .right-container {
        position: relative;

        .hero-slider {
          position: relative;
          width: 100%;
          margin: 0 auto;
          min-height: 580px;
        }
        .hero-slider .hero-slide {
          position: absolute;
          inset: 0;
          /* opacity: 1; */
          pointer-events: none;
          transition: opacity 0.8s ease;
        }
        .hero-card {
          position: relative;
          height: 100%;
          overflow: hidden;
          padding: 24px 24px 28px;
          box-sizing: border-box;
          .hero-card-inner {
            .hero-body {
              max-width: 300px;
            }
          }
        }
        .hero-slide-1 .hero-card,
        .hero-slide-2 .hero-card {
          border-top: 6px solid #ea2124;
        }

        .hero-card.hero-card-light {
          background: #ffffff;
          position: relative;
          overflow: visible;
        }
        .hero-slide-1 .hero-card {
          background: #25272c;

          color: #fff;
          .price-box {
            margin-bottom: 10px;
            width: fit-content;
            font-size: 13px;
          }
          .hero-person {
            position: relative;
            img {
              transform: scaleX(-1);
              position: absolute;
              right: -85px;
              top: -180px;
              width: 400px;
              z-index: 3;
            }
            .hero-person-label {
              background: #f7f8f8;
              padding: 10px 14px;
              border-radius: 8px;
              font-size: 15px;
              position: absolute;
              width: 400px;
              color: black;
              top: 100px;
              z-index: 2;
              div {
                max-width: 170px;
                line-height: 20px;
              }
              strong {
                font-size: 19px;
              }
            }
          }
        }

        .hero-slide-2 {
          overflow: hidden;
          .hero-text-column {
            flex: 1 1 55%;
          }

          .hero-image-column {
            position: absolute;
            right: -33px;
            bottom: 0;
          }

          .hero-image-column img {
            display: block;
            max-width: 260px;
            height: auto;
          }
          .hero-list {
            list-style: none;
            padding: 0;
            margin: 0 0 24px;
            max-width: 360px;
          }
          .hero-list li {
            border-radius: 8px;
            border: 1px solid #d8dbdf;
            padding: 7px 15px;
            color: #3f434d;
            margin-bottom: 10px;
            cursor: pointer;
            a {
              text-decoration: none;
              color: #3f434d;
            }
          }
          .hero-list li:hover {
            a {
              color: #ea2124;
            }
          }
        }
        .hero-slide-3 .hero-card {
          border-top: 6px solid #25272c;
          background: #ea2124;
          color: #fff;
          .dist-btn {
            background-color: #40444c;
            color: white;
          }
          .hero-devices {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0px;
            height: 329px;
            overflow: hidden;
            background: linear-gradient(180deg, #cfcfcf 0%, #bfbfbf 100%);
            clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%);
            img {
              width: 100%;
              height: 100%;
              object-fit: cover;
              object-position: center;
              display: block;
            }
          }
        }
      }

      .hero-slide-2,
      .hero-slide-3 {
        opacity: 0;
      }

      /* Animation hooks */
      .right-container .hero-slide-1 {
        animation: heroFade 18s infinite;
      }
      .right-container .hero-slide-2 {
        animation: heroFade 18s infinite;
        animation-delay: 6s;
      }
      .right-container .hero-slide-3 {
        animation: heroFade 18s infinite;
        animation-delay: 12s;
      }
    }
  }

  @media (max-width: 1199px) {
    .legal-template-title {
      padding-top: 30px;
      .background-image {
        top: 20%;
        height: auto;
      }
      .title-container {
        display: block;
        padding-top: 5px;
        padding-bottom: 5px;
      }
      .title-container .right_container {
        margin-top: 50px;
      }
    }
    .discover-container {
      grid-template-columns: 40% 1fr !important;
    }
  }
  @media (max-width: 991px) {
    .discover-container {
      display: block !important;

      .hero-slide {
        opacity: 1 !important;
        animation: none !important;
        position: relative !important;
        pointer-events: auto !important;
      }

      .hero-slider,
      .right-container .hero-slide {
        position: relative !important;
        inset: auto !important;
      }
      .hero-slide {
        margin-bottom: 24px;
      }

      .hero-card {
        width: 100% !important;
        height: 547px !important;
      }
    }
  }

  @media (max-width: 799px) {
    .legal-template-title {
      .title-container .left_container {
        h1 {
          font-size: 36px;
          line-height: 48px;
        }
      }
    }
  }
  @media (max-width: 619px) {
    .legal-template-title {
      .title-container .left_container {
        padding: 0px;
        .button-container {
          display: block;
          a {
            height: 35px;
          }
          type7 {
            margin-top: 10px !important;
          }
        }
        .trustpilot-widget {
          width: auto;
        }
      }
    }

    .trustpilot_review {
      display: none;
    }
    .logo_mobile {
      display: block;
    }

    .discover-container {
      .hero-slide-1 {
        .dist-btn {
          width: fit-content !important;
          padding: 6px 10px;
          font-size: 13px;
        }
        .price-box {
          font-size: 11px !important;
          padding: 1px 10px !important;
        }
      }
      .hero-slide-2,
      .hero-slide-3 {
        .dist-btn {
          width: fit-content !important;
        }
      }
      .hero-person-1 img {
        right: -133px !important;
        top: -141px !important;
      }
    }
  }
  @media (max-width: 519px) {
    .discover-container {
      .hero-person-1 img {
        right: -140px !important;
        top: -93px !important;
      }
      .hero-slide-2 .hero-image-column img {
        max-width: 243px !important;
      }
    }
  }
  @media (max-width: 479px) {
    .discover-container {
      .hero-slide-1 {
        height: 556px !important;
      }
      .hero-person-1 img {
        right: -97px !important;
        top: -53px !important;
      }
      .hero-person-label {
        font-size: 13px !important;
        div {
          max-width: 130px !important;
        }
      }
      .hero-slide-2 {
        height: 500px;
      }
      .hero-slide-2 .hero-image-column {
        right: -78px !important;
      }
      .hero-slide-2 .hero-image-column img {
        max-width: 210px !important;
      }
    }
  }
  @media (max-width: 399px) {
    .discover-container {
      .hero-person-label {
        top: 63px !important;
      }
      .hero-devices {
        bottom: -68px !important;
        height: 323px !important;
        clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%) !important;
        img {
          height: 80% !important;
        }
      }
      .hero-slide-3 {
        height: 577px !important;
      }
    }
  }
}

.legal-template-page,
.legal-template-category-page,
.legal-template-single-page {
  height: 100%;
  position: relative;
  .text-red {
    color: #ea2124;
  }

  .filter-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
  }
  .filter-header-row .filters-label {
    color: #000;
    font-weight: 600;
    font-size: 17px;
  }
  .filter-header-row #clear-all-filters {
    color: #ea2124;
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    outline: none;
    background-color: transparent;
    border: none;
  }

  h2 {
    text-align: center;
    font-weight: 700;
    font-size: 60px;
    margin-bottom: 40px;

    line-height: 60px;
  }
  .text-underline {
    text-decoration: underline;
  }
  .text-italic {
    font-style: italic;
  }
  .review_comment {
    padding-bottom: 130px;
    p {
      text-align: center;
      font-size: 19px;
    }
  }
  .legal-template-category {
    padding: 130px 0px;
    .people-count-container {
      display: flex;
      justify-content: center;
      margin-bottom: 25px;
    }
    .people-count {
      border: 1px solid #d8dbdf;
      background-color: #edeef1;
      border-radius: 4px;
      padding: 0px 8px;
      width: fit-content;

      span {
        font-weight: 600;
        font-size: 13px;
      }
      span:nth-child(1) {
        color: #247f50;
        padding-right: 6px;
        margin-right: 6px;
        border-right: 1px solid #d8dbdf;
      }
    }
    .title-container {
      padding-bottom: 30px;
      text-align: center;
      p {
        max-width: 500px;
        margin: auto;
        font-size: 19px;
      }
    }
    .category-list {
      display: flex;
      flex-wrap: wrap;
      gap: 24px;

      .category-card {
        position: relative;
        flex: 1 1 calc(25% - 24px); /* 4 per row on large screens */
        max-width: calc(25% - 24px);
        background: #f7f8f8;
        border-radius: 8px;
        border: 1px solid #d8dbdf;
        padding: 20px 24px;
        box-sizing: border-box;
        .category-card-front {
          transition: opacity 0.2s ease;
          h3 {
            margin: 0 0 8px;
            font-size: 18px;
            font-weight: 600;
            color: #222;
          }
          p {
            margin: 0;
            font-size: 14px;
            color: #5b616e;
          }
        }
        .category-card-hover {
          position: absolute;
          inset: 0;
          background: #25272c;
          color: #fff;
          padding: 20px 24px;
          box-sizing: border-box;
          opacity: 0;
          transform: translateY(8px);
          transition:
            opacity 0.2s ease,
            transform 0.2s ease;
          display: flex;
          flex-direction: column;
          justify-content: center;
          border-radius: 8px;
          .doc-arrow {
            color: #e0392b;
            margin-left: 9px;
            font-size: 23px;
          }

          .category-item-container {
            .category-item {
              width: 100%;
              a {
                display: flex;
                align-items: center;
              }
              span:nth-child(1) {
                font-size: 14px;
                color: #fff;
                text-decoration: none;
                font-weight: 700;
                white-space: nowrap;
                display: inline-block;
                max-width: 100%;
                overflow: hidden;
                text-overflow: ellipsis;
              }
              span:nth-child(1):hover {
                color: #ea2124;
              }
              a:hover {
                text-decoration: underline;
              }
            }
          }

          .see-all-docs {
            margin-top: 8px;
            font-size: 13px;
            color: #e0392b;
            width: fit-content;
            text-decoration: underline;
          }
        }
      }
      .category-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
      }

      .category-card:hover .category-card-front {
        opacity: 0;
      }

      .category-card:hover .category-card-hover {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
      }
    }
    .edd-banner-container {
      margin-top: 30px;
      margin-right: 23px;
    }
  }
  .document_table,
  .filter-modal {
    h2 {
      text-align: left;
    }
    .search-container {
      display: flex;
      align-items: center;
      gap: 20px;
      .filter-container-mobile {
        display: none;
      }
      .search-box {
        display: flex;
        align-items: center;
        gap: 15px;
        position: relative;
      }

      .search-label {
        font-size: 14px;
        color: #666;
        margin-right: 8px;
        position: absolute;
        top: -14px;
        left: 22px;
        background-color: white;
        padding: 0px 6px;
        z-index: 10;
      }

      .search-input-wrapper {
        display: flex;
        align-items: center;
        border: 1px solid #ccc;
        padding: 15px 12px;
        z-index: 5;
        width: 344px;
        border-radius: 5px;
      }

      .search-input {
        border: none;
        outline: none;
        font-size: 16px;
        flex: 1;
      }

      .search-input::placeholder {
        color: transparent;
        font-size: 16px;
      }

      .search-icon {
        font-size: 18px;
        color: #666;
      }

      .search-results {
        white-space: nowrap;
      }
    }
    .document-table-container {
      margin-top: 20px;
      border-top: 1px solid #0000001f;
    }
    .document-table-container,
    .modal-content {
      display: grid;
      grid-template-columns: 25% 1fr;
      gap: 30px;
      margin-bottom: 130px;
      .list-container {
        display: grid;
        grid-template-columns: repeat(4, 1fr); /* 4 columns desktop */
        gap: 20px 15px;
        padding: 20px 0;
      }
      .btn-container {
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .filter-container {
        width: 100%;
        padding: 20px 0px;
      }

      .filter-block {
        margin-bottom: 25px;
      }

      .filter-title {
        background: #25272c;
        color: #fff;
        font-weight: 700;
        padding: 10px 12px;
        margin-bottom: 15px;
        font-size: 15px;
      }

      .filter-list {
        list-style: none;
        margin: 0;
        padding: 0;
      }

      .filter-check {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 2px;
        cursor: pointer;
        font-size: 15px;
        padding-left: 25px;
      }

      .filter-check input[type="radio"] {
        display: none;
      }
      .filter-check input[type="radio"] + span:before {
        border-radius: 0px !important;
      }

      /* OPTIONAL: SLIGHT HOVER EFFECT */
      .filter-check:hover span {
        color: #ea2124;
      }
    }
    .np-doc-card.live-draft-card {
      background: #1f2328;
      color: #fff;
      position: relative;
      overflow: hidden;
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
      min-height: 245px;
      padding: 14px 0px 0px 15px;
    }

    .live-card-top {
      .doc-title {
        margin: 0 0 10px 0px;
      }
    }

    .live-card-subtitle {
      font-size: 14px;
      line-height: 1.4;
      margin: 0 0 12px;
      max-width: 120px;
    }

    .live-price-new {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      color: #ff4b3a;
      font-weight: 700;
    }

    .live-price-new img {
      height: 14px;
    }

    .live-price-old {
      text-decoration: line-through;
      opacity: 0.7;
    }

    .live-price-save {
      color: #fff;
    }

    /* Person image */
    .live-card-person {
      position: relative;
    }

    .live-card-person img {
      display: block;
      height: auto;
      transform: scaleX(-1);
      position: absolute;
      right: -63px;
      top: -80px;
      width: 400px;
      z-index: 2;
    }

    .live-card-cta-container {
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      z-index: 4;

      .live-card-cta {
        display: block;
        text-align: center;
        padding: 6px 15px;
        background: #ea2124;
        color: #fff;
        font-weight: 700;
        font-size: 14px;
        text-decoration: none;
        border-radius: 8px 8px 0px 0px;
        width: fit-content;
        white-space: nowrap;
      }
    }

    .np-doc-card {
      position: relative;
      cursor: pointer;
      max-width: 220px;
      border: 1px solid #d8dbdf;
      border-radius: 8px;
      padding: 14px 9px;
      background: #fff;
      transition: box-shadow 0.2s ease;
      overflow: hidden;
    }

    .np-doc-card .card-inner {
      display: flex;
      height: 100%;
      flex-direction: column;
      justify-content: space-between;
      transition:
        filter 0.25s ease,
        opacity 0.25s ease;
    }

    .np-doc-card .doc-preview {
      position: absolute;
      inset: 0;
      border: none;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.25s ease;
    }

    /* "Preview" Badge */
    .np-doc-card .doc-preview-badge {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: #f7f8f8;
      padding: 4px 10px;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
      font-weight: 600;
      opacity: 0;
      transition: opacity 0.25s ease;
      pointer-events: none;
      color: #ea2124;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      font-size: 13px;
      img {
        width: 12px;
      }
    }

    .np-doc-card .card-inner {
    }
    .np-doc-card .overlay {
      position: absolute;
      width: 100%;
      height: 100%;
      background-color: black;
      top: 0;
      left: 0;
      opacity: 0.3;
      display: none;
    }
    .np-doc-card:hover {
      .overlay {
        display: block;
      }
      .card-inner {
        opacity: 0.5;
      }
    }

    .np-doc-card:hover .np-doc-card:hover .doc-preview,
    .np-doc-card:hover .doc-preview-badge {
      opacity: 1;
    }

    .doc-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .doc-brand {
      height: 18px;
    }
    .doc-popular-badge {
      line-height: 20px;
      position: absolute;
      right: 0;
      top: 9px;
      background: #d32f2f;
      color: #fff;
      padding: 0px 10px;
      font-size: 12px;
      font-weight: 600;
    }

    /* Title */
    .doc-title {
      font-size: 17px;
      font-weight: 700;
      margin: 14px 0 16px;
      line-height: 1.2;
    }

    /* Placeholder lines */
    .doc-placeholder-lines span {
      display: block;
      height: 6px;
      background: #e6e7eb;
      border-radius: 3px;
      margin-bottom: 6px;
      width: 33%;
    }
    .small-lines-container {
      margin-bottom: 13px;
    }
    .doc-placeholder-lines span.large {
      height: 8px;
      width: 100%;
    }

    /* Footer */
    .doc-footer {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 13px;
      color: #25272c;
      margin-top: 14px;
    }
    .doc-format {
      padding: 2px 8px;
      border: 1px solid #40444c;
      border-radius: 100px;
      font-size: 12px;
      line-height: 16px;
    }
    .doc-download img {
      height: 14px;

      margin-right: 4px;
      vertical-align: middle;
    }
    .doc-download {
      display: flex;
      padding: 2px 8px;
      border: 1px solid #40444c;
      border-radius: 100px;
      align-items: center;
      line-height: 16px;
      gap: 3px;
    }
  }

  .filter-modal,
  .doc-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    display: none;
    .modal-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.45);
    }
    .modal-content {
      padding: 25px;
      position: relative;
      background: #fff;
      border-radius: 16px;
      width: 600px;
      max-width: 90vw;
      height: 100%;
      max-height: 90vh;
      overflow: hidden;
      z-index: 1;
      display: flex;
      flex-direction: column;
      margin: auto;
      .header-container {
        display: flex;
        align-items: center;
        width: 100%;
        justify-content: space-between;
        .guarantee_tag {
          display: flex;
          gap: 5px;
          border: 0.54px solid #8e95a2;
          background-color: #2e7d32;
          padding: 0px 10px;
          font-size: 10px;
          color: white;
          font-weight: 700;
          letter-spacing: 1px;
          align-items: center;
          img {
            width: 12px;
            height: 13px;
          }
        }
        .doc-modal-close,
        .filter-modal-close {
          position: absolute;
          top: -7px;
          right: 0;
          border: none;
          background: transparent;
          font-size: 26px;
          cursor: pointer;
          color: #0000008f;
        }
      }
    }
  }
  .doc-modal {
    .modal-content {
      .modal-body-content {
        display: grid;
        grid-template-rows: 80% 20%;
        height: 100%;
        overflow: scroll;
        .doc-modal-body {
          margin-top: 24px;
          margin-bottom: 24px;
          border: 1px solid #edeef1;
          border-radius: 12px;
          height: auto;

          iframe {
            width: 100%;
            height: 100%;
            overflow: scroll;
          }
        }
      }
      .doc-modal-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        h4 {
          text-align: center;
          margin-bottom: 5px;
        }
        .doc-modal-meta {
          align-items: center;
          justify-content: center;
          display: flex;
          color: #25272c;
          margin-bottom: 15px;
          font-size: 15px;
          .time-filling {
            text-transform: uppercase;
            padding-right: 8px;
            margin: 5px 8px 5px 0px;
            border-right: 1px solid #25272c;
            letter-spacing: 1px;
            line-height: 15px;
          }
          .other-info {
            display: flex;
            align-items: center;
          }
          .doc-download span,
          .format span {
            padding: 3px 8px;
            background-color: #f7f8f8;
            border-radius: 100px;
            border: 1px solid #bdbdbd;
          }
          .format {
            padding-right: 8px;
            border-right: 1px solid #25272c;
            line-height: 15px;
            margin: 5px 8px 5px 0;
          }
        }
      }
    }
  }
  .filter-modal {
    .filter-container {
      padding: 0px !important;
      .filter-title {
        background-color: transparent;
        color: #25272c;
        margin-bottom: 0px;
      }
      .filter-block {
        margin-bottom: 0;
      }
    }
    .search-box {
      display: flex;
      align-items: center;
      gap: 15px;
      width: 100%;
      position: relative;
      .search-label {
        font-size: 14px;
        color: #ea2124;
        margin-right: 8px;
        position: absolute;
        top: -14px;
        left: 22px;
        background-color: white;
        padding: 0px 6px;
        z-index: 10;
      }

      .search-input-wrapper {
        display: flex;
        align-items: center;
        border: 2px solid #ea2124;
        padding: 15px 12px;
        z-index: 5;
        border-radius: 5px;
        width: 100%;
      }
      .search-input {
        border: none;
        outline: none;
        font-size: 16px;
        flex: 1;
        margin-left: 25px;
      }

      .search-input::placeholder {
        color: transparent;
        font-size: 16px;
      }

      .search-icon {
        font-size: 18px;
        color: #666;
        position: absolute;
      }

      .search-results {
        white-space: nowrap;
      }
    }
  }
  @media (max-width: 1199px) {
    .category-list {
      .category-card {
        height: 200px;
        flex: 1 1 calc(50% - 24px) !important;
        max-width: calc(50% - 24px) !important;
      }
    }
    .document_table .document-table-container {
      grid-template-columns: 30% 1fr !important;

      .list-container {
        grid-template-columns: repeat(3, 1fr) !important;
      }
    }
  }
  @media (max-width: 991px) {
    .document_table .document-table-container {
      grid-template-columns: 40% 1fr !important;
      .list-container {
        grid-template-columns: repeat(2, 1fr) !important;
      }
    }
  }
  @media (max-width: 799px) {
    h2 {
      font-size: 36px !important;
      line-height: 48px !important;
    }
    .review_comment {
      p {
        font-size: 16px;
      }
    }
    .document_table {
      .search-container {
        display: block;
        .filter-container-mobile {
          display: flex;
          align-items: center;
          justify-content: flex-end;
          margin-top: 10px;
          .filter-button {
            display: flex;
            align-items: center;
            gap: 5px;
            border: none;
            background-color: transparent;
          }
        }
        .search-box {
          width: 100% !important;
          .search-label {
            display: none !important;
          }
          .search-input-wrapper {
            width: 100% !important;
            background-color: #f7f8f8 !important;
            input {
              background-color: #f7f8f8 !important;
            }
            input::placeholder {
              color: #00000099 !important;
            }
          }
        }
        .search-results {
          display: none !important;
        }
      }
      .document-table-container {
        display: block !important;
        .filter-container {
          display: none;
        }
        .list-container {
          grid-template-columns: repeat(3, 1fr) !important;
        }
      }
    }
  }
  @media (max-width: 619px) {
    .legal-template-category {
      padding: 10px 0px;
    }
    .category-list {
      .category-card {
        flex: 1 1 100% !important;
        max-width: 100% !important;
      }
    }
    .edd-banner-container {
      margin-right: 0px !important;
    }
    .document_table .document-table-container {
      .list-container {
        grid-template-columns: repeat(2, 1fr) !important;
      }
    }
  }
  @media (max-width: 519px) {
    .doc-modal,
    .filter-modal {
      .modal-content {
        height: 90vh !important;
      }
      .doc-modal-footer .doc-modal-meta {
        display: block !important;
        .time-filling {
          font-size: 14px !important;
          text-align: center !important;
          border: none !important;
          padding: 0 !important;
          margin: 10px 0 10px 0px !important;
        }
        .format {
          border: none;
          padding: 0;
        }
      }
    }
  }
  @media (max-width: 479px) {
    .document_table .document-table-container {
      .doc-footer .doc-format {
        display: none;
      }
      .doc-placeholder-lines {
        display: none;
      }
      .live-draft-card {
        display: none;
      }
    }
  }
  @media (max-height: 812px) {
    .doc-modal .modal-content .modal-body-content {
      grid-template-rows: 70% 1fr !important;
    }
  }
  @media (max-height: 594px) {
    .doc-modal .modal-content .modal-body-content {
      grid-template-rows: 60% 1fr !important;
    }
  }
}

.legal-template-category-page,
.legal-template-single-page {
  .review_comment {
    p {
      margin-bottom: 35px;
    }
  }
  .page-navigation {
    padding-bottom: 35px;
    padding-top: 25px;
    .navigation-container {
      display: flex;
      gap: 18px;
      align-items: center;
      font-size: 16px;
      .current-page {
        font-weight: 700;
        cursor: default;
      }
      a {
        color: #25272c;
        text-decoration: none;
      }
    }
  }
  @media (max-width: 1199px) {
  }
  @media (max-width: 991px) {
  }

  @media (max-width: 799px) {
  }
  @media (max-width: 619px) {
  }
  @media (max-width: 519px) {
    .page-navigation {
      .home {
        display: none;
      }
    }
  }
  @media (max-width: 479px) {
  }
  @media (max-width: 399px) {
  }
}

.legal-template-category-page {
  .header-row {
    background-color: #f7f8f8;
    border: 1px solid #d8dbdf;
    padding: 25px 0px;
    margin-bottom: 70px;
    .header-row-container {
      h1 {
        font-size: 37px;
        margin-bottom: 10px;
        line-height: 45px;
      }
      .accepted-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        .trustpilot-widget {
          max-width: 200px;
          max-height: 117px;
        }
        .trusted-container {
          span {
            font-weight: 700;
            font-size: 16px;
          }
          .logo-container {
            display: flex;
            align-items: center;
            img:nth-child(1) {
              max-width: 130px;
            }
            img:nth-child(2) {
              max-width: 120px;
            }
            img:nth-child(3) {
              max-width: 35px;
            }
            img:nth-child(4) {
              max-width: 171px;
            }
          }
        }
      }
    }
  }
  .legal-template-category {
    padding: 0 0 130px 0;
  }
  .document_table {
    .document-table-container {
      .filter-block {
        margin-bottom: 0px !important;
      }
    }
  }
  .legal_guides {
    margin-bottom: 130px;
    .legal_guides_table_container {
      .legal-guides-grid {
        display: grid;
        gap: 20px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }
      .legal-guides-card {
        background: #fff;
        border-radius: 8px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        cursor: pointer;
      }

      .legal-guides-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
        display: block;
      }

      .legal-guides-meta-top,
      .legal-guides-title,
      .legal-guides-read-time,
      .legal-guides-tags {
        padding: 0 18px;
      }

      .legal-guides-meta-top {
        margin-top: 14px;
        font-size: 13px;
        color: #ea2124;
      }

      .legal-guides-author {
        color: #e0553e;
      }

      .legal-guides-dot {
        margin: 0 4px;
      }

      .legal-guides-title {
        margin: 8px 0 8px;
        font-size: 18px;
        line-height: 1.3;
      }

      .legal-guides-title a {
        color: #111;
        text-decoration: none;
      }

      .legal-guides-title a:hover {
        text-decoration: underline;
      }

      .legal-guides-read-time {
        margin-bottom: 7px;
        font-size: 13px;
        color: #00000099;
        text-transform: capitalize;
      }

      .legal-guides-tags {
        padding-bottom: 16px;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
      }

      .legal-guides-tag {
        font-size: 11px;
        padding: 0px 8px;
        border-radius: 100px;
        background-color: #00000014;
        color: #555;
        line-height: 21px;
      }
    }
  }
  @media (max-width: 1199px) {
    .legal_guides {
      .legal_guides_table_container {
        .legal-guides-grid {
          grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        }
      }
    }
  }
  @media (max-width: 991px) {
    .legal_guides {
      .legal_guides_table_container {
        .legal-guides-grid {
          grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        }
      }
    }
  }

  @media (max-width: 799px) {
    .header-row {
      .header-row-container {
        h1 {
          margin-bottom: 20px !important;
        }
        .accepted-container {
          display: block !important;
          .trusted-container {
            .logo-container {
              justify-content: space-between !important;
              img {
                max-width: 25% !important;
              }
              img:nth-child(4) {
                max-width: 40% !important;
              }
            }
          }
        }
      }
    }
  }
  @media (max-width: 619px) {
    .legal_guides {
      .legal_guides_table_container {
        .legal-guides-grid {
          grid-template-columns: 1fr !important;
        }
      }
    }
  }
}

.legal-template-single-page {
  .header-row {
    background-color: #f7f8f8;
    border: 1px solid #d8dbdf;
    padding: 25px 0px;
    margin-bottom: 40px;
    .header-row-container {
      display: flex;
      position: relative;

      .left-container {
        width: 54%;
        h1 {
          font-size: 37px;
          margin-bottom: 10px;
          line-height: 45px;
          margin-top: 13px;
        }
        .bottom-usage {
          span:nth-child(1) {
            font-size: 15px;
            font-weight: 500;
            color: #26935a;
            margin-right: 10px;
          }
          span:nth-child(2) {
            color: #25272c;
            font-size: 15px;
            text-transform: capitalize;
            font-weight: 500;
          }
        }
        .short-description {
          text-transform: uppercase;
          color: #25272c;
          font-size: 13px;
          letter-spacing: 0.15px;
        }
        .accepted-container {
          .trusted-container {
            span {
              font-weight: 700;
              font-size: 16px;
            }
            .logo-container {
              display: flex;
              align-items: center;
              img:nth-child(1) {
                max-width: 130px;
              }
              img:nth-child(2) {
                max-width: 120px;
              }
              img:nth-child(3) {
                max-width: 35px;
              }
              img:nth-child(4) {
                max-width: 171px;
              }
            }
          }
        }
        .format-container {
          display: flex;
          align-items: center;
          gap: 12px;
          margin: 15px 0px;
          .format-item {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
          }
        }
        .header-bottom-container {
          display: flex;
          gap: 20px;
          margin-top: 15px;
          align-items: flex-start;
          .state-select-container,
          .template-select-container {
            display: flex;
            flex-direction: column;
            position: relative;
          }

          .state-label,
          .template-label {
            font-size: 13px;
            color: #000000de;
            position: absolute;
            top: -15px;
            left: 13px;
            /* background-color: #F7F8F8; */
            background: linear-gradient(to top, #ffffff, #f7f8f8);
            padding: 0px 7px;
          }

          .state-select,
          .template-select {
            padding: 10px 12px;
            font-size: 16px;
            border: 1px solid #ccc;
            border-radius: 5px;
          }
          .template-select {
            height: 65px;
            width: 200px;
          }

          .state-valid-text {
            font-size: 13px;
            font-weight: 600;
            color: #26935a;
            text-align: center;
          }

          .dist-btn {
            display: flex;
            flex-direction: column;
            font-weight: 700;
            span:nth-child(2) {
              font-weight: 400;
              font-size: 14px;
            }
          }
        }
      }
      .right-container {
        width: 419px;
        z-index: 10;

        position: absolute;
        right: 0;
        top: 30px;
      }
    }
  }
  .how-it-works {
    margin-bottom: 40px;
    .how-it-works-row {
      display: flex;

      .how-it-works-container {
        display: grid;
        grid-template-columns: 25% 1fr;
        width: 58%;
        align-items: center;
        padding: 20px 10px;
        border-radius: 16px;
        border: 1px solid #b6bac3;
        background-color: #f7f8f8;
        h2 {
          font-size: 35px;
          margin-bottom: 0;
          line-height: 43px;
        }
        .steps {
          display: flex;
          justify-content: space-between;
          align-items: flex-start;
          height: 100%;
        }

        .step {
          text-align: center;
          height: 100%;
          flex: 1;
          padding: 0 10px;
          p {
            font-size: 15px;
            line-height: 22px;
          }
        }

        .circle {
          width: 40px;
          height: 40px;
          background: #2f2f2f;
          color: #fff;
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          margin: 0 auto 10px auto;
          font-size: 23px;
          font-weight: 300;
        }

        .divider {
          width: 1px;
          height: 100%;
          background: #0000001f;
        }
      }
    }
  }
  .other-names {
    margin-top: 40px;
    margin-bottom: 40px;
    .other-names-row {
      display: flex;
      .other-names-container {
        font-size: 14px;
        color: #25272c;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        width: 52%;
        gap: 6px;
      }
      .other-names-label {
        margin-right: 4px;
        white-space: nowrap;
      }

      .other-name-pill {
        display: inline-block;
        padding: 4px 10px;
        border-radius: 999px;
        border: 1px solid #bdbdbd;
        background-color: #f7f8f8;
        line-height: 1.3;
        white-space: nowrap;
      }

      .other-name-more {
        border: none;
        background: 0 0;
        padding: 0 4px;
        margin-left: 2px;
        font-size: 14px;
        cursor: pointer;
        color: #ea2124;
        font-weight: 600;
        white-space: nowrap;
        cursor: pointer;
      }

      .other-name-more:focus {
        outline: none;
        text-decoration: underline;
      }
    }
  }
  .template-content {
    margin-bottom: 130px;
    .template-content-row {
      i {
        font-style: italic;
      }
      .paragraph {
        font-size: 15px !important;
        line-height: 23px !important;
        margin-bottom: 20px !important;
      }
      .template-content-container {
        .lexkit-list-nested-item::marker {
          font-size: 0px;
        }

        width: 58%;
        h3 {
          font-size: 25px;
        }
        h3 p {
          font-size: 25px !important;
        }
        p {
          font-size: 15px !important;
          line-height: 23px !important;
        }
        a {
          color: black;
          text-decoration: underline;
        }
        .contents {
          margin-bottom: 30px;
          h3 {
            border-bottom: 1px solid #d8dbdf;
            padding-bottom: 8px;
            margin-bottom: 10px;
          }
          .contents-list {
            list-style: none !important;
            padding: 0;
            font-size: 16px;
            li {
              cursor: pointer;
              margin-bottom: 4px;
              span {
                display: flex;
                align-items: center;
                img {
                  width: 8px;
                  margin-left: 14px;
                }
              }
            }
          }
        }
        .content-customize {
          h3 {
            border-left: 8px solid #ea2124;
            padding-left: 12px;
            margin-top: 50px;
          }
          .checklist-cta-container {
            .email-success {
              display: none;
              color: #26935a;
              font-size: 13px;
              font-weight: 600;
            }
            background: #25272c;
            margin-top: 10px;
            color: #ffffff;
            padding: 20px 28px;
            border-radius: 12px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            align-items: center;
            justify-content: space-between;
            gap: 5px;
            .checklist-cta-text h3 {
              margin: 0;
              font-size: 20px;
              font-weight: 600;
              border-left: none !important;
              padding-left: 0 !important;
              line-height: 26px !important;
            }

            .checklist-cta-text p {
              margin: 10px 0 0;
              font-size: 14px !important;
              line-height: 16px !important;
            }

            .checklist-cta-form {
              display: flex;
              gap: 10px;
              align-items: center;
            }

            .checklist-cta-form input {
              padding: 10px 10px;
              border-radius: 4px;
              border: none;
              font-size: 14px;
              height: 18px;
              color: #000;
              width: 100%;
            }
            .checklist-cta-form input::placeholder {
              color: #00000099;
            }

            .checklist-cta-form {
              a {
                color: #fff !important;
                width: fit-content;
                font-size: 14px;
                height: 18px;
                display: flex;
                white-space: nowrap;
                padding: 10px 20px;
                text-wrap: none;
                text-decoration: none !important;
                align-items: center;
              }
            }
          }

          .accordion {
            .accordion-header {
              display: flex;
              justify-content: flex-end;
              padding: 0px 0px 10px;

              button {
                text-transform: capitalize;
                color: #ea2124;
                border: none;
                background: transparent;
                font-size: 14px;
                font-weight: 600;
                display: inline-flex;
                align-items: center;
                img {
                  margin-left: 10px;
                }
              }
            }
            .accordion-item {
              border-bottom-left-radius: 4px;
              border-bottom-right-radius: 4px;
              border-top: none;
              box-shadow:
                0px 2px 1px -1px #00000033,
                0px 1px 1px 0px #00000024,
                0px 1px 3px 0px #0000001f;
              .accordion-title {
                background-color: transparent;
                width: 100%;
                padding: 14px 16px;
                border: none;
                display: flex;
                align-items: center;
                justify-content: space-between;
                cursor: pointer;
                text-align: left;
              }

              .accordion-title .title-text {
                font-size: 16px;
                font-weight: 600;
                line-height: 25px;
                width: 100%;
              }

              .accordion-arrow {
                width: 25px;
              }
              .accordion-arrow img {
                width: 13px;
                height: 13px;
                transition: transform 0.2s ease;
              }

              .accordion-content {
                max-height: 0;
                overflow: hidden;
                padding: 0 16px;
                transition:
                  max-height 0.25s ease,
                  padding-bottom 0.2s ease;
              }
            }
          }
          .accordion-faq,
          .accordion-checklist {
            .accordion-title {
              .title-text {
                font-weight: 500 !important;
              }
            }
          }
          .accordion-checklist {
            .accordion-title .description {
              color: #00000099;
              font-size: 15px;
            }
            .accordion-content {
              ul {
                list-style: none;
                padding: 0;
                li {
                  font-size: 15px;
                  margin-bottom: 3px;
                }
                input[type="checkbox"] {
                  appearance: none;
                  -webkit-appearance: none;
                  width: 16px;
                  height: 16px;
                  border: 2px solid #0000008f;
                  border-radius: 3px;
                  background: #fff;
                  cursor: pointer;
                  position: relative;
                  margin-right: 10px;
                  vertical-align: text-bottom;
                  transition: border-color 0.2s;
                  visibility: visible;
                  margin-bottom: 1px;
                }
                input[type="checkbox"]:checked {
                  border-color: #ea2124;
                  background-color: #ea2124;
                }
                input[type="checkbox"]:checked::after {
                  content: "";
                  position: absolute;
                  left: 3px;
                  top: -1px;
                  width: 4px;
                  height: 8px;
                  border: solid #fff;
                  border-width: 0 2px 2px 0;
                  transform: rotate(45deg);
                  display: block;
                }
              }
            }
          }

          .accordion-item.open .accordion-arrow img {
            transform: rotate(180deg);
          }
          .accordion-item.open {
            margin-bottom: 18px;
          }

          .accordion-item.open .accordion-content {
            padding-bottom: 16px;
            max-height: 400px; /* big enough for typical text */
          }
        }
        .clara-card-container {
          margin: 50px 0px;
          .clara-card {
            border-radius: 16px;
            padding: 25px 25px;
            background: #25272c;
            color: #fff;
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
          }

          /* --- Header --- */
          .clara-header {
            display: grid;
            grid-template-columns: auto 1fr;
            gap: 16px;
            align-items: flex-start;
            margin-bottom: 14px;
          }

          .clara-badge {
            padding: 8px 30px;
            border-radius: 8px;
            border: 4px solid transparent;
            background:
              linear-gradient(#1d2024, #1d2024) padding-box,
              linear-gradient(90deg, #d73225 0%, #bc358e 49.52%, #7454f6 93.75%)
                border-box;
            display: inline-grid;
            place-items: center;
          }

          .clara-badge span {
            font-family: "Playfair Display";
            font-style: italic;
            font-weight: 700;
            font-size: 21px;
            letter-spacing: 1.2px;
          }

          .clara-title {
            margin: 0;
            font-size: 18px;
            font-weight: 600;
            line-height: 1.25;
            text-align: left !important;
          }

          /* --- Tabs --- */
          .clara-tabs {
            display: flex;
            gap: 28px;
            align-items: center;
            border-bottom: 1px solid #4a4e5a;
            padding: 8px 6px 0;
            margin-bottom: 14px;
          }

          .clara-tab {
            appearance: none;
            border: 0;
            background: transparent;
            color: rgba(255, 255, 255, 0.75);
            font-size: 12px;
            padding: 10px 0 12px;
            cursor: pointer;
            position: relative;
            display: inline-flex;
            align-items: center;
            gap: 10px;
          }

          .clara-tab.is-active {
            color: #ea2124;
            font-weight: 600;
          }

          .clara-tab.is-active::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -1px;
            height: 3px;
            border-radius: 999px;
            background: #ea2124;
          }

          .tab-icon img {
            width: 18px;
            height: 18px;
          }

          /* --- Body --- */
          .clara-body {
            margin-top: 25px;
          }

          .clara-textarea {
            border-radius: 8px;
            background: #40444c;
            /* box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); */
            height: 137px;
            padding: 18px 16px;
            display: flex;
            align-items: flex-start;
          }
          .clara-textarea textarea {
            width: 100%;
            padding: 0;
            height: 100%;
            resize: none;
            border: none !important;
            outline: none;
            background: inherit;
            color: #fff !important;
            font-size: 14px !important;
          }
          .clara-textarea textarea::placeholder {
            color: #ffffffb2;
          }

          /* --- Footer --- */
          .clara-footer {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 16px;
            padding: 10px 0px 0px 20px;
          }

          .clara-disclaimer {
            font-size: 11px;
            line-height: 1.35;
            color: #ffffffb2;
            max-width: 520px;
          }
          .message-container {
            margin-bottom: 20px;
            .clara-cta {
              padding: 6px 16px;
            }
          }

          .clara-cta:active {
            transform: translateY(1px);
          }
          #clara-question-message {
            margin-bottom: 20px;
          }
          #clara-explainer-message {
            display: none;
          }
          .message {
            display: flex;
            flex-direction: column;
            gap: 14px;
          }
        }
      }
    }
  }
  .related-document-container {
    margin-top: 50px;
    .h3 {
      font-size: 23px !important;
      margin-bottom: 5px !important;
    }

    .related-doc-subtitle {
      font-size: 16px;
      margin-bottom: 16px;
      line-height: 23px;
    }

    .related-doc-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .related-doc-card {
      cursor: pointer;
      display: flex;
      gap: 12px;
      padding: 12px 16px;
      border-radius: 10px;
      border: 1px solid #d8dbdf;
      background-color: #fff;
      text-decoration: none;
      align-items: center;
    }

    .related-doc-icon {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: #edeef1;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .related-doc-file {
      width: 20px;
      height: 23px;
      position: relative;
    }

    .related-doc-text {
      display: flex;
      flex-direction: column;
    }

    .related-doc-title {
      font-size: 15px;
      font-weight: 600;
      color: #ea2124;
      line-height: 15px;
    }

    .related-doc-description {
      font-size: 14px;
    }
  }
  .document-container {
    height: 580px;
    border-radius: 16px;
    width: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #b6bac3;
    .guarantee {
      background-color: #2e7d32;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      border-top-left-radius: 16px;
      border-top-right-radius: 16px;
      padding: 8px 0px;
      color: white;
      letter-spacing: 7px;
      font-size: 14px;
      font-weight: 400;
      img {
        width: 16px;
        margin-right: 5px;
      }
    }
    .document-content-container {
      height: 100%;
      padding: 0px 5px;
      position: relative;
      .document-content {
        position: relative;
        height: 520px;

        iframe {
          height: 100%;
          width: 100%;
        }
      }
      .doc-preview-badge {
        position: absolute;
        right: 12px;
        bottom: 10px;
        background-color: #f7f8f8;
        border-radius: 5px;
        color: #ea2124;
        cursor: pointer;
        font-size: 15px;
        letter-spacing: 0.46px;
        border: 1px solid #40444c;
        display: flex;
        align-items: center;
        padding: 3px 9px;
        img {
          margin-right: 10px;
        }
      }
    }
    .bottom-usage {
      padding: 10px 10px;
      text-align: center;
      background-color: #edeef1;
      border-bottom-left-radius: 16px;
      border-bottom-right-radius: 16px;
      border-left: 10px solid #247f50;
      border-right: 10px solid #247f50;
      border-top: 1px solid #b6bac3;
      span:nth-child(1) {
        font-size: 15px;
        font-weight: 500;
        color: #26935a;
        margin-right: 10px;
      }
      span:nth-child(2) {
        color: #25272c;
        font-size: 15px;
        text-transform: capitalize;
        font-weight: 500;
      }
    }
  }
  .edd-promo-container {
    z-index: 2;
    margin-top: 50px;
    background-color: #25272c;
    border-top: 6px solid #ea2124;
    border-radius: 16px;
    height: 558px;
    color: white;
    padding: 20px 30px;
    overflow: hidden;
    .edd-content {
      h4 {
        font-size: 21px;
        max-width: 300px;
      }
      .price-box {
        margin-bottom: 15px;
        width: fit-content;
      }
    }
    .bottom-person-container {
      position: relative;
      .hero-person {
        position: relative;
        img {
          transform: scaleX(-1);
          position: absolute;
          right: -120px;
          bottom: -321px;
          width: 400px;
          z-index: 3;
        }
        .hero-person-label {
          background: #f7f8f8;
          padding: 10px 14px;
          border-radius: 8px;
          font-size: 15px;
          position: absolute;
          width: 280px;
          color: black;
          top: 124px;
          z-index: 2;
          div {
            max-width: 190px;
            line-height: 20px;
          }
          strong {
            font-size: 19px;
          }
        }
      }
      .bottom-video-container {
        display: flex;
        gap: 10px;
        align-items: center;
        background-color: #40444c;
        border-top-right-radius: 8px;
        border-top-left-radius: 8px;
        padding: 3px 15px;
        width: 291px;
        position: absolute;
        bottom: -314px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 4;
        span {
          white-space: nowrap;
        }
      }
    }
  }
  .document-container-mobile .document-container {
    height: auto !important;
  }
  .related-document-mobile,
  .document-container-mobile,
  .edd-promo-mobile {
    display: none;
  }
  .edd-promo-mobile {
    .edd-promo-row {
      max-width: 469px;
    }
    .edd-promo-container {
      height: 553px !important;
    }
  }

  .right-empty-placeholder {
    width: 419px;
    z-index: 1;
  }
  .explainer {
    position: fixed;
    top: 119px;
    right: 74px;
    z-index: 30000;
  }
  /* Fixed bottom container */
  .fixed-cta {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;

    background: #fff;
    border-top: 1px solid #d8dbdf;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.12);

    /* Inner layout */
    .cta-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 20px 18px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .type7 {
      color: #ea2124 !important;
    }
    .type8 {
      margin-top: 0 !important;
    }

    /* Title */
    .cta-title {
      font-size: 20px;
      font-weight: 700;
      color: #1d1f23;
      white-space: nowrap;
    }

    /* Right side */
    .cta-right {
      display: flex;
      align-items: center;
      gap: 14px;
    }
  }

  @media (max-width: 1199px) {
    .how-it-works {
      .how-it-works-row {
        .how-it-works-container {
          width: 50% !important;
        }
      }
    }
    .template-content {
      .template-content-row {
        .template-content-container {
          width: 52% !important;
        }
      }
    }
    .checklist-cta-container {
      display: flex !important;
      flex-direction: column !important;
      align-items: stretch !important;
      .checklist-cta-form {
        margin-top: 15px;
      }
    }
  }

  @media (min-width: 992px) {
    .fixed-cta .cta-inner {
      flex-direction: row;
      align-items: center;
      justify-content: center;
    }
  }
  @media (max-width: 991px) {
    .fixed-cta .cta-container {
      margin-bottom: 25px !important;
    }
    .header-row {
      .right-container {
        display: none !important;
      }
      .left-container {
        width: 100% !important;
      }
    }
    .how-it-works {
      .how-it-works-row {
        .how-it-works-container {
          width: 100% !important;
        }
      }
    }
    .other-names {
      .other-names-row {
        .other-names-container {
          width: 100% !important;
        }
      }
    }
    .template-content {
      margin-top: 63px;
      margin-bottom: 0px !important;
      .template-content-row {
        .template-content-container {
          width: 100% !important;
          .accordion {
            .accordion-title {
              .title-text {
                font-size: 15px !important;
                text-align: left !important;
              }
              .description {
                text-align: left !important;
              }
            }
          }
        }
      }
    }

    .right-empty-placeholder {
      display: none !important;
    }
    .related-document-mobile {
      margin-bottom: 50px;
    }
    .related-document-mobile,
    .document-container-mobile,
    .edd-promo-mobile {
      display: block !important;
    }
    .explainer {
      display: none !important;
      /* top: auto;
      right: 50%;
      bottom: 166px;
      transform: translateX(50%); */
    }
    .fixed-cta {
      display: block !important;
    }
    .checklist-cta-container {
      display: grid !important;
      align-items: center !important;
      .checklist-cta-form {
        margin-top: 0px !important;
      }
    }
  }
  @media (max-width: 799px) {
    .clara-card-container {
      .clara-title {
        font-size: 18px !important ;
        line-height: 1.25 !important ;
      }
    }
    .checklist-cta-container {
      display: flex !important;
      flex-direction: column !important;
      align-items: stretch !important;
      .checklist-cta-form {
        margin-top: 15px !important;
      }
    }
  }

  @media (max-width: 619px) {
    .header-row {
      .header-bottom-container {
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        align-items: normal !important;
        margin-top: 30px;
        .state-valid-text {
          text-align: left !important;
        }
      }
      .trusted-container {
        margin-top: 20px;
      }
    }
    .how-it-works {
      .how-it-works-row {
        .how-it-works-container {
          display: flex;
          flex-direction: column;
          h2 {
            margin-bottom: 15px !important;
          }
        }
      }
    }
    .edd-promo-mobile {
      .edd-promo-container {
        .dist-btn {
          width: fit-content !important;
        }
      }
    }
    .fixed-cta {
      .cta-right {
        flex-direction: column !important;
        .dist-btn {
          width: 100% !important;
        }
      }
    }
    .explainer {
      bottom: 230px !important;
    }
    .clara-card-container {
      .clara-footer {
        flex-direction: column;
        align-items: stretch;
        padding-left: 0px !important;
        align-items: flex-start !important;
      }

      .clara-cta {
        width: 100%;
      }
    }
  }

  @media (max-width: 519px) {
    .page-navigation {
      .home-icon,
      .current-page,
      .current-page-icon {
        display: none;
      }
    }
    .clara-card-container {
      .clara-header {
        display: flex !important;
        flex-direction: column !important;
      }
    }
  }
  @media (max-width: 479px) {
    .edd-promo-mobile {
      .edd-promo-container {
        height: 538px !important;
        .hero-person {
          img {
            bottom: -273px !important;
          }
          .hero-person-label {
            width: 269px !important;
            top: 94px !important;
          }
        }
        .bottom-video-container {
          bottom: -271px !important;
          width: 259px !important;
        }
      }
    }
  }
  @media (max-width: 399px) {
    .how-it-works {
      .how-it-works-row {
        .how-it-works-container {
          .steps {
            gap: 10px !important;
            flex-direction: column !important;
            align-items: center !important;
          }
        }
      }
    }
  }
}

@keyframes heroFade {
  0% {
    opacity: 0;
    pointer-events: none;
  }
  5% {
    opacity: 1;
    pointer-events: auto;
  }
  30% {
    opacity: 1;
    pointer-events: auto;
  }
  35% {
    opacity: 0;
    pointer-events: none;
  }
  100% {
    opacity: 0;
    pointer-events: none;
  }
}
@media (max-width: 1199px) {
  .edd-banner {
    .banner-image {
      width: 60%;
    }
    .banner-content {
      max-width: 70%;
    }
  }
}
@media (max-width: 991px) {
  .edd-banner {
    .banner-image {
      width: 40%;
    }
    .banner-content {
      max-width: 90%;
    }
  }
}
@media (max-width: 799px) {
  .edd-banner .banner-title {
    font-size: 24px !important;
  }
  .edd-banner {
    .banner-content {
      max-width: 60%;
    }
    .banner-image {
      width: 70%;
    }
    .video-container {
      display: flex;
    }
    .banner-actions {
      flex-direction: column;
      align-items: flex-start;
      .price-box {
        display: none;
      }
    }
  }
}
@media (max-width: 619px) {
  .edd-banner {
    .banner-content {
      max-width: 90%;
    }
    .banner-image {
      width: 100%;
      mask-image: linear-gradient(to left, black 0%, transparent);
      -webkit-mask-image: linear-gradient(to left, black 0%, transparent);
    }
  }
}
