/* Content + Image Split Section Styles */

.content-image-split {
  position: relative;
  overflow: hidden;
}

.content-image-inner {
  position: relative;
}

/* Grid Layout */
.content-image-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  width: 100%;
}

@media (min-width: 1024px) {
  .content-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
  }

  /* Flipped layout: Image on left, content on right */
  .content-image-grid--flipped {
    direction: rtl;
  }

  .content-image-grid--flipped > * {
    direction: ltr;
  }
}

/* Content Column */
.content-column {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Rich text wrappers: typography lives on the wrapper; inner tags inherit (editor-safe) */
.eyebrow-text > *,
.subheading > *,
.body-paragraph > *,
.shipping-text > * {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0 !important;
}

/* Space between body paragraphs (each paragraph is now its own block wrapper) */
.body-paragraphs .body-paragraph:not(:last-child) {
  margin-bottom: var(--space-lg);
}

/* Eyebrow Text */
.eyebrow-text p {
  margin: 0;
  line-height: normal;
}

/* Heading */
.heading-wrapper h2 {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.heading-line-1,
.heading-line-2 {
  display: block;
}

/* Subheading */
.subheading p {
  margin: 0;
  line-height: normal;
}

/* Body Paragraphs */
.body-paragraphs p {
  margin: 0;
}

/* Pill Badges */
.pill-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.pill-badge {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px 18px;
  border-radius: 50px;
  height: 34px;
  white-space: nowrap;
}

.pill-badge svg {
  flex-shrink: 0;
  width: 23px;
  height: 23px;
}

.pill-badge span {
  line-height: 39.39px;
  white-space: nowrap;
}

/* CTA Section */
.cta-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: flex-start;
  max-width: 550px;
}

.cta-button {
  width: 100%;
}

.cta-button .btn {
  width: 100%;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Shipping Notice */
.shipping-notice {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.shipping-notice svg {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.shipping-notice p {
  margin: 0;
  line-height: normal;
}

/* Image Column */
.image-column {
  display: flex;
  width: 100%;
  max-width: 643px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .image-column {
    margin: 0;
  }
}

.main-image-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.main-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .main-image {
    max-height: 536px;
  }
}

/* Type scale (2026-09-24): house eyebrow (12px, wide tracking), serif H2,
   lede one step above body, regular weight throughout. */
.content-image-split .eyebrow-text {
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1.4;
}
.content-image-split .eyebrow-text > * {
  letter-spacing: inherit !important;
  text-transform: inherit !important;
}
.content-image-split .subheading,
.content-image-split .subheading p {
  line-height: 1.45;
}
.content-image-split .body-paragraph {
  line-height: 1.65;
  max-width: 34rem;
}
