
.website-page:hover {
  color: var(--hover-color);
  text-decoration: var(--hover-underline);
}

.website-page.active {
  color: var(--active-color);
  text-decoration: var(--active-underline);
}

.wb-toolbar {
  animation-name: wb-animation;
  animation-duration: 100ms;
}

@keyframes wb-animation {
  from {
    opacity: 0;
    scale: 0.7
  }

  to {
    opacity: 100;
    scale: 1;
  }
}


@keyframes animate-slide-to-left {
  from {
    transform: translateX(100%);
    scale: 1;
  }

  to {
    transform: translateX(0);
    scale: 1;
  }
}

@keyframes animate-slide-to-right {
  from {
    transform: translateX(-100%);
    scale: 1;
  }

  to {
    transform: translateX(0);
    scale: 1;
  }
}

@keyframes animate-slide-to-top {
  from {
    transform: translateY(20%);
    scale: 1;
  }

  to {
    transform: translateY(0);
    scale: 1;
  }
}

@keyframes animate-fade {
  from {
    scale: 1;
    opacity: 0
  }

  to {
    scale: 1;
    opacity: 1
  }
}


.video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.video-wrapper iframe {
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

input, textarea {
  outline: none;
  background-color: #fff;
  border-color: #6b7280;
  border-width: 1px;
  padding-top: 0.5rem;
  padding-right: 0.75rem;
  padding-bottom: 0.5rem;
  padding-left: 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  --tw-shadow: 0 0 #0000;
}

/**
SLIDER DEFAULT STYLES [START]
*/

.slider-slide-to-right {
  animation-duration: 500ms;
  animation-name: slider-animate-slide-to-right;
}

.slider-slide-to-left {
  animation-duration: 500ms;
  animation-name: slider-animate-slide-to-left;
}

.slider-scale {
  animation-duration: 500ms;
  animation-name: slider-animate-scale;
}

.slider-fade {
  animation-duration: 500ms;
  animation-name: slider-animate-fade;
}

@keyframes slider-animate-fade {
  from {
    opacity: 50%;
  }

  to {
    opacity: 100%;
  }
}

@keyframes slider-animate-scale {
  from {
    scale: 75%;
  }

  to {
    scale: 100%;
  }
}


@keyframes slider-animate-slide-to-left {
  from {
    left: 50%;
  }

  to {
    left: 0%;
  }
}

@keyframes slider-animate-slide-to-right {
  from {
    right: 50%;
  }

  to {
    right: 0%;
  }
}

/**
SLIDER DEFAULT STYLES [END]
*/


.wb-scrollable::-webkit-scrollbar, .scroller_inner::-webkit-scrollbar {
  display: none;
}

.wb-scrollable, .scroller_inner {
  -ms-overflow-style: none;
}



/* TIPTAP {START} — keep in sync with specifi-frontend index.css */
.ProseMirror-focused {
  outline: none;
}

.tiptap p.is-editor-empty:first-child::before {
  color: #adb5bd;
  content: attr(data-placeholder);
  float: left;
  height: 0;
  font-size: 14px;
  pointer-events: none;
}

.tiptap p:empty {
  min-height: 0;
  margin: 0;
  line-height: inherit;
}

.tiptap p:empty::before {
  content: '\200B';
}

.tiptap p.is-empty::before,
h1.is-empty::before,
h2.is-empty::before,
h3.is-empty::before {
  color: #adb5bd;
  content: attr(data-placeholder);
  float: left;
  height: 0;
  pointer-events: none;
  font-size: 14px;
}

.tiptap :first-child {
  margin-top: 0;
}

.tiptap h1,
.tiptap h2,
.tiptap h3 {
  font-weight: 600;
  line-height: 1.35;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.tiptap p {
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.tiptap blockquote {
  border-left: 3px solid gray;
  margin: 1.5rem 0;
  padding-left: 1rem;
}

.tiptap ul {
  list-style: disc;
  margin: 0 0 1rem 1.25rem;
  padding-left: 0.25rem;
}

.tiptap ol {
  list-style: decimal;
  margin: 0 0 1rem 1.25rem;
  padding-left: 0.25rem;
}

.tiptap li p {
  margin-bottom: 0.25rem;
}

.tiptap hr {
  margin: 1.5rem 0;
  border: 0;
  border-top: 1px solid #e5e7eb;
}

.tiptap a {
  cursor: pointer;
}

.iframe-wrapper {
  position: relative;
  width: fit-content;
}

.tiptap .hashtag,
.hashtag {
  color: #0867c2;
  font-weight: 600;
}

/* Blog body on published sites (often .spec-blog-content without .tiptap) */
.spec-blog-content :first-child,
.tiptap.spec-blog-content :first-child {
  margin-top: 0;
}

.spec-blog-content h1,
.spec-blog-content h2,
.spec-blog-content h3,
.tiptap.spec-blog-content h1,
.tiptap.spec-blog-content h2,
.tiptap.spec-blog-content h3 {
  font-weight: 600;
  line-height: 1.35;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.spec-blog-content p,
.tiptap.spec-blog-content p {
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.spec-blog-content p:empty,
.tiptap.spec-blog-content p:empty {
  min-height: 0;
  margin: 0;
  line-height: inherit;
}

.spec-blog-content p:empty::before,
.tiptap.spec-blog-content p:empty::before {
  content: '\200B';
}

/* Legacy spacer paragraphs (<p><br></p>) — not matched by p:empty */
.tiptap p:has(> br:only-child),
.spec-blog-content p:has(> br:only-child),
.tiptap.spec-blog-content p:has(> br:only-child) {
  display: none;
}

.spec-blog-content blockquote,
.tiptap.spec-blog-content blockquote {
  border-left: 3px solid gray;
  margin: 1.5rem 0;
  padding-left: 1rem;
}

.spec-blog-content ul,
.tiptap.spec-blog-content ul {
  list-style: disc;
  margin: 0 0 1rem 1.25rem;
  padding-left: 0.25rem;
}

.spec-blog-content ol,
.tiptap.spec-blog-content ol {
  list-style: decimal;
  margin: 0 0 1rem 1.25rem;
  padding-left: 0.25rem;
}

.spec-blog-content li p,
.tiptap.spec-blog-content li p {
  margin-bottom: 0.25rem;
}

.spec-blog-content hr,
.tiptap.spec-blog-content hr {
  margin: 1.5rem 0;
  border: 0;
  border-top: 1px solid #e5e7eb;
}

.spec-blog-content a,
.tiptap.spec-blog-content a {
  cursor: pointer;
}

.spec-blog-content img,
.tiptap.spec-blog-content img {
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
}
/* TIPTAP {END} */


.form-alert-message {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  background-color: #65a30d; 
  padding: 1rem;
  border-radius: 0.25rem;
  width: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: none;
}

.form-submission-message {
  font-size: 0.875rem;
  font-weight: 500;
  color: white;
  text-align: left;
}