.hayha-discover { position: relative; container-type: inline-size; --hhdc-accent: var(--hayha-destinations-accent,var(--hayha-theme-accent)); width: 100%; min-width: 0; box-sizing: border-box; margin: 32px 0; color: var(--hayha-theme-text); }
.hayha-discover *, .hayha-discover *::before, .hayha-discover *::after { box-sizing: border-box; }
.hayha-discover .hhdc-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px)/3); gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 0; }
.hayha-discover .hhdc-track::-webkit-scrollbar { display: none; }
.hayha-discover .hhdc-card { display: flex; min-width: 0; margin: 0; background: #faf8f7; border-radius: 12px; overflow: hidden; scroll-snap-align: start; transition: box-shadow 200ms ease; }
.hayha-discover .hhdc-link { display: flex; flex-direction: column; width: 100%; color: inherit; text-decoration: none; }
.hayha-discover .hhdc-media { aspect-ratio: 2/1; overflow: hidden; background: var(--hayha-theme-soft); flex-shrink: 0; }
.hayha-discover .hhdc-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.hayha-discover .hhdc-body { display: flex; flex-direction: column; flex: 1; min-height: 325px; padding: 20px 24px 24px; }
.hayha-discover .hhdc-label { margin: 0 0 8px; font-size: 14px; line-height: 1.4; color: var(--hayha-theme-muted); overflow-wrap: anywhere; }
.hayha-discover h3 { margin: 0 0 12px; color: var(--hayha-theme-heading); font-size: 20px; line-height: 1.35; font-weight: 600; letter-spacing: normal; overflow-wrap: anywhere; }
.hayha-discover .hhdc-intro { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 0 0 24px; font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.hayha-discover .hhdc-cta { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; margin-top: auto; color: var(--hhdc-accent); font-size: 18px; line-height: 24px; }
.hayha-discover .hhd-cta-icon { display: block; width: 16px; height: 24px; flex: 0 0 16px; }
.hayha-discover .hhdc-nav { position: absolute; top: calc((100cqw - 60px) / 12); left: 0; right: 0; height: 0; display: flex; justify-content: space-between; padding: 0 10px; margin: 0; pointer-events: none; z-index: 2; }
.hayha-discover .hhdc-nav button { pointer-events: auto; transform: translateY(-50%); appearance: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-height: 44px; padding: 0; margin: 0; border: 1px solid var(--hayha-theme-border); border-radius: 50%; background: var(--hayha-theme-surface); color: var(--hayha-theme-muted); box-shadow: 0 2px 8px rgba(16,25,40,.16); cursor: pointer; transition: background-color 200ms ease; }
.hayha-discover .hhdc-nav[hidden] { display: none; }
.hayha-discover .hhdc-nav button::after { content: none; }
.hayha-discover .hhdc-nav svg { width: 24px; height: 24px; }
.hayha-discover [data-direction="-1"] svg { transform: rotate(180deg); }
.hayha-discover .hhdc-nav button:disabled { opacity: .35; cursor: default; }
.hayha-discover :is(a,button,[tabindex]):focus-visible { outline: 3px solid var(--hhdc-accent); outline-offset: -3px; }
.hayha-discover .hhdc-link:focus-visible { border-radius: 12px; }
.hayha-discover .hhdc-link:focus-visible .hhdc-cta > span { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.hayha-discover [hidden] { display: none !important; }
.hayha-discover .hhdc-status { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.hayha-discover .hhdc-empty { padding: 32px; background: var(--hayha-theme-surface); border-radius: 12px; text-align: center; }
@media (hover: hover) and (pointer: fine) {
    .hayha-discover .hhdc-card:hover { box-shadow: inset 0 0 0 1px #dedad7; }
    .hayha-discover .hhdc-card:hover .hhdc-cta > span { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
    .hayha-discover .hhdc-nav button:hover:not(:disabled) { background: var(--hayha-theme-soft); }
}
@media (max-width: 1000px) { .hayha-discover .hhdc-track { grid-auto-columns: calc((100% - 30px)/2); } }
@media (max-width: 600px) {
    .hayha-discover .hhdc-track { grid-auto-columns: min(325px,calc(100% - 20px)); gap: 20px; }
    .hayha-discover .hhdc-track:has(>.hhdc-card:only-child) { grid-auto-columns: 100%; }
    .hayha-discover .hhdc-body { min-height: 250px; padding: 20px 24px 24px; }
    .hayha-discover .hhdc-cta { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    .hayha-discover .hhdc-card, .hayha-discover .hhdc-nav button { transition: none; }
}

/* Prev/next arrows on the two sides: over the photo on small screens, outside the cards when the page has room. */
@media (max-width: 1000px) { .hayha-discover .hhdc-nav { top: calc((100cqw - 30px) / 8); } }
@media (max-width: 600px) { .hayha-discover .hhdc-nav { top: calc(min(325px, 100cqw - 20px) / 4); } }
@media (min-width: 1280px) { .hayha-discover .hhdc-nav { top: 50%; left: -56px; right: -56px; padding: 0; } }
