body[data-site-page] #indhold > *{display:none!important}
body[data-site-page="hjemme"] #indhold > #hjemme,
body[data-site-page="dyr"] #indhold > .archive-wrap,
body[data-site-page="linjer"] #indhold > #linjer,
body[data-site-page="resultater"] #indhold > #resultater,
body[data-site-page="viden"] #indhold > #viden,
body[data-site-page="om"] #indhold > #om,
body[data-site-page="kontakt"] #indhold > #kontakt{display:block!important}
body[data-site-page] main{min-height:55vh}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.animal{border:1px solid var(--line);border-radius:12px;padding:1rem;background:white}
.animals,.residents{gap:1rem;background:transparent;border:0}
.animal .animal-photo{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;object-position:center;margin:0 0 1rem;border-radius:8px;background:var(--paper)}
.animal:not(:has(.animal-photo)) .initial{width:100%;height:auto;aspect-ratio:4/3;border-radius:8px;margin:0 0 1rem;font-size:2.5rem}
.animal h3{font-size:1.3rem;line-height:1.25;min-height:3.25rem;margin:0 0 .5rem}
.animal p{font-size:1rem;line-height:1.5}
.animal .tag{font-size:.875rem;line-height:1.45;letter-spacing:.025em;text-transform:none;padding-top:1rem}
.animal .profile-button{align-self:stretch;min-height:44px;border:1px solid var(--plum);border-radius:7px;padding:.6rem .8rem;margin-top:.8rem;background:white;text-align:center}
.animal .profile-button:hover,.animal .profile-button:focus-visible{background:var(--plum);color:white}
.profile-dialog{width:min(780px,calc(100% - 2rem));border-radius:14px}
.profile-dialog .dialog-title{font-size:clamp(1.9rem,5vw,2.8rem);line-height:1.12}
.profile-dialog .profile-gallery{margin:1.25rem 0;gap:1rem}
.profile-dialog .profile-gallery.multi{grid-template-columns:repeat(3,minmax(0,1fr))}
.profile-dialog .profile-gallery.multi .profile-media:first-child .profile-media-button{aspect-ratio:16/10;max-height:340px}
.profile-dialog .profile-media-button{border-radius:9px}
.profile-dialog .profile-media img{object-fit:contain;background:var(--paper)}
.profile-dialog .profile-media figcaption{font-size:.9rem}
.profile-dialog #profile-intro{font-size:1rem;line-height:1.6;margin:1rem 0}
.profile-dialog .profile-summary span{font-size:.875rem;font-weight:600;border-radius:6px}
.profile-dialog .profile-section-heading,.profile-dialog #profile-family-wrap h4,.profile-dialog #profile-result-wrap h4{font-family:Georgia,serif;font-size:1.35rem;color:var(--plum);margin:1.7rem 0 .7rem;padding-top:1.25rem;border-top:1px solid var(--line)}
.profile-dialog .profile-section-heading:has(+ .profile-facts:empty){display:none}
.profile-dialog .profile-facts{gap:.6rem;border:0;background:transparent;margin:.7rem 0 1.4rem}
.profile-dialog .profile-fact{border:1px solid var(--line);border-radius:8px;padding:.8rem 1rem}
.profile-dialog .profile-fact span{font-size:.875rem;letter-spacing:.025em;text-transform:none}
.profile-dialog .profile-fact strong{font-size:1rem;line-height:1.45}
.profile-dialog .profile-family,.profile-dialog .profile-results{font-size:1rem;line-height:1.55}
.profile-dialog .dialog-action{border-radius:7px;font-size:1rem}
body[data-site-page] #indhold > .page-banner{display:block!important}
.page-banner{background:var(--paper);border-bottom:1px solid var(--line)}
.page-banner-inner{max-width:1180px;margin:auto;padding:2rem 1.4rem;display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,340px);gap:2rem;align-items:center}
.page-banner-copy h1{font-family:Georgia,serif;color:var(--plum);font-size:clamp(2rem,4vw,3.3rem);line-height:1.1;letter-spacing:-.035em;margin:0 0 .8rem}
.page-banner-copy p:not(.eyebrow){font-size:1.05rem;line-height:1.5;max-width:38rem;margin:0;color:#57464f}
.page-banner-copy .eyebrow{margin-bottom:.6rem}
.page-banner-photo{height:220px;border-radius:48% 48% 2px 2px;background:radial-gradient(ellipse at center,#f8e8df 0,#e3c8ce 70%,#cfa5b6 100%);overflow:hidden;display:grid;place-items:center;min-width:0}
.page-banner-photo img{width:100%;height:100%;object-fit:contain;padding:.9rem}
.page-banner-compact .page-banner-inner{padding-block:1.1rem;grid-template-columns:minmax(0,1fr) minmax(180px,260px)}
.page-banner-compact .page-banner-photo{height:140px}
.page-banner-compact .page-banner-copy h1{font-size:clamp(1.9rem,3.5vw,2.8rem)}
body[data-site-page] #indhold > .section{padding-top:2.5rem}
body[data-site-page] #indhold > .archive-wrap > .section,
body[data-site-page] #indhold > .lineage-wrap > .section,
body[data-site-page] #indhold > .results-wrap > .section{padding-top:2rem}
body[data-site-page] .section-head h1{font-family:Georgia,serif;font-size:clamp(2rem,4vw,3rem);line-height:1.15;margin:.2rem 0 1rem}
body[data-site-page="om"] #om h1{font-family:Georgia,serif;font-size:clamp(2rem,4vw,3rem);line-height:1.15}
.short-home .hero{min-height:0;padding:0;gap:0;margin-bottom:2rem}
.short-home .hero h1{font-size:clamp(2.4rem,5vw,4.3rem);line-height:1.06}
.short-home .hero-copy{padding:1rem max(1.4rem,calc((100vw - 1180px)/2));padding-right:1.4rem}
.short-home .hero .lead{font-size:1.1rem;max-width:32rem}
/* The original welcome image has room again; subpage banners stay compact. */
.short-home .hero-image{height:560px;min-height:0;max-height:none;max-width:none;width:100%;border-radius:0;align-self:stretch;justify-self:stretch}
.short-home .hero-image img{object-fit:contain;padding:1.25rem 1rem}
@media(max-width:900px){.short-home .hero-image{height:clamp(300px,55vw,460px)}.short-home .hero-copy{padding:2rem 1.4rem}}
.home-destinations{position:static;max-width:1180px;margin:0 auto;padding:0 1.4rem 3rem;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;background:transparent;border:0}
.destination-card{display:block;padding:1.2rem;background:var(--white);border:1px solid var(--line);border-radius:16px;text-decoration:none;transition:border-color .15s,box-shadow .15s}
.destination-card:hover,.destination-card:focus-visible{border-color:var(--berry);box-shadow:0 6px 22px rgba(58,23,52,.1)}
.destination-card h2{font-family:Georgia,serif;color:var(--plum);font-size:1.25rem;line-height:1.25;margin:0 0 .5rem}
.destination-card p{font-size:1rem;line-height:1.45;margin:0;color:var(--ink)}
.site-footer{display:block;background:var(--plum);color:#fff;padding:2rem 1.4rem;margin-top:0}
.site-footer-inner{max-width:1124px;margin:auto;display:grid;grid-template-columns:1fr 2fr;gap:2rem}
.site-footer p{margin:.25rem 0;font-size:1rem}
.language-switch{display:flex;flex-shrink:0;gap:.2rem;margin-left:auto;padding:.2rem;border:1px solid var(--line);border-radius:8px;background:var(--white);order:3}
.language-switch button{font:inherit;font-size:.875rem;min-height:36px;padding:.3rem .55rem;border:0;border-radius:5px;background:transparent;color:var(--plum);cursor:pointer}
.language-switch button[aria-pressed="true"]{background:var(--plum);color:white}
.language-switch button:focus-visible{outline:2px solid var(--berry);outline-offset:2px}
header .nav{flex-wrap:wrap;gap:.55rem 1rem}
@media(min-width:1101px){header #navigation{order:4;flex-basis:100%;justify-content:space-between;gap:.7rem;padding-top:.25rem}}
@media(max-width:1100px){header #navigation{top:100%}}
@media(max-width:1100px){.language-switch{order:0;margin-left:auto}header .menu{margin-left:.5rem}.nav{gap:.5rem}}
@media(max-width:380px){.brand{font-size:1rem}.language-switch button{padding:.25rem .35rem;font-size:.875rem}.nav{padding-inline:.6rem}}
.site-footer .eyebrow{color:#e3b8cf}
.site-footer .site-map{position:static;display:block;padding:0;background:transparent;border:0;font-size:1rem}
.site-map h2{font-family:Georgia,serif;font-size:1.2rem;margin:0 0 .7rem;line-height:1.3}
.site-map > div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem 1rem}
.site-map a{display:block;width:fit-content;font-size:1rem;text-decoration:underline;text-underline-offset:3px;border:0}
#navigation a[aria-current="page"]{border-bottom-color:var(--berry);color:var(--berry);font-weight:600}
@media(max-width:1000px){.home-destinations{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Keep long Danish compound headings inside the two-column mobile cards. */
@media(max-width:1000px){.destination-card{min-width:0}.destination-card h2{overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto}}
@media(max-width:1100px){#navigation{display:none;position:absolute;top:62px;left:0;right:0;background:var(--cream);padding:1.2rem 1.4rem;border-bottom:1px solid var(--line);flex-direction:column}#navigation.open{display:flex}header .menu{display:block}}
@media(max-width:650px){.short-home .hero{padding:0;gap:0}.short-home .hero-image{height:clamp(250px,68vw,400px);max-height:none}.home-destinations{gap:.7rem;padding-bottom:2rem}.destination-card{padding:1rem}.destination-card h2{font-size:1.1rem}.destination-card p{font-size:1rem}.site-footer-inner{grid-template-columns:1fr;gap:1rem}.site-map > div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:360px){.home-destinations{grid-template-columns:1fr}}
@media(max-width:650px){.destination-card h2{font-size:clamp(1rem,4.4vw,1.1rem)}}
@media(max-width:650px){.page-banner-inner{grid-template-columns:minmax(0,1fr) minmax(110px,145px);gap:1rem;padding:1.4rem}.page-banner-copy h1{font-size:1.9rem}.page-banner-copy p:not(.eyebrow){font-size:1rem}.page-banner-photo{height:160px}.page-banner-photo img{padding:.4rem}.page-banner-compact .page-banner-inner{grid-template-columns:minmax(0,1fr) 110px;padding-block:1rem}.page-banner-compact .page-banner-photo{height:110px}.page-banner-compact .page-banner-copy h1{font-size:1.75rem}}
@media(max-width:380px){.page-banner-inner,.page-banner-compact .page-banner-inner{grid-template-columns:minmax(0,1fr) 95px;gap:.7rem}.page-banner-photo{height:120px}.page-banner-compact .page-banner-photo{height:95px}.page-banner-copy h1,.page-banner-compact .page-banner-copy h1{font-size:1.6rem}}
@media(max-width:650px){.profile-dialog .dialog-inner{padding:1.25rem}.profile-dialog .profile-gallery.multi{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-dialog .profile-gallery.multi .profile-media:first-child .profile-media-button{max-height:250px}}

.profile-dialog a.dialog-action{text-decoration:none;display:inline-flex;align-items:center}
@media(min-width:1101px) and (max-width:1400px){.nav{gap:.8rem}#navigation{gap:.75rem}.brand{font-size:1rem}.language-switch{gap:.15rem}}
.colour-guide{grid-column:1/-1;border-radius:14px;scroll-margin-top:160px}
.colour-guide p{font-size:1rem;max-width:60rem}
.colour-guide-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.25rem 0}
.colour-guide-photos figure{margin:0;min-width:0}
.colour-guide-photos img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:var(--paper);border-radius:10px}
.colour-guide-photos figcaption{padding:.65rem 0;font-size:1rem}
.colour-guide-photos strong,.colour-guide-photos span{display:block}
.colour-guide-photos figcaption a{display:inline-flex;align-items:center;min-height:44px;font-size:.9rem;text-underline-offset:3px}
.colour-guide-links{display:flex;flex-wrap:wrap;gap:.6rem 1.2rem}
.colour-guide-links a{display:inline-flex;align-items:center;min-height:44px;font-size:1rem;font-weight:700;text-underline-offset:3px}
.colour-guide:hover{transform:none;box-shadow:none}
@media(max-width:650px){.colour-guide-photos{grid-template-columns:minmax(0,1fr)}.colour-guide{padding:1.2rem}}

/* Compact homepage links to Cue It Cavies' social profiles. */
.home-social{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}
.home-social a{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:44px;padding:.35rem .7rem;border:1px solid var(--line);border-radius:999px;color:var(--plum);background:var(--white);font-size:.875rem;font-weight:600;line-height:1.2;text-decoration:none}
.home-social svg{width:18px;height:18px;flex:none}
.home-social a:hover{border-color:var(--berry);background:var(--paper)}
.home-social a:focus-visible{outline:3px solid var(--berry);outline-offset:3px}
