/* Ki — Microplastic Problem widget.
   Dark, contrasting two-column editorial block (image + copy) that sits
   between Testimonials and FAQ on the home page. Falls back to a centred
   single-column block. All selectors scoped under .ki-scope .ki-micro-problem. */

.ki-scope .ki-micro-problem {
  background: #1A2730;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Grid — image + copy. Default image on the left. */
.ki-scope .ki-micro-problem .mp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.ki-scope .ki-micro-problem.mp-img-right .mp-media { order: 2; }
.ki-scope .ki-micro-problem.mp-img-right .mp-copy  { order: 1; }

/* Centered layout — single column, no image. */
.ki-scope .ki-micro-problem.mp-centered .mp-grid {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.ki-scope .ki-micro-problem.mp-centered .eyebrow-rule { justify-content: center; }
.ki-scope .ki-micro-problem.mp-centered .eyebrow-rule::before {
  content: ""; flex: 1; height: 1px; background: rgba(44, 204, 211, 0.33);
}
.ki-scope .ki-micro-problem.mp-centered .mp-body { margin-left: auto; margin-right: auto; }

/* ───── Media frame ───── */
.ki-scope .ki-micro-problem .mp-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}
.ki-scope .ki-micro-problem .mp-frame img,
.ki-scope .ki-micro-problem .mp-frame svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}

/* ───── Copy column ───── */
.ki-scope .ki-micro-problem .eyebrow-rule {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--ki-sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--ki-blue-2); margin-bottom: 28px;
}
.ki-scope .ki-micro-problem .eyebrow-rule::after {
  content: ""; flex: 1; height: 1px; background: rgba(44, 204, 211, 0.33);
}

.ki-scope .ki-micro-problem .mp-headline {
  font-family: var(--ki-serif); font-weight: 400;
  font-size: clamp(32px, 3.6vw, 50px);
  line-height: 1.08; letter-spacing: -0.01em;
  color: #ffffff; margin: 0 0 32px;
}
.ki-scope .ki-micro-problem .mp-headline em { color: var(--ki-blue-2); }

.ki-scope .ki-micro-problem .mp-body { max-width: 540px; }
.ki-scope .ki-micro-problem .mp-body p {
  font-family: var(--ki-sans);
  font-size: 17px; line-height: 1.7;
  color: rgba(255, 255, 255, 0.74);
  margin: 0 0 20px;
}
.ki-scope .ki-micro-problem .mp-body p:last-child { margin-bottom: 0; }

/* Closing punch line — serif italic accent in teal. */
.ki-scope .ki-micro-problem .mp-body p.mp-closing {
  font-family: var(--ki-serif-italic);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  color: var(--ki-blue-2);
  margin-top: 28px;
}

.ki-scope .ki-micro-problem .mp-cta { margin-top: 40px; }

/* The light button needs a faint cyan hover here over the dark ground. */
.ki-scope .ki-micro-problem .btn-light:hover {
  background: var(--ki-blue-2); color: #0E1A20;
}
.ki-scope .ki-micro-problem .btn-light .ar {
  font-family: var(--ki-serif); font-style: italic; font-size: 18px;
  transition: transform 200ms ease;
}
.ki-scope .ki-micro-problem .btn-light:hover .ar { transform: translateX(4px); }

/* Caption pill over the image (reuses .ph-label look on the dark frame). */
.ki-scope .ki-micro-problem .mp-frame .ph-label {
  background: rgba(14, 26, 32, 0.72);
  color: rgba(255, 255, 255, 0.86);
}

/* ───── Responsive ───── */
@media (max-width: 1100px) {
  .ki-scope .ki-micro-problem .mp-grid { gap: 48px; }
}
@media (max-width: 900px) {
  .ki-scope .ki-micro-problem .mp-grid { grid-template-columns: 1fr; gap: 40px; }
  .ki-scope .ki-micro-problem.mp-img-right .mp-media,
  .ki-scope .ki-micro-problem.mp-img-right .mp-copy { order: 0; }
  .ki-scope .ki-micro-problem .mp-frame { aspect-ratio: 16 / 10; }
  .ki-scope .ki-micro-problem .mp-body { max-width: none; }
}
