/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #ffffff;
  --bg-card:     #f5f3f0;
  --bg-nav:      #A28A78;
  --bg-nav-dark: #8C7862;
  --accent:      #8C7862;
  --accent-dim:  #A28A78;
  --text:        #2e2a26;
  --text-dim:    #6b5f56;
  --text-nav:    #ffffff;
  --border:      #ddd8d2;
  --nav-height:  60px;
  --font-serif:  Georgia, 'Times New Roman', serif;
  --font-sans:   'Segoe UI', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--bg-nav-dark); }

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

/* ===== HEADER ===== */
.site-header {
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

/* Top (static) row — holds the logo + language switcher (room for a future logo) */
.header-top {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: var(--nav-height);
  gap: 16px;
  min-width: 0;
}

/* Bottom row — holds the navigation buttons (kept at their current height) */
.header-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--nav-height);
  display: flex;
  align-items: stretch;
}

.site-logo {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
  padding-left: 14px; /* lijnt de logotekst uit met de tekst van de Home-knop eronder */
}
.site-logo .name {
  font-family: var(--font-serif);
  font-size: 1.7rem; /* vergroot zodat "It's Playtime" ongeveer even breed is als "Flatcoated Retrievers" eronder (liever iets breder dan smaller) */
  color: #fff;
  font-style: italic;
  white-space: nowrap;
}
.site-logo .breed {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ===== LANGUAGE SWITCHER ===== */
/* Right-hand group (CTA + language switcher); pushed right and dropped into the
   bottom-row band so it lines up with the nav buttons. */
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  position: relative;
  z-index: 999;
  transform: translateY(var(--nav-height));
}
.lang-switcher {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

/* ===== CTA — "pups beschikbaar" =====
   Op desktop absoluut gepositioneerd: verticaal in de onderste balk-helft,
   horizontaal door JS gecentreerd tussen de Contact-knop en de SE-knop. */
.nav-cta {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% + var(--nav-height)));
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  color: var(--bg-nav-dark);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0,0,0,0.22);
  transition: box-shadow 0.15s, background 0.15s, color 0.15s;
}
.nav-cta:hover {
  background: #fbf7f1;
  color: #5a4f44;
  box-shadow: 0 5px 16px rgba(0,0,0,0.30);
}
.cta-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4a9d5b;
  box-shadow: 0 0 0 3px rgba(74,157,91,0.22);
  flex-shrink: 0;
}
.lang-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.75);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.lang-btn:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.lang-btn.active {
  background: #fff;
  border-color: #fff;
  color: var(--bg-nav);
}

/* ===== HAMBURGER (mobile) ===== */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
  position: relative;
  z-index: 999;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== NAV ===== */
.main-nav { flex: 1; }

.nav-list {
  list-style: none;
  display: flex;
  gap: 0;
  align-items: stretch;
  height: var(--nav-height);
}

/* Level 1 item */
.nav-list > li { position: relative; }

.nav-list > li > a,
.nav-list > li > span {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 14px;
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  border-bottom: 2px solid transparent;
  gap: 5px;
}
.nav-list > li > a:hover,
.nav-list > li > span:hover,
.nav-list > li.active > a,
.nav-list > li.active > span {
  color: #fff;
  background: rgba(0,0,0,0.12);
  border-bottom-color: rgba(255,255,255,0.7);
}

/* Caret for items with children */
.has-children > a::after,
.has-children > span::after {
  content: '▾';
  font-size: 0.7rem;
  opacity: 0.6;
}

/* Submenu disclosure button — only used on mobile (hidden on desktop hover nav) */
.submenu-toggle { display: none; }

/* Level 2 dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--bg-nav-dark);
  border: 1px solid rgba(0,0,0,0.15);
  border-top: 2px solid rgba(255,255,255,0.3);
  list-style: none;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.dropdown li { position: relative; }

.dropdown li a,
.dropdown li span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  white-space: nowrap;
  transition: background 0.12s, color 0.12s;
  cursor: pointer;
  gap: 8px;
}
.dropdown li a:hover,
.dropdown li span:hover,
.dropdown li.active > a {
  background: rgba(0,0,0,0.15);
  color: #fff;
}
.dropdown li + li { border-top: 1px solid rgba(255,255,255,0.1); }

/* Caret for level-2 items with children */
.has-children > .dropdown li.has-children > a::after,
.has-children > .dropdown li.has-children > span::after {
  content: '▸';
  font-size: 0.7rem;
  opacity: 0.6;
  margin-left: auto;
}

