.page-home,
.page-home *,
.page-home *::before,
.page-home *::after {
  box-sizing: border-box;
}

.page-home {
  --home-space: clamp(44px, 8vw, 88px);
  --home-gap: 16px;
  --home-gap-lg: 24px;
  background: var(--bg);
  color: var(--ink);
}

.page-home > * {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 40px);
  padding-right: clamp(16px, 4vw, 40px);
}

.page-home .breadcrumb-list {
  margin-top: 18px;
  font-family: var(--font-body);
  font-size: .85rem;
}

.page-home .hero-collage {
  display: block;
  margin-top: 20px;
}

.page-home .hero-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  padding: clamp(18px, 3.5vw, 28px);
  margin-bottom: var(--home-gap-lg);
}

.page-home .hero-card--main {
  background: var(--navy);
  color: var(--white);
  padding: 0;
  margin-bottom: var(--home-gap);
}

.page-home .hero-thumb {
  height: 220px;
  overflow: hidden;
}

.page-home .hero-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.page-home .hero-main-body {
  padding: clamp(18px, 3.5vw, 28px);
}

.page-home .hero-main-body h1 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 14px 0;
  color: #fff;
}

.page-home .hero-lead {
  font-family: var(--font-body);
  font-size: .96rem;
  line-height: 1.7;
  color: rgba(248, 248, 248, .82);
  margin-bottom: 18px;
  max-width: 56ch;
}

.page-home .hero-score-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  background: rgba(248, 248, 248, .08);
  border-left: 4px solid var(--accent);
  padding: 12px 14px;
  font-size: .9rem;
}

.page-home .hero-score-line strong {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: #fff;
}

.page-home .hero-score-time {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: rgba(248, 248, 248, .78);
}

.page-home .hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.page-home .hero-card-title {
  font-family: var(--font-head);
  font-size: 1.18rem;
  font-weight: 800;
  margin: 0 0 8px;
}

.page-home .hero-card-text {
  font-family: var(--font-body);
  font-size: .9rem;
  line-height: 1.65;
  color: var(--olive);
  margin-bottom: 14px;
}

.page-home .mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.page-home .mini-stats div {
  border-right: 1px solid var(--line);
  padding-right: 10px;
}

.page-home .mini-stats div:last-child {
  border-right: none;
}

.page-home .mini-stats dt {
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--olive);
  margin-bottom: 4px;
}

.page-home .mini-stats dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
}

.page-home .action-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.page-home .action-links a {
  font-family: var(--font-head);
  font-size: .86rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.page-home .action-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.page-home .section {
  margin-top: var(--home-space);
}

.page-home .section-heading {
  position: relative;
  margin-bottom: 26px;
  padding-left: 54px;
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}

.page-home .chapter-num {
  position: absolute;
  left: 0;
  top: 16px;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--accent);
}

.page-home .section-kicker {
  font-family: var(--font-head);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 6px;
}

.page-home .section-title {
  font-family: var(--font-head);
  font-size: clamp(1.45rem, 3.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.page-home .section-desc {
  font-family: var(--font-body);
  line-height: 1.72;
  color: var(--olive);
  max-width: 640px;
}

.page-home .section-heading::after {
  content: '';
  display: block;
  width: 88px;
  height: 6px;
  margin-top: 16px;
  background: repeating-linear-gradient(-45deg, var(--accent) 0 8px, var(--gold) 8px 16px, var(--blue) 16px 24px, var(--dark-red) 24px 32px);
}

.page-home .live-board {
  border-top: 3px solid var(--ink);
}

.page-home .live-card {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  margin: 0;
}

.page-home .live-card summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 16px 14px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-size: .92rem;
}

.page-home .live-card summary::-webkit-details-marker {
  display: none;
}

.page-home .live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 73, 29, .18);
  flex-shrink: 0;
}

.page-home .live-class {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--olive);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.page-home .live-teams {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.page-home .live-teams strong {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--accent);
  min-width: 72px;
  text-align: center;
}

.page-home .live-teams em {
  font-style: normal;
  font-size: .95rem;
}

.page-home .live-clock {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: .76rem;
  background: var(--bg);
  padding: 4px 8px;
  color: var(--olive);
}

.page-home .live-detail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 24px;
  padding: 2px 14px 16px;
  font-family: var(--font-body);
}

.page-home .detail-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px dashed var(--line);
  padding: 8px 0;
  font-size: .88rem;
}

.page-home .detail-row strong {
  font-family: var(--font-mono);
}

.page-home .live-note {
  font-family: var(--font-body);
  font-size: .82rem;
  color: var(--olive);
  margin-top: 14px;
}

.page-home .fixture-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.page-home .fixture-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 16px 0 6px;
  scroll-snap-type: x mandatory;
}

.page-home .fixture-item {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  padding: 14px 16px;
  font-family: var(--font-head);
  font-size: .88rem;
  line-height: 1.5;
}

.page-home .fixture-item .mono-label {
  display: block;
  margin-bottom: 8px;
}

