/* Travel CMS - New Travel Theme Styles */

/* Hide scrollbar but keep horizontal carousel scroll */
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* Floating WhatsApp & Call Buttons */
.floating-contact-wrap {
  position: fixed !important;
  z-index: 9999 !important;
}

@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes call-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(225, 29, 72, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
  }
}

.floating-contact-wrap a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

/* ==========================================================================
   RICH TEXT & TYPOGRAPHY SYSTEM (.prose, .prose-poetry, .cms-richtext)
   Formats HTML output from rich text editors (headings, lists, quotes, tables)
   ========================================================================== */

.prose,
.prose-poetry,
.cms-richtext {
  color: inherit;
  line-height: 1.75;
  font-size: 1rem;
}

.prose > *:first-child,
.prose-poetry > *:first-child,
.cms-richtext > *:first-child {
  margin-top: 0 !important;
}

.prose > *:last-child,
.prose-poetry > *:last-child,
.cms-richtext > *:last-child {
  margin-bottom: 0 !important;
}

/* Headings */
.prose h1, .prose-poetry h1, .cms-richtext h1 {
  font-size: 2rem;
  line-height: 1.25;
  font-weight: 800;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  color: inherit;
}

.prose h2, .prose-poetry h2, .cms-richtext h2 {
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 700;
  margin-top: 1.4em;
  margin-bottom: 0.5em;
  color: inherit;
}

.prose h3, .prose-poetry h3, .cms-richtext h3 {
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 700;
  margin-top: 1.3em;
  margin-bottom: 0.5em;
  color: inherit;
}

.prose h4, .prose-poetry h4, .cms-richtext h4 {
  font-size: 1.125rem;
  line-height: 1.4;
  font-weight: 600;
  margin-top: 1.2em;
  margin-bottom: 0.4em;
  color: inherit;
}

.prose h5, .prose-poetry h5, .cms-richtext h5 {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 600;
  margin-top: 1em;
  margin-bottom: 0.4em;
  color: inherit;
}

.prose h6, .prose-poetry h6, .cms-richtext h6 {
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 600;
  margin-top: 1em;
  margin-bottom: 0.4em;
  color: inherit;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Paragraphs & Text Formatting */
.prose p, .prose-poetry p, .cms-richtext p {
  margin-top: 0;
  margin-bottom: 1.25em;
  line-height: 1.75;
}

.prose strong, .prose b,
.prose-poetry strong, .prose-poetry b,
.cms-richtext strong, .cms-richtext b {
  font-weight: 700;
  color: inherit;
}

.prose em, .prose i,
.prose-poetry em, .prose-poetry i,
.cms-richtext em, .cms-richtext i {
  font-style: italic;
}

.prose u, .prose-poetry u, .cms-richtext u {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose s, .prose del, .prose strike,
.prose-poetry s, .prose-poetry del, .prose-poetry strike,
.cms-richtext s, .cms-richtext del, .cms-richtext strike {
  text-decoration: line-through;
}

/* Links */
.prose a, .prose-poetry a, .cms-richtext a {
  color: var(--primary, #ec1c24);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.prose a:hover, .prose-poetry a:hover, .cms-richtext a:hover {
  opacity: 0.85;
}

/* Lists */
.prose ul, .prose-poetry ul, .cms-richtext ul {
  list-style-type: disc !important;
  margin-top: 0.5em;
  margin-bottom: 1.25em;
  padding-left: 1.5rem !important;
}

.prose ol, .prose-poetry ol, .cms-richtext ol {
  list-style-type: decimal !important;
  margin-top: 0.5em;
  margin-bottom: 1.25em;
  padding-left: 1.5rem !important;
}

.prose li, .prose-poetry li, .cms-richtext li {
  margin-top: 0.35em;
  margin-bottom: 0.35em;
  padding-left: 0.25rem;
}

.prose li > ul, .prose-poetry li > ul, .cms-richtext li > ul,
.prose li > ol, .prose-poetry li > ol, .cms-richtext li > ol {
  margin-top: 0.35em;
  margin-bottom: 0.35em;
}

/* Blockquotes */
.prose blockquote, .prose-poetry blockquote, .cms-richtext blockquote {
  margin: 1.5em 0;
  padding: 0.75rem 1.25rem;
  border-left: 4px solid var(--primary, #ec1c24);
  background-color: rgba(0, 0, 0, 0.025);
  font-style: italic;
  border-radius: 0 0.5rem 0.5rem 0;
}
.prose blockquote p:last-child,
.prose-poetry blockquote p:last-child,
.cms-richtext blockquote p:last-child {
  margin-bottom: 0;
}

/* Tables */
.prose table, .prose-poetry table, .cms-richtext table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.9375rem;
  text-align: left;
}

.prose th, .prose-poetry th, .cms-richtext th {
  background-color: rgba(0, 0, 0, 0.05);
  font-weight: 700;
  padding: 0.625rem 0.875rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.prose td, .prose-poetry td, .cms-richtext td {
  padding: 0.625rem 0.875rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

/* Images & Media */
.prose img, .prose-poetry img, .cms-richtext img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 1.5em 0;
  display: block;
}

.prose hr, .prose-poetry hr, .cms-richtext hr {
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  margin: 2em 0;
}

/* Code */
.prose code, .prose-poetry code, .cms-richtext code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875em;
  background-color: rgba(0, 0, 0, 0.05);
  padding: 0.2em 0.4em;
  border-radius: 0.25rem;
}

.prose pre, .prose-poetry pre, .cms-richtext pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875em;
  background-color: #1f2937;
  color: #f9fafb;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1.5em 0;
}
.prose pre code, .prose-poetry pre code, .cms-richtext pre code {
  background-color: transparent;
  padding: 0;
  color: inherit;
}

