/*
Theme Name: StayWise Hotel
Theme URI: https://example.com/staywise-hotel
Author: StayWise
Description: A clean, professional hotel editorial theme with a dedicated search hub, flexible layouts, and responsive performance.
Version: 2.0.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: staywise-hotel
*/

:root{--sw-primary:#0f3d5e;--sw-primary-dark:#092a42;--sw-accent:#c58a3a;--sw-page:#f8fafb;--sw-paper:#fff;--sw-ink:#18354a;--sw-muted:#647681;--sw-line:#dfe6ea;--sw-soft:#f3f6f7;--sw-cream:#f7f4ee;--sw-shadow:0 18px 50px rgba(15,53,78,.09);--sw-radius:18px;--sw-wrap:1180px;--sw-content:760px;--sw-columns:3}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--sw-page);color:var(--sw-ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.7;-webkit-font-smoothing:antialiased}img{display:block;max-width:100%;height:auto}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.sw-wrap{width:min(var(--sw-wrap),calc(100% - 40px));margin-inline:auto}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.alignwide{width:min(1100px,calc(100vw - 40px));max-width:none;margin-left:50%;transform:translateX(-50%)}.alignfull{width:100vw;max-width:none;margin-left:50%;transform:translateX(-50%)}.site-main{min-height:62vh}
.site-notice{background:var(--sw-primary-dark);color:#d8e3e9;padding:7px 0;text-align:center;font-size:.72rem;letter-spacing:.035em}.site-header{height:72px;background:rgba(255,255,255,.97);border-bottom:1px solid rgba(15,53,78,.09);position:relative;z-index:100;transition:box-shadow .2s}.has-sticky-header .site-header{position:sticky;top:0}.admin-bar.has-sticky-header .site-header{top:32px}.site-header.is-scrolled{box-shadow:0 8px 25px rgba(15,53,78,.08)}.header-inner{height:100%;display:flex;align-items:center;gap:34px}.site-branding{flex:0 0 auto}.brand-link,.site-branding{display:flex;align-items:center;gap:10px;font-size:1.2rem;font-weight:850;letter-spacing:-.025em}.custom-logo{width:auto;max-height:40px}.brand-mark{width:34px;height:34px;border-radius:9px;background:var(--sw-primary);color:#fff;display:grid;place-items:center;font-family:Georgia,serif;font-weight:700}.primary-navigation{margin-left:auto}.primary-menu{display:flex;align-items:center;gap:26px;list-style:none;margin:0;padding:0}.primary-menu li{position:relative}.primary-menu a{display:block;font-size:.84rem;font-weight:700;color:#344f61;padding:25px 0}.primary-menu a:hover,.primary-menu .current-menu-item>a{color:var(--sw-accent)}.primary-menu .sub-menu{display:none;position:absolute;top:62px;left:-18px;min-width:200px;list-style:none;margin:0;padding:10px;background:#fff;border:1px solid var(--sw-line);border-radius:11px;box-shadow:var(--sw-shadow)}.primary-menu li:hover>.sub-menu,.primary-menu li:focus-within>.sub-menu{display:block}.primary-menu .sub-menu a{padding:8px 10px}.header-actions{display:flex;align-items:center;gap:9px}.header-search-toggle,.menu-toggle{display:grid;place-items:center;width:39px;height:39px;border:1px solid var(--sw-line);background:#fff;border-radius:9px;color:var(--sw-primary);cursor:pointer}.header-search-toggle svg{width:18px;fill:none;stroke:currentColor;stroke-width:1.8}.header-cta,.sw-button{display:inline-flex;align-items:center;justify-content:center;border-radius:9px;background:var(--sw-primary);color:#fff;padding:9px 15px;font-size:.78rem;font-weight:800;transition:background .2s,transform .2s}.header-cta:hover,.sw-button:hover{background:var(--sw-primary-dark);transform:translateY(-1px)}.menu-toggle{display:none;padding:9px}.menu-toggle>span:not(.screen-reader-text){display:block;width:18px;height:1.5px;background:currentColor;margin:2px}.header-search-panel{position:absolute;top:100%;left:0;right:0;padding:18px 0;background:#fff;border-top:1px solid var(--sw-line);box-shadow:0 18px 28px rgba(15,53,78,.08)}.header-search-panel form{display:flex;max-width:720px;margin:auto;border:1px solid var(--sw-line);padding:6px;border-radius:10px}.header-search-panel input{flex:1;min-width:0;border:0;outline:0;padding:8px 11px}.header-search-panel button,.hero-search button,.sidebar-search button{border:0;background:var(--sw-primary);color:#fff;border-radius:7px;padding:9px 20px;font-weight:800;cursor:pointer}
.sw-hero{position:relative;isolation:isolate;min-height:570px;background:var(--sw-primary);color:#fff;overflow:hidden}.sw-hero:before{content:"";position:absolute;z-index:-2;inset:0;background:linear-gradient(90deg,rgba(8,40,62,.97) 0%,rgba(8,40,62,.9) 48%,rgba(8,40,62,.45) 100%),var(--sw-hero-image,linear-gradient(135deg,#0f476c,#092a42));background-size:cover;background-position:center}.sw-hero:after{content:"";position:absolute;z-index:-1;width:620px;height:620px;border:1px solid rgba(255,255,255,.09);border-radius:50%;right:-180px;top:-130px;box-shadow:0 0 0 75px rgba(255,255,255,.025),0 0 0 150px rgba(255,255,255,.018)}.hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);align-items:center;gap:70px;min-height:570px;padding-top:65px;padding-bottom:65px}.hero-content{max-width:720px}.sw-eyebrow{display:inline-flex;align-items:center;gap:10px;text-transform:uppercase;letter-spacing:.13em;font-size:.68rem;font-weight:850;color:var(--sw-accent)}.sw-eyebrow:before{content:"";width:22px;height:2px;background:currentColor}.hero-content h1,.section-title,.entry-title,.archive-title,.featured-guide h2{font-family:Georgia,"Times New Roman",serif;font-weight:500;letter-spacing:-.035em}.hero-content h1{font-size:clamp(3rem,6vw,5.2rem);line-height:1.01;margin:16px 0 22px;max-width:700px}.hero-content>p{max-width:620px;font-size:1.05rem;line-height:1.75;color:#d7e3e9;margin:0 0 28px}.hero-search{display:flex;gap:8px;max-width:660px;background:#fff;border-radius:12px;padding:7px;box-shadow:0 16px 42px rgba(0,0,0,.18)}.hero-search input{flex:1;min-width:0;border:0;outline:0;padding:10px 13px;color:var(--sw-ink)}.hero-search button{padding-inline:25px}.hero-trust{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:18px;color:#bfcfd7;font-size:.73rem}.hero-trust span{display:flex;align-items:center;gap:7px}.hero-trust span:before{content:"✓";color:#e6b96e;font-weight:900}.hero-visual{display:flex;justify-content:center}.hero-card{max-width:330px;background:rgba(255,255,255,.96);color:var(--sw-ink);border-radius:16px;padding:28px;box-shadow:0 28px 70px rgba(0,0,0,.2);transform:rotate(2deg)}.hero-card>span{display:block;text-transform:uppercase;letter-spacing:.11em;color:var(--sw-accent);font-size:.65rem;font-weight:850}.hero-card>strong{display:block;font-family:Georgia,serif;font-size:1.55rem;line-height:1.3;margin:10px 0 22px}.hero-card>div{border-top:1px solid var(--sw-line);padding-top:15px}.hero-card i{display:block;width:38px;height:4px;border-radius:5px;background:var(--sw-accent);margin-bottom:9px}.hero-card small{color:var(--sw-muted);line-height:1.5}
.sw-section{padding:82px 0}.sw-section.is-soft{background:var(--sw-soft)}.section-header{display:flex;align-items:end;justify-content:space-between;gap:35px;margin-bottom:30px}.section-header>p{max-width:470px;color:var(--sw-muted);font-size:.9rem;margin:0}.section-title{font-size:clamp(2rem,4vw,3.1rem);line-height:1.08;margin:7px 0 0}.sw-text-link{color:var(--sw-primary);font-size:.8rem;font-weight:850;white-space:nowrap}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.category-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:15px;background:#fff;border:1px solid var(--sw-line);border-radius:14px;padding:19px;transition:.2s}.category-card:hover{border-color:rgba(197,138,58,.7);box-shadow:0 12px 30px rgba(15,53,78,.07);transform:translateY(-2px)}.category-icon{width:43px;height:43px;border-radius:10px;background:#edf3f6;color:var(--sw-primary);display:grid;place-items:center;font-size:.7rem;font-weight:900;letter-spacing:.05em}.category-card strong{display:block;font-size:.92rem}.category-card small{display:block;color:var(--sw-muted);font-size:.72rem;line-height:1.45;margin-top:2px}.category-card b{color:var(--sw-accent)}.featured-guide{display:grid;grid-template-columns:1.05fr .95fr;min-height:410px;border-radius:var(--sw-radius);overflow:hidden;background:#fff;border:1px solid var(--sw-line);box-shadow:var(--sw-shadow)}.featured-guide__image{background:#dce7ec;min-height:410px}.featured-guide__image img{width:100%;height:100%;object-fit:cover}.featured-guide__content{align-self:center;padding:50px}.featured-guide h2{font-size:clamp(2rem,3.4vw,3rem);line-height:1.1;margin:12px 0 18px}.featured-guide__content>p{color:var(--sw-muted);font-size:.93rem}.featured-guide__meta{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:24px}.featured-guide__meta>span{color:var(--sw-muted);font-size:.76rem}
.post-grid{display:grid;grid-template-columns:repeat(var(--sw-columns),minmax(0,1fr));gap:22px}.post-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid var(--sw-line);border-radius:15px;overflow:hidden;transition:.22s}.post-card:hover{transform:translateY(-3px);box-shadow:var(--sw-shadow);border-color:transparent}.post-card-image{height:215px;background:#eaf0f3;overflow:hidden}.post-card-image img,.image-placeholder{width:100%;height:100%;object-fit:cover;transition:transform .35s}.post-card:hover .post-card-image img{transform:scale(1.025)}.image-placeholder{display:grid;place-items:center;background:linear-gradient(135deg,#e5edf1,#c9dbe5);color:#fff}.image-placeholder b{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:var(--sw-primary);font-family:Georgia,serif;font-size:1.7rem}.post-card-body{display:flex;flex:1;flex-direction:column;padding:21px}.entry-meta{display:flex;flex-wrap:wrap;gap:7px;color:var(--sw-accent);font-size:.65rem;letter-spacing:.08em;text-transform:uppercase;font-weight:850}.entry-meta a{color:inherit}.post-card h3{font-family:Georgia,serif;font-size:1.27rem;font-weight:500;line-height:1.28;letter-spacing:-.02em;margin:10px 0}.post-card p{color:var(--sw-muted);font-size:.82rem;line-height:1.65;margin:0 0 15px}.read-more{margin-top:auto;color:var(--sw-primary);font-size:.76rem;font-weight:850}.read-more span{color:var(--sw-accent);margin-left:3px}.archive-list .post-grid{grid-template-columns:1fr}.archive-list .post-card{display:grid;grid-template-columns:280px 1fr}.archive-list .post-card-image{height:100%;min-height:210px}
.breadcrumbs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#7b8991;font-size:.7rem;margin-bottom:25px}.breadcrumbs a:hover{color:var(--sw-accent)}.single-hero,.page-header,.archive-header{background:var(--sw-cream);border-bottom:1px solid rgba(15,53,78,.08)}.single-hero{padding:38px 0 65px}.single-heading{max-width:920px}.single-heading .entry-title{font-size:clamp(2.65rem,5.6vw,4.8rem);line-height:1.04;margin:12px 0 18px}.entry-deck{max-width:760px;color:var(--sw-muted);font-size:1.05rem;line-height:1.7}.article-byline{display:flex;align-items:center;gap:11px;margin-top:22px}.article-byline img{width:38px;height:38px;border-radius:50%}.article-byline>span:last-child{display:flex;flex-direction:column}.article-byline strong{font-size:.78rem}.article-byline small{font-size:.69rem;color:var(--sw-muted)}.featured-image{margin-top:37px;border-radius:18px;overflow:hidden;background:#dce5ea;box-shadow:0 15px 42px rgba(15,53,78,.1)}.featured-image img{width:100%;max-height:590px;object-fit:cover}.content-area{padding:68px 0}.content-layout{display:grid;grid-template-columns:minmax(0,var(--sw-content)) 300px;justify-content:space-between;gap:55px;align-items:start}.content-layout.no-sidebar{grid-template-columns:minmax(0,var(--sw-content));justify-content:center}.article-main{min-width:0}.entry-content{font-family:Georgia,"Times New Roman",serif;font-size:1.08rem;line-height:1.85;color:#243e50}.entry-content>*:first-child{margin-top:0}.entry-content h2,.entry-content h3,.entry-content h4{font-family:Inter,ui-sans-serif,sans-serif;color:var(--sw-ink);line-height:1.25;letter-spacing:-.02em}.entry-content h2{font-size:1.78rem;margin:2em 0 .75em}.entry-content h3{font-size:1.35rem;margin:1.8em 0 .65em}.entry-content h4{font-size:1.08rem}.entry-content p,.entry-content ul,.entry-content ol{margin:0 0 1.35em}.entry-content a{color:#0a668f;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}.entry-content ul,.entry-content ol{padding-left:1.35em}.entry-content li{margin:.35em 0}.entry-content table{display:table;width:100%;border-collapse:separate;border-spacing:0;margin:28px 0;font-family:Inter,sans-serif;font-size:.82rem;border:1px solid var(--sw-line);border-radius:10px;overflow:hidden}.entry-content th,.entry-content td{text-align:left;padding:12px 13px;border-bottom:1px solid var(--sw-line)}.entry-content tr:last-child td{border-bottom:0}.entry-content th{background:#edf3f5;font-weight:800}.entry-content blockquote{border-left:3px solid var(--sw-accent);background:var(--sw-cream);margin:28px 0;padding:20px 22px;font-size:1.1rem}.author-box{display:flex;gap:18px;background:var(--sw-soft);border:1px solid var(--sw-line);padding:23px;border-radius:14px;margin-top:45px}.author-box img{width:72px;height:72px;border-radius:50%}.author-box span{display:block;color:var(--sw-accent);font-size:.64rem;text-transform:uppercase;letter-spacing:.09em;font-weight:850}.author-box strong{display:block;margin:2px 0}.author-box p{color:var(--sw-muted);font-size:.8rem;margin:3px 0}.site-sidebar{position:sticky;top:100px}.sidebar-box{background:#fff;border:1px solid var(--sw-line);border-radius:13px;padding:20px;margin-bottom:17px;font-size:.82rem}.sidebar-box h3{font-size:.9rem;margin:0 0 13px}.sidebar-box ul{list-style:none;margin:0;padding:0}.sidebar-box li{display:flex;justify-content:space-between;border-top:1px solid #edf0f2;padding:9px 0;line-height:1.4}.sidebar-box li:first-child{border-top:0}.sidebar-box a:hover{color:var(--sw-accent)}.sidebar-search form{display:flex;gap:6px}.sidebar-search input{min-width:0;width:100%;border:1px solid var(--sw-line);border-radius:7px;padding:8px}.sidebar-search button{padding:8px 11px}.related-articles{border-top:1px solid var(--sw-line)}
.archive-header,.page-header{padding:50px 0}.archive-title,.page-header .entry-title{font-size:clamp(2.5rem,5vw,4.2rem);line-height:1.08;margin:10px 0}.archive-description{max-width:680px;color:var(--sw-muted);font-size:.92rem}.archive-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:42px;align-items:start}.page-content{padding:65px 0}.page-content .entry-content{max-width:var(--sw-content);margin-inline:auto}.search-hub-page{padding-top:0}.search-hub-page .entry-content{max-width:none;font-family:inherit;font-size:1rem}.pagination{margin-top:38px}.nav-links{display:flex;justify-content:center;gap:7px}.page-numbers{display:grid;place-items:center;min-width:36px;height:36px;border:1px solid var(--sw-line);background:#fff;border-radius:8px;font-size:.78rem}.page-numbers.current{background:var(--sw-primary);border-color:var(--sw-primary);color:#fff}.empty-state{grid-column:1/-1;border:1px dashed #c8d3d9;border-radius:13px;padding:30px;text-align:center;color:var(--sw-muted)}.not-found{padding:100px 0;text-align:center}.not-found .sw-wrap{max-width:650px}.not-found__code{display:block;color:var(--sw-accent);font-size:.75rem;letter-spacing:.15em;font-weight:900}.not-found h1{font-family:Georgia,serif;font-size:clamp(2.7rem,6vw,4.6rem);line-height:1.08;margin:10px}.not-found p{color:var(--sw-muted)}.not-found .hero-search{margin:25px auto}.not-found .sw-text-link{display:inline-block;margin-top:10px}
.home-widgets{background:#fff}.home-widgets .widget{margin-bottom:24px}.site-footer{background:var(--sw-primary-dark);color:#cbd8df;padding:60px 0 24px}.footer-top{display:grid;grid-template-columns:1fr 2.4fr;gap:70px}.site-footer .brand-link{color:#fff}.site-footer .brand-mark{background:#fff;color:var(--sw-primary)}.footer-brand>p{max-width:310px;color:#96aab5;font-size:.78rem;line-height:1.7}.footer-widgets{display:grid;grid-template-columns:repeat(4,1fr);gap:32px}.footer-column h3,.footer-column .widget-title{color:#fff;font-size:.76rem;margin:0 0 15px}.footer-column a{display:block;color:#9fb2bc;font-size:.75rem;margin:7px 0}.footer-column a:hover{color:#fff}.footer-column .sidebar-box{background:transparent;border:0;padding:0}.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:25px;border-top:1px solid rgba(255,255,255,.1);margin-top:40px;padding-top:20px;color:#79909c;font-size:.68rem}.footer-menu{display:flex;gap:15px;list-style:none;margin:0;padding:0}
.wp-caption,.gallery-caption{max-width:100%}.sticky{}.bypostauthor{}
@media(max-width:1080px){.primary-menu{gap:18px}.primary-menu a{font-size:.8rem}.category-grid{grid-template-columns:1fr 1fr}.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content-layout{grid-template-columns:minmax(0,1fr) 270px;gap:35px}.footer-top{grid-template-columns:1fr}.footer-widgets{max-width:800px}}
@media(max-width:900px){.admin-bar.has-sticky-header .site-header{top:46px}.primary-navigation{display:none;position:absolute;top:72px;left:0;right:0;background:#fff;border-top:1px solid var(--sw-line);box-shadow:var(--sw-shadow);padding:12px 25px}.primary-navigation.is-open{display:block}.primary-menu{display:block}.primary-menu a{padding:10px 0}.primary-menu .sub-menu{display:block;position:static;box-shadow:none;border:0;padding:0 0 0 15px}.menu-toggle{display:block}.header-actions{margin-left:auto}.header-cta{display:none}.hero-grid{grid-template-columns:1fr;min-height:auto;padding-top:75px;padding-bottom:75px}.hero-visual{display:none}.featured-guide{grid-template-columns:1fr}.featured-guide__image{min-height:350px;height:350px}.content-layout,.archive-layout{grid-template-columns:1fr}.site-sidebar{position:static;display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.sidebar-box{margin:0}.footer-widgets{grid-template-columns:repeat(2,1fr)}} 
@media(max-width:640px){.sw-wrap{width:min(var(--sw-wrap),calc(100% - 28px))}.site-header{height:64px}.primary-navigation{top:64px}.site-notice{font-size:.65rem}.header-search-toggle{width:37px;height:37px}.hero-grid{padding-top:58px;padding-bottom:60px}.hero-content h1{font-size:3.15rem}.hero-content>p{font-size:.95rem}.hero-search{flex-direction:column}.hero-search button{width:100%}.hero-trust{display:grid;grid-template-columns:1fr 1fr}.sw-section{padding:62px 0}.section-header{align-items:flex-start;flex-direction:column;margin-bottom:24px}.section-title{font-size:2.25rem}.category-grid,.post-grid{grid-template-columns:1fr}.category-card{padding:16px}.featured-guide__image{height:260px;min-height:260px}.featured-guide__content{padding:28px 23px}.featured-guide h2{font-size:2rem}.featured-guide__meta{align-items:flex-start;flex-direction:column}.post-card-image{height:230px}.archive-list .post-card{display:flex}.single-hero{padding:25px 0 45px}.single-heading .entry-title{font-size:2.7rem}.entry-deck{font-size:.95rem}.featured-image{border-radius:13px}.content-area{padding:48px 0}.entry-content{font-size:1.02rem}.entry-content h2{font-size:1.55rem}.entry-content table{display:block;overflow-x:auto}.author-box{align-items:flex-start}.author-box img{width:55px;height:55px}.site-sidebar{display:block}.sidebar-box{margin-bottom:15px}.archive-header,.page-header{padding:38px 0}.archive-title,.page-header .entry-title{font-size:2.6rem}.page-content{padding:48px 0}.footer-widgets{grid-template-columns:1fr 1fr;gap:25px}.footer-bottom{align-items:flex-start;flex-direction:column}.footer-menu{flex-wrap:wrap}.not-found{padding:70px 0}}
