/* RHUBARB usability layer: booking prominence + mobile-readable rates.
   Colours and type are inherited from the theme so this matches the site. */
:root{--rh-ink:#32373c;--rh-pink:#ffd6d6;--rh-soft:#fcf0ef;--rh-line:rgba(50,55,60,.14)}

/* --- buttons ------------------------------------------------------------ */
/* The theme sets a global link colour (black) that wins over plain class
   rules, so button text must be forced or it renders dark-on-dark. */
.rh-btn,.entry-content .rh-btn,a.rh-btn{display:inline-flex;align-items:center;
  justify-content:center;gap:.5em;padding:.9em 1.6em;border-radius:999px;
  text-decoration:none!important;font-size:15px;letter-spacing:.06em;
  text-transform:uppercase;line-height:1;background:var(--rh-ink)!important;
  color:#fff!important;border:1px solid var(--rh-ink);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease}
.rh-btn:hover,.rh-btn:focus-visible,.entry-content .rh-btn:hover,
.entry-content .rh-btn:focus-visible{background:#1d2226!important;color:#fff!important;
  transform:translateY(-1px);box-shadow:0 6px 18px rgba(50,55,60,.22)}
.rh-btn--ghost,.entry-content .rh-btn--ghost,a.rh-btn--ghost{
  background:transparent!important;color:var(--rh-ink)!important}
.rh-btn--ghost:hover,.rh-btn--ghost:focus-visible,
.entry-content .rh-btn--ghost:hover,.entry-content .rh-btn--ghost:focus-visible{
  background:var(--rh-ink)!important;color:#fff!important}
.rh-btn:focus-visible{outline:3px solid #1d2226;outline-offset:3px}
@media (prefers-reduced-motion:reduce){.rh-btn{transition:none}.rh-btn:hover{transform:none}}

/* --- homepage CTA ------------------------------------------------------- */
.rh-hero-cta{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;
  align-items:center;margin:0 0 2rem;padding:1.25rem 1rem;background:var(--rh-soft);
  border-radius:14px}
.rh-hero-cta p{margin:0 0 .35rem;width:100%;text-align:center;font-size:14px;
  letter-spacing:.08em;text-transform:uppercase;opacity:.75}

/* --- room cards --------------------------------------------------------- */
.rh-rooms{display:grid;gap:1.25rem;margin:1.5rem 0 2.5rem;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.rh-room{position:relative;display:flex;flex-direction:column;background:#fff;
  border:1px solid var(--rh-line);border-radius:14px;overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease}
.rh-room:hover,.rh-room:focus-within{transform:translateY(-3px);
  box-shadow:0 10px 26px rgba(50,55,60,.16)}
.rh-room img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.rh-room__body{padding:1rem 1.1rem 1.2rem;display:flex;flex-direction:column;gap:.35rem;flex:1}
.rh-room__name{font-size:22px;margin:0}
.rh-room__name a{text-decoration:none;color:inherit}
.rh-room__name a::after{content:"";position:absolute;inset:0}
.rh-room__type{margin:0;font-size:14px;opacity:.75}
.rh-room__price{margin:.35rem 0 0;font-size:15px;font-weight:600}
.rh-room__price span{font-weight:400;opacity:.7}
.rh-room__actions{margin-top:auto;padding-top:.9rem;display:flex;gap:.6rem;flex-wrap:wrap}
.rh-room__actions .rh-btn{position:relative;z-index:1;font-size:13px;padding:.7em 1.15em}
@media (prefers-reduced-motion:reduce){.rh-room{transition:none}.rh-room:hover{transform:none}}

/* --- rates: table on desktop, cards on mobile --------------------------- */
.rh-rates{display:none}
.rh-rate{border:1px solid var(--rh-line);border-radius:12px;padding:1rem 1.1rem;
  margin:0 0 .85rem;background:#fff}
.rh-rate h4{margin:0 0 .6rem;font-size:19px}
.rh-rate dl{margin:0;display:grid;grid-template-columns:1fr auto;gap:.35rem .75rem}
.rh-rate dt{margin:0;opacity:.8}
.rh-rate dd{margin:0;text-align:right;font-weight:600}
.rh-rate dd.rh-na{font-weight:400;opacity:.55}
@media (max-width:700px){
  .rh-rates{display:block}
  .rh-rates + figure.wp-block-table,figure.wp-block-table.rh-hide-mobile,
  table.rh-hide-mobile{display:none!important}
}

/* --- sticky booking bar (mobile) ---------------------------------------- */
.rh-sticky{position:fixed;left:0;right:0;bottom:0;z-index:999;display:none;
  gap:.6rem;align-items:center;justify-content:space-between;
  padding:.7rem .9rem calc(.7rem + env(safe-area-inset-bottom));
  background:var(--rh-pink);border-top:1px solid var(--rh-line);
  box-shadow:0 -6px 18px rgba(50,55,60,.12)}
.rh-sticky__txt{color:var(--rh-ink)!important;font-size:13px;line-height:1.25;letter-spacing:.04em;
  text-transform:uppercase;color:var(--rh-ink)}
.rh-sticky__txt strong{display:block;font-size:15px;letter-spacing:.02em;text-transform:none}
.rh-sticky .rh-btn{flex:0 0 auto}
@media (max-width:768px){.rh-sticky{display:flex}body{padding-bottom:84px}}

/* --- back link on room pages -------------------------------------------- */
.rh-back{display:inline-block;margin:0 0 1rem;font-size:14px;letter-spacing:.04em;
  text-transform:uppercase;text-decoration:none;opacity:.75}
.rh-back:hover{opacity:1;text-decoration:underline}

/* --- in-page booking buttons + room booking panel ----------------------- */
.rh-btn--inline{margin:.3rem .3rem 1.4rem}
.rh-room-cta{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;
  margin:0 0 1.75rem;padding:1.1rem 1.25rem;background:#fff;
  border:1px solid var(--rh-line);border-radius:14px}
.rh-room-cta__price{margin-right:auto;line-height:1.2;color:var(--rh-ink)}
.rh-room-cta__price strong{display:block;font-size:20px}
.rh-room-cta__price span{font-size:13px;opacity:.7;letter-spacing:.04em;
  text-transform:uppercase}
@media (max-width:520px){
  .rh-room-cta{flex-direction:column;align-items:stretch;text-align:center}
  .rh-room-cta__price{margin:0 0 .25rem}
  .rh-room-cta .rh-btn{width:100%}
}

/* --- guest reviews ------------------------------------------------------- */
.rh-reviews{margin:2rem 0 2.5rem}
.rh-reviews__head{display:flex;align-items:baseline;gap:.6rem;flex-wrap:wrap;
  margin:0 0 1rem}
.rh-reviews__head h3{margin:0;font-size:20px}
.rh-reviews__head span{font-size:13px;letter-spacing:.06em;text-transform:uppercase;
  opacity:.7;color:var(--rh-ink)}
.rh-reviews__grid{display:grid;gap:1rem;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.rh-review{background:#fff;border:1px solid var(--rh-line);border-radius:14px;
  padding:1.1rem 1.2rem}
.rh-review__stars{color:#c9821f;letter-spacing:.12em;font-size:14px;margin:0 0 .5rem}
.rh-review blockquote{margin:0 0 .7rem;font-size:16px;line-height:1.5;
  color:var(--rh-ink)}
.rh-review cite{font-style:normal;font-size:13px;letter-spacing:.05em;
  text-transform:uppercase;opacity:.7}

/* --- mobile readability -------------------------------------------------- */
/* The theme drops to 15px root and 0.875rem body, so copy read at ~13px on a
   phone. Nothing moves or rewords: this only lifts the size. */
@media (max-width:767px){
  html{font-size:16px!important}
  .entry-content p,.entry-content li,.entry-content td,.entry-content dd,
  .entry-content dt,.rh-rate dt,.rh-rate dd{font-size:16px!important;line-height:1.6!important}
  .entry-content p strong,.entry-content h4{font-size:17px!important}
  .rh-room__type,.rh-room__price{font-size:15px!important}
}

/* --- third-party badge -------------------------------------------------- */
/* The TrustedSite badge is pinned bottom-right and sat on top of the booking
   button. Lift it clear of the sticky bar on mobile and keep it under it. */
@media (max-width:768px){
  #trustedsite-tm-container,#trustedsite-container,.trustedsite-badge,
  [id^="ts-mm"],[id^="trustedsite"],[class*="trustedsite"]{
    bottom:86px!important;z-index:998!important}
}

/* --- header fixes ------------------------------------------------------- */
/* The sidebar trigger sat invisibly on top of the hero photo. */
#sidebar-trigger{display:none!important}

/* On scroll the theme set the header to light grey (#ccc), which made the
   pink logo unreadable. Dark grey holds it properly. */
.header-scrolled .site-header,
.header-scrolled .site-header.opaque{background-color:#32373c!important}

/* Bigger, thicker burger with enough contrast to read over a photo.
   The theme's own toggle is the word "Menu" at 10px, which disappears on a
   photo. Draw three bars as a background image instead and hide the text. */
@media (max-width:1024px){
  .menu-toggle{width:52px!important;height:52px!important;border-radius:50%;
    background:rgba(28,31,34,.55) no-repeat center!important;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='18' viewBox='0 0 26 18'%3E%3Crect width='26' height='3' rx='1.5' fill='white'/%3E%3Crect y='7.5' width='26' height='3' rx='1.5' fill='white'/%3E%3Crect y='15' width='26' height='3' rx='1.5' fill='white'/%3E%3C/svg%3E")!important;
    background-position:center!important;background-repeat:no-repeat!important;
    -webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);
    margin:0!important;top:12px!important;left:12px!important;border:none!important}
  /* the theme's own icon is <i>Menu</i> plus a <span> that draws bars:
     hide both, or you get two burgers and two crosses */
  .menu-toggle i,.menu-toggle span{display:none!important}
  /* when the menu is open the panel covers the page; show a cross instead */
  .toggled .menu-toggle{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='M2 2 L20 20 M20 2 L2 20' stroke='white' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E")!important}
}
