/* ==========================================================
   Wild Holland — shared stylesheet
   ========================================================== */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Source+Sans+3:wght@400;600&display=swap");

:root {
  --sky: #dfeaf1;
  --sky-deep: #9fbfd3;
  --forest: #23443a;
  --forest-light: #3d6b5c;
  --wheat: #f6f1e7;
  --paper: #fffdf8;
  --ink: #1f2a27;
  --muted: #5c6b66;
  --accent: #e2711d;          /* Dutch orange */
  --line: #e2dccf;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(35, 68, 58, 0.10);
  --max: 1100px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 1.075rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--wheat);
}

img, svg { max-width: 100%; display: block; }

a { color: var(--forest-light); }
a:hover { color: var(--accent); }

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.2;
  color: var(--forest);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 1.6em; }
h3 { font-size: 1.25rem; }

.container {
  width: min(var(--max), 100% - 32px);
  margin-inline: auto;
}

/* ---------- Header & navigation ---------- */
.site-header {
  background: var(--forest);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
}
.logo svg { width: 38px; height: 38px; }
.logo:hover { color: #fff; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  display: block;
  padding: 6px 14px;
  border-radius: 999px;
  color: #e6efe9;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.97rem;
  transition: background 0.2s;
}
.nav a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.nav a.active { background: var(--accent); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sky-deep) 0%, var(--sky) 70%, var(--wheat) 100%);
  padding: 90px 0 110px;
  text-align: center;
}
.hero p.lead {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.2rem;
  color: #2f4a42;
}
.hero .tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
}
.hero .flock {
  position: absolute;
  top: 26px;
  right: 6%;
  width: 220px;
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite alternate;
}
.hero .flock.left {
  top: auto;
  bottom: 40px;
  left: 4%;
  right: auto;
  width: 150px;
  opacity: 0.35;
  animation-duration: 24s;
}
@keyframes drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-40px) translateY(10px); }
}

/* ---------- Article cards (home) ---------- */
.section { padding: 56px 0; }
.section-title { text-align: center; margin-top: 0; }
.section-intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 36px;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(35, 68, 58, 0.16);
  color: inherit;
}
.card-art {
  height: 150px;
  display: grid;
  place-items: center;
}
.card-art svg { width: 110px; height: 110px; }
.art-stork   { background: linear-gradient(135deg, #f3d9c9, #e9b8a2); }
.art-crane   { background: linear-gradient(135deg, #d7e3ea, #a9c3d3); }
.art-swallow { background: linear-gradient(135deg, #dbe8d5, #a8c79c); }
.art-guide   { background: linear-gradient(135deg, #efe4c4, #d8c38c); }

.card-body { padding: 20px 22px 24px; flex: 1; }
.card-body h3 { margin-bottom: 0.3em; }
.card-body p { margin: 0 0 12px; color: var(--muted); font-size: 1rem; }
.meta {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.read-more { font-weight: 600; color: var(--forest-light); }

/* ---------- Facts strip ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  background: var(--forest);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}
.facts strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  color: #f6c08f;
}
.facts span { font-size: 0.95rem; color: #d3e0da; }

/* ---------- Article pages ---------- */
.article-hero {
  padding: 64px 0 48px;
  background: linear-gradient(180deg, var(--sky) 0%, var(--wheat) 100%);
}
.article-hero .container {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}
.article-hero svg { width: 170px; height: 170px; }
.article-hero .subtitle { font-size: 1.15rem; color: var(--muted); margin: 0; }
.latin { font-style: italic; color: var(--muted); }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  padding: 40px 0 70px;
}
.article {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px clamp(20px, 4vw, 48px);
}
.article > h2:first-child { margin-top: 0; }
.article p { margin: 0 0 1.1em; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin-bottom: 0.4em; }

blockquote {
  margin: 1.6em 0;
  padding: 16px 24px;
  border-left: 4px solid var(--accent);
  background: #fdf1e6;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  color: var(--forest);
}

.callout {
  margin: 1.6em 0;
  padding: 18px 22px;
  background: var(--sky);
  border-radius: var(--radius);
}
.callout strong { color: var(--forest); }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.widget {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px;
}
.widget h3 { font-size: 1.1rem; border-bottom: 2px solid var(--line); padding-bottom: 8px; }
.profile { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.profile th, .profile td {
  text-align: left;
  vertical-align: top;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}
.profile th { color: var(--muted); font-weight: 600; width: 45%; padding-right: 8px; }
.profile tr:last-child th, .profile tr:last-child td { border-bottom: 0; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 5px 0; }

/* Calendar months */
.months {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3px;
  margin-top: 6px;
}
.months span {
  font-size: 0.7rem;
  text-align: center;
  padding: 5px 0;
  border-radius: 4px;
  background: #ece7da;
  color: var(--muted);
}
.months span.on { background: var(--forest-light); color: #fff; }
.legend { font-size: 0.85rem; color: var(--muted); margin: 8px 0 0; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 1.4em 0; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
  min-width: 520px;
}
table.data th, table.data td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
table.data thead th {
  background: var(--forest);
  color: #fff;
  font-weight: 600;
}
table.data tbody tr:nth-child(even) { background: #faf6ee; }

/* Hotspots grid */
.spots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 1.4em 0;
}
.spot {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  background: #fff;
}
.spot h3 { font-size: 1.05rem; margin-bottom: 0.2em; }
.spot .where { font-size: 0.85rem; color: var(--accent); font-weight: 600; }
.spot p { font-size: 0.97rem; margin: 6px 0 0; }

/* Prev / next */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 2.4em;
  padding-top: 1.4em;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.post-nav a { font-weight: 600; text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: #1b3530;
  color: #b9cac3;
  padding: 36px 0;
  font-size: 0.95rem;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer a { color: #e6efe9; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-hero .container { grid-template-columns: 1fr; text-align: center; }
  .article-hero svg { margin: 0 auto; width: 130px; height: 130px; }
}
@media (max-width: 560px) {
  .site-header { position: static; }
  .site-header .container { justify-content: center; }
  .nav { justify-content: center; }
  .hero { padding: 64px 0 80px; }
  .hero .flock { width: 140px; }
  .facts { padding: 24px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .flock { animation: none; }
  .card { transition: none; }
}
.card-body p.meta { color: var(--accent); font-size: 0.8rem; margin-bottom: 6px; }
.art-seal    { background: linear-gradient(135deg, #d7e3ea, #a9c3d3); }
.art-spoon   { background: linear-gradient(135deg, #fbe6cf, #f2c08c); }
.art-beaver  { background: linear-gradient(135deg, #dbe8d5, #a8c79c); }
