/* ===========================================================
   Sweetisserie — Learn Page Styles
   =========================================================== */

/* ---- Story sections ---- */
.story-section {
  padding: var(--section-padding);
  background: var(--sw-white);
}

.story-section--alt {
  background: var(--sw-cream);
}

.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.story-block--reverse {
  direction: rtl;
}

.story-block--reverse > * {
  direction: ltr;
}

.story-block__text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.story-block__text p {
  font-size: .95rem;
  color: var(--sw-text-muted);
  line-height: 1.8;
}

.story-block__visual {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .06);
}

.story-block__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
}

.story-block__visual--contain {
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.story-block__visual--contain img {
  aspect-ratio: auto;
  object-fit: contain;
  height: auto;
  border-radius: 16px;
}

/* ---- About / mission section ---- */
.story-mission {
  padding: var(--section-padding);
  background: var(--sw-cream);
  text-align: center;
}

.story-mission__inner {
  max-width: 740px;
  margin: 0 auto;
}

.story-mission__inner p {
  font-size: .95rem;
  color: var(--sw-text-muted);
  line-height: 1.8;
  margin-top: 1.25rem;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .story-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .story-block--reverse {
    direction: ltr;
  }
}
