.button-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3498db;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.button-link:hover {
    background-color: #2980b9;
}

/* Replace "page-id-123" with your actual page ID */
.page-id-144 .entry-content img {
  width: 250px !important;
  height: 300px !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block;
  margin: 0 auto !important;
}

/* Fix cropped carousel/gallery images */
.wp-block-gallery .wp-block-image img,
.wp-block-gallery figure img {
  object-fit: contain !important;  /* Shows full image, no cropping */
  height: auto !important;
  max-height: 500px; /* Adjust this to your preferred height */
  width: 100%;
}


/* Target every gallery block on the sponsors page */
.page-id-XXXX .wp-block-gallery {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  gap: 24px !important;
  padding: 12px 4px 20px !important;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  margin-bottom: 32px !important;
}

.page-id-XXXX .wp-block-gallery .wp-block-image {
  flex: 0 0 auto;
  width: 260px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.page-id-XXXX .wp-block-gallery .wp-block-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.page-id-XXXX .wp-block-gallery img {
  border-radius: 6px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.page-id-XXXX .wp-block-gallery figcaption {
  text-align: center;
  font-size: 13px;
  margin-top: 8px;
  word-break: break-word;
}

/* Section headings above each tier */
.page-id-XXXX h3 {
  margin-top: 40px;
  margin-bottom: 8px;
  font-size: 22px;
  letter-spacing: 0.5px;
}