/* Rich text from the admin (TinyMCE) styled like the mannas-studio-html-v2 markup */

/* Rich Text pages (Privacy, Terms): readable defaults for the TinyMCE body */
.rte-content {
  color: #46464a;
  font-size: 0.9375rem;
  line-height: 1.75;
}

.rte-content > :first-child {
  margin-top: 0;
}

.rte-content h1,
.rte-content h2,
.rte-content h3,
.rte-content h4 {
  color: #111111;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 2.25rem 0 0.875rem;
}

.rte-content h1 { font-size: 1.875rem; }
.rte-content h2 { font-size: 1.5rem; }
.rte-content h3 { font-size: 1.25rem; }
.rte-content h4 { font-size: 1.0625rem; }

.rte-content p,
.rte-content ul,
.rte-content ol,
.rte-content table,
.rte-content blockquote,
.rte-content figure {
  margin: 0 0 1rem;
}

.rte-content ul,
.rte-content ol {
  padding-left: 1.375rem;
}

.rte-content ul { list-style: disc; }
.rte-content ol { list-style: decimal; }

.rte-content li + li {
  margin-top: 0.5rem;
}

.rte-content li::marker {
  color: #888888;
}

.rte-content a {
  color: #111111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rte-content strong,
.rte-content b {
  color: #111111;
  font-weight: 600;
}

.rte-content img,
.rte-content video,
.rte-content iframe {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
}

.rte-content blockquote {
  border-left: 3px solid #d0d0d0;
  padding-left: 1rem;
  font-style: italic;
}

.rte-content table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
}

.rte-content th,
.rte-content td {
  border: 1px solid #ededed;
  padding: 0.5rem 0.75rem;
  text-align: left;
}

.rte-content hr {
  border: 0;
  border-top: 1px solid #ededed;
  margin: 2rem 0;
}

@media (min-width: 40rem) {
  .rte-content {
    font-size: 1rem;
  }
}

/* Package feature list: each <li> gets the template's circled check icon */
.package-detail ul {
  display: grid;
  gap: 0.375rem;
}

.package-detail li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.package-detail li::before {
  content: "";
  flex: none;
  width: 1rem;
  height: 1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='%23888888'%3E%3Cpath d='M9 16.875a7.875 7.875 0 1 1 0-15.75 7.875 7.875 0 0 1 0 15.75ZM9 18A9 9 0 1 0 9 0a9 9 0 0 0 0 18Z'/%3E%3Cpath d='M12.341 5.591 8.412 10.594 6.057 8.238a.844.844 0 0 0-1.192 1.193l2.976 2.978a.844.844 0 0 0 1.214-.023l4.491-5.613a.844.844 0 0 0-1.205-1.182Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.package-detail p + p,
.package-detail p + ul,
.package-detail ul + p {
  margin-top: 0.75rem;
}

@media (min-width: 40rem) {
  .package-detail ul {
    gap: 0.75rem;
  }

  .package-detail li::before {
    width: 1.125rem;
    height: 1.125rem;
  }
}
