/* ============================================
   TREHØJE DESIGN SYSTEM
   Tokens · Typography · Components
   ============================================ */

/* --- Design Tokens --- */
:root {
  /* Colors - configurable palette */
  --bg: #faf8f5;
  --bg-alt: #f0ede8;
  --bg-dark: #1a1816;
  --fg: #1a1816;
  --fg-muted: #6b6560;
  --fg-on-dark: #faf8f5;
  --fg-on-dark-muted: rgba(250, 248, 245, 0.6);
  --border: #e5e1db;
  --accent: #2a6e5a;
  --accent-hover: #1f5444;
  --accent-light: rgba(42, 110, 90, 0.08);

  /* Typography */
  --font-serif: "DM Serif Display", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;

  /* Radius */
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 8px;

  /* Transitions */
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration: 300ms;
  --duration-slow: 500ms;

  /* Layout */
  --container-max: 1280px;
  --container-wide: 1680px;
}

/* --- Base Reset & Defaults --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--fg);
  background-color: var(--bg);
  line-height: 1.6;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- Typography --- */
/* Serif for H1-H2, Sans for H3+ (Legora's mixing strategy) */
h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.section--dark h1,
.section--dark h2 {
  color: var(--fg-on-dark);
}

h3,
h4,
h5,
h6 {
  font-family: var(--font-sans);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw + 0.5rem, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.5rem);
}

h4 {
  font-size: 1.125rem;
}

p {
  max-width: 65ch;
}

.label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 3rem;
  }
}

.container-wide {
  max-width: var(--container-wide);
}

/* --- Section --- */
.section {
  padding-block: var(--space-2xl);
}

@media (min-width: 768px) {
  .section {
    padding-block: var(--space-3xl);
  }
}

@media (min-width: 1024px) {
  .section {
    padding-block: var(--space-4xl);
  }
}

.section--alt {
  background-color: var(--bg-alt);
}

.section--dark {
  background-color: var(--bg-dark);
  color: var(--fg-on-dark);
}

.section--dark .fg-muted,
.section--dark .label {
  color: var(--fg-on-dark-muted);
}

/* --- Header (layout via Tailwind; only animation rules live here) --- */

/* Plus icon spins to × when submenu opens */
.submenu-trigger-plus {
  transition: transform var(--duration) var(--ease-out);
}
.site-header.submenu-open .submenu-trigger-plus {
  transform: rotate(45deg);
}

/* Expanding submenu - grid-template-rows trick */
.site-header__submenu {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--duration) var(--ease-out);
}
.site-header__submenu > div { overflow: hidden; }
.site-header.submenu-open .site-header__submenu {
  grid-template-rows: 1fr;
}

/* Mobile menu slide-in */
.mobile-menu {
  position: fixed;
  top: 3.5rem;
  left: 0; right: 0; bottom: 0;
  background-color: var(--bg-alt);
  z-index: 40;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--duration) var(--ease-out);
}
.mobile-menu.is-open { transform: translateX(0); }

/* Mobile products accordion */
.mobile-products {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--duration) var(--ease-out);
}
.mobile-products > div { overflow: hidden; }
.mobile-products.is-open { grid-template-rows: 1fr; }

.mobile-products-plus {
  transition: transform var(--duration) var(--ease-out);
}
.mobile-products-toggle.is-open .mobile-products-plus {
  transform: rotate(45deg);
}

/* --- Hero --- */
.hero {
  padding-top: calc(3.5rem + var(--space-3xl));
  padding-bottom: var(--space-3xl);
}

@media (min-width: 1024px) {
  .hero {
    padding-top: calc(3.5rem + var(--space-4xl));
    padding-bottom: var(--space-4xl);
  }
}

.hero--dark {
  background-color: var(--bg-dark);
}

.hero--dark .label,
.hero--dark .hero__title {
  color: var(--fg-on-dark);
}

.hero--dark .hero__subtitle {
  color: var(--fg-on-dark-muted);
}

.hero__label {
  margin-bottom: var(--space-md);
}

.hero__title {
  margin-bottom: var(--space-lg);
}

.hero__subtitle {
  font-size: clamp(1rem, 1.2vw + 0.5rem, 1.25rem);
  color: var(--fg-muted);
  max-width: 48ch;
  margin-bottom: var(--space-xl);
}

.hero__media {
  margin-top: var(--space-2xl);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero__media img,
.hero__media video {
  width: 100%;
  border-radius: var(--radius);
}

/* Hero with background video */
.hero--video {
  position: relative;
  min-height: 70vh;
  max-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 3.5rem; /* account for fixed header */
}

.hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 24, 22, 0.45);
  z-index: 1;
}

.hero--video .hero__content {
  position: relative;
  z-index: 2;
  padding-block: var(--space-3xl);
}

@media (min-width: 1024px) {
  .hero--video .hero__content {
    padding-block: var(--space-4xl);
  }
}

.hero--video .hero__label {
  color: rgba(250, 248, 245, 0.7);
}

.hero--video .hero__title {
  color: var(--fg-on-dark);
}

