/* ==========================================================================
   pb-hond-detail.css
   Hond detail (.p-hond-detail / .pb-hond): profielhero, stamboom, foto's,
   karakter, gezondheid, groeicurve, DNA, video.
   Link samen met pb-common.css (pb-common.css eerst).
   ========================================================================== */

/* --------------------------------------------------------------------------
   Update / category cards
   -------------------------------------------------------------------------- */

.pb-main .update-section {
  padding-top: 14px;
}

.pb-main .update-row {
  display: grid;
  gap: 18px 28px;
  grid-template-columns: repeat(3, 1fr);
}

.pb-main .update-card {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid #eaded4;
  padding-bottom: 12px;
}

.pb-main .update-card.outline {
  border: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  border-bottom-width: 2px;
  padding: 8px;
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--shadow2);
}

.pb-main .update-card img {
  width: 108px;
  height: 84px;
  object-fit: cover;
  border-radius: var(--r);
  position: relative;
  z-index: 1;
}

.pb-main .update-card.outline img {
  height: 92px;
}

.pb-main .update-text h3 {
  font-family: Manrope, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.13;
  margin: 5px 0 0;
  font-weight: 800;
  color: var(--brown);
}

.pb-main .update-text p {
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
  margin: 4px 0 0;
}

.pb-main .update-card .update-text {
  position: relative;
  z-index: 3;
}

.pb-main .update-card.outline:after,
.pb-main .update-card.outline:before {
  display: none;
}

.pb-main .category-section .update-row {
  padding: 0 18px;
}

.pb-main .update-card.media {
  position: relative;
}

/* Update cards — overrides (compact grid variant) */

.pb-main .update-row {
  display: grid;
  gap: 12px;
}

.pb-main .update-card {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid #eaded4;
  padding: 0 0 12px;
  background: transparent;
  box-shadow: none;
}

.pb-main .update-card.outline {
  border: 2px solid var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent), var(--shadow2);
  padding: 8px;
  background: #fff;
  border-radius: var(--r);
}

.pb-main .update-card img {
  width: 108px;
  height: 84px;
  object-fit: cover;
  border-radius: var(--r);
}

.pb-main .update-card.outline img {
  height: 92px;
}

.pb-main .update-text h3 {
  font-family: Manrope, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.13;
  margin: 5px 0 0;
  font-weight: 850;
  color: var(--brown);
  letter-spacing: -0.02em;
}

.pb-main .update-text p {
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
  margin: 4px 0 0;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .pb-main .update-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .pb-main .update-row {
    gap: 12px;
    grid-template-columns: none;
  }
}

/* --------------------------------------------------------------------------
   Hond detail — page grid (two-column bleed layout)
   -------------------------------------------------------------------------- */

.pb-main.pb-hond {
  display: grid;
  grid-template-columns:
    [bleed-start] minmax(32px, 1fr)
    [content-start] minmax(0, 558px)
    [left-end] 44px
    [right-start] minmax(0, 558px)
    [content-end] minmax(32px, 1fr) [bleed-end];
  column-gap: 0;
  align-items: start;
  max-width: none;
  margin: 0;
  padding: 0 0 72px;
}

.pb-main.pb-hond > section {
  grid-column: content-start / content-end;
  max-width: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 44px 0 0 !important;
}

.pb-main.pb-hond > section:nth-child(5) {
  grid-column: content-start / left-end;
}

.pb-main.pb-hond > section:nth-child(6) {
  grid-column: right-start / content-end;
}

.pb-main.pb-hond > section:nth-child(7) {
  grid-column: content-start / left-end;
}

.pb-main.pb-hond > section:nth-child(8) {
  grid-column: right-start / content-end;
}

.pb-main.pb-hond > section .section-head {
  padding: 0 !important;
  margin-bottom: 18px;
}

.pb-main.pb-hond > section .h2 {
  font-size: 30px;
}

/* --------------------------------------------------------------------------
   Profile hero
   -------------------------------------------------------------------------- */

