/* PROTAGONISTI / Ospiti — design-reference/PROTAGONISTI.png */

.big-ospiti-page,
.big-ospiti-page .wp-block-group {
  --big-black: #000;
  --big-white: #fff;
  --big-page-pad: clamp(1.25rem, 7.3vw, 8.75rem);
  --big-font: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --big-font-serif: "Libre Baskerville", "Times New Roman", Times, serif;
}

.big-ospiti-page {
  background: var(--big-white);
  color: var(--big-black);
  font-family: var(--big-font);
  font-size: 0.9375rem;
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.big-ospiti-page .big-shell {
  max-width: 100rem;
  margin-inline: auto;
  padding-inline: var(--big-page-pad);
}

/* Inner header */
.big-ospiti-page .big-header-inner {
  padding-top: 1rem;
}

.big-ospiti-page .big-header-frame {
  position: relative;
  padding: 1.25rem 1.5rem 1.5rem;
}

.big-ospiti-page .big-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--big-black);
  border-style: solid;
}

.big-ospiti-page .big-corner--tl { top: 0; left: 0; border-width: 1px 0 0 1px; }
.big-ospiti-page .big-corner--tr { top: 0; right: 0; border-width: 1px 1px 0 0; }
.big-ospiti-page .big-corner--bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.big-ospiti-page .big-corner--br { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

.big-ospiti-page .big-nav--inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.45rem, 1.8vw, 1.5rem);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.big-ospiti-page .big-nav--inner a {
  color: inherit;
  text-decoration: none;
}

.big-ospiti-page .big-nav--inner a:hover,
.big-ospiti-page .big-nav--inner a[aria-current="page"] {
  text-decoration: underline;
}

/* Page title — serif with rule + dot */
.big-ospiti-title-wrap {
  position: relative;
  padding-top: 0.65rem;
  margin-bottom: 2rem;
}

.big-ospiti-title-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(12rem, 40vw);
  height: 1px;
  background: var(--big-black);
}

.big-ospiti-title {
  margin: 1.25rem 0 0;
  font-family: var(--big-font-serif);
  font-size: clamp(2.75rem, 6.5vw, 5.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

.big-ospiti-title::before {
  content: ".";
  margin-right: 0.05em;
}

/* Guest grid */
.big-guest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.big-guest-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.big-guest-card-link:hover .big-guest-card-label,
.big-guest-card-link:focus-visible .big-guest-card-label {
  background: var(--big-black);
  color: var(--big-white);
}

.big-guest-card-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f2f2f2;
}

.big-guest-card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%);
}

.big-guest-card-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.55rem 0.5rem;
  border: 1px solid var(--big-black);
  border-top: 0;
  text-align: center;
}

.big-guest-card-name-line {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.35;
}

.big-guest-grid-empty {
  grid-column: 1 / -1;
  margin: 0;
}

@media (max-width: 64rem) {
  .big-guest-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 48rem) {
  .big-guest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 30rem) {
  .big-guest-grid {
    grid-template-columns: 1fr;
    max-width: 16rem;
    margin-inline: auto;
  }
}