.hero--video .hero__subtitle {
  color: rgba(250, 248, 245, 0.8);
}

.hero--video .btn--primary {
  background-color: var(--bg);
  color: var(--fg);
}

.hero--video .btn--primary:hover {
  background-color: var(--accent);
  color: white;
}

/* Hero with background image */
.hero--image {
  position: relative;
  min-height: 70vh;
  max-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 3.5rem;
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero--image .hero__content {
  position: relative;
  z-index: 2;
  padding-block: var(--space-3xl);
}

@media (min-width: 1024px) {
  .hero--image .hero__content {
    padding-block: var(--space-4xl);
  }
}

.hero--image .hero__label {
  color: rgba(250, 248, 245, 0.7);
}

.hero--image .hero__title {
  color: var(--fg-on-dark);
}

.hero--image .hero__subtitle {
  color: rgba(250, 248, 245, 0.8);
}

.hero--image .btn--primary {
  background-color: var(--bg);
  color: var(--fg);
}

.hero--image .btn--primary:hover {
  background-color: var(--accent);
  color: white;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  text-decoration: none;
}

.btn--primary {
  background-color: var(--fg);
  color: var(--bg);
}

.btn--primary:hover {
  background-color: var(--accent);
}

.btn--outline {
  background-color: transparent;
  color: var(--fg);
  border-color: var(--border);
}

.btn--outline:hover {
  border-color: var(--fg);
}

.btn--ghost {
  background: transparent;
  color: var(--fg);
  padding: 0.5rem 0;
  border-radius: 0;
}

.btn--ghost:hover {
  color: var(--accent);
}

/* On dark backgrounds */
.section--dark .btn--primary {
  background-color: var(--bg);
  color: var(--fg);
}

.section--dark .btn--primary:hover {
  background-color: var(--accent);
  color: white;
}

.section--dark .btn--outline {
  color: var(--fg-on-dark);
  border-color: rgba(250, 248, 245, 0.5);
}

.section--dark .btn--outline:hover {
  color: var(--fg-on-dark);
  border-color: var(--fg-on-dark);
  background-color: transparent;
}

/* --- Feature Cards (Sumary-style product catalog) --- */
.card-grid {
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.card__image {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: var(--space-md);
}

.card__image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform var(--duration-slow) var(--ease-out);
}

.card:hover .card__image img {
  transform: scale(1.05);
}

.card__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

@media (min-width: 768px) {
  .card__title {
    font-size: 1.5rem;
  }
}

.card__desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* --- Value Propositions (Legora-style) --- */
.value-grid {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .value-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-item {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .value-item {
    border-right: 1px solid var(--border);
  }
  .value-item:nth-child(2n) {
    border-right: none;
  }
}

@media (min-width: 1024px) {
  .value-item:nth-child(2n) {
    border-right: 1px solid var(--border);
  }
  .value-item:nth-child(3n) {
    border-right: none;
  }
}

.value-item__icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: var(--space-md);
  color: var(--accent);
}

.value-item__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.value-item__desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 48rem;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 400;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--fg);
  transition: color var(--duration-fast) var(--ease-out);
}

@media (min-width: 768px) {
  .faq-trigger {
    font-size: 1.25rem;
  }
}

.faq-trigger:hover {
  color: var(--accent);
}

.faq-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--fg-muted);
  transition: transform var(--duration-fast) var(--ease-out);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--duration) var(--ease-out);
}

.faq-item.is-open .faq-content {
  grid-template-rows: 1fr;
}

.faq-content__inner {
  overflow: hidden;
}

.faq-content__inner p {
  padding-bottom: var(--space-md);
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* --- Staff Grid --- */
.staff-grid {
  display: grid;
  gap: var(--space-2xl);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .staff-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .staff-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.staff-card {
  text-align: center;
}

.staff-card__image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius);
  margin-bottom: var(--space-md);
}

.staff-card__name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.staff-card__title {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: var(--space-sm);
}

.staff-card__contact {
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.staff-card__contact a {
  transition: color var(--duration-fast) var(--ease-out);
}

.staff-card__contact a:hover {
  color: var(--accent);
}

/* --- Spec Table --- */
.spec-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.spec-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg-muted);
  background-color: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.spec-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table tr:hover td {
  background-color: var(--accent-light);
}

/* --- Spec Table Pair (side-by-side) --- */
.spec-table-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.spec-table-pair > div {
  min-width: 0;
}

@media (max-width: 48rem) {
  .spec-table-pair {
    grid-template-columns: 1fr;
  }
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
}

.cta-section h2 {
  margin-bottom: var(--space-md);
}

.cta-section p {
  margin-inline: auto;
  margin-bottom: var(--space-xl);
  color: var(--fg-muted);
}

.section--dark .cta-section p {
  color: var(--fg-on-dark-muted);
}

/* --- Split Section (image + text alternating) --- */
.split {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  align-items: center;
}

@media (min-width: 768px) {
  .split {
    flex-direction: row;
    gap: var(--space-3xl);
  }

  .split--reverse {
    flex-direction: row-reverse;
  }
}

