/*
Theme Name: Homestay4U
Theme URI: https://homestay4u.my/
Description: Lightweight directory presentation layer for Homestay4U. Child theme of Twenty Twenty-Five.
Author: Fadhli Web Studio
Template: twentytwentyfive
 Version: 1.6.0
Requires at least: 6.0
Requires PHP: 8.1
Text Domain: homestay4u
*/

:root{--h4u-navy:#0f2942;--h4u-navy-2:#173f61;--h4u-amber:#d97706;--h4u-amber-dark:#b45309;--h4u-slate:#f8fafc;--h4u-border:#e2e8f0;--h4u-text:#1e293b;--h4u-muted:#64748b;--h4u-white:#fff;--h4u-radius:18px;--h4u-shadow:0 12px 35px rgba(15,41,66,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body.h4u-site{margin:0;color:var(--h4u-text);background:#fff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}.h4u-wrap{width:min(1180px,calc(100% - 40px));margin-inline:auto}.h4u-main{min-height:60vh}.h4u-site a{color:var(--h4u-navy)}.h4u-site img{max-width:100%;height:auto}
.h4u-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);border-bottom:1px solid var(--h4u-border);backdrop-filter:blur(12px)}.admin-bar .h4u-header{top:32px}.h4u-header__inner{position:relative;min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:24px}.h4u-brand{font-size:1.35rem;font-weight:800;text-decoration:none;color:var(--h4u-navy)!important}.h4u-header__right,.h4u-nav{display:flex;align-items:center;gap:22px}.h4u-nav{order:1}.h4u-language{order:2}.h4u-nav a{text-decoration:none;font-weight:650}.h4u-menu-toggle{display:none;order:3;width:44px;height:44px;padding:10px;border:1px solid var(--h4u-border);border-radius:10px;background:#fff;cursor:pointer}.h4u-menu-toggle>span:not(.screen-reader-text){display:block;width:22px;height:2px;margin:4px auto;background:var(--h4u-navy);transition:transform .15s ease,opacity .15s ease}.h4u-menu-toggle[aria-expanded="true"]>span:nth-of-type(2){transform:translateY(6px) rotate(45deg)}.h4u-menu-toggle[aria-expanded="true"]>span:nth-of-type(3){opacity:0}.h4u-menu-toggle[aria-expanded="true"]>span:nth-of-type(4){transform:translateY(-6px) rotate(-45deg)}.h4u-button,.h4u-nav .h4u-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 18px;border:0;border-radius:999px;background:var(--h4u-amber);color:#fff!important;font-weight:750;text-decoration:none;cursor:pointer;transition:transform .15s ease,background .15s ease}.h4u-button:hover{background:var(--h4u-amber-dark);transform:translateY(-1px)}.h4u-button--secondary{background:var(--h4u-navy)}.h4u-button--light{background:#fff;color:var(--h4u-navy)!important}.h4u-button--block{width:100%}
.h4u-hero{padding:92px 0;background:linear-gradient(135deg,rgba(15,41,66,.98),rgba(23,63,97,.92));color:#fff}.h4u-hero__content{max-width:1120px;margin:auto;text-align:center}.h4u-eyebrow{margin:0 0 12px;color:#fbbf24;font-size:.82rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.h4u-hero h1,.h4u-page-hero h1{margin:0;font-size:clamp(2.2rem,6vw,4.5rem);line-height:1.08;letter-spacing:-.045em}.h4u-hero p{font-size:clamp(1rem,2vw,1.2rem);color:#dbeafe}.h4u-search{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) auto;gap:10px;margin-top:30px;padding:12px;background:#fff;border-radius:16px;box-shadow:var(--h4u-shadow);text-align:left}.h4u-field label{display:block;margin:0 0 5px;color:var(--h4u-navy);font-size:.78rem;font-weight:800}.h4u-field input,.h4u-field select{width:100%;min-height:44px;padding:9px 11px;border:1px solid var(--h4u-border);border-radius:10px;background:#fff;color:var(--h4u-text);font:inherit}.h4u-search .h4u-button{align-self:end;border-radius:11px}
.h4u-section{padding:72px 0}.h4u-section--muted{background:var(--h4u-slate)}.h4u-section__head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:28px}.h4u-section h2{margin:0;color:var(--h4u-navy);font-size:clamp(1.65rem,3vw,2.45rem);line-height:1.2}.h4u-section__head p{margin:7px 0 0;color:var(--h4u-muted)}.h4u-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.h4u-card{overflow:hidden;background:#fff;border:1px solid var(--h4u-border);border-radius:var(--h4u-radius);box-shadow:0 8px 26px rgba(15,41,66,.06)}.h4u-card__image{position:relative;display:block;aspect-ratio:16/10;background:#e2e8f0;overflow:hidden}.h4u-card__image img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.h4u-card:hover .h4u-card__image img{transform:scale(1.035)}.h4u-card__placeholder{width:100%;height:100%;display:grid;place-items:center;color:var(--h4u-muted);font-weight:700;background:linear-gradient(135deg,#e2e8f0,#f8fafc)}.h4u-badge{display:inline-flex;padding:5px 10px;border-radius:999px;background:#fffbeb;color:#92400e;font-size:.76rem;font-weight:800}.h4u-card__image .h4u-badge{position:absolute;top:14px;left:14px}.h4u-card__body{padding:20px}.h4u-card h3{margin:10px 0 8px;font-size:1.25rem;line-height:1.3}.h4u-card h3 a{text-decoration:none}.h4u-card__meta,.h4u-specs{display:flex;flex-wrap:wrap;gap:8px 16px;color:var(--h4u-muted);font-size:.92rem}.h4u-card__footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;padding-top:16px;border-top:1px solid var(--h4u-border)}.h4u-price{font-size:1.1rem;font-weight:850;color:var(--h4u-navy)}.h4u-price small{display:block;font-size:.72rem;font-weight:600;color:var(--h4u-muted)}
.h4u-term-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.h4u-term-card{padding:24px;border:1px solid var(--h4u-border);border-radius:16px;background:#fff;text-decoration:none;font-weight:800;box-shadow:0 5px 18px rgba(15,41,66,.05)}.h4u-term-card span{display:block;color:var(--h4u-muted);font-size:.8rem;font-weight:600}.h4u-empty{padding:36px;border:1px dashed #cbd5e1;border-radius:var(--h4u-radius);background:#fff;text-align:center;color:var(--h4u-muted)}
.h4u-page-hero{padding:64px 0 42px;background:var(--h4u-navy);color:#fff}.h4u-page-hero h1{font-size:clamp(2rem,5vw,3.5rem)}.h4u-page-hero p{max-width:700px;color:#cbd5e1}.h4u-directory{display:grid;grid-template-columns:270px minmax(0,1fr);gap:30px;padding:48px 0 76px}.h4u-filters{align-self:start;position:sticky;top:100px;padding:22px;background:var(--h4u-slate);border:1px solid var(--h4u-border);border-radius:var(--h4u-radius)}.h4u-filters__head{display:flex;align-items:center;justify-content:space-between;gap:12px}.h4u-filters h2{margin-top:0;font-size:1.25rem}.h4u-filter-toggle{display:none;border:0;background:transparent;color:var(--h4u-navy);font-weight:800;text-decoration:underline;cursor:pointer}.h4u-filters .h4u-field{margin-bottom:14px}.h4u-checks{display:grid;gap:8px;max-height:180px;overflow:auto}.h4u-checks label{display:flex;gap:8px;align-items:center;font-size:.9rem}.h4u-checks input{width:18px;height:18px;flex:0 0 18px}.h4u-directory__count{margin:0 0 20px;color:var(--h4u-muted)}.nav-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:32px}.page-numbers{display:grid;place-items:center;min-width:42px;height:42px;padding:0 12px;border:1px solid var(--h4u-border);border-radius:10px;text-decoration:none}.page-numbers.current{background:var(--h4u-navy);color:#fff}
.h4u-single{padding:48px 0 78px}.h4u-gallery{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px;margin-bottom:36px;border-radius:24px;overflow:hidden}.h4u-gallery>*{aspect-ratio:4/3;background:#e2e8f0}.h4u-gallery>*:first-child{grid-row:span 2;aspect-ratio:auto}.h4u-gallery img{width:100%;height:100%;object-fit:cover}.h4u-gallery--single{display:block}.h4u-gallery--single>*{display:block;width:100%;aspect-ratio:16/7}.h4u-single__layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.7fr);gap:44px}.h4u-single h1{margin:8px 0 14px;color:var(--h4u-navy);font-size:clamp(2rem,4vw,3.2rem);line-height:1.15}.h4u-single__content{margin-top:28px}.h4u-single__content h2,.h4u-details h2{color:var(--h4u-navy)}.h4u-amenities{display:flex;flex-wrap:wrap;gap:10px;padding:0;list-style:none}.h4u-amenities li{padding:8px 12px;border:1px solid var(--h4u-border);border-radius:999px;background:var(--h4u-slate)}.h4u-booking{position:sticky;top:104px;padding:25px;border:1px solid var(--h4u-border);border-radius:var(--h4u-radius);box-shadow:var(--h4u-shadow)}.h4u-booking__price{margin-bottom:18px;font-size:1.65rem;font-weight:900;color:var(--h4u-navy)}.h4u-booking__price small{font-size:.82rem;font-weight:600;color:var(--h4u-muted)}.h4u-booking__links{display:grid;gap:10px}.h4u-address{padding:18px;border-radius:14px;background:var(--h4u-slate)}
.h4u-cta{padding:64px 0;background:linear-gradient(135deg,var(--h4u-amber),var(--h4u-amber-dark));color:#fff}.h4u-cta__inner{display:flex;align-items:center;justify-content:space-between;gap:24px}.h4u-cta h2{margin:0;color:#fff}.h4u-footer{padding:34px 0;background:#081c2d;color:#cbd5e1}.h4u-footer__inner{display:flex;justify-content:space-between;gap:24px}.h4u-footer__nav{display:flex;gap:16px;white-space:nowrap}.h4u-footer a{color:#fff}.h4u-footer p{margin:0}.h4u-disclaimer{max-width:680px;font-size:.82rem;color:#94a3b8}
@media(max-width:900px){.h4u-search{grid-template-columns:1fr 1fr}.h4u-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.h4u-term-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.h4u-directory,.h4u-single__layout{grid-template-columns:1fr}.h4u-filters,.h4u-booking{position:static}.h4u-gallery{grid-template-columns:2fr 1fr}.admin-bar .h4u-header{top:46px}}
@media(max-width:600px){.h4u-wrap{width:min(100% - 28px,1180px)}.h4u-header__inner{min-height:64px}.h4u-header__right{gap:10px}.h4u-menu-toggle{display:block}.h4u-nav{position:absolute;top:100%;right:0;left:0;display:none;align-items:stretch;flex-direction:column;gap:4px;padding:14px;background:#fff;border:1px solid var(--h4u-border);border-radius:0 0 14px 14px;box-shadow:var(--h4u-shadow)}.h4u-nav.is-open{display:flex}.h4u-nav a{display:block;padding:10px 12px}.h4u-nav .h4u-button{display:flex;margin-top:4px}.h4u-hero{padding:64px 0}.h4u-search,.h4u-grid,.h4u-term-grid{grid-template-columns:1fr}.h4u-section{padding:52px 0}.h4u-section__head,.h4u-cta__inner,.h4u-footer__inner{align-items:flex-start;flex-direction:column}.h4u-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;border-radius:16px}.h4u-gallery>*{min-width:88%;aspect-ratio:4/3;scroll-snap-align:start}.h4u-gallery>*:first-child{aspect-ratio:4/3}.h4u-gallery--single>*{min-width:100%}.h4u-filters{padding:18px}.h4u-filters h2{margin:0}.h4u-js .h4u-filter-toggle{display:inline-block}.h4u-js .h4u-filters form{display:none;margin-top:18px}.h4u-js .h4u-filters form.is-open{display:block}.h4u-checks{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none;overflow:visible}.h4u-checks label{align-items:flex-start}.h4u-page{padding-top:36px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.h4u-breadcrumbs{margin:0 0 18px;color:var(--h4u-muted);font-size:.9rem}.h4u-breadcrumbs a{color:inherit}.h4u-filter-actions{display:grid;gap:9px}.h4u-clear{display:block;text-align:center;font-size:.9rem}.h4u-how{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;counter-reset:h4u-step}.h4u-step{position:relative;padding:26px 24px 24px 72px;border:1px solid var(--h4u-border);border-radius:var(--h4u-radius);background:#fff}.h4u-step:before{counter-increment:h4u-step;content:counter(h4u-step);position:absolute;top:24px;left:22px;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--h4u-amber);color:#fff;font-weight:900}.h4u-step h3{margin:0 0 6px;color:var(--h4u-navy)}.h4u-step p{margin:0;color:var(--h4u-muted)}.h4u-notice{margin-top:18px;padding:14px 16px;border-left:4px solid var(--h4u-amber);border-radius:8px;background:#fffbeb;color:#78350f;font-size:.88rem}.h4u-page{max-width:820px;padding:56px 0 76px}.h4u-page h1{color:var(--h4u-navy);font-size:clamp(2rem,4vw,3.2rem)}.h4u-page__content>*+*{margin-top:1.15em}.h4u-related{margin-top:58px;padding-top:40px;border-top:1px solid var(--h4u-border)}
@media(max-width:900px){.h4u-how{grid-template-columns:1fr}}
.h4u-language{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border:1px solid var(--h4u-border);border-radius:999px;font-size:.82rem}.h4u-language a{padding:2px 4px;text-decoration:none}.h4u-language a[aria-current="true"]{color:var(--h4u-amber-dark);font-weight:850}
@media(max-width:600px){.h4u-language a{display:inline-block!important}}
.h4u-nav .h4u-login-link{background:var(--h4u-navy);color:#fff!important}
.h4u-listing-ref{margin:-6px 0 14px;color:var(--h4u-muted);font-size:.9rem;font-weight:750}.h4u-contact{display:flex;align-items:center;justify-content:center;gap:9px}.h4u-contact span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:rgba(255,255,255,.18);font-size:.85rem}.h4u-contact--phone span:before{content:'☎'}.h4u-contact--whatsapp span:before{content:'WA';font-size:.65rem;font-weight:900}.h4u-contact--tiktok span:before{content:'♪'}.h4u-contact--facebook span:before{content:'f';font-weight:900}.h4u-calendars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.h4u-calendar{width:100%;border-collapse:separate;border-spacing:3px;table-layout:fixed}.h4u-calendar caption{padding:8px;color:var(--h4u-navy);font-weight:850}.h4u-calendar th{padding:5px;color:var(--h4u-muted);font-size:.72rem}.h4u-calendar td{height:36px;border-radius:7px;text-align:center;font-size:.82rem}.h4u-calendar__available{background:#dcfce7;color:#166534}.h4u-calendar__unavailable{background:#fee2e2;color:#991b1b;text-decoration:line-through}.h4u-calendar__past{background:#f1f5f9;color:#94a3b8}.h4u-calendar-legend{display:flex;align-items:center;gap:7px;color:var(--h4u-muted);font-size:.82rem}.h4u-calendar-legend span{display:inline-block;width:14px;height:14px;border-radius:4px}.h4u-calendar-legend .is-available{background:#dcfce7}.h4u-calendar-legend .is-unavailable{margin-left:10px;background:#fee2e2}
@media(max-width:600px){.h4u-calendars{grid-template-columns:1fr}}
