@tailwind base;
@tailwind components;
@tailwind utilities;
.blog-content {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
  font-size: 1.125rem;
  line-height: 1.8;
  color: #374151;
}

.blog-content > * + * {
  margin-top: 1.5em;
}

.blog-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-top: 2.5em;
  margin-bottom: 0.75em;
  line-height: 1.3;
}

.blog-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-top: 2em;
  margin-bottom: 0.5em;
  line-height: 1.4;
}

.blog-content p {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

/* Prose links only; anchors with classes (CTA buttons) style themselves */
.blog-content a:not([class]) {
  color: #4f46e5;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-content a:not([class]):hover {
  color: #3730a3;
}

.blog-content strong {
  color: #111827;
  font-weight: 600;
}

.blog-content ul,
.blog-content ol {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-left: 1.75em;
}

.blog-content ul {
  list-style-type: disc;
}

.blog-content ol {
  list-style-type: decimal;
}

.blog-content li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  padding-left: 0.375em;
}

.blog-content li > ul,
.blog-content li > ol {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

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

/* Scroll wide comparison tables here. Do not put overflow-x on the page. */
.blog-content .table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
  font-size: 0.9375rem;
}

.blog-content .table-scroll > table {
  margin-top: 0;
  margin-bottom: 0;
}

.blog-content th {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 0.625rem 1rem;
  text-align: left;
  font-weight: 600;
  color: #111827;
}

.blog-content td {
  border: 1px solid #e5e7eb;
  padding: 0.625rem 1rem;
}

.blog-content blockquote {
  border-left: 4px solid #e5e7eb;
  padding-left: 1em;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
  color: #6b7280;
  font-style: italic;
}

.blog-content hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin-top: 2.5em;
  margin-bottom: 2.5em;
}

.blog-sticky-cta {
  display: none;
}

@media (max-width: 767px) {
  .blog-sticky-cta.is-visible {
    display: block;
    position: fixed;
    z-index: 30;
    left: 0;
    right: 0;
    bottom: 0;
    box-sizing: border-box;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #e0e7ff;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
  }

  .blog-sticky-cta__link {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: #4f46e5;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
  }

  .blog-sticky-cta__link:hover {
    background: #4338ca;
    color: #fff;
  }

  body.has-sticky-adulti-cta {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom));
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