.split__media {
  flex: 1;
  border-radius: var(--radius);
  overflow: hidden;
}

.split__media img {
  width: 100%;
  border-radius: var(--radius);
}

.split__content {
  flex: 1;
}

.split__content h2 {
  margin-bottom: var(--space-md);
}

.split__content p {
  color: var(--fg-muted);
  margin-bottom: var(--space-lg);
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--border);
}

.site-footer__grid {
  display: grid;
  gap: var(--space-2xl);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
}

.site-footer__brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.site-footer__desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  max-width: 28ch;
}

.site-footer__col-title {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg-muted);
  margin-bottom: var(--space-md);
}

.site-footer__link {
  display: block;
  font-size: 0.875rem;
  color: var(--fg-muted);
  padding-block: 0.25rem;
  transition: color var(--duration-fast) var(--ease-out);
}

.site-footer__link:hover {
  color: var(--fg);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: top;
  gap: var(--space-sm);
  padding-top: var(--space-2xl);
  margin-top: var(--space-2xl);
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* --- Utility --- */
.text-center {
  text-align: center;
}
.mx-auto {
  margin-inline: auto;
}
.mt-0 {
  margin-top: 0;
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(26, 24, 22, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-fast) var(--ease-out);
  cursor: zoom-out;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  cursor: default;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.lightbox__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  color: rgba(250, 248, 245, 0.6);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-out);
}

.lightbox__close:hover {
  color: #faf8f5;
}


/* ============================================
   SEARCH ICON TRIGGER
   ============================================ */

.search-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--fg-muted);
  transition: color var(--duration-fast) var(--ease-out),
              transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.search-icon-btn:hover {
  color: var(--fg);
  transform: rotate(90deg);
}

/* Tooltip - positioned to the right in layout space, which becomes
   visually BELOW the icon after the parent's 90° CW rotation.
   Counter-rotate -90° so the text stays horizontal. */
.search-icon-btn::after {
  content: 'Søg';
  position: absolute;
  top: 50%;
  left: calc(100% + 6px);
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  font-size: 0.6875rem;
  font-family: var(--font-sans);
  color: var(--fg-muted);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.search-icon-btn:hover::after {
  opacity: 1;
}

/* ============================================
   SEARCH OVERLAY - minimal
   ============================================ */

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 18vh;
  padding-bottom: var(--space-3xl);
  padding-inline: var(--space-lg);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms var(--ease-out);
}

.search-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.search-overlay__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(250, 248, 245, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.search-overlay__panel {
  position: relative;
  width: 100%;
  max-width: 560px;
}

/* ── Pagefind UI - strip everything, bare essentials only ── */
#search {
  --pagefind-ui-scale: 1;
  --pagefind-ui-primary: var(--accent);
  --pagefind-ui-text: var(--fg);
  --pagefind-ui-background: transparent;
  --pagefind-ui-border: transparent;
  --pagefind-ui-border-width: 0;
  --pagefind-ui-border-radius: 0;
  --pagefind-ui-font: var(--font-sans);
}

.pagefind-ui__form { margin: 0; }

/* Hide the built-in magnifying glass pseudo-element */
.pagefind-ui__form::before { display: none !important; }

/* Input: just a bottom rule, large and airy */
.pagefind-ui__search-input {
  background: transparent !important;
  border: none !important;
  border-bottom: 1.5px solid var(--fg) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  font-size: 1.625rem !important;
  font-family: var(--font-sans) !important;
  font-weight: 400 !important;
  color: var(--fg) !important;
  padding: 0.375rem 0 !important;
  width: 100% !important;
}

.pagefind-ui__search-input::placeholder {
  color: var(--fg-muted) !important;
  opacity: 1 !important;
}

/* Hide the built-in search icon inside the input */
.pagefind-ui__search-input::-webkit-search-decoration,
.pagefind-ui__search-input::-webkit-search-cancel-button { display: none; }

/* Clear button */
.pagefind-ui__search-clear {
  background: none !important;
  border: none !important;
  color: var(--fg-muted) !important;
  font-size: 0.75rem !important;
  cursor: pointer !important;
  padding: 0 !important;
}

/* Results list */
.pagefind-ui__results-area { margin-top: var(--space-md); }

.pagefind-ui__result {
  border-top: 1px solid var(--border) !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  padding: var(--space-sm) 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.pagefind-ui__result:last-child { border-bottom: 1px solid var(--border) !important; }

.pagefind-ui__result-title {
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  color: var(--fg) !important;
  font-family: var(--font-sans) !important;
}

.pagefind-ui__result-link {
  color: var(--fg) !important;
  text-decoration: none !important;
}

.pagefind-ui__result-link:hover { color: var(--accent) !important; }

.pagefind-ui__result-excerpt {
  font-size: 0.8125rem !important;
  color: var(--fg-muted) !important;
  font-family: var(--font-sans) !important;
  margin-top: 0.25rem !important;
}

mark { background: transparent !important; color: var(--accent) !important; font-weight: 600; }
