/*
Theme Name: Beacon Awards v1
Theme URI: https://beaconawardsct.com/
Author: (Site Team)
Description: Restrained editorial block theme for the Beacon Awards (Ink/Paper + Montserrat/Source Serif 4).
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: beacon-awards-v1
*/

/* ===== Beacon Winners Grid ===== */

.beacon-winners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
}

@media (min-width: 700px) {
  .beacon-winners-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .beacon-winners-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Card */
.beacon-winner-card {
  text-align: center;
}

/* Photo wrapper behavior: prevent bleed */
.beacon-winner-card a,
.beacon-winner-card .beacon-winner-photo {
  display: block;
}

/* The actual photo: force consistent frame */
.beacon-winner-photo {
  width: 100%;
  height: 0;
  padding-top: 133.33%;          /* 3:4 aspect ratio */
  position: relative;
  overflow: hidden;
  background: #F4F5F7;
  border: 1px solid #D6D9DE;
}

/* If the plugin outputs an <img> inside the photo container */
.beacon-winner-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* If the plugin uses the class directly on <img> */
img.beacon-winner-photo {
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid #D6D9DE;
}

/* Name (no underlines, no blue) */
.beacon-winner-name,
.beacon-winner-name a,
.beacon-winner-card a.beacon-winner-name,
.beacon-winner-card a {
  color: #0B0D12;
  text-decoration: none;
  font-weight: 700;
}

/* Keep long names from doing “Vincent / Giordano” weirdness */
.beacon-winner-name {
  margin-top: 10px;
  line-height: 1.2;
  white-space: normal;
}

/* Optional: subtle hover, still editorial */
.beacon-winner-card a:hover {
  opacity: 0.85;
}


.beacon-hero{
  background:
    radial-gradient(1200px 600px at 50% 30%, rgba(255,255,255,0.10), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #0b0f14, #0b0f14);
}