/* EV Tech Spot · the footer (23.11.2026, Basel task 8; markup: snippets/evts-footer-cols.liquid + sections/footer.liquid).
   A thin red line on top; computers: four even columns (the brand with its networks in a glass panel, Shop by Tesla, Shop
   by Category with the brands under it, Help); phones: the brand centred on top and each column a closed accordion; the
   legal pages in one small row by the ©. Heading icons: Lucide (lucide-static 1.78.0), ISC License, Copyright (c) 2026
   Lucide Icons and Contributors. */
.footer { position: relative; }
.footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 33, 39, .85) 18%, rgba(232, 33, 39, .85) 82%, transparent);
  box-shadow: 0 0 14px rgba(232, 33, 39, .35);
  pointer-events: none;
}
.footer .footer__content-top { padding-top: 8px; }

.evts-fgrid {
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) repeat(3, minmax(0, 1fr));
  gap: 40px 48px;
  align-items: start;
  margin-bottom: 36px;
}

/* the brand */
.evts-fbrand .footer-block__image-wrapper { margin: 0 0 14px; }
.evts-fbrand__text, .evts-fbrand__text p { margin: 0 0 18px; color: #a6aab3; font-size: 1.5rem; line-height: 1.6; }
.evts-fbrand .list-social.evts-fsoc {
  --soc: 232, 33, 39;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  justify-items: center;
  align-items: center;
  max-width: 340px;
  margin: 0;
  padding: 6px 4px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(48, 52, 61, .55), rgba(12, 13, 17, .82));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 1px 0 rgba(255, 255, 255, .22), 0 16px 36px rgba(0, 0, 0, .4);
}
.evts-fbrand .evts-fsoc .list-social__item { position: relative; margin: 0; }
.evts-fbrand .evts-fsoc .list-social__link { position: relative; padding: .9rem; color: #e6e8ec; border-radius: 50%; }
.evts-fbrand .evts-fsoc .list-social__link .icon { position: relative; z-index: 1; width: 2rem; height: 2rem; transition: color .25s ease, transform .25s ease; }
.evts-fbrand .evts-fsoc .list-social__link::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--soc), .5), rgba(var(--soc), .16) 55%, rgba(var(--soc), 0));
  opacity: 0;
  transition: opacity .25s ease;
}
.evts-fbrand .evts-fsoc .list-social__link:is(:hover, :focus-visible, :active) .icon { color: rgb(var(--soc)); transform: scale(1.1); }
.evts-fbrand .evts-fsoc .list-social__link:is(:hover, :focus-visible, :active)::before { opacity: 1; }
.evts-fsoc .list-social__link[href*="facebook."] { --soc: 24, 119, 242; }
.evts-fsoc .list-social__link[href*="instagram."] { --soc: 225, 48, 108; }
.evts-fsoc .list-social__link[href*="threads."] { --soc: 255, 255, 255; }
.evts-fsoc .list-social__link[href*="youtube."] { --soc: 255, 40, 40; }
.evts-fsoc .list-social__link[href*="tiktok."] { --soc: 37, 244, 238; }
.evts-fsoc .list-social__link[href*="x.com"], .evts-fsoc .list-social__link[href*="twitter."] { --soc: 255, 255, 255; }
.evts-fsoc .list-social__link[href*="pinterest."] { --soc: 230, 0, 35; }

/* a column */
.evts-fcol { margin: 0; }
.evts-fcol__sum { display: flex; align-items: center; gap: 10px; list-style: none; cursor: default; }
.evts-fcol__sum::-webkit-details-marker { display: none; }
.evts-fcol__sum::marker { content: ''; }
.evts-fcol .evts-fcol__h { margin: 0; font-size: 1.7rem; font-weight: 600; letter-spacing: .01em; color: #fff; }
.evts-fcol__ic { width: 18px; height: 18px; flex: none; background: #e82127; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.evts-fcol--tesla .evts-fcol__ic { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E%3Cpath d='m21 8-2 2-1.5-3.7A2 2 0 0 0 15.646 5H8.4a2 2 0 0 0-1.903 1.257L5 10 3 8' /%3E%3Cpath d='M7 14h.01' /%3E%3Cpath d='M17 14h.01' /%3E%3Crect width='18' height='8' x='3' y='10' rx='2' /%3E%3Cpath d='M5 18v2' /%3E%3Cpath d='M19 18v2' /%3E%3C/svg%3E"); }
.evts-fcol--cat .evts-fcol__ic { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E%3Crect width='7' height='7' x='3' y='3' rx='1' /%3E%3Crect width='7' height='7' x='14' y='3' rx='1' /%3E%3Crect width='7' height='7' x='14' y='14' rx='1' /%3E%3Crect width='7' height='7' x='3' y='14' rx='1' /%3E%3C/svg%3E"); }
.evts-fcol--help .evts-fcol__ic { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E%3Ccircle cx='12' cy='12' r='10' /%3E%3Cpath d='M9 9.5a3 2.5 0 016 0c0 2-2 2-3 3.5' /%3E%3Cpath d='M12 17h.01' /%3E%3C/svg%3E"); }
.evts-fcol__chev { display: none; }
.evts-fcol__list { display: grid; gap: 4px; margin: 16px 0 0; padding: 0; }
.evts-fcol__list .list-menu__item { padding-block: 5px; font-size: 1.45rem; line-height: 1.4; }
.evts-fcol__all { margin-top: 4px; }
.evts-fsub { margin: 20px 0 0; font-size: 1.15rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #a6aab3; }
.evts-fcol__list--brands { margin-top: 8px; }

/* the bottom: © and the legal row */
.footer .footer__content-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.evts-flegal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin: 8px 0 4px; padding: 0; }
.evts-flegal li { margin: 0; }
.evts-flegal a { font-size: 1.2rem; color: #a6aab3; text-decoration: none; text-underline-offset: 3px; }
.evts-flegal a::before { display: none !important; }
.evts-flegal a:hover, .evts-flegal a:focus-visible { color: #fff; text-decoration: underline; }

@media screen and (min-width: 750px) and (max-width: 989px) {
  .evts-fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 749px) {
  .evts-fgrid { grid-template-columns: 1fr; gap: 0; margin-bottom: 20px; }
  .evts-fbrand { display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: 22px; margin-bottom: 6px; }
  .evts-fbrand .footer-block__image-wrapper { margin: 0 auto 12px; }
  .evts-fbrand .list-social.evts-fsoc { width: 100%; max-width: 360px; }
  .evts-fcol { border-top: 1px solid rgba(255, 255, 255, .08); }
  .evts-fcol:last-child { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .evts-fcol__sum { padding: 16px 2px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .evts-fcol__chev { display: block; margin-inline-start: auto; width: 9px; height: 9px; border-right: 2px solid #a6aab3; border-bottom: 2px solid #a6aab3; transform: rotate(45deg) translateY(-2px); transition: transform .25s ease; }
  .evts-fcol[open] .evts-fcol__chev { transform: rotate(-135deg) translate(-2px, -1px); }
  .evts-fcol__list { margin: 0 0 14px; padding-inline-start: 28px; }
  .evts-fsub { margin: 10px 0 0; padding-inline-start: 28px; }
  .evts-fcol__list--brands { margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .evts-fcol__chev, .evts-fsoc .list-social__link .icon, .evts-fsoc .list-social__link::before { transition: none; }
}
