/* Homepage hero: "the appraiser's table" (inc/home-hero.php).
   Real finds lie on dark teal display felt as photo prints with dealer's tags; the search sits in the lamplight. */
.kos-hh {
	--felt: #0B1F21; /* the footer's midnight teal */ --lamp: rgba(255, 236, 200, .10); --print: #FBF8F1; --tag: #EAD9AA; --tag-ink: #3B2E12;
	position: relative; z-index: 2; isolation: isolate; display: flex; flex-direction: column;
	min-height: clamp(660px, 84vh, 800px); margin: 0 !important; max-width: none !important;
	background: var(--felt); color: #fff; font-family: var(--kos-sans);
}
.kos-hh::before { /* lamplight in the middle, darker edges, a fine felt grain */
	content: ""; position: absolute; inset: 0; z-index: -2;
	background:
		radial-gradient(ellipse 48% 52% at 50% 46%, var(--lamp), transparent 70%),
		radial-gradient(ellipse 90% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .35)),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.kos-hh * { box-sizing: border-box; }
.kos-hh :where(h1, p, ul, li) { margin: 0; padding: 0; }

/* ---------- The prints ---------- */
.kos-hh__finds { position: absolute; inset: 0; z-index: -1; list-style: none; overflow: hidden; pointer-events: none; }
.kos-hh__find { position: absolute; width: var(--w, 190px); transform: rotate(var(--r, 0deg)); pointer-events: auto; animation: kos-hh-lay .7s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--i) * 90ms + 150ms); }
.kos-hh__find > * { transition: opacity .45s ease, translate .45s ease; }
.kos-hh__find.is-out > * { opacity: 0; translate: 0 -10px; }
.kos-hh__find a { display: block; padding: 8px 8px 10px; border-radius: 3px; background: var(--print); box-shadow: 0 2px 3px rgba(0, 0, 0, .25), 0 18px 30px -12px rgba(0, 0, 0, .55); transition: transform .25s ease; }
.kos-hh__find a:hover, .kos-hh__find a:focus-visible { transform: translateY(-4px); }
.kos-hh__find a:focus-visible { outline: 3px solid var(--kos-focus); outline-offset: 3px; }
.kos-hh__find img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1px; background: #d9d4c7; }
.kos-hh__tag {
	position: absolute; right: -16px; bottom: -24px; padding: 9px 12px 8px 18px; transform: rotate(var(--tr, 8deg)); transform-origin: top left; white-space: nowrap;
	background: radial-gradient(circle at 9px 50%, var(--felt) 3.2px, transparent 3.6px), var(--tag);
	clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
	color: var(--tag-ink); box-shadow: 0 8px 14px -8px rgba(0, 0, 0, .6); line-height: 1.1;
}
.kos-hh__tag small { display: block; font: 600 11px/1.2 var(--kos-sans); color: #6B5A31; }
.kos-hh__tag b { display: block; margin: 1px 0 2px; font: 700 27px/1 "Caveat", cursive; color: #2A2010; }
/* Prints on the right hang their tag on the left, so it stays on the table */
.kos-hh__p4 .kos-hh__tag, .kos-hh__p5 .kos-hh__tag, .kos-hh__p6 .kos-hh__tag { right: auto; left: -16px; }
@keyframes kos-hh-lay { from { opacity: 0; transform: translateY(-26px) rotate(calc(var(--r, 0deg) + 6deg)) scale(1.05); } }

/* Positions: two prints down each side, kept clear of each other, the text and the cited band (no print ever overlaps another).
   Very wide screens add a third on each side, nearer the middle. */
.kos-hh__p1 { --w: 190px; --r: -6deg; --tr: 9deg; left: 3.5%; top: 36px; }
.kos-hh__p3 { --w: 185px; --r: -3deg; --tr: 7deg; left: 3.5%; bottom: 205px; }
.kos-hh__p4 { --w: 190px; --r: 5deg; --tr: -8deg; right: 3.5%; top: 30px; }
.kos-hh__p6 { --w: 190px; --r: 3deg; --tr: -7deg; right: 3.5%; bottom: 205px; }
.kos-hh__p2, .kos-hh__p5 { display: none; }
@media (min-width: 1800px) {
	.kos-hh__p2 { display: block; --w: 170px; --r: 5deg; --tr: -6deg; left: calc(50% - 600px); top: 33%; }
	.kos-hh__p5 { display: block; --w: 170px; --r: -5deg; --tr: 6deg; right: calc(50% - 600px); top: 31%; }
}

/* ---------- The middle ---------- */
.kos-hh__center { position: relative; flex: 1; display: grid; place-items: center; padding: 96px 20px 40px; } /* extra top space replaces the old white gap above the hero, so the content stays where it was */
.kos-hh__inner { width: min(880px, 100%); text-align: center; } /* wide enough for the popular searches on one line; the search box stays 720 */
.kos-hh h1 { max-width: 15ch; margin: 0 auto; color: #fff; font: 800 clamp(36px, 5.2vw, 64px)/1.02 var(--kos-sans); font-stretch: 112%; letter-spacing: -.02em; text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, .4); }
.kos-hh .kos-hh__sub { max-width: 38ch; margin: 20px auto 34px; font: 19px/1.55 var(--kos-serif); color: #D9E5E4; }

.kos-hh__search { position: relative; max-width: 720px; margin: 0 auto; text-align: left; }
.kos-hh__box { display: flex; align-items: center; gap: 12px; height: 68px; padding: 0 8px 0 22px; border-radius: 14px; background: #fff; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .75); }
.kos-hh__box svg { flex: none; color: var(--kos-muted); }
.kos-hh .kos-hh__box input[type="search"] { flex: 1; min-width: 0; height: 100%; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; outline: 0; background: none; box-shadow: none; color: var(--kos-ink); font: 18px var(--kos-sans); -webkit-appearance: none; appearance: none; } /* undo the theme's input box */
.kos-hh__box input::placeholder { color: #7C8789; opacity: 1; }
.kos-hh__box input::-webkit-search-cancel-button { cursor: pointer; }
.kos-hh__box button { height: 52px; min-height: 0; padding: 0 26px; border: 0; border-radius: 10px; background: var(--kos-forest); color: #fff; font: 700 17px var(--kos-sans); cursor: pointer; }
.kos-hh__box button:hover { background: var(--kos-forest-hover); }
.kos-hh__box:focus-within { box-shadow: 0 0 0 4px var(--kos-focus), 0 30px 60px -24px rgba(0, 0, 0, .75); }

/* Suggestions: the shared dropdown (assets/site.css), a little roomier and with a deeper shadow on the dark table */
.kos-hh .kos-sg { top: calc(100% + 8px); border: 0; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .6); }

.kos-hh__popular { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 22px; }
.kos-hh__popular p { margin-right: 4px; font-size: 14.5px; color: #B9CCCB; }
.kos-hh__popular a { padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 14.5px; font-weight: 600; text-decoration: none; transition: background-color .15s, border-color .15s; }
.kos-hh__popular a:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .5); color: #fff; }
.kos-hh__popular a:focus-visible { outline: 3px solid var(--kos-focus); outline-offset: 2px; }
/* Laptops: the label goes above, so the chips stay in one row no wider than the search box, clear of the prints */
@media (max-width: 1439px) {
	.kos-hh__popular { max-width: 720px; margin-inline: auto; }
	.kos-hh__popular p { flex-basis: 100%; margin: 0 0 2px; }
}

/* Three numbers, each checkable (readers from analytics, finds counted from the guides, mentions on the About page) */
.kos-hh__stats { display: flex; justify-content: center; max-width: 680px; margin: 42px auto 0; list-style: none; }
.kos-hh__stats li { flex: 1; padding: 0 18px; text-align: center; }
.kos-hh__stats li + li { border-left: 1px solid rgba(255, 255, 255, .18); }
.kos-hh__stats b { display: block; color: #fff; font: 800 34px/1 var(--kos-sans); font-stretch: 108%; letter-spacing: -.01em; }
.kos-hh__stats span { display: block; margin-top: 6px; font: 15px/1.35 var(--kos-serif); color: #C9D9D8; }

/* The sites that cite us, along the bottom edge */
.kos-hh__cited { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 48px; padding: 24px 20px 28px; background: rgba(0, 0, 0, .28); color: rgba(255, 255, 255, .8); }
.kos-hh__cited p { flex-basis: 100%; margin-bottom: 4px; text-align: center; font: italic 19px var(--kos-serif); color: #D3E1E0; }
.kos-hh__cited img { display: block; max-height: 38px; width: auto; filter: brightness(0) invert(1); }
.kos-hh__cited .kos-wm--iup b { padding-right: 10px; font-size: 30px; }
.kos-hh__cited .kos-wm--iup small { font-size: 10.5px; }
.kos-hh__cited .kos-wm--libelle { font-size: 32px; }
.kos-hh__cited .kos-wm--margriet { font-size: 31px; }
.kos-hh__more { font-size: 16px; color: rgba(255, 255, 255, .7); }

/* ---------- Smaller screens ---------- */
@media (max-width: 1280px) {
	.kos-hh__find { --w: 160px !important; }
	.kos-hh__tag b { font-size: 23px; }
}
/* Tablets and phones: the prints sit in a straight row above the headline, with space between them */
@media (max-width: 1199px) {
	.kos-hh { min-height: 0; }
	.kos-hh__finds { position: relative; inset: auto; display: flex; justify-content: center; gap: 26px; padding: 22px 16px 36px; }
	.kos-hh__finds > .kos-hh__find { position: relative; inset: auto; flex: none; --w: 118px !important; }
	.kos-hh__p2, .kos-hh__p5 { display: block; }
	.kos-hh__p6 { display: none; }
	.kos-hh__find a { padding: 6px 6px 8px; }
	.kos-hh__tag { right: -6px; bottom: -28px; padding: 5px 8px 4px 15px; }
	.kos-hh__p4 .kos-hh__tag, .kos-hh__p5 .kos-hh__tag { right: auto; left: -6px; }
	.kos-hh__tag b { font-size: 18px; }
	.kos-hh__tag small { font-size: 9px; }
	.kos-hh__center { padding-top: 8px; }
}
@media (max-width: 819px) {
	.kos-hh__p5 { display: none; }
	.kos-hh__finds > .kos-hh__find { --w: 110px !important; }
	.kos-hh__finds { gap: 22px; }
}
@media (max-width: 700px) {
	.kos-hh__p4 { display: none; }
	.kos-hh__finds > .kos-hh__find { --w: min(96px, calc((100vw - 80px) / 3)) !important; }
	.kos-hh__finds { gap: 22px; padding: 16px 16px 32px; }
	.kos-hh__find a { padding: 5px 5px 7px; }
	.kos-hh__tag { right: -6px; bottom: -30px; padding: 5px 7px 4px 14px; }
	.kos-hh__tag b { font-size: 16px; }
	.kos-hh__tag small { font-size: 8px; }
	.kos-hh__center { padding: 22px 16px 30px; }
	.kos-hh .kos-hh__sub { margin-bottom: 22px; font-size: 17px; }
	.kos-hh__box { height: 58px; padding-left: 16px; }
	.kos-hh .kos-hh__box input[type="search"] { font-size: 16px; }
	.kos-hh__box button { height: 44px; padding: 0 16px; font-size: 15px; }
	.kos-hh__stats { margin-top: 26px; }
	.kos-hh__stats li { padding: 0 8px; }
	.kos-hh__stats b { font-size: 26px; }
	.kos-hh__stats span { font-size: 13px; }
	.kos-hh__cited { gap: 10px 26px; padding: 20px 16px 24px; }
	.kos-hh__cited p { font-size: 16.5px; }
	.kos-hh__cited .kos-wm--iup b { font-size: 25px; }
	.kos-hh__cited .kos-wm--iup small { font-size: 9px; }
	.kos-hh__cited .kos-wm--libelle, .kos-hh__cited .kos-wm--margriet { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
	.kos-hh__find { animation: none; }
	.kos-hh__find a, .kos-hh__find > * { transition: none; }
}

/* ---------- "Explore by item type" (inc/home-explore.php) ----------
   Item types across the top on a soft warm bar (round photo over the name; the open one is a raised white tile), then
   its popular topics, five guide cards (the first one large) and a "See all … guides" button. Hover and highlight use
   the accent red. With more item types than fit, the bar scrolls sideways and shows arrows (home-hero.js). */
.kos-hx { --hx-accent: var(--kos-accent);
	margin: 0 !important; max-width: none !important; padding: 80px 20px; background: #fff; font-family: var(--kos-sans); }
.kos-hx * { box-sizing: border-box; }
.kos-hx :where(h2, h3, p, ul, li) { margin: 0; padding: 0; }
.kos-hx__wrap { width: min(1180px, 100%); margin: 0 auto; }
.kos-hx__head { margin-bottom: 30px; }
.kos-hx .kos-hx__heading { color: var(--kos-heading); font: 800 clamp(32px, 3.6vw, 46px)/1.05 var(--kos-sans); font-stretch: 110%; letter-spacing: -.02em; } /* same as "Don't miss these" */
.kos-hx__head p { margin-top: 10px; font: 18px/1.5 var(--kos-serif); color: var(--kos-muted); }

/* The item types */
.kos-hx__bar { display: flex; align-items: center; gap: 6px; padding: 10px; border-radius: 20px; background: #F4F2EE; }
.kos-hx__tabs { display: flex; flex: 1; gap: 4px; min-width: 0; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; }
.kos-hx__tabs::-webkit-scrollbar { display: none; }
.kos-hx__bar.is-scroll .kos-hx__tabs { -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent); mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent); }
.kos-hx__tabs button { display: flex; flex: 1 0 auto; flex-direction: column; align-items: center; gap: 10px; min-width: 96px; margin: 0; padding: 14px 10px 13px; border: 0; border-radius: 14px; background: transparent;
	color: var(--kos-ink); font: 600 15.5px/1.2 var(--kos-sans); white-space: nowrap; cursor: pointer; transition: background-color .15s, box-shadow .15s, color .15s; }
.kos-hx__tabs img { display: block; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff; transition: box-shadow .15s; }
.kos-hx__tabs button:hover { background: rgba(255, 255, 255, .65); color: var(--hx-accent); }
.kos-hx__tabs button[aria-selected="true"] { background: #fff; color: var(--hx-accent); font-weight: 750; box-shadow: 0 0 0 1px rgba(17, 47, 50, .06), 0 12px 26px -18px rgba(17, 47, 50, .55); }
.kos-hx__tabs button[aria-selected="true"] img { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--hx-accent); }
.kos-hx__tabs button:focus-visible { outline: 3px solid var(--kos-focus); outline-offset: -3px; }
.kos-hx__nav { display: grid; flex: none; place-items: center; width: 40px; height: 40px; margin: 0; padding: 0; border: 1px solid var(--kos-line); border-radius: 50%; background: #fff; color: var(--kos-ink); cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, opacity .15s; }
.kos-hx__nav[hidden] { display: none; }
.kos-hx__nav:hover:not(:disabled) { border-color: var(--hx-accent); background: var(--hx-accent); color: #fff; }
.kos-hx__nav:disabled { opacity: .35; cursor: default; }
.kos-hx__nav:focus-visible { outline: 3px solid var(--kos-focus); outline-offset: 2px; }

/* The open item type */
.kos-hx__cat { display: flex; flex-direction: column; gap: 26px; padding-top: 28px; }
.kos-hx__cat[hidden] { display: none; }

.kos-hx__topics { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.kos-hx__label { margin-right: 6px; font-size: 15px; font-weight: 700; color: var(--kos-muted); }
.kos-hx__topics button { min-height: 40px; padding: 0 15px; border: 1px solid var(--kos-line); border-radius: 999px; background: #fff; color: var(--kos-ink); font: 600 15px var(--kos-sans); cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; }
.kos-hx__topics button:hover { border-color: var(--hx-accent); color: var(--hx-accent); }
.kos-hx__topics button[aria-pressed="true"] { border-color: var(--hx-accent); background: var(--hx-accent); color: #fff; }
.kos-hx__topics button:focus-visible { outline: 3px solid var(--kos-focus); outline-offset: 2px; }

/* Cards: the first one takes two columns and both rows, the other four sit two by two beside it */
.kos-hx__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; list-style: none; }
.kos-hx__cards li:first-child { grid-column: span 2; grid-row: span 2; }
.kos-hx .kos-hx__cards a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--kos-line); border-radius: 16px; background: #fff;
	color: var(--kos-ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.kos-hx .kos-hx__cards a:hover { border-color: #C5D0D1; box-shadow: 0 18px 34px -24px rgba(17, 47, 50, .5); transform: translateY(-2px); }
.kos-hx .kos-hx__cards a:focus-visible { outline: 3px solid var(--kos-focus); outline-offset: 3px; }
.kos-hx__img { display: block; overflow: hidden; background: var(--kos-band); }
.kos-hx__img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.kos-hx .kos-hx__cards a:hover .kos-hx__img img { transform: scale(1.03); }
.kos-hx__body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 14px 16px 16px; }
.kos-hx__title { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: 16.5px; font-weight: 700; line-height: 1.32; color: var(--kos-heading); }
.kos-hx .kos-hx__cards a:hover .kos-hx__title { color: var(--hx-accent); }
.kos-hx__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: auto; }
.kos-hx__sale { color: var(--kos-muted); font-size: 14px; font-weight: 600; }
.kos-hx__sale strong { color: var(--hx-accent); font-weight: 800; }
/* The large card: the photo fills whatever height the two rows beside it give */
.kos-hx__cards li:first-child .kos-hx__img { position: relative; flex: 1; min-height: 300px; }
.kos-hx__cards li:first-child .kos-hx__img img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.kos-hx__cards li:first-child .kos-hx__body { flex: none; gap: 14px; padding: 20px 24px 22px; }
.kos-hx__cards li:first-child .kos-hx__title { font-size: 24px; line-height: 1.25; letter-spacing: -.01em; -webkit-line-clamp: 2; }
.kos-hx__cards li:first-child .kos-hx__sale { font-size: 15px; }
.kos-hx .kos-hx__cards li.is-picked a { border-color: var(--hx-accent); box-shadow: 0 0 0 1px var(--hx-accent); }
.kos-hx__cards li.is-picked { animation: kos-hx-pick .4s ease; }
.kos-hx__cat:not([hidden]) { animation: kos-hx-open .3s ease; }
@keyframes kos-hx-pick { from { opacity: .3; transform: translateY(6px); } }
@keyframes kos-hx-open { from { opacity: 0; } }

/* The way on to the category page */
.kos-hx__more { margin-top: 14px; text-align: center; }
.kos-hx a.kos-hx__all { display: inline-flex; align-items: center; gap: 6px; min-height: 54px; padding: 0 30px; border: 1.5px solid var(--hx-accent); border-radius: 999px; background: #fff;
	color: var(--hx-accent); font: 700 17px var(--kos-sans); text-decoration: none; transition: background-color .15s, color .15s; }
.kos-hx a.kos-hx__all:hover { background: var(--hx-accent); color: #fff; }
.kos-hx a.kos-hx__all:focus-visible { outline: 3px solid var(--kos-focus); outline-offset: 2px; }

@media (max-width: 1100px) {
	.kos-hx__tabs button { flex: none; }
	.kos-hx__cards { gap: 18px; }
}
/* Tablets: the large card runs across the top, the other four two by two under it */
@media (max-width: 900px) {
	.kos-hx__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kos-hx__cards li:first-child { grid-row: auto; }
	.kos-hx__cards li:first-child .kos-hx__img { min-height: 0; aspect-ratio: 16 / 9; }
	.kos-hx__cards li:first-child .kos-hx__title { font-size: 21px; }
}
/* Phones: the bar runs edge to edge and scrolls by touch (fade on the right); small cards become rows */
@media (max-width: 600px) {
	.kos-hx { padding: 52px 16px 44px; }
	.kos-hx__head { margin-bottom: 20px; }
	.kos-hx__head p { font-size: 16.5px; }
	.kos-hx__bar { margin: 0 -16px; padding: 8px; border-radius: 0; }
	.kos-hx__nav { display: none; }
	.kos-hx__bar .kos-hx__tabs { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
	.kos-hx__tabs button { min-width: 92px; padding: 10px 8px 9px; font-size: 14px; gap: 8px; }
	.kos-hx__tabs img { width: 50px; height: 50px; }
	.kos-hx__cat { gap: 16px; padding-top: 20px; }
	.kos-hx__topics { flex-wrap: nowrap; margin: 0 -16px; padding: 0 16px 2px; overflow-x: auto; scrollbar-width: none; }
	.kos-hx__topics::-webkit-scrollbar { display: none; }
	.kos-hx__topics button { flex: none; }
	.kos-hx__label { display: none; }
	.kos-hx__cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.kos-hx__cards li:first-child { grid-column: auto; }
	.kos-hx__cards li:first-child .kos-hx__body { padding: 14px 16px 16px; }
	.kos-hx__cards li:first-child .kos-hx__title { font-size: 19px; }
	.kos-hx__cards li:not(:first-child) a { flex-direction: row; }
	.kos-hx__cards li:not(:first-child) .kos-hx__img { flex: none; width: 36%; }
	.kos-hx__cards li:not(:first-child) .kos-hx__img img { height: 100%; aspect-ratio: auto; }
	.kos-hx__cards li:not(:first-child) .kos-hx__body { padding: 12px 14px; gap: 9px; }
	.kos-hx__title { font-size: 16px; }
	.kos-hx__more { margin-top: 8px; }
	.kos-hx a.kos-hx__all { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.kos-hx__cards li.is-picked, .kos-hx__cat:not([hidden]) { animation: none; }
	.kos-hx .kos-hx__cards a, .kos-hx__img img, .kos-hx__tabs { transition: none; scroll-behavior: auto; }
}

/* ---------- "Don't miss these" (inc/home-favs.php) ----------
   Hand-picked guides on a deep brand-green band (breaks up the light sections around it), white cards in a row that
   scrolls sideways (4 on screen on desktop). Card: photo, cream ribbon tab, title, finds tag and "Read the guide".
   The whole card is one link; hover uses the accent. */
.kos-fav { margin: 0 !important; max-width: none !important; padding: 80px 20px 88px; background: radial-gradient(ellipse 70% 90% at 50% 0%, #1F5A5E, transparent 70%), #16474B; color: #fff; font-family: var(--kos-sans); }
.kos-fav * { box-sizing: border-box; }
.kos-fav :where(h2, p, ul, li) { margin: 0; padding: 0; }
.kos-fav__wrap { width: min(1180px, 100%); margin: 0 auto; }
.kos-fav__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 30px; }
.kos-fav h2 { color: #fff; font: 800 clamp(32px, 3.6vw, 46px)/1.05 var(--kos-sans); font-stretch: 110%; letter-spacing: -.02em; }
.kos-fav__head p { max-width: 46ch; margin-top: 10px; font: 18px/1.5 var(--kos-serif); color: #C9DDDC; }
.kos-fav__arrows { display: flex; flex: none; gap: 10px; }
.kos-fav__arrows button { display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background-color .15s, border-color .15s; }
.kos-fav__arrows button:hover:not(:disabled) { border-color: var(--kos-accent); background: var(--kos-accent); color: #fff; }
.kos-fav__arrows button:disabled { opacity: .35; cursor: default; }
.kos-fav__arrows button:focus-visible { outline: 3px solid var(--kos-focus); outline-offset: 2px; }

.kos-fav__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; list-style: none;
	padding: 4px 2px 10px; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.kos-fav__track::-webkit-scrollbar { display: none; }
.kos-fav__card { display: flex; scroll-snap-align: start; }
.kos-fav a.kos-fav__link { display: flex; flex: 1; flex-direction: column; overflow: hidden; border-radius: 16px; background: #fff; color: var(--kos-ink); text-decoration: none;
	box-shadow: 0 22px 40px -28px rgba(0, 0, 0, .6); transition: transform .2s ease, box-shadow .2s ease; }
.kos-fav a.kos-fav__link:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--kos-accent), 0 22px 40px -24px rgba(0, 0, 0, .7); }
.kos-fav a.kos-fav__link:focus-visible { outline: 3px solid var(--kos-focus); outline-offset: 3px; }
.kos-fav__img { display: block; overflow: hidden; background: var(--kos-band); }
.kos-fav__img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s; }
.kos-fav a.kos-fav__link:hover .kos-fav__img img { transform: scale(1.04); }
.kos-fav__ribbon { position: relative; align-self: center; margin-top: -16px; padding: 6px 16px; border-radius: 9px 9px 0 0; background: #F3E6C4; color: #3B2E12; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.kos-fav__title { padding: 14px 20px 0; font-size: 18.5px; font-weight: 750; line-height: 1.3; letter-spacing: -.005em; }
.kos-fav a.kos-fav__link:hover .kos-fav__title { color: var(--kos-accent); }
.kos-fav__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding: 18px 20px 20px; }
.kos-fav__read { display: inline-flex; align-items: center; gap: 6px; color: var(--kos-accent); font-size: 15px; font-weight: 700; white-space: nowrap; }
.kos-fav__read svg { transition: translate .2s ease; }
.kos-fav a.kos-fav__link:hover .kos-fav__read svg { translate: 3px 0; }

@media (max-width: 1100px) { .kos-fav__track { grid-auto-columns: calc((100% - 40px) / 3); } }
@media (max-width: 800px) {
	.kos-fav { padding: 52px 16px 56px; }
	.kos-fav__arrows { display: none; } /* swipe on touch screens */
	.kos-fav__track { grid-auto-columns: 78%; gap: 14px; margin: 0 -16px; padding: 4px 16px 10px; scroll-padding-left: 16px; }
	.kos-fav__title { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
	.kos-fav__track { scroll-behavior: auto; }
	.kos-fav a.kos-fav__link, .kos-fav__img img, .kos-fav__read svg { transition: none; }
}

