/*
Theme Name: Honda 2026
Author: Alem
Version: 1.0
*/
/* Pravilnik page styles */
@font-face {
      font-family: "HondaFont";
      src: url("fonts/hondafont.ttf") format("truetype");
      font-display: block;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      background: #000;
      color: #fff;
      font-family: "Inter", sans-serif;
      overflow-x: hidden;
    }

    h1,
    h2,
    header p,
    footer h3,
    .honda-font {
      font-family: "HondaFont", Impact, sans-serif;
      letter-spacing: 0;
      line-height: 1.28;
    }

    h1,
    h2 {
      line-height: 1.32 !important;
    }

    .rule-card {
      background:
        linear-gradient(145deg, rgba(220, 38, 38, 0.11), transparent 32%),
        #050505;
      border: 1px solid rgba(255, 255, 255, 0.09);
      border-radius: 1.5rem;
      box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    }

    .rule-card:hover {
      border-color: rgba(239, 68, 68, 0.42);
      transform: translateY(-2px);
      transition: 260ms ease;
    }

    .article-number {
      color: #ef4444;
      text-shadow: 0 0 24px rgba(239, 68, 68, 0.38);
    }

.soft-red {
      background:
        radial-gradient(circle at 18% 0%, rgba(239, 68, 68, 0.26), transparent 30%),
        radial-gradient(circle at 82% 18%, rgba(239, 68, 68, 0.12), transparent 26%),
        #070707;
    }

    .pravilnik-hero-image {
      background-image: url("https://honda.ba/wp-content/uploads/2026/06/hero.jpg?v=999");
      filter: saturate(0.9) contrast(1.08);
      transform: scale(1.03);
    }

    .pravilnik-copy {
      background:
        linear-gradient(145deg, rgba(220, 38, 38, 0.1), transparent 22%),
        #050505;
      border: 1px solid rgba(255, 255, 255, 0.09);
      border-radius: 1.5rem;
      box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
    }

    .pravilnik-copy p,
    .pravilnik-copy li {
      color: #d4d4d8;
      font-size: 0.95rem;
      line-height: 1.82;
      margin-top: 1rem;
    }

    .pravilnik-copy strong {
      color: #fff;
      font-weight: 900;
    }

    .pravilnik-copy em {
      color: #fff;
    }

    .pravilnik-copy a {
      color: #f87171;
      font-weight: 800;
      word-break: break-word;
    }

    .pravilnik-copy ol {
      color: #d4d4d8;
      list-style: decimal;
      margin: 1rem 0 1rem 1.4rem;
      padding-left: 1rem;
    }

    .pravilnik-copy table {
      width: 100% !important;
      border-collapse: collapse;
      margin: 1.5rem 0;
      color: #fff;
      overflow: hidden;
      border-radius: 1rem;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .pravilnik-copy td {
      border: 1px solid rgba(255, 255, 255, 0.1);
      padding: 1rem;
      background: rgba(0, 0, 0, 0.45);
    }

    .pravilnik-copy figure {
      width: 100% !important;
      max-width: 100%;
      margin: 1.5rem 0;
      padding: 1rem;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 1rem;
      background: rgba(0, 0, 0, 0.45);
      overflow: hidden;
    }

    .pravilnik-copy img {
      max-width: 100%;
      height: auto;
      opacity: 0.9;
    }

    .pravilnik-copy figcaption {
      color: #a1a1aa;
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.2em;
      margin-top: 0.75rem;
    }

    .pravilnik-copy .rule-center,
    .pravilnik-copy p[style*="center"] {
      text-align: center !important;
      margin: 2.5rem 0 1rem;
      color: #fff;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      font-weight: 900;
    }

    .pravilnik-copy > p:first-child {
      margin-top: 0;
      color: #fff;
      font-size: clamp(1.2rem, 2.4vw, 2.1rem);
      line-height: 1.32;
    }

/* Home page styles */
@font-face {
      font-family: 'HondaFont';
      src: url('fonts/hondafont.ttf') format('truetype');
      font-weight: 400;
      font-style: normal;
      font-display: block;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Inter', sans-serif;
      background: black;
      overflow-x: hidden;
    }

    h1,h2,
    header p,
    footer h3 {
      font-family: 'HondaFont', 'Inter', sans-serif;
    }

    h1,h2,
    footer h3 {
      font-weight: 400 !important;
    }

    h1,h2 {
      line-height: 1.38 !important;
    }

    footer h3 {
      line-height: 1.22 !important;
    }

    .hero-slide {
    opacity: 0;
    animation: heroFade 20s ease-in-out infinite;
    transform: scale(1.03);
  }

  .hero-slide:nth-child(2) {
    animation-delay: 10s;
  }

  @keyframes heroFade {
    0% {
      opacity: 0;
      transform: scale(1.03);
    }

    10% {
      opacity: 0.7;
    }

    45% {
      opacity: 0.7;
    }

    55% {
      opacity: 0;
      transform: scale(1.08);
    }

    100% {
      opacity: 0;
      transform: scale(1.08);
    }
  }

    .card-hover:hover {
      transform: translateY(-10px);
      transition: 0.3s ease;
    }

    .glow:hover {
      box-shadow: 0 0 40px rgba(220,38,38,0.4);
    }

    @keyframes cinematicOpen {
      0% {
        clip-path: inset(0 0 0 0);
      }

      100% {
        clip-path: inset(0 0 100% 0);
      }
    }

    .loading-screen {
      position: fixed;
      inset: 0;
      background: black;
      z-index: 9999;
      display: flex;
      align-items: center;
      justify-content: center;
      animation: cinematicOpen 1.8s ease forwards;
      animation-delay: 2.2s;
    }

    .honda-glow {
      filter: drop-shadow(0 0 40px rgba(220,38,38,0.15));
    }

    .partners-marquee {
      -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
      mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    }

    .partners-track {
      width: max-content;
      display: flex;
      animation: partnersMove 38s linear infinite;
      will-change: transform;
    }

    .partners-track:hover {
      animation-play-state: paused;
    }

    .partners-group {
      display: flex;
      gap: 1.5rem;
      padding-right: 1.5rem;
    }

    .partner-card {
      background: rgba(9, 9, 11, 0.48);
      box-shadow: inset 0 0 34px rgba(255, 255, 255, 0.025);
      opacity: 0.62;
    }

    .partner-card:hover {
      opacity: 1;
      box-shadow: 0 0 36px rgba(220, 38, 38, 0.18), inset 0 0 34px rgba(255, 255, 255, 0.04);
    }

    @keyframes partnersMove {
      0% {
        transform: translateX(-50%);
      }

      100% {
        transform: translateX(0);
      }
    }



.hero-slide-one {
  background-image: url("https://honda.ba/wp-content/uploads/2026/06/hero.jpg?v=999");
}

.hero-slide-two {
  background-image: url("../proba_web.gif");
}


.rule-highlight {
  color: #ff3b3b;
}

/* Honda font tuning */
main h1:not(.honda-heading),
main h2:not(.honda-heading) {
  font-family: 'Inter', sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

header h1,
header p,
footer h3,
.honda-heading {
  font-family: 'HondaFont', 'Inter', sans-serif !important;
  font-weight: 400 !important;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

header h1,
footer h3 {
  display: inline-block;
  transform: scaleX(0.94);
  transform-origin: left center;
}

.honda-heading {
  display: inline-block;
  transform: scaleX(0.96);
  transform-origin: left center;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  line-height: 1;
  text-decoration: none;
}

.site-logo-mark {
  width: clamp(34px, 3.4vw, 46px);
  height: auto;
  flex: 0 0 auto;
  display: block;
  mix-blend-mode: screen;
  filter:
    brightness(1.16)
    contrast(1.08)
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.18));
}

.site-logo-text {
  display: block;
  min-width: 0;
}

.site-logo-title {
  display: block;
  color: #dc2626;
  font-family: 'HondaFont', 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.13em;
  line-height: 0.95;
  text-transform: uppercase;
  transform: scaleX(0.84);
  transform-origin: left center;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.site-logo-subtitle {
  display: block;
  margin-top: 0.28rem;
  color: #a1a1aa;
  font-family: 'Inter', sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
}

.mobile-menu-toggle,
.mobile-nav-panel {
  display: none;
}

.mobile-menu-toggle {
  position: relative;
  z-index: 120;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 0.85rem;
  background:
    linear-gradient(145deg, rgba(220, 38, 38, 0.18), transparent),
    rgba(255, 255, 255, 0.045);
  color: #fff;
  padding: 0.72rem;
}

.mobile-menu-toggle:focus {
  outline: none;
}

.mobile-menu-toggle:focus-visible {
  outline: 1px solid rgba(239, 68, 68, 0.55);
  outline-offset: 3px;
}

.mobile-menu-toggle span {
  display: block;
  height: 2px;
  margin: 0.28rem 0;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-open .mobile-menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.mobile-open .mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: inherit;
}

.nav-dropdown-trigger::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  opacity: 0.7;
  transform: translateY(-0.12rem) rotate(45deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: 50%;
  z-index: 80;
  min-width: 13.5rem;
  padding: 0.42rem;
  border: 0;
  border-radius: 0.75rem;
  background:
    radial-gradient(circle at 18% 0%, rgba(239, 68, 68, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(220, 38, 38, 0.08), transparent 48%),
    rgba(6, 2, 2, 0.76);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.35),
    0 0 26px rgba(220, 38, 38, 0.055);
  backdrop-filter: blur(14px) saturate(0.9);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 7px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  visibility: hidden;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1.2rem;
  height: 1.2rem;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.nav-dropdown-menu a {
  display: block;
  border-radius: 0.58rem;
  padding: 0.7rem 0.82rem;
  color: #92929a;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.is-active {
  background:
    linear-gradient(90deg, rgba(220, 38, 38, 0.13), rgba(255, 255, 255, 0.025));
  color: #f4f4f5;
  transform: translateX(1px);
}

.nav-dropdown-menu a.is-active {
  color: #ef4444;
}

footer a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

footer a:hover {
  color: #ef4444;
}

/* LOADING V3 - active shorter Honda intro */
.loading-v3 {
  background: #000;
  display: grid;
  place-items: center;
  overflow: hidden;
  animation-delay: 3.05s;
}

.loading-v3::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 51%, rgba(239, 68, 68, 0.13), transparent 27%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.055), transparent 18%),
    #000;
  opacity: 0.92;
  pointer-events: none;
}

.loading-v3::after {
  content: "";
  position: absolute;
  inset: 0;
  height: auto;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.024) 0 1px,
    transparent 1px 7px
  );
  opacity: 0.12;
  transform: none;
  animation: none;
  pointer-events: none;
}

.loading-v3-lockup {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}

.loading-v3-lockup::before {
  content: "";
  position: absolute;
  width: min(440px, 64vw);
  height: min(210px, 34vw);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), rgba(239, 68, 68, 0.09) 35%, transparent 68%);
  opacity: 0;
  filter: blur(8px);
  transform: scale(0.8);
  animation: loadingV3Glow 1.1s ease 0.32s forwards;
}

.loading-v3-dash {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: min(42vw, 520px);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.95), transparent);
  box-shadow:
    0 0 14px rgba(239, 68, 68, 0.7),
    0 0 32px rgba(239, 68, 68, 0.22);
  opacity: 0;
  transform: scaleX(0);
}

.loading-v3-dash-left {
  right: calc(50% + 42px);
  transform-origin: right center;
  animation: loadingV3DashIn 0.36s ease 0.12s forwards, loadingV3DashLeftOut 0.6s ease 0.76s forwards;
}

.loading-v3-dash-right {
  left: calc(50% + 42px);
  transform-origin: left center;
  animation: loadingV3DashIn 0.36s ease 0.12s forwards, loadingV3DashRightOut 0.6s ease 0.76s forwards;
}

.loading-v3-logo,
.loading-v3-word,
.loading-v3-subtitle {
  position: relative;
  z-index: 3;
}

.loading-v3-logo {
  width: clamp(54px, 6.4vw, 84px);
  height: auto;
  grid-area: 1 / 1 / span 2 / 2;
  margin-right: clamp(0.9rem, 2vw, 1.35rem);
  opacity: 0;
  object-fit: contain;
  mix-blend-mode: screen;
  filter:
    brightness(1.18)
    contrast(1.12)
    drop-shadow(0 0 14px rgba(255, 255, 255, 0.44));
  transform: translateX(clamp(106px, 15vw, 198px)) scale(0.88);
  animation:
    loadingV3LogoIn 0.44s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards,
    loadingV3LogoLeft 0.64s cubic-bezier(0.22, 1, 0.36, 1) 0.92s forwards;
}

.loading-v3-word {
  grid-area: 1 / 2 / 2 / 3;
  align-self: end;
  color: #e2372f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 6vw, 5.2rem);
  font-weight: 900;
  letter-spacing: 0.055em;
  line-height: 0.9;
  text-transform: uppercase;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  text-shadow:
    0 0 14px rgba(239, 68, 68, 0.34),
    0 0 34px rgba(239, 68, 68, 0.16);
  animation: loadingV3WordReveal 0.58s cubic-bezier(0.22, 1, 0.36, 1) 1.04s forwards;
}

.loading-v3-word::after {
  content: "HONDA";
  position: absolute;
  inset: 0;
  color: #fff;
  opacity: 0;
  text-shadow:
    0 0 16px rgba(255, 255, 255, 0.58),
    0 0 34px rgba(255, 255, 255, 0.18);
  clip-path: polygon(-18% 0, -5% 0, 5% 100%, -18% 100%);
  animation: loadingV3TextShine 1.02s cubic-bezier(0.22, 1, 0.36, 1) 1.48s forwards;
}

.loading-v3-subtitle {
  grid-area: 2 / 2 / 3 / 3;
  color: rgba(244, 244, 245, 0.62);
  font-family: "Inter", sans-serif;
  font-size: clamp(0.58rem, 1vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1;
  margin-top: 0.68rem;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  animation: loadingV3Subtitle 0.42s ease 1.92s forwards;
}

.loading-v3-slash {
  position: absolute;
  z-index: 5;
  top: -28vh;
  left: 50%;
  width: clamp(42px, 4.6vw, 76px);
  height: 158vh;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 16% 84%, rgba(255, 255, 255, 0.12)),
    linear-gradient(180deg, transparent 0%, #ffb02e 12%, #ef3b2f 44%, #8f0f0f 78%, transparent 100%);
  opacity: 0;
  filter: drop-shadow(0 0 20px rgba(239, 68, 68, 0.42));
  mix-blend-mode: screen;
  transform: translateX(-72vw) rotate(16deg);
  transform-origin: center;
  animation: loadingV3SlashSweep 1.08s cubic-bezier(0.5, 0.02, 0.22, 1) forwards;
}

.loading-v3-slash-one {
  margin-left: 4.5vw;
  animation-delay: 1.34s;
}

.loading-v3-slash-two {
  width: clamp(14px, 1.7vw, 28px);
  margin-left: 10vw;
  animation-delay: 1.44s;
}

@keyframes loadingV3Glow {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  45% {
    opacity: 1;
  }

  100% {
    opacity: 0.58;
    transform: scale(1);
  }
}

@keyframes loadingV3DashIn {
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes loadingV3DashLeftOut {
  to {
    opacity: 0;
    transform: translateX(-38vw) scaleX(0.28);
  }
}

@keyframes loadingV3DashRightOut {
  to {
    opacity: 0;
    transform: translateX(38vw) scaleX(0.28);
  }
}

@keyframes loadingV3LogoIn {
  to {
    opacity: 1;
    transform: translateX(clamp(106px, 15vw, 198px)) scale(1);
  }
}

@keyframes loadingV3LogoLeft {
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes loadingV3WordReveal {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translateX(-8px);
  }

  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateX(0);
  }
}

@keyframes loadingV3TextShine {
  0% {
    opacity: 0;
    clip-path: polygon(-18% 0, -5% 0, 5% 100%, -18% 100%);
  }

  18%, 68% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    clip-path: polygon(94% 0, 116% 0, 104% 100%, 84% 100%);
  }
}

@keyframes loadingV3SlashSweep {
  0% {
    opacity: 0;
    transform: translateX(-72vw) rotate(16deg);
  }

  16%, 76% {
    opacity: 0.82;
  }

  100% {
    opacity: 0;
    transform: translateX(72vw) rotate(16deg);
  }
}

@keyframes loadingV3Subtitle {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .loading-v3-logo {
    width: clamp(46px, 13vw, 62px);
    margin-right: 0.78rem;
    transform: translateX(72px) scale(0.88);
  }

  .loading-v3-word {
    font-size: clamp(2rem, 12vw, 3.4rem);
  }

  .loading-v3-subtitle {
    font-size: 0.55rem;
    letter-spacing: 0.14em;
  }

  @keyframes loadingV3LogoIn {
    to {
      opacity: 1;
      transform: translateX(72px) scale(1);
    }
  }
}

/* Pravilnik title tuning */
main h1.pravilnik-hero-title,
main h2.pravilnik-section-title {
  display: inline-block;
  font-family: "HondaFont", "Inter", sans-serif !important;
  font-weight: 400 !important;
  font-synthesis: none;
  letter-spacing: 0 !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

main h1.pravilnik-hero-title {
  font-size: clamp(1.6rem, 3.4vw, 2.45rem) !important;
  line-height: 1.22 !important;
  transform: scaleX(0.9);
  transform-origin: center;
}

main h2.pravilnik-section-title {
  max-width: 14rem;
  font-size: clamp(1.15rem, 2.1vw, 1.75rem) !important;
  line-height: 1.28 !important;
  transform: scaleX(0.88);
  transform-origin: left center;
}

@media (max-width: 1023px) {
  main h2.pravilnik-section-title {
    max-width: none;
  }
}

/* In Memoriam page */
main h1.in-memoriam-title {
  display: inline-block;
  font-family: "HondaFont", "Inter", sans-serif !important;
  font-weight: 400 !important;
  font-synthesis: none;
  letter-spacing: 0 !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

main h1.in-memoriam-title {
  font-size: clamp(1.65rem, 3.5vw, 2.55rem) !important;
  line-height: 1.22 !important;
  transform: scaleX(0.9);
  transform-origin: center;
}

.memorial-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1.5rem;
  background:
    linear-gradient(145deg, rgba(220, 38, 38, 0.1), transparent 34%),
    #050505;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.memorial-photo-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #080808;
}

.memorial-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 58%, rgba(0, 0, 0, 0.78)),
    radial-gradient(circle at 50% 28%, transparent 38%, rgba(0, 0, 0, 0.22));
  pointer-events: none;
}

.memorial-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.88;
  filter: grayscale(0.18) contrast(1.04);
}

main h2.memorial-name {
  display: inline-block;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 900 !important;
  letter-spacing: 0.015em !important;
  font-size: clamp(1.4rem, 2.8vw, 2.25rem) !important;
  line-height: 1.18 !important;
  transform: scaleX(0.96);
  transform-origin: left center;
  text-transform: uppercase;
}

/* Media pages */
.media-news-hero-image {
  background-image: url("../slika1.HEIC");
  filter: saturate(0.8) contrast(1.08);
  transform: scale(1.04);
}

.media-tech-hero-image {
  background-image: url("../slika2.HEIC");
  filter: saturate(0.78) contrast(1.08);
  transform: scale(1.04);
}

.events-hero-image {
  background-image: url("https://honda.ba/wp-content/uploads/2026/06/hero.jpg?v=999");
  filter: saturate(0.82) contrast(1.08);
  transform: scale(1.04);
}

main h1.media-page-title,
main h2.media-section-title {
  display: inline-block;
  font-family: "HondaFont", "Inter", sans-serif !important;
  font-weight: 400 !important;
  font-synthesis: none;
  letter-spacing: 0 !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

main h1.media-page-title {
  line-height: 1.18 !important;
  transform: scaleX(0.9);
  transform-origin: left center;
}

main h1.media-page-title-center {
  transform: scaleX(0.9) translateX(0);
  transform-origin: center;
  text-align: center;
}

main h2.media-section-title {
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.55rem) !important;
  line-height: 1.25 !important;
  transform: scaleX(0.9);
  transform-origin: left center;
}

main h2.tech-section-title {
  max-width: 28rem;
  font-size: clamp(1.35rem, 2.45vw, 2.05rem) !important;
}

main h2.tech-section-title span,
.tech-list-item h3 span {
  font-family: "Inter", sans-serif;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.news-feature,
.media-card,
.news-article,
.tech-card,
.social-card,
.social-panel {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1.5rem;
  background:
    linear-gradient(145deg, rgba(220, 38, 38, 0.1), transparent 34%),
    #050505;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.news-feature {
  overflow: hidden;
}

.news-image-slot {
  min-height: 22rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 38%),
    radial-gradient(circle at 50% 50%, rgba(239, 68, 68, 0.1), transparent 38%),
    #090909;
}

.news-image-slot span {
  color: #52525b;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.news-strip {
  min-height: 22rem;
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: clamp(2rem, 5vw, 4rem);
  background:
    repeating-linear-gradient(135deg, rgba(239, 68, 68, 0.16) 0 18px, transparent 18px 38px),
    radial-gradient(circle at 70% 30%, rgba(239, 68, 68, 0.18), transparent 38%),
    #090909;
}

.news-strip span {
  width: fit-content;
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 999px;
  padding: 0.78rem 1rem;
  color: #e4e4e7;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.45);
}

.media-card,
.tech-card,
.social-card {
  padding: clamp(1.7rem, 3vw, 2.35rem);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.media-card:hover,
.tech-card:hover,
.social-card:hover {
  border-color: rgba(239, 68, 68, 0.42);
  transform: translateY(-4px);
}

.media-card h3,
.tech-card h3,
.social-card h2 {
  color: #fff;
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.media-card p,
.tech-card p,
.social-card p {
  color: #a1a1aa;
  line-height: 1.8;
}

.tech-list {
  display: grid;
  gap: 1.1rem;
}

.tech-list-item {
  display: grid;
  grid-template-columns: clamp(126px, 18vw, 220px) 1fr;
  gap: clamp(1.25rem, 3vw, 2.3rem);
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1.35rem;
  background:
    linear-gradient(145deg, rgba(220, 38, 38, 0.075), transparent 34%),
    #050505;
  padding: clamp(1.15rem, 2.4vw, 1.9rem);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.tech-list-item:hover {
  border-color: rgba(239, 68, 68, 0.34);
  transform: translateX(4px);
}

.tech-list-image-slot {
  min-height: clamp(92px, 12vw, 138px);
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 1rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 42%),
    radial-gradient(circle at 50% 50%, rgba(239, 68, 68, 0.11), transparent 42%),
    #090909;
  position: relative;
  overflow: hidden;
}

.tech-list-image-slot::after {
  content: "Image";
  position: absolute;
  left: 50%;
  top: 50%;
  color: #52525b;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
}

.tech-list-item h3 {
  color: #fff;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.tech-list-item p {
  color: #a1a1aa;
  line-height: 1.75;
}

@media (max-width: 700px) {
  .tech-list-item {
    grid-template-columns: 1fr;
  }
}

.tech-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  margin-bottom: 1.4rem;
  border-radius: 999px;
  color: #ef4444;
  font-weight: 900;
  background: rgba(239, 68, 68, 0.1);
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.14);
}

.social-card {
  display: block;
  text-decoration: none;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 1.7rem;
  border-radius: 1rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: #dc2626;
  box-shadow: 0 0 30px rgba(220, 38, 38, 0.25);
}

.social-panel {
  padding: clamp(1.8rem, 4vw, 3.5rem);
}

.home-event-card,
.home-news-card,
.home-build-card,
.news-feature,
.media-card {
  color: inherit;
  text-decoration: none;
}

.home-event-card,
.home-news-card,
.home-build-card {
  display: block;
  transition: border-color 220ms ease, transform 220ms ease, background 220ms ease;
}

.home-event-card:hover,
.home-news-card:hover,
.home-build-card:hover {
  border-color: rgba(239, 68, 68, 0.36);
  transform: translateY(-4px);
}

.home-event-card .detail-link,
.home-news-card .detail-link,
.home-build-card .detail-link {
  width: fit-content;
}

.news-article {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.6rem;
  padding: clamp(1.4rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.08), transparent 34%),
    rgba(5, 7, 8, 0.95);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

.news-article-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  color: #ef4444;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.news-article p {
  color: #c9c9cf;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.9;
}

.news-article p + p {
  margin-top: 1.1rem;
}