.pb-main.pb-hond > .profile-hero {
  grid-column: bleed-start / bleed-end;
  background: #efe3d9;
  background-image: none;
  border-bottom: 1px solid var(--line);
  display: grid !important;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 48px max(32px, calc((100% - 1160px) / 2)) 44px !important;
  margin: 0 0 4px !important;
}

.pb-main.pb-hond .profile-hero.no-grad {
  background: #efe3d9;
}

.pb-main.pb-hond .profile-hero img {
  height: 380px !important;
  object-fit: cover;
  align-self: center;
  justify-self: center;
}

.pb-main.pb-hond .profile-title h1 {
  font-family: Fraunces, serif;
  color: var(--brown);
  font-size: 64px;
  line-height: 0.95;
  margin: 8px 0 14px;
}

.pb-main.pb-hond .profile-title .intro {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  max-width: 46ch;
  margin: 0 0 16px;
}

.pb-main.pb-hond .trait-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.pb-main.pb-hond .trait {
  background: #fff;
  color: var(--brown);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid var(--line);
  padding: 6px 8px;
  border-radius: 2px;
}

.pb-main.pb-hond .trait-row.detail {
  padding: 16px 0 0;
}

/* --------------------------------------------------------------------------
   Spec table
   -------------------------------------------------------------------------- */

.pb-main.pb-hond .spec-table {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px !important;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
}

.pb-main.pb-hond .spec-table .row {
  display: flex !important;
  flex-direction: column;
  gap: 12px !important;
  align-items: flex-start;
  border-width: 1px 0;
  border-color: var(--line);
  border-style: solid;
  padding: 18px 20px !important;
}

