/* ==========================================================
   DP World ILT20 Season 5 — ILT20 feedback round (13 Oct)
   Shared by the live page and /brand-demo. Loaded after styles.css.
   ========================================================== */

/* ---------- Hero: two-line lockup (Brand Guidelines p.45) ---------- */
.lock{display:inline-flex;flex-direction:column;align-items:stretch;max-width:100%}
.lk-row{display:flex;align-items:center;gap:.28em;margin-top:.32em;font:800 clamp(22px,2.5vw,36px)/1 "BC",sans-serif;text-transform:uppercase;color:#fff;white-space:nowrap}
.lk-row+.lk-row{margin-top:.28em}
/* three bars = cap height, bar = gap = 1/5 (Brand Guidelines p.44-46) */
.lk-row .tri{flex:1 1 auto;width:auto;min-width:28px;height:.7em;margin-top:-.04em;background:linear-gradient(var(--lime) 0 20%,transparent 20% 40%,var(--lime) 40% 60%,transparent 60% 80%,var(--lime) 80% 100%)}
.lk-row .tri.lk-end{flex:0 0 1.1em}
.lk-tag{text-transform:none}
@media (max-width:899.98px){
  .lk-row{font-size:clamp(17px,5.2vw,24px)}
  .lk-row .tri{min-width:16px}
}

/* ---------- Fixtures: ilt20.ae card format ---------- */
.ledger{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;border-top:0}
.ledger>.ledger-more,.ledger>.ledger-empty{grid-column:1/-1}
.ledger-more{display:flex;justify-content:center;padding-top:8px}
.fx{display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);border-radius:8px;overflow:hidden}
.fx.enter{animation:rowin .5s cubic-bezier(.2,.8,.2,1) both}
.fx-final{border-color:var(--lime)}
.fx-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border-bottom:1px solid var(--line)}
.fx-no{font:700 13px/1.1 "BC",sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#fff}
.fx-tag{flex:none;padding:5px 9px;border-radius:3px;background:var(--lime);color:#38004F;font:700 12px/1 "BC",sans-serif;letter-spacing:.04em;text-transform:uppercase}
.fx-when{padding:12px 14px 0;text-align:center;font:600 14px/1.2 "BC",sans-serif;letter-spacing:.04em;text-transform:uppercase;color:var(--dim)}
.fx-when i{font-style:normal;opacity:.6;margin:0 2px}
.fx-teams{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:start;gap:8px;padding:14px 12px 4px}
.fx-side{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.fx-logo{width:72px;height:72px;object-fit:contain}
.fx-tbc{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;border:1px dashed var(--line);font:700 15px/1 "BC",sans-serif;color:var(--dim)}
.fx-name{font:700 15px/1.1 "BC",sans-serif;text-transform:uppercase;color:#fff}
.fx-vs{display:grid;place-items:center;width:40px;height:40px;margin-top:16px;border-radius:50%;background:#fff;color:#38004F;font:800 14px/1 "BC",sans-serif;text-transform:lowercase}
.fx-venue{padding:10px 14px 0;text-align:center;font-size:13px;line-height:1.4;color:var(--dim)}
.fx-venue span{font-size:12px;opacity:.85}
.fx-buy{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding:14px;border-top:1px solid var(--line);margin-top:14px}
.fx-price{font:600 15px/1 "BC",sans-serif;text-transform:uppercase;color:#fff}
.fx-price b{color:var(--lime);font-weight:800}
.fx-buy .btn{min-height:38px;padding:8px 18px}
@media (max-width:1023px){.ledger{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:599px){.ledger{grid-template-columns:minmax(0,1fr)}}

/* ---------- Points table: no bracket, crests without colour tiles ---------- */
.stand{grid-template-columns:minmax(0,1fr)}
.stand td.tm img{width:32px;height:32px;border-radius:0;object-fit:contain}
.tp-menu img,.tp-crest{border-radius:0!important;background-color:transparent!important;object-fit:contain;background-size:contain!important}

/* ---------- White sections (secondary colour, as on ilt20.ae) ---------- */
#teams,#venues{background:#fff!important;color:#38004F;position:relative;isolation:isolate;overflow:hidden}
#teams .h2,#venues .h2{color:#38004F}
#teams .eyebrow,#venues .eyebrow{color:#610886;opacity:1}
#teams .team{box-shadow:0 10px 24px rgba(56,0,79,.18)}
#venues .venue{background:#38004F;border-color:transparent;color:#fff;box-shadow:0 10px 24px rgba(56,0,79,.18)}
#venues .venue dt{color:rgba(255,255,255,.7)}

/* white sections: large centred hero element in purple at low opacity, as on ilt20.ae */
#teams::before,#venues::before{content:"";position:absolute;z-index:-1;left:50%;top:50%;width:min(1150px,120vw);aspect-ratio:1600/1463;transform:translate(-50%,-50%) rotate(-6deg);background:url(/assets/img/falcon-purple.webp?v=pl2) center/contain no-repeat;opacity:.07;pointer-events:none}

/* Gulf Giants mark is horizontal: scale it up so it reads at the same size as the other crests */
img[src*="crests/giants.webp"]:not([src*="-card"]){transform:scale(1.1)}
.tp-crest[style*="giants.webp"]{background-size:110%!important}

/* Buy rows line up across a row of cards: the bottom bar always sits at the card's foot */
.fx-buy{margin-top:auto!important}
.fx-venue{padding-bottom:14px}
