/* Academia asfalt: Curs + Prova. Last stylesheet on /asfalt/. */
html.asf-go-acad .video-hero,
html.asf-go-acad #asf-hub .asf-act--kart,
html.asf-go-acad #asf-hub .asf-act--moto,
html.asf-go-acad #asf-hub .asf-act--kids,
html.asf-go-acad #asf-hub .asf-act--prova,
html.asf-go-acad #asf-hub #prova-el-teu-cotxe,
html.asf-go-prova #asf-hub .asf-act--curs,
html.asf-go-curs #asf-hub .asf-act--prova,
html.asf-go-curs #asf-hub #prova-el-teu-cotxe {
  display: none !important;
  visibility: hidden !important;
}
html body #asf-hub #curs-nivell-1.asf-acad-hide,
html body #asf-hub #prova-el-teu-cotxe.asf-acad-hide,
html body #asf-hub .asf-act--curs.asf-acad-hide,
html body #asf-hub .asf-act--prova.asf-acad-hide {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  pointer-events: none !important;
}

html body.asf-acad #asf-hub .asf-act--curs:not(.asf-acad-hide),
html body.asf-acad #asf-hub .asf-act--prova:not(.asf-acad-hide),
html body.asf-acad #asf-hub #curs-nivell-1:not(.asf-acad-hide),
html body.asf-acad #asf-hub #prova-el-teu-cotxe:not(.asf-acad-hide),
html body.ca-solo #curs-nivell-1.asf-act.ca-solo-on,
html body.ca-solo #prova-el-teu-cotxe.asf-act.ca-solo-on {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

html body #asf-hub .asf-act--kids,
html body #asf-hub #infantil.asf-act--kids {
  display: none !important;
}

html body #asf-hub #curs-nivell-1.asf-act,
html body #curs-nivell-1,
html body #prova-el-teu-cotxe,
html body #curs-nivell-1.band-white,
html body #curs-nivell-1.band-black,
html body #prova-el-teu-cotxe.band-white,
html body #prova-el-teu-cotxe.band-black,
html body.ca-solo #curs-nivell-1.asf-act.ca-solo-on,
html body.ca-solo #prova-el-teu-cotxe.asf-act.ca-solo-on {
  background: #fff !important;
  color: #050505 !important;
}

html body #asf-hub #curs-nivell-1 .asf-hero,
html body #asf-hub #prova-el-teu-cotxe .asf-hero,
html body #curs-nivell-1 .asf-hero,
html body #prova-el-teu-cotxe .asf-hero {
  min-height: 0 !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  overflow: hidden !important;
  background: #fff !important;
}

html body #asf-hub #curs-nivell-1 .asf-hero > img,
html body #asf-hub #prova-el-teu-cotxe .asf-hero > img,
html body #curs-nivell-1 .asf-hero img,
html body #prova-el-teu-cotxe .asf-hero img,
html body #curs-nivell-1 .asf-hero video,
html body #prova-el-teu-cotxe .asf-hero video {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  inset: auto !important;
  flex: 0 0 auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 12 / 5;
  transform: none !important;
  object-fit: cover !important;
  object-position: center 62% !important;
  background: none !important;
  border-bottom: 4px solid var(--accent) !important;
}

html body #prova-el-teu-cotxe .asf-hero img,
html body #curs-nivell-1 .asf-hero img {
  object-position: center 62% !important;
  filter: saturate(1.04) contrast(1.03) !important;
}

html body #curs-nivell-1 .asf-hero__veil,
html body #prova-el-teu-cotxe .asf-hero__veil {
  display: none !important;
}

html body #curs-nivell-1 .asf-hero__copy,
html body #prova-el-teu-cotxe .asf-hero__copy {
  position: relative !important;
  z-index: 2;
  width: min(80rem, calc(100% - 2.4rem)) !important;
  margin: 0 auto !important;
  padding: 2.2rem 0 0.2rem !important;
  background: #fff !important;
}

html body #curs-nivell-1 .asf-kicker,
html body #prova-el-teu-cotxe .asf-kicker {
  color: var(--accent) !important;
}

html body #curs-nivell-1 .asf-hero h2 span,
html body #prova-el-teu-cotxe .asf-hero h2 span,
html body #curs-nivell-1.band-white .asf-hero h2 span,
html body #prova-el-teu-cotxe.band-black .asf-hero h2 span {
  color: #050505 !important;
  -webkit-text-fill-color: #050505 !important;
  text-shadow: none !important;
  font-size: clamp(2.4rem, 6.2vw, 4.7rem) !important;
  line-height: 0.86 !important;
  letter-spacing: -0.05em !important;
}

