:root {
  --vx-cream: #fdfbf5;
  --vx-cream-alt: #f6efdf;
  --vx-ink: #2b2118;
  --vx-body: #4a4030;
  --vx-muted: #8a7f6c;
  --vx-accent: #c8763f;
  --vx-accent-dark: #a85a2c;
  --vx-border: #e8dfc9;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--vx-cream);
  color: var(--vx-body);
}

.vx-skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--vx-ink);
  color: var(--vx-cream);
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  z-index: 100;
}

.vx-skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.vx-shadow-warm {
  box-shadow: 0 20px 45px -22px rgba(122, 74, 43, 0.45);
}

.vx-shadow-card {
  box-shadow: 0 14px 32px -20px rgba(43, 33, 24, 0.35);
}

.vx-serif {
  font-family: ui-serif, Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
}

.vx-nav-link {
  position: relative;
  color: var(--vx-body);
}

.vx-nav-link:hover {
  color: var(--vx-accent-dark);
}

.vx-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--vx-accent);
  transition: width 0.2s ease;
}

.vx-nav-link:hover::after {
  width: 100%;
}

.vx-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--vx-accent);
  color: #fffaf2;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.vx-btn-primary:hover {
  background: var(--vx-accent-dark);
  transform: translateY(-1px);
}

.vx-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 2px solid var(--vx-accent);
  color: var(--vx-accent-dark);
  font-weight: 600;
  padding: 0.8rem 1.7rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.vx-btn-secondary:hover {
  background: var(--vx-accent);
  color: #fffaf2;
}

.vx-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  background: var(--vx-cream-alt);
  color: var(--vx-accent-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
}

.vx-card {
  background: #ffffff;
  border: 1px solid var(--vx-border);
  border-radius: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vx-card:hover {
  transform: translateY(-3px);
}

.vx-article-body h2 {
  font-family: ui-serif, Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  color: var(--vx-ink);
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.vx-article-body p {
  margin-bottom: 1.15rem;
  line-height: 1.85;
}

.vx-article-body ul {
  margin: 1.15rem 0;
  padding-left: 1.4rem;
  list-style: disc;
}

.vx-article-body li {
  margin-bottom: 0.5rem;
  line-height: 1.75;
}

.vx-article-body a {
  color: var(--vx-accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vx-article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.vx-article-body th, .vx-article-body td {
  border: 1px solid var(--vx-border);
  padding: 0.65rem 0.85rem;
  text-align: left;
  font-size: 0.95rem;
}

.vx-article-body th {
  background: var(--vx-cream-alt);
  font-weight: 700;
  color: var(--vx-ink);
}

#vx-mobile-menu {
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

#vx-mobile-menu.vx-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

#vx-cookie-banner {
  transform: translateY(120%);
  transition: transform 0.35s ease;
}

#vx-cookie-banner.vx-visible {
  transform: translateY(0);
}

@media (max-width: 767px) {
  #vx-cookie-banner {
    transform: translateY(120%);
  }
}