.news-article .news-image-slot {
  min-height: clamp(16rem, 38vw, 26rem);
  margin-bottom: clamp(1.4rem, 4vw, 2.5rem);
}

.news-article .detail-link {
  width: fit-content;
  margin-top: 2rem;
}

.race-calendar {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 2rem;
  background:
    linear-gradient(145deg, rgba(220, 38, 38, 0.08), transparent 34%),
    #050505;
  padding: clamp(1.1rem, 3vw, 2rem);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
}

.race-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.race-calendar-head p,
.calendar-weekdays span {
  color: #ef4444;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.race-calendar-head h3 {
  margin-top: 0.35rem;
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2.35rem);
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.65rem;
}

.calendar-weekdays {
  margin-bottom: 0.65rem;
}

.calendar-weekdays span {
  color: #71717a;
  text-align: center;
}

.calendar-day {
  display: block;
  position: relative;
  width: 100%;
  min-height: clamp(4.2rem, 9vw, 7.5rem);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 1rem;
  padding: 0.8rem;
  color: #d4d4d8;
  font: inherit;
  font-weight: 900;
  text-align: left;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.026), transparent 42%),
    rgba(0, 0, 0, 0.24);
}

button.calendar-day {
  cursor: pointer;
}

.calendar-day.muted {
  color: #3f3f46;
}

.calendar-day.has-event {
  border-color: rgba(239, 68, 68, 0.34);
  color: #fff;
  background:
    linear-gradient(145deg, rgba(220, 38, 38, 0.15), transparent 38%),
    rgba(0, 0, 0, 0.3);
}

.calendar-day.has-event em {
  display: block;
  margin-top: 0.75rem;
  color: #ef4444;
  font-size: 0.62rem;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.calendar-popup {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.6rem);
  z-index: 30;
  width: min(17rem, 78vw);
  border: 1px solid rgba(239, 68, 68, 0.28);
  border-radius: 1rem;
  padding: 1rem;
  color: #d4d4d8;
  background:
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.09), transparent 38%),
    #050708;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px) scale(0.97);
  transition: opacity 180ms ease, transform 180ms ease;
}

.calendar-popup strong,
.calendar-popup small {
  display: block;
}

.calendar-popup strong {
  color: #fff;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.calendar-popup small {
  margin-top: 0.5rem;
  color: #a1a1aa;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.6;
}

.calendar-day.has-event.is-open .calendar-popup,
.calendar-day.has-event:focus .calendar-popup,
.calendar-day.has-event:focus-visible .calendar-popup {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.community-compact {
  min-height: auto;
}

.community-compact .grid.md\:grid-cols-3 {
  margin-top: 2.5rem;
}

.community-compact p {
  line-height: 1.75;
}

@media (max-width: 700px) {
  .calendar-weekdays,
  .calendar-grid {
    gap: 0.38rem;
  }

  .calendar-weekdays span {
    font-size: 0.54rem;
    letter-spacing: 0.08em;
  }

  .calendar-day {
    min-height: 3.6rem;
    border-radius: 0.7rem;
    padding: 0.5rem;
    font-size: 0.78rem;
  }

  .calendar-day.has-event em {
    margin-top: 0.4rem;
    font-size: 0.48rem;
    letter-spacing: 0.05em;
  }

  .calendar-popup {
    left: auto;
    right: -0.4rem;
    width: min(15rem, 84vw);
    transform: translateY(10px) scale(0.97);
  }

  .calendar-day.has-event.is-open .calendar-popup,
  .calendar-day.has-event:focus .calendar-popup,
  .calendar-day.has-event:focus-visible .calendar-popup {
    transform: translateY(0) scale(1);
  }

}

/* Cars and event archive pages */
.garage-list {
  display: grid;
  gap: 1.05rem;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
}

.event-list {
  display: grid;
  gap: 1rem;
}

.garage-car-card,
.event-wide-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(1.15rem, 2.5vw, 2.25rem);
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 1.2rem;
  background:
    linear-gradient(115deg, rgba(220, 38, 38, 0.105), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.026), transparent 45%),
    #050505;
  padding: clamp(1rem, 2.1vw, 1.65rem);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.garage-car-card:focus,
.event-wide-card:focus,
.result-row[href]:focus {
  outline: none;
}

.garage-car-card:focus-visible,
.event-wide-card:focus-visible,
.result-row[href]:focus-visible {
  outline: 1px solid rgba(239, 68, 68, 0.48);
  outline-offset: 3px;
}

.garage-car-card {
  position: relative;
  scroll-margin-top: 7.8rem;
  min-height: clamp(185px, 21vw, 270px);
  overflow: hidden;
}

.garage-car-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2rem;
  bottom: 1.2rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(to bottom, transparent, rgba(239, 68, 68, 0.72), transparent);
  opacity: 0.62;
}

.garage-car-card:hover,
.event-wide-card:hover,
.result-row[href]:hover {
  border-color: rgba(239, 68, 68, 0.24);
  background:
    linear-gradient(115deg, rgba(220, 38, 38, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), transparent 48%),
    #070707;
  transform: translateY(-1px);
}

.garage-image-slot,
.event-image-slot,
.gallery-slot,
.detail-image-slot {
  min-height: 170px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 1.1rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 42%),
    radial-gradient(circle at 50% 50%, rgba(239, 68, 68, 0.1), transparent 42%),
    #090909;
  position: relative;
  overflow: hidden;
}

.garage-image-slot {
  min-height: clamp(150px, 18vw, 230px);
}

.garage-image-slot::after,
.event-image-slot::after,
.gallery-slot::after,
.detail-image-slot::after {
  content: "Image";
  position: absolute;
  left: 50%;
  top: 50%;
  color: #52525b;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
}

.garage-car-card h2,
.event-wide-card h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

main .garage-list .garage-car-card h2 {
  display: inline-block;
  max-width: 100%;
  font-family: "HondaFont", "Inter", sans-serif !important;
  font-size: clamp(1.18rem, 2.1vw, 1.85rem);
  font-weight: 400 !important;
  font-synthesis: none;
  letter-spacing: 0 !important;
  line-height: 1.2;
  transform: scaleX(0.93);
  transform-origin: left center;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.garage-car-card p,
.event-wide-card p {
  color: #a1a1aa;
  line-height: 1.8;
}

.garage-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.garage-specs span {
  border: 1px solid rgba(239, 68, 68, 0.24);
  border-radius: 999px;
  padding: 0.58rem 0.8rem;
  color: #a1a1aa;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-link {
  display: inline-flex;
  margin-top: 1.35rem;
  color: #ef4444;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.event-wide-card {
  grid-template-columns: auto 1fr minmax(220px, 0.42fr);
}

.event-date {
  display: grid;
  place-items: center;
  width: 5.4rem;
  height: 5.4rem;
  border-radius: 1.1rem;
  background: rgba(220, 38, 38, 0.12);
  color: #ef4444;
  box-shadow: 0 0 30px rgba(220, 38, 38, 0.16);
}

.event-date span {
  color: #a1a1aa;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.event-date strong {
  color: #ef4444;
  font-size: 1.15rem;
  font-weight: 900;
}

.results-board {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1.35rem;
  background: #050505;
}

.result-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.2fr 0.6fr;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.065);
  color: #d4d4d8;
  font-weight: 800;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.result-head {
  border-top: 0;
  color: #ef4444;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: rgba(220, 38, 38, 0.07);
}

.results-finish-bg {
  background:
    linear-gradient(90deg, rgba(239, 68, 68, 0.24), transparent 28%, rgba(255, 255, 255, 0.11) 58%, transparent 88%),
    conic-gradient(from 45deg, rgba(255, 255, 255, 0.28) 0 25%, transparent 0 50%, rgba(255, 255, 255, 0.28) 0 75%, transparent 0);
  background-size: auto, 44px 44px;
  filter: blur(0.2px);
  -webkit-mask-image: radial-gradient(circle at 68% 42%, black 0 34%, transparent 72%);
  mask-image: radial-gradient(circle at 68% 42%, black 0 34%, transparent 72%);
  opacity: 0.29;
  transform: skewX(-10deg) scale(1.12);
}

.detail-stack {
  margin-top: 1.4rem;
}

.detail-panel {
  display: block;
  scroll-margin-top: 7rem;
  max-height: 0;
  margin-top: -1.05rem;
  margin-bottom: -1.05rem;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  border: 0;
  border-radius: 1.45rem;
  background:
    linear-gradient(145deg, rgba(220, 38, 38, 0.055), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 42%),
    #050505;
  padding: 0 clamp(1.25rem, 3vw, 2.4rem);
  box-shadow: none;
  transform: translateY(-8px) scaleY(0.985);
  transform-origin: top center;
  transition:
    max-height 1800ms cubic-bezier(0.16, 0.82, 0.18, 1),
    opacity 900ms ease,
    visibility 900ms ease,
    margin 1200ms ease,
    padding 1500ms cubic-bezier(0.16, 0.82, 0.18, 1),
    transform 1500ms cubic-bezier(0.16, 0.82, 0.18, 1);
}

.detail-panel:target,
.detail-panel.is-open {
  max-height: var(--panel-open-height, 980px);
  margin-bottom: 0;
  visibility: visible;
  opacity: 1;
  padding-top: clamp(1.25rem, 3vw, 2.4rem);
  padding-bottom: clamp(1.25rem, 3vw, 2.4rem);
  transform: translateY(0) scaleY(1);
  transition:
    max-height 4800ms cubic-bezier(0.12, 0.86, 0.12, 1),
    opacity 1600ms ease,
    visibility 1600ms ease,
    margin 2600ms ease,
    padding 3600ms cubic-bezier(0.12, 0.86, 0.12, 1),
    transform 3600ms cubic-bezier(0.12, 0.86, 0.12, 1);
}

.garage-car-card:has(+ .detail-panel:target),
.event-wide-card:has(+ .detail-panel:target),
.result-row[href]:has(+ .detail-panel:target),
.garage-car-card.is-open-card,
.event-wide-card.is-open-card,
.result-row[href].is-open-card {
  border-bottom-width: 0;
  border-bottom-color: transparent;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: none;
}

.garage-car-card + .detail-panel:target,
.event-wide-card + .detail-panel:target,
.result-row[href] + .detail-panel:target,
.garage-car-card + .detail-panel.is-open,
.event-wide-card + .detail-panel.is-open,
.result-row[href] + .detail-panel.is-open {
  margin-top: -1.05rem;
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

.result-row[href] + .detail-panel:target,
.result-row[href] + .detail-panel.is-open {
  margin-top: 0;
}

.detail-panel-header {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.detail-panel-header > div {
  display: none;
}

.detail-panel-header p {
  color: #ef4444;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.detail-panel-header h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.1 !important;
  text-transform: uppercase;
}

.detail-panel-header a {
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  color: #71717a;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  background: rgba(255, 255, 255, 0.035);
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.detail-panel-header a:hover {
  color: #fff;
  background: rgba(220, 38, 38, 0.12);
}

.detail-gallery {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.detail-image-slot {
  min-height: 160px;
}

.detail-image-slot.large {
  grid-row: span 2;
  min-height: 340px;
}

.story-detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.34fr);
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: start;
}

.story-detail-copy {
  color: #d4d4d8;
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  line-height: 1.85;
}

.story-detail-copy::before {
  content: "Više informacija";
  display: block;
  margin-bottom: 0.9rem;
  color: #ef4444;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.story-detail-copy p + p {
  margin-top: 1rem;
}

.story-image-stack {
  display: grid;
  gap: 0.8rem;
}

.story-image-stack .detail-image-slot {
  min-height: 150px;
}

.story-image-stack.single .detail-image-slot {
  min-height: 210px;
}

.build-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.build-timeline article,
.result-times {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1.05rem;
  background: rgba(255, 255, 255, 0.025);
  padding: 1.25rem;
}

.build-timeline span {
  color: #ef4444;
  font-size: 0.8rem;
  font-weight: 900;
}

.build-timeline h3 {
  margin: 0.55rem 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.build-timeline p {
  color: #a1a1aa;
  line-height: 1.7;
}

.result-times {
  overflow-x: auto;
  padding: 0;
}

.result-detail-inline {
  margin: 0;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  box-shadow: none;
}

.result-time-row {
  display: grid;
  grid-template-columns: 0.55fr repeat(5, 1fr);
  gap: 1rem;
  min-width: 760px;
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.065);
  color: #d4d4d8;
  font-weight: 800;
}

.result-time-head {
  border-top: 0;
  color: #ef4444;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(220, 38, 38, 0.06);
}

@keyframes detailPanelIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scaleY(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 1rem;
}

.gallery-slot.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-slot.wide {
  grid-column: span 2;
}

.gallery-archive {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 12%, rgba(220, 38, 38, 0.1), transparent 32rem),
    radial-gradient(circle at 100% 20%, rgba(56, 189, 248, 0.065), transparent 34rem),
    linear-gradient(180deg, #030708 0%, #07100e 48%, #030708 100%) !important;
}

.gallery-archive::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 48%, rgba(148, 163, 184, 0.032) 48.2% 48.45%, transparent 48.65% 100%);
  background-size: 7rem 100%;
  opacity: 0.34;
  pointer-events: none;
}

.gallery-archive > .max-w-7xl {
  position: relative;
  z-index: 1;
}

.gallery-albums {
  display: grid;
  gap: clamp(1.3rem, 2.6vw, 2.2rem);
}

.gallery-event-card {
  display: grid;
  grid-template-columns: minmax(250px, 0.34fr) minmax(0, 1fr);
  gap: clamp(1.2rem, 2.7vw, 2.4rem);
  align-items: stretch;
  min-height: clamp(24rem, 38vw, 34rem);
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 1.55rem;
  padding: clamp(1rem, 1.8vw, 1.35rem);
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(220, 38, 38, 0.1), transparent 33%),
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.075), transparent 36%),
    rgba(3, 7, 8, 0.82);
  box-shadow:
    0 26px 76px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.036);
}

.gallery-event-card-reverse {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.34fr);
}

.gallery-event-card-reverse .gallery-event-copy {
  grid-column: 2;
}

.gallery-event-card-reverse .gallery-event-mosaic {
  grid-column: 1;
  grid-row: 1;
}

.gallery-event-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  border-radius: 1.1rem;
  padding: clamp(1.35rem, 2.6vw, 2.4rem);
  background:
    radial-gradient(circle at 0% 0%, rgba(220, 38, 38, 0.15), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 48%),
    rgba(0, 0, 0, 0.28);
}

.gallery-event-copy p {
  margin-bottom: 0.9rem;
  color: #ef4444;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.gallery-event-copy h2 {
  max-width: 14rem;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2.6rem);
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}

.gallery-event-copy span {
  display: block;
  max-width: 22rem;
  margin-top: 1.1rem;
  color: rgba(212, 212, 216, 0.76);
  line-height: 1.75;
}

.gallery-event-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 0.78rem;
  min-height: 100%;
}

.gallery-event-mosaic .gallery-slot {
  min-height: 0;
  border-radius: 1rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 42%),
    radial-gradient(circle at 50% 50%, rgba(239, 68, 68, 0.1), transparent 42%),
    #090909;
}

.gallery-event-mosaic .gallery-main-shot {
  grid-row: span 3;
}

.gallery-event-mosaic .gallery-slot::after {
  content: "Event image";
}

.gallery-event-mosaic .gallery-main-shot::after {
  content: "Main event image";
}

@media (max-width: 1023px) {
  header > div {
    padding-top: 0.85rem !important;
    padding-bottom: 0.85rem !important;
  }

  .site-logo {
    gap: 0.65rem;
    min-width: 0;
  }

  .site-logo-mark {
    width: 2.45rem;
    height: 2.45rem;
  }

  .site-logo-title {
    font-size: 1rem;
    letter-spacing: 0.02em;
  }

  .site-logo-subtitle {
    font-size: 0.5rem;
    letter-spacing: 0.16em;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .mobile-nav-panel {
    position: fixed;
    left: 0.85rem;
    right: 0.85rem;
    top: 4.9rem;
    z-index: 100;
    display: grid;
    max-height: 0;
    overflow: hidden;
    border-radius: 1.1rem;
    background:
      radial-gradient(circle at 0% 0%, rgba(239, 68, 68, 0.19), transparent 36%),
      linear-gradient(145deg, rgba(220, 38, 38, 0.08), transparent 48%),
      rgba(5, 5, 5, 0.88);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(18px);
    opacity: 0;
    padding: 0;
    transform: translateY(-10px);
    transition: max-height 360ms ease, opacity 180ms ease, padding 260ms ease, transform 260ms ease;
  }

  .mobile-open .mobile-nav-panel {
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
    opacity: 1;
    padding: 0.7rem;
    transform: translateY(0);
  }

  .mobile-nav-panel a,
  .mobile-nav-panel .nav-dropdown-trigger {
    display: block;
    width: 100%;
    border-radius: 0.78rem;
    padding: 0.85rem 0.9rem;
    color: #d4d4d8;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
  }

  .mobile-nav-panel a:hover,
  .mobile-nav-panel a.text-red-500,
  .mobile-nav-panel a.is-active {
    background: rgba(220, 38, 38, 0.12);
    color: #fff;
  }

  .mobile-nav-panel .nav-dropdown {
    display: block;
  }

  .mobile-nav-panel .nav-dropdown-trigger::after {
    display: none;
  }

  .mobile-nav-panel .nav-dropdown-menu {
    position: static;
    min-width: 0;
    padding: 0 0 0.45rem 0.8rem;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .mobile-nav-panel .nav-dropdown-menu::before {
    display: none;
  }

  .mobile-nav-panel .nav-dropdown-menu a {
    padding: 0.62rem 0.8rem;
    color: #8f8f99;
    font-size: 0.7rem;
  }

  .media-hero {
    min-height: 52vh !important;
  }

  main h1.media-page-title,
  .pravilnik-hero-title {
    max-width: 100%;
    font-size: clamp(1.55rem, 9vw, 2.45rem) !important;
    line-height: 1.16 !important;
    transform: scaleX(0.76);
    transform-origin: left center;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-bg h1 {
    font-size: clamp(2.15rem, 13vw, 4rem) !important;
    line-height: 1.04 !important;
  }

  .hero-bg p {
    max-width: 92vw;
  }

  .garage-list {
    gap: 0.85rem;
  }

  .garage-car-card,
  .event-wide-card,
  .result-row {
    grid-template-columns: 1fr;
  }

  .garage-car-card,
  .event-wide-card {
    min-height: auto;
    border-radius: 1rem;
    padding: 1rem;
  }

  .garage-car-card::before {
    top: 1rem;
    bottom: 1rem;
  }

  .garage-car-card h2,
  .event-wide-card h2 {
    font-size: clamp(1.35rem, 9vw, 2rem);
  }

  main .garage-list .garage-car-card h2 {
    font-size: clamp(1.05rem, 7vw, 1.45rem);
    line-height: 1.2;
  }

  .garage-image-slot,
  .event-image-slot {
    min-height: 185px;
  }

  .garage-specs span {
    padding: 0.48rem 0.64rem;
    font-size: 0.66rem;
  }

  .detail-panel {
    scroll-margin-top: 5.5rem;
  }

  .garage-car-card + .detail-panel:target,
  .event-wide-card + .detail-panel:target,
  .garage-car-card + .detail-panel.is-open,
  .event-wide-card + .detail-panel.is-open {
    margin-top: -0.85rem;
  }

  .detail-panel-header,
  .detail-gallery,
  .build-timeline,
  .story-detail-body {
    grid-template-columns: 1fr;
  }

  .detail-panel-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.9rem;
  }

  .story-image-stack {
    grid-template-columns: 1fr 1fr;
  }

  .story-image-stack.single {
    grid-template-columns: 1fr;
  }

  .story-image-stack .detail-image-slot,
  .story-image-stack.single .detail-image-slot {
    min-height: 150px;
  }

  .result-row {
    gap: 0.45rem;
    padding: 1rem;
  }

  .result-time-row {
    min-width: 680px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-slot.large,
  .gallery-slot.wide {
    grid-column: auto;
    grid-row: auto;
  }
}

/* Color pass v2: active steel/teal version. */
:root {
  --ak-ink: #020304;
  --ak-ink-deep: #000;
  --ak-surface: #050708;
  --ak-section-top: #050708;
  --ak-section-mid: #030506;
  --ak-surface-lift: #070b0d;
  --ak-steel: rgba(56, 189, 248, 0.105);
  --ak-steel-line: rgba(125, 211, 252, 0.18);
  --ak-steel-soft: rgba(45, 212, 191, 0.065);
  --ak-red-soft: rgba(220, 38, 38, 0.08);
}

body {
  background:
    radial-gradient(circle at 88% 8%, rgba(56, 189, 248, 0.075), transparent 28%),
    radial-gradient(circle at 8% 40%, rgba(45, 212, 191, 0.045), transparent 30%),
    linear-gradient(180deg, #030405 0%, #000 100%),
    var(--ak-ink);
}

.bg-black {
  background-color: var(--ak-ink) !important;
}

.bg-zinc-950 {
  background-color: #050708 !important;
}

.border-zinc-900 {
  border-color: rgba(148, 163, 184, 0.11) !important;
}

.border-zinc-800 {
  border-color: rgba(148, 163, 184, 0.14) !important;
}

.text-zinc-500 {
  color: #8d9aa0 !important;
}

.text-zinc-400 {
  color: #b3c0c6 !important;
}

.text-zinc-300 {
  color: #d6e1e5 !important;
}

header {
  background:
    linear-gradient(105deg, rgba(2, 6, 8, 0.72), rgba(0, 0, 0, 0.68) 52%, rgba(8, 47, 73, 0.18)) !important;
  border-color: rgba(125, 211, 252, 0.11) !important;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.28);
}

.hero-blend-header {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.66) 0%, rgba(2, 6, 8, 0.34) 58%, rgba(2, 6, 8, 0.04) 100%) !important;
  border-color: transparent !important;
  box-shadow: none;
}

.hero-blend-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3.5rem;
  height: 3.5rem;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 6, 8, 0.16) 0%, rgba(2, 6, 8, 0.06) 44%, transparent 100%);
}

.page-hero-blend {
  position: relative;
}

.hero-nav-fade {
  z-index: 4;
  height: clamp(8rem, 22vh, 13rem);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(3, 5, 6, 0.25) 52%, transparent 100%);
}

.page-hero-blend .relative.z-10 {
  text-shadow: 0 0 36px rgba(0, 0, 0, 0.42);
}

main > section.bg-black,
main > section.bg-zinc-950,
body > section.bg-black,
body > section.bg-zinc-950 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(180deg, #020304 0%, var(--ak-section-top) 7rem, rgba(5, 7, 8, 0) 18rem),
    radial-gradient(ellipse at 0% 11rem, rgba(220, 38, 38, 0.18), transparent 34rem),
    radial-gradient(ellipse at 100% 11rem, rgba(56, 189, 248, 0.18), transparent 36rem),
    radial-gradient(circle at 86% 16%, var(--ak-steel), transparent 30%),
    linear-gradient(120deg, var(--ak-red-soft), rgba(5, 7, 8, 0.96) 30%, transparent 64%),
    linear-gradient(180deg, var(--ak-section-top) 0%, var(--ak-ink-deep) 100%) !important;
}

main > section.bg-black::before,
main > section.bg-zinc-950::before,
body > section.bg-black::before,
body > section.bg-zinc-950::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      116deg,
      rgba(125, 211, 252, 0.026) 0 1px,
      transparent 1px 74px
    ),
    linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.035), transparent);
  opacity: 0.62;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.08) 4rem, black 13rem);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.08) 4rem, black 13rem);
}

.hero-bg + section.bg-black,
.hero-bg + section.bg-zinc-950,
main > section:first-child + section.bg-black,
main > section:first-child + section.bg-zinc-950 {
  margin-top: -1px;
  z-index: 3;
  overflow: hidden !important;
  box-shadow: none;
}

.hero-bg + section.bg-black::after,
.hero-bg + section.bg-zinc-950::after,
main > section:first-child + section.bg-black::after,
main > section:first-child + section.bg-zinc-950::after {
  content: none;
}

.hero-bg + section.bg-black > *,
.hero-bg + section.bg-zinc-950 > *,
main > section:first-child + section.bg-black > *,
main > section:first-child + section.bg-zinc-950 > * {
  position: relative;
  z-index: 1;
}