html body #curs-nivell-1 .asf-hero .asf-sub,
html body #prova-el-teu-cotxe .asf-hero .asf-sub {
  color: var(--accent) !important;
  text-shadow: none !important;
  max-width: 46rem !important;
  font-family: var(--font-display), Impact, sans-serif !important;
  font-style: italic !important;
  font-weight: 700 !important;
  font-size: clamp(1.08rem, 1.7vw, 1.45rem) !important;
}

html body #curs-nivell-1 .asf-hero .asf-lead,
html body #prova-el-teu-cotxe .asf-hero .asf-lead {
  color: #1a1a1a !important;
  text-shadow: none !important;
  max-width: 46rem !important;
  font-size: 1.06rem !important;
  line-height: 1.58 !important;
}

html body #curs-nivell-1 .asf-rail,
html body #prova-el-teu-cotxe .asf-rail {
  position: relative !important;
  z-index: 2;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0.7rem !important;
  width: min(80rem, calc(100% - 2.4rem)) !important;
  margin: 1.3rem auto 0 !important;
  padding: 0 0 0.4rem !important;
  border: 0 !important;
  background: #fff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  counter-reset: acadrail;
}

html body #curs-nivell-1 .asf-rail span,
html body #prova-el-teu-cotxe .asf-rail span {
  counter-increment: acadrail;
  min-height: 6.1rem;
  padding: 0.95rem 1rem 1.05rem !important;
  border: 0 !important;
  background: #f4f6f8 !important;
  box-shadow: inset 0 0 0 1px rgba(69, 159, 220, 0.4);
}

html body #curs-nivell-1 .asf-rail span:before,
html body #prova-el-teu-cotxe .asf-rail span:before {
  content: counter(acadrail, decimal-leading-zero);
  display: block;
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-family: var(--font-body), Barlow, sans-serif;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

html body #curs-nivell-1 .asf-rail span:first-child,
html body #prova-el-teu-cotxe .asf-rail span:first-child {
  background: var(--accent) !important;
  box-shadow: none !important;
}

html body #curs-nivell-1 .asf-rail span:first-child:before,
html body #prova-el-teu-cotxe .asf-rail span:first-child:before {
  color: #050505;
}

html body #curs-nivell-1 .asf-rail b,
html body #prova-el-teu-cotxe .asf-rail b {
  color: #050505 !important;
  -webkit-text-fill-color: #050505 !important;
  font-size: clamp(0.94rem, 1.2vw, 1.14rem) !important;
  line-height: 1.12 !important;
}

html body #curs-nivell-1 .asf-split,
html body #prova-el-teu-cotxe .asf-split {
  width: 100% !important;
  max-width: none !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 22.5rem) !important;
  gap: 1.6rem 2.4rem !important;
  margin: 0 !important;
  padding: 2.2rem max(1.2rem, calc((100vw - 80rem) / 2 + 1.2rem)) 2.6rem !important;
  background: #fff !important;
  color: #050505 !important;
}

html body #curs-nivell-1 .asf-copy,
html body #prova-el-teu-cotxe .asf-copy {
  display: flex !important;
  flex-direction: column !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  background: #fff !important;
  color: #050505 !important;
}

html body #curs-nivell-1 .asf-strip__k,
html body #prova-el-teu-cotxe .asf-strip__k {
  color: var(--accent) !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.28em !important;
  text-transform: uppercase !important;
}

html body #curs-nivell-1 .asf-copy h3,
html body #prova-el-teu-cotxe .asf-copy h3 {
  margin: 0.35rem 0 0.2rem !important;
  color: #050505 !important;
  -webkit-text-fill-color: #050505 !important;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem) !important;
}

html body #curs-nivell-1 .asf-copy p:not(.asf-strip__k),
html body #prova-el-teu-cotxe .asf-copy p:not(.asf-strip__k) {
  max-width: 46rem;
  margin: 0.55rem 0 0 !important;
  color: #1a1a1a !important;
  -webkit-text-fill-color: #1a1a1a !important;
  font-size: 1.06rem !important;
  line-height: 1.58 !important;
}

html body #curs-nivell-1 .asf-chips {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0.7rem !important;
  margin: 0.9rem 0 1.4rem !important;
}

