/* Shared site footer: the private site's footer.css (private static/footer.css at 1bb6a710),
   with the commercial asset path and the overrides below for commercial page styles. */
.site-footer{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  margin-top:clamp(44px,6vw,82px);
  border-top:4px solid #a71927;
  background:
    radial-gradient(circle at 12% 12%,rgba(31,126,91,.16),transparent 32%),
    linear-gradient(135deg,#111923 0%,#172231 55%,#101720 100%);
  color:#dfe7ee;
  box-shadow:0 -12px 32px rgba(15,23,42,.08);
}
.site-footer__glow{
  position:absolute;
  z-index:-1;
  right:-30px;
  bottom:-75px;
  width:330px;
  height:330px;
  background:url("/assets/footer-mark.bdb16ab6c5e6.svg") center/contain no-repeat;
  filter:grayscale(1) brightness(3);
  opacity:.045;
  transform:rotate(-8deg);
}
.site-footer__inner{
  display:grid;
  grid-template-columns:minmax(270px,1.15fr) minmax(320px,1fr) minmax(250px,.85fr);
  gap:clamp(28px,4vw,64px);
  width:min(1380px,calc(100% - 48px));
  margin:0 auto;
  padding:46px 0 38px;
}
.site-footer__brand-line{display:flex;align-items:center;gap:14px}
.site-footer__mark{
  display:grid;
  place-items:center;
  width:50px;
  height:50px;
  flex:0 0 50px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:14px;
  background:linear-gradient(145deg,#b7212f,#87111d);
  color:#fff;
  font-size:.82rem;
  font-weight:950;
  letter-spacing:.08em;
  box-shadow:0 8px 20px rgba(0,0,0,.2);
}
.site-footer__brand strong{
  display:block;
  color:#fff;
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.45rem;
  line-height:1.05;
}
.site-footer__brand-line div span{
  display:block;
  margin-top:5px;
  color:#7fd0aa;
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.site-footer__brand p,.site-footer__responsible p{
  max-width:390px;
  margin:17px 0 0;
  color:#aebaca;
  font-size:.88rem;
  line-height:1.65;
}
.site-footer__story-link{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-top:14px;
  color:#7fd0aa;
  font-size:.82rem;
  font-weight:850;
  text-decoration:none;
  transition:color .18s ease,gap .18s ease;
}
.site-footer__story-link:hover,.site-footer__story-link:focus-visible{color:#a8e8c8;gap:10px}
.site-footer__nav{display:grid;grid-template-columns:1fr 1fr;gap:32px}
.site-footer h2{
  margin:0 0 14px;
  color:#fff;
  font-size:.76rem;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.site-footer__nav a{
  display:table;
  margin:9px 0;
  color:#c8d2de;
  font-size:.88rem;
  font-weight:650;
  text-decoration:none;
  transition:color .18s ease,transform .18s ease;
}
.site-footer__nav a:hover,.site-footer__nav a:focus-visible,.site-footer__responsible a:hover,.site-footer__responsible a:focus-visible{
  color:#8fdbb6;
  transform:translateX(3px);
}
.site-footer__responsible{
  padding-left:28px;
  border-left:1px solid rgba(255,255,255,.12);
}
.site-footer__responsible-title{display:flex;align-items:center;gap:11px;color:#fff}
.site-footer__age{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border:2px solid #e2a735;
  border-radius:50%;
  color:#ffd16f;
  font-size:.78rem;
  font-weight:950;
}
.site-footer__responsible a{
  display:inline-block;
  margin-top:15px;
  color:#7fd0aa;
  font-size:.82rem;
  font-weight:800;
  text-decoration:none;
  transition:color .18s ease,transform .18s ease;
}
@media(max-width:980px){
  .site-footer__inner{grid-template-columns:1fr 1fr}
  .site-footer__responsible{grid-column:1/-1;padding:24px 0 0;border-top:1px solid rgba(255,255,255,.11);border-left:0}
}
@media(max-width:650px){
  .site-footer{margin-top:38px}
  .site-footer__inner{grid-template-columns:1fr;width:min(100% - 32px,1380px);padding:34px 0 28px;gap:30px}
  .site-footer__nav{gap:22px}
  .site-footer__responsible{grid-column:auto}
  .site-footer__brand-line div span{font-size:.62rem}
}/* Commercial: neutralise page-level footer and heading rules; legal links sit under Racing,
   copyright and data note on one line just under Cookies (no bottom bar); on wide screens the
   line may run on under the 18+ panel so it stays on one line. */
.site-footer{padding:0;text-align:left;font-size:16px;line-height:1.5}
.site-footer a{text-decoration:none}
.site-footer h2{font-family:inherit;line-height:1.2;scroll-margin-top:0}
.site-footer p{text-align:left}
.site-footer .site-footer__small{grid-column:2/-1;max-width:none;margin:calc(14px - clamp(28px,4vw,64px)) 0 0;color:#8492a4;font-size:.75rem;line-height:1.55}
@media(min-width:981px){.site-footer__responsible{grid-row:1;grid-column:3}}
@media(max-width:980px){.site-footer .site-footer__small{grid-column:2}}
@media(max-width:650px){.site-footer .site-footer__small{grid-column:auto;margin-top:-16px}}
/* Link groups are <details>: always open and still on wider screens, the legal links under Racing. */
.site-footer__group>summary{display:block;list-style:none;cursor:default}
.site-footer__group>summary::-webkit-details-marker{display:none}
@media(min-width:701px){
  .site-footer__nav{row-gap:0}
  .site-footer__group--legal{grid-column:1;grid-row:2;margin-top:-9px}
  .site-footer__group--legal>summary{display:none}
  .site-footer__group--records{grid-column:2;grid-row:1}
}
/* Phones (owner pick, 14 Nov 2026): short and dark, three fold-open groups and the 18+ line. */
@media(max-width:700px){
  .site-footer{margin-top:28px;border-top:0;background:#14171c;box-shadow:none}
  .site-footer__glow,.site-footer__brand p,.site-footer__story-link,.site-footer__responsible p:first-of-type{display:none}
  .site-footer__inner{grid-template-columns:1fr;gap:0;width:auto;margin:0;padding:18px 16px 20px}
  .site-footer__brand-line{gap:10px;margin-bottom:12px}
  .site-footer__mark{width:34px;height:34px;flex:0 0 34px;border-radius:10px;font-size:.66rem}
  .site-footer__brand strong{font-size:1.1rem}
  .site-footer__brand-line div span{margin-top:3px;font-size:.58rem;color:#9ca3af}
  .site-footer__nav{display:flex;flex-direction:column;gap:0;border-bottom:1px solid #2c3139}
  .site-footer__group{border-top:1px solid #2c3139}
  .site-footer__group--records{order:2}
  .site-footer__group--legal{order:3}
  .site-footer__group>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;cursor:pointer}
  .site-footer__group>summary::after{content:"+";color:#cbd0d8;font-size:20px;font-weight:500;line-height:1}
  .site-footer__group[open]>summary::after{content:"\2212"}
  .site-footer__group>summary:focus-visible{outline:2px solid #fff;outline-offset:2px}
  .site-footer__group h2{margin:0;font-size:.78rem}
  .site-footer__group a,.site-footer__group .its-cookie-footer-link{display:inline-block;margin:0 16px 12px 0;padding:0;font-size:.88rem}
  .site-footer__group .its-cookie-footer-link{color:#c8d2de;font-weight:650;text-decoration:none}
  .site-footer__responsible{order:4;margin-top:14px;padding:0;border:0}
  .site-footer__responsible-title{gap:8px;font-size:.9rem}
  .site-footer__age{width:28px;height:28px;border:1.5px solid #cbd0d8;color:#fff;font-size:.62rem}
  .site-footer__responsible p{margin:6px 0 0;font-size:.78rem;line-height:1.45}
  .site-footer__responsible a{margin-top:6px;font-size:.78rem}
  .site-footer .site-footer__small{order:5;margin:10px 0 0;color:#8b919c;font-size:.72rem}
}
