.home-latest__head {
  margin-bottom: 16px;
}

.home-latest__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

@media (max-width: 767px) {
  .home-latest__title {
    font-size: 1.25rem;
  }
}

/* --- Homepage hero stage (approach B) -------------------------------------- */
.home-page.page-main {
  padding-top: 0;
  gap: 20px;
}

.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 36px 0 40px;
  color: var(--color-navy-950);
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(90% 80% at 8% 20%, rgba(18, 38, 63, 0.14), transparent 58%),
    radial-gradient(70% 60% at 88% 10%, rgba(255, 90, 31, 0.1), transparent 50%),
    linear-gradient(165deg, #e7edf5 0%, var(--color-surface) 48%, #f3f5f8 100%);
}

.home-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(18, 38, 63, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 38, 63, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent 72%);
  pointer-events: none;
}

.home-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px 40px;
  align-items: center;
}

.home-hero__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--color-navy-950);
  max-width: 16ch;
}

.home-hero__sub {
  margin: 0 0 16px;
  max-width: 38ch;
  color: var(--color-text-muted);
  font-size: 1.02rem;
  line-height: 1.5;
}

.home-hero__pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 0.875rem;
  font-weight: 700;
}

.home-hero__pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-live);
  box-shadow: 0 0 0 0 rgba(217, 48, 37, 0.45);
  animation: home-hero-pulse 1.6s ease-out infinite;
}

.home-hero__live {
  color: var(--color-live);
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-hero__btn-secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(18, 38, 63, 0.14);
}

.home-hero__stage {
  background: var(--color-navy-900);
  color: #fff;
  border-radius: 16px;
  padding: 16px 16px 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  animation: home-hero-stage-in 0.55s ease-out both;
}

.home-hero__stage-label {
  margin: 0 0 12px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.home-hero__stage-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-hero__match {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  padding: 12px 12px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-hero__match:hover,
.home-hero__match:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 90, 31, 0.45);
  transform: translateY(-1px);
}

.home-hero__match-comp {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-hero__match-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: end;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}

.home-hero__match-status.badge {
  height: auto;
  padding: 0;
  letter-spacing: 0;
  text-transform: none;
  background: transparent;
}

.home-hero__match-status.badge--upcoming,
.home-hero__match-status.badge--finished {
  color: rgba(255, 255, 255, 0.72);
}

.home-hero__match-status strong {
  color: #fff;
  font-weight: 800;
}

.home-hero__match-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-hero__match-team {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 700;
  font-size: 0.95rem;
}

.home-hero__match-team span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-hero__match-team .team-mark,
.home-hero__match-team .team-mark img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.home-hero__match-score {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  min-width: 1.25ch;
  text-align: right;
}

@keyframes home-hero-stage-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes home-hero-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__stage,
  .home-hero__pulse-dot,
  .home-hero__match {
    animation: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  .home-hero {
    padding: 28px 0 32px;
  }

  .home-hero__inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-hero__title {
    max-width: none;
  }
}

/* --- Front page body grid -------------------------------------------------- */
.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
  margin-top: 4px;
}

.home-grid__main,
.home-grid__aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.home-about {
  margin: 28px 0 0;
  padding: 18px 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
}

.home-about h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-navy-950);
}

.home-about p {
  margin: 0 0 8px;
  max-width: 80ch;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.home-about p:last-child {
  margin-bottom: 0;
}

.home-about a {
  color: var(--color-accent);
  font-weight: 600;
}

.home-faq {
  margin: 20px 0 8px;
  padding: 18px 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
}

.home-faq h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-navy-950);
}

.home-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.home-faq__item {
  border-bottom: 1px solid var(--color-border);
}

.home-faq__item:last-child {
  border-bottom: none;
}

.home-faq__summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 12px 28px 12px 0;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--color-navy-950);
}

.home-faq__summary::-webkit-details-marker {
  display: none;
}

.home-faq__summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-navy-950);
  border-bottom: 2px solid var(--color-navy-950);
  transform: translateY(-70%) rotate(45deg);
}

.home-faq__item[open] > .home-faq__summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.home-faq__answer {
  padding: 0 0 14px;
}

.home-faq__answer p {
  margin: 0;
  max-width: 80ch;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.home-faq__answer a {
  color: var(--color-accent);
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .home-faq__summary::after {
    transition: none;
  }
}

@media (max-width: 960px) {
  .home-grid {
    grid-template-columns: 1fr;
  }
}