.pb-main.pb-hond .spec-table b {
  display: block;
  text-align: left;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pb-main.pb-hond .spec-table span {
  display: block;
  text-align: left;
  font-family: Fraunces, serif;
  color: var(--brown);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.2;
}

/* --------------------------------------------------------------------------
   Family tree (stamboom)
   -------------------------------------------------------------------------- */

.pb-main.pb-hond .family-tree-wrap {
  display: flex;
  justify-content: center;
  overflow-x: auto;
  background: transparent;
  padding: 6px 0 2px;
  scrollbar-width: none;
}

.pb-main.pb-hond .family-tree-wrap::-webkit-scrollbar {
  display: none;
}

.pb-main.pb-hond .family-tree {
  min-width: 760px;
  height: 520px;
  position: relative;
  background: transparent;
}

.pb-main.pb-hond .family-line {
  position: absolute;
  background: #bda18c;
  z-index: 1;
}

.pb-main.pb-hond .family-line.h {
  height: 1.5px;
}

.pb-main.pb-hond .family-line.v {
  width: 1.5px;
}

.pb-main.pb-hond .family-node {
  position: absolute;
  width: 118px;
  min-height: 54px;
  padding: 9px 8px;
  border: 1.2px solid #ccb29d;
  background: #efe3d9;
  border-radius: 6px;
  color: #6c4d38;
  z-index: 2;
  display: grid;
  align-content: center;
  text-align: center;
}

.pb-main.pb-hond .family-node.self {
  background: #6c4d38;
  border-color: #6c4d38;
  color: #fff;
}

.pb-main.pb-hond .family-node strong {
  display: block;
  font-size: 10px;
  line-height: 1.1;
  font-weight: 850;
}

.pb-main.pb-hond .family-node span {
  display: block;
  font-size: 7px;
  line-height: 1.2;
  margin-top: 3px;
  color: #806a5b;
}

.pb-main.pb-hond .family-node.self span {
  color: #efe3d9;
}

/* --------------------------------------------------------------------------
   Photo swipe / gallery
   -------------------------------------------------------------------------- */

.pb-main.pb-hond .photo-swipe {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  overflow: visible !important;
  padding: 0 !important;
  scroll-snap-type: none;
  scrollbar-width: none;
}

.pb-main.pb-hond .photo-swipe::-webkit-scrollbar {
  display: none;
}

.pb-main.pb-hond .photo-swipe img {
  width: 100% !important;
  height: 300px !important;
  object-fit: cover;
  border-radius: var(--r-md);
  box-shadow: var(--shadow2);
  flex: none !important;
}

/* --------------------------------------------------------------------------
   Character copy (karakter)
   -------------------------------------------------------------------------- */

.pb-main.pb-hond .character-copy {
  padding: 0;
}

.pb-main.pb-hond .character-copy p {
  margin: 0 0 12px;
  color: #67584f;
  font-size: 15.5px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Health accordion (gezondheid)
   -------------------------------------------------------------------------- */

.pb-main.pb-hond .health-accordion {
  margin: 0 18px 18px;
  border-top: 1px solid var(--line);
}

.pb-main.pb-hond > section:nth-child(6) .health-accordion {
  margin: 0;
}

.pb-main.pb-hond .health-accordion details {
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.pb-main.pb-hond .health-accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  cursor: pointer;
}

.pb-main.pb-hond .health-accordion summary::-webkit-details-marker {
  display: none;
}

.pb-main.pb-hond .health-accordion summary b {
  flex: 0 0 auto;
  color: #987b65;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
}

.pb-main.pb-hond .health-accordion summary span {
  flex: 1 1 auto;
  color: var(--brown);
  font-weight: 800;
  text-align: right;
  font-size: 12px;
  margin-right: 0;
}

.pb-main.pb-hond .health-accordion summary::after {
  content: "+";
  flex: 0 0 18px;
  width: 18px;
  text-align: right;
  color: var(--accent);
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
}

.pb-main.pb-hond .health-accordion details[open] summary::after {
  content: "\2212";
}

.pb-main.pb-hond .health-preview {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 0 12px;
  scrollbar-width: none;
}

.pb-main.pb-hond .health-preview::-webkit-scrollbar {
  display: none;
}

.pb-main.pb-hond .health-preview img,
.pb-main.pb-hond .health-preview .pdf-preview {
  flex: 0 0 132px;
  width: 132px;
  height: 102px;
  object-fit: cover;
  border-radius: 3px;
  background: #efe6de;
  border: 1px solid var(--line);
  box-shadow: 0 6px 12px rgba(77, 51, 34, 0.08);
}

/* "Certificaat"-kaartje i.p.v. een echte pagina-voorvertoning — de meeste van
   deze PDF's zíjn ook officiële uitslagen/certificaten (OFA, Laboklin, ...),
   dus een lichte, betrouwbare voorvertoning zonder afhankelijk te zijn van
   of de server PDF-thumbnails kan genereren (Imagick/Ghostscript). */
.pb-main.pb-hond .pdf-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 10px 8px;
  color: var(--brown);
  text-align: center;
  position: relative;
  background: var(--paper, #fffaf5);
}

.pb-main.pb-hond .pdf-preview::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid var(--line);
  pointer-events: none;
}

.pb-main.pb-hond .pdf-seal {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--accent);
  position: relative;
  z-index: 1;
}

.pb-main.pb-hond .pdf-seal svg {
  width: 100%;
  height: 100%;
}

.pb-main.pb-hond .pdf-eyebrow {
  position: relative;
  z-index: 1;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}

.pb-main.pb-hond .pdf-preview .pdf-label {
  position: relative;
  z-index: 1;
  font-family: Fraunces, serif;
  font-weight: 700;
  font-size: 12.5px;
  line-height: 1.2;
  padding: 0 4px;
}

.pb-main.pb-hond .health-preview p,
.pb-main.pb-hond .health-preview a {
  display: none;
}

.pb-main.pb-hond .health-preview a.health-img {
  display: contents;
}

.pb-main.pb-hond .health-preview a.pdf-preview {
  display: flex;
  text-decoration: none;
  color: var(--brown);
}

/* "Nog niet bekend"-kaartje — zelfde vorm als het certificaat, maar gedempt
   (geen link, geen accentkleur) zodat duidelijk is dat er nog niets is. */
.pb-main.pb-hond .health-preview span.pdf-preview.is-onbekend {
  display: flex;
  color: var(--muted);
  background: #f4eee7;
  cursor: default;
}