/* Level 3 dropdown */
.dropdown .dropdown {
  top: 0;
  left: 100%;
  border-top: 1px solid rgba(0,0,0,0.15);
  border-left: 2px solid rgba(255,255,255,0.3);
}

/* Show dropdowns via JS 'open' class */
.nav-list > li.open > .dropdown { display: block; }
.dropdown li.open > .dropdown   { display: block; }

/* ===== MOBILE NAV OVERLAY ===== */
@media (max-width: 860px) {
  .hamburger { display: flex; }

  .header-top { padding: 0 12px; gap: 8px; }
  /* On mobile the nav becomes a drop-down overlay, so the bottom row collapses */
  .header-bottom { height: 0; padding: 0; border-top: none; }
  /* Logo may shrink/truncate so the language buttons + hamburger always stay visible. */
  .site-logo { min-width: 0; flex-shrink: 1; overflow: hidden; padding-left: 0; }
  .site-logo .name  { font-size: 1.05rem; overflow: hidden; text-overflow: ellipsis; }
  .site-logo .breed { display: none; }
  .lang-switcher, .hamburger { flex-shrink: 0; }
  /* the bottom row is collapsed on mobile, so the right-hand group stays in the top row */
  .header-actions { transform: none; gap: 10px; }
  /* the CTA would crowd the narrow top row, so it floats as a tasteful sticker instead */
  .nav-cta {
    position: fixed;
    top: auto;
    left: auto;
    right: 14px;
    bottom: 14px;
    transform: none;
    padding: 12px 20px;
    font-size: 0.9rem;
    box-shadow: 0 5px 18px rgba(0,0,0,0.32);
    z-index: 1500;
  }
  .lang-btn { padding: 3px 7px; font-size: 0.68rem; }

  .main-nav {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-nav);
    overflow-y: auto;
    border-top: 1px solid rgba(0,0,0,0.15);
    z-index: 998;
  }
  .main-nav.open { display: block; }

  .nav-list {
    flex-direction: column;
    height: auto;
    padding: 8px 0 24px;
  }
  .nav-list > li > a,
  .nav-list > li > span {
    height: auto;
    padding: 12px 20px;
    border-bottom: none;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 0.95rem;
    justify-content: space-between;
  }
  .nav-list > li:first-child > a { border-top: none; }

  /* One flat surface: remove the dark hover/active fills inherited from the desktop nav */
  .nav-list > li > a:hover,
  .nav-list > li.active > a,
  .nav-list > li > a:focus { background: transparent; border-bottom: none; }

  /* Sub-menu: same colour as the rest; hierarchy shown by indent + a subtle guide line */
  .dropdown {
    position: static;
    border: none;
    box-shadow: none;
    background: transparent;
    min-width: 0;
    width: auto;
    padding-left: 0;
    margin: 2px 0 8px 20px;
  }
  .dropdown .dropdown { margin-left: 16px; }
  .dropdown li + li { border-top: none; }            /* calmer: no dividers inside the group */
  .dropdown li a,
  .dropdown li span {
    padding: 10px 16px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.78);
    border-left: 2px solid rgba(255,255,255,0.22);   /* guide line — one segment per item */
  }
  .dropdown li a:hover,
  .dropdown li span:hover { background: transparent; color: #fff; }
  .nav-list > li.open > .dropdown { display: block; }
  .dropdown li.open > .dropdown   { display: block; }

  /* Current top-level page: brighter text + a thin left accent bar */
  .nav-label.is-current {
    color: #fff;
    font-weight: 700;
    box-shadow: inset 3px 0 0 #fff;
  }
  /* Current sub-page: thicken + brighten ITS segment of the existing guide line (no extra bar) */
  .dropdown a.is-current {
    color: #fff;
    font-weight: 700;
    border-left-width: 3px;
    border-left-color: #fff;
  }

  /* Layered menu: parent label (link) + chevron button on one row; sub-pages wrap below */
  .nav-list > li.has-children {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }
  .nav-list > li.has-children > a.nav-label { flex: 1; }
  .nav-list > li.has-children > a.nav-label::after { content: none; } /* chevron lives in the button */
  .nav-list > li.has-children > .dropdown { flex-basis: calc(100% - 20px); }

  /* Chevron toggle: no coloured box, larger glyph, subtle hover */
  .submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 52px;
    background: transparent;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.65);
    cursor: pointer;
  }
  .submenu-toggle .chev {
    font-size: 1.3rem;
    line-height: 1;
    transition: transform 0.2s ease, color 0.15s ease;
  }
  .submenu-toggle:hover .chev,
  .submenu-toggle:focus-visible .chev { color: #fff; }
  .has-children.open > .submenu-toggle .chev { transform: rotate(180deg); }
}

