/* ibooked.online Engine — site design layer (brand styles for Elementor templates).
   Everything is keyed to CSS classes set on containers in the Elementor templates.
   Colours are CSS variables set from Engine > Brand colours: --ibe-primary (blue), --ibe-accent (orange),
   --ibe-dark, --ibe-tint, plus derived --ibe-primary-light / --ibe-primary-dark. The hex after each comma is only a fallback. */

/* ---------- Header (Elementor header template) ---------- */
body:has(.elementor-location-header) .site-header-wrapper,
body:has(.elementor-location-header) .page-header{display:none!important}
.elementor-location-header{position:absolute;top:0;left:0;right:0;z-index:999}
.elementor-location-header .elementor-menu-toggle{background:#fff!important;color:var(--ibe-dark,#053133)!important;border-radius:10px;box-shadow:0 2px 8px rgba(0,0,0,.18)}
.ac-header-bar{border-bottom:1px solid rgba(255,255,255,.12)}
.ac-header-nav{transition:background .3s ease,box-shadow .3s ease}
.ac-header-nav .elementor-nav-menu--main .elementor-item{color:#fff!important}
.ac-header-nav .elementor-nav-menu--main .elementor-item:hover{color:var(--ibe-primary-light,#40C8C8)!important}
.ac-header-nav.elementor-sticky--effects{background:#fff!important;box-shadow:0 2px 14px rgba(5,49,51,.12)}
.ac-header-nav.elementor-sticky--effects .elementor-nav-menu--main .elementor-item{color:var(--ibe-dark,#053133)!important}
.ac-header-nav.elementor-sticky--effects .elementor-nav-menu--main .elementor-item:hover{color:var(--ibe-accent,#F47120)!important}
.ac-header-nav .elementor-widget-image img{background:#fff;padding:8px 14px;border-radius:8px}
.ac-header-nav .elementor-nav-menu--dropdown{background:#fff;border-radius:10px;box-shadow:0 10px 30px rgba(5,49,51,.15)}
.ac-header-nav .elementor-nav-menu--dropdown a{color:var(--ibe-dark,#053133)!important}

/* ---------- Footer (Elementor footer template) ---------- */
.ac-footer a{color:#fff;text-decoration:none}
.ac-footer a:hover{color:var(--ibe-accent,#F47120)!important}
.ac-footer .ibe-plinks li{margin:0 0 6px}
.ac-footer .ibe-plinks a{color:#fff;font-size:15px;line-height:1.5}
.ac-footer .elementor-heading-title{position:relative;padding-bottom:12px;margin-bottom:6px}
.ac-footer .elementor-heading-title::after{content:"";position:absolute;left:0;bottom:0;width:36px;height:3px;background:var(--ibe-accent,#F47120);border-radius:2px}
/* 1.7.1 footer: even spacing, one font, plain link lists, copyright centred with "Designed by" on the right */
.ac-footer,.ac-footer a,.ac-footer p,.ac-footer li{font-family:var(--ibe-font-body,'Nunito Sans'),Arial,sans-serif}
.ac-footer .elementor-widget-text-editor p{margin:0 0 12px;line-height:1.6}
.ac-footer .elementor-widget-text-editor p:last-child{margin-bottom:0}
.ac-footer .elementor-widget-text-editor a{display:inline-block;line-height:1.6}
.ac-footer .ibe-plinks,.ac-footer .ibe-plinks li{list-style:none;margin-left:0;padding-left:0}
.ac-footer .ibe-plinks li{margin:0 0 12px;line-height:1.6}
.ac-footer .ibe-plinks li::marker{content:""}
.ac-footer > .e-con:last-child{display:grid!important;grid-template-columns:1fr auto 1fr;align-items:center;column-gap:20px}
.ac-footer > .e-con:last-child .elementor-widget-text-editor{grid-column:2;grid-row:1;text-align:center;width:auto!important}
.ac-footer > .e-con:last-child .elementor-widget-image{grid-column:3;grid-row:1;justify-self:end}
@media(max-width:767px){.ac-footer > .e-con:last-child{grid-template-columns:1fr;row-gap:10px}.ac-footer > .e-con:last-child .elementor-widget-text-editor,.ac-footer > .e-con:last-child .elementor-widget-image{grid-column:1;grid-row:auto;justify-self:center}}
.ac-footer .elementor-widget-image{width:auto!important;flex:0 0 auto}
.ac-footer .elementor-widget-image .elementor-widget-container{display:flex;align-items:center;gap:10px}
.ac-footer .elementor-widget-image .elementor-widget-container::before{content:"Designed by";color:var(--ibe-tint,#E8F8F8);font-size:13px}

/* ---------- Property page (single accommodation template) ---------- */
.single-mphb_room_type #content>.wrapper.clear{max-width:none!important;width:100%!important;padding:0!important;margin:0!important}
.single-mphb_room_type .elementor-location-single{width:100%}
.single-mphb_room_type .elementor-location-single > .e-con:nth-child(n+2){border-top:5px solid var(--ibe-accent,#F47120)}
.ap-tagline,.ap-tagline p{color:#fff;font-size:20px;margin:0 0 14px}
.ap-eyebrow .elementor-heading-title{display:flex;align-items:center;gap:14px}
.ap-eyebrow .elementor-heading-title:before{content:"";width:34px;height:2px;background:currentColor;opacity:.7}
.ap-map,.ap-map .ibe-map-count{color:#fff}

/* ---------- Accent word inside a heading: <span class="ac-accent">word</span> ---------- */
.ac-accent{color:var(--ibe-accent,#F47120)}
.ap-map .ac-accent{color:#fff}

/* ---------- Homepage (containers carry the .ac-home class) ---------- */
.ac-home .ac-card .elementor-widget-image img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}
.ac-home .ac-card{transition:transform .25s}
.ac-home .ac-card:hover{transform:translateY(-4px)}
.ac-home .elementor-widget-heading .elementor-heading-title{font-family:Arial,Helvetica,sans-serif;margin:0;padding:0;background:none}
.ac-home .elementor-widget-text-editor{font-family:Arial,Helvetica,sans-serif}
.ac-home .elementor-widget-text-editor p{margin:0}
.ac-chips{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 10px}
.ac-chip{font-family:var(--ibe-font-body,'Nunito Sans'),Arial,sans-serif;font-size:12px;font-weight:700;color:var(--ibe-dark,#053133);background:#fff;border:1px solid #D5E6E6;border-radius:999px;padding:5px 12px;line-height:1.2}
.ac-chip-main{background:var(--ibe-tint,#E8F8F8);border-color:#BFE9E9;color:var(--ibe-primary-dark,#0B6D7C)}
.ac-chip-more{border-style:dashed;color:#5C6F70}
.ac-chips-wrap p{margin:0}
.ac-eyebrow-center .elementor-heading-title{justify-content:center}
.ac-photo1 img{width:100%;height:560px;object-fit:cover;border-radius:16px;display:block}
.ac-photo2{position:absolute!important;right:-28px;bottom:0;width:46%!important;z-index:2}
.ac-photo2 img{width:100%;height:240px;object-fit:cover;border-radius:14px;border:6px solid #fff;box-shadow:0 12px 30px rgba(5,49,51,.18)}
.ac-badge{position:absolute!important;top:28px;left:-22px;z-index:3;background:var(--ibe-dark,#053133);border-radius:12px;padding:14px 20px;box-shadow:0 10px 24px rgba(5,49,51,.25);width:auto!important}
.ac-badge p{margin:0;color:#fff}
.ac-badge-k{font-family:var(--ibe-font-head,'Montserrat'),Arial,sans-serif;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--ibe-primary-light,#40C8C8)!important}
.ac-badge-v{font-family:var(--ibe-font-head,'Montserrat'),Arial,sans-serif;font-size:16px;font-weight:700}
.ac-gimg img{width:100%;object-fit:cover;border-radius:12px;display:block}
.ac-g520 img{height:520px}.ac-g252 img{height:252px}.ac-g260 img{height:260px}
.ac-contact .ac-lab{font-family:var(--ibe-font-head,'Montserrat'),Arial,sans-serif;font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#9CC9CB;margin:16px 0 4px}
.ac-contact .ac-val{color:#fff;font-size:17px;line-height:1.5;margin:0}
.ac-contact a{color:#fff;text-decoration:none}
.ac-contact a:hover{color:var(--ibe-accent,#F47120)}
.ac-home .elementor p,.ac-home p,.ac-home li{font-family:var(--ibe-font-body,'Nunito Sans'),Arial,sans-serif}
.ac-home h1,.ac-home h2,.ac-home h3{font-family:var(--ibe-font-head,'Montserrat'),Arial,sans-serif!important;letter-spacing:-.5px}
.ac-home h1 em{font-style:italic;color:var(--ibe-primary-light,#40C8C8)}
.ac-eyebrow .elementor-heading-title{font-family:var(--ibe-font-head,'Montserrat'),Arial,sans-serif!important;font-size:12px!important;font-weight:800!important;letter-spacing:.18em!important;text-transform:uppercase!important;display:flex;align-items:center;gap:12px;margin:0}
.ac-eyebrow .elementor-heading-title::before{content:"";display:inline-block;width:30px;height:1px;background:currentColor}
.ac-eyebrow-light .elementor-heading-title{color:#fff!important}
.ac-home .elementor-button{font-family:var(--ibe-font-ui,var(--ibe-font-head,'Montserrat')),Arial,sans-serif!important;letter-spacing:.06em}
.ac-wide{width:100%!important;max-width:1200px!important}
.ac-searchbar{width:92%!important;max-width:1100px!important;margin:-60px auto 0 auto!important;position:relative;z-index:5}
.ac-reviews{position:relative;padding-bottom:40px}
@media(max-width:767px){.ac-photo2{right:0}.ac-badge{left:8px}.ac-photo1 img{height:380px}.ac-g520 img,.ac-g252 img,.ac-g260 img{height:240px}}

/* ---------- Hostaway calendar fits narrow cards ---------- */
.ibe-booking [class*="styled__Wrapper-sc-1lawy22-0"]{display:block!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;padding:0 34px!important;margin:0!important}
.ibe-booking [class*="styled__Calendars-sc-1lawy22-3"]{width:100%!important}
.ibe-booking [class*="styled__Prev-sc-1lawy22-5"],.ibe-booking [class*="styled__Next-sc-1lawy22-6"]{top:-40px!important}
.ibe-booking [class*="styled__Next-sc-1lawy22-6"]{left:auto!important;right:0!important}

/* 1.5.1 - Hostaway booking calendar needs ~330px; on phones the card inner is narrower, so scale it to fit. */
@media (max-width: 480px) {
  .ibe-booking { max-width: 100%; overflow: hidden; }
  .ibe-booking #hostaway-calendar-widget { zoom: .8; }
}

/* 1.6.2 - state cards on the homepage: one-line buttons, and a sensible width when the cards stack on tablet/phone. */
.ac-state-card .elementor-button{white-space:nowrap}
@media (max-width:1024px){.ac-state-card{max-width:560px}}

/* 1.7.2 - builder sections never wider than the viewport (tablet overflow fix) */
.ac-home.e-con > .e-con{max-width:100%;box-sizing:border-box}
@media (max-width:1240px){.ac-home.e-con > .e-con{width:100% !important}}

/* 1.7.3 - header top bar + menu use the brand colours and fonts */
.ac-header-bar{background-color:var(--ibe-primary,#1391A4)!important}
.ac-header-bar .elementor-heading-title,.ac-header-bar a{font-family:var(--ibe-font-body,'Nunito Sans'),Arial,sans-serif!important}
.ac-header-nav .elementor-nav-menu--main .elementor-item,.ac-header-nav .elementor-nav-menu--dropdown a,.ac-header-nav .elementor-button{font-family:var(--ibe-font-ui,var(--ibe-font-head,'Montserrat')),Arial,sans-serif!important}

/* 1.7.6: the plugin's own search bar is the card, so the Elementor wrapper goes flat */
.ac-searchbar:has(.ibe-sb){background:none!important;box-shadow:none!important;padding:0!important;border-radius:0!important;border:0!important}
