/* Match Center — refreshed single-match layout */
.match-center-page {
  --mc-ink: #111827;
  --mc-muted: #6b7280;
  --mc-line: #e5e7eb;
  --mc-surface: #ffffff;
  --mc-soft: #f5f7fb;
  --mc-accent: #e51652;
  --mc-accent-dark: #b90f3d;
  background: var(--mc-soft);
  color: var(--mc-ink);
  padding-bottom: 72px;
}

.match-center-page .mc-container {
  max-width: 1180px;
}

.match-center-page .mc-hero {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: #202735;
  color: #fff;
}

.match-center-page .mc-hero-cover,
.match-center-page .mc-hero-slider,
.match-center-page .mc-hero-slide,
.match-center-page .mc-hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.match-center-page .mc-hero-cover {
  background-position: center;
  background-size: cover;
}

.match-center-page .mc-hero-cover--empty {
  background: linear-gradient(125deg, #172033, #3b1530);
}

.match-center-page .mc-hero-slider {
  margin: 0;
}

.match-center-page .mc-hero-slide img {
  object-fit: cover;
}

.match-center-page .mc-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 16, 29, .88) 0%, rgba(10, 16, 29, .54) 48%, rgba(10, 16, 29, .2) 100%),
    linear-gradient(0deg, rgba(10, 16, 29, .66), transparent 55%);
}

.match-center-page .mc-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 48px;
  padding-bottom: 52px;
}

.match-center-page .mc-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 15px;
  color: #ffb1c8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.match-center-page .mc-kicker::before {
  width: 28px;
  height: 2px;
  margin-right: 10px;
  background: var(--mc-accent);
  content: "";
}

.match-center-page .mc-hero h1 {
  max-width: 820px;
  color: #fff;
  font-size: clamp(30px, 4.4vw, 58px);
  font-weight: 800;
  line-height: 1.08;
}

.match-center-page .mc-hero-competition {
  margin-top: 16px;
  color: rgba(255, 255, 255, .75);
  font-size: 16px;
}

.match-center-page .mc-main {
  position: relative;
  z-index: 3;
  margin-top: -42px;
}

.match-center-page .mc-scoreboard,
.match-center-page .mc-panel {
  border: 1px solid rgba(17, 24, 39, .06);
  border-radius: 18px;
  background: var(--mc-surface);
  box-shadow: 0 16px 45px rgba(22, 31, 52, .08);
}

.match-center-page .mc-scoreboard {
  padding: 26px clamp(20px, 5vw, 62px) 34px;
  text-align: center;
}

.match-center-page .mc-match-status {
  display: inline-flex;
  border-radius: 999px;
  background: #fce7ef;
  color: var(--mc-accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 8px 14px;
  text-transform: uppercase;
}

.match-center-page .mc-match-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 15px;
  color: var(--mc-muted);
  font-size: 14px;
}

.match-center-page .mc-match-meta span + span::before {
  margin-right: 22px;
  color: #d1d5db;
  content: "•";
}

.match-center-page .mc-context {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 22px auto 0;
}

.match-center-page .mc-context > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--mc-ink);
  padding: 5px 16px;
}