html body #curs-nivell-1 .asf-chips span {
  min-height: 5.8rem;
  padding: 0.95rem 1rem 1rem;
  background: #f4f6f8 !important;
  box-shadow: inset 0 0 0 1px rgba(69, 159, 220, 0.4);
  color: #050505 !important;
  -webkit-text-fill-color: #050505 !important;
  font-size: clamp(0.92rem, 1.2vw, 1.12rem);
}

html body #curs-nivell-1 .asf-chips span:first-child {
  background: var(--accent) !important;
  box-shadow: none !important;
}

html body #curs-nivell-1 .asf-rules,
html body #prova-el-teu-cotxe .asf-rules {
  margin: 0.5rem 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
  background: transparent !important;
}

html body #curs-nivell-1 .asf-rules li,
html body #prova-el-teu-cotxe .asf-rules li,
html body #prova-el-teu-cotxe.band-black .asf-rules li,
html body #curs-nivell-1.band-black .asf-rules li {
  color: #050505 !important;
  -webkit-text-fill-color: #050505 !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-size: 1.06rem !important;
  line-height: 1.4 !important;
  padding: 0.92rem 0 !important;
  border-bottom: 1px solid rgba(5, 5, 5, 0.12) !important;
}

html body #curs-nivell-1 .asf-ticket,
html body #prova-el-teu-cotxe .asf-ticket {
  grid-column: 2 !important;
  grid-row: 1 !important;
  position: relative !important;
  top: auto !important;
  align-self: start !important;
  width: 100% !important;
}

html body #curs-nivell-1 .asf-ticket > p,
html body #prova-el-teu-cotxe .asf-ticket > p {
  color: var(--accent) !important;
}

html body #curs-nivell-1 .asf-ticket > b,
html body #prova-el-teu-cotxe .asf-ticket > b {
  color: #fff !important;
}

html body #curs-nivell-1 .asf-ticket .asf-btn,
html body #prova-el-teu-cotxe .asf-ticket .asf-btn {
  clip-path: none !important;
  border-radius: 0.28rem !important;
  width: 100%;
}

html body #curs-nivell-1 .asf-panels {
  display: none !important;
}

html body #curs-nivell-1 .asf-panel {
  min-height: 0 !important;
  padding: 1.25rem 1.15rem 1.3rem !important;
  background: #f4f6f8 !important;
  box-shadow: inset 3px 0 0 var(--accent) !important;
}

html body #curs-nivell-1 .asf-panel h3 {
  color: #050505 !important;
  -webkit-text-fill-color: #050505 !important;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem) !important;
}

html body #curs-nivell-1 .asf-panel p,
html body #curs-nivell-1 .asf-panel li {
  color: #1a1a1a !important;
  -webkit-text-fill-color: #1a1a1a !important;
}

@media (max-width: 980px) {
  html body #curs-nivell-1 .asf-hero img,
  html body #prova-el-teu-cotxe .asf-hero img {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  html body #curs-nivell-1 .asf-hero__copy,
  html body #prova-el-teu-cotxe .asf-hero__copy,
  html body #curs-nivell-1 .asf-rail,
  html body #prova-el-teu-cotxe .asf-rail {
    width: calc(100% - 1.4rem) !important;
  }

  html body #curs-nivell-1 .asf-hero h2 span,
  html body #prova-el-teu-cotxe .asf-hero h2 span {
    font-size: clamp(2.05rem, 11vw, 3.1rem) !important;
  }

  html body #curs-nivell-1 .asf-rail,
  html body #prova-el-teu-cotxe .asf-rail {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.45rem !important;
  }

  html body #curs-nivell-1 .asf-rail span,
  html body #prova-el-teu-cotxe .asf-rail span {
    min-height: 5.4rem;
    padding: 0.7rem 0.7rem 0.85rem !important;
  }

  html body #curs-nivell-1 .asf-rail b,
  html body #prova-el-teu-cotxe .asf-rail b {
    font-size: 0.9rem !important;
    line-height: 1.14 !important;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  html body #curs-nivell-1 .asf-split,
  html body #prova-el-teu-cotxe .asf-split {
    grid-template-columns: 1fr !important;
    padding: 1.4rem 0.9rem 1.7rem !important;
  }

  html body #curs-nivell-1 .asf-copy,
  html body #prova-el-teu-cotxe .asf-copy,
  html body #curs-nivell-1 .asf-ticket,
  html body #prova-el-teu-cotxe .asf-ticket {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  html body #curs-nivell-1 .asf-chips {
    grid-template-columns: 1fr 1fr !important;
  }

  html body #curs-nivell-1 .asf-panels {
    grid-template-columns: 1fr !important;
    padding: 0 0.9rem 2.4rem !important;
  }
}
