/* =====================================================
   PARTITE — Full match-data page with Tuttocampo widgets
   ===================================================== */

.partite-page {
  position: relative;
  background: var(--zink);
  color: #fff;
  overflow: hidden;
  padding-top: 80px;
}
@media (min-width: 768px) { .partite-page { padding-top: 92px; } }

/* Decorative giant Z behind */
.partite-page::before {
  content: "Z";
  position: absolute;
  left: 50%;
  top: 280px;
  transform: translateX(-50%);
  font-family: 'Anton', sans-serif;
  font-size: 80vw;
  line-height: 0.8;
  color: rgba(227, 6, 19, 0.04);
  pointer-events: none;
  z-index: 0;
}
@media (min-width: 1200px) {
  .partite-page::before { font-size: 720px; }
}

/* ---------- HERO ---------- */
.partite-hero {
  position: relative;
  z-index: 1;
  padding: 100px 0 40px;
  text-align: center;
}
@media (min-width: 768px) { .partite-hero { padding: 140px 0 56px; } }

.partite-hero .eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 28px;
}
.partite-hero .eyebrow-row .bar {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}
.partite-hero .eyebrow-row .accent { color: var(--zred); }

.partite-hero h1 {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: clamp(56px, 10vw, 140px);
  line-height: 0.86;
  letter-spacing: -0.005em;
  margin: 0;
}
.partite-hero h1 .red { color: var(--zred); }

.partite-hero p {
  max-width: 620px;
  margin: 22px auto 0;
  color: rgba(244, 241, 236, 0.7);
  font-size: 17px;
  line-height: 1.6;
}

/* ---------- MATCH SECTIONS ---------- */
.partite-section {
  position: relative;
  z-index: 1;
  padding: 20px 0 24px;
}
.partite-section:last-of-type { padding-bottom: 140px; }
@media (min-width: 768px) {
  .partite-section:last-of-type { padding-bottom: 170px; }
}

.section-divider {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 28px 0 20px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 28px;
}
.section-divider .num {
  font-family: 'Anton', sans-serif;
  font-size: 48px;
  line-height: 0.85;
  color: var(--zred);
}
.section-divider .lbl {
  font-family: 'Anton', sans-serif;
  font-size: 28px;
  text-transform: uppercase;
  line-height: 0.9;
}
.section-divider .sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.55);
  margin-left: auto;
}

/* Two-up grid for paired widgets */
.partite-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  justify-items: center;
}
@media (min-width: 900px) {
  .partite-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    justify-items: stretch;
  }
}
.partite-grid .widget-card {
  width: 100%;
  max-width: 520px;
  justify-self: center;
}

/* Single centered widget (Marcatori) */
.partite-single {
  display: flex;
  justify-content: center;
}
.partite-single .widget-card {
  width: 100%;
  max-width: 520px;
}

/* ============ PARTITE · MOBILE TUNING ============ */
@media (max-width: 480px) {
  .partite-hero { padding: 80px 0 28px; }
  .partite-hero .eyebrow-row { margin-bottom: 20px; font-size: 10px; letter-spacing: 0.24em; }
  .partite-hero p { font-size: 15px; }

  .partite-section { padding: 14px 0 16px; }
  .partite-section:last-of-type { padding-bottom: 100px; }
  .section-divider { padding: 20px 0 14px; gap: 12px; margin-bottom: 22px; }
  .section-divider .num { font-size: 40px; }
  .section-divider .lbl { font-size: 22px; }
  .section-divider .sub { font-size: 9px; letter-spacing: 0.18em; }

  .partite-grid { gap: 18px; }
}
