@font-face {
  font-family: 'Exo 2';
  src: url('./Exo2-Italic.woff2?rev=46f390ebc43e2fd0') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

#route-cards { scroll-margin-top: 12px; }

.detail-body .detail-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 16px);
  padding: clamp(12px, 1.8vw, 30px);
}

.detail-options .detail-option {
  container-type: inline-size;
  min-width: 0;
  position: relative;
  isolation: isolate;
  align-content: center;
  aspect-ratio: 4 / 4.8;
  padding: 32px 11%;
  border: 0;
  color: #fbfaf7;
}

.detail-options .detail-option::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url('./smoked-glass.webp?rev=9532cfcc8262f532') center / 100% 100% no-repeat;
  filter: drop-shadow(0 8px 5px rgb(23 20 19 / 28%));
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .detail-options .detail-option:hover::before {
    filter: brightness(1.09) drop-shadow(0 0 3px rgb(228 239 248 / 48%));
  }

  @media (prefers-reduced-motion: no-preference) {
    .detail-options .detail-option {
      transition: translate 180ms ease-out;
    }
    .detail-options .detail-option::before {
      transition: filter 180ms ease-out;
    }
    .detail-options .detail-option:hover { translate: 0 -3px; }
  }
}

.detail-options .detail-option h3 {
  display: flex;
  align-items: center;
  min-height: 22cqw;
  margin: 0 0 9cqw;
  color: #fffdf8;
  font: italic 900 clamp(19px, 10cqw, 46px)/1 'Exo 2', sans-serif;
  letter-spacing: -.035em;
}

.detail-option h3 img {
  display: block;
  max-width: 100%;
  height: auto;
}
.detail-option h3 .novichok { width: 98%; }
.detail-option h3 .drive { width: 84%; }
.detail-option h3 .individual { width: 100%; }

.detail-options .detail-option strong {
  display: block;
  margin: 0 0 6cqw;
  color: #f7f7f4;
  font: 550 clamp(16px, 7.4cqw, 30px)/1.36 'Segoe UI', system-ui, sans-serif;
  font-variant-numeric: lining-nums tabular-nums;
}

.detail-options .detail-option p {
  margin: 0;
  min-height: 4.15em;
  color: #e0e0dc;
  font: 400 clamp(15px, 5.2cqw, 20px)/1.38 'Segoe UI', system-ui, sans-serif;
}

@media (max-width: 849px) {
  .detail-body .detail-options {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 12px;
  }
  .detail-options .detail-option {
    width: min(100%, 440px);
    aspect-ratio: 4 / 4.6;
  }
}

@media (max-width: 360px) {
  .detail-page .detail-related h2 { font-size: min(34px, 9vw); }
}
