/* ===== Hero Image Block ===== */

.pps-hero {
  margin-bottom: 2rem;
  text-align: center;
}

.pps-hero img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.pps-hero-title {
  font-family: "Lora", serif;
  font-size: 1.4rem;
  margin-top: 0.5rem;
  color: #444;
}
/* ============================================
   PPS – Browse Grid: Foundation-style cards
   ============================================ */

/* Turn the browse list into a flexible grid */
.resource-list.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

/* Individual card */
.resource-list.grid .resource {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1 1 calc(33.333% - 1.5rem);
  max-width: calc(33.333% - 1.5rem);
}

/* Image area */
.resource-list.grid .resource .thumbnail,
.resource-list.grid .resource .media-render,
.resource-list.grid .resource img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

/* Card content wrapper */
.resource-list.grid .resource .resource-name,
.resource-list.grid .resource .o-title,
.resource-list.grid .resource .resource-body,
.resource-list.grid .resource .description {
  padding: 0 1rem 0.75rem;
}

/* Title */
.resource-list.grid .resource .resource-name,
.resource-list.grid .resource .o-title {
  margin-top: 0.75rem;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 1rem;
}

/* Description snippet */
.resource-list.grid .resource .resource-body,
.resource-list.grid .resource .description {
  font-size: 0.9rem;
  color: #555;
}

/* Remove underlines, make full card feel clickable */
.resource-list.grid .resource a {
  text-decoration: none;
  color: inherit;
}

/* Hover lift */
.resource-list.grid .resource:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.10);
  transition: all 0.18s ease-out;
}

/* ------- Responsive breakpoints ------- */

@media (max-width: 1000px) {
  .resource-list.grid .resource {
    flex: 1 1 calc(50% - 1.5rem);
    max-width: calc(50% - 1.5rem);
  }
}

@media (max-width: 640px) {
  .resource-list.grid .resource {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .resource-list.grid {
    gap: 1rem;
    margin: 1.5rem 0;
  }
}



/* ===== Story Page Wrapper ===== */

.pps-story-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
}


/* ===== Split Section (Text + Image) ===== */

.pps-section-split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 3rem 0;
  gap: 2rem;
}

.pps-section-media img {
  width: 100%;
  border-radius: 6px;
}

.pps-section-text {
  flex: 1 1 300px;
}

.pps-section-text h2 {
  font-family: "Lora", serif;
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.pps-section-text p {
  line-height: 1.6;
  color: #333;
}


/* ===== Quote Line ===== */

.pps-quote {
  font-family: "Lora", serif;
  font-style: italic;
  padding-left: 1rem;
  border-left: 3px solid #888;
  margin-top: 1rem;
  color: #444;
}


/* ===== Mobile Fixes ===== */

@media (max-width: 640px) {
  .pps-section-split {
    flex-direction: column;
  }
}
/* ============================================
   PPS – Browse Grid: Foundation-style cards
   ============================================ */

/* Turn the browse list into a flexible grid */
.resource-list.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

/* Individual card */
.resource-list.grid .resource {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1 1 calc(33.333% - 1.5rem);
  max-width: calc(33.333% - 1.5rem);
}

/* Image area */
.resource-list.grid .resource .thumbnail,
.resource-list.grid .resource .media-render,
.resource-list.grid .resource img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

/* Card content wrapper */
.resource-list.grid .resource .resource-name,
.resource-list.grid .resource .o-title,
.resource-list.grid .resource .resource-body,
.resource-list.grid .resource .description {
  padding: 0 1rem 0.75rem;
}

/* Title */
.resource-list.grid .resource .resource-name,
.resource-list.grid .resource .o-title {
  margin-top: 0.75rem;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 1rem;
}

/* Description snippet */
.resource-list.grid .resource .resource-body,
.resource-list.grid .resource .description {
  font-size: 0.9rem;
  color: #555;
}

/* Remove underlines, make full card feel clickable */
.resource-list.grid .resource a {
  text-decoration: none;
  color: inherit;
}

/* Hover lift */
.resource-list.grid .resource:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.10);
  transition: all 0.18s ease-out;
}

/* ------- Responsive breakpoints ------- */

@media (max-width: 1000px) {
  .resource-list.grid .resource {
    flex: 1 1 calc(50% - 1.5rem);
    max-width: calc(50% - 1.5rem);
  }
}

@media (max-width: 640px) {
  .resource-list.grid .resource {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .resource-list.grid {
    gap: 1rem;
    margin: 1.5rem 0;
  }
}
