/* Shared public header and footer: use the same shell on every page. */
.site-header.home-header{background:#fff;box-shadow:0 1px 0 rgba(14,50,70,.09)}
.site-header.home-header .brand-logo{display:inline-flex!important;align-items:center!important;min-width:max-content!important;text-decoration:none!important}
.site-header.home-header .brand-logo::before,.site-header.home-header .brand-logo::after{content:none!important;display:none!important}
.site-header.home-header .brand-logo img{display:block!important;width:205px!important;height:auto!important;max-height:62px!important;object-fit:contain!important}
.site-footer.home-footer{margin:0!important;padding:0!important;background:#002e54!important;color:#e3edf5!important}
.site-footer.home-footer .footer-top{background:linear-gradient(110deg,#00335a,#002648)}
.site-footer.home-footer .footer-content{display:grid!important;grid-template-columns:1.35fr 2fr .85fr .95fr 1.25fr;align-items:start!important;gap:28px;padding:28px 38px 24px}
.site-footer.home-footer .footer-brand{padding-top:11px}
.site-footer.home-footer .brand-logo::before,.site-footer.home-footer .brand-logo::after{content:none!important;display:none!important}
.site-footer.home-footer .brand-logo img{display:block!important;width:180px!important;height:auto!important;filter:brightness(0) invert(1)}
.site-footer.home-footer .footer-column{display:flex;flex-direction:column;gap:7px;font-size:12px}
.site-footer.home-footer .footer-column strong{margin-bottom:3px;color:#fff;font-size:13px}
.site-footer.home-footer .footer-column a,.site-footer.home-footer .footer-column span{color:#deebf4;text-decoration:none;line-height:1.25}
.site-footer.home-footer .footer-column a:hover{text-decoration:underline;color:#fff}
.site-footer.home-footer .footer-quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:25px;row-gap:7px}
.site-footer.home-footer .footer-quick strong{grid-column:1/-1}
.site-footer.home-footer .footer-quick>div{display:flex;flex-direction:column;gap:7px}
.site-footer.home-footer .social-icons{display:flex;gap:9px;margin-top:8px}
.site-footer.home-footer .social-icons a{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#1877f2!important;color:#fff!important;font-weight:800;font-size:13px}
.site-footer.home-footer .social-icons a:nth-child(2){background:linear-gradient(135deg,#6d3aff,#f21a65,#ffa239)!important;font-size:16px}
.site-footer.home-footer .social-icons a:nth-child(3){background:#ff1717!important;font-size:11px}
.site-footer.home-footer .social-icons a:nth-child(4){background:#1378b9!important;font-size:10px}
.site-footer.home-footer .footer-contact{gap:8px!important}
.site-footer.home-footer .footer-bottom{border-top:1px solid rgba(255,255,255,.16);background:#002847}
.site-footer.home-footer .footer-bottom>.wrap{display:flex;justify-content:space-between;gap:22px;padding:12px 38px;color:#d0dfeb;font-size:11px}
.site-footer.home-footer .footer-bottom>div>div{display:flex;gap:0}
.site-footer.home-footer .footer-bottom a{color:#dce8f1;text-decoration:none;padding:0 10px;border-right:1px solid rgba(255,255,255,.33)}
.site-footer.home-footer .footer-bottom a:last-child{border-right:0;padding-right:0}
@media(max-width:900px){.site-footer.home-footer .footer-content{grid-template-columns:1.2fr 1.7fr 1fr 1fr;gap:22px}.site-footer.home-footer .footer-contact{grid-column:2/-1}}
@media(max-width:760px){.site-header.home-header .brand-logo img{width:155px!important;max-height:52px!important}.site-footer.home-footer .footer-content{grid-template-columns:1fr 1fr;padding:25px 20px;gap:24px}.site-footer.home-footer .footer-brand{grid-column:1/-1;padding-top:0}.site-footer.home-footer .footer-contact{grid-column:1/-1}.site-footer.home-footer .footer-bottom>.wrap{display:block;padding:12px 20px}.site-footer.home-footer .footer-bottom>div>div{margin-top:9px}.site-footer.home-footer .footer-bottom a:first-child{padding-left:0}}


/* Prevent horizontal scrolling on narrow screens, especially generated hotel pages. */
html,body{max-width:100%;overflow-x:hidden}@supports(overflow-x:clip){html,body{overflow-x:clip}}
@media(max-width:760px){
  .detail-page .wrap,.detail-page .property-main,.detail-page .property-layout,.detail-page .property-heading,.detail-page .property-section,.detail-page .property-info{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
  .detail-page .property-main{padding-left:16px;padding-right:16px}
  .detail-page .property-layout{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:24px;overflow:visible}
  .detail-page .property-photo,.detail-page .property-photo img{max-width:100%;width:100%;box-sizing:border-box}
  .detail-page .property-info{overflow-wrap:anywhere}
  .detail-page .site-header .nav{width:100%;max-width:100%;box-sizing:border-box;overflow:hidden}
  .detail-page .site-header nav{max-width:100%;overflow-x:auto}
}


/* Accessible mobile navigation menu. */
.mobile-menu-toggle{display:none}
@media(max-width:760px){
  .site-header.home-header{position:relative;z-index:40}
  .site-header.home-header .nav{position:relative;min-height:70px;height:auto;overflow:visible!important}
  .mobile-menu-toggle{display:grid;place-content:center;gap:4px;width:44px;height:44px;padding:0;border:1px solid #d6e1ea;border-radius:8px;background:#fff;color:#123b5d}
  .mobile-menu-toggle span{display:block;width:20px;height:2px;border-radius:2px;background:currentColor;transition:transform .18s ease,opacity .18s ease}
  .site-header.home-header.mobile-menu-open .mobile-menu-toggle span:first-child{transform:translateY(6px) rotate(45deg)}
  .site-header.home-header.mobile-menu-open .mobile-menu-toggle span:nth-child(2){opacity:0}
  .site-header.home-header.mobile-menu-open .mobile-menu-toggle span:last-child{transform:translateY(-6px) rotate(-45deg)}
  .site-header.home-header nav{display:none!important;position:absolute;z-index:80;top:calc(100% + 8px);left:0;right:0;padding:10px;background:#fff;border:1px solid #dce5ed;border-radius:12px;box-shadow:0 18px 35px rgba(18,59,93,.18);flex-direction:column;align-items:stretch;gap:1px;overflow:visible}
  .site-header.home-header.mobile-menu-open nav{display:flex!important}
  .site-header.home-header nav a{display:block;padding:13px 14px;border-radius:7px;font-size:15px;line-height:1.2}
  .site-header.home-header nav a:hover,.site-header.home-header nav a:focus{background:#edf3f8;text-decoration:none}
  .site-header.home-header nav .nav-cta{text-align:center;margin-top:5px;background:#9f1239;color:#fff;padding:10px 12px}
  .site-header.home-header nav .nav-cta:hover,.site-header.home-header nav .nav-cta:focus{background:#861031;color:#fff}
}

/* List Your Hotel button styling - desktop */
.site-header.home-header nav .nav-cta{background:#8f173a!important;color:#fff!important;padding:12px 18px;border-radius:8px;box-shadow:0 6px 16px rgba(143,23,58,.15);text-decoration:none!important}
.site-header.home-header nav .nav-cta:hover,.site-header.home-header nav .nav-cta:focus{background:#861031!important;color:#fff!important}

/* tap targets: footer links at least 24px tall */
.site-footer .footer-column a{display:block;padding:5px 0}
.site-footer .footer-column,.site-footer .footer-column>div{gap:0!important}

/* ===== Footer redesign (same block lives in core.css and site-shell.css) ===== */
html .site-footer.home-footer.home-footer{margin:0!important;padding:0!important;background:#12324F!important;color:#C7D9E9!important;font-size:14.5px}
html .site-footer.home-footer.home-footer .footer-top{background:none;padding:62px 0 6px}
html .site-footer.home-footer.home-footer .footer-content{display:grid!important;grid-template-columns:1.5fr 1.9fr 1fr 1.15fr 1.35fr;gap:36px;align-items:start!important;padding:0 42px}
html .site-footer.home-footer.home-footer .footer-brand{padding:0}
html .site-footer.home-footer.home-footer .brand-logo img{display:block!important;width:196px!important;height:auto!important;filter:brightness(0) invert(1)}
html .site-footer.home-footer.home-footer .footer-brand::after{content:"Affordable hotels, villas, guest houses and premium stays across Sri Lanka.";display:block;max-width:290px;margin-top:18px;font-size:14px;line-height:1.7;color:#9DB9D1}
html .site-footer.home-footer.home-footer .footer-column{display:flex;flex-direction:column;gap:0!important;font-size:14.5px}
html .site-footer.home-footer.home-footer .footer-column strong{display:block;margin:6px 0 14px;color:#fff;font-size:12.5px;font-weight:800;letter-spacing:1.6px;text-transform:uppercase}
html .site-footer.home-footer.home-footer .footer-column a,html .site-footer.home-footer.home-footer .footer-column span{display:block;padding:5px 0;color:#B9CFE2;font-size:14.5px;line-height:1.5;text-decoration:none;transition:color .15s,transform .15s}
html .site-footer.home-footer.home-footer .footer-column a:hover{color:#fff;text-decoration:none;transform:translateX(3px)}
html .site-footer.home-footer.home-footer .footer-quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:26px}
html .site-footer.home-footer.home-footer .footer-quick>div{display:flex;flex-direction:column;gap:0!important}
html .site-footer.home-footer.home-footer .footer-contact a:hover{transform:none}
html .site-footer.home-footer.home-footer .footer-contact svg{color:#F0A9BC}
html .site-footer.home-footer.home-footer .footer-bottom{margin-top:42px;background:none;border-top:1px solid rgba(255,255,255,.13)}
html .site-footer.home-footer.home-footer .footer-bottom>.wrap{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 22px;padding:20px 42px 22px;font-size:13px;color:#8FB0C9}
html .site-footer.home-footer.home-footer .footer-bottom>.wrap>div{display:flex;flex-wrap:wrap;gap:6px 22px}
html .site-footer.home-footer.home-footer .footer-bottom a{padding:4px 0;border:0;color:#C7D9E9;font-weight:600;text-decoration:none}
html .site-footer.home-footer.home-footer .footer-bottom a:hover{color:#fff}
@media(max-width:1020px){html .site-footer.home-footer.home-footer .footer-content{grid-template-columns:1fr 1fr 1fr;gap:30px}html .site-footer.home-footer.home-footer .footer-brand{grid-column:1/-1}html .site-footer.home-footer.home-footer .footer-quick{grid-column:span 2}html .site-footer.home-footer.home-footer .footer-contact{grid-column:auto}}
@media(max-width:640px){html .site-footer.home-footer.home-footer .footer-top{padding-top:44px}html .site-footer.home-footer.home-footer .footer-content{grid-template-columns:1fr 1fr;padding:0 18px;gap:26px 20px}html .site-footer.home-footer.home-footer .footer-quick,html .site-footer.home-footer.home-footer .footer-contact{grid-column:1/-1}html .site-footer.home-footer.home-footer .footer-bottom>.wrap{padding:18px;display:block}html .site-footer.home-footer.home-footer .footer-bottom>.wrap>div{margin-top:8px}}
html .site-footer.home-footer.home-footer .social-icons{display:flex;gap:10px;margin-top:2px}
html .site-footer.home-footer.home-footer .social-icons a{display:grid;place-items:center;width:34px;height:34px;padding:0;color:#fff;transform:none}


/* Cheap Hotels sits under Premium Hotels: a hover/focus panel on desktop, an indented line in the phone menu. */
.nav-sub{position:relative}
.nav-sub>a::after{content:"";display:inline-block;width:6px;height:6px;margin-left:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg)}
.nav-sub-menu{display:none;position:absolute;z-index:90;top:100%;left:-14px;min-width:180px;padding:14px 8px 8px}
.nav-sub-menu a{display:block;padding:11px 14px;background:#fff;border:1px solid #dce5ed;border-radius:10px;box-shadow:0 14px 30px rgba(18,59,93,.16);white-space:nowrap}
.nav-sub:hover .nav-sub-menu,.nav-sub:focus-within .nav-sub-menu{display:block}
@media(max-width:1060px){
  .nav-sub>a::after{display:none}
  .nav-sub-menu{display:block;position:static;min-width:0;padding:0 0 0 22px}
  .site-header.home-header nav .nav-sub-menu a{background:none;border:0;box-shadow:none;border-radius:7px;font-weight:600;color:#33536b}
  .site-header.home-header nav .nav-sub-menu a::before{content:"•";margin-right:9px;color:#8f173a}
