/* LastVet public documentation theme */

:root {
  --lastvet-teal: #0f766e;
  --lastvet-teal-deep: #0b3f37;
  --lastvet-gold: #d2bd58;
  --lastvet-slate: #2b3a42;
  --lastvet-cream: #f7f5f0;
  --lastvet-ink: #1c262b;
}

[data-md-color-scheme="default"] {
  --md-primary-fg-color: var(--lastvet-teal);
  --md-primary-fg-color--light: #14a89c;
  --md-primary-fg-color--dark: var(--lastvet-teal-deep);
  --md-accent-fg-color: var(--lastvet-gold);
  --md-default-bg-color: var(--lastvet-cream);
}

[data-md-color-scheme="slate"] {
  --md-primary-fg-color: var(--lastvet-teal);
  --md-primary-fg-color--dark: #063530;
  --md-accent-fg-color: var(--lastvet-gold);
  --md-default-bg-color: var(--lastvet-ink);
}

.lastvet-hero {
  margin: 0 0 2rem;
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  background: linear-gradient(
    145deg,
    rgba(15, 118, 110, 0.12) 0%,
    rgba(11, 63, 55, 0.08) 55%,
    rgba(38, 55, 31, 0.06) 100%
  );
  border: 1px solid rgba(15, 118, 110, 0.25);
}

.lastvet-hero h1 {
  margin: 0 0 0.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lastvet-hero p {
  margin: 0;
  max-width: 46rem;
  opacity: 0.9;
}

.lastvet-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
  margin: 1.5rem 0 2rem;
}

.lastvet-section-link {
  display: block;
  padding: 1rem 1.1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(15, 118, 110, 0.22);
  text-decoration: none !important;
  color: inherit !important;
  background: rgba(255, 255, 255, 0.55);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

[data-md-color-scheme="slate"] .lastvet-section-link {
  background: rgba(35, 48, 56, 0.65);
  border-color: rgba(20, 168, 156, 0.25);
}

.lastvet-section-link:hover {
  transform: translateY(-2px);
  border-color: var(--lastvet-teal);
  box-shadow: 0 8px 24px rgba(11, 63, 55, 0.15);
}

.lastvet-section-link strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
  color: var(--lastvet-teal-deep);
}

[data-md-color-scheme="slate"] .lastvet-section-link strong {
  color: #9aeae0;
}

.lastvet-section-link span {
  font-size: 0.85rem;
  opacity: 0.85;
  line-height: 1.45;
}

.lastvet-footer-links {
  margin-top: 0.5rem;
  font-size: 0.75rem;
}

.lastvet-footer-links a {
  color: inherit;
  opacity: 0.8;
  text-decoration: underline;
  text-underline-offset: 0.15rem;
}

.lastvet-footer-links a:hover {
  opacity: 1;
}

.lastvet-footer-links span {
  margin: 0 0.35rem;
  opacity: 0.5;
}

.md-typeset .md-search__input {
  border-radius: 0.5rem;
}

.md-footer-meta__inner {
  border-top: 1px solid rgba(15, 118, 110, 0.2);
}