.pb-main.pb-hond .pdf-preview.is-onbekend .pdf-seal {
  color: var(--muted);
}

.pb-main.pb-hond .pdf-preview.is-onbekend::after {
  border-style: dashed;
}

/* --------------------------------------------------------------------------
   Growth graph (groeicurve)
   -------------------------------------------------------------------------- */

.pb-main.pb-hond .growth-graph {
  position: relative;
  margin: 0;
  width: 100%;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.pb-main.pb-hond .growth-graph .gc-tip {
  display: none;
  position: absolute;
  transform: translate(-50%, calc(-100% - 12px));
  background: var(--brown, #6c4d38);
  color: #fff;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 5;
  box-shadow: 0 6px 16px rgba(77, 51, 34, 0.22);
}

.pb-main.pb-hond .growth-graph .gc-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--brown, #6c4d38);
}

.pb-main.pb-hond .growth-graph .gc-tip.is-open {
  display: block;
}

.pb-main.pb-hond .growth-graph .dot:focus {
  outline: 2px solid var(--accent, #c97a55);
  outline-offset: 2px;
}

.pb-main.pb-hond .growth-graph svg {
  width: 100%;
  height: 240px;
  display: block;
  overflow: visible;
}

.pb-main.pb-hond .growth-graph .grid {
  stroke: #e0cec0;
  stroke-width: 1;
  fill: none;
}

.pb-main.pb-hond .growth-graph .axis {
  stroke: #a98670;
  stroke-width: 2;
  fill: none;
}

.pb-main.pb-hond .growth-graph .line {
  stroke: #b36c4d;
  stroke-width: 2;
  fill: none;
}

.pb-main.pb-hond .growth-graph .dot {
  fill: #6c4d38;
  cursor: pointer;
}

.pb-main.pb-hond .growth-graph path {
  fill: none;
}

.pb-main.pb-hond .growth-graph text {
  font-family: Manrope, system-ui, sans-serif;
  font-size: 8px;
  fill: #806a5b;
}

/* --------------------------------------------------------------------------
   DNA panel — per categorie via de [pb_dna] shortcode
   -------------------------------------------------------------------------- */

.pb-main.pb-hond .dna-group {
  margin: 0 0 14px;
}

.pb-main.pb-hond .dna-group:last-child {
  margin-bottom: 0;
}

.pb-main.pb-hond .dna-group-title {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 4px;
}

.pb-main.pb-hond .dna-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding: 0;
}

.pb-main.pb-hond .dna-pill {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #decabb;
  border-radius: 0;
  color: #806a5b;
  font-size: 11px;
  font-weight: 900;
  padding: 7px 0;
}

/* --------------------------------------------------------------------------
   Video
   -------------------------------------------------------------------------- */

.pb-main.pb-hond .video-single {
  padding: 0;
}

.pb-main.pb-hond .video-thumb {
  position: relative;
  background: #ddd;
  overflow: hidden;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 560px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow2);
}

.pb-main.pb-hond .video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pb-main.pb-hond .video-thumb::after {
  content: "\25B6";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  background: rgba(108, 77, 56, 0.9);
  color: #fff;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 16px;
}

.pb-main.pb-hond .video-overlay-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  font-size: 0;
  line-height: 0;
}

.pb-main.pb-hond .video-thumb .brxe-rich-text,
.pb-main.pb-hond .video-thumb iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.pb-main.pb-hond .video-thumb:has(.brxe-rich-text)::after,
.pb-main.pb-hond .video-thumb:has(iframe)::after {
  content: none;
}

/* Updates op de hond-detailpagina: foto-kaart met donkere onderrand-gradient
   en tekst erop — zelfde beeldtaal als .pb-nws-mini (nieuwsoverzicht) en
   .pb-upd-card (update-detailpagina), i.p.v. de kleine-thumbnail-naast-tekst
   layout die hier eerst stond (en waarvan de "outline"-stijl van de eerste/
   uitgelichte kaart trouwens nooit toepaste — die stond op het verkeerde
   element). */
.pb-main.pb-hond .update-section .update-row {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 20px !important;
}