footer.bg-black {
  background:
    radial-gradient(circle at 84% 0%, rgba(56, 189, 248, 0.07), transparent 30%),
    linear-gradient(130deg, rgba(8, 47, 73, 0.13), transparent 36%),
    linear-gradient(180deg, #030506 0%, #000 100%) !important;
}

.soft-red {
  background:
    radial-gradient(circle at 18% 0%, rgba(220, 38, 38, 0.18), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(56, 189, 248, 0.08), transparent 28%),
    radial-gradient(circle at 42% 100%, rgba(45, 212, 191, 0.04), transparent 34%),
    #050607 !important;
}

.media-hero > .bg-gradient-to-b {
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.52) 42%,
      rgba(3, 5, 6, 0.34) 68%,
      rgba(5, 7, 8, 0.08) 100%
    ) !important;
}

.socials-hero {
  background:
    radial-gradient(ellipse at 18% 38%, rgba(220, 38, 38, 0.2), transparent 42%),
    radial-gradient(ellipse at 82% 34%, rgba(56, 189, 248, 0.18), transparent 44%),
    radial-gradient(ellipse at 50% 86%, rgba(45, 212, 191, 0.06), transparent 50%),
    linear-gradient(180deg, #020304 0%, #050708 72%, #020304 100%) !important;
}

.socials-hero > .bg-gradient-to-b {
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.66) 0%,
      rgba(0, 0, 0, 0.28) 44%,
      rgba(2, 3, 4, 0.12) 72%,
      rgba(2, 3, 4, 0.02) 100%
    ) !important;
}

.socials-hero .relative.z-10 {
  text-shadow: 0 0 34px rgba(0, 0, 0, 0.38);
}

.hero-bg::before,
.media-hero::before,
section.soft-red::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(8rem, 20vh, 14rem);
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 50%,
      rgba(2, 3, 4, 0.1) 78%,
      var(--ak-ink) 100%
    );
  z-index: 4;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.2) 42%, black 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.2) 42%, black 100%);
}

.media-hero::after,
.hero-bg::after,
section.soft-red::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(9rem, 22vh, 15rem);
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 50%,
      rgba(5, 7, 8, 0.16) 76%,
      var(--ak-ink) 100%
    );
  z-index: 5;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.14) 36%, black 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.14) 36%, black 100%);
}

.hero-to-content-fade {
  display: none !important;
}

.hero-steel-upfade {
  background:
    linear-gradient(
      0deg,
      rgba(5, 8, 10, 0.78) 0%,
      rgba(5, 8, 10, 0.28) 48%,
      transparent 100%
    ) !important;
}

.rule-card,
.pravilnik-copy,
.memorial-card,
.news-feature,
.media-card,
.tech-card,
.tech-list-item,
.social-card,
.social-panel,
.home-event-card,
.home-news-card,
.home-build-card,
.race-calendar,
.garage-car-card,
.event-wide-card,
.results-board,
.detail-panel,
main .bg-black.border {
  border-color: rgba(148, 163, 184, 0.14) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.08), transparent 34%),
    linear-gradient(135deg, rgba(220, 38, 38, 0.075), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.026), transparent 46%),
    var(--ak-surface) !important;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.garage-car-card:hover,
.event-wide-card:hover,
.media-card:hover,
.tech-card:hover,
.tech-list-item:hover,
.social-card:hover,
.home-event-card:hover,
.home-news-card:hover,
.home-build-card:hover,
.rule-card:hover,
.result-row[href]:hover {
  border-color: rgba(125, 211, 252, 0.28) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.105), transparent 34%),
    linear-gradient(120deg, rgba(220, 38, 38, 0.09), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), transparent 48%),
    var(--ak-surface-lift) !important;
}

/* Mobile UX pass */
@media (max-width: 700px) {
  body {
    font-size: 15px;
  }

  header {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(2, 6, 8, 0.56) 72%, rgba(2, 6, 8, 0.18)) !important;
  }

  header > div {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .site-logo {
    max-width: calc(100vw - 5.5rem);
  }

  .site-logo-mark {
    width: 2.25rem;
    height: 2.25rem;
  }

  .site-logo-title {
    font-size: 0.86rem;
    line-height: 1.08;
  }

  .site-logo-subtitle {
    font-size: 0.46rem;
    letter-spacing: 0.1em;
  }

  .mobile-menu-toggle {
    width: 2.55rem;
    height: 2.55rem;
    padding: 0.68rem;
  }

  .mobile-nav-panel {
    left: 0.65rem;
    right: 0.65rem;
    top: 4.45rem;
    border: 1px solid rgba(125, 211, 252, 0.12);
    background:
      radial-gradient(circle at 0% 0%, rgba(220, 38, 38, 0.18), transparent 34%),
      radial-gradient(circle at 100% 18%, rgba(56, 189, 248, 0.12), transparent 34%),
      rgba(3, 5, 6, 0.94);
  }

  .mobile-open .mobile-nav-panel {
    padding: 0.55rem;
  }

  .mobile-nav-panel a,
  .mobile-nav-panel .nav-dropdown-trigger {
    padding: 0.72rem 0.78rem;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

  body > section:not(.hero-bg),
  main > section {
    padding: 4.5rem 1rem !important;
  }

  main > section.bg-black,
  main > section.bg-zinc-950,
  body > section.bg-black,
  body > section.bg-zinc-950 {
    background:
      radial-gradient(ellipse at 0% 7rem, rgba(220, 38, 38, 0.14), transparent 18rem),
      radial-gradient(ellipse at 100% 10rem, rgba(56, 189, 248, 0.15), transparent 20rem),
      linear-gradient(180deg, #020304 0%, #050708 100%) !important;
  }

  .hero-bg {
    height: 82svh !important;
    min-height: 520px;
    padding-inline: 1rem !important;
    align-items: flex-end !important;
    padding-bottom: 7.2rem !important;
  }

  .hero-bg .w-full {
    max-width: 24rem !important;
  }

  .hero-bg p:first-child,
  .media-hero .relative.z-10 > p:first-child,
  .page-hero-blend .relative.z-10 > p:first-child,
  body > section p.uppercase,
  main section p.uppercase {
    letter-spacing: 0.18em !important;
    font-size: 0.68rem !important;
    line-height: 1.55 !important;
  }

  .hero-bg h1 {
    max-width: 18rem;
    margin-inline: auto;
    font-size: clamp(1.6rem, 9vw, 2.55rem) !important;
    line-height: 1.14 !important;
  }

  .hero-bg p:not(:first-child) {
    margin-top: 1.25rem !important;
    font-size: 0.94rem !important;
    line-height: 1.7 !important;
  }

  .media-hero,
  .page-hero-blend {
    min-height: 46svh !important;
  }

  .page-hero-blend .relative.z-10 {
    transform: none !important;
  }

  .media-hero .relative.z-10,
  .page-hero-blend .relative.z-10 {
    padding-top: 5rem !important;
  }

  main h1.media-page-title,
  .pravilnik-hero-title,
  .in-memoriam-title {
    font-size: clamp(1.45rem, 11vw, 2.25rem) !important;
    line-height: 1.16 !important;
    transform: scaleX(0.84);
  }

  main h1.media-page-title-center {
    transform: scaleX(0.84);
    transform-origin: center;
  }

  main h2.media-section-title,
  main h2.tech-section-title,
  .honda-heading,
  body > section h2 {
    font-size: clamp(1.38rem, 8.5vw, 2.15rem) !important;
    line-height: 1.18 !important;
  }

  section .max-w-7xl,
  main .max-w-7xl,
  main .max-w-6xl,
  main .max-w-5xl,
  footer .max-w-7xl {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .partners-marquee {
    margin-top: 1.35rem !important;
    padding-block: 0.2rem !important;
  }

  .partner-card {
    width: 9.5rem !important;
    height: 5.8rem !important;
    border-radius: 1rem !important;
  }

  .partner-card span {
    font-size: 1.05rem !important;
  }

  .partners-marquee + div {
    display: none !important;
  }

  .home-event-card,
  .home-news-card,
  .home-build-card,
  .news-feature,
  .media-card,
  .tech-list-item,
  .social-card,
  .rule-card,
  .memorial-card,
  .race-calendar,
  .garage-car-card,
  .event-wide-card,
  .news-article {
    border-radius: 1.05rem !important;
  }

  .home-event-card {
    margin-bottom: 3rem !important;
  }

  .home-event-card .grid > div:first-child,
  .home-news-card > div:last-child,
  .home-build-card > div:last-child,
  .news-feature > div:first-child,
  .media-card,
  .social-card,
  .news-article {
    padding: 1.05rem !important;
  }

  .home-event-card .grid > div:last-child {
    order: -1;
    min-height: 12rem !important;
    border-left: 0 !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  }

  .home-event-card h2,
  .home-news-card h3,
  .home-build-card h3,
  .media-card h3,
  .social-card h2,
  .garage-car-card h2,
  .event-wide-card h2 {
    font-size: clamp(1.1rem, 6.2vw, 1.55rem) !important;
    line-height: 1.16 !important;
    margin-bottom: 0.75rem !important;
  }

  .home-news-card .h-72,
  .home-build-card img,
  .news-image-slot,
  .garage-image-slot,
  .event-image-slot,
  .detail-image-slot,
  .tech-list-image-slot {
    min-height: 0 !important;
    height: 11.25rem !important;
  }

  .home-build-card img {
    height: 11.25rem !important;
  }

  .home-news-card p.text-zinc-500,
  .home-event-card p.text-zinc-400,
  .media-card p,
  .tech-list-item p,
  .social-card p,
  .garage-car-card p,
  .event-wide-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.65 !important;
  }

  .detail-link {
    margin-top: 0.95rem;
    font-size: 0.64rem;
    letter-spacing: 0.13em;
  }

  .grid.lg\:grid-cols-3,
  .grid.md\:grid-cols-3,
  .grid.md\:grid-cols-2,
  .grid.lg\:grid-cols-2,
  .grid.lg\:grid-cols-\[0\.8fr_1\.2fr\],
  .grid.lg\:grid-cols-\[0\.7fr_1\.3fr\],
  .grid.lg\:grid-cols-\[1\.05fr_0\.95fr\] {
    gap: 1rem !important;
  }

  .tech-list {
    gap: 0.8rem;
  }

  .tech-list-item {
    grid-template-columns: 5.6rem 1fr !important;
    gap: 0.9rem !important;
    padding: 0.8rem !important;
  }

  .tech-list-image-slot {
    height: 5.6rem !important;
    border-radius: 0.82rem;
  }

  .tech-list-item h3 {
    margin-bottom: 0.25rem;
    font-size: 0.95rem !important;
  }

  .news-feature {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .news-feature .news-image-slot {
    order: -1;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  }

  .garage-list,
  .event-list {
    gap: 0.8rem;
  }

  .garage-car-card,
  .event-wide-card {
    grid-template-columns: 1fr !important;
    padding: 0.85rem !important;
  }

  .event-wide-card .event-image-slot,
  .garage-car-card .garage-image-slot {
    order: -1;
  }

  .event-date {
    width: 4.3rem;
    height: 4.3rem;
    border-radius: 0.9rem;
  }

  .garage-specs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .garage-specs span {
    flex: 0 0 auto;
    font-size: 0.58rem;
  }

  .detail-panel-header h2 {
    font-size: clamp(1.1rem, 7vw, 1.65rem);
  }

  .story-image-stack {
    grid-template-columns: 1fr !important;
  }

  .race-calendar {
    padding: 1rem !important;
  }

  .race-calendar-head {
    margin-bottom: 1rem;
  }

  .calendar-weekdays {
    display: none;
  }

  .calendar-grid {
    grid-template-columns: 1fr !important;
    gap: 0.7rem;
  }

  .calendar-day:not(.has-event) {
    display: none;
  }

  .calendar-day.has-event {
    min-height: auto;
    padding: 0.95rem;
    border-radius: 0.9rem;
  }

  .calendar-day.has-event em {
    margin-top: 0.35rem;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }

  .calendar-popup {
    position: static;
    width: auto;
    margin-top: 0.75rem;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
  }

  .calendar-day.has-event.is-open .calendar-popup,
  .calendar-day.has-event:focus .calendar-popup,
  .calendar-day.has-event:focus-visible .calendar-popup {
    transform: none;
  }

  .community-compact {
    padding-top: 3.2rem !important;
    padding-bottom: 3.2rem !important;
  }

  .community-compact p.text-xl {
    font-size: 0.98rem !important;
    line-height: 1.75 !important;
  }

  .community-compact .grid.md\:grid-cols-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .community-compact .grid.md\:grid-cols-3 > div {
    border-radius: 0.95rem !important;
    padding: 0.78rem !important;
  }

  .community-compact .grid.md\:grid-cols-3 h3 {
    font-size: 1.55rem !important;
    margin-bottom: 0.2rem !important;
  }

  .community-compact .grid.md\:grid-cols-3 p {
    font-size: 0.55rem !important;
    letter-spacing: 0.08em !important;
  }

  .results-board {
    border-radius: 1rem;
  }

  .result-head {
    display: none;
  }

  .result-row {
    grid-template-columns: 1fr auto !important;
    gap: 0.45rem 0.8rem;
    padding: 0.95rem !important;
    font-size: 0.86rem;
  }

  .result-row span:nth-child(3) {
    grid-column: 1 / -1;
    color: #8d9aa0;
    font-size: 0.78rem;
  }

  .result-time-row {
    min-width: 620px;
    padding: 0.85rem 1rem;
    font-size: 0.8rem;
  }

  .gallery-grid {
    grid-auto-rows: 12rem;
    gap: 0.8rem;
  }

  .gallery-event-card,
  .gallery-event-card-reverse {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .gallery-event-card-reverse .gallery-event-copy,
  .gallery-event-card-reverse .gallery-event-mosaic {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-event-copy {
    min-height: 13rem;
  }

  .gallery-event-mosaic {
    min-height: 24rem;
  }

  .pravilnik-copy {
    padding: 1rem !important;
  }

  .pravilnik-copy p,
  .pravilnik-copy li {
    font-size: 0.88rem;
    line-height: 1.78;
  }

  .rule-card {
    padding: 1rem !important;
  }

  .rule-card .text-4xl {
    font-size: 1.65rem !important;
  }

  .memorial-card .p-7,
  .memorial-card .md\:p-8 {
    padding: 1rem !important;
  }

  main h2.memorial-name {
    font-size: 1.1rem !important;
  }

  .memorial-photo-wrap {
    aspect-ratio: 4 / 3;
  }

  .social-card {
    min-height: auto;
  }

  .social-icon {
    width: 2.6rem;
    height: 2.6rem;
    margin-bottom: 1rem;
  }

  footer.bg-black {
    padding: 3.5rem 1rem !important;
  }

  footer > .max-w-7xl {
    display: grid;
    grid-template-columns: 1fr 1fr !important;
    gap: 1.2rem !important;
  }

  footer > .max-w-7xl > div:first-child,
  footer > .max-w-7xl > div:last-child {
    grid-column: 1 / -1;
  }

  footer h3 {
    margin-bottom: 0.75rem !important;
    font-size: 1.05rem !important;
  }

  footer h4 {
    margin-bottom: 0.8rem !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.18em !important;
  }

  footer p,
  footer a {
    font-size: 0.8rem;
    line-height: 1.65;
  }

  footer .space-y-4 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0.45rem !important;
  }

  footer > .border-t {
    margin-top: 2.2rem !important;
    padding-top: 1.25rem !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.11em !important;
  }
}

@media (max-width: 420px) {
  .site-logo-title {
    font-size: 0.78rem;
  }

  .site-logo-subtitle {
    display: none;
  }

  .hero-bg h1 {
    font-size: clamp(1.45rem, 9vw, 2.1rem) !important;
  }

  .tech-list-item {
    grid-template-columns: 4.7rem 1fr !important;
  }

  .tech-list-image-slot {
    height: 4.7rem !important;
  }

  footer > .max-w-7xl {
    grid-template-columns: 1fr !important;
  }
}

.garage-image-slot,
.event-image-slot,
.gallery-slot,
.detail-image-slot,
.news-image-slot,
.tech-list-image-slot {
  background:
    radial-gradient(circle at 78% 24%, rgba(56, 189, 248, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(5, 8, 10, 0.96) 44%, rgba(45, 212, 191, 0.06)),
    repeating-linear-gradient(
      90deg,
      rgba(125, 211, 252, 0.028) 0 1px,
      transparent 1px 38px
    ),
    #06090a !important;
  border-color: rgba(125, 211, 252, 0.12) !important;
}

.partner-card {
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.06), rgba(8, 12, 14, 0.76)),
    rgba(9, 9, 11, 0.5) !important;
  border-color: rgba(125, 211, 252, 0.13) !important;
}

.result-head,
.result-time-head {
  background:
    linear-gradient(90deg, rgba(220, 38, 38, 0.1), rgba(56, 189, 248, 0.07), transparent) !important;
}

/* Home mobile layout polish */
.home-event-ticker-mobile {
  display: none;
}

@media (max-width: 700px) {
  .home-hero {
    height: 70svh !important;
    min-height: 450px !important;
    align-items: flex-end !important;
    padding: 0 1rem 4.7rem !important;
  }

  .home-hero h1 {
    max-width: 12rem;
    margin-inline: auto;
    font-size: clamp(0.82rem, 5.35vw, 1.22rem) !important;
    line-height: 1.24 !important;
    letter-spacing: 0 !important;
  }

  .home-hero p:first-child {
    max-width: 18rem;
    margin-inline: auto;
    margin-bottom: 0.8rem !important;
    font-size: 0.52rem !important;
    line-height: 1.8 !important;
    letter-spacing: 0.12em !important;
  }

  .home-hero p:last-child {
    max-width: 18rem;
    margin-top: 0.9rem !important;
    font-size: 0.78rem !important;
    line-height: 1.55 !important;
  }

  .home-sponsors {
    padding-top: 0 !important;
    padding-bottom: 3.15rem !important;
    overflow: hidden;
  }

  .home-sponsors > .max-w-7xl {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding-inline: 1rem !important;
  }

  .home-mobile-event-ticker {
    order: 0;
    height: 3.55rem;
    margin: -2.15rem 0 1rem !important;
    border-radius: 999px !important;
    border-color: rgba(220, 38, 38, 0.18) !important;
    background:
      linear-gradient(90deg, rgba(4, 7, 8, 0.92), rgba(17, 24, 22, 0.92)),
      radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.28), transparent 48%) !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  .home-mobile-event-ticker .grid {
    display: none !important;
  }

  .home-event-ticker-mobile {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    height: 100%;
    overflow: hidden;
    padding: 0.45rem 0.8rem;
  }

  .finish-line-chip {
    position: relative;
    flex: 0 0 auto;
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 999px;
    overflow: hidden;
    background:
      linear-gradient(135deg, rgba(220, 38, 38, 0.92), rgba(127, 29, 29, 0.72)),
      repeating-conic-gradient(#f8fafc 0 25%, #111 0 50%) 50% / 0.7rem 0.7rem;
    background-blend-mode: multiply, normal;
    box-shadow: 0 0 24px rgba(220, 38, 38, 0.22);
  }

  .finish-line-chip::after {
    content: "";
    position: absolute;
    inset: 0.45rem;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.24);
  }

  .home-event-ticker-track {
    display: flex;
    width: max-content;
    animation: homeTickerMove 15s linear infinite;
  }

  .home-event-ticker-track span {
    margin-right: 2rem;
    white-space: nowrap;
    color: #f4f4f5;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }

  @keyframes homeTickerMove {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-50%);
    }
  }

  .home-sponsor-head {
    order: 1;
    justify-content: center !important;
    gap: 0.7rem !important;
    margin-bottom: 0 !important;
    text-align: center;
  }

  .home-sponsor-head > div,
  .home-sponsor-head > p {
    width: 100%;
  }

  .home-sponsor-head p {
    margin-bottom: 0.45rem !important;
  }

  .home-sponsor-head h2 {
    display: block !important;
    text-align: center;
    font-size: clamp(0.86rem, 5.7vw, 1.18rem) !important;
    line-height: 1.22 !important;
  }

  .home-sponsor-head > p {
    max-width: 18.5rem !important;
    margin-inline: auto;
    font-size: 0.76rem !important;
    line-height: 1.58 !important;
  }

  .home-sponsors .partners-marquee {
    order: 2;
    margin-top: 0 !important;
    padding-block: 0.35rem !important;
  }

  .home-sponsors .partners-marquee + div {
    display: none !important;
  }

  .home-sponsors .partners-group {
    gap: 0.7rem;
    padding-right: 0.7rem;
  }

  .home-sponsors .partner-card {
    width: 7.05rem !important;
    height: 4.15rem !important;
    border-radius: 0.85rem !important;
    opacity: 0.74;
  }

  .home-sponsors .partner-card span {
    font-size: 0.82rem !important;
    letter-spacing: 0.02em;
  }

  .home-news-section {
    position: relative;
    order: 3;
    margin-top: 0.75rem !important;
    margin-bottom: 0 !important;
  }

  .home-news-section::after,
  .home-featured-builds::after {
    content: "›";
    position: absolute;
    right: 0.25rem;
    bottom: 6.35rem;
    z-index: 3;
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: rgba(220, 38, 38, 0.86);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.42);
    font-size: 1.7rem;
    line-height: 1;
    pointer-events: none;
  }

  .home-news-section > .flex {
    justify-content: center !important;
    gap: 0.45rem !important;
    margin-bottom: 0.9rem !important;
    text-align: center;
  }

  .home-news-section > .flex > div,
  .home-news-section > .flex > p {
    width: 100%;
  }

  .home-news-section > .flex > p {
    max-width: 17rem;
    margin-inline: auto;
    font-size: 0.72rem !important;
    line-height: 1.5 !important;
  }

  .home-news-section h2 {
    font-size: clamp(0.86rem, 5.5vw, 1.14rem) !important;
    line-height: 1.22 !important;
  }

  .home-news-strip {
    display: flex !important;
    gap: 0.75rem !important;
    overflow-x: auto;
    padding: 0.15rem 2.25rem 0.65rem 0.1rem;
    scroll-padding-left: 0.1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .home-news-strip::-webkit-scrollbar,
  .home-featured-builds .grid::-webkit-scrollbar {
    display: none;
  }

  .home-news-card {
    flex: 0 0 62%;
    min-width: 62%;
    scroll-snap-align: start;
    border-radius: 0.95rem !important;
  }

  .home-news-card .h-72 {
    height: 5.65rem !important;
  }

  .home-news-card > div:last-child {
    padding: 0.7rem !important;
  }

  .home-news-card p.uppercase {
    margin-bottom: 0.35rem !important;
    font-size: 0.48rem !important;
    letter-spacing: 0.13em !important;
  }

  .home-news-card h3 {
    margin-bottom: 0.45rem !important;
    font-size: 0.82rem !important;
    line-height: 1.18 !important;
  }

  .home-news-card p.text-zinc-500 {
    display: none !important;
  }

  .home-news-card .detail-link {
    margin-top: 0.35rem;
    font-size: 0.5rem !important;
    letter-spacing: 0.12em !important;
  }

  .home-featured-builds {
    position: relative;
    padding: 3.2rem 1rem !important;
  }

  .home-featured-builds::after {
    bottom: 8.1rem;
  }

  .home-featured-builds > .flex {
    justify-content: center;
    gap: 0.55rem !important;
    margin-bottom: 1rem !important;
    text-align: center;
  }

  .home-featured-builds > .flex > div,
  .home-featured-builds > .flex > p {
    width: 100%;
  }

  .home-featured-builds > .flex > p {
    max-width: 18.5rem;
    margin-inline: auto;
    font-size: 0.74rem !important;
    line-height: 1.55 !important;
  }

  .home-featured-builds h2 {
    font-size: clamp(0.86rem, 5.6vw, 1.16rem) !important;
    line-height: 1.22 !important;
  }

  .home-featured-builds .grid {
    display: flex !important;
    gap: 0.75rem !important;
    overflow-x: auto;
    padding: 0.15rem 2.25rem 0.65rem 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .home-build-card {
    flex: 0 0 69%;
    min-width: 69%;
    scroll-snap-align: start;
    border-radius: 1rem !important;
  }

  .home-build-card img {
    height: 8rem !important;
  }

  .home-build-card > div:last-child {
    padding: 0.75rem !important;
  }

  .home-build-card .flex {
    display: block !important;
    margin-bottom: 0.45rem !important;
  }

  .home-build-card h3 {
    margin-bottom: 0.55rem !important;
    font-size: 0.82rem !important;
    line-height: 1.25 !important;
  }

  .home-build-card span.bg-red-600 {
    display: inline-flex;
    padding: 0.28rem 0.5rem !important;
    font-size: 0.52rem !important;
    letter-spacing: 0.08em;
  }

  .home-build-card .detail-link {
    font-size: 0.52rem !important;
  }

  .home-calendar-section {
    padding: 3.1rem 1rem !important;
  }

  .home-calendar-section > p,
  .home-calendar-section > h2 {
    text-align: center;
  }

  .home-calendar-section > p {
    margin-bottom: 0.45rem !important;
    font-size: 0.58rem !important;
    letter-spacing: 0.18em !important;
  }

  .home-calendar-section > h2 {
    margin-bottom: 1rem !important;
    font-size: clamp(0.86rem, 5.6vw, 1.16rem) !important;
    line-height: 1.22 !important;
  }

  .home-calendar-section .race-calendar {
    padding: 0.75rem !important;
    border-radius: 1rem !important;
  }

  .home-calendar-section .race-calendar-head {
    margin-bottom: 0.75rem;
    padding-bottom: 0.7rem;
  }

  .home-calendar-section .race-calendar-head p {
    font-size: 0.52rem;
    letter-spacing: 0.16em;
  }

  .home-calendar-section .race-calendar-head h3 {
    font-size: 0.9rem !important;
  }

  .home-calendar-section .calendar-weekdays {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: 0.2rem;
    margin-bottom: 0.28rem;
  }

  .home-calendar-section .calendar-weekdays span {
    text-align: center;
    color: #6b7280;
    font-size: 0.44rem !important;
    font-weight: 900;
    letter-spacing: 0.02em !important;
    text-transform: uppercase;
  }

  .home-calendar-section .calendar-grid {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: 0.22rem !important;
  }

  .home-calendar-section .calendar-day,
  .home-calendar-section .calendar-day:not(.has-event),
  .home-calendar-section .calendar-day.muted,
  .home-calendar-section .calendar-day.has-event {
    display: block !important;
    min-height: 2.1rem !important;
    padding: 0.28rem !important;
    border-radius: 0.42rem !important;
    font-size: 0.58rem !important;
    line-height: 1 !important;
  }

  .home-calendar-section .calendar-day.has-event {
    position: relative;
    overflow: visible;
    box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.28), 0 0 18px rgba(220, 38, 38, 0.12);
  }

  .home-calendar-section .calendar-day.has-event em {
    display: none !important;
  }

  .home-calendar-section .calendar-popup {
    position: absolute !important;
    bottom: calc(100% + 0.45rem);
    left: 50%;
    z-index: 8;
    width: min(14rem, 84vw);
    margin: 0 !important;
    padding: 0.75rem;
    border-radius: 0.8rem;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px) scale(0.96);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.55);
  }

  .home-calendar-section .calendar-day.has-event.is-open .calendar-popup,
  .home-calendar-section .calendar-day.has-event:focus .calendar-popup,
  .home-calendar-section .calendar-day.has-event:focus-visible .calendar-popup {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
  }

  .community-compact {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .community-compact h2 {
    font-size: clamp(0.86rem, 5.6vw, 1.16rem) !important;
    line-height: 1.2 !important;
  }

  .community-compact p.text-xl {
    font-size: 0.82rem !important;
    line-height: 1.58 !important;
  }

  .home-footer {
    padding: 2.4rem 0.9rem !important;
  }

  .home-footer > .max-w-7xl {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.85rem !important;
  }

  .home-footer > .max-w-7xl > div:first-child,
  .home-footer > .max-w-7xl > div:last-child {
    grid-column: 1 / -1;
  }

  .home-footer h3 {
    margin-bottom: 0.55rem !important;
    font-size: 0.64rem !important;
    letter-spacing: 0.1em !important;
  }

  .home-footer h4 {
    margin-bottom: 0.55rem !important;
    font-size: 0.56rem !important;
    letter-spacing: 0.14em !important;
  }

  .home-footer p,
  .home-footer a {
    font-size: 0.67rem;
    line-height: 1.48;
  }

  .home-footer .space-y-4 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0.22rem !important;
  }

  .home-footer > .border-t {
    margin-top: 1.25rem !important;
    padding-top: 0.9rem !important;
    font-size: 0.58rem !important;
    line-height: 1.45;
    letter-spacing: 0.08em !important;
  }
}

