/* ==========================================================================
   Rent a Room — v11 design system (homepage look).
   Loads after rar.css. Poppins headings, orange swoosh, split hero, stat
   ribbon, icon rows, review feed. Classes are prefixed rar- and match the
   homepage shortcodes in includes/rar-homepage.php.
   ========================================================================== */
:root{
  --rar-deep:#00497F; --rar-blue:#0070C0; --rar-navy:#0b2540; --rar-tint:#E6F1FA;
  --rar-orange:#E97132; --rar-orange-dk:#B85E12; --rar-cream:#FFF3E9;
  --rar-ink:#1a2230; --rar-ink2:#4A4F55; --rar-muted:#8891a0; --rar-line:#E1E6EC; --rar-surf:#F5F7FA;
  --rar-head:'Poppins',"Arial Black",Arial,sans-serif;
}

/* Poppins headings site-wide (body stays Arial) */
h1,h2,h3,.rar-head{font-family:var(--rar-head);font-weight:800;letter-spacing:-.02em;line-height:1.1;color:var(--rar-deep)}

/* ---- Button system ---- */
.rar-btn{display:inline-flex;align-items:center;gap:9px;font-family:var(--rar-head);font-weight:700;font-size:15px;
  border-radius:10px;padding:14px 22px;border:2px solid transparent;cursor:pointer;line-height:1;text-decoration:none;transition:.15s}
