/* Support surfaces / relief mattress — product listing */

.prm-page {
  background: var(--color-white);
}

.page-banner--support-surfaces {
  position: relative;
  min-height: var(--page-banner-image-min-height);
  background-color: var(--color-white);
  background-image: url("../image/support-surfaces_banner_9744.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-banner--support-surfaces .page-banner__inner {
  position: relative;
  z-index: 1;
  padding-top: 0.75rem;
}

.page-banner--support-surfaces .page-banner__title {
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 2px 24px rgba(0, 0, 0, 0.45);
}

.page-banner--support-surfaces .page-banner__lede {
  max-width: 40rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

.prm-intro {
  padding: 2.25rem 1rem 0;
}

.prm-intro__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.prm-intro__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 2.8vw, 1.65rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
}

.prm-intro__text {
  margin: 0;
  max-width: 52rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(32, 52, 68, 0.92);
}

/* Product grid */
.prm-products {
  padding: 2rem 1rem 2.5rem;
}

.prm-products__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.prm-products__heading {
  margin: 0 0 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--color-text);
}

.prm-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .prm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1.35rem;
  }
}

@media (min-width: 1024px) {
  .prm-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.65rem 1.5rem;
  }
}

.prm-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: 0.65rem;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

a.prm-card--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.prm-card--link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.prm-card:hover,
a.prm-card--link:hover {
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.prm-card__media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1rem 0.75rem;
}

.prm-card__media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(15, 23, 42, 0.08));
}

.prm-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.45rem;
  padding: 1rem 1.15rem 1.2rem;
}

.prm-card__risk {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(35, 78, 112, 0.85);
}

.prm-card__risk--na {
  color: rgba(32, 52, 68, 0.55);
}

.prm-card__title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}

.prm-card__type {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(32, 52, 68, 0.72);
  line-height: 1.35;
}

.prm-card__summary {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(32, 52, 68, 0.88);
}

/* FAQ */
.prm-faq {
  padding: 0 1rem 3.25rem;
}

.prm-faq__inner {
  max-width: 46rem;
  margin: 0 auto;
}

.prm-faq__title {
  margin: 0 0 1.35rem;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--color-primary);
}

.prm-faq__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.prm-faq__item {
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.prm-faq__item:first-child {
  padding-top: 0;
}

.prm-faq__q {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
}

.prm-faq__a {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(32, 52, 68, 0.88);
}

.prm-faq__a ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.prm-faq__a li {
  margin-top: 0.35rem;
}

.prm-faq__a li:first-child {
  margin-top: 0;
}

.prm-faq__block > p {
  margin: 0 0 0.5rem;
}
