/*
 * BOS.cool - THE ONE LOOK (v1480). Every bos.cool page links this file (site_shared.php the_top), and so do the
 * pages that wear BOS.cool's own look elsewhere (a bill that is not found, nota.php). Change a colour here and it
 * changes everywhere. Served by Apache as a plain file - no PHP.
 *
 * Dawe's logo sheet (Nov 2026): black, white and the logo orange, and the wave under BOS - the one with the soft
 * dip in the middle. (v1482) The header and the footer BLACK - B white, the rest orange - and the drop-downs dark;
 * (v1483) the page itself white again (Dawe: "keep the header those colors and the footer.. but keep the main page
 * in to white"), and its titles as black tags with the first word white and the rest orange ("Places to stay"). A shop's own pages (its catalogue, a guest's stay page, a bill) keep the shop's look; only
 * their BOS.cool parts come from here.
 */
:root{
  --bc-orange:#f58220;        /* the logo's orange - fills, the wave, buttons */
  --bc-orange-deep:#e0700f;   /* a button pressed */
  --bc-orange-text:#b85508;   /* orange words on white: the logo orange is too light to read as text */
  --bc-orange-soft:#fff4ea;   /* a warm wash behind a highlight */
  --bc-orange-line:#fbd2ad;
  --bc-black:#000000;         /* the logo's black - the header, the footer, the titles, the host box */
  --bc-ink:#111111;           /* words, on white */
  --bc-white:#ffffff;         /* the first word of a title, the B */
  --bc-muted:#5f6368;
  --bc-line:#e8e8e8;
  --bc-paper:#ffffff;         /* the page */
  --bc-wash:#f7f7f7;
  --bc-surface:#ffffff;       /* a card, a box */
  --bc-surface-2:#f1f1f1;
  --bc-dark-surface:#121212;  /* a drop-down, on black */
  --bc-dark-ink:#ececec;      /* words on black */
  --bc-dark-line:#2a2a2a;
  --bc-radius:1rem;
  --bc-wave:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='2289 624.96 895.6 82.28' preserveAspectRatio='none'%3E%3Cpath fill='%23f58220' d='M2289,632.7c18.8-2.4,37.7-4.1,56.6-5.3c9.4-0.7,18.9-1.1,28.4-1.5c9.5-0.4,18.9-0.6,28.4-0.8c37.9-0.6,76,0.7,113.9,4c19,1.7,37.9,3.8,56.8,6.4c18.9,2.6,37.7,5.7,56.3,9.1l27.8,5.1c9.2,1.7,18.3,3.4,27.4,5c18.1,3.1,35.8,5.7,52.8,6.5c4.3,0.2,8.5,0.2,12.7,0.2c2.1,0,4.1-0.1,6.3-0.2l6.6-0.3c8.8-0.6,17.5-1.5,26.2-2.7c8.7-1.2,17.5-2.8,26.6-4.5c9-1.7,18.3-3.6,27.7-5.3c18.7-3.5,37.8-6.5,56.8-8.7c19-2.3,38.1-3.9,57.1-5.1c38-2.3,75.9-2.8,113.7-2c9.5,0.2,18.9,0.6,28.4,0.9l14.2,0.7c4.7,0.2,9.4,0.4,14.2,0.7l14.2,0.9l14.2,1c9.4,0.8,18.9,1.6,28.3,2.7c-9.4,1.7-18.7,3.1-28.1,4.5l-14,2.1l-14,2c-18.7,2.7-37.3,5.2-55.9,7.7c-37.2,5.1-74.4,9.9-111.1,15.6c-18.4,2.8-36.7,5.8-54.8,9.1l-13.6,2.6c-4.5,0.9-9,1.8-13.5,2.7c-9,1.8-18,3.8-27.1,5.8c-9.1,2-18.2,4.2-27.5,6.2c-4.7,1-9.4,2-14.3,3c-4.8,0.9-9.7,1.8-14.6,2.5c-9.9,1.6-19.9,2.6-29.9,3.3l-7.5,0.4c-2.5,0.1-5.2,0.2-7.8,0.2c-5.2,0.1-10.4,0-15.5-0.3c-20.5-1-40.1-4.3-58.9-8.1c-18.9-3.8-37.2-8.1-55.4-12.2c-18.2-4.2-36.3-8.2-54.5-12c-18.2-3.8-36.4-7.3-54.7-10.6c-36.6-6.6-73.5-12.1-110.6-17.1c-18.6-2.5-37.2-4.7-55.9-7c-18.7-2.3-37.4-4.4-56.2-6.8V632.7z'/%3E%3C/svg%3E");
}

