:root {
  --background: #f7f5ef;
  --foreground: #2d2f22;
  --accent: #77743a;
  --accent-contrast: #fff;
  --muted: #6e705f;
  --border: #dedccd;
  --content-width: 76rem;
}
body { background: linear-gradient(180deg, #fff 0, var(--background) 38rem); }
.site-header { min-height: 6rem; border-bottom: 1px solid color-mix(in srgb, var(--border), transparent 30%); }
.site-logo { max-width: 18rem; font-family: Georgia, serif; font-size: clamp(1.05rem, 2vw, 1.55rem); color: #393a22; }
.site-menu > li > a { text-decoration: none; font-size: .92rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.has-transparent-header:has(.content-page > .block-background-video:first-child) .site-header { color: #fff; text-shadow: 0 1px 1rem rgb(0 0 0 / .35); }
.has-transparent-header:has(.content-page > .block-background-video:first-child) .site-header .site-logo { color: #fff; }
.has-transparent-header:has(.content-page > .block-background-video:first-child) .mobile-navigation summary { background: rgb(20 20 12 / .18); backdrop-filter: blur(.5rem); }
.content-page { padding-top: clamp(1.25rem, 4vw, 3.5rem); }
.home-video-hero h1 { max-width: 12ch; margin: 0; font-family: Georgia, serif; font-size: clamp(3rem, 8vw, 7rem); font-weight: 500; line-height: .98; color: #fff; }
.home-video-hero .block-rich-text { max-width: 40rem; font-size: clamp(1.05rem, 2vw, 1.3rem); text-shadow: 0 2px 1.2rem rgb(0 0 0 / .7); }
.home-video-hero .button-row { display: inline-block; margin-right: .75rem; }
.hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .65fr); overflow: hidden; border-radius: 1.25rem; background: #fff; box-shadow: 0 1.5rem 5rem rgb(45 47 34 / .12); }
.hero > figure { min-height: 31rem; margin: 0; }
.hero > figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-copy { display: grid; align-content: center; gap: 1.15rem; padding: clamp(2rem, 5vw, 4.5rem); }
.hero-copy h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.25rem, 5vw, 4.8rem); font-weight: 500; line-height: 1.02; color: #494a28; }
.hero-copy .block-rich-text p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.intro-grid { display: grid; grid-template-columns: minmax(12rem, .5fr) minmax(0, 1.5fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 4vw, 4rem); }
.intro-grid figure { margin: 0; }
.intro-grid h2, .section-heading { font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 500; color: #494a28; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.service-grid > .block-rich-text { min-height: 12rem; padding: 1.5rem; border-top: .3rem solid var(--accent); background: #fff; box-shadow: 0 .7rem 2rem rgb(45 47 34 / .07); }
.service-grid h3 { margin-top: 0; color: #494a28; }
.content-collection { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.content-collection article { overflow: hidden; padding: 0 0 1.4rem; border: 0; border-radius: 1rem; box-shadow: 0 1rem 2.5rem rgb(45 47 34 / .1); }
.content-collection article img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.content-collection article h3, .content-collection article h2, .content-collection article p { margin-inline: 1.35rem; }
.content-collection article h3, .content-collection article h2 { margin-top: 1.2rem; margin-bottom: .4rem; font-family: Georgia, serif; color: #494a28; }
.horse-grid-ordered { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.5rem; }
.horse-grid-ordered .content-collection { display: contents; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; padding: clamp(2rem, 5vw, 4rem); border-radius: 1.25rem; background: #343526; color: #fff; }
.video-grid > h2, .video-grid > .block-rich-text { grid-column: 1 / -1; }
.video-grid h2 { color: #e7e2bd; }
.trust-grid { display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap; padding: 2rem; background: #fff; }
.trust-grid figure { width: min(12rem, 40vw); margin: 0; }
.cta { padding: clamp(2rem, 6vw, 5rem); border-radius: 1.25rem; background: #77743a; color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.horse-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(18rem, .8fr); overflow: hidden; border-radius: 1.25rem; background: #fff; box-shadow: 0 1.5rem 5rem rgb(45 47 34 / .12); }
.horse-hero > figure { min-height: 32rem; margin: 0; }
.horse-hero > figure img { width: 100%; height: 100%; object-fit: cover; }
.horse-copy { align-self: center; padding: clamp(2rem, 5vw, 4rem); }
.horse-copy h1 { font-family: Georgia, serif; font-size: clamp(2.5rem, 5vw, 4.5rem); color: #494a28; }
.horse-copy .block-rich-text { padding-block: 1rem; border-block: 1px solid var(--border); }
.content-type-paard > .block-rich-text { max-width: 50rem; margin-inline: auto; font-size: 1.08rem; }
.site-footer { margin-top: 3rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .88rem; }
.site-footer > p:not(:has(.site-logo)) { display: none; }
@media (max-width: 60rem) {
  .hero, .horse-hero { grid-template-columns: 1fr; }
  .hero > figure, .horse-hero > figure { min-height: 22rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 48rem) {
  .site-header { gap: 1rem; }
  .site-menu { gap: .75rem; }
  .intro-grid, .video-grid { grid-template-columns: 1fr; }
  .video-grid > * { grid-column: 1 !important; }
  .service-grid { grid-template-columns: 1fr; }
}
.home-video-hero .button.secondary { border-color: rgb(255 255 255 / .8); background: rgb(20 20 12 / .24); color: #fff; }

/* "Bekend van" press strip: warm-gray typographic wordmarks under the home hero */
.press-strip { padding: clamp(2rem, 4vw, 3rem) 1rem clamp(1rem, 2vw, 1.5rem); text-align: center; }
.press-strip .block-rich-text p { margin: 0; }
.press-strip > .block-rich-text:first-child p { margin-bottom: 1.1rem; color: #a39d92; font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.press-strip > .block-rich-text:last-child p { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem clamp(1.75rem, 5vw, 3.75rem); }
.press-strip a { color: #9d978b; text-decoration: none; line-height: 1; opacity: .95; transition: color .2s ease; }
.press-strip a:hover, .press-strip a:focus-visible { color: #6e695f; }
.press-strip a:nth-child(1) { font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; font-style: italic; font-weight: 700; letter-spacing: -.01em; }
.press-strip a:nth-child(2) { font-family: "Helvetica Neue", Arial, sans-serif; font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; text-transform: lowercase; }
.press-strip a:nth-child(3) { font-family: "Helvetica Neue", Arial, sans-serif; font-size: 1.45rem; font-weight: 900; letter-spacing: .14em; }
.press-strip a:nth-child(4) { font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; font-weight: 400; letter-spacing: .02em; }
.press-strip a:nth-child(5) { font-family: "Helvetica Neue", Arial, sans-serif; font-size: 1.35rem; font-weight: 700; letter-spacing: .3em; }
@media (max-width: 48rem) { .press-strip a { font-size: 1.15rem !important; } }

/* News page: wide banner (hidden on phones) and a single-column feed, newest first */
.news-hero { margin: 0 0 2.5rem; }
.news-hero figure { margin: 0; }
.news-hero img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 1.25rem; box-shadow: 0 1.5rem 5rem rgb(45 47 34 / .12); }
@media (max-width: 48rem) { .news-hero { display: none; } }
.news-feed { max-width: 52rem; margin-inline: auto; }
.news-feed h1 { margin: 0 0 .5rem; font-family: Georgia, serif; font-size: clamp(2.5rem, 6vw, 4.25rem); font-weight: 500; color: #494a28; }
.news-feed > .block-rich-text:first-of-type p { color: var(--muted); font-size: 1.1rem; }
.news-feed h2 { margin: 2.75rem 0 .25rem; padding-bottom: .5rem; border-bottom: 1px solid var(--border); font-family: Georgia, serif; font-size: 1.6rem; font-weight: 500; color: #494a28; }
.news-feed ul { margin: 0; padding: 0; list-style: none; }
.news-feed li { padding: 1.1rem 0; border-bottom: 1px solid var(--border); }
.news-feed li:last-child { border-bottom: 0; }
.news-feed li strong { display: block; margin-bottom: .2rem; color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.news-feed li a { font-family: Georgia, serif; font-size: 1.25rem; color: #494a28; text-decoration: none; }
.news-feed li a:hover { text-decoration: underline; }

/* Horse profile layout: header image, title row with inquire button, 2/3 description + 1/3 news feed */
.horse-profile-image { margin: 0 0 2rem; }
.horse-profile-image figure { margin: 0; }
.horse-profile-image img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 1.25rem; box-shadow: 0 1.5rem 5rem rgb(45 47 34 / .12); }
.horse-profile-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; padding-bottom: 1.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--border); }
.horse-profile-header h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.5rem, 6vw, 4.75rem); font-weight: 500; line-height: 1; color: #494a28; }
.horse-profile-header .block-rich-text p { margin: .5rem 0 0; color: var(--muted); font-size: 1.1rem; letter-spacing: .02em; }
.horse-profile-body { display: grid; grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.horse-profile-main { font-size: 1.08rem; line-height: 1.7; }
.horse-profile-main p:first-child { margin-top: 0; }
.horse-profile-main > figure { margin: 2rem 0; }
.horse-profile-main > figure img { display: block; width: 100%; border-radius: 1rem; box-shadow: 0 .8rem 2rem rgb(45 47 34 / .1); }
.horse-profile-news { padding: 1.5rem; border-top: .3rem solid var(--accent); border-radius: .5rem; background: #fff; box-shadow: 0 .7rem 2rem rgb(45 47 34 / .07); }
.horse-profile-news h2 { margin: 0 0 1rem; font-family: Georgia, serif; font-size: 1.5rem; font-weight: 500; color: #494a28; }
.horse-profile-news ul { margin: 0; padding: 0; list-style: none; }
.horse-profile-news li { padding: .9rem 0; border-bottom: 1px solid var(--border); }
.horse-profile-news li:last-child { border-bottom: 0; padding-bottom: 0; }
.horse-profile-news li strong { display: block; color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.horse-profile-news li a { color: #494a28; font-weight: 600; }
@media (max-width: 48rem) {
  .horse-profile-body { grid-template-columns: 1fr; }
  .horse-profile-image img { aspect-ratio: 4 / 3; }
}

/* Sold horses: non-clickable "Verkocht" badge in the button position, plus a see-more-horses button */
.horse-profile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.horse-sold-badge .block-rich-text p, .horse-sold-badge p { display: inline-block; margin: 0 !important; padding: .75rem 1.5rem; border: 2px solid #494a28; border-radius: 999px; background: #494a28; color: #fff !important; font-size: .95rem !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: default; user-select: none; }
.horse-profile-main .horse-sold-note, .horse-profile-main blockquote { margin: 1.5rem 0 0; padding: 1rem 1.25rem; border-left: .3rem solid var(--accent); background: #fff; color: #494a28; font-weight: 600; }
.horse-profile-main .block-video { margin-top: 2rem; }

/* Home horse carousel: 3 cards across, slow continuous glide (set rendered twice for a seamless loop), pause on hover; swipe on phones.
   Card: image, optional tag pill (from the horse's card-tag field), name, pedigree, small action line. */
.horse-kiosk { container-type: inline-size; position: relative; overflow: hidden; padding: .75rem 0 1.75rem; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 2.5%, #000 97.5%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 2.5%, #000 97.5%, transparent 100%); }
.horse-kiosk-track { display: flex; width: max-content; will-change: transform; }
.horse-kiosk-track .kiosk-set, .horse-kiosk-track .content-collection { display: contents; }
.horse-kiosk-track .content-collection article { position: relative; flex: 0 0 auto; width: calc((100cqw - 2.5rem) / 3); margin: 0 1.25rem 0 0; padding: 0 0 1.2rem; border: 0; border-radius: 1rem; overflow: hidden; background: #fff; box-shadow: 0 .8rem 2rem rgb(45 47 34 / .1); transition: transform .3s ease, box-shadow .3s ease; }
.horse-kiosk-track .content-collection article:hover { transform: translateY(-5px); box-shadow: 0 1.3rem 3rem rgb(45 47 34 / .18); }
.horse-kiosk-track .content-collection article > p:first-child { margin: 0; overflow: hidden; }
.horse-kiosk-track .content-collection article > p:first-child img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.horse-kiosk-track .content-collection article:hover > p:first-child img { transform: scale(1.05); }
.horse-kiosk-track .content-collection article > p:not(:first-child):has(+ h3) { position: absolute; top: .85rem; left: .85rem; z-index: 3; margin: 0; padding: .32rem .75rem; border-radius: 999px; background: rgb(52 53 38 / .86); color: #e7e2bd; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; pointer-events: none; }
.horse-kiosk-track .content-collection article h3 { margin: 1rem 1.25rem .25rem; font-family: Georgia, serif; font-size: 1.4rem; font-weight: 500; line-height: 1.15; color: #494a28; }
.horse-kiosk-track .content-collection article h3 a { color: inherit; text-decoration: none; }
.horse-kiosk-track .content-collection article h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.horse-kiosk-track .content-collection article > h3 + p { margin: 0 1.25rem; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.horse-kiosk-track .content-collection article > h3 + p + p { margin: .7rem 1.25rem 0; color: var(--accent); font-size: .85rem; font-weight: 700; letter-spacing: .02em; }
.horse-kiosk-track .content-collection article:hover > h3 + p + p { text-decoration: underline; }
@keyframes kiosk-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.horse-kiosk:hover .horse-kiosk-track, .horse-kiosk:focus-within .horse-kiosk-track { animation-play-state: paused; }
.horse-kiosk.kiosk-n3 .horse-kiosk-track { animation: kiosk-marquee 21s linear infinite; }
.horse-kiosk.kiosk-n4 .horse-kiosk-track { animation: kiosk-marquee 28s linear infinite; }
.horse-kiosk.kiosk-n5 .horse-kiosk-track { animation: kiosk-marquee 35s linear infinite; }
.horse-kiosk.kiosk-n6 .horse-kiosk-track { animation: kiosk-marquee 42s linear infinite; }
.horse-kiosk.kiosk-n7 .horse-kiosk-track { animation: kiosk-marquee 49s linear infinite; }
.horse-kiosk.kiosk-n8 .horse-kiosk-track { animation: kiosk-marquee 56s linear infinite; }
.horse-kiosk.kiosk-n9 .horse-kiosk-track { animation: kiosk-marquee 63s linear infinite; }
.horse-kiosk.kiosk-n10 .horse-kiosk-track { animation: kiosk-marquee 70s linear infinite; }
.horse-kiosk.kiosk-n11 .horse-kiosk-track { animation: kiosk-marquee 77s linear infinite; }
.horse-kiosk.kiosk-n12 .horse-kiosk-track { animation: kiosk-marquee 84s linear infinite; }
@media (max-width: 48rem) {
  .horse-kiosk { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-mask-image: none; mask-image: none; padding-left: .25rem; }
  .horse-kiosk .horse-kiosk-track { animation: none !important; }
  .horse-kiosk .kiosk-dup { display: none !important; }
  .horse-kiosk-track .content-collection article { width: 78cqw; scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) {
  .horse-kiosk { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-mask-image: none; mask-image: none; }
  .horse-kiosk .horse-kiosk-track { animation: none !important; }
  .horse-kiosk .kiosk-dup { display: none !important; }
  .horse-kiosk-track .content-collection article { scroll-snap-align: start; }
}

/* Horse profile: 16:9 header variant (full horse and rider in frame) and inline extra photo */
.horse-profile-image.horse-profile-image-169 img { aspect-ratio: 16 / 9; object-position: 50% 45%; }
.horse-profile-photo { margin: 2rem 0 2.5rem; }
.horse-profile-photo figure { margin: 0; }
.horse-profile-photo img { display: block; width: 100%; height: auto; border-radius: 1rem; box-shadow: 0 1rem 2.5rem rgb(45 47 34 / .1); }
.horse-profile-photo figcaption { margin-top: .5rem; color: var(--muted); font-size: .85rem; letter-spacing: .02em; }

/* Horse profile video hero: same full-bleed looping header as the home page, with name, meta line and inquire button over the video */
.horse-video-hero h1 { max-width: 14ch; margin: 0; font-family: Georgia, serif; font-size: clamp(3rem, 8vw, 7rem); font-weight: 500; line-height: .98; color: #fff; }
.horse-video-hero .block-rich-text { max-width: 40rem; font-size: clamp(1.05rem, 2vw, 1.3rem); text-shadow: 0 2px 1.2rem rgb(0 0 0 / .7); }
.horse-video-hero .block-rich-text p { margin: .75rem 0 0; color: #fff; letter-spacing: .04em; }
.horse-video-hero .button-row { display: inline-block; margin-top: 1.25rem; margin-right: .75rem; }
.horse-video-hero .horse-sold-badge p { margin-top: 1.25rem !important; }
.content-type-paard > .block-background-video + .horse-profile-body { margin-top: clamp(2.5rem, 5vw, 4rem); }

/* Horse profile photos inside the text: first floats right beside the copy, second sits centred at reduced width */
.horse-profile-photo.horse-profile-photo-float { float: right; width: 42%; margin: .35rem 0 1.25rem 2rem; }
.horse-profile-photo.horse-profile-photo-small { max-width: 62%; margin: 2.5rem auto; clear: both; }
.horse-profile-main::after { content: ""; display: block; clear: both; }
@media (max-width: 48rem) {
  .horse-profile-photo.horse-profile-photo-float { float: none; width: 100%; margin: 1.5rem 0; }
  .horse-profile-photo.horse-profile-photo-small { max-width: 100%; }
}