@media (max-width: 420px) {
  .home-hero h1 {
    max-width: 11rem;
    font-size: clamp(0.78rem, 5.1vw, 1.08rem) !important;
  }

  .home-news-card {
    flex-basis: 68%;
    min-width: 68%;
  }

  .home-build-card {
    flex-basis: 76%;
    min-width: 76%;
  }

  .home-footer > .max-w-7xl {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .home-footer > .max-w-7xl > div:first-child,
  .home-footer > .max-w-7xl > div:last-child {
    grid-column: 1 / -1;
  }
}

/* Home mobile v2 refinements */
.home-hero-event-ticker,
.home-news-mobile-swap,
.mobile-news-slider-btn {
  display: none;
}

@media (max-width: 700px) {
  .home-hero {
    height: 72svh !important;
    min-height: 470px !important;
    align-items: center !important;
    padding: 6.4rem 1rem 3.4rem !important;
  }

  .home-hero > .w-full {
    transform: translateY(-0.35rem);
  }

  .home-hero-eyebrow {
    display: none !important;
  }

  .home-hero h1 {
    max-width: 12.25rem;
    font-size: clamp(0.86rem, 5.55vw, 1.28rem) !important;
    line-height: 1.24 !important;
  }

  .home-hero-copy {
    display: inline-block;
    max-width: 18.5rem !important;
    margin-top: 1rem !important;
    padding: 0.72rem 0.88rem;
    border: 1px solid rgba(125, 211, 252, 0.09);
    border-radius: 0.95rem;
    background:
      linear-gradient(135deg, rgba(220, 38, 38, 0.095), rgba(56, 189, 248, 0.055)),
      rgba(255, 255, 255, 0.025);
    color: rgba(226, 232, 240, 0.88) !important;
    font-size: 0.74rem !important;
    font-style: italic;
    line-height: 1.55 !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.04),
      0 18px 42px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(12px);
  }

  .home-hero-event-ticker {
    position: absolute;
    top: 4.35rem;
    left: 0;
    right: 0;
    z-index: 16;
    display: block;
    height: 2.85rem;
    overflow: hidden;
    border-top: 1px solid rgba(220, 38, 38, 0.14);
    border-bottom: 1px solid rgba(125, 211, 252, 0.1);
    background:
      linear-gradient(90deg, rgba(2, 6, 8, 0.9), rgba(7, 15, 15, 0.95), rgba(2, 6, 8, 0.9)),
      radial-gradient(circle at 0% 50%, rgba(220, 38, 38, 0.24), transparent 32%);
    box-shadow:
      0 18px 38px rgba(0, 0, 0, 0.38),
      inset 0 0 28px rgba(220, 38, 38, 0.06);
    color: #fff;
    text-decoration: none;
  }

  .home-stadium-track {
    display: flex;
    width: max-content;
    height: 100%;
    align-items: center;
    animation: stadiumTickerMove 17s linear infinite;
  }

  .home-stadium-item {
    display: inline-flex;
    align-items: center;
    gap: 0.62rem;
    margin-right: 2.2rem;
    white-space: nowrap;
  }

  .home-stadium-item b,
  .home-stadium-item em {
    font-style: normal;
    text-transform: uppercase;
  }

  .home-stadium-item b {
    color: #ef4444;
    font-size: 0.66rem;
    font-weight: 950;
    letter-spacing: 0.18em;
    text-shadow: 0 0 20px rgba(220, 38, 38, 0.22);
  }

  .home-stadium-item em {
    color: rgba(244, 244, 245, 0.94);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.12em;
  }

  .home-hero-event-ticker .finish-line-chip {
    width: 2rem;
    height: 1.55rem;
    border-radius: 0.24rem;
    background:
      repeating-conic-gradient(#f8fafc 0 25%, #050505 0 50%) 50% / 0.58rem 0.58rem !important;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.08);
  }

  .home-hero-event-ticker .finish-line-chip::after {
    display: none;
  }

  @keyframes stadiumTickerMove {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-33.333%);
    }
  }

  .home-sponsors {
    margin-top: -1px;
    padding-top: 2.9rem !important;
    border-bottom: 0 !important;
    background:
      linear-gradient(180deg, #03090b 0%, #06110f 54%, #030708 100%) !important;
  }

  .home-sponsors .home-mobile-event-ticker,
  .home-sponsors .home-news-section {
    display: none !important;
  }

  .home-featured-builds {
    margin-top: -1px;
    border: 0 !important;
    background:
      linear-gradient(180deg, #030708 0%, #06110f 48%, #030708 100%) !important;
  }

  .home-featured-builds::after {
    display: none !important;
  }

  .home-news-mobile-swap {
    display: block;
    margin-top: -1px;
    padding: 3rem 1rem 3.2rem !important;
    border: 0;
    background:
      linear-gradient(180deg, #030708 0%, #06110f 54%, #030708 100%) !important;
    overflow: hidden;
  }

  .home-news-mobile-swap .home-news-section {
    display: block !important;
    position: relative;
    margin: 0 !important;
  }

  .home-news-mobile-swap .home-news-section::after {
    display: none !important;
  }

  .home-news-mobile-swap .home-news-strip {
    margin-top: 0.28rem !important;
    padding-top: 0.45rem !important;
    padding-right: 3.25rem !important;
  }

  .mobile-news-slider-btn {
    position: absolute;
    right: 0.05rem;
    top: 9.1rem;
    z-index: 8;
    display: grid;
    width: 2.35rem;
    height: 2.35rem;
    place-items: center;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background:
      linear-gradient(145deg, rgba(239, 68, 68, 0.95), rgba(153, 27, 27, 0.9));
    box-shadow:
      0 16px 34px rgba(0, 0, 0, 0.5),
      0 0 22px rgba(220, 38, 38, 0.24);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
  }

  .mobile-news-slider-btn:active {
    transform: scale(0.96);
  }

  .home-calendar-section {
    margin-top: -1px;
    background:
      linear-gradient(180deg, #030708 0%, #06110f 50%, #030708 100%) !important;
  }
}

@media (max-width: 420px) {
  .home-hero {
    min-height: 455px !important;
  }

  .home-hero h1 {
    max-width: 11.5rem;
    font-size: clamp(0.82rem, 5.25vw, 1.14rem) !important;
  }

  .home-hero-copy {
    max-width: 17.5rem !important;
    font-size: 0.71rem !important;
  }

  .home-stadium-item {
    gap: 0.52rem;
    margin-right: 1.65rem;
  }

  .home-stadium-item b,
  .home-stadium-item em {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .mobile-news-slider-btn {
    top: 9.25rem;
    right: 0;
  }
}

/* Home mobile v3 soft polish */
@media (max-width: 700px) {
  .home-hero h1 {
    max-width: 13.2rem;
    font-size: clamp(0.96rem, 6.15vw, 1.42rem) !important;
    line-height: 1.22 !important;
  }

  .home-hero-copy {
    display: block;
    max-width: 18.4rem !important;
    margin-inline: auto;
    margin-top: 1.05rem !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    color: rgba(232, 239, 242, 0.86) !important;
    font-size: 0.74rem !important;
    font-style: italic;
    line-height: 1.62 !important;
    text-shadow:
      0 2px 14px rgba(0, 0, 0, 0.72),
      0 0 22px rgba(56, 189, 248, 0.08);
  }

  .home-hero-event-ticker {
    top: 4.25rem;
    height: 2.55rem;
    border-top-color: rgba(255, 255, 255, 0.035);
    border-bottom-color: rgba(255, 255, 255, 0.035);
    background:
      linear-gradient(180deg, transparent 0%, rgba(2, 6, 8, 0.46) 24%, rgba(2, 6, 8, 0.54) 68%, transparent 100%),
      linear-gradient(90deg, transparent 0%, rgba(220, 38, 38, 0.1) 14%, rgba(56, 189, 248, 0.04) 50%, rgba(220, 38, 38, 0.08) 86%, transparent 100%) !important;
    box-shadow:
      inset 0 16px 24px rgba(0, 0, 0, 0.26),
      inset 0 -16px 24px rgba(0, 0, 0, 0.28);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  }

  .home-hero-event-ticker .finish-line-chip {
    width: 1.45rem;
    height: 1.08rem;
    border-radius: 0.16rem;
    background:
      repeating-conic-gradient(#f8fafc 0 25%, #050505 0 50%) 50% / 0.42rem 0.42rem !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.06);
  }

  .home-stadium-item {
    gap: 0.5rem;
  }

  .home-stadium-item b {
    color: rgba(239, 68, 68, 0.86);
  }

  .home-stadium-item em {
    color: rgba(244, 244, 245, 0.82);
  }

  .home-sponsors,
  .home-featured-builds,
  .home-news-mobile-swap,
  .home-calendar-section,
  .community-compact {
    position: relative;
    overflow: hidden;
    isolation: isolate;
  }

  .home-sponsors > *,
  .home-featured-builds > *,
  .home-news-mobile-swap > *,
  .home-calendar-section > *,
  .community-compact > * {
    position: relative;
    z-index: 1;
  }

  .home-sponsors {
    background:
      linear-gradient(180deg, #030708 0%, #06110f 34%, #06110f 66%, #030708 100%) !important;
  }

  .home-featured-builds {
    background:
      linear-gradient(180deg, #030708 0%, #06110f 42%, #06110f 64%, #030708 100%) !important;
  }

  .home-news-mobile-swap {
    background:
      linear-gradient(180deg, #030708 0%, #06110f 42%, #06110f 64%, #030708 100%) !important;
  }

  .home-calendar-section {
    background:
      linear-gradient(180deg, #030708 0%, #06110f 45%, #07100e 78%, #120606 100%) !important;
  }

  .community-compact {
    background:
      linear-gradient(180deg, #120606 0%, rgba(220, 38, 38, 0.94) 16%, #dc2626 100%) !important;
  }

  .home-sponsors::before,
  .home-featured-builds::before,
  .home-news-mobile-swap::before,
  .home-calendar-section::before,
  .community-compact::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -1px;
    left: 0;
    right: 0;
    height: 3.4rem;
    pointer-events: none;
    background:
      linear-gradient(180deg, rgba(3, 7, 8, 0.98), rgba(3, 7, 8, 0));
  }

  .home-sponsors::after,
  .home-featured-builds::after,
  .home-news-mobile-swap::after,
  .home-calendar-section::after {
    content: "";
    position: absolute;
    z-index: 0;
    bottom: -1px;
    left: 0;
    right: 0;
    display: block !important;
    height: 3.6rem;
    pointer-events: none;
    background:
      linear-gradient(180deg, rgba(3, 7, 8, 0), rgba(3, 7, 8, 0.98));
  }

  .home-calendar-section::after {
    background:
      linear-gradient(180deg, rgba(18, 6, 6, 0), rgba(18, 6, 6, 0.98));
  }
}

@media (max-width: 420px) {
  .home-hero h1 {
    max-width: 12.5rem;
    font-size: clamp(0.9rem, 5.9vw, 1.28rem) !important;
  }

  .home-hero-copy {
    max-width: 17.6rem !important;
    font-size: 0.71rem !important;
  }

  .home-stadium-item {
    gap: 0.44rem;
  }
}

/* Mobile v4: aligned home hero, real section color fades, and compact subpages */
@media (max-width: 700px) {
  .home-hero {
    background: #030708;
  }

  .home-hero > .w-full {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transform: translateY(-0.5rem);
  }

  .home-hero h1 {
    display: block;
    width: min(100%, 15rem);
    max-width: 15rem;
    margin-inline: auto;
    text-align: center !important;
    text-wrap: balance;
    transform: translateX(-0.05rem);
    transform-origin: center;
    font-size: clamp(1.02rem, 6.45vw, 1.5rem) !important;
    line-height: 1.22 !important;
  }

  .home-hero .hero-to-content-fade {
    display: block !important;
    bottom: -1px;
    height: 10rem;
    z-index: 7;
    background:
      linear-gradient(180deg, rgba(3, 7, 8, 0) 0%, rgba(3, 7, 8, 0.34) 32%, #030708 86%, #030708 100%) !important;
  }

  .home-sponsors {
    padding-top: 3.4rem !important;
    background:
      linear-gradient(180deg, #030708 0%, #05100e 28%, #06110f 62%, #040908 100%) !important;
  }

  .home-featured-builds {
    background:
      linear-gradient(180deg, #040908 0%, #06110f 24%, #06110f 68%, #030708 100%) !important;
  }

  .home-news-mobile-swap {
    background:
      linear-gradient(180deg, #030708 0%, #06110f 30%, #06110f 68%, #030708 100%) !important;
  }

  .home-calendar-section {
    background:
      linear-gradient(180deg, #030708 0%, #06110f 28%, #07100e 62%, #120606 100%) !important;
  }

  .community-compact {
    background:
      linear-gradient(180deg, #120606 0%, rgba(220, 38, 38, 0.92) 18%, #dc2626 100%) !important;
  }

  .home-sponsors::before,
  .home-featured-builds::before,
  .home-news-mobile-swap::before,
  .home-calendar-section::before,
  .community-compact::before {
    height: 5rem;
    background:
      linear-gradient(180deg, rgba(3, 7, 8, 0.98), rgba(3, 7, 8, 0.56) 38%, rgba(3, 7, 8, 0)) !important;
  }

  .home-sponsors::after,
  .home-featured-builds::after,
  .home-news-mobile-swap::after {
    height: 5rem;
    background:
      linear-gradient(180deg, rgba(3, 7, 8, 0), rgba(3, 7, 8, 0.52) 62%, #030708 100%) !important;
  }

  .home-calendar-section::after {
    height: 5.5rem;
    background:
      linear-gradient(180deg, rgba(18, 6, 6, 0), rgba(18, 6, 6, 0.6) 58%, #120606 100%) !important;
  }

  .home-hero-event-ticker {
    background:
      linear-gradient(180deg, transparent 0%, rgba(2, 6, 8, 0.34) 24%, rgba(2, 6, 8, 0.44) 66%, transparent 100%),
      linear-gradient(90deg, transparent 0%, rgba(220, 38, 38, 0.075) 18%, rgba(56, 189, 248, 0.035) 52%, rgba(220, 38, 38, 0.06) 86%, transparent 100%) !important;
  }

  main {
    background: #030708;
  }

  main > .media-hero,
  main > .page-hero-blend {
    min-height: 48svh !important;
    padding: 6.2rem 0 3.2rem !important;
    align-items: center !important;
    text-align: center;
    background:
      linear-gradient(180deg, #050708 0%, #08100f 64%, #030708 100%) !important;
  }

  main > .media-hero::after,
  main > .page-hero-blend::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 6;
    height: 7.5rem;
    pointer-events: none;
    background:
      linear-gradient(180deg, rgba(3, 7, 8, 0), rgba(3, 7, 8, 0.58) 48%, #030708 100%);
  }

  main > .media-hero .relative.z-10,
  main > .page-hero-blend .relative.z-10 {
    width: 100%;
    max-width: none !important;
    padding: 0 1rem !important;
    padding-top: 0 !important;
    margin-inline: auto;
    text-align: center;
  }

  main > .media-hero .hero-to-content-fade,
  main > .page-hero-blend .hero-to-content-fade {
    display: block !important;
    height: 7.5rem;
    background:
      linear-gradient(180deg, rgba(3, 7, 8, 0), rgba(3, 7, 8, 0.58) 48%, #030708 100%) !important;
  }

  main > .media-hero .relative.z-10 > p:first-child,
  main > .page-hero-blend .relative.z-10 > p:first-child {
    margin-bottom: 0.75rem !important;
    font-size: 0.56rem !important;
    line-height: 1.6 !important;
    letter-spacing: 0.18em !important;
  }

  main h1.media-page-title,
  main h1.pravilnik-hero-title,
  main h1.in-memoriam-title {
    display: block !important;
    width: min(100%, 18rem);
    max-width: 18rem;
    margin-inline: auto;
    text-align: center !important;
    transform: scaleX(0.9);
    transform-origin: center;
    font-size: clamp(1rem, 7.2vw, 1.55rem) !important;
    line-height: 1.24 !important;
  }

  main h1.media-page-title-center {
    transform: scaleX(0.9);
    transform-origin: center;
  }

  main > .media-hero p.max-w-2xl,
  main > .page-hero-blend p.max-w-2xl,
  main > .page-hero-blend p.max-w-3xl {
    max-width: 20rem !important;
    margin-top: 1rem !important;
    margin-inline: auto;
    font-size: 0.82rem !important;
    line-height: 1.65 !important;
  }

  main > section.bg-black {
    position: relative;
    overflow: hidden;
    padding: 3.35rem 1rem !important;
    border-color: transparent !important;
    background:
      linear-gradient(180deg, #030708 0%, #06110f 48%, #030708 100%) !important;
  }

  main > section.bg-black > .max-w-7xl {
    padding-inline: 0 !important;
  }

  .news-feature,
  .media-card,
  .tech-list-item,
  .social-card,
  .social-panel,
  .garage-car-card,
  .event-wide-card,
  .results-board,
  .rule-card,
  .pravilnik-copy,
  .memorial-card,
  .detail-panel {
    border-radius: 1rem !important;
    border-color: rgba(148, 163, 184, 0.12) !important;
  }

  .news-feature {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin-bottom: 1rem !important;
    overflow: hidden;
  }

  .news-feature > .p-8,
  .news-feature > .md\:p-12 {
    padding: 1rem !important;
  }

  .news-image-slot {
    min-height: 9.5rem !important;
    order: -1;
  }

  .media-card,
  .social-card,
  .social-panel {
    padding: 1rem !important;
  }

  .media-card h3,
  .tech-card h3,
  .social-card h2 {
    margin-bottom: 0.5rem;
    font-size: 0.96rem !important;
    line-height: 1.25 !important;
  }

  .media-card p,
  .tech-card p,
  .social-card p,
  .social-panel p,
  .garage-car-card p,
  .event-wide-card p {
    font-size: 0.82rem;
    line-height: 1.6;
  }

  main h2.media-section-title,
  main h2.tech-section-title,
  main h2.pravilnik-section-title {
    display: block !important;
    max-width: 19rem !important;
    font-size: clamp(0.95rem, 6.2vw, 1.35rem) !important;
    line-height: 1.24 !important;
    transform: scaleX(0.9);
    transform-origin: center;
    text-align: center;
  }

  .garage-list,
  .event-list,
  .tech-list {
    gap: 0.8rem !important;
  }

  .garage-car-card,
  .event-wide-card {
    grid-template-columns: 1fr !important;
    gap: 0.8rem !important;
    min-height: auto !important;
    padding: 0.85rem !important;
  }

  .garage-car-card::before {
    top: 0.85rem;
    bottom: auto;
    left: 0.85rem;
    right: 0.85rem;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.62), transparent);
  }

  .garage-image-slot,
  .event-image-slot,
  .detail-image-slot,
  .tech-list-image-slot {
    min-height: 8.2rem !important;
    border-radius: 0.75rem !important;
  }

  main .garage-list .garage-car-card h2,
  .event-wide-card h2 {
    margin-bottom: 0.55rem;
    font-size: 0.9rem !important;
    line-height: 1.25 !important;
  }

  .garage-specs {
    gap: 0.42rem;
    margin-top: 0.75rem;
  }

  .garage-specs span,
  .detail-link {
    font-size: 0.52rem !important;
    letter-spacing: 0.1em !important;
  }

  .garage-specs span {
    padding: 0.32rem 0.48rem;
  }

  .event-date {
    width: 3.7rem;
    height: 3.7rem;
    border-radius: 0.78rem;
  }

  .event-date span {
    font-size: 0.48rem;
  }

  .event-date strong {
    font-size: 0.82rem;
  }

  .detail-panel {
    margin-top: -0.8rem;
    padding-inline: 0.9rem !important;
  }

  .detail-panel:target,
  .detail-panel.is-open {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .story-detail-body,
  .detail-gallery {
    grid-template-columns: 1fr !important;
    gap: 0.8rem !important;
  }

  .story-detail-copy {
    font-size: 0.85rem !important;
    line-height: 1.72 !important;
  }

  .story-detail-copy::before {
    margin-bottom: 0.45rem;
    font-size: 0.55rem;
    letter-spacing: 0.16em;
  }

  .story-image-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .story-image-stack.single {
    grid-template-columns: 1fr;
  }

  .build-timeline {
    grid-template-columns: 1fr !important;
    gap: 0.65rem;
  }

  .build-timeline article,
  .result-times {
    padding: 0.85rem;
    border-radius: 0.8rem;
  }

  .result-row {
    grid-template-columns: 1fr auto !important;
    gap: 0.45rem 0.7rem;
    padding: 0.82rem 0.85rem !important;
    font-size: 0.78rem !important;
  }

  .result-row span:nth-child(1) {
    color: #fff;
    line-height: 1.35;
  }

  .result-row span:nth-child(2) {
    align-self: start;
    justify-self: end;
    border-radius: 999px;
    padding: 0.22rem 0.42rem;
    color: #ef4444;
    background: rgba(220, 38, 38, 0.1);
    font-size: 0.62rem;
  }

  .result-row span:nth-child(3) {
    grid-column: 1 / -1;
    color: #8d9aa0;
    font-size: 0.72rem;
  }

  .result-row span:nth-child(4) {
    color: #e5e7eb;
  }

  .result-time-row {
    min-width: 640px;
    padding: 0.78rem 0.85rem;
    font-size: 0.74rem;
  }

  .tech-list-item {
    grid-template-columns: 5.4rem 1fr !important;
    gap: 0.8rem !important;
    padding: 0.78rem !important;
  }

  .tech-list-image-slot {
    min-height: 5.4rem !important;
    height: 5.4rem !important;
  }

  .tech-list-item h3 {
    margin-bottom: 0.22rem;
    font-size: 0.82rem !important;
  }

  .tech-list-item p {
    font-size: 0.76rem;
    line-height: 1.45;
  }

  .social-icon {
    width: 2.45rem;
    height: 2.45rem;
    margin-bottom: 0.8rem;
    border-radius: 0.72rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: 8.6rem;
    gap: 0.62rem !important;
  }

  .gallery-archive {
    padding-top: 3rem !important;
  }

  .gallery-albums {
    gap: 1rem;
  }

  .gallery-event-card {
    padding: 0.75rem;
    border-radius: 1.05rem;
  }

  .gallery-event-copy {
    min-height: 10.5rem;
    padding: 1rem;
    border-radius: 0.85rem;
  }

  .gallery-event-copy p {
    margin-bottom: 0.55rem;
    font-size: 0.5rem;
    letter-spacing: 0.14em;
  }

  .gallery-event-copy h2 {
    font-size: clamp(1.15rem, 7vw, 1.55rem);
  }

  .gallery-event-copy span {
    margin-top: 0.62rem;
    font-size: 0.76rem;
    line-height: 1.55;
  }

  .gallery-event-mosaic {
    min-height: 15rem;
    gap: 0.48rem;
  }

  .gallery-event-mosaic .gallery-slot {
    border-radius: 0.72rem;
  }

  .gallery-slot.large,
  .gallery-slot.wide {
    grid-column: span 2;
  }

  .pravilnik-copy {
    padding: 1rem !important;
  }

  .pravilnik-copy p,
  .pravilnik-copy li {
    font-size: 0.82rem !important;
    line-height: 1.72 !important;
  }

  .pravilnik-copy ol {
    padding-left: 1.05rem;
  }

  .memorial-photo-wrap {
    aspect-ratio: 4 / 3 !important;
  }

  .memorial-card .p-7,
  .memorial-card .md\:p-8 {
    padding: 0.92rem !important;
  }

  main h2.memorial-name {
    font-size: 1.02rem !important;
    line-height: 1.25 !important;
  }

  footer.bg-black {
    padding: 2.4rem 0.9rem !important;
  }

  footer > .max-w-7xl {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.85rem !important;
  }

  footer > .max-w-7xl > div:first-child,
  footer > .max-w-7xl > div:last-child {
    grid-column: 1 / -1;
  }

  footer h3 {
    margin-bottom: 0.55rem !important;
    font-size: 0.66rem !important;
    letter-spacing: 0.1em !important;
  }

  footer h4 {
    margin-bottom: 0.55rem !important;
    font-size: 0.56rem !important;
    letter-spacing: 0.14em !important;
  }

  footer p,
  footer a {
    font-size: 0.67rem;
    line-height: 1.5;
  }

  footer > .border-t {
    margin-top: 1.35rem !important;
    padding-top: 0.9rem !important;
    font-size: 0.58rem !important;
    letter-spacing: 0.08em !important;
  }
}

@media (max-width: 420px) {
  .home-hero h1 {
    width: min(100%, 14rem);
    max-width: 14rem;
    transform: translateX(-0.04rem);
    font-size: clamp(0.96rem, 6.2vw, 1.35rem) !important;
  }

  main h1.media-page-title,
  main h1.pravilnik-hero-title,
  main h1.in-memoriam-title {
    max-width: 16rem;
    font-size: clamp(0.95rem, 6.8vw, 1.38rem) !important;
  }

  .tech-list-item {
    grid-template-columns: 4.9rem 1fr !important;
  }

  .tech-list-image-slot {
    min-height: 4.9rem !important;
    height: 4.9rem !important;
  }

  footer > .max-w-7xl {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Honda news page layout */
.honda-news-page main {
  background: #030708;
}

.news-featured-top {
  position: relative;
  min-height: 76vh;
  padding: 8.5rem 1.5rem 5.5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 28%, rgba(56, 189, 248, 0.11), transparent 32%),
    radial-gradient(circle at 14% 62%, rgba(220, 38, 38, 0.15), transparent 34%),
    linear-gradient(180deg, #020405 0%, #06110f 54%, #030708 100%);
}

.news-featured-top::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 7rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 7, 8, 0), #030708 88%);
}

.news-featured-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1280px);
  margin-inline: auto;
}

.news-feature-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(1.3rem, 4vw, 3.5rem);
  align-items: stretch;
  min-height: 30rem;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.news-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.6rem, 4vw, 3.3rem);
}

.news-feature-copy h1 {
  margin-bottom: 1.3rem;
  color: #fff;
  font-size: clamp(1.8rem, 5vw, 4.2rem) !important;
  line-height: 1.06 !important;
}

.news-row-list {
  display: grid;
  gap: 1rem;
}

.news-row-card {
  display: grid;
  grid-template-columns: minmax(210px, 0.36fr) minmax(0, 1fr);
  gap: clamp(1rem, 2.8vw, 2.2rem);
  align-items: center;
  padding: clamp(1rem, 2.5vw, 1.65rem);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.07), transparent 34%),
    linear-gradient(120deg, rgba(220, 38, 38, 0.08), transparent 34%),
    var(--ak-surface);
  box-shadow:
    0 22px 62px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.news-row-card:hover {
  border-color: rgba(125, 211, 252, 0.26);
  background:
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.1), transparent 34%),
    linear-gradient(120deg, rgba(220, 38, 38, 0.1), transparent 34%),
    var(--ak-surface-lift);
  transform: translateY(-1px);
}

.news-row-card .news-image-slot {
  min-height: 12rem;
  border-radius: 0.95rem;
}

.news-row-card h2 {
  margin-bottom: 0.75rem;
  color: #fff;
  font-size: clamp(1.25rem, 3vw, 2.1rem);
  font-weight: 900;
  line-height: 1.12;
  text-transform: uppercase;
}

.news-row-card p:not(.uppercase) {
  color: #a1a1aa;
  line-height: 1.75;
}

/* Mobile v5: section backgrounds finish in the exact color of the next block */
@media (max-width: 700px) {
  .home-hero {
    background: #030708 !important;
  }

  .home-hero .hero-to-content-fade {
    display: block !important;
    height: 11rem !important;
    background:
      linear-gradient(180deg, rgba(3, 7, 8, 0) 0%, rgba(3, 7, 8, 0.5) 42%, #030708 100%) !important;
  }

  .home-sponsors {
    margin-top: 0 !important;
    background:
      linear-gradient(180deg, #030708 0%, #06110f 42%, #040908 100%) !important;
  }

  .home-featured-builds {
    margin-top: 0 !important;
    background:
      linear-gradient(180deg, #040908 0%, #06110f 42%, #030708 100%) !important;
  }

  .home-news-mobile-swap {
    margin-top: 0 !important;
    background:
      linear-gradient(180deg, #030708 0%, #06110f 46%, #030708 100%) !important;
  }

  .home-calendar-section {
    margin-top: 0 !important;
    background:
      linear-gradient(180deg, #030708 0%, #07100e 54%, #120606 100%) !important;
  }

  .community-compact {
    margin-top: 0 !important;
    background:
      linear-gradient(180deg, #120606 0%, #dc2626 22%, #dc2626 100%) !important;
  }

  .home-sponsors::before,
  .home-sponsors::after,
  .home-featured-builds::before,
  .home-featured-builds::after,
  .home-news-mobile-swap::before,
  .home-news-mobile-swap::after,
  .home-calendar-section::before,
  .home-calendar-section::after,
  .community-compact::before {
    display: none !important;
  }

  .honda-news-page main {
    background:
      linear-gradient(180deg, #020405 0%, #06110f 48%, #030708 100%);
  }

  .news-featured-top {
    min-height: auto;
    padding: 6.5rem 1rem 3rem;
    background:
      radial-gradient(circle at 92% 24%, rgba(56, 189, 248, 0.1), transparent 34%),
      radial-gradient(circle at 8% 62%, rgba(220, 38, 38, 0.14), transparent 34%),
      linear-gradient(180deg, #020405 0%, #06110f 64%, #030708 100%);
  }

  .news-featured-top::after {
    height: 5rem;
    background:
      linear-gradient(180deg, rgba(3, 7, 8, 0), #030708 90%);
  }

  .news-featured-shell {
    width: 100%;
  }

  .news-feature-hero {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    min-height: auto;
    border-radius: 1rem !important;
  }

  .news-feature-copy {
    padding: 1rem !important;
  }

  .news-feature-copy h1 {
    max-width: 17rem !important;
    margin-inline: auto;
    margin-bottom: 0.85rem;
    text-align: center !important;
    font-size: clamp(1rem, 7vw, 1.45rem) !important;
    line-height: 1.22 !important;
  }

  .news-feature-copy > p:first-child,
  .news-feature-copy > p:not(:first-child),
  .news-feature-copy .detail-link {
    text-align: center;
    align-self: center;
  }

  .honda-news-page .news-image-slot {
    min-height: 9rem !important;
  }

  .news-list-section {
    padding-top: 2.2rem !important;
    background:
      linear-gradient(180deg, #030708 0%, #06110f 52%, #030708 100%) !important;
  }

  .news-row-list {
    gap: 0.85rem;
  }

  .news-row-card {
    grid-template-columns: 6.2rem 1fr !important;
    gap: 0.75rem !important;
    padding: 0.78rem !important;
    border-radius: 0.95rem !important;
  }

  .news-row-card .news-image-slot {
    min-height: 6.2rem !important;
    height: 6.2rem;
    border-radius: 0.72rem;
  }

  .news-row-card h2 {
    margin-bottom: 0.32rem;
    font-size: 0.82rem !important;
    line-height: 1.2 !important;
  }

  .news-row-card p.uppercase {
    margin-bottom: 0.32rem !important;
    font-size: 0.48rem !important;
    letter-spacing: 0.12em !important;
  }

  .news-row-card p:not(.uppercase) {
    display: none;
  }

  .news-row-card .detail-link {
    margin-top: 0.45rem;
    font-size: 0.5rem !important;
  }
}

@media (max-width: 420px) {
  .news-row-card {
    grid-template-columns: 5.4rem 1fr !important;
  }

  .news-row-card .news-image-slot {
    min-height: 5.4rem !important;
    height: 5.4rem;
  }
}

/* Final home joins + Honda News grid */
.news-feature-hero {
  position: relative;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 0;
}

.news-feature-hero > .news-image-slot {
  min-height: 32rem;
  border: 0;
  border-radius: 0;
}

.news-feature-hero > .news-feature-copy {
  position: relative;
  z-index: 1;
  margin: clamp(1rem, 2.2vw, 1.6rem);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 1rem;
  background:
    linear-gradient(145deg, rgba(3, 7, 8, 0.9), rgba(6, 17, 15, 0.78)),
    radial-gradient(circle at 0% 0%, rgba(220, 38, 38, 0.15), transparent 36%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
}

.news-row-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.news-row-card {
  grid-template-columns: 1fr;
  align-content: start;
}

.news-row-card .news-image-slot {
  min-height: 12.5rem;
}

@media (max-width: 700px) {
  .home-hero .hero-to-content-fade {
    background:
      linear-gradient(180deg, rgba(7, 16, 14, 0) 0%, rgba(7, 16, 14, 0.55) 42%, #07100e 100%) !important;
  }

  .home-sponsors {
    background:
      linear-gradient(180deg, #07100e 0%, #06110f 58%, #08120f 100%) !important;
  }

  .home-featured-builds {
    background:
      linear-gradient(180deg, #08120f 0%, #06110f 58%, #07100e 100%) !important;
  }

  .home-news-mobile-swap {
    background:
      linear-gradient(180deg, #07100e 0%, #06110f 58%, #06100f 100%) !important;
  }

  .home-calendar-section {
    background:
      linear-gradient(180deg, #06100f 0%, #07100e 56%, #190707 100%) !important;
  }

  .community-compact {
    background:
      linear-gradient(180deg, #190707 0%, #dc2626 30%, #dc2626 100%) !important;
  }

  .home-sponsors,
  .home-featured-builds,
  .home-news-mobile-swap,
  .home-calendar-section,
  .community-compact {
    border-top: 0 !important;
    border-bottom: 0 !important;
  }

  .news-featured-top {
    padding: 6.5rem 1rem 2.6rem;
  }

  .news-feature-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(8.8rem, 0.82fr) !important;
    min-height: 12.5rem;
    overflow: hidden;
  }

  .news-feature-hero > .news-image-slot {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 12.5rem !important;
  }

  .news-feature-hero > .news-feature-copy {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    justify-content: center;
    margin: 0.52rem;
    padding: 0.72rem !important;
    border-radius: 0.78rem;
    background:
      linear-gradient(145deg, rgba(2, 6, 8, 0.86), rgba(6, 17, 15, 0.72));
  }

  .news-feature-copy h1 {
    max-width: none !important;
    margin: 0 0 0.42rem !important;
    text-align: left !important;
    font-size: clamp(0.72rem, 4.8vw, 1rem) !important;
    line-height: 1.18 !important;
  }

  .news-feature-copy > p:first-child {
    margin-bottom: 0.35rem !important;
    text-align: left;
    align-self: flex-start;
    font-size: 0.42rem !important;
    letter-spacing: 0.1em !important;
  }

  .news-feature-copy > p:not(:first-child) {
    display: none;
  }

  .news-feature-copy .detail-link {
    align-self: flex-start;
    margin-top: 0.28rem;
    font-size: 0.46rem !important;
  }

  .news-row-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.52rem;
  }

  .news-row-card {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding: 0 !important;
    overflow: hidden;
  }

  .news-row-card .news-image-slot {
    min-height: 4.9rem !important;
    height: 4.9rem;
    border-radius: 0;
  }

  .news-row-card > div:last-child {
    padding: 0.55rem;
  }

  .news-row-card h2 {
    font-size: 0.58rem !important;
    line-height: 1.18 !important;
  }

  .news-row-card p.uppercase {
    font-size: 0.36rem !important;
    letter-spacing: 0.08em !important;
  }

  .news-row-card .detail-link {
    margin-top: 0.28rem;
    font-size: 0.38rem !important;
    letter-spacing: 0.08em !important;
  }
}

@media (max-width: 420px) {
  .news-feature-hero {
    grid-template-columns: minmax(0, 1fr) minmax(8rem, 0.86fr) !important;
  }

  .news-row-list {
    gap: 0.42rem;
  }

  .news-row-card > div:last-child {
    padding: 0.46rem;
  }
}

/* Final mobile home continuity + full-width Honda News featured */
.news-featured-top {
  min-height: clamp(30rem, 74vh, 46rem);
  padding: 0;
  background: #030708;
}

.news-featured-top::after {
  display: none;
}

.news-featured-shell {
  width: 100%;
  max-width: none;
  height: 100%;
}

.news-feature-hero {
  min-height: clamp(30rem, 74vh, 46rem);
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.news-feature-hero > .news-image-slot {
  position: absolute;
  inset: 0;
  min-height: 100%;
  border: 0;
  border-radius: 0;
}

.news-feature-hero > .news-image-slot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 4, 5, 0.08) 0%, rgba(2, 4, 5, 0.3) 42%, rgba(2, 4, 5, 0.84) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, transparent 28%, rgba(3, 7, 8, 0.96) 100%);
  pointer-events: none;
}

.news-feature-hero > .news-feature-copy {
  position: relative;
  z-index: 2;
  width: min(36rem, 42vw);
  min-height: clamp(30rem, 74vh, 46rem);
  margin: 0 7vw 0 auto;
  padding: clamp(7rem, 15vh, 11rem) 0 clamp(4rem, 9vh, 6rem) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.news-feature-copy h1 {
  max-width: 23rem;
  font-size: clamp(1.45rem, 3.6vw, 2.7rem) !important;
  line-height: 1.1 !important;
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

.news-feature-copy p:not(:first-child) {
  max-width: 24rem;
  font-size: clamp(0.95rem, 1.4vw, 1.08rem) !important;
  line-height: 1.75 !important;
  color: rgba(214, 225, 229, 0.86) !important;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.46);
}

.news-list-section {
  position: relative;
  background:
    linear-gradient(180deg, #030708 0%, #06110f 45%, #030708 100%) !important;
}

.news-list-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.7), transparent);
  box-shadow: 0 0 22px rgba(220, 38, 38, 0.32);
}

.news-row-card {
  min-height: 22rem;
  padding: 0;
  overflow: hidden;
}

.news-row-card .news-image-slot {
  min-height: 12rem;
  border: 0;
  border-radius: 0;
}

.news-row-card > div:last-child {
  padding: 1rem;
}

@media (max-width: 700px) {
  .home-hero,
  .home-sponsors,
  .home-featured-builds,
  .home-news-mobile-swap,
  .home-calendar-section {
    background-color: #07100e !important;
  }

  .home-sponsors,
  .home-featured-builds,
  .home-news-mobile-swap {
    background:
      radial-gradient(circle at 8% 20%, rgba(220, 38, 38, 0.075), transparent 32%),
      radial-gradient(circle at 94% 18%, rgba(56, 189, 248, 0.055), transparent 28%),
      #07100e !important;
  }

  .home-calendar-section {
    background:
      linear-gradient(180deg, #07100e 0%, #07100e 70%, #190707 100%) !important;
  }

  .community-compact {
    background:
      linear-gradient(180deg, #190707 0%, #dc2626 24%, #dc2626 100%) !important;
  }

  .home-hero .hero-to-content-fade {
    display: block !important;
    height: 12rem !important;
    background:
      linear-gradient(180deg, rgba(7, 16, 14, 0) 0%, rgba(7, 16, 14, 0.62) 48%, #07100e 100%) !important;
  }

  .home-sponsors::before,
  .home-sponsors::after,
  .home-featured-builds::before,
  .home-featured-builds::after,
  .home-news-mobile-swap::before,
  .home-news-mobile-swap::after,
  .home-calendar-section::before,
  .home-calendar-section::after,
  .community-compact::before,
  .community-compact::after {
    display: none !important;
    content: none !important;
  }

  .home-sponsors,
  .home-featured-builds,
  .home-news-mobile-swap,
  .home-calendar-section,
  .community-compact {
    margin-top: 0 !important;
    box-shadow: none !important;
  }

  .news-featured-top {
    min-height: 21rem;
    padding: 0;
  }

  .news-feature-hero {
    min-height: 21rem;
  }

  .news-feature-hero > .news-image-slot {
    min-height: 21rem !important;
  }

  .news-feature-hero > .news-image-slot::before {
    background:
      linear-gradient(90deg, rgba(2, 4, 5, 0.08) 0%, rgba(2, 4, 5, 0.18) 32%, rgba(2, 4, 5, 0.82) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.74) 0%, transparent 34%, rgba(3, 7, 8, 0.96) 100%);
  }

  .news-feature-hero > .news-feature-copy {
    width: min(11rem, 42vw);
    min-height: 21rem;
    margin: 0 1rem 0 auto;
    padding: 6.1rem 0 2.4rem !important;
  }

  .news-feature-copy h1 {
    max-width: 10rem !important;
    margin: 0 0 0.5rem !important;
    text-align: left !important;
    font-size: clamp(0.72rem, 4.7vw, 1rem) !important;
    line-height: 1.18 !important;
  }

  .news-feature-copy > p:first-child {
    margin-bottom: 0.38rem !important;
    text-align: left;
    align-self: flex-start;
    font-size: 0.42rem !important;
    letter-spacing: 0.1em !important;
  }

  .news-feature-copy > p:not(:first-child) {
    display: block;
    max-width: 10rem;
    font-size: 0.58rem !important;
    line-height: 1.45 !important;
  }

  .news-feature-copy .detail-link {
    align-self: flex-start;
    margin-top: 0.34rem;
    font-size: 0.42rem !important;
  }

  .news-list-section {
    padding-top: 2.1rem !important;
  }

  .news-row-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.48rem;
  }

  .news-row-card {
    min-height: 9.8rem;
    border-radius: 0.72rem !important;
  }

  .news-row-card .news-image-slot {
    min-height: 4.4rem !important;
    height: 4.4rem;
  }

  .news-row-card > div:last-child {
    padding: 0.46rem;
  }
}

/* Mobile-only final polish: smoother home joins + compact Honda News layout */
@media (max-width: 700px) {
  html,
  body {
    background: #07100e !important;
  }

  .home-hero,
  .home-sponsors,
  .home-featured-builds,
  .home-news-mobile-swap,
  .home-calendar-section {
    position: relative;
    margin-top: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
  }

  .home-hero {
    background: #07100e !important;
  }

  .home-hero .hero-to-content-fade {
    bottom: -1px !important;
    height: 8.5rem !important;
    background:
      linear-gradient(180deg, rgba(7, 16, 14, 0) 0%, rgba(7, 16, 14, 0.36) 50%, #07100e 100%) !important;
  }

  .home-sponsors,
  .home-featured-builds,
  .home-news-mobile-swap {
    background:
      radial-gradient(circle at 14% 45%, rgba(220, 38, 38, 0.045), transparent 31%),
      radial-gradient(circle at 92% 48%, rgba(56, 189, 248, 0.04), transparent 32%),
      linear-gradient(180deg, #07100e 0%, #07100e 20%, #08120f 58%, #07100e 100%) !important;
  }

  .home-calendar-section {
    background:
      radial-gradient(circle at 84% 42%, rgba(220, 38, 38, 0.06), transparent 34%),
      linear-gradient(180deg, #07100e 0%, #07100e 18%, #08120f 62%, #190707 100%) !important;
  }

  .community-compact {
    margin-top: 0 !important;
    background:
      linear-gradient(180deg, #190707 0%, #651514 36%, #dc2626 100%) !important;
  }

  .home-sponsors::before,
  .home-sponsors::after,
  .home-featured-builds::before,
  .home-featured-builds::after,
  .home-news-mobile-swap::before,
  .home-news-mobile-swap::after,
  .home-calendar-section::before,
  .home-calendar-section::after,
  .community-compact::before,
  .community-compact::after {
    display: none !important;
    content: none !important;
  }

  .honda-news-page {
    background: #030708 !important;
  }

  .honda-news-page main {
    background: #030708 !important;
  }

  .honda-news-page .news-featured-top {
    min-height: 18rem !important;
    padding: 0 !important;
    background: #030708 !important;
  }

  .honda-news-page .news-featured-shell {
    width: 100% !important;
    max-width: none !important;
  }

  .honda-news-page .news-feature-hero {
    display: flex !important;
    min-height: 18rem !important;
    border-radius: 0 !important;
    overflow: hidden !important;
  }

  .honda-news-page .news-feature-hero > .news-image-slot {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 18rem !important;
    border-radius: 0 !important;
  }

  .honda-news-page .news-feature-hero > .news-image-slot::before {
    background:
      linear-gradient(90deg, rgba(2, 4, 5, 0.88) 0%, rgba(2, 4, 5, 0.68) 46%, rgba(2, 4, 5, 0.2) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.76) 0%, transparent 42%, #030708 100%) !important;
  }

  .honda-news-page .news-feature-hero > .news-feature-copy {
    align-items: flex-start !important;
    justify-content: flex-end !important;
    width: min(14rem, 70vw) !important;
    min-height: 18rem !important;
    margin: 0 !important;
    padding: 5.8rem 1.15rem 1.7rem !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  .honda-news-page .news-feature-copy > p:first-child {
    align-self: flex-start !important;
    margin: 0 0 0.42rem !important;
    text-align: left !important;
    font-size: 0.42rem !important;
    letter-spacing: 0.12em !important;
  }

  .honda-news-page .news-feature-copy h1 {
    max-width: 9.5rem !important;
    margin: 0 0 0.48rem !important;
    text-align: left !important;
    font-size: clamp(0.52rem, 3.25vw, 0.72rem) !important;
    line-height: 1.18 !important;
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.66) !important;
  }

  .honda-news-page .news-feature-copy > p:not(:first-child) {
    display: block !important;
    max-width: 10.5rem !important;
    margin: 0 !important;
    text-align: left !important;
    font-size: 0.54rem !important;
    line-height: 1.45 !important;
    color: rgba(226, 232, 240, 0.82) !important;
  }

  .honda-news-page .news-feature-copy .detail-link {
    display: none !important;
  }

  .honda-news-page .news-list-section {
    margin-top: -1px !important;
    padding-top: 0.85rem !important;
    padding-bottom: 3rem !important;
    background:
      linear-gradient(180deg, #030708 0%, #06110f 50%, #030708 100%) !important;
  }

  .honda-news-page .news-list-section::before {
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.78), transparent) !important;
    box-shadow: 0 0 18px rgba(220, 38, 38, 0.36) !important;
  }

  .honda-news-page .news-list-section > .max-w-7xl {
    padding-inline: 0.85rem !important;
  }

  .honda-news-page .news-row-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.7rem !important;
  }

  .honda-news-page .news-row-card {
    display: flex !important;
    flex-direction: column !important;
    aspect-ratio: 1 / 1 !important;
    min-height: 0 !important;
    padding: 0 !important;
    border-radius: 0.82rem !important;
    background:
      radial-gradient(circle at 100% 0%, rgba(220, 38, 38, 0.09), transparent 38%),
      #07100e !important;
  }

  .honda-news-page .news-row-card .news-image-slot {
    flex: 0 0 47% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    border-radius: 0 !important;
  }

  .honda-news-page .news-row-card > div:last-child {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 0.55rem !important;
  }

  .honda-news-page .news-row-card p.uppercase {
    margin-bottom: 0.22rem !important;
    font-size: 0.34rem !important;
    letter-spacing: 0.08em !important;
  }

  .honda-news-page .news-row-card h2 {
    margin: 0 !important;
    font-size: clamp(0.56rem, 3.6vw, 0.68rem) !important;
    line-height: 1.15 !important;
  }

  .honda-news-page .news-row-card p:not(.uppercase) {
    display: none !important;
  }

  .honda-news-page .news-row-card .detail-link {
    margin-top: 0.3rem !important;
    font-size: 0.38rem !important;
    letter-spacing: 0.08em !important;
  }
}

/* Mobile consolidated cleanup: home joins, centered subpage heroes, loader */
@media (max-width: 700px) {
  html,
  body {
    background: #07100e !important;
  }

  body.home-page {
    background:
      radial-gradient(circle at -14% 34%, rgba(220, 38, 38, 0.075), transparent 34rem),
      radial-gradient(circle at 112% 40%, rgba(56, 189, 248, 0.068), transparent 34rem),
      linear-gradient(90deg, rgba(24, 7, 7, 0.38) 0%, #07100e 26%, #081514 50%, #07100e 74%, rgba(4, 22, 28, 0.36) 100%) !important;
    background-attachment: fixed !important;
  }

  .loading-v3 {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    min-height: 100svh !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
    background: #000 !important;
  }

  .loading-v3-lockup {
    position: absolute !important;
    inset: 0 !important;
    width: auto !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: auto auto !important;
    grid-template-rows: auto auto !important;
    align-content: center !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    transform: none !important;
  }

  .loading-v3-logo {
    width: clamp(46px, 13vw, 62px) !important;
    margin-right: 0.78rem !important;
    transform: translateX(86px) scale(0.88);
  }

  .loading-v3-word {
    font-size: clamp(2rem, 12vw, 3.4rem) !important;
  }

  .loading-v3-subtitle {
    font-size: 0.55rem !important;
    letter-spacing: 0.14em !important;
  }

  @keyframes loadingV3LogoIn {
    to {
      opacity: 1;
      transform: translateX(86px) scale(1);
    }
  }

  .home-hero,
  .home-sponsors,
  .home-featured-builds,
  .home-news-mobile-swap,
  .home-calendar-section {
    position: relative !important;
    margin-top: -1px !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    background-color: #07100e !important;
    overflow: hidden !important;
  }

  .home-sponsors,
  .home-featured-builds,
  .home-news-mobile-swap,
  .home-calendar-section {
    background:
      radial-gradient(circle at 8% 42%, rgba(220, 38, 38, 0.045), transparent 38%),
      radial-gradient(circle at 92% 44%, rgba(56, 189, 248, 0.045), transparent 40%),
      linear-gradient(90deg, rgba(32, 7, 7, 0.62) 0%, #07100e 24%, #081514 50%, #07100e 76%, rgba(4, 27, 34, 0.58) 100%) !important;
  }

  body.home-page .home-sponsors,
  body.home-page .home-featured-builds,
  body.home-page .home-news-mobile-swap,
  body.home-page .home-calendar-section {
    margin-top: -2px !important;
    background: transparent !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.014),
      inset 0 20px 28px rgba(0, 0, 0, 0.045) !important;
  }

  body.home-page .home-hero .hero-to-content-fade {
    left: 50% !important;
    right: auto !important;
    bottom: -3px !important;
    z-index: 4 !important;
    display: block !important;
    width: 100vw !important;
    max-width: none !important;
    height: 10rem !important;
    transform: translateX(-50%) !important;
    background:
      radial-gradient(circle at 0% 100%, rgba(220, 38, 38, 0.04), transparent 54%),
      radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.035), transparent 54%),
      linear-gradient(180deg, rgba(7, 16, 14, 0) 0%, rgba(7, 16, 14, 0.34) 50%, #07100e 100%) !important;
  }

  body.home-page .home-sponsors {
    padding-bottom: 1.75rem !important;
  }

  body.home-page .home-featured-builds,
  body.home-page .home-news-mobile-swap,
  body.home-page .home-calendar-section {
    padding-top: 2.25rem !important;
  }

  .community-compact {
    margin-top: -1px !important;
    background:
      linear-gradient(180deg, #190707 0%, #651514 34%, #dc2626 100%) !important;
  }

  .home-hero .hero-to-content-fade {
    display: block !important;
    bottom: -1px !important;
    height: 8.5rem !important;
    background:
      linear-gradient(180deg, rgba(7, 16, 14, 0) 0%, rgba(7, 16, 14, 0.44) 48%, #07100e 100%) !important;
  }

  .home-sponsors::before,
  .home-sponsors::after,
  .home-featured-builds::before,
  .home-featured-builds::after,
  .home-news-mobile-swap::before,
  .home-news-mobile-swap::after,
  .home-calendar-section::before,
  .home-calendar-section::after,
  .community-compact::before,
  .community-compact::after {
    display: none !important;
    content: none !important;
  }

  .home-sponsors > *,
  .home-featured-builds > *,
  .home-news-mobile-swap > *,
  .home-calendar-section > *,
  .community-compact > * {
    position: relative;
    z-index: 1;
  }

  main > .media-hero,
  main > .page-hero-blend,
  .upcoming-events-page main > .media-hero,
  .pravilnik-page main > .page-hero-blend,
  .in-memoriam-page main > .page-hero-blend {
    min-height: 48svh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 6.2rem 0 3.2rem !important;
    text-align: center !important;
  }

  main > .media-hero .relative.z-10,
  main > .page-hero-blend .relative.z-10,
  .upcoming-events-page main > .media-hero .relative.z-10,
  .pravilnik-page main > .page-hero-blend .relative.z-10,
  .in-memoriam-page main > .page-hero-blend .relative.z-10 {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: none !important;
    margin: auto !important;
    padding: 0 1rem !important;
    text-align: center !important;
    translate: none !important;
    transform: translate3d(0, 0, 0) !important;
    --tw-translate-x: 0 !important;
    --tw-translate-y: 0 !important;
  }

  .upcoming-events-page main > .media-hero h1,
  .pravilnik-page main > .page-hero-blend h1,
  .in-memoriam-page main > .page-hero-blend h1,
  .upcoming-events-page main > .media-hero p,
  .pravilnik-page main > .page-hero-blend p,
  .in-memoriam-page main > .page-hero-blend p {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .upcoming-events-page main > .media-hero h1.media-page-title,
  .pravilnik-page main > .page-hero-blend h1.pravilnik-hero-title,
  .in-memoriam-page main > .page-hero-blend h1.in-memoriam-title {
    display: block !important;
    align-self: center !important;
    width: 100% !important;
    max-width: min(21rem, calc(100vw - 2rem)) !important;
    margin-inline: auto !important;
    text-align: center !important;
    transform: scaleX(0.84) !important;
    transform-origin: center center !important;
  }

  footer.bg-black,
  .home-footer {
    padding-top: 2.1rem !important;
    padding-bottom: 2.1rem !important;
  }

  footer > .max-w-7xl {
    gap: 0.8rem !important;
  }

  footer > .max-w-7xl > div:not(:first-child) h4 {
    margin-bottom: 0.45rem !important;
    font-size: 0.5rem !important;
    letter-spacing: 0.12em !important;
  }

  footer > .max-w-7xl > div:not(:first-child) .space-y-4 {
    letter-spacing: 0.1em !important;
  }

  footer > .max-w-7xl > div:not(:first-child) .space-y-4 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0.16rem !important;
  }

  footer > .max-w-7xl > div:not(:first-child) p,
  footer > .max-w-7xl > div:not(:first-child) a {
    font-size: 0.58rem !important;
    line-height: 1.45 !important;
  }

  footer > .border-t {
    margin-top: 1rem !important;
    padding-top: 0.75rem !important;
    font-size: 0.5rem !important;
    letter-spacing: 0.07em !important;
  }
}

/* Garage showroom */
.garage-page .garage-site-header {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.26) 70%, transparent) !important;
  border-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: background 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}

.garage-page .garage-site-header.is-scrolled,
.garage-page .garage-site-header.mobile-open {
  background: linear-gradient(105deg, rgba(2, 6, 8, 0.92), rgba(0, 0, 0, 0.84) 54%, rgba(8, 47, 73, 0.2)) !important;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.34) !important;
  backdrop-filter: blur(16px) saturate(1.05) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.05) !important;
}

.garage-page .garage-site-header > div {
  padding-top: 0.9rem !important;
  padding-bottom: 0.9rem !important;
}

.garage-page .garage-site-header::after,
.garage-showroom-track::before,
.garage-showroom-car.garage-car-card::before,
.garage-showroom-car.garage-car-card::after {
  content: none !important;
  display: none !important;
}

.garage-page main {
  background: #030708;
}

body.garage-page main > .garage-showroom-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 0 !important;
  background:
    radial-gradient(circle at 8% 38%, rgba(120, 23, 22, 0.18), transparent 30rem),
    radial-gradient(circle at 92% 38%, rgba(14, 78, 91, 0.2), transparent 32rem),
    linear-gradient(180deg, #050807 0%, #030708 100%) !important;
}

.garage-showroom-section::before,
.garage-showroom-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 0;
  pointer-events: none;
}

.garage-showroom-section::before {
  top: 0;
  height: 34rem;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.15), rgba(148, 163, 184, 0.04) 32%, transparent 64%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 82%);
}

.garage-showroom-section::after {
  bottom: 0;
  height: 14rem;
  background: linear-gradient(180deg, transparent, rgba(3, 7, 8, 0.72) 52%, #030708 100%);
}

.garage-showroom-shell {
  position: relative;
  z-index: 1;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.garage-showroom-shell::before,
.garage-showroom-shell::after {
  content: none !important;
  display: none !important;
}

.garage-showroom-frame {
  position: relative;
  isolation: isolate;
  min-height: clamp(49rem, 100vh, 64rem) !important;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 14%, rgba(226, 232, 240, 0.075), transparent 26rem),
    radial-gradient(ellipse at 50% 75%, rgba(125, 211, 252, 0.052), transparent 34rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.014), rgba(3, 7, 8, 0.72) 100%) !important;
  box-shadow: none !important;
}

.garage-showroom-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 2%, rgba(255, 255, 255, 0.11), transparent 30rem),
    radial-gradient(ellipse at 27% 16%, rgba(239, 68, 68, 0.055), transparent 24rem),
    radial-gradient(ellipse at 75% 16%, rgba(125, 211, 252, 0.058), transparent 25rem);
  opacity: 0.86;
}

.garage-showroom-frame::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: clamp(7.1rem, 11.8vh, 10.2rem);
  z-index: 1;
  width: min(80rem, 84vw);
  height: clamp(8.4rem, 14vw, 12.4rem);
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(235, 245, 255, 0.24) 0%, rgba(148, 163, 184, 0.14) 18%, rgba(2, 8, 11, 0.82) 46%, transparent 70%),
    radial-gradient(ellipse at center, transparent 0 42%, rgba(226, 232, 240, 0.14) 45%, rgba(226, 232, 240, 0.05) 51%, transparent 62%);
  box-shadow:
    0 0 78px rgba(148, 163, 184, 0.14),
    0 0 48px rgba(56, 189, 248, 0.08),
    inset 0 0 44px rgba(255, 255, 255, 0.07);
  transform: translateX(-50%) perspective(720px) rotateX(62deg);
  transform-origin: bottom center;
}

.garage-showroom-heading {
  position: absolute;
  top: clamp(6.35rem, 13vh, 8.6rem) !important;
  left: 50%;
  z-index: 6;
  width: calc(100% - 2rem);
  max-width: 72rem;
  text-align: center;
  transform: translateX(-50%);
  pointer-events: none;
}

.garage-showroom-heading p {
  margin-bottom: 0.56rem !important;
  color: rgb(239, 68, 68);
  font-size: 0.58rem !important;
  font-weight: 900;
  letter-spacing: 0.38em !important;
  line-height: 1.4;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(220, 38, 38, 0.22);
}

.garage-showroom-heading .garage-hero-title {
  width: 100%;
  margin-inline: auto;
  color: #fff;
  white-space: nowrap;
  font-size: clamp(0.78rem, 1.55vw, 1.32rem) !important;
  line-height: 1.08 !important;
  transform: scaleX(0.78) !important;
  transform-origin: center;
  text-shadow:
    0 18px 46px rgba(0, 0, 0, 0.78),
    0 0 24px rgba(255, 255, 255, 0.1);
}

.garage-showroom-track {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: inherit;
  gap: 0 !important;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 !important;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.garage-showroom-track::-webkit-scrollbar {
  display: none;
}

.garage-showroom-car.garage-car-card {
  position: relative;
  flex: 0 0 100% !important;
  min-height: inherit !important;
  display: block !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: hidden;
  background: transparent !important;
  box-shadow: none !important;
  scroll-snap-align: center;
}

.garage-showroom-car.garage-car-card,
.garage-showroom-car.garage-car-card:hover,
.garage-showroom-car.garage-car-card:focus,
.garage-showroom-car.garage-car-card:focus-visible,
.garage-showroom-car.garage-car-card.is-open-card {
  transform: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.garage-car-stage {
  position: absolute;
  inset: 0;
  min-height: 0;
  overflow: visible;
  background: transparent !important;
}

.garage-car-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: clamp(11.6rem, 17.8vh, 14.8rem);
  z-index: 3;
  width: min(72rem, 78vw);
  height: clamp(3.2rem, 6vw, 5.2rem);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.22), rgba(148, 163, 184, 0.12) 30%, rgba(56, 189, 248, 0.05) 52%, transparent 76%);
  filter: blur(8px);
  opacity: 0.78;
  transform: translateX(-50%);
}

.garage-car-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: clamp(9.1rem, 14vh, 12.1rem);
  z-index: 2;
  width: min(86rem, 86vw);
  height: clamp(7.2rem, 13vw, 11rem);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.016) 0 35%, transparent 43%, rgba(226, 232, 240, 0.12) 48%, rgba(226, 232, 240, 0.04) 55%, transparent 66%);
  transform: translateX(-50%) perspective(650px) rotateX(64deg);
  transform-origin: bottom center;
}

.garage-podium {
  display: none !important;
}

.garage-showroom-image {
  position: absolute !important;
  left: 50% !important;
  top: auto !important;
  bottom: clamp(12.6rem, 19.2vh, 15.9rem) !important;
  z-index: 4;
  width: min(72rem, 76vw) !important;
  height: clamp(17rem, 39vh, 29rem) !important;
  min-height: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible;
  background: transparent !important;
  transform: translateX(-50%) !important;
}

.garage-showroom-image::after {
  content: "Transparent car PNG";
  position: absolute;
  inset: 0;
  left: 0 !important;
  top: 0 !important;
  display: grid;
  place-items: center;
  color: rgba(244, 244, 245, 0.22);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(255, 255, 255, 0.16);
  transform: none !important;
}

.garage-showroom-image.has-car-image::after,
.garage-showroom-image:has(img)::after {
  content: none !important;
  display: none !important;
}

.garage-showroom-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center bottom;
  border-radius: 0;
  color: transparent;
  -webkit-mask-image: radial-gradient(ellipse at 50% 60%, #000 0 60%, rgba(0, 0, 0, 0.9) 76%, transparent 100%);
  mask-image: radial-gradient(ellipse at 50% 60%, #000 0 60%, rgba(0, 0, 0, 0.9) 76%, transparent 100%);
  filter:
    saturate(0.96)
    contrast(1.04)
    brightness(0.98)
    drop-shadow(0 24px 34px rgba(0, 0, 0, 0.62))
    drop-shadow(0 0 24px rgba(226, 232, 240, 0.08));
}

@media (min-width: 701px) {
  .garage-showroom-image.has-car-image,
  .garage-showroom-image:has(img) {
    bottom: clamp(7.4rem, 10.6vh, 9.6rem) !important;
    z-index: 4;
    width: min(92rem, 92vw) !important;
    height: clamp(36rem, 62vh, 48rem) !important;
    overflow: visible;
  }

  .garage-showroom-image.has-car-image img,
  .garage-showroom-image:has(img) img {
    position: absolute;
    left: 50%;
    bottom: calc(-2rem - var(--ak-car-bottom-gap, 0px));
    width: min(72.5rem, 72.5vw);
    height: auto;
    max-width: none;
    object-fit: contain;
    object-position: center bottom;
    opacity: 0.96;
    transform: translateX(calc(-50% - var(--ak-car-x-offset, 0px))) scale(var(--ak-car-transform-scale, 0.86));
    transform-origin: center bottom;
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%),
      linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
    mask-image:
      linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%),
      linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    filter:
      saturate(0.92)
      contrast(1.06)
      brightness(0.92)
      drop-shadow(0 26px 34px rgba(0, 0, 0, 0.66))
      drop-shadow(0 0 26px rgba(226, 232, 240, 0.08));
  }
}

.garage-showroom-info {
  position: absolute;
  left: clamp(1rem, 4vw, 3.2rem);
  right: clamp(1rem, 4vw, 3.2rem);
  bottom: clamp(1.5rem, 3.3vw, 2.8rem) !important;
  z-index: 5;
  display: block;
  padding: clamp(0.8rem, 1.6vw, 1.2rem) 0 0;
  border: 0;
  background: linear-gradient(180deg, rgba(3, 7, 8, 0), rgba(3, 7, 8, 0.34) 28%, rgba(3, 7, 8, 0.74) 100%);
  text-align: center;
}

.garage-showroom-info > p,
.garage-showroom-info .detail-link {
  display: none !important;
}

.garage-showroom-info h2 {
  display: block;
  width: min(100%, 36rem);
  margin: 0 auto 1rem !important;
  color: #bb1d22 !important;
  font-size: clamp(0.95rem, 2vw, 1.65rem) !important;
  line-height: 1.08 !important;
  text-shadow:
    0 1px 0 rgba(70, 8, 10, 0.96),
    0 -1px 0 rgba(255, 145, 145, 0.14),
    0 0 1px rgba(255, 210, 210, 0.25),
    0 9px 24px rgba(0, 0, 0, 0.8),
    0 0 15px rgba(187, 29, 34, 0.3),
    0 0 32px rgba(127, 29, 29, 0.2) !important;
}

.garage-showroom-info em {
  font-style: normal;
}

.garage-showroom-info .garage-specs {
  display: grid;
  width: min(100%, 46rem);
  margin-inline: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.garage-showroom-info .garage-specs span {
  display: block;
  min-height: 3.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.85rem;
  padding: 0.72rem 0.85rem;
  color: rgba(244, 244, 245, 0.9);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  background: rgba(1, 5, 7, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 15px 36px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px);
}

.garage-showroom-info .garage-specs span b {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(239, 68, 68, 0.9);
  font-size: 0.53rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.garage-showroom-nav {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: grid;
  width: 4.6rem;
  height: 4.6rem;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(0, 0, 0, 0.24);
  box-shadow:
    0 0 30px rgba(220, 38, 38, 0.11),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  font-size: 3.65rem;
  line-height: 1;
  opacity: 0.5;
  transform: translateY(-50%);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.garage-showroom-nav:hover {
  opacity: 0.78;
}

.garage-showroom-prev {
  left: clamp(0.9rem, 2vw, 1.7rem);
}

.garage-showroom-next {
  right: clamp(0.9rem, 2vw, 1.7rem);
}

body.garage-transition-out::before,
body.garage-page.garage-arriving::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 56%, rgba(220, 38, 38, 0.16), transparent 28rem),
    radial-gradient(circle at 50% 72%, rgba(125, 211, 252, 0.08), transparent 30rem),
    rgba(3, 7, 8, 0.94);
}

body.garage-transition-out::before {
  animation: garagePageExit 720ms ease forwards;
}

body.garage-page.garage-arriving::before {
  animation: garagePageEnterOverlay 1120ms ease forwards;
}

body.garage-page.garage-arriving .garage-showroom-frame {
  animation: showroomLoadIn 1280ms cubic-bezier(0.16, 0.82, 0.18, 1) both;
}

@keyframes garagePageExit {
  from {
    opacity: 0;
    transform: scale(1.02);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes garagePageEnterOverlay {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes showroomLoadIn {
  from {
    opacity: 0.32;
    filter: blur(8px) brightness(0.72);
    transform: translateY(18px) scale(1.018);
  }

  to {
    opacity: 1;
    filter: blur(0) brightness(1);
    transform: translateY(0) scale(1);
  }
}

.garage-detail-stack {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, 1540px);
  margin: clamp(0.65rem, 1.8vw, 1.35rem) auto 0 !important;
  padding-inline: clamp(1rem, 4vw, 3.2rem);
}

.garage-detail-stack::before {
  content: none !important;
  display: none !important;
}

.garage-detail-stack .detail-panel.is-open,
.garage-detail-stack .detail-panel:target {
  max-height: max(var(--panel-open-height, 1800px), 2200px);
  margin-top: 0 !important;
  margin-bottom: clamp(4rem, 7vw, 6rem) !important;
  border: 0 !important;
  border-radius: clamp(1rem, 2vw, 1.4rem) !important;
  padding: clamp(1.8rem, 3.6vw, 3.3rem) clamp(1.2rem, 4.6vw, 4.5rem) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(220, 38, 38, 0.07), transparent 32%),
    radial-gradient(circle at 88% 0%, rgba(56, 189, 248, 0.055), transparent 36%),
    linear-gradient(180deg, rgba(5, 12, 12, 0.92), rgba(7, 17, 16, 0.78) 42%, rgba(3, 7, 8, 0.96) 100%) !important;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.36);
}

.garage-detail-stack .detail-panel-header {
  display: flex !important;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.3rem, 2.4vw, 2rem);
}

.garage-detail-stack .detail-panel-header > div {
  display: block !important;
}

.garage-detail-stack .detail-panel-header p {
  margin-bottom: 0.45rem;
  font-size: 0.58rem;
  letter-spacing: 0.26em;
}

.garage-detail-stack .detail-panel-header h2 {
  color: #f4f4f5;
  font-size: clamp(1.65rem, 3vw, 3rem);
  line-height: 1.05 !important;
}

.garage-detail-stack .detail-panel-header a {
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.045);
}

.garage-detail-stack .story-detail-body {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  gap: clamp(1.5rem, 3.4vw, 3.4rem);
  max-width: 1180px;
  margin-inline: auto;
}

.garage-detail-stack .story-detail-copy {
  max-width: 76ch;
  color: rgba(244, 244, 245, 0.84);
  font-size: clamp(1.02rem, 1.18vw, 1.15rem);
  line-height: 1.95;
}

.garage-detail-stack .story-detail-copy::before {
  content: "Build priča";
  margin-bottom: 1rem;
  font-size: 0.64rem;
  letter-spacing: 0.28em;
}

.garage-detail-stack .story-image-stack {
  align-self: stretch;
}

.garage-detail-stack .detail-image-slot {
  min-height: clamp(11rem, 18vw, 16rem);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.06), transparent 38%),
    rgba(255, 255, 255, 0.026);
}

.garage-video-slot::after {
  content: "Video";
}

.garage-detail-close-bottom {
  display: none;
}

@media (max-width: 700px) {
  .garage-page .garage-site-header > div {
    padding-top: 0.8rem !important;
    padding-bottom: 0.8rem !important;
  }

  body.garage-page main > .garage-showroom-section {
    min-height: auto !important;
    padding: 0 !important;
    background:
      radial-gradient(circle at 0% 42%, rgba(120, 23, 22, 0.18), transparent 16rem),
      radial-gradient(circle at 100% 42%, rgba(14, 78, 91, 0.19), transparent 17rem),
      linear-gradient(180deg, #050807 0%, #030708 100%) !important;
  }

  .garage-showroom-section::after {
    height: 2.8rem !important;
    background: linear-gradient(180deg, rgba(3, 7, 8, 0), #030708 100%) !important;
  }

  .garage-showroom-section::before {
    height: 18rem;
  }

  .garage-showroom-frame {
    min-height: 42rem !important;
  }

  .garage-showroom-frame::before {
    opacity: 0.72;
  }

  .garage-showroom-frame::after {
    bottom: 6.6rem;
    width: 112vw;
    height: 8.6rem;
    transform: translateX(-50%) perspective(520px) rotateX(64deg);
  }

  .garage-car-stage::before {
    bottom: 10.9rem;
    width: 92vw;
    height: 3.1rem;
    filter: blur(7px);
    opacity: 0.7;
  }

  .garage-car-stage::after {
    bottom: 8.7rem;
    width: 104vw;
    height: 7rem;
    transform: translateX(-50%) perspective(520px) rotateX(65deg);
  }

  .garage-showroom-heading {
    top: 5.9rem !important;
    width: calc(100% - 0.7rem) !important;
    max-width: 25rem;
  }

  .garage-showroom-heading p {
    margin-bottom: 0.42rem !important;
    font-size: 0.48rem !important;
    letter-spacing: 0.28em !important;
  }

  .garage-showroom-heading .garage-hero-title {
    max-width: 100% !important;
    font-size: clamp(0.38rem, 3.2vw, 0.58rem) !important;
    transform: scaleX(0.68) !important;
  }

  .garage-showroom-nav {
    display: none;
  }

  .garage-showroom-image {
    bottom: 12.1rem !important;
    width: 96vw !important;
    height: 16.2rem !important;
  }

  .garage-showroom-image::after {
    font-size: 0.52rem;
    letter-spacing: 0.2em;
  }

  .garage-showroom-info {
    left: 0.72rem !important;
    right: 0.72rem !important;
    bottom: 1rem !important;
  }

  .garage-showroom-info h2 {
    width: 100%;
    margin-bottom: 0.8rem !important;
    font-size: 0.75rem !important;
  }

  .garage-showroom-info .garage-specs {
    gap: 0.45rem;
  }

  .garage-showroom-info .garage-specs span {
    min-height: 3.25rem;
    padding: 0.5rem 0.34rem;
    border-radius: 0.68rem;
    font-size: 0.54rem;
    letter-spacing: 0.02em;
  }

  .garage-showroom-info .garage-specs span b {
    min-height: 1.9em;
    font-size: 0.36rem;
  }

  .garage-detail-stack {
    width: 100%;
    margin-top: 0 !important;
    padding-inline: 0.8rem;
  }

  .garage-detail-stack:not(:has(.detail-panel.is-open)):not(:has(.detail-panel:target)) {
    display: block !important;
  }

  .garage-detail-stack .detail-panel {
    max-height: 0;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scaleY(0.965);
    transform-origin: top center;
    transition:
      max-height 5600ms cubic-bezier(0.12, 0.86, 0.12, 1),
      opacity 1700ms ease,
      visibility 1700ms ease,
      margin 3600ms ease,
      padding 4400ms cubic-bezier(0.12, 0.86, 0.12, 1),
      transform 4400ms cubic-bezier(0.12, 0.86, 0.12, 1);
  }

  .garage-detail-stack .detail-panel.is-open,
  .garage-detail-stack .detail-panel:target {
    display: block !important;
    max-height: var(--panel-open-height, 1800px);
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scaleY(1);
    margin-bottom: 2.7rem !important;
    padding: 1rem 0.78rem !important;
    border-radius: 1rem !important;
  }

  .garage-detail-stack .detail-panel-header {
    align-items: flex-start;
    margin-bottom: 0.78rem;
  }

  .garage-detail-stack .detail-panel-header > a {
    display: none !important;
  }

  .garage-detail-stack .detail-panel-header h2 {
    font-size: 1.28rem;
  }

  .garage-detail-stack .story-detail-body {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 3.25rem !important;
    gap: 0.34rem;
    align-items: start;
    max-width: 100%;
    overflow: hidden;
  }

  .garage-detail-stack .story-detail-body.media-left {
    grid-template-columns: 3.25rem minmax(0, 1fr) !important;
  }

  .garage-detail-stack .story-detail-body.media-left .story-image-stack {
    grid-column: 1;
    grid-row: 1;
  }

  .garage-detail-stack .story-detail-body.media-left .story-detail-copy {
    grid-column: 2;
    grid-row: 1;
  }

  .garage-detail-stack .story-detail-copy {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 0.78rem;
    line-height: 1.62;
  }

  .garage-detail-stack .story-detail-copy::before {
    margin-bottom: 0.58rem;
    font-size: 0.46rem;
    letter-spacing: 0.18em;
  }

  .garage-detail-stack .story-detail-copy p + p {
    margin-top: 0.58rem;
  }

  .garage-detail-stack .story-image-stack {
    width: 3.25rem;
    max-width: 3.25rem;
    min-width: 0;
    align-self: start;
    display: grid;
    gap: 0.32rem;
    overflow: hidden;
  }

  .garage-detail-stack .detail-image-slot {
    width: 100% !important;
    height: 3.25rem !important;
    min-width: 0 !important;
    min-height: 3.25rem !important;
    aspect-ratio: 1 / 1;
    border-radius: 0.48rem !important;
  }

  .garage-detail-stack .garage-video-slot {
    height: 3.25rem !important;
    min-height: 3.25rem !important;
  }

  .garage-detail-stack .detail-image-slot::after {
    font-size: 0.34rem;
    letter-spacing: 0.04em;
  }

  .garage-detail-stack .story-detail-copy img,
  .garage-detail-stack .story-detail-copy figure,
  .garage-detail-stack .story-detail-copy .wp-block-image,
  .garage-detail-stack .story-detail-copy .garage-inline-media {
    width: 3rem;
    height: 3rem;
    max-width: 38%;
    margin: 0.06rem 0 0.32rem 0.32rem;
    border-radius: 0.45rem;
    object-fit: cover;
  }

  .garage-detail-stack .story-detail-copy .alignleft,
  .garage-detail-stack .story-detail-copy .garage-inline-media.is-left {
    float: left;
    margin: 0.06rem 0.32rem 0.32rem 0;
  }

  .garage-detail-stack .story-detail-copy .alignright,
  .garage-detail-stack .story-detail-copy .garage-inline-media.is-right {
    float: right;
    margin: 0.06rem 0 0.32rem 0.32rem;
  }

  .garage-detail-close-bottom {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin-top: 0.95rem;
    border-radius: 999px;
    padding: 0.72rem 1rem;
    color: rgba(244, 244, 245, 0.78);
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-decoration: none;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.045);
  }

  body.garage-page footer.bg-black {
    margin-top: -1px !important;
    background: #030708 !important;
    border-top-color: rgba(255, 255, 255, 0.045) !important;
  }

  body.news-single-page main > section.bg-black {
    padding: 1.7rem 1rem 3rem !important;
    background: #030708 !important;
  }

  body.news-single-page .news-article {
    max-width: none !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.news-single-page .news-article-meta,
  body.news-single-page .news-article > .news-image-slot,
  body.news-single-page .news-article > .detail-link {
    display: none !important;
  }

  body.news-single-page .news-article [data-wp-field="post_content"] {
    color: rgba(244, 244, 245, 0.82);
    font-size: 0.88rem;
    line-height: 1.78;
  }

  body.news-single-page .news-article [data-wp-field="post_content"] p + p {
    margin-top: 0.82rem;
  }

  body.news-single-page .news-article [data-wp-field="post_content"] img,
  body.news-single-page .news-article [data-wp-field="post_content"] figure,
  body.news-single-page .news-article [data-wp-field="post_content"] .wp-block-image,
  body.news-single-page .news-article [data-wp-field="post_content"] .news-inline-media {
    width: 3rem;
    height: 3rem;
    max-width: 38%;
    margin: 0.06rem 0 0.34rem 0.34rem;
    border-radius: 0.48rem;
    object-fit: cover;
  }

  body.news-single-page .news-article [data-wp-field="post_content"] .alignleft,
  body.news-single-page .news-article [data-wp-field="post_content"] .news-inline-media.is-left {
    float: left;
    margin: 0.06rem 0.34rem 0.34rem 0;
  }

  body.news-single-page .news-article [data-wp-field="post_content"] .alignright,
  body.news-single-page .news-article [data-wp-field="post_content"] .news-inline-media.is-right {
    float: right;
    margin: 0.06rem 0 0.34rem 0.34rem;
  }

  @media (max-width: 380px) {
    .garage-detail-stack .detail-panel.is-open,
    .garage-detail-stack .detail-panel:target {
      padding: 0.9rem 0.66rem !important;
    }

    .garage-detail-stack .story-detail-body {
      grid-template-columns: minmax(0, 1fr) 2.9rem !important;
      gap: 0.28rem;
    }

    .garage-detail-stack .story-detail-body.media-left {
      grid-template-columns: 2.9rem minmax(0, 1fr) !important;
    }

    .garage-detail-stack .story-detail-copy {
      font-size: 0.74rem;
      line-height: 1.58;
    }

    .garage-detail-stack .story-image-stack {
      width: 2.9rem;
      max-width: 2.9rem;
    }

    .garage-detail-stack .detail-image-slot {
      height: 2.9rem !important;
      min-height: 2.9rem !important;
    }
  }

  .honda-tech-page .tech-learning-intro {
    display: none !important;
  }

  .honda-tech-page .tech-list {
    margin-top: 0 !important;
  }

  body.upcoming-events-page #events-list {
    padding: 2.4rem 0.85rem 3rem !important;
    background:
      radial-gradient(circle at 0% 18%, rgba(220, 38, 38, 0.075), transparent 15rem),
      radial-gradient(circle at 100% 28%, rgba(56, 189, 248, 0.055), transparent 16rem),
      linear-gradient(180deg, #030708 0%, #07100e 54%, #030708 100%) !important;
  }

  body.upcoming-events-page #events-list > .max-w-7xl {
    padding-inline: 0 !important;
  }

  body.upcoming-events-page .event-list {
    position: relative;
    display: grid !important;
    gap: 0.82rem !important;
    padding-left: 0.15rem;
  }

  body.upcoming-events-page .event-list::before {
    content: "";
    position: absolute;
    top: 0.65rem;
    bottom: 0.65rem;
    left: 2.18rem;
    width: 1px;
    background: linear-gradient(180deg, rgba(239, 68, 68, 0), rgba(239, 68, 68, 0.26), rgba(56, 189, 248, 0.12), rgba(239, 68, 68, 0));
    pointer-events: none;
  }

  body.upcoming-events-page .event-wide-card {
    position: relative;
    display: grid !important;
    grid-template-columns: 4.25rem minmax(0, 1fr) !important;
    gap: 0.65rem 0.72rem !important;
    min-height: 0;
    padding: 0.78rem 0.78rem 0.82rem !important;
    border: 1px solid rgba(148, 163, 184, 0.12) !important;
    border-radius: 1.05rem !important;
    background:
      linear-gradient(135deg, rgba(220, 38, 38, 0.075), transparent 34%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.036), rgba(255, 255, 255, 0.012)),
      rgba(3, 7, 8, 0.76) !important;
    box-shadow:
      0 16px 36px rgba(0, 0, 0, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.035);
    transform: none !important;
  }

  body.upcoming-events-page .event-wide-card::after {
    content: "›";
    position: absolute;
    right: 0.72rem;
    top: 0.72rem;
    color: rgba(239, 68, 68, 0.82);
    font-size: 1.35rem;
    line-height: 1;
  }

  body.upcoming-events-page .event-date {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 3.6rem !important;
    height: 3.6rem !important;
    align-self: start;
    border: 1px solid rgba(239, 68, 68, 0.22);
    border-radius: 0.85rem !important;
    background:
      radial-gradient(circle at 50% 0%, rgba(239, 68, 68, 0.2), transparent 62%),
      rgba(0, 0, 0, 0.34) !important;
    box-shadow: 0 0 24px rgba(220, 38, 38, 0.1) !important;
  }

  body.upcoming-events-page .event-date span {
    font-size: 0.46rem !important;
    letter-spacing: 0.1em !important;
  }

  body.upcoming-events-page .event-date strong {
    font-size: 0.86rem !important;
  }

  body.upcoming-events-page .event-wide-card > div:nth-child(2) {
    grid-column: 2;
    min-width: 0;
    padding-right: 1.3rem;
  }

  body.upcoming-events-page .event-wide-card > div:nth-child(2) > p.uppercase {
    margin-bottom: 0.32rem !important;
    color: rgba(239, 68, 68, 0.9);
    font-size: 0.45rem !important;
    letter-spacing: 0.16em !important;
  }

  body.upcoming-events-page .event-wide-card h2 {
    margin-bottom: 0.35rem !important;
    font-size: 0.92rem !important;
    line-height: 1.16 !important;
  }

  body.upcoming-events-page .event-wide-card > div:nth-child(2) > p:not(.uppercase) {
    display: -webkit-box;
    max-width: 100%;
    overflow: hidden;
    color: rgba(212, 212, 216, 0.72);
    font-size: 0.7rem !important;
    line-height: 1.42 !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  body.upcoming-events-page .event-wide-card .detail-link {
    margin-top: 0.52rem !important;
    font-size: 0.46rem !important;
    letter-spacing: 0.13em !important;
  }

  body.upcoming-events-page .event-image-slot {
    grid-column: 1 / -1;
    min-height: 3.35rem !important;
    height: 3.35rem;
    margin-top: 0.1rem;
    border-radius: 0.76rem !important;
    opacity: 0.72;
    background:
      repeating-linear-gradient(135deg, rgba(244, 244, 245, 0.11) 0 7px, transparent 7px 14px),
      linear-gradient(90deg, rgba(239, 68, 68, 0.16), rgba(56, 189, 248, 0.07), transparent),
      rgba(255, 255, 255, 0.025) !important;
  }

  body.upcoming-events-page .event-wide-card + .detail-panel.is-open,
  body.upcoming-events-page .event-wide-card + .detail-panel:target {
    margin: -0.35rem 0 0.7rem 4.95rem !important;
    padding: 0.9rem !important;
    border-radius: 0.95rem !important;
    background:
      linear-gradient(180deg, rgba(7, 17, 16, 0.92), rgba(3, 7, 8, 0.96)) !important;
  }

  body.upcoming-events-page .event-detail .detail-panel-header {
    display: flex !important;
    align-items: flex-start;
    margin-bottom: 0.75rem;
  }

  body.upcoming-events-page .event-detail .detail-panel-header > div {
    display: block !important;
  }

  body.upcoming-events-page .event-detail .detail-panel-header h2 {
    font-size: 1rem !important;
  }

  body.upcoming-events-page .event-detail .story-detail-body {
    grid-template-columns: 1fr !important;
    gap: 0.7rem;
  }

  body.our-socials-page [data-wp-loop="ak_social"] {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0.55rem !important;
  }

  body.our-socials-page .social-card {
    min-height: 4.7rem;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.3rem !important;
    border-radius: 0.9rem !important;
    text-align: center;
    background:
      radial-gradient(circle at 50% 0%, rgba(239, 68, 68, 0.08), transparent 54%),
      rgba(255, 255, 255, 0.028) !important;
  }

  body.our-socials-page .social-icon {
    width: 2.25rem;
    height: 2.25rem;
    margin: 0 0 0.35rem !important;
    border-radius: 0.72rem;
    font-size: 0.7rem;
  }

  body.our-socials-page .social-card h2 {
    margin: 0 !important;
    font-size: 0.48rem !important;
    letter-spacing: 0.07em;
    line-height: 1.1 !important;
  }

  body.our-socials-page .social-card p {
    display: none !important;
  }
}

/* Desktop-only polish: event archive cards + wide news article body */
@media (min-width: 701px) {
  body.upcoming-events-page #events-list {
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(circle at 0% 18%, rgba(220, 38, 38, 0.095), transparent 30rem),
      radial-gradient(circle at 100% 20%, rgba(56, 189, 248, 0.085), transparent 34rem),
      linear-gradient(180deg, #030708 0%, #07100e 48%, #030708 100%) !important;
  }

  body.upcoming-events-page #events-list::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(115deg, transparent 0 48%, rgba(148, 163, 184, 0.035) 48.2% 48.45%, transparent 48.65% 100%);
    background-size: 7rem 100%;
    opacity: 0.36;
    pointer-events: none;
  }

  body.upcoming-events-page #events-list > .max-w-7xl {
    position: relative;
    z-index: 1;
  }

  body.upcoming-events-page .event-list {
    position: relative;
    display: grid;
    gap: 1.35rem;
  }

  body.upcoming-events-page .event-list::before {
    content: "";
    position: absolute;
    top: 1rem;
    bottom: 1rem;
    left: 3.95rem;
    width: 1px;
    background: linear-gradient(180deg, rgba(239, 68, 68, 0), rgba(239, 68, 68, 0.36), rgba(56, 189, 248, 0.18), rgba(239, 68, 68, 0));
    box-shadow: 0 0 24px rgba(220, 38, 38, 0.18);
    pointer-events: none;
  }

  body.upcoming-events-page .event-wide-card {
    position: relative;
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr) minmax(17rem, 0.38fr);
    gap: clamp(1.1rem, 2.6vw, 2.4rem);
    align-items: stretch;
    min-height: clamp(12.5rem, 18vw, 16.5rem);
    padding: clamp(1rem, 1.8vw, 1.35rem);
    border-radius: 1.55rem;
    overflow: hidden;
    background:
      linear-gradient(115deg, rgba(220, 38, 38, 0.11), transparent 32%),
      radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.11), transparent 36%),
      rgba(3, 7, 8, 0.78) !important;
    backdrop-filter: blur(14px);
  }

  body.upcoming-events-page .event-wide-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(239, 68, 68, 0.1), transparent 22%, transparent 78%, rgba(56, 189, 248, 0.08)),
      linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 44%);
    opacity: 0.78;
    pointer-events: none;
  }

  body.upcoming-events-page .event-wide-card::after {
    content: "Više o eventu";
    position: absolute;
    right: clamp(1.1rem, 2vw, 1.6rem);
    bottom: clamp(0.9rem, 1.6vw, 1.25rem);
    color: rgba(239, 68, 68, 0.86);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    pointer-events: none;
  }

  body.upcoming-events-page .event-wide-card:hover {
    transform: translateY(-2px);
  }

  body.upcoming-events-page .event-wide-card > * {
    position: relative;
    z-index: 1;
  }

  body.upcoming-events-page .event-date {
    width: 5.85rem;
    height: 5.85rem;
    align-self: center;
    border: 1px solid rgba(239, 68, 68, 0.22);
    border-radius: 1.15rem;
    background:
      radial-gradient(circle at 50% 0%, rgba(239, 68, 68, 0.22), transparent 58%),
      rgba(0, 0, 0, 0.34);
  }

  body.upcoming-events-page .event-wide-card > div:nth-child(2) {
    align-self: center;
    padding-right: clamp(0.5rem, 2vw, 2rem);
  }

  body.upcoming-events-page .event-wide-card > div:nth-child(2) > p.uppercase {
    margin-bottom: 0.65rem !important;
  }

  body.upcoming-events-page .event-wide-card h2 {
    max-width: 52rem;
    margin-bottom: 0.72rem;
    font-size: clamp(1.55rem, 2.65vw, 2.45rem);
  }

  body.upcoming-events-page .event-wide-card > div:nth-child(2) > p:not(.uppercase) {
    max-width: 50rem;
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  }

  body.upcoming-events-page .event-wide-card .detail-link {
    display: none;
  }

  body.upcoming-events-page .event-image-slot {
    min-height: 100%;
    border-radius: 1.12rem;
    opacity: 0.86;
    background:
      repeating-linear-gradient(135deg, rgba(244, 244, 245, 0.12) 0 10px, transparent 10px 20px),
      linear-gradient(90deg, rgba(239, 68, 68, 0.14), rgba(56, 189, 248, 0.1), transparent),
      rgba(255, 255, 255, 0.025) !important;
  }

  body.upcoming-events-page .event-wide-card + .detail-panel.is-open,
  body.upcoming-events-page .event-wide-card + .detail-panel:target {
    margin-top: -1.35rem;
    margin-left: 7rem;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  body.news-single-page main > section.bg-black {
    padding: clamp(4rem, 7vw, 7rem) 0 !important;
    background:
      radial-gradient(circle at 0% 8%, rgba(220, 38, 38, 0.11), transparent 32rem),
      radial-gradient(circle at 42% 0%, rgba(127, 29, 29, 0.07), transparent 38rem),
      radial-gradient(circle at 100% 10%, rgba(56, 189, 248, 0.026), transparent 30rem),
      linear-gradient(180deg, #030708 0%, #0a0d0b 46%, #030708 100%) !important;
  }

  body.news-single-page .news-article {
    width: min(1440px, calc(100vw - 7rem));
    max-width: none !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.news-single-page .news-article-meta {
    max-width: 96rem;
    margin: 0 auto 1.8rem;
  }

  body.news-single-page .news-article > .news-image-slot {
    display: none !important;
  }

  body.news-single-page .news-article [data-wp-field="post_content"] {
    max-width: 96rem;
    margin: 0 auto;
    color: rgba(244, 244, 245, 0.86);
    font-size: clamp(1.05rem, 1.25vw, 1.22rem);
    line-height: 1.98;
  }

  body.news-single-page .news-article [data-wp-field="post_content"] p {
    max-width: 86ch;
  }

  body.news-single-page .news-article [data-wp-field="post_content"] p + p {
    margin-top: 1.25rem;
  }

  body.news-single-page .news-article [data-wp-field="post_content"] img,
  body.news-single-page .news-article [data-wp-field="post_content"] figure,
  body.news-single-page .news-article [data-wp-field="post_content"] .wp-block-image,
  body.news-single-page .news-article [data-wp-field="post_content"] .wp-caption,
  body.news-single-page .news-article [data-wp-field="post_content"] .news-inline-media {
    width: min(34rem, 42vw);
    max-width: 48%;
    margin: 0.25rem 0 1.35rem 1.7rem;
    border-radius: 1rem;
    object-fit: cover;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.025);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  }

  body.news-single-page .news-article [data-wp-field="post_content"] figure img,
  body.news-single-page .news-article [data-wp-field="post_content"] .wp-block-image img,
  body.news-single-page .news-article [data-wp-field="post_content"] .wp-caption img,
  body.news-single-page .news-article [data-wp-field="post_content"] .news-inline-media img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    margin: 0;
    border-radius: inherit;
    object-fit: cover;
    box-shadow: none;
  }

  body.news-single-page .news-article [data-wp-field="post_content"] .alignleft,
  body.news-single-page .news-article [data-wp-field="post_content"] .news-inline-media.is-left {
    float: left;
    margin: 0.25rem 1.7rem 1.35rem 0;
  }

  body.news-single-page .news-article [data-wp-field="post_content"] .alignright,
  body.news-single-page .news-article [data-wp-field="post_content"] .news-inline-media.is-right {
    float: right;
    margin: 0.25rem 0 1.35rem 1.7rem;
  }

  body.news-single-page .news-article [data-wp-field="post_content"] .aligncenter,
  body.news-single-page .news-article [data-wp-field="post_content"] .news-inline-media.is-center {
    float: none;
    display: block;
    width: min(54rem, 100%);
    max-width: 100%;
    margin: 2rem auto;
  }

  body.news-single-page .news-article [data-wp-field="post_content"] .wp-block-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    width: min(72rem, 100%);
    max-width: 100%;
    margin: 2.4rem auto;
  }

  body.news-single-page .news-article [data-wp-field="post_content"] .wp-block-gallery figure,
  body.news-single-page .news-article [data-wp-field="post_content"] .wp-block-gallery img {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  body.news-single-page .news-article [data-wp-field="post_content"] figure figcaption,
  body.news-single-page .news-article [data-wp-field="post_content"] .wp-element-caption {
    margin-top: 0.65rem;
    color: rgba(161, 161, 170, 0.8);
    font-size: 0.78rem;
    line-height: 1.45;
  }

  body.news-single-page .news-article .detail-link {
    margin: 2.6rem auto 0;
  }
}

@media (max-width: 1023px) {
  .mobile-nav-panel .nav-dropdown,
  .mobile-nav-panel .nav-dropdown-menu {
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    transform: none !important;
  }

  .mobile-nav-panel .nav-dropdown:hover .nav-dropdown-menu,
  .mobile-nav-panel .nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .mobile-nav-panel .nav-dropdown-menu a,
  .mobile-nav-panel .nav-dropdown-menu a:hover,
  .mobile-nav-panel .nav-dropdown-menu a:focus,
  .mobile-nav-panel .nav-dropdown-menu a.is-active {
    transform: none !important;
  }
}

@media (max-width: 700px) {
  body.garage-page .garage-showroom-image.has-car-image,
  body.garage-page .garage-showroom-image:has(img) {
    bottom: 7rem !important;
    z-index: 4;
    width: 92vw !important;
    height: 22rem !important;
    overflow: visible;
  }

  body.garage-page .garage-showroom-image.has-car-image img,
  body.garage-page .garage-showroom-image:has(img) img {
    position: absolute;
    left: 50%;
    bottom: calc(-7.4rem - var(--ak-car-bottom-gap, 0px));
    width: min(28rem, 92vw);
    height: auto;
    max-width: none;
    object-fit: contain;
    object-position: center bottom;
    transform: translateX(calc(-50% - var(--ak-car-x-offset, 0px))) scale(var(--ak-car-transform-scale, 0.78));
    transform-origin: center bottom;
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%),
      linear-gradient(180deg, transparent 0%, #000 13%, #000 86%, transparent 100%);
    mask-image:
      linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%),
      linear-gradient(180deg, transparent 0%, #000 13%, #000 86%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }

  body.garage-page main > .garage-showroom-section {
    padding-bottom: clamp(7.5rem, 24svh, 11rem) !important;
    background:
      radial-gradient(circle at 0% 48%, rgba(120, 23, 22, 0.125), transparent 17rem),
      radial-gradient(circle at 100% 48%, rgba(14, 78, 91, 0.135), transparent 18rem),
      linear-gradient(180deg, #050807 0%, #041011 62%, #061113 82%, #030708 100%) !important;
  }

  body.garage-page .garage-showroom-frame {
    background:
      radial-gradient(ellipse at 50% 12%, rgba(226, 232, 240, 0.07), transparent 22rem),
      radial-gradient(ellipse at 50% 62%, rgba(125, 211, 252, 0.045), transparent 24rem),
      linear-gradient(180deg, rgba(255, 255, 255, 0.012), rgba(4, 16, 17, 0.34) 68%, rgba(6, 17, 19, 0.56) 86%, #030708 100%) !important;
  }

  body.garage-page .garage-showroom-frame::before {
    background:
      radial-gradient(ellipse at 50% 2%, rgba(255, 255, 255, 0.09), transparent 18rem),
      radial-gradient(ellipse at 18% 26%, rgba(120, 23, 22, 0.08), transparent 17rem),
      radial-gradient(ellipse at 82% 26%, rgba(14, 78, 91, 0.09), transparent 18rem),
      linear-gradient(180deg, transparent 0%, transparent 68%, rgba(4, 16, 17, 0.36) 84%, #030708 100%) !important;
  }

  body.garage-page .garage-showroom-heading {
    top: 6.15rem !important;
  }

  body.garage-page .garage-showroom-section::after {
    bottom: 0;
    height: clamp(12rem, 34svh, 17rem) !important;
    background:
      radial-gradient(circle at 0% 34%, rgba(120, 23, 22, 0.13), transparent 62%),
      radial-gradient(circle at 100% 34%, rgba(14, 78, 91, 0.15), transparent 62%),
      linear-gradient(180deg, rgba(3, 7, 8, 0) 0%, rgba(4, 16, 17, 0.36) 26%, rgba(6, 17, 19, 0.76) 62%, #030708 100%) !important;
  }

  body.garage-page .garage-showroom-frame::after {
    bottom: 10rem !important;
  }

  body.garage-page .garage-car-stage::before {
    bottom: 14.25rem !important;
  }

  body.garage-page .garage-car-stage::after {
    bottom: 12.05rem !important;
  }

  body.garage-page .garage-showroom-image.has-car-image,
  body.garage-page .garage-showroom-image:has(img) {
    bottom: 18.5rem !important;
  }

  body.garage-page .garage-showroom-info {
    bottom: 4.45rem !important;
  }
}

/* Honda Tech learning hub */
body.honda-tech-page .tech-hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.45rem;
}

body.honda-tech-page .tech-hero-signals span {
  display: inline-flex;
  align-items: center;
  min-height: 2.3rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  padding: 0.62rem 0.9rem;
  color: rgba(228, 228, 231, 0.82);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background:
    linear-gradient(135deg, rgba(220, 38, 38, 0.12), transparent 48%),
    rgba(0, 0, 0, 0.28);
}

body.honda-tech-page .tech-hub-section {
  position: relative;
  overflow: hidden;
  padding: clamp(9rem, 13vw, 12rem) 0 clamp(5rem, 8vw, 8rem);
  background:
    radial-gradient(circle at 6% 12%, rgba(145, 31, 31, 0.14), transparent 22rem),
    radial-gradient(circle at 92% 18%, rgba(58, 120, 130, 0.12), transparent 24rem),
    linear-gradient(180deg, #030708 0%, #07100f 48%, #030708 100%);
}

body.honda-tech-page .tech-hub-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background:
    linear-gradient(110deg, transparent 0 48%, rgba(255, 255, 255, 0.05) 48.4%, transparent 49% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 7.5rem);
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 76%, transparent 100%);
}

body.honda-tech-page .tech-hub-section > div {
  position: relative;
  z-index: 1;
}

body.honda-tech-page .tech-hub-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(18rem, 1fr);
  gap: clamp(1.4rem, 4vw, 4rem);
  align-items: stretch;
  margin-bottom: clamp(1.6rem, 3vw, 2.6rem);
}

body.honda-tech-page .tech-hub-copy {
  align-self: center;
}

body.honda-tech-page .tech-hub-copy > p:not(.tech-kicker) {
  max-width: 46rem;
  color: rgba(212, 212, 216, 0.78);
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.85;
}

body.honda-tech-page .tech-wp-note {
  position: relative;
  margin-top: 1.1rem;
  padding-left: 1rem;
  color: rgba(161, 161, 170, 0.82) !important;
  font-size: 0.9rem !important;
  line-height: 1.65 !important;
}

body.honda-tech-page .tech-wp-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.85), rgba(125, 211, 252, 0.35));
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.18);
}

body.honda-tech-page .tech-hub-visual {
  position: relative;
  overflow: hidden;
  min-height: clamp(18rem, 27vw, 25rem);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 1.65rem;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(3, 7, 8, 0.82)),
    radial-gradient(circle at 50% 42%, rgba(239, 68, 68, 0.1), transparent 44%),
    #030708;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.honda-tech-page .tech-hub-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://honda.ba/wp-content/uploads/2026/06/hero.jpg?v=999");
  background-size: cover;
  background-position: center;
  opacity: 0.26;
  filter: saturate(0.82) contrast(1.08);
  transform: scale(1.05);
}

body.honda-tech-page .tech-hub-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 7, 8, 0.78), transparent 42%, rgba(3, 7, 8, 0.62)),
    linear-gradient(180deg, rgba(3, 7, 8, 0.12), rgba(3, 7, 8, 0.86));
}