.rar-btn--accent{background:var(--rar-orange);color:#fff;box-shadow:0 6px 16px rgba(233,113,50,.32)}
.rar-btn--accent:hover{background:var(--rar-orange-dk);color:#fff}
.rar-btn--blue{background:var(--rar-blue);color:#fff}.rar-btn--blue:hover{background:#005a9c;color:#fff}
.rar-btn--call{background:var(--rar-blue);color:#fff}          /* Call: white on blue (matches Get in touch) */
.rar-btn--call:hover{background:#005a9c;color:#fff}
.rar-btn--call svg{stroke:#fff}
.rar-btn--ghost{background:#fff;color:var(--rar-deep);border-color:var(--rar-line)}
.rar-btn--lg{font-size:16px;padding:16px 28px}
.rar-btn .rar-chev{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:rgba(255,255,255,.28);font-size:16px}

/* ---- hand-drawn swoosh ---- */
.rar-sw{display:block;height:18px;margin:8px 0 0}.rar-sw path{fill:none;stroke:var(--rar-orange);stroke-linecap:round}
.rar-center .rar-sw{margin:8px auto 0}

/* ---- section helpers ---- */
.rar-section{padding:60px 0}
.rar-wrap{max-width:1200px;margin:0 auto;padding:0 26px}
.rar-kick{font-family:var(--rar-head);font-weight:700;text-transform:uppercase;letter-spacing:.1em;font-size:13px;color:var(--rar-orange-dk)}
.rar-center{text-align:center}

/* ---- SPLIT DUAL HERO ---- */
.rar-dhero{display:flex;gap:16px;max-width:1440px;margin:18px auto 0;padding:0 20px}
.rar-half{flex:1;position:relative;display:flex;flex-direction:column;justify-content:center;padding:46px 48px;color:#fff;overflow:hidden;border-radius:18px;min-height:440px;transition:flex .45s ease;background:var(--rar-deep) center/cover}
.rar-half::after{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,rgba(9,32,58,.97) 0%,rgba(9,32,58,.9) 44%,rgba(9,32,58,.5) 100%)}
.rar-half:hover{flex:1.12}
.rar-half>*{position:relative;z-index:1}
.rar-half__tag{font-family:var(--rar-head);font-weight:800;text-transform:uppercase;letter-spacing:.12em;font-size:13px;margin-bottom:14px;color:var(--rar-orange)}
.rar-half__h{font-family:var(--rar-head);font-weight:800;font-size:40px;color:#fff;max-width:13ch;line-height:1.04;margin:0}
.rar-half__sub{font-size:16px;color:#eaf1f8;margin:18px 0 26px;max-width:40ch;line-height:1.55}

/* ---- STAT RIBBON ---- */
.rar-ribbon{background:#fff;border-radius:16px;box-shadow:0 18px 44px rgba(11,37,64,.16);margin:-40px auto 0;max-width:1200px;position:relative;z-index:5;display:grid;grid-template-columns:repeat(4,1fr);padding:22px 0}
.rar-st{text-align:center;border-right:1px solid var(--rar-line)}.rar-st:last-child{border:0}
.rar-st b{font-family:var(--rar-head);font-weight:800;font-size:34px;color:var(--rar-deep);display:block;line-height:1}
.rar-st--o b{color:var(--rar-orange)} .rar-st span{font-size:13px;color:var(--rar-muted)}

/* ---- ICON TRUST ROW ---- */
.rar-feats{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:36px}
.rar-feat{text-align:center;padding:6px}
.rar-feat .rar-ic{width:64px;height:64px;margin:0 auto 14px;border-radius:18px;background:var(--rar-tint);display:flex;align-items:center;justify-content:center}
.rar-feat .rar-ic svg{width:31px;height:31px;stroke:var(--rar-blue);fill:none;stroke-width:2}
.rar-feat h3{font-size:18px;margin-bottom:5px}.rar-feat p{color:var(--rar-ink2);font-size:14.5px}

/* ---- REVIEW FEED ---- */
.rar-ratingbar{display:flex;gap:18px;justify-content:center;margin-top:24px;flex-wrap:wrap}
.rar-ratebadge{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--rar-line);border-radius:12px;padding:12px 18px;box-shadow:0 6px 18px rgba(11,37,64,.06)}
.rar-ratebadge b{font-family:var(--rar-head);font-weight:800;font-size:22px;color:var(--rar-deep)}
.rar-ratebadge .rar-stars{color:#ffb400;letter-spacing:1px}
.rar-ratebadge small{color:var(--rar-muted);font-size:12px}
.rar-tp{font-family:var(--rar-head);font-weight:800;color:#00b67a;font-size:14px}
.rar-gg{font-family:var(--rar-head);font-weight:800;font-size:14px}.rar-gg i{font-style:normal;color:#4285F4}
.rar-reviews{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:32px 0 0;text-align:left}
.rar-rev{background:#fff;border:1px solid var(--rar-line);border-radius:14px;padding:20px;box-shadow:0 8px 22px rgba(11,37,64,.06);display:flex;flex-direction:column}
.rar-revstars{color:#ffb400;letter-spacing:2px;font-size:16px;margin-bottom:10px}
.rar-rev p{color:var(--rar-ink2);font-size:14px;line-height:1.5;flex:1}
.rar-revby{display:flex;align-items:center;justify-content:space-between;margin-top:14px}
.rar-revby b{font-family:var(--rar-head);font-weight:700;color:var(--rar-deep);font-size:13.5px}
.rar-src{font-size:10.5px;font-weight:bold;padding:3px 8px;border-radius:5px}
.rar-src--tp{background:#e6f7f1;color:#00875a}.rar-src--gg{background:#eef3fd;color:#1a73e8}

@media(max-width:900px){
  .rar-dhero{flex-direction:column}.rar-half{min-height:300px}.rar-half:hover{flex:1}
  .rar-ribbon,.rar-feats,.rar-reviews{grid-template-columns:1fr 1fr}
  .rar-half__h{font-size:32px}
}

/* ==========================================================================
   SITE HEADER (white) + LOGO + homepage top spacing.
   Baked in so it's permanent — no reliance on Customizer Additional CSS.
   Logo is bundled in the theme (assets/rar-logo.png), referenced relatively.
   ========================================================================== */
#masthead.site-header{background:#fff !important;border-bottom:1px solid var(--rar-line);
  box-shadow:0 2px 12px rgba(11,37,64,.06)}

/* Logo image in place of the text site title */
.site-branding .site-title a{display:inline-block;width:230px;height:54px;
  background:url('../rar-logo.png') left center/contain no-repeat;
  font-size:0 !important;line-height:0;color:transparent !important}
.site-branding .site-description{display:none !important}

/* Nav — Poppins, brand blue, orange on hover/active */
#site-navigation .nav-menu > li > a{font-family:var(--rar-head) !important;font-weight:700 !important;
  text-transform:uppercase;font-size:14px;letter-spacing:.02em;color:var(--rar-deep) !important}
#site-navigation .nav-menu > li.current-menu-item > a,
#site-navigation .nav-menu > li > a:hover{color:var(--rar-orange) !important}

/* Homepage: drop the empty title header and pull the hero up under the header */
.home .entry-header{display:none !important}
.home #content.site-content,
.home #primary,
.home #main,
.home .col-full{padding-top:0 !important;margin-top:0 !important}
.home .entry-content{margin-top:0 !important}
.home .rar-dhero{margin-top:22px !important}

/* ---- Header row: flex-align the logo + nav on one centred line ---- */
#masthead .col-full{display:flex !important;align-items:center;flex-wrap:wrap;gap:20px}
#masthead .site-branding{margin:0 !important;float:none !important}
#masthead #site-navigation{margin-left:auto !important;float:none !important}
#masthead .site-branding .site-title{line-height:1 !important}

/* ---- Homepage: kill the editor's empty paragraphs/breaks so the hero sits tight ---- */
.home .entry-content > p:empty{display:none !important}
.home .entry-content > br{display:none !important}
.home .entry-content > p{margin:0 !important}
.home .rar-dhero{margin-top:16px !important}

/* ---- Header CTA buttons: Call (blue) + Get in touch (orange) ----
   Selectors carry .nav-menu > li.rar-menu-* so they outrank the general
   nav link rule above (which forces brand-navy text) — otherwise the
   button label inherits navy instead of white. */
#site-navigation .nav-menu > li.rar-menu-btn > a{display:inline-flex !important;align-items:center;gap:7px;
  border-radius:8px;padding:9px 18px !important;color:#fff !important}
#site-navigation .nav-menu > li.rar-menu-btn > a:hover,
#site-navigation .nav-menu > li.rar-menu-btn.current-menu-item > a{color:#fff !important}
#site-navigation .nav-menu > li.rar-menu-call > a{background:var(--rar-blue)}
#site-navigation .nav-menu > li.rar-menu-call > a:hover{background:#005a9c}
#site-navigation .nav-menu > li.rar-menu-cta > a{background:var(--rar-orange)}
#site-navigation .nav-menu > li.rar-menu-cta > a:hover{background:var(--rar-orange-dk)}
#site-navigation .nav-menu > li.rar-menu-btn > a svg{stroke:#fff !important}

/* ---- Keep nav items + CTA buttons on one comfortable line ---- */
#site-navigation .nav-menu{display:flex !important;align-items:center;flex-wrap:nowrap;gap:4px}
#site-navigation .nav-menu > li > a{padding-left:12px !important;padding-right:12px !important;font-size:14px}
#site-navigation .nav-menu > li.rar-menu-call{margin-left:16px}
.rar-menu-btn > a{white-space:nowrap}
#masthead .site-branding .site-title a{width:210px}