.match-center-page .mc-context small {
  margin-bottom: 4px;
  color: var(--mc-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.match-center-page .mc-context strong {
  max-width: 270px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-center-page .mc-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  max-width: 820px;
  margin: 35px auto 0;
}

.match-center-page .mc-team {
  display: flex;
  align-items: center;
  gap: 17px;
  min-width: 0;
}

.match-center-page .mc-team--home {
  justify-content: flex-end;
}

.match-center-page .mc-team--away {
  justify-content: flex-start;
}

.match-center-page .mc-team h2 {
  margin: 0;
  color: var(--mc-ink);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.2;
}

.match-center-page .mc-team-logo {
  display: grid;
  width: 78px;
  height: 78px;
  flex: 0 0 78px;
  place-items: center;
  border: 1px solid var(--mc-line);
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}

.match-center-page .mc-team-logo img {
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.match-center-page .mc-result strong {
  display: block;
  color: var(--mc-accent);
  font-size: clamp(25px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.1;
}

.match-center-page .mc-result span {
  display: block;
  margin-top: 7px;
  color: var(--mc-muted);
  font-size: 11px;
  text-transform: uppercase;
}

.match-center-page .mc-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 31px;
}

.match-center-page .mc-button {
  display: inline-flex;
  min-width: 130px;
  justify-content: center;
  border: 1px solid var(--mc-line);
  border-radius: 999px;
  color: var(--mc-ink);
  font-size: 13px;
  font-weight: 700;
  padding: 12px 20px;
  transition: .2s ease;
}

.match-center-page .mc-button:hover {
  border-color: var(--mc-accent);
  color: var(--mc-accent);
  text-decoration: none;
  transform: translateY(-1px);
}

.match-center-page .mc-button--accent {
  border-color: var(--mc-accent);
  background: var(--mc-accent);
  color: #fff;
}

.match-center-page .mc-button--accent:hover {
  background: var(--mc-accent-dark);
  color: #fff;
}

.match-center-page .mc-panel {
  margin-top: 24px;
  padding: clamp(22px, 4vw, 38px);
}

.match-center-page .mc-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.match-center-page .mc-section-heading > span {
  color: var(--mc-muted);
  font-size: 12px;
}

.match-center-page .mc-section-title {
  margin: 0;
  color: var(--mc-ink);
  font-size: clamp(21px, 2.5vw, 28px);
  font-weight: 800;
}

.match-center-page .mc-entry-content {
  margin-top: 18px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.75;
}

.match-center-page .mc-entry-content p + p {
  margin-top: 14px;
}

.match-center-page .mc-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
}

.match-center-page .mc-gallery-item {
  min-width: 0;
}

.match-center-page .mc-gallery-item a,
.match-center-page .mc-gallery-item img {
  display: block;
  width: 100%;
}

.match-center-page .mc-gallery-item a {
  overflow: hidden;
  border-radius: 12px;
  background: #eef1f6;
}

.match-center-page .mc-gallery-item img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: contain;
  object-position: center;
  transition: transform .25s ease;
}

.match-center-page .mc-gallery-item a:hover img {
  transform: scale(1.045);
}

.match-center-page .mc-news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
}

.match-center-page .mc-news-card {
  display: flex;
  min-width: 0;
  flex-direction: row;
  overflow: hidden;
  border: 1px solid var(--mc-line);
  border-radius: 14px;
  background: #fff;
}

.match-center-page .mc-news-image {
  display: flex;
  width: 34%;
  min-width: 250px;
  align-items: stretch;
  background: #eef1f6;
}

.match-center-page .mc-news-image img,
.match-center-page .mc-news-image-placeholder {
  display: block;
  width: 100%;
  min-height: 190px;
  object-fit: cover;
}

.match-center-page .mc-news-image-placeholder {
  display: grid;
  place-items: center;
  color: var(--mc-muted);
  font-size: 13px;
}

.match-center-page .mc-news-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 24px 28px;
}

.match-center-page .mc-news-type {
  color: var(--mc-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.match-center-page .mc-news-card h3 {
  margin: 8px 0 14px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.match-center-page .mc-news-card h3 a {
  color: var(--mc-ink);
}

.match-center-page .mc-news-card h3 a:hover {
  color: var(--mc-accent);
  text-decoration: none;
}

.match-center-page .mc-news-card time {
  margin-top: auto;
  color: var(--mc-muted);
  font-size: 12px;
}

@media (max-width: 760px) {
  .match-center-page {
    padding-bottom: 38px;
  }

  .match-center-page .mc-hero,
  .match-center-page .mc-hero-content {
    min-height: 290px;
  }

  .match-center-page .mc-hero-content {
    padding-bottom: 35px;
  }

  .match-center-page .mc-main {
    margin-top: -25px;
  }

  .match-center-page .mc-scoreboard {
    border-radius: 14px;
    padding: 21px 16px 27px;
  }

  .match-center-page .mc-teams {
    grid-template-columns: 1fr 88px 1fr;
    gap: 8px;
    margin-top: 27px;
  }

  .match-center-page .mc-team {
    display: flex;
    flex-direction: column;
    gap: 9px;
    text-align: center;
  }

  .match-center-page .mc-team--home,
  .match-center-page .mc-team--away {
    justify-content: flex-start;
  }

  .match-center-page .mc-team--home {
    flex-direction: column-reverse;
  }

  .match-center-page .mc-team-logo {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
  }

  .match-center-page .mc-team-logo img {
    width: 52px;
    height: 52px;
  }

  .match-center-page .mc-team h2 {
    font-size: 14px;
  }

  .match-center-page .mc-result strong {
    font-size: 26px;
  }

  .match-center-page .mc-result span {
    font-size: 9px;
  }

  .match-center-page .mc-gallery {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .match-center-page .mc-gallery-item img {
    height: 320px;
  }

  .match-center-page .mc-news-card {
    flex-direction: column;
  }

  .match-center-page .mc-news-image {
    width: 100%;
    min-width: 0;
  }

  .match-center-page .mc-news-image img,
  .match-center-page .mc-news-image-placeholder {
    min-height: 170px;
  }
}