/*
Theme Name: Dierenvoer Scanner Theme
Theme URI: https://example.com/
Author: Codex
Author URI: https://example.com/
Description: Lightweight SEO-focused theme for Dierenvoer Scanner comparison sites.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: dierenvoer-scanner-theme
*/

:root {
  --dvs-bg: #f7f8f6;
  --dvs-surface: #ffffff;
  --dvs-text: #182326;
  --dvs-muted: #5f6c70;
  --dvs-line: #dfe6e2;
  --dvs-primary: #0d6b57;
  --dvs-primary-dark: #084b3d;
  --dvs-accent: #f3b33d;
  --dvs-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--dvs-bg);
  color: var(--dvs-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--dvs-primary);
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  background: var(--dvs-surface);
  border-bottom: 1px solid var(--dvs-line);
}

.site-header__inner,
.site-footer__inner,
.site-main {
  width: min(var(--dvs-max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.site-branding {
  display: flex;
  flex-direction: column;
}

.site-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
}

.site-title a {
  color: var(--dvs-text);
  text-decoration: none;
}

.site-description {
  margin: 4px 0 0;
  color: var(--dvs-muted);
  font-size: 13px;
}

.primary-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu a {
  color: var(--dvs-text);
  font-weight: 700;
  text-decoration: none;
}

.primary-menu a:hover,
.primary-menu a:focus {
  color: var(--dvs-primary);
}

.site-main {
  padding: 28px 0 56px;
}

.content-card {
  background: var(--dvs-surface);
  border: 1px solid var(--dvs-line);
  border-radius: 6px;
  padding: clamp(20px, 4vw, 34px);
}

.entry-title {
  margin-top: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.entry-content > * + * {
  margin-top: 1rem;
}

.site-footer {
  border-top: 1px solid var(--dvs-line);
  background: #142224;
  color: #d9e5e2;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 92px;
  padding: 24px 0;
}

.site-footer a {
  color: #ffffff;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 10;
  padding: 8px 12px;
  background: var(--dvs-primary);
  color: #fff;
}

.skip-link:focus {
  left: 12px;
}

@media (max-width: 760px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .primary-menu {
    gap: 12px;
  }
}
