/* Ikara — coherent "legal/info document" styling for CMS pages.
   Brings the plain rich-text legal/info pages (aviso-legal, privacidad,
   seguridad, devoluciones, etc.) in line with the site redesign: Space
   Grotesk headings, Inter body, stone palette, brand-red (#dc2626) accents
   and a comfortable reading column.

   Scope is double-guarded: this file is only injected on CMS pages other
   than cms-id-10 (the bespoke wholesalers landing) AND every rule is also
   scoped to body.page-cms:not(.cms-id-10) so it can never touch any other
   page or that custom landing. */

/* Reading column — the CMS layout is full-width; constrain title + content
   to a centred reading measure without touching the breadcrumb above it. */
body.page-cms:not(.cms-id-10) #center-column.page {
  max-width: 880px;
  margin-inline: auto;
  padding: 0 1.25rem 4rem;
}

/* Page title (overrides the CE-kit BebasNeue 3.75rem fallback) */
body.page-cms:not(.cms-id-10) .page-header {
  margin: 1.75rem 0 2rem;
}
body.page-cms:not(.cms-id-10) .page-header .page-title-section {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #0c0a09;
  margin: 0;
  text-transform: none;
}

/* Body copy */
body.page-cms:not(.cms-id-10) .page-content--cms {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: #292524;
}
body.page-cms:not(.cms-id-10) .page-content--cms p {
  margin: 0 0 1.1rem;
}
body.page-cms:not(.cms-id-10) .page-content--cms p:last-child {
  margin-bottom: 0;
}

/* Section headings (override CE-kit BebasNeue) */
body.page-cms:not(.cms-id-10) .page-content--cms h2 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.2;
  color: #0c0a09;
  margin: 2.5rem 0 1rem;
}
body.page-cms:not(.cms-id-10) .page-content--cms h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.25;
  color: #1c1917;
  margin: 2rem 0 0.75rem;
}
body.page-cms:not(.cms-id-10) .page-content--cms h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
  color: #1c1917;
  margin: 1.75rem 0 0.6rem;
}
body.page-cms:not(.cms-id-10) .page-content--cms h2:first-child,
body.page-cms:not(.cms-id-10) .page-content--cms h3:first-child {
  margin-top: 0;
}

body.page-cms:not(.cms-id-10) .page-content--cms strong,
body.page-cms:not(.cms-id-10) .page-content--cms b {
  font-weight: 700;
  color: #1c1917;
}

/* Links — brand red, same treatment as the rest of the redesign */
body.page-cms:not(.cms-id-10) .page-content--cms a {
  color: #dc2626;
  text-decoration: underline;
  text-underline-offset: 2px;
}
body.page-cms:not(.cms-id-10) .page-content--cms a:hover {
  color: #b91c1c;
}

/* Lists */
body.page-cms:not(.cms-id-10) .page-content--cms ul,
body.page-cms:not(.cms-id-10) .page-content--cms ol {
  margin: 0 0 1.25rem;
  padding-left: 1.4rem;
}
body.page-cms:not(.cms-id-10) .page-content--cms li {
  margin: 0 0 0.5rem;
}
body.page-cms:not(.cms-id-10) .page-content--cms ul li::marker {
  color: #dc2626;
}
body.page-cms:not(.cms-id-10) .page-content--cms ol li::marker {
  color: #dc2626;
  font-weight: 600;
}

/* Tables (some legal pages ship rate/price tables) */
body.page-cms:not(.cms-id-10) .page-content--cms table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}
body.page-cms:not(.cms-id-10) .page-content--cms th,
body.page-cms:not(.cms-id-10) .page-content--cms td {
  border: 1px solid #e7e5e4;
  padding: 0.6rem 0.8rem;
  text-align: left;
  vertical-align: top;
}
body.page-cms:not(.cms-id-10) .page-content--cms th {
  background: #fafaf9;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  color: #1c1917;
}

/* Media + misc inline content */
body.page-cms:not(.cms-id-10) .page-content--cms img {
  max-width: 100%;
  height: auto;
}
body.page-cms:not(.cms-id-10) .page-content--cms hr {
  border: 0;
  border-top: 1px solid #e7e5e4;
  margin: 2rem 0;
}
body.page-cms:not(.cms-id-10) .page-content--cms blockquote {
  margin: 0 0 1.25rem;
  padding: 0.25rem 0 0.25rem 1.1rem;
  border-left: 3px solid #dc2626;
  color: #57534e;
}

@media (max-width: 575px) {
  body.page-cms:not(.cms-id-10) #center-column.page {
    padding: 0 1rem 2.5rem;
  }
  body.page-cms:not(.cms-id-10) .page-content--cms h2 {
    font-size: 1.3rem;
  }
}
