/* ==========================================================================
   PEPTISSIMA — RESPONSIBLE RESEARCH
   Section styles ported verbatim from the {% stylesheet %} block of each
   Shopify section listed below. The shared .p-doc-* spine (hero, list,
   notice, CTA panel) lives in peptissima.css.
   ========================================================================== */

/* ---- sections/responsible-principles.liquid ---- */

.resp-principles {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.resp-principles__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
  align-items: stretch;
}

.resp-principles__card {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 28px;
}

.resp-principles__icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-deep);
  flex: 0 0 auto;
}

.resp-principles__icon svg {
  width: 20px;
  height: 20px;
}

.resp-principles__title {
  color: var(--text);
  font-family: var(--font-serif);
  font-size: var(--text-md);
  font-weight: 700;
  line-height: 1.3;
  margin: 18px 0 0;
}

.resp-principles__text {
  margin-top: 10px;
}

/* Three then two, not the shared .p-grid-5 two-up: five cards two across
   leave a single orphan on the third row, which reads as a sixth missing
   card. */
@media screen and (max-width: 1024px) {
  .resp-principles__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 48px;
  }

  .resp-principles__card {
    padding: 24px;
  }
}

@media screen and (max-width: 749px) {
  .resp-principles__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
  }

  .resp-principles__card {
    padding: 24px;
  }
}

/* ---- sections/responsible-body.liquid ---- */

.resp-body {
  background: var(--surface);
}

/* ---- sections/responsible-excludes.liquid ---- */

.resp-excludes {
  background: var(--surface);
}

.resp-excludes__inner {
  max-width: 860px;
}

.resp-excludes__eyebrow {
  display: block;
  color: var(--red);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.4;
  margin: 0 0 12px;
}

.resp-excludes__heading {
  margin-bottom: 0;
}

/* Red rather than the site's champagne .p-rule. This is the one place on the
   page where red is the point. */
.resp-excludes__rule {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--red);
  margin-top: 16px;
}

.resp-excludes__text {
  max-width: 68ch;
  margin-top: 24px;
}

.resp-excludes__text--after {
  margin-top: 32px;
}

.resp-excludes__intro {
  color: var(--text);
  opacity: 0.78;
  font-size: var(--text-base);
  line-height: 1.7;
  margin: 32px 0 0;
}

.resp-excludes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.resp-excludes__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  border: 1px solid rgba(218, 27, 38, 0.45);
  border-radius: 2px;
  background: rgba(218, 27, 38, 0.08);
  padding: 14px 16px;
  color: var(--text);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.4;
}

.resp-excludes__mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
}

.resp-excludes__mark svg {
  width: 12px;
  height: 12px;
}

@media screen and (max-width: 1024px) {
  .resp-excludes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resp-excludes__text {
    max-width: none;
  }
}

@media screen and (max-width: 749px) {
  .resp-excludes__grid {
    grid-template-columns: 1fr;
  }
}

/* ---- sections/responsible-continue.liquid ---- */

.resp-continue {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
}

.resp-continue__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
  align-items: stretch;
}

.resp-continue__card {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 32px;
}

.resp-continue__icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-deep);
  flex: 0 0 auto;
}

.resp-continue__icon svg {
  width: 22px;
  height: 22px;
}

.resp-continue__title {
  color: var(--text);
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.3;
  margin: 20px 0 0;
  transition: color 0.2s ease;
}

.resp-continue__text {
  margin-top: 10px;
}

.resp-continue__cue {
  margin-top: auto;
  padding-top: 28px;
}

.resp-continue__card:hover .resp-continue__title {
  color: var(--red);
}

@media screen and (max-width: 1024px) {
  .resp-continue__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 48px;
  }

  .resp-continue__card {
    padding: 24px;
  }

  .resp-continue__title {
    font-size: var(--text-md);
    margin-top: 16px;
  }
}

@media screen and (max-width: 749px) {
  .resp-continue__grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .resp-continue__card {
    padding: 28px;
  }
}

/* ---- sections/responsible-close.liquid ---- */

.resp-close {
  background: var(--surface);
}