/* ===== MAIN CONTENT ===== */
main {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 40px 20px;
}

/* ===== LANGUAGE CONTENT BLOCKS ===== */
[data-lang] { display: none; }
[data-lang].visible { display: block; }
span[data-lang].visible,
a[data-lang].visible { display: inline; }

/* ===== HERO / PAGE TITLE ===== */
.hero {
  text-align: center;
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--bg-nav);
  font-weight: normal;
  font-style: italic;
  margin-bottom: 8px;
}
.hero .subtitle {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.page-title {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.page-title h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: var(--bg-nav);
  font-weight: normal;
  font-style: italic;
}
.page-title .sub {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 6px;
}

/* ===== INTRO BLOCK ===== */
.intro {
  max-width: 740px;
  margin: 0 auto 40px;
  font-size: 1rem;
  color: var(--text);
  text-align: center;
  line-height: 1.8;
}

/* ===== HOME HERO IMAGE ===== */
.home-photo {
  max-width: 472px; /* ~70% van 675px, zodat de introtekst eronder direct zichtbaar is */
  margin: 0 auto 36px;
}
.home-photo img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* ===== NEST PHOTOS (litter page) ===== */
.nest-photos {
  max-width: 900px;
  margin: 0 auto 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.nest-photos figure { margin: 0; }
.nest-photos img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  display: block;
}
.nest-photos .nest-photo-portrait { max-width: 620px; margin: 0 auto; width: 100%; }

/* Home: intro text (left, in a warm-brown box) + photo (right) */
.home-intro-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch; /* brown box matches the photo's height; text sits at the top */
  max-width: 1080px;
  margin: 0 auto 44px;
}
.intro-box {
  background: var(--bg-nav);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 30px 34px;
  font-size: 1rem;
  line-height: 1.85;
}
.intro-box a { color: #fff; text-decoration: underline; }
.home-intro-row .home-photo { max-width: none; margin: 0; }

/* ===== GENERIC PROSE / CONTENT TEXT ===== */
.prose { max-width: 780px; margin: 0 auto; }
.prose p { margin-bottom: 1.1em; }
.prose h2, .content-heading {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--bg-nav);
  font-size: 1.3rem;
  margin: 1.6em 0 0.6em;
}
.prose h3 {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--bg-nav);
  font-size: 1.1rem;
  margin: 1.2em 0 0.4em;
}

/* ===== NEWS ===== */
.news-section { margin-bottom: 40px; }
.news-section h2 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 20px;
  font-style: italic;
}
.news-item { padding: 16px 0; border-bottom: 1px solid var(--border); }
.news-item:last-child { border-bottom: none; }
.news-date { font-size: 0.78rem; color: var(--text-dim); margin-bottom: 4px; }
.news-item h3 {
  font-size: 1rem;
  color: var(--bg-nav);
  margin-bottom: 6px;
  font-family: var(--font-serif);
  font-style: italic;
}
.news-item p { font-size: 0.9rem; color: var(--text-dim); }
.news-item a.read-more { font-size: 0.82rem; color: var(--accent-dim); }
.news-item a.read-more:hover { color: var(--bg-nav-dark); }

/* layout: keep the news column aligned with the page text */
.news-section { max-width: 780px; margin: 0 auto 40px; }

/* card style — beige card with a warm-brown accent bar on the left */
.newsV4 h2 { border-bottom: none; margin-bottom: 14px; }
.newsV4 .news-item {
  background: var(--bg-card); border-left: 4px solid var(--bg-nav);
  border-radius: 0 6px 6px 0; padding: 16px 20px; margin-bottom: 12px;
}
.newsV4 .news-item:last-child { margin-bottom: 0; border-bottom: none; }