body.honda-tech-page .tech-hub-visual span {
  position: absolute;
  left: 1.35rem;
  bottom: 1.25rem;
  z-index: 1;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

body.honda-tech-page .tech-kicker {
  color: #ef4444;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.34em;
  line-height: 1.3;
  margin-bottom: 0.95rem;
  text-transform: uppercase;
}

body.honda-tech-page .tech-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
}

body.honda-tech-page .tech-quick-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.65rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  padding: 0.72rem 1rem;
  color: rgba(228, 228, 231, 0.82);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background:
    linear-gradient(135deg, rgba(220, 38, 38, 0.12), transparent 48%),
    rgba(255, 255, 255, 0.035);
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease, background 180ms ease;
}

body.honda-tech-page .tech-quick-link:hover {
  border-color: rgba(239, 68, 68, 0.38);
  color: #fff;
  transform: translateY(-2px);
  background:
    linear-gradient(135deg, rgba(220, 38, 38, 0.18), transparent 50%),
    rgba(125, 211, 252, 0.05);
}

body.honda-tech-page .tech-hub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(18rem, 0.62fr);
  gap: clamp(1.15rem, 3vw, 2rem);
  align-items: start;
}

body.honda-tech-page .tech-main-flow {
  display: grid;
  gap: 1.25rem;
}

