/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */


/* Transparent header over full-width hero blocks */
.wp-block-cover.alignfull {
  margin-top: -80px;
  padding-top: 80px;
}

/* Make header background transparent when on full-width hero pages */
body .blocksy-header-wrapper {
  background: transparent;
  position: relative;
  z-index: 100;
}

/* Ensure text is readable over hero background */
.wp-block-cover__inner-container h1,
.wp-block-cover__inner-container p {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Hall of Fame — per-year sections with inductee cards */
.hof-years {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hof-year__title {
  margin: 0 0 20px;
  font-size: 1.6rem;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--hof-accent, var(--theme-palette-color-1, #c70000));
  display: inline-block;
}

.hof-year__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--hof-min-card-width, 130px), 1fr));
  gap: var(--hof-gap, 20px);
}

.hof-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  padding: 10px;
  border-radius: 12px;
  background: var(--hof-card-bg, transparent);
  transition: background 0.2s ease, transform 0.2s ease;
}

a.hof-card:hover {
  background: rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

.hof-card__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--hof-radius, 10px);
  background: #eee;
  margin-bottom: 10px;
}

.hof-card__photo--placeholder {
  display: block;
}

.hof-card__name {
  font-size: var(--hof-name-size, 0.9rem);
  font-weight: 600;
  line-height: 1.3;
}

a.hof-card:hover .hof-card__name {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .hof-year__grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 14px;
  }
}
