/* Scoped only to the theme section. Native panning remains available without JS. */
.ah-home .ah-themes{min-width:0}
.ah-theme-viewport{overflow-x:auto;overflow-y:hidden;max-width:100%;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y;direction:ltr;padding:5px 0}
.ah-theme-viewport::-webkit-scrollbar{display:none}
.ah-home .ah-strip-ready .ah-theme-grid{display:flex;position:relative;width:max-content;gap:12px}
.ah-home .ah-strip-ready .ah-theme-card{width:var(--ah-card-width);flex:0 0 var(--ah-card-width);user-select:none;-webkit-user-drag:none;transition:none}
.ah-home .ah-strip-ready .ah-theme-card:hover{transform:none}
.ah-home .ah-strip-ready .ah-theme-card:focus-visible{outline-offset:-4px}
.ah-strip-controls{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:12px}
.ah-strip-controls button{border:1px solid #b9cfd3;background:#fff;color:#173249;border-radius:20px;min-width:44px;min-height:44px;padding:7px 14px;font:inherit;font-size:13px;cursor:pointer}
.ah-strip-controls button:focus-visible{outline:3px solid #176c72;outline-offset:2px}
.ah-strip-controls button:disabled{cursor:default;opacity:.75}
.ah-home .ah-theme-gyogyfurdo,.ah-home .ah-theme-gyogyfurdo:hover{background-image:url('tema-gyogyfurdo.webp')}
.ah-home .ah-theme-erdei,.ah-home .ah-theme-erdei:hover{background-image:url('tema-erdei.webp')}
.ah-home .ah-theme-lastminute,.ah-home .ah-theme-lastminute:hover{background-image:url('tema-lastminute.webp')}
.ah-home .ah-theme-vendeghazapartman,.ah-home .ah-theme-vendeghazapartman:hover{background-image:url('tema-vendeghazapartman.webp')}
.ah-lm-info{font-size:14px;color:#173249}
@media(max-width:600px){.ah-home .ah-strip-ready .ah-theme-grid{gap:10px}}
@media(prefers-reduced-motion:reduce){.ah-theme-viewport{scroll-behavior:auto}}

.ah-home .ah-theme-wellness,.ah-home .ah-theme-wellness:hover{background-image:url('tema-wellness-egyseges.webp')}

.ah-home .ah-theme-borvidekek,.ah-home .ah-theme-borvidekek:hover{background-image:url('tema-borvidekek-egyseges.webp')}

.ah-home .ah-theme-kastelyszallok,.ah-home .ah-theme-kastelyszallok:hover{background-image:url('tema-kastelyszallok-egyseges.webp')}

.ah-home .ah-theme-romantikus,.ah-home .ah-theme-romantikus:hover{background-image:url('tema-romantikus-egyseges.webp')}

.ah-home .ah-theme-csaladbarat,.ah-home .ah-theme-csaladbarat:hover{background-image:url('tema-csaladbarat-egyseges.webp')}

.ah-home .ah-theme-allatbarat,.ah-home .ah-theme-allatbarat:hover{background-image:url('tema-allatbarat-egyseges.webp')}

/* Crossfade a second visual layer without replacing the base photograph. */
.ah-home .ah-themes .ah-theme-card,
.ah-home .ah-themes .ah-theme-card:hover{filter:none}
.ah-home .ah-themes .ah-theme-card::after{content:"";position:absolute;inset:0;border-radius:inherit;background-image:var(--ah-hover-image);background-size:100% 100%;background-position:center;background-repeat:no-repeat;filter:var(--ah-hover-light,brightness(1.14) saturate(1.08) sepia(.10));opacity:0;transition:opacity .55s ease;pointer-events:none}
@media(hover:hover){.ah-home .ah-themes .ah-theme-card:hover::after{opacity:1}}
.ah-home .ah-themes .ah-theme-card:focus-visible::after{opacity:1}
@media(prefers-reduced-motion:reduce){.ah-home .ah-themes .ah-theme-card::after{transition:none}}
.ah-home .ah-theme-wellness{--ah-hover-image:url("tema-wellness-esti.webp");--ah-hover-light:none;--ah-night-mask:linear-gradient(to bottom,#000 0%,#000 55%,transparent 66%);}
.ah-home .ah-theme-borvidekek{--ah-hover-image:url("tema-borvidekek-esti.webp");--ah-hover-light:none;--ah-night-mask:linear-gradient(to bottom,#000 0%,#000 55%,transparent 66%);}
.ah-home .ah-theme-kastelyszallok{--ah-hover-image:url("tema-kastelyszallok-esti.webp");--ah-hover-light:none;--ah-night-mask:linear-gradient(to bottom,#000 0%,#000 55%,transparent 66%);}
.ah-home .ah-theme-romantikus{--ah-hover-image:url("tema-romantikus-vegleges.webp");--ah-hover-light:none;--ah-night-mask:linear-gradient(to bottom,#000 0%,#000 55%,transparent 66%);}
.ah-home .ah-theme-csaladbarat{--ah-hover-image:url("tema-csaladbarat-esti.webp");--ah-hover-light:none;--ah-night-mask:linear-gradient(to bottom,#000 0%,#000 55%,transparent 66%);}
.ah-home .ah-theme-allatbarat{--ah-hover-image:url("tema-allatbarat-esti.webp");--ah-hover-light:none;--ah-night-mask:linear-gradient(to bottom,#000 0%,#000 55%,transparent 66%);}
.ah-home .ah-theme-gyogyfurdo{--ah-hover-image:url("tema-gyogyfurdo-esti.webp");--ah-hover-light:none;--ah-night-mask:linear-gradient(to bottom,#000 0%,#000 55%,transparent 66%);}
.ah-home .ah-theme-erdei{--ah-hover-image:url("tema-erdei-esti.webp");--ah-hover-light:none;--ah-night-mask:linear-gradient(to bottom,#000 0%,#000 55%,transparent 66%);}
.ah-home .ah-theme-lastminute{--ah-hover-image:url("tema-lastminute-esti.webp");--ah-hover-light:none;--ah-night-mask:linear-gradient(to bottom,#000 0%,#000 55%,transparent 66%);}
.ah-home .ah-theme-vendeghazapartman{--ah-hover-image:url("tema-vendeghazapartman-esti.webp");--ah-hover-light:none;--ah-night-mask:linear-gradient(to bottom,#000 0%,#000 55%,transparent 66%);}

/* Keep the original baked-in lettering stable during the lighting transition. */
.ah-home .ah-themes .ah-theme-card::after{-webkit-mask-image:var(--ah-night-mask,none);mask-image:var(--ah-night-mask,none)}

.ah-home .ah-theme-vendeghazapartman{--ah-night-mask:linear-gradient(to bottom,#000 0%,#000 48%,transparent 60%)}
