/* ==========================================================================
   Featured (pinned) search result — chunks/search/searchResultFeatured.tpl, rendered by the BoostSearch snippet on
   resource 72 (Zoekresultaten). Loaded by the chunk itself (only on result pages that show a featured card). Prefix gm-search-featured.
   Look: the symposium "van mond tot mond" speech bubble — gold card with a tail, black type, pulsing dot like the
   "Symposium 2027" menu badge (symposium-nav.css). The title link is stretched over the whole card (single link).
   ========================================================================== */

.gm-search-featured {
  --gm-sf-gold: #FDDA24;
  --gm-sf-ink: #101820;
  --gm-sf-radius: 30px;
  margin: 0 0 calc(1.5rem + 14px);                       /* + room for the tail */
}

.gm-search-featured__card {
  position: relative;
  padding: 1.6rem 2rem 1.75rem;
  border-radius: var(--gm-sf-radius);
  background: var(--gm-sf-gold);
  color: var(--gm-sf-ink);
  transition: transform .25s cubic-bezier(.22, .61, .36, 1), box-shadow .25s;
}
/* speech-bubble tail, bottom left */
.gm-search-featured__card::after {
  content: ""; position: absolute; left: 3.25rem; bottom: -14px;
  border-left: 12px solid transparent; border-right: 12px solid transparent; border-top: 15px solid var(--gm-sf-gold);
}
.gm-search-featured__card:hover,
.gm-search-featured__card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -14px rgba(16, 24, 32, .45);
}

.gm-search-featured__tag {
  display: inline-flex; align-items: center; gap: .55em;
  margin: 0 0 .9rem; padding: .3em .9em .3em .7em;
  border-radius: 999px; background: var(--gm-sf-ink); color: #fff;
  font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.4;
}
.gm-search-featured__dot {
  position: relative; flex: none; width: .55em; height: .55em; border-radius: 50%; background: var(--gm-sf-gold);
}
.gm-search-featured__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--gm-sf-gold);
  animation: gm-sf-pulse 2.4s cubic-bezier(.22, .61, .36, 1) infinite;
}

.gm-search-featured__title { margin: 0 0 .5rem; color: var(--gm-sf-ink); font-size: 1.75rem; font-weight: 700; line-height: 1.2; }   /* = the theme h3 of the results */
@media (max-width: 575.98px) { .gm-search-featured__title { font-size: 1.5rem; } }
/* beats the theme link colour/underline of search results; ::after stretches the link over the card */
.gm-search-featured .gm-search-featured__link {
  color: var(--gm-sf-ink); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size .3s cubic-bezier(.22, .61, .36, 1);
}
.gm-search-featured .gm-search-featured__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--gm-sf-radius); }
.gm-search-featured__card:hover .gm-search-featured__link { background-size: 100% 2px; }
.gm-search-featured .gm-search-featured__link:focus-visible { outline: none; }
.gm-search-featured .gm-search-featured__link:focus-visible::after { outline: 3px solid var(--gm-sf-ink); outline-offset: 4px; }

.gm-search-featured__meta { margin: 0 0 .35rem; font-weight: 700; color: var(--gm-sf-ink); }
.gm-search-featured__text { margin: 0 0 1.1rem; max-width: 60ch; color: var(--gm-sf-ink); }
.gm-search-featured__cta { pointer-events: none; }        /* visual twin of the title link; the card is the click target */

@media (max-width: 575.98px) {
  .gm-search-featured__card { padding: 1.3rem 1.25rem 1.4rem; }
  .gm-search-featured__card::after { left: 2.25rem; }
}

@keyframes gm-sf-pulse {
  0% { transform: scale(1); opacity: .7; }
  70%, 100% { transform: scale(2.4); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .gm-search-featured__card, .gm-search-featured .gm-search-featured__link { transition: none; }
  .gm-search-featured__card:hover, .gm-search-featured__card:focus-within { transform: none; }
  .gm-search-featured__dot::after { animation: none; opacity: 0; }
}