.pb-main.pb-hond .update-section .update-card {
  position: relative !important;
  display: block !important;
  height: 220px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: var(--r-lg) !important;
  background: var(--brown);
  box-shadow: var(--shadow2) !important;
  overflow: hidden;
  isolation: isolate;
  transition: transform .28s cubic-bezier(.22, .61, .36, 1), box-shadow .28s ease;
}

.pb-main.pb-hond .update-section .update-card.outline {
  box-shadow: 0 0 0 2px var(--accent), var(--shadow2) !important;
}

.pb-main.pb-hond .update-section .update-card img {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 0 !important;
  transition: transform .55s cubic-bezier(.22, .61, .36, 1);
}

.pb-main.pb-hond .update-section .update-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(38, 27, 20, .05) 40%, rgba(38, 27, 20, .8));
  z-index: 1;
}

.pb-main.pb-hond .update-section .update-text {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 13px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.pb-main.pb-hond .update-section .update-text .label {
  font-size: 10px;
  letter-spacing: .06em;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  box-shadow: 0 4px 10px rgba(38, 27, 20, .16);
}

.pb-main.pb-hond .update-section .update-text h3 {
  font-family: Fraunces, serif !important;
  font-size: 19px !important;
  line-height: 1.16 !important;
  font-weight: 700 !important;
  letter-spacing: -.02em !important;
  color: #fff !important;
  margin: 0 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}

.pb-main.pb-hond .update-section .update-text p {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 12.5px !important;
  line-height: 1.4 !important;
  color: rgba(255, 255, 255, .88) !important;
  margin: 0 !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .35);
}

@media (hover: hover) {
  .pb-main.pb-hond .update-section .update-card:hover img {
    transform: scale(1.06);
  }
}

@media (max-width: 767px) {
  .pb-main.pb-hond .update-section .update-row {
    grid-template-columns: 1fr !important;
  }
  .pb-main.pb-hond .update-section .update-card {
    height: 200px;
  }

  /* Hero: foto onder de tekst i.p.v. krap naast elkaar (was 1fr 150px). De
     HTML zelf zet tekst al vóór de foto, dus enkel-koloms is genoeg. */
  .pb-main.pb-hond > .profile-hero {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    align-items: stretch !important;
  }

  /* Geen vaste hoogte/beeldverhouding meer (die sneed de hond nog steeds af)
     — toon de complete foto op haar eigen, natuurlijke verhouding. */
  .pb-main.pb-hond .profile-hero img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    align-self: auto !important;
    justify-self: auto !important;
    order: 2;
  }

  .pb-main.pb-hond .profile-title {
    order: 1;
  }
}

/* --------------------------------------------------------------------------
   Responsive — tablet & below (max-width: 1024px)
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {
  /* Lege-staat-tekst ("Foto's volgen nog", "Wij doen ons best...") stond
     tegen de rand aan in flush secties (Beeld/Gezondheid/DNA) — die hebben op
     mobiel bewust geen zijpadding (voor de full-bleed foto-slider), maar deze
     losse tekstregel heeft die ruimte wél nodig. */
  .pb-main.pb-hond .pb-flush-empty {
    display: block;
    margin: 0 18px;
  }
}