.page-home .fixture-item .tag {
  margin-top: 10px;
}

.page-home .news-layout {
  display: grid;
  gap: var(--home-gap-lg);
}

.page-home .image-frame {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 8px;
}

.page-home .image-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-home .image-caption {
  font-family: var(--font-body);
  font-size: .8rem;
  color: var(--olive);
  margin-top: 10px;
  line-height: 1.5;
}

.page-home .news-filter-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 18px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.page-home .filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.page-home .filter-btn {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  padding: 7px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  transition: background var(--duration), color var(--duration), border-color var(--duration);
}

.page-home .filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.page-home .filter-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.page-home .filter-btn.is-active:hover {
  color: #fff;
}

.page-home .news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .news-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px dashed var(--line);
  font-family: var(--font-body);
  font-size: .92rem;
}

.page-home .news-item:last-child a {
  border-bottom: none;
}

.page-home .news-text {
  flex: 1;
  line-height: 1.5;
}

.page-home .news-arrow {
  color: var(--accent);
  font-family: var(--font-mono);
}

.page-home .news-more {
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: .9rem;
}

.page-home .news-more a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
}

.page-home .is-hidden {
  display: none;
}

.page-home .archive-layout {
  display: grid;
  gap: var(--home-gap-lg);
}

.page-home .archive-panel {
  background: var(--navy);
  color: var(--white);
  padding: 22px 22px 26px;
  border: 1px solid rgba(255, 255, 255, .08);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.page-home .panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(248, 248, 248, .18);
  padding-bottom: 12px;
  margin-bottom: 10px;
}

.page-home .panel-head .mono-label {
  color: rgba(248, 248, 248, .6);
}

.page-home .data-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--gold);
}

.page-home .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.page-home .status-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(248, 248, 248, .12);
}

.page-home .status-label {
  font-family: var(--font-body);
  font-size: .88rem;
  color: rgba(248, 248, 248, .62);
}

.page-home .status-value {
  font-family: var(--font-mono);
  font-size: .92rem;
  font-weight: 700;
  color: #fff;
}

.page-home .archive-note {
  font-family: var(--font-body);
  font-size: .88rem;
  line-height: 1.65;
  color: rgba(248, 248, 248, .72);
  margin: 14px 0 16px;
}

.page-home .device-layout {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.page-home .device-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  padding: 20px;
}

.page-home .device-card--highlight {
  border-left-color: var(--accent);
  background: var(--bg);
}

.page-home .device-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 10px 0 6px;
}

.page-home .device-card p {
  font-family: var(--font-body);
  font-size: .9rem;
  line-height: 1.62;
  color: var(--olive);
  margin-bottom: 10px;
}

.page-home .device-links a {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 2px solid var(--blue);
}

.page-home .device-visual .image-frame {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 8px;
}

.page-home .device-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-home .device-switch {
  margin-top: 16px;
  text-align: center;
}

.page-home .device-switch .btn {
  width: 100%;
}

.page-home .trust-statement {
  margin-top: 56px;
  background: var(--dark-red);
  color: #fff;
  padding: 30px clamp(16px, 4vw, 40px);
  position: relative;
  overflow: hidden;
}

.page-home .trust-statement::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 14px, transparent 14px 28px);
}

.page-home .trust-statement p {
  font-family: var(--font-body);
  line-height: 1.7;
  margin: 10px 0 14px;
  max-width: 720px;
}

.page-home .trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (min-width: 700px) {
  .page-home .device-layout {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .mini-stats dd {
    font-size: 1.6rem;
  }

  .page-home .device-switch .btn {
    width: auto;
  }
}

@media (min-width: 1000px) {
  .page-home .hero-collage {
    display: grid;
    grid-template-areas:
      "main report"
      "main stats"
      "actions actions";
    grid-template-columns: 1.35fr 1fr;
    gap: 20px;
    margin-top: 32px;
  }

  .page-home .hero-card {
    margin-bottom: 0;
  }

  .page-home .hero-card--main {
    grid-area: main;
    display: flex;
    flex-direction: column;
  }

  .page-home .hero-thumb {
    height: 300px;
  }

  .page-home .hero-main-body {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .page-home .hero-score-line {
    margin-top: auto;
  }

  .page-home .hero-card--report {
    grid-area: report;
  }

  .page-home .hero-card--stats {
    grid-area: stats;
  }

  .page-home .hero-card--actions {
    grid-area: actions;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .page-home .action-links {
    margin-top: 0;
  }

  .page-home .live-board {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    border-top: none;
  }

  .page-home .live-card {
    border: 1px solid var(--line);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  }

  .page-home .news-layout {
    grid-template-columns: minmax(280px, 360px) 1fr;
    align-items: start;
  }

  .page-home .archive-layout {
    grid-template-columns: 1fr minmax(280px, 360px);
    align-items: center;
  }

  .page-home .fixture-item {
    flex-basis: 300px;
  }
}