body.honda-tech-page .tech-learning-map {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  min-height: 17rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 1.6rem;
  padding: clamp(1.2rem, 2.4vw, 2rem);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 26rem),
    radial-gradient(circle at 0% 100%, rgba(220, 38, 38, 0.1), transparent 18rem),
    radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.07), transparent 18rem),
    rgba(3, 7, 8, 0.72);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.honda-tech-page .tech-map-glow {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 18%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.7), rgba(125, 211, 252, 0.55), transparent);
  filter: blur(0.5px);
  opacity: 0.5;
}

body.honda-tech-page .tech-map-line {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.52), rgba(148, 163, 184, 0.18), rgba(125, 211, 252, 0.38), transparent);
}

body.honda-tech-page .tech-map-node {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 0.5rem;
  min-height: 11rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1.15rem;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 64%),
    rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

body.honda-tech-page .tech-map-node:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 68, 68, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 64%),
    rgba(12, 16, 17, 0.58);
}

body.honda-tech-page .tech-map-node span {
  color: rgba(239, 68, 68, 0.86);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

body.honda-tech-page .tech-map-node strong {
  color: #fff;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

body.honda-tech-page .tech-map-node strong span {
  font-size: inherit;
  letter-spacing: 0.02em;
}

body.honda-tech-page .tech-map-node em {
  color: rgba(161, 161, 170, 0.82);
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.45;
}

body.honda-tech-page .tech-map-node.is-red {
  border-color: rgba(239, 68, 68, 0.28);
  box-shadow: 0 0 34px rgba(220, 38, 38, 0.12);
}

body.honda-tech-page .tech-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem !important;
}

body.honda-tech-page .tech-list-item {
  display: grid !important;
  grid-template-columns: minmax(6.8rem, 0.34fr) minmax(0, 1fr) !important;
  gap: 1rem !important;
  align-items: stretch !important;
  min-height: 11rem;
  border-color: rgba(148, 163, 184, 0.13) !important;
  border-radius: 1.35rem !important;
  padding: 0.85rem !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.07), transparent 42%),
    linear-gradient(145deg, rgba(220, 38, 38, 0.09), transparent 36%),
    rgba(5, 10, 11, 0.86) !important;
}

