.home-featured-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.home-featured-card .card-inner {
  min-height: 100%;
}

.section-head > .btn.secondary[href="investigations.html"] {
  position: relative;
  isolation: isolate;
  min-width: 11.35rem;
  min-height: 3rem;
  padding: 0.72rem 2.35rem 0.72rem 2.3rem;
  justify-content: flex-start;
  overflow: hidden;
  border: 1px solid rgba(77, 255, 136, 0.92);
  border-radius: 0;
  clip-path: polygon(0.72rem 0, calc(100% - 0.85rem) 0, 100% 0.85rem, 100% calc(100% - 0.85rem), calc(100% - 0.85rem) 100%, 0.72rem 100%, 0 calc(100% - 0.72rem), 0 0.72rem);
  color: #7dff9b;
  background:
    radial-gradient(circle at calc(100% - 0.62rem) 50%, transparent 0 0.36rem, rgba(77, 255, 136, 0.30) 0.38rem 0.43rem, transparent 0.45rem 100%),
    linear-gradient(90deg, rgba(77, 255, 136, 0.12), rgba(0, 0, 0, 0.25) 38%, rgba(0, 0, 0, 0.50)),
    repeating-linear-gradient(0deg, rgba(77, 255, 136, 0.04) 0 1px, transparent 1px 4px),
    rgba(0, 12, 6, 0.90);
  box-shadow:
    0 0 16px rgba(77, 255, 136, 0.22),
    0 0 34px rgba(77, 255, 136, 0.08),
    inset 0 0 0 1px rgba(77, 255, 136, 0.30),
    inset 0 0 18px rgba(77, 255, 136, 0.09);
  font-family: "Lucida Console", "Courier New", Monaco, monospace;
  font-size: clamp(0.82rem, 1vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  text-shadow:
    0 0 10px rgba(77, 255, 136, 0.55),
    0 0 22px rgba(77, 255, 136, 0.24);
}

.section-head > .btn.secondary[href="investigations.html"]::before {
  content: "";
  position: absolute;
  left: 0.58rem;
  top: 0.86rem;
  width: 0.16rem;
  height: 0.16rem;
  border-radius: 50%;
  background: #ffd326;
  box-shadow:
    0 0.36rem 0 #ffd326,
    0 0.72rem 0 #ffd326,
    0 1.08rem 0 #ffd326,
    0 0 8px rgba(255, 211, 38, 0.80),
    0 0.36rem 8px rgba(255, 211, 38, 0.62),
    0 0.72rem 8px rgba(255, 211, 38, 0.50),
    0 1.08rem 8px rgba(255, 211, 38, 0.38);
}

.section-head > .btn.secondary[href="investigations.html"]::after {
  content: "";
  position: absolute;
  right: 0.51rem;
  top: 50%;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #57c7ff;
  border: 1px solid rgba(198, 241, 255, 0.98);
  box-shadow:
    inset 0 0 5px rgba(255, 255, 255, 0.42),
    0 0 9px rgba(87, 199, 255, 0.92),
    0 0 18px rgba(87, 199, 255, 0.52);
  animation: none;
}

.section-head > .btn.secondary[href="investigations.html"]:hover,
.section-head > .btn.secondary[href="investigations.html"]:focus-visible {
  color: #dfffe6;
  background:
    radial-gradient(circle at calc(100% - 0.62rem) 50%, transparent 0 0.36rem, rgba(77, 255, 136, 0.36) 0.38rem 0.43rem, transparent 0.45rem 100%),
    linear-gradient(90deg, rgba(77, 255, 136, 0.18), rgba(0, 0, 0, 0.22) 38%, rgba(0, 0, 0, 0.44)),
    repeating-linear-gradient(0deg, rgba(77, 255, 136, 0.055) 0 1px, transparent 1px 4px),
    rgba(0, 18, 8, 0.94);
  border-color: rgba(119, 255, 161, 0.98);
  box-shadow:
    0 0 22px rgba(77, 255, 136, 0.32),
    0 0 44px rgba(77, 255, 136, 0.12),
    inset 0 0 0 1px rgba(77, 255, 136, 0.36),
    inset 0 0 20px rgba(77, 255, 136, 0.14);
  transform: translateY(-1px);
  outline: none;
}

.home-featured-card[data-case-id="lighting-up-blunts"] .meta-row .badge:nth-child(2) {
  color: #ffebe8;
  border-color: rgba(255, 75, 65, 0.88);
  background: rgba(86, 0, 0, 0.56);
  box-shadow:
    0 0 10px rgba(255, 40, 30, 0.34),
    0 0 24px rgba(255, 0, 0, 0.18),
    inset 0 0 12px rgba(255, 40, 30, 0.18);
  animation: bluntsExclusiveBlink 1.18s steps(2, end) infinite;
}

.home-featured-card[data-case-id="lighting-up-blunts"] .meta-row .badge:nth-child(3) {
  position: relative;
  overflow: hidden;
  color: #dff7ff;
  border-color: rgba(119, 217, 255, 0.62);
  background:
    linear-gradient(100deg, rgba(0, 0, 0, 0.28), rgba(119, 217, 255, 0.12), rgba(0, 0, 0, 0.28));
  box-shadow:
    0 0 12px rgba(119, 217, 255, 0.20),
    inset 0 0 12px rgba(119, 217, 255, 0.08);
}

.home-featured-card[data-case-id="lighting-up-blunts"] .meta-row .badge:nth-child(3)::after {
  content: "";
  position: absolute;
  inset: -45% -35%;
  background: linear-gradient(115deg, transparent 0 39%, rgba(255, 255, 255, 0.82) 47%, rgba(119, 217, 255, 0.38) 52%, transparent 61% 100%);
  transform: translateX(-130%);
  animation: bluntsWitnessShimmer 2.45s ease-in-out infinite;
  pointer-events: none;
}

@keyframes bluntsExclusiveBlink {
  0%, 48% {
    opacity: 1;
    color: #fff0ec;
    background: rgba(104, 0, 0, 0.66);
    box-shadow:
      0 0 12px rgba(255, 40, 30, 0.58),
      0 0 30px rgba(255, 0, 0, 0.26),
      inset 0 0 12px rgba(255, 40, 30, 0.22);
  }
  49%, 100% {
    opacity: 0.42;
    color: rgba(255, 170, 162, 0.78);
    background: rgba(40, 0, 0, 0.34);
    box-shadow: none;
  }
}

@keyframes bluntsWitnessShimmer {
  0%, 38% { transform: translateX(-130%); opacity: 0; }
  48% { opacity: 0.95; }
  72%, 100% { transform: translateX(130%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .home-featured-card[data-case-id="lighting-up-blunts"] .meta-row .badge:nth-child(2),
  .home-featured-card[data-case-id="lighting-up-blunts"] .meta-row .badge:nth-child(3)::after {
    animation: none;
  }
}

@media (min-width: 1080px) {
  .home-featured-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-featured-card h3 {
    font-size: clamp(1.35rem, 1.85vw, 1.9rem);
  }

  .home-featured-card p {
    font-size: 0.95rem;
  }
}

@media (max-width: 640px) {
  .section-head > .btn.secondary[href="investigations.html"] {
    min-width: 11.2rem;
    min-height: 2.95rem;
    padding-top: 0.68rem;
    padding-bottom: 0.68rem;
    font-size: 0.9rem;
  }
}