/* ---- the page: white ---- */
body{background:var(--bc-paper);color:var(--bc-ink);font-family:"Poppins","Poppins Fallback",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
a{color:var(--bc-orange-text)}
a:hover{color:var(--bc-black)}
h1,h2,h3,h4,.h1,.h2,.h3,.h4{color:var(--bc-ink);letter-spacing:-.01em}
/* THE TITLES: a black tag, the first word white and the rest orange - as B and OS on the logo. The first word is
   wrapped by site_shared.php (class bc-two, the word bc-w1). */
.bc-two.bc-two{display:inline-block;background:var(--bc-black);color:var(--bc-orange)!important;padding:.22em .6em .3em;
  border-radius:.55rem;line-height:1.15}
.bc-two .bc-w1{color:var(--bc-white)}
/* already on black - the hero, the host box: the two colours without the tag */
.front-hero .bc-two.bc-two,.front-host .bc-two.bc-two,.bos-foot .bc-two.bc-two{display:block;background:none;padding:0;border-radius:0}
.text-secondary{color:var(--bc-muted)!important}
::selection{background:var(--bc-orange);color:#fff}

/* ---- Bootstrap, in these colours: primary is the orange ---- */
.btn-primary,.btn-brand{--bs-btn-bg:var(--bc-orange);--bs-btn-border-color:var(--bc-orange);--bs-btn-color:#fff;
  --bs-btn-hover-bg:var(--bc-orange-deep);--bs-btn-hover-border-color:var(--bc-orange-deep);--bs-btn-hover-color:#fff;
  --bs-btn-active-bg:var(--bc-orange-deep);--bs-btn-active-border-color:var(--bc-orange-deep);--bs-btn-active-color:#fff;
  --bs-btn-disabled-bg:var(--bc-orange);--bs-btn-disabled-border-color:var(--bc-orange);
  background:var(--bs-btn-bg);border-color:var(--bs-btn-border-color);color:var(--bs-btn-color);font-weight:600}
.btn-primary:hover,.btn-brand:hover,.btn-brand:focus{background:var(--bc-orange-deep);border-color:var(--bc-orange-deep);color:#fff}
.btn-outline-primary{--bs-btn-color:var(--bc-orange-text);--bs-btn-border-color:var(--bc-orange);
  --bs-btn-hover-bg:var(--bc-orange);--bs-btn-hover-border-color:var(--bc-orange);--bs-btn-hover-color:#fff;
  --bs-btn-active-bg:var(--bc-orange-deep);--bs-btn-active-border-color:var(--bc-orange-deep)}
/* the yellow "Start now" buttons across the pages: the logo orange here */
.btn-warning{--bs-btn-bg:var(--bc-orange);--bs-btn-border-color:var(--bc-orange);--bs-btn-color:#fff;
  --bs-btn-hover-bg:var(--bc-orange-deep);--bs-btn-hover-border-color:var(--bc-orange-deep);--bs-btn-hover-color:#fff;
  --bs-btn-active-bg:var(--bc-orange-deep);--bs-btn-active-border-color:var(--bc-orange-deep);--bs-btn-active-color:#fff}
.btn-outline-warning{--bs-btn-color:var(--bc-orange-text);--bs-btn-border-color:var(--bc-orange);
  --bs-btn-hover-bg:var(--bc-orange);--bs-btn-hover-border-color:var(--bc-orange);--bs-btn-hover-color:#fff}
.text-warning,.text-warning-emphasis{color:var(--bc-orange-text)!important}
.bg-warning-subtle{background:var(--bc-orange-soft)!important}
.border-warning,.border-warning-subtle{border-color:var(--bc-orange-line)!important}
.btn-dark{--bs-btn-bg:var(--bc-black);--bs-btn-border-color:var(--bc-black)}
.text-primary{color:var(--bc-orange-text)!important}
.bg-primary{background:var(--bc-orange)!important}
.badge.text-bg-primary{background:var(--bc-orange)!important;color:#fff!important}
.nav-pills{--bs-nav-pills-link-active-bg:var(--bc-orange)}
.nav-link{color:var(--bc-ink)}
.nav-link:hover,.nav-link:focus{color:var(--bc-orange-text)}
.form-control:focus,.form-select:focus{border-color:var(--bc-orange);box-shadow:0 0 0 .2rem rgba(245,130,32,.2)}
.form-check-input:checked{background-color:var(--bc-orange);border-color:var(--bc-orange)}
.page-link{color:var(--bc-orange-text)}
.active>.page-link,.page-link.active{background:var(--bc-orange);border-color:var(--bc-orange)}

/* ---- the header: black, B white and the rest orange, a line of orange under it ---- */
.navbar.bc-nav{background:var(--bc-black)!important;border-bottom:3px solid var(--bc-orange)!important;
  --bs-navbar-color:var(--bc-ink);--bs-navbar-hover-color:var(--bc-orange);--bs-navbar-active-color:var(--bc-orange)}
.bc-nav .nav-link{color:var(--bc-ink)}
.bc-nav .nav-link:hover,.bc-nav .nav-link:focus,.bc-nav .nav-link.active,.bc-nav .nav-link[aria-current]{color:var(--bc-orange);font-weight:600}
.bc-nav .navbar-toggler{border-color:var(--bc-orange)}
/* (v1557) on a phone: logo, money, language and the menu button - one row, whatever money or language is picked */
@media (max-width:991.98px){.navbar>.container{column-gap:.4rem}.navbar .navbar-brand{margin-right:0;min-width:0}
  .navbar .navbar-brand svg{max-width:38vw;height:auto}.navbar .fx-btn,.navbar .lang-btn{padding-left:.5rem;padding-right:.45rem}}
.bc-nav{--bc-ink:var(--bc-dark-ink)}
.bc-nav .btn-outline-secondary,.bc-nav .btn-outline-dark,.bc-nav .btn-light{--bs-btn-color:var(--bc-dark-ink);
  --bs-btn-border-color:#4a4a4a;--bs-btn-bg:transparent;--bs-btn-hover-bg:var(--bc-orange);--bs-btn-hover-border-color:var(--bc-orange);
  --bs-btn-hover-color:#fff;--bs-btn-active-bg:var(--bc-orange-deep);--bs-btn-active-color:#fff;
  color:var(--bc-dark-ink);border-color:#4a4a4a;background:transparent}
.bc-nav .btn-outline-secondary:hover,.bc-nav .btn-outline-dark:hover,.bc-nav .btn-light:hover{background:var(--bc-orange);border-color:var(--bc-orange);color:#fff}

/* ---- the drop-downs: black, a white word, orange where the finger is ---- */
.dropdown-menu{--bs-dropdown-bg:var(--bc-dark-surface);--bs-dropdown-border-color:var(--bc-dark-line);--bs-dropdown-color:var(--bc-dark-ink);
  --bs-dropdown-link-color:var(--bc-dark-ink);--bs-dropdown-link-hover-color:#fff;--bs-dropdown-link-hover-bg:var(--bc-orange);
  --bs-dropdown-link-active-color:#fff;--bs-dropdown-link-active-bg:var(--bc-orange-deep);--bs-dropdown-divider-bg:var(--bc-dark-line);
  --bs-dropdown-header-color:var(--bc-orange);border-top:2px solid var(--bc-orange);box-shadow:0 12px 30px rgba(0,0,0,.6)}
.dropdown-item.active,.dropdown-item:active{color:#fff;background:var(--bc-orange-deep)}

/* ---- the wave, as on the logo: under a heading, or anywhere it is wanted ---- */
.bc-wave{display:block;width:96px;height:10px;background:var(--bc-wave) center/100% 100% no-repeat}
.bc-h2,.front-h2{color:var(--bc-ink);padding:0;border:0}
.bc-h2::after,.front-h2::after{content:"";display:block;width:84px;height:9px;margin-top:.3rem;background:var(--bc-wave) left center/100% 100% no-repeat}

/* ---- the front page (www.bos.cool/index.php) ---- */
.front-hero{background:var(--bc-black) center/cover no-repeat;color:#fff}
.front-big{font-size:clamp(2.1rem,5vw,3.6rem);line-height:1.05;font-weight:800;letter-spacing:-.02em;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.35)}
.front-big span{color:var(--bc-orange)}
.front-hero .lead{color:#ececec!important;text-shadow:0 1px 8px rgba(0,0,0,.4)}
.front-hero a{color:var(--bc-orange)}
.front-logo{margin:0 auto 1.25rem;max-width:100%}
.front-tabs .nav-link{border-radius:999px;color:#fff;font-weight:600;background:rgba(255,255,255,.14)}
.front-tabs .nav-link:hover{color:#fff;background:rgba(255,255,255,.24)}
.front-tabs .nav-link.active{background:var(--bc-orange);color:#fff}
.front-hero .stay-search{background:#fff!important;color:var(--bc-ink);border:0;padding:1rem 1.25rem;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.front-hero .stay-search a{color:var(--bc-orange-text)}
/* (v1552) a town's, an island's and the search page's top (stays.php): its picture behind its name and the search */
.stays-hero{position:relative;overflow:hidden}
.stays-hero>.container{position:relative;z-index:1}
.stays-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.stays-hero-shade{position:absolute;inset:0;background:linear-gradient(135deg,rgba(0,0,0,.84) 0%,rgba(0,0,0,.4) 100%)}
.stays-h1{color:#fff;font-weight:800;font-size:clamp(1.7rem,3.8vw,2.8rem);line-height:1.1;letter-spacing:-.02em;text-shadow:0 2px 12px rgba(0,0,0,.35)}
.stays-hero .stays-crumbs,.stays-hero .stays-crumbs .text-secondary{color:rgba(255,255,255,.8)!important}
.stays-hero .stays-crumbs a{color:#fff!important}
.stays-hero .no-fee{box-shadow:0 2px 10px rgba(0,0,0,.25)}
.stays-hero .h3.text-secondary,.stays-hero .stays-h1 .text-secondary{color:#ddd!important}
.stays-hero-cap{position:absolute;right:12px;bottom:6px;font-size:.75rem;color:rgba(255,255,255,.75);text-shadow:0 1px 4px rgba(0,0,0,.6)}
/* (v1553) A ROW OF BUTTONS is one row - Close by, the nights, the kinds, an island's towns: what does not fit slides
   sideways (a finger on a phone, the trackpad or the thin bar on a computer), never a wall of buttons */
.chip-row{display:flex;flex-wrap:nowrap;align-items:center;gap:.5rem;overflow-x:auto;overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;scrollbar-width:thin;padding-bottom:4px;margin-left:-2px;padding-left:2px}
.chip-row>*{flex:0 0 auto;white-space:nowrap}
.chip-row::-webkit-scrollbar{height:4px}.chip-row::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}
/* (v1485) THE TILES - "why book here" and the like - black like the host box: a white title, grey words, an orange
   edge on top. Dawe: the grey boxes "look like shit". Every tile in a row of them, on every page (.bg-light.border). */
.front-why,.row>[class*=col]>.bg-light.border,.row>[class*=col]>.bg-light.rounded-3{background:var(--bc-black)!important;
  border:0!important;border-top:3px solid var(--bc-orange)!important;border-radius:var(--bc-radius)!important;
  padding:1.25rem 1.3rem!important;height:100%;color:#cfcfcf;box-shadow:0 8px 22px rgba(0,0,0,.12)}
.front-why .fw-semibold,.row>[class*=col]>.bg-light .fw-semibold,.row>[class*=col]>.bg-light h3,
.row>[class*=col]>.bg-light .h5,.row>[class*=col]>.bg-light .h6{color:#fff}
.front-why .text-secondary,.row>[class*=col]>.bg-light .text-secondary,.row>[class*=col]>.bg-light .text-muted{color:#a8a8a8!important}
.row>[class*=col]>.bg-light a{color:var(--bc-orange)}
.front-tick{display:inline-grid;place-items:center;width:1.6rem;height:1.6rem;border-radius:50%;background:var(--bc-orange);margin-right:.5rem;flex:none}
.front-host{background:var(--bc-black);color:#fff;border-radius:1.25rem;position:relative;overflow:hidden}
.front-host::after{content:"";position:absolute;left:-2%;right:-2%;bottom:-6px;height:22px;background:var(--bc-wave) center/100% 100% no-repeat;opacity:.9}
.front-host h2{color:#fff}
.front-host p{color:#d6d6d6}
.front-host .bc-kicker{color:var(--bc-orange)}

/* ---- places to stay and shops: the cards ---- */
.stay-search{background:var(--bc-surface)!important;border-color:var(--bc-line)!important}
.stay-card{background:var(--bc-surface)!important;border-color:var(--bc-line)!important;color:var(--bc-ink)}
.stay-card:hover{box-shadow:0 10px 28px rgba(0,0,0,.12);border-color:var(--bc-orange-line)!important}
.stay-pic,.stay-none{background:var(--bc-surface-2)!important}
.no-fee{background:var(--bc-orange-soft);border-color:var(--bc-orange-line);color:var(--bc-orange-text)}

/* ---- for hosts (hosts.php) ---- */
.host-hero{background:linear-gradient(135deg,var(--bc-orange-soft) 0%,#ffffff 60%);border-bottom:1px solid var(--bc-line)}
.host-big{font-size:clamp(2rem,4.5vw,3.2rem);line-height:1.08;font-weight:800;letter-spacing:-.02em}
.host-stat{background:var(--bc-surface);border:1px solid var(--bc-line);border-radius:var(--bc-radius);padding:1rem 1.1rem}
.host-stat b{display:block;font-size:1.9rem;line-height:1.1;color:var(--bc-orange-text)}
.host-feat{border:1px solid var(--bc-line);border-radius:var(--bc-radius);padding:1.2rem;height:100%;background:var(--bc-surface)}
.host-feat h3{font-size:1.02rem;font-weight:700;margin-bottom:.35rem}
.host-cmp th,.host-cmp td{padding:.85rem .9rem;vertical-align:top}
.host-cmp thead th{background:var(--bc-wash);font-size:.9rem}
.host-cmp td.us{background:var(--bc-orange-soft);font-weight:600}
.host-step{border-left:3px solid var(--bc-orange);padding-left:1rem}

/* ---- the footer: black, the logo in white, orange links ---- */
.bos-foot{background:var(--bc-black);color:#cfcfcf;border-top:3px solid var(--bc-orange)}
.bos-foot a{color:var(--bc-orange)}
.bos-foot a:hover{color:#fff}
.bos-foot .fw-semibold{color:#fff}
.bos-foot .text-secondary{color:#9a9a9a!important}

/* ---- a page that only says one thing (a bill not found ...): the logo, a white card with the orange edge ---- */
.bc-one{margin:0;min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:24px 16px;text-align:center;background:var(--bc-wash)}
.bc-one .bc-card{background:#fff;color:var(--bc-ink);border-radius:16px;padding:32px 24px;max-width:26rem;width:100%;
  box-shadow:0 6px 24px rgba(0,0,0,.08);border-top:4px solid var(--bc-orange)}
.bc-one h1{font-size:1.5rem;margin:0 0 .5rem}
.bc-one p{color:var(--bc-muted);margin:0 0 1.2rem}
.bc-one .bc-go{display:block;background:var(--bc-orange);color:#fff;text-decoration:none;font-weight:600;border-radius:10px;padding:12px 16px;margin-top:8px}
.bc-one .bc-go:hover{background:var(--bc-orange-deep);color:#fff}
.bc-one .bc-more{display:block;color:var(--bc-orange-text);margin-top:14px;font-size:14px}
.bc-one .bc-logo{height:38px;margin-bottom:22px}

/* (v1723) COMPUTER FIRST - every bos.cool page is laid out for a computer's width, and folds down for a phone. Dawe:
   "EVERY page computer first". No reading page is a narrow phone column in the middle of a wide screen any more:
     .pg-head    the title and its lead, across the page
     .pg-cols    two columns from 992px: the page (.pg-main) and a side panel (.pg-aside) that stays in view while the
                 page scrolls. On a phone one column: the side panel under the page, or first with .pg-aside-first
     .pg-grid    cards side by side: two from 768px, three from 1200px with .pg-3
     .pg-card / .pg-box   a white card; .pg-toc the side panel's "On this page" (built from the page's headings) */
.pg-head{margin-bottom:2rem}
.pg-head .lead{max-width:62rem}
.pg-cols{display:flex;flex-direction:column;gap:2rem}
.pg-cols>.pg-aside-first{order:-1}
.pg-main{min-width:0}
@media (min-width:992px){
  .pg-cols{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:48px;align-items:start}
  .pg-cols.pg-wide-aside{grid-template-columns:minmax(0,1fr) 400px}
  .pg-cols>.pg-aside-first{order:0}
  .pg-aside{position:sticky;top:88px;max-height:calc(100vh - 104px);overflow:auto;scrollbar-width:thin}
}
.pg-grid{display:grid;gap:20px;grid-template-columns:minmax(0,1fr)}
@media (min-width:768px){.pg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1200px){.pg-grid.pg-3{grid-template-columns:repeat(3,minmax(0,1fr))}}
.pg-grid>*{margin-bottom:0!important;min-width:0}
.pg-card,.pg-box{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:24px}
.pg-box{padding:20px}
.pg-box+.pg-box{margin-top:16px}
.pg-card h2,.pg-card .h2{margin-top:0!important}
.pg-card ul{padding-left:1.1rem}
.pg-toc{font-size:14px}
.pg-toc[hidden]{display:none}
.pg-toc .pg-toc-h{font-size:13px;color:#6b7280;font-weight:600;margin-bottom:8px}
.pg-toc a{display:block;padding:5px 0 5px 12px;border-left:2px solid #e5e7eb;color:#374151;text-decoration:none;line-height:1.35}
.pg-toc a:hover,.pg-toc a.on{border-left-color:#f97316;color:#111827}
.pg-main h2[id],.pg-main h3[id]{scroll-margin-top:96px}

/* (v1953) THE HOUSE STYLE - sentence case everywhere, no capitals shouting (BOS.cool house style); the tagline lowercase,
   calm, on its own line */
.text-uppercase{text-transform:none!important;letter-spacing:normal!important}
.bc-tagline{font-size:1.1rem;color:#4b5563;font-weight:400;letter-spacing:.01em}
