/* The homepage is set as a two-page tournament programme. */
body:has(.meet-poster) { --paper: #f7f4ea; --ink: #101f32; }
body:has(.meet-poster) .header { background: var(--paper); box-shadow: none; border: 0; position: relative; z-index: 3; }
@media (min-width: 851px) {
  body:has(.meet-poster) .header { height: 88px; }
  body:has(.meet-poster) .brand { width: 218px; }
  body:has(.meet-poster) .nav { background: transparent; border: 0; }
  body:has(.meet-poster) .nav a { border-radius: 2px; }
  body:has(.meet-poster) .nav .nav-event { display: inline-flex; background: var(--red); border: 1px solid var(--red); color: white; white-space: nowrap; }
}
.meet-poster {
  color: var(--ink);
  background: var(--paper);
  padding-bottom: clamp(24px, 3.6vw, 54px);
}
.poster-mast {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 2px solid var(--ink); padding: 13px 0;
  font: 700 .76rem/1.1 PT, sans-serif; letter-spacing: .13em; text-transform: uppercase;
}
.poster-mast span:first-child { display: inline-flex; align-items: center; gap: 11px; }
.poster-belts { width: 30px; height: 12px; display: inline-block; transform: skewX(-22deg); background: linear-gradient(to right, var(--red) 0 44%, transparent 44% 56%, var(--blue) 56%); }
.poster-spread {
  display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  grid-template-rows: 1fr auto auto auto 1fr;
  column-gap: clamp(22px, 3vw, 46px); align-items: start;
  padding: 6px 0 clamp(24px, 2.5vw, 36px);
}
#poster-title {
  grid-area: 2 / 1; margin: 0 0 .19em -.045em;
  font: 700 clamp(78px, 8.8vw, 128px)/.86 PT, Arial, sans-serif; letter-spacing: -.065em;
}
#poster-title em { display: block; color: var(--red); font-weight: 700; }
#poster-title em span { color: var(--ink); }
.poster-intro { grid-area: 3 / 1; margin: 0; max-width: 36ch; font-size: clamp(1rem, 1.45vw, 1.26rem); line-height: 1.38; color: #324151; }
.poster-art {
  grid-area: 1 / 2 / 6 / 3; width: 100%; align-self: center; position: relative; aspect-ratio: 3 / 2;
  background: var(--navy); display: grid; overflow: hidden;
}
.poster-art img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center; }
.poster-actions { grid-area: 4 / 1; display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: clamp(18px, 2.5vw, 34px); }
.poster-actions .btn { min-height: 46px; border-radius: 3px; font-size: clamp(.9rem, 1.05vw, 1rem); gap: 8px; padding: 10px 13px; }
.poster-actions svg, .poster-fixture svg { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.poster-actions .poster-primary { background: var(--red); color: white; }
.poster-actions .poster-secondary { background: transparent; border-color: #9b9c94; color: var(--ink); }
.poster-fixture {
  border-block: 2px solid var(--ink); display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: clamp(18px, 2.6vw, 40px); align-items: center; padding-block: 15px;
}
.poster-fixture time { display: flex; align-items: center; gap: 12px; padding-right: clamp(18px, 2.6vw, 40px); border-right: 1px solid #b5b4aa; }
.poster-fixture time strong { font: 700 clamp(3.8rem, 5vw, 5rem)/.85 PT, sans-serif; letter-spacing: -.08em; color: var(--red); }
.poster-fixture time span { line-height: 1.1; font-weight: 700; }
.poster-fixture time small { display: block; font-size: .83rem; font-weight: 400; padding-top: 4px; color: #475461; }
.fixture-name p { margin: 0 0 5px; font-size: .72rem; font-weight: 700; line-height: 1; letter-spacing: .095em; text-transform: uppercase; color: #4b565c; }
.fixture-name h2 { margin: 0; font-size: clamp(1.22rem, 2vw, 1.85rem); }
.fixture-venue, .fixture-link { display: inline-flex; align-items: center; gap: 8px; font-size: 1rem; line-height: 1.25; }
.fixture-link { min-height: 44px; font-weight: 700; color: var(--blue); text-decoration: none; }
@media (hover: hover) {
  .poster-actions .poster-secondary:hover { background: #e9e5d9; }
  .poster-actions .poster-primary:hover { background: #98191c; }
  .fixture-link:hover { text-decoration: underline; }
  .poster-primary:hover svg, .fixture-link:hover svg { transform: translateX(3px); }
}
@media (prefers-reduced-motion: no-preference) {
  .poster-art img { animation: poster-ink .55s cubic-bezier(.2,.7,.25,1) both; }
  .poster-primary svg, .fixture-link svg { transition: transform .18s ease-out; }
  .poster-actions .btn:active { transform: translateY(1px); }
  @keyframes poster-ink { from { opacity: .84; transform: scale(1.015); } to { opacity: 1; transform: scale(1); } }
}
@media (max-width: 960px) {
  .poster-fixture { grid-template-columns: auto 1fr auto; row-gap: 5px; }
  .poster-fixture time { grid-area: 1 / 1 / 3 / 2; }
  .fixture-venue { grid-area: 2 / 2; }
  .fixture-link { grid-area: 1 / 3 / 3 / 4; }
}
@media (max-width: 760px) {
  body:has(.meet-poster) .header { height: 68px; }
  body:has(.meet-poster) .nav { top: 68px; }
  body:has(.meet-poster) .brand { width: 190px; }
  body:has(.meet-poster) .menu-toggle { background: transparent; border-color: #b9b9b0; }
  .poster-mast { padding: 10px 0; font-size: .65rem; }
  .poster-belts { width: 23px; height: 9px; }
  .poster-spread { grid-template-columns: 1fr; grid-template-rows: auto; padding: 6px 0 20px; }
  #poster-title { grid-area: auto; font-size: clamp(3rem, 13.4vw, 6rem); line-height: 1; margin: 0 0 .12em -.035em; }
  #poster-title em { display: inline; }
  .poster-intro { grid-area: auto; max-width: 44ch; font-size: 1.02rem; line-height: 1.35; }
  .poster-art { grid-area: auto; min-height: 0; aspect-ratio: 3 / 2; margin-top: 15px; }
  .poster-actions { grid-area: auto; margin-top: 12px; gap: 8px; }
  .poster-actions .btn { flex: 1 1 auto; font-size: .94rem; padding-inline: 9px; }
}
@media (max-width: 540px) {
  .poster-fixture { grid-template-columns: auto minmax(0,1fr); column-gap: 14px; padding-block: 15px 9px; }
  .poster-fixture time { gap: 4px; flex-direction: column; padding-right: 14px; align-self: stretch; justify-content: center; align-items: flex-start; }
  .poster-fixture time strong { font-size: 3.6rem; }
  .poster-fixture time span { font-size: .95rem; }
  .poster-fixture time small { display: none; }
  .fixture-venue { font-size: .9rem; }
  .fixture-name h2 { font-size: 1.17rem; }
  .fixture-name p { font-size: .66rem; }
  .fixture-link { grid-area: 3 / 2; font-size: .91rem; }
  .poster-fixture time { grid-row: 1 / 4; }
}
@media (max-width: 380px) {
  .poster-actions { display: grid; grid-template-columns: 1fr; }
  .poster-actions .btn { justify-content: space-between; padding-inline: 15px; }
}

@media (min-width:851px) and (max-width:1000px) {
  body:has(.meet-poster) .nav a { padding-inline: 8px; }
  body:has(.meet-poster) .header .brand { width: 180px; }
}