/* ===== DOG / PROFILE LAYOUT ===== */
.profile {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 40px;
}
.profile-media img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.profile-media figcaption {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

/* ===== PHOTO CAROUSEL (dog profile) ===== */
/* stretch the columns so the carousel matches the height of the grey data-card,
   and even out the split so the photo gets a wide (≈square) frame instead of a
   tall narrow one — the data-card shrinks to make room */
.profile-gallery {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  align-items: stretch;
}
/* Shrink the label column to exactly the widest label, so the value column keeps
   its full width and the photo column still gets a wide (≈square) frame. */
.profile-gallery .data-table th {
  width: 1%;
  white-space: nowrap;
  padding-right: 16px;
}

.carousel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  min-height: 0;
}
/* the stage is absolutely-filled by the image, so its height is driven by the
   data-card column rather than the image's intrinsic size */
.carousel-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 260px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
/* Each slide layers a blurred, zoomed copy of the photo (fills the frame) behind
   a fully-visible, never-cropped copy (object-fit: contain). */
.car-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.car-slide.active { opacity: 1; }
.car-slide .car-blur {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(26px) brightness(0.92);
  transform: scale(1.2);
}
.car-slide .car-fg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}

.car-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.car-nav:hover { background: rgba(0,0,0,0.65); }
.car-prev { left: 8px; }
.car-next { right: 8px; }

.carousel-thumbs {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.car-thumb {
  position: relative;
  flex: 1 1 0;
  height: 56px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  line-height: 0;
  opacity: 0.6;
  transition: opacity 0.15s, border-color 0.15s;
}
.car-thumb .car-blur {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(6px) brightness(0.92);
  transform: scale(1.25);
}
.car-thumb .car-fg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}
.car-thumb:hover { opacity: 1; }
.car-thumb.active { opacity: 1; border-color: var(--bg-nav); }

/* ===== DATA TABLE ===== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.data-table th,
.data-table td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.data-table th {
  width: 42%;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.82rem;
}
.data-table tr:last-child th,
.data-table tr:last-child td { border-bottom: none; }

.data-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px 18px;
}

/* ===== INFO / NOTICE BOX ===== */
.info-box {
  background: var(--bg-card);
  border-left: 3px solid var(--accent-dim);
  border-radius: 4px;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 0.92rem;
}
.info-box.muted { color: var(--text-dim); font-style: italic; }

/* ===== GALLERY ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.gallery figure {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s;
}
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption {
  font-size: 0.75rem;
  color: var(--text-dim);
  padding: 6px 8px;
  text-align: center;
}

/* ===== SECTION HEADING ===== */
.section-head {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--bg-nav);
  font-size: 1.3rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  margin: 40px 0 20px;
}

/* ===== LITTER / OFFSPRING TABLE ===== */
.litter-block { margin-bottom: 36px; }
.litter-meta {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.litter-meta strong { color: var(--text); }
.table-scroll { overflow-x: auto; }
.litter-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  min-width: 560px;
}
.litter-table th {
  background: var(--bg-nav);
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 9px 10px;
  font-size: 0.8rem;
}
.litter-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.litter-table tr:nth-child(even) td { background: var(--bg-card); }
.litter-table .pedigree { font-style: italic; color: var(--text-dim); }
.litter-table .deceased { color: #9a3b3b; font-size: 0.8rem; }

/* ===== DIARY ===== */
.diary { max-width: 820px; margin: 0 auto; }
.diary-entry {
  background: var(--bg-card);
  border-left: 4px solid var(--bg-nav);
  border-radius: 0 6px 6px 0;
  padding: 16px 22px;
  margin-bottom: 16px;
  position: relative;
}
.diary-date {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--bg-nav);
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.diary-entry p { font-size: 0.93rem; }
.diary-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.diary-gallery img { border-radius: 5px; height: 150px; width: 100%; object-fit: cover; }

/* Single in-line diary photo (e.g. birth / feeding day) */
.diary-photo { margin: 12px 0 0; max-width: 440px; }
.diary-photo img { width: 100%; border-radius: 6px; box-shadow: 0 4px 14px rgba(0,0,0,0.12); }

/* ===== LIGHTBOX (enlarged diary photos) ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.85);
}
.lightbox.open { display: flex; }
.lb-img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.lb-close,
.lb-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.lb-close:hover,
.lb-nav:hover { background: rgba(255, 255, 255, 0.3); }
.lb-close {
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
}
.lb-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
}
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
@media (max-width: 720px) {
  .lb-nav { width: 40px; height: 40px; font-size: 1.6rem; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-close { top: 10px; right: 10px; }
}

/* In-line diary video */
.diary-video {
  display: block;
  width: 100%;
  max-width: 440px;
  margin: 12px 0 0;
  background: #000;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

/* ===== PARENTS (litter page) ===== */
.parents,
.parents-extra {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 960px;
  margin: 0 auto 32px;
}
.parents figure img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.parents figcaption {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-top: 10px;
  line-height: 1.4;
}
.parents figcaption strong {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--bg-nav);
  font-size: 1rem;
}
.parents-extra figure img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  transition: box-shadow 0.15s;
}
.parents-extra a:hover img { box-shadow: 0 4px 16px rgba(0,0,0,0.18); }
.parents-extra figcaption {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 8px;
  letter-spacing: 0.04em;
}