@media (max-width: 1024px) {
  .pb-main.pb-hond {
    display: block;
    grid-template-columns: none;
    column-gap: normal;
    align-items: initial;
    padding: 0;
  }

  .pb-main.pb-hond > section {
    grid-column: auto;
    max-width: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 22px 18px !important;
  }

  .pb-main.pb-hond > section.flush {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .pb-main.pb-hond > section .section-head {
    padding: 0 !important;
    margin-bottom: 14px;
  }

  .pb-main.pb-hond > section.flush .section-head {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .pb-main.pb-hond > section .h2 {
    font-size: 28px;
  }

  .pb-main.pb-hond > .profile-hero {
    grid-column: auto;
    grid-template-columns: 1fr 150px;
    gap: 10px;
    align-items: end;
    padding: 18px !important;
    margin: 0 !important;
  }

  /* Zelfde reden als bij de 767px-breakpoint: deze regel matcht óók smallere
     mobiele breedtes (alles onder 1024px) en overschreef daar anders alsnog
     de vaste-hoogte-crop terug. Geen crop meer, natuurlijke verhouding. */
  .pb-main.pb-hond .profile-hero img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    align-self: end;
    justify-self: auto;
  }

  .pb-main.pb-hond .profile-title h1 {
    font-size: 42px;
    line-height: 0.92;
    margin: 6px 0;
  }

  .pb-main.pb-hond .profile-title .intro {
    font-size: 13px;
    line-height: 1.45;
    max-width: none;
    margin: 0 0 10px;
  }

  .pb-main.pb-hond .trait-row.detail {
    padding: 0 18px 18px;
  }

  .pb-main.pb-hond .spec-table {
    display: block !important;
    grid-template-columns: none;
    gap: normal;
    background: transparent;
    border: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    overflow: visible;
    margin: 10px 18px 18px !important;
    padding: 0 !important;
  }

  .pb-main.pb-hond .spec-table .row {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 12px !important;
    align-items: initial;
    flex-direction: row;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 10px 0 !important;
  }

  .pb-main.pb-hond .spec-table .row:last-child {
    border-bottom: 0;
  }

  .pb-main.pb-hond .spec-table b {
    font-size: 10px;
    color: #987b65;
    font-weight: 850;
  }

  .pb-main.pb-hond .spec-table span {
    font-family: inherit;
    font-size: 13px;
    line-height: normal;
    font-weight: 850;
    color: var(--brown);
  }

  .pb-main.pb-hond .family-tree-wrap {
    display: block;
    justify-content: normal;
    padding: 0 18px 18px;
  }

  .pb-main.pb-hond .character-copy {
    padding: 0 18px 18px;
  }

  .pb-main.pb-hond .character-copy p {
    font-size: 14px;
    line-height: 1.62;
  }

  .pb-main.pb-hond .health-accordion {
    margin: 0 18px 18px;
  }

  .pb-main.pb-hond > section:nth-child(6) .health-accordion {
    margin: 0 18px 18px;
  }

  .pb-main.pb-hond .growth-graph {
    margin: 0 18px 18px !important;
  }

  .pb-main.pb-hond .growth-graph svg {
    height: 180px;
  }

  .pb-main.pb-hond .dna-group {
    padding: 0 18px;
  }

  .pb-main.pb-hond .video-single {
    padding: 0 18px 18px;
  }

  .pb-main.pb-hond .video-thumb {
    height: 190px;
    aspect-ratio: auto;
    max-height: none;
    border-radius: 4px;
  }

  .pb-main.pb-hond .update-section .update-row {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* --------------------------------------------------------------------------
   Responsive — tablet only (768px – 1024px)
   -------------------------------------------------------------------------- */

@media (min-width: 768px) and (max-width: 1024px) {
  .pb-main.pb-hond > .section {
    max-width: 940px;
  }

  .pb-main.pb-hond .photo-swipe {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    overflow: visible !important;
    padding: 0 18px 10px !important;
  }

  .pb-main.pb-hond .photo-swipe img {
    width: 100% !important;
    height: 240px !important;
    border-radius: var(--r-md);
    flex: none !important;
  }
}

/* --------------------------------------------------------------------------
   Responsive — mobile (max-width: 767px)
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {
  .pb-main.pb-hond .photo-swipe {
    display: flex !important;
    grid-template-columns: none;
    gap: 10px;
    overflow-x: auto !important;
    padding: 0 18px 10px !important;
    scroll-snap-type: x mandatory;
  }

  .pb-main.pb-hond .photo-swipe img {
    flex: 0 0 74% !important;
    width: auto !important;
    height: 190px !important;
    border-radius: 4px;
  }

  .pb-main.pb-hond .update-section .update-row {
    grid-template-columns: none !important;
  }
}

/* Oude "eerste kaart"-stijl (wit vlak + rand) is vervangen door
   .update-card.outline hierboven — met opzet verwijderd, botste ermee. */