body.honda-tech-page .tech-list-item:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(239, 68, 68, 0.35) !important;
}

body.honda-tech-page .tech-list-image-slot {
  min-height: 100% !important;
  border-radius: 1rem !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 42%),
    radial-gradient(circle at 50% 48%, rgba(239, 68, 68, 0.16), transparent 38%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 12px),
    #071010 !important;
}

body.honda-tech-page .tech-list-image-slot::after {
  content: "Visual";
}

body.honda-tech-page .tech-list-item > div:last-child {
  display: grid;
  align-content: center;
  padding: 0.45rem 0.25rem;
}

body.honda-tech-page .tech-lesson-tag {
  width: fit-content;
  margin-bottom: 0.75rem;
  color: #ef4444;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.honda-tech-page .tech-list-item h3 {
  margin-bottom: 0.45rem !important;
  color: #fff !important;
  font-size: clamp(1rem, 1.18vw, 1.2rem) !important;
}

body.honda-tech-page .tech-list-item p {
  margin-bottom: 0.9rem;
  color: rgba(212, 212, 216, 0.72) !important;
  line-height: 1.7 !important;
}

body.honda-tech-page .tech-lesson-link {
  width: fit-content;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body.honda-tech-page .tech-lesson-link:hover {
  color: #ef4444;
}

body.honda-tech-page .tech-resource-panel {
  position: sticky;
  top: 7.4rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 1.55rem;
  padding: clamp(1.35rem, 2vw, 1.75rem);
  background:
    radial-gradient(circle at 0% 0%, rgba(220, 38, 38, 0.13), transparent 16rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 42%),
    rgba(5, 10, 11, 0.9);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

body.honda-tech-page .tech-resource-panel h3 {
  margin-bottom: 0.75rem;
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

body.honda-tech-page .tech-resource-panel > p:not(.tech-kicker),
body.honda-tech-page .tech-note p {
  color: rgba(161, 161, 170, 0.82);
  line-height: 1.75;
}

body.honda-tech-page .tech-resource-links {
  display: grid;
  gap: 0.65rem;
  margin: 1.45rem 0;
}

body.honda-tech-page .tech-resource-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.95rem;
  padding: 0.9rem 1rem;
  background: rgba(0, 0, 0, 0.28);
}

body.honda-tech-page .tech-resource-link span {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

body.honda-tech-page .tech-resource-link em {
  color: rgba(239, 68, 68, 0.86);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.honda-tech-page .tech-resource-link:hover {
  border-color: rgba(239, 68, 68, 0.32);
  background: rgba(239, 68, 68, 0.075);
}

body.honda-tech-page .tech-note {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.15rem;
}

body.honda-tech-page .tech-note strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (max-width: 1023px) {
  body.honda-tech-page .tech-hub-grid,
  body.honda-tech-page .tech-hub-head {
    grid-template-columns: 1fr;
  }

  body.honda-tech-page .tech-resource-panel {
    position: relative;
    top: auto;
  }
}

@media (max-width: 700px) {
  body.honda-tech-page .tech-hub-section {
    padding: 6.4rem 0 4rem;
    background:
      radial-gradient(circle at 0% 12%, rgba(145, 31, 31, 0.09), transparent 14rem),
      radial-gradient(circle at 100% 18%, rgba(58, 120, 130, 0.08), transparent 15rem),
      linear-gradient(180deg, #030708 0%, #07100f 56%, #030708 100%);
  }

  body.honda-tech-page .tech-hub-head {
    gap: 0.95rem;
    margin-bottom: 1.2rem;
  }

  body.honda-tech-page .tech-hub-copy > p:not(.tech-kicker) {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  body.honda-tech-page .tech-hub-visual {
    min-height: 12.5rem;
    border-radius: 1.2rem;
  }

  body.honda-tech-page .tech-hub-visual::before {
    opacity: 0.22;
  }

  body.honda-tech-page .tech-wp-note {
    margin-top: 0.82rem;
    font-size: 0.78rem !important;
  }

  body.honda-tech-page .tech-quick-links {
    flex-wrap: nowrap;
    margin-inline: -1.5rem;
    padding: 0 1.5rem 0.35rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  body.honda-tech-page .tech-quick-links::-webkit-scrollbar {
    display: none;
  }

  body.honda-tech-page .tech-quick-link {
    flex: 0 0 auto;
    min-height: 2.35rem;
    padding: 0.62rem 0.82rem;
    font-size: 0.64rem;
  }

  body.honda-tech-page .tech-learning-map {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 0.55rem;
    border-radius: 1.25rem;
    padding: 1rem;
  }

  body.honda-tech-page .tech-map-line,
  body.honda-tech-page .tech-map-glow {
    left: 1.65rem;
    right: auto;
    top: 1.2rem;
    bottom: 1.2rem;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(239, 68, 68, 0.55), rgba(125, 211, 252, 0.36), transparent);
  }

  body.honda-tech-page .tech-map-node {
    min-height: 5.7rem;
    padding: 0.85rem 0.9rem 0.85rem 3rem;
  }

  body.honda-tech-page .tech-map-node em {
    font-size: 0.74rem;
  }

  body.honda-tech-page .tech-list {
    grid-template-columns: 1fr !important;
    gap: 0.78rem !important;
  }

  body.honda-tech-page .tech-list-item {
    grid-template-columns: 4.6rem minmax(0, 1fr) !important;
    min-height: 8.25rem;
    border-radius: 1.05rem !important;
    padding: 0.62rem !important;
  }

  body.honda-tech-page .tech-list-image-slot {
    min-height: 100% !important;
    border-radius: 0.8rem !important;
  }

  body.honda-tech-page .tech-list-image-slot::after {
    font-size: 0.48rem;
    letter-spacing: 0.16em;
  }

  body.honda-tech-page .tech-lesson-tag {
    margin-bottom: 0.42rem;
    font-size: 0.56rem;
    letter-spacing: 0.13em;
  }

  body.honda-tech-page .tech-list-item h3 {
    font-size: 0.88rem !important;
    line-height: 1.18 !important;
  }

  body.honda-tech-page .tech-list-item p {
    margin-bottom: 0.55rem;
    font-size: 0.78rem;
    line-height: 1.55 !important;
  }

  body.honda-tech-page .tech-lesson-link {
    font-size: 0.57rem;
  }

  body.honda-tech-page .tech-resource-panel {
    border-radius: 1.15rem;
    padding: 1rem;
  }

  body.honda-tech-page .tech-resource-link {
    padding: 0.72rem 0.78rem;
  }
}

/* Honda Tech lesson pages */
body.tech-lesson-page {
  background:
    radial-gradient(circle at 7% 18%, rgba(145, 31, 31, 0.12), transparent 24rem),
    radial-gradient(circle at 92% 22%, rgba(58, 120, 130, 0.1), transparent 26rem),
    linear-gradient(180deg, #030708 0%, #000 100%);
}

body.tech-lesson-page .tech-lesson-hero {
  position: relative;
  overflow: hidden;
  min-height: 56vh;
  padding: clamp(9rem, 13vw, 12rem) 0 clamp(4rem, 7vw, 6rem);
  background:
    radial-gradient(circle at 12% 10%, rgba(220, 38, 38, 0.16), transparent 30rem),
    radial-gradient(circle at 88% 18%, rgba(56, 189, 248, 0.11), transparent 30rem),
    #030708;
}

body.tech-lesson-page .tech-lesson-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://honda.ba/wp-content/uploads/2026/06/hero.jpg?v=999");
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  filter: saturate(0.75) contrast(1.08);
  transform: scale(1.04);
}

body.tech-lesson-page .tech-lesson-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: clamp(8rem, 18vh, 13rem);
  background: linear-gradient(180deg, transparent, #030708 86%);
}

body.tech-lesson-page .tech-lesson-hero > div {
  position: relative;
  z-index: 1;
}

body.tech-lesson-page .tech-lesson-back {
  display: inline-flex;
  margin-bottom: 1.25rem;
  color: rgba(212, 212, 216, 0.78);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

body.tech-lesson-page .tech-lesson-back:hover {
  color: #ef4444;
}

body.tech-lesson-page .tech-lesson-hero p:not(.tech-kicker) {
  max-width: 48rem;
  color: rgba(212, 212, 216, 0.78);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.85;
}

body.tech-lesson-page .tech-lesson-section {
  padding: clamp(4rem, 7vw, 7rem) 0;
  background:
    radial-gradient(circle at 0% 10%, rgba(220, 38, 38, 0.08), transparent 28rem),
    radial-gradient(circle at 100% 18%, rgba(56, 189, 248, 0.065), transparent 30rem),
    linear-gradient(180deg, #030708 0%, #07100f 48%, #030708 100%);
}

body.tech-lesson-page .tech-lesson-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(18rem, 0.64fr);
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: start;
}

body.tech-lesson-page .tech-lesson-body,
body.tech-lesson-page .tech-lesson-sidebar {
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 1.55rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.06), transparent 36%),
    linear-gradient(145deg, rgba(220, 38, 38, 0.08), transparent 34%),
    rgba(5, 10, 11, 0.86);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.tech-lesson-page .tech-lesson-body {
  padding: clamp(1.25rem, 2.7vw, 2.35rem);
}

body.tech-lesson-page .tech-lesson-body h2,
body.tech-lesson-page .tech-lesson-sidebar h2 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: clamp(1.25rem, 2.2vw, 1.9rem);
  font-weight: 900;
  line-height: 1.12;
  text-transform: uppercase;
}

body.tech-lesson-page .tech-lesson-body p,
body.tech-lesson-page .tech-lesson-body li {
  color: rgba(212, 212, 216, 0.78);
  line-height: 1.85;
}

body.tech-lesson-page .tech-lesson-body ul {
  display: grid;
  gap: 0.62rem;
  margin: 1.2rem 0 1.6rem;
  padding-left: 1.1rem;
}

body.tech-lesson-page .tech-lesson-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.6rem 0;
}

body.tech-lesson-page .tech-lesson-image-slot {
  min-height: clamp(9rem, 15vw, 13rem);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), transparent 42%),
    radial-gradient(circle at 50% 45%, rgba(239, 68, 68, 0.12), transparent 40%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 12px),
    #071010;
  display: grid;
  place-items: center;
  color: rgba(161, 161, 170, 0.62);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

body.tech-lesson-page .tech-lesson-sidebar {
  position: sticky;
  top: 7.4rem;
  padding: clamp(1.1rem, 2vw, 1.6rem);
}

body.tech-lesson-page .tech-schema {
  position: relative;
  display: grid;
  gap: 0.72rem;
  margin-top: 1.25rem;
}

body.tech-lesson-page .tech-schema-step {
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 0.78rem;
  background: rgba(0, 0, 0, 0.28);
}

body.tech-lesson-page .tech-schema-step span {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  color: #ef4444;
  font-size: 0.72rem;
  font-weight: 900;
  background: rgba(239, 68, 68, 0.1);
  box-shadow: 0 0 22px rgba(220, 38, 38, 0.12);
}

body.tech-lesson-page .tech-schema-step strong {
  display: block;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

body.tech-lesson-page .tech-schema-step em {
  display: block;
  margin-top: 0.18rem;
  color: rgba(161, 161, 170, 0.78);
  font-size: 0.74rem;
  font-style: normal;
  line-height: 1.4;
}

@media (max-width: 900px) {
  body.tech-lesson-page .tech-lesson-layout {
    grid-template-columns: 1fr;
  }

  body.tech-lesson-page .tech-lesson-sidebar {
    position: relative;
    top: auto;
  }
}

@media (max-width: 700px) {
  body.tech-lesson-page .tech-lesson-hero {
    min-height: 43svh;
    padding: 6.4rem 1rem 3rem !important;
    text-align: center;
  }

  body.tech-lesson-page .tech-lesson-hero p:not(.tech-kicker) {
    margin-inline: auto;
    font-size: 0.86rem;
    line-height: 1.65;
  }

  body.tech-lesson-page .tech-lesson-section {
    padding: 2.8rem 1rem 3.5rem !important;
  }

  body.tech-lesson-page .tech-lesson-body,
  body.tech-lesson-page .tech-lesson-sidebar {
    border-radius: 1.15rem;
    padding: 1rem;
  }

  body.tech-lesson-page .tech-lesson-media-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  body.tech-lesson-page .tech-lesson-image-slot {
    min-height: 6.2rem;
    border-radius: 0.78rem;
    font-size: 0.48rem;
  }
}
