#fw-section-custom-html-2432c253-a122-4dcd-905f-5ab8794517fa {

.books-page {
  text-align: center;
  padding: 20px 20px;
}

.books-list {
  display: flex;
  justify-content: center;
  gap: 60px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.book-item {
  max-width: 350px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.book-cover-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 500px;
  position: relative;
}

.book-badge-oncover {
  position: absolute;
  top: 48px;
  left: 11px;
  background-color: #ff4040;
  color: white;
  font-size: 1.8rem;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 6px;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.2);
  transform: rotate(-5deg);
}


.book-cover {
  max-height: 100%;
  width: auto;
  max-width: 300px;
  margin-bottom: 20px;
  border: none;
  box-shadow: none;
}

.book-buy-options {
  text-align: center;
}

.book-buy-options h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 40px 0 20px;
  color: #222;
}

.book-button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 10px 20px;
  width: 300px;
  background-color: white;
  color: black;
  border: 3px solid black;
  border-radius: 8px;
  box-shadow: 0 2px 0 #000;
  text-decoration: none;
  font-weight: bold;
  font-family: "Love Ya Like A Sister", cursive;
  font-size: 1.4rem;
  margin: 0 auto 20px;
}

.book-button:hover {
  background-color: #DCDCDC;
}

.book-button img {
  height: 40px;
  width: 40px;
  flex-shrink: 0;
}

.book-button span {
  flex-grow: 1;
  text-align: left;
}

.book-buy-note {
  font-size: 1rem; /* slightly bigger than before */
  color: #555;
  font-style: italic;
  margin: -15px 0 20px; /* tighter gap to header, still space before buttons */
}



@media (max-width: 640px) {
  .books-list {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .book-cover-wrap {
    height: auto;
  }

  .book-cover {
    max-width: 80%;
  }

  .book-buy-options {
    text-align: center;
  }

  .book-button {
    width: 100%;
    justify-content: center;
  }

  .book-button span {
    text-align: center;
  }
}

}




#fw-section-custom-html-4e8fffad-9e03-461a-96c8-0efc6668c34e {

.activities-grid {
  display: grid;
  gap: 40px;
  justify-items: center;
  margin-top: 40px;

  /* Default: 3 per row on wider screens */
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 640px) {
  .activities-grid {
    /* Force 2 per row on mobile */
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Only affects .activity-tile — not global tile styles */
.activity-tile {
  max-width: 320px;
  text-align: center;
  text-decoration: none;
  color: black;
}

.activity-tile h2 {
  font-family: "Love Ya Like A Sister", cursive;
  font-size: 1.4rem;
  margin-top: 16px;
}

/* Only this wrapper has display and sizing rules */
.activity-tile__image {
  position: relative;
  border: 3px solid #46413f;
  box-shadow: 6px 10px 0px rgba(217, 134, 70, 0.35);
  width: 100%;
  overflow: hidden;
}

/* Image inside activities only */
.activity-tile__image img {
  display: block;
  width: 100%;
  height: auto;
}

}