/* ===== PUPPYCAM ===== */
.cam-embed {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 24px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}
.cam-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ===== CONTACT ===== */
/* One centred reading column so every heading sits directly above its own text */
.contact-page { max-width: 820px; margin: 0 auto; }
.contact-page .prose { max-width: none; margin: 0; }
/* lucht tussen het formulierblok en het eerste tekstblok eronder */
.contact-page .contact-lead { margin-top: 44px; }

/* The welcome block's opening line is treated as a section title,
   matching the look of .section-head ("Voorwaarden & pups" etc.) */
.contact-lead [data-lang] > p:first-child {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--bg-nav);
  font-size: 1.3rem;
  line-height: 1.3;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  margin: 0 0 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px 22px;
  font-size: 0.92rem;
}
.contact-card h3 {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--bg-nav);
  margin-bottom: 10px;
}
.contact-card p { margin-bottom: 6px; }
/* primary phone/email line sits tight above its NL/BE alternative */
.contact-details .contact-line { margin-bottom: 1px; }
.contact-details .contact-alt {
  margin: 0 0 10px;
  font-size: 0.8rem;
  color: var(--text-dim);
}
.contact-details .contact-alt a { color: var(--text-dim); }
.contact-details .contact-alt a:hover { color: var(--bg-nav-dark); }

.contact-form label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin: 12px 0 4px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.92rem;
  background: #fff;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .req { color: #9a3b3b; }

/* honeypot — uit beeld gehaald, maar wel in de DOM voor bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* status message under the submit button */
.form-status {
  margin-top: 12px;
  font-size: 0.9rem;
  min-height: 1.2em;
}
.form-status.sending { color: var(--text-dim); }
.form-status.ok      { color: #3b7a4b; }
.form-status.error   { color: #9a3b3b; }
.btn {
  display: inline-block;
  margin-top: 16px;
  background: var(--bg-nav);
  color: #fff;
  border: none;
  padding: 11px 26px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.15s;
}
.btn:hover { background: var(--bg-nav-dark); }

/* ===== QUOTE ===== */
.quote-block {
  margin: 48px auto 8px;
  max-width: 640px;
  text-align: center;
  padding: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.quote-block p {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ===== FOOTER ===== */
footer {
  background: var(--bg-nav-dark);
  border-top: 1px solid rgba(0,0,0,0.15);
  text-align: center;
  padding: 20px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 720px) {
  .profile { grid-template-columns: 1fr; gap: 22px; }
  .profile-media { max-width: 360px; margin: 0 auto; }
  /* carousel goes full-width-ish in the single column, kept readable */
  .profile-gallery .carousel { max-width: 460px; margin: 0 auto; width: 100%; }
  .carousel-stage { min-height: 300px; }
  .contact-grid { grid-template-columns: 1fr; }
  .parents, .parents-extra { grid-template-columns: 1fr; gap: 20px; }
  .parents figure img { height: auto; }
  .home-intro-row { grid-template-columns: 1fr; gap: 22px; }
}
