/*
Theme Name: R2R Clean
Theme URI: https://{{DOMAIN}}
Author: {{BUSINESS_NAME}}
Description: Minimal classic theme for rank-to-rent local SEO sites. Header phone CTA, simple navigation, NAP footer, mobile sticky call bar.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: All rights reserved
Text Domain: r2r-clean
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1a6bb5; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ----- TOP UTILITY BAR ----- */
.r2r-utility {
  background: #1a3a5c;
  color: #fff;
  font-size: 0.9rem;
  padding: 8px 0;
}
.r2r-utility-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.r2r-utility a { color: #fff; }
.r2r-utility .r2r-hours { opacity: 0.85; }
.r2r-utility .r2r-cta-phone {
  background: #e8a020;
  color: #fff;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.r2r-utility .r2r-cta-phone:hover { background: #c98a10; text-decoration: none; }

/* ----- HEADER ----- */
.r2r-header {
  background: #fff;
  border-bottom: 1px solid #e0e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.r2r-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.r2r-brand a {
  color: #1a3a5c;
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.r2r-brand a:hover { text-decoration: none; }
.r2r-brand .r2r-tagline {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: #5a6f82;
  margin-top: 2px;
  letter-spacing: 0.02em;
}

.r2r-nav { display: flex; align-items: center; gap: 4px; }
.r2r-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.r2r-nav li { position: relative; }
.r2r-nav a {
  color: #1a3a5c;
  font-weight: 600;
  padding: 10px 14px;
  display: block;
  border-radius: 4px;
  font-size: 0.95rem;
  transition: background 0.15s;
}
.r2r-nav a:hover { background: #f0f4f8; text-decoration: none; }
.r2r-nav .r2r-sub {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #e0e8f0;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  min-width: 220px;
  padding: 6px;
  display: none;
  flex-direction: column;
  z-index: 50;
}
.r2r-nav li:hover > .r2r-sub,
.r2r-nav li:focus-within > .r2r-sub { display: flex; }
.r2r-nav .r2r-sub a { padding: 8px 12px; font-size: 0.92rem; }

.r2r-header-cta {
  background: #e8a020;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.r2r-header-cta:hover { background: #c98a10; text-decoration: none; }

.r2r-menu-toggle {
  display: none;
  background: transparent;
  border: 2px solid #1a3a5c;
  color: #1a3a5c;
  padding: 8px 12px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .r2r-utility-inner { font-size: 0.82rem; }
  .r2r-utility .r2r-hours { display: none; }
  .r2r-header-inner { flex-wrap: wrap; }
  .r2r-nav { width: 100%; order: 3; display: none; }
  .r2r-nav.is-open { display: block; }
  .r2r-nav ul { flex-direction: column; gap: 2px; width: 100%; }
  .r2r-nav .r2r-sub { position: static; box-shadow: none; border: none; padding-left: 20px; }
  .r2r-nav li:hover > .r2r-sub { display: none; }
  .r2r-nav li.is-open > .r2r-sub { display: flex; }
  .r2r-menu-toggle { display: inline-flex; }
  .r2r-header-cta { font-size: 0.85rem; padding: 8px 14px; }
}

/* ----- MAIN ----- */
.r2r-main { background: #fff; }

/* ----- CONTENT (the .rtr-* classes from generated pages) ----- */
.entry-content > .rtr-root { margin-top: 0; }
.entry-title { display: none; }

/* ----- FOOTER ----- */
.r2r-footer {
  background: #0f2237;
  color: #cdd8e3;
  padding: 60px 0 24px;
  margin-top: 80px;
}
.r2r-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.r2r-footer h3 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
.r2r-footer p, .r2r-footer li { font-size: 0.93rem; line-height: 1.7; color: #b8c7d6; }
.r2r-footer a { color: #7ab3d9; }
.r2r-footer a:hover { color: #fff; }
.r2r-footer ul { list-style: none; padding: 0; margin: 0; }
.r2r-footer ul li { margin-bottom: 6px; }
.r2r-footer-nap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.r2r-footer-nap .r2r-nap-line { display: flex; gap: 8px; align-items: flex-start; }
.r2r-footer-nap .r2r-nap-line .r2r-icon { width: 16px; flex-shrink: 0; opacity: 0.7; }
.r2r-footer-phone {
  display: inline-block;
  background: #e8a020;
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 700;
  margin-top: 8px;
  font-size: 1rem;
}
.r2r-footer-phone:hover { background: #c98a10; text-decoration: none; }
.r2r-footer-bottom {
  max-width: 1180px;
  margin: 40px auto 0;
  padding: 24px 20px 0;
  border-top: 1px solid #1f3a55;
  text-align: center;
  font-size: 0.85rem;
  color: #8da3b9;
}
.r2r-footer-bottom a { margin: 0 8px; }

/* ----- MOBILE STICKY CALL BAR ----- */
@media (max-width: 700px) {
  body { padding-bottom: 60px; }
  .r2r-mobile-call {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #e8a020;
    color: #fff;
    text-align: center;
    padding: 16px;
    font-weight: 700;
    font-size: 1.05rem;
    z-index: 200;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
  }
  .r2r-mobile-call:hover { color: #fff; text-decoration: none; }
}
@media (min-width: 701px) { .r2r-mobile-call { display: none; } }

/* ----- POST CONTENT TWEAKS ----- */
.r2r-main .rtr-hero { margin: 0; }
.r2r-main .rtr-section:first-child { padding-top: 60px; }
.r2r-main p { margin-bottom: 16px; }
.r2r-main .entry-content { max-width: 100%; padding: 0; }
.r2r-main .entry-content > .rtr-root { width: 100%; }
/* ===== R2R Content layout (.rtr-* classes) — used by service/suburb/blog/home pages =====
   This block was previously inlined per page by the content generator. Moved here so
   every page styled the same regardless of what the generator forgot to inline.
   ========================================================================= */
*,*::before,*::after{box-sizing:border-box}
.rtr-root,.rtr-main{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;color:#1a1a1a;line-height:1.6}
.rtr-root img,.rtr-main img{max-width:100%;height:auto;display:block}
.rtr-root a,.rtr-main a{color:#1a6bb5;text-decoration:none}
.rtr-root a:hover,.rtr-main a:hover{text-decoration:underline}

/* Hero --------------------------------------------------------------- */
.rtr-hero{position:relative;min-height:520px;display:flex;align-items:center;background:#1a3a5c;overflow:hidden}
.rtr-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.42}
.rtr-hero-overlay{position:absolute;inset:0;background:linear-gradient(120deg,rgba(26,58,92,.85),rgba(26,58,92,.55));z-index:1}
.rtr-hero-content{position:relative;z-index:2;max-width:880px;padding:80px 24px;color:#fff;margin:0 auto;width:100%}
.rtr-hero h1{font-size:clamp(2rem,5vw,3.4rem);font-weight:800;line-height:1.15;margin-bottom:18px;color:#fff}
.rtr-hero-sub,.rtr-hero p{font-size:1.2rem;margin-bottom:28px;opacity:.95;max-width:680px}

/* Buttons / CTAs ------------------------------------------------------ */
.rtr-btn-primary,.rtr-cta-button,.rtr-cta-hero{display:inline-block;background:#e8a020;color:#fff;padding:16px 32px;border-radius:6px;font-size:1.1rem;font-weight:700;letter-spacing:.02em;box-shadow:0 4px 12px rgba(0,0,0,.15);transition:background .15s ease,transform .1s ease}
.rtr-btn-primary:hover,.rtr-cta-button:hover,.rtr-cta-hero:hover{background:#c98a10;text-decoration:none;color:#fff;transform:translateY(-1px)}

/* Trust bar (5-item) -------------------------------------------------- */
.rtr-trust,.rtr-trust-bar{background:#f0f4f8;padding:22px 24px;text-align:center;border-bottom:1px solid #dde6ef}
.rtr-trust ul,.rtr-trust-bar ul{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:28px;padding:0;margin:0;max-width:1100px;margin-left:auto;margin-right:auto}
.rtr-trust li,.rtr-trust-bar li{font-weight:600;font-size:.95rem;color:#1a3a5c}
.rtr-trust li::before,.rtr-trust-bar li::before{content:"\2713";color:#1a3a5c;font-weight:700;margin-right:8px}

/* Lede paragraph ------------------------------------------------------ */
.rtr-lede{max-width:1100px;margin:0 auto;padding:48px 24px 8px;font-size:1.15rem;line-height:1.65;color:#2c3e50}

/* Sections ------------------------------------------------------------ */
.rtr-section{max-width:1100px;margin:0 auto;padding:60px 24px}
.rtr-section h2{font-size:clamp(1.5rem,3vw,2.2rem);font-weight:700;color:#1a3a5c;margin-bottom:24px;margin-top:8px;line-height:1.2}
.rtr-section p{margin-bottom:16px;font-size:1.05rem}
.rtr-section h3{font-size:1.2rem;color:#1a3a5c;margin:28px 0 10px}
.rtr-section ul,.rtr-section ol{margin:0 0 18px 22px;padding:0}
.rtr-section li{margin-bottom:10px}

/* Card grid (homepage services, directory shells) --------------------- */
.rtr-grid,.rtr-cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px;margin-top:32px}
.rtr-card{border:1px solid #dde6ef;border-radius:10px;padding:28px 24px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.04);transition:box-shadow .15s ease,transform .1s ease}
.rtr-card:hover{box-shadow:0 6px 20px rgba(0,0,0,.08);transform:translateY(-2px)}
.rtr-card h3{font-size:1.2rem;color:#1a3a5c;margin-bottom:12px;margin-top:0}
.rtr-card p{font-size:.98rem;margin-bottom:14px;color:#3c4e60}
.rtr-card a,.rtr-card-link{font-weight:600;color:#1a6bb5}

/* 3-column tile grid (common scenarios) ------------------------------- */
.rtr-grid-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;margin:28px 0}
.rtr-tile{background:#f8fafc;border-left:4px solid #e8a020;border-radius:6px;padding:24px 22px}
.rtr-tile h3{font-size:1.1rem;color:#1a3a5c;margin-top:0;margin-bottom:10px}
.rtr-tile p{font-size:.98rem;margin:0;color:#3c4e60}

/* Numbered process steps --------------------------------------------- */
.rtr-steps{display:grid;grid-template-columns:1fr;gap:18px;margin:32px 0;counter-reset:rtrstep}
.rtr-step{display:grid;grid-template-columns:64px 1fr;gap:20px;align-items:flex-start;background:#fff;border:1px solid #dde6ef;border-radius:8px;padding:22px 24px;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.rtr-step-num{width:48px;height:48px;border-radius:50%;background:#1a3a5c;color:#fff;font-weight:800;font-size:1.4rem;display:flex;align-items:center;justify-content:center;flex:0 0 48px}
.rtr-step-body h3{font-size:1.15rem;color:#1a3a5c;margin-top:0;margin-bottom:8px}
.rtr-step-body p{font-size:1rem;margin:0;color:#3c4e60}

/* Spec table ---------------------------------------------------------- */
.rtr-spec-table{width:100%;border-collapse:collapse;margin:28px 0;background:#fff;border:1px solid #dde6ef;border-radius:8px;overflow:hidden}
.rtr-spec-table th,.rtr-spec-table td{text-align:left;padding:14px 18px;border-bottom:1px solid #e0e8f0;vertical-align:top}
.rtr-spec-table tr:last-child th,.rtr-spec-table tr:last-child td{border-bottom:none}
.rtr-spec-table th{background:#f0f4f8;color:#1a3a5c;font-weight:700;width:35%}

/* FAQ ----------------------------------------------------------------- */
.rtr-faq{background:#f8fafc;padding:60px 24px}
.rtr-faq-inner{max-width:880px;margin:0 auto}
.rtr-faq h2{font-size:1.9rem;color:#1a3a5c;margin-bottom:32px}
.rtr-faq-item{border-bottom:1px solid #dde6ef;padding:22px 0}
.rtr-faq-item:last-child{border-bottom:none}
.rtr-faq-item h3{font-size:1.08rem;font-weight:700;color:#1a1a1a;margin-bottom:10px;margin-top:0}
.rtr-faq-item p{font-size:1rem;margin:0;color:#3c4e60}

/* Service-area pill list (homepage) ---------------------------------- */
.rtr-areas,.rtr-areas-list{background:#fff;padding:48px 24px}
.rtr-areas-inner{max-width:1100px;margin:0 auto}
.rtr-areas ul,.rtr-areas-list ul{list-style:none;display:flex;flex-wrap:wrap;gap:12px;margin-top:20px;padding:0}
.rtr-areas li a,.rtr-areas-list li a{background:#e8f0fa;color:#1a3a5c;padding:9px 16px;border-radius:24px;font-weight:600;font-size:.95rem;display:inline-block;transition:background .12s ease,color .12s ease}
.rtr-areas li a:hover,.rtr-areas-list li a:hover{background:#1a3a5c;color:#fff;text-decoration:none}

/* Testimonials -------------------------------------------------------- */
.rtr-testimonials{background:#f0f4f8;padding:60px 24px}
.rtr-testimonials-inner{max-width:1100px;margin:0 auto}
.rtr-testimonials h2{font-size:1.8rem;color:#1a3a5c;margin-bottom:32px;text-align:center}
.rtr-testimonial-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px}
.rtr-testimonial{background:#fff;border-radius:8px;padding:28px 24px;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.rtr-testimonial .rtr-stars{color:#e8a020;font-size:1.1rem;margin-bottom:12px}
.rtr-testimonial p{font-size:1rem;line-height:1.55;margin-bottom:14px}
.rtr-testimonial .rtr-author{font-size:.9rem;color:#5a6f82;font-weight:600}

/* CTA band ----------------------------------------------------------- */
.rtr-cta-band{background:#1a3a5c;color:#fff;padding:60px 24px;text-align:center}
.rtr-cta-band h2{font-size:2rem;margin-bottom:16px;color:#fff;margin-top:0}
.rtr-cta-band p{font-size:1.1rem;margin-bottom:28px;opacity:.95}
.rtr-cta-phone{display:inline-block;background:#e8a020;color:#fff;padding:18px 40px;border-radius:6px;font-size:1.3rem;font-weight:800;box-shadow:0 4px 12px rgba(0,0,0,.2)}
.rtr-cta-phone:hover{color:#fff;text-decoration:none;background:#c98a10}

/* Mobile -------------------------------------------------------------- */
@media (max-width:700px){
  .rtr-hero-content{padding:48px 18px}
  .rtr-btn-primary,.rtr-cta-phone,.rtr-cta-button{width:100%;text-align:center;display:block}
  .rtr-trust ul,.rtr-trust-bar ul{flex-direction:column;align-items:center;gap:10px}
  .rtr-section{padding:48px 18px}
  .rtr-step{grid-template-columns:52px 1fr;gap:14px;padding:18px}
  .rtr-step-num{width:40px;height:40px;font-size:1.2rem}
}

/* ===== Polish pass — sticky desktop header, empty-testimonials hidden, comparison table, embedded form ===== */

/* Sticky header on desktop scroll. Mobile keeps the bottom call bar. */
@media (min-width:701px){
  .r2r-header{position:sticky;top:0;z-index:90;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.05)}
}

/* Hide testimonials section if it has no children (placeholder is empty) */
.rtr-testimonials:empty{display:none}
.rtr-testimonials-inner:empty{display:none}

/* Sub-headed trust bar — replace .rtr-trust-bar with a 5-pill row */
.rtr-trust-strip{background:#1a3a5c;color:#fff;padding:18px 24px;text-align:center}
.rtr-trust-strip-inner{max-width:1100px;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:center;gap:32px;align-items:center}
.rtr-trust-strip-item{display:flex;align-items:center;gap:8px;font-weight:600;font-size:.95rem}
.rtr-trust-strip-item::before{content:"";display:inline-block;width:18px;height:18px;border-radius:50%;background:#e8a020;flex:0 0 18px}
@media (max-width:700px){
  .rtr-trust-strip-inner{flex-direction:column;gap:12px}
}

/* Comparison table — what's included vs not included */
.rtr-compare{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:32px 0;border:1px solid #dde6ef;border-radius:8px;overflow:hidden}
.rtr-compare > div{padding:24px 22px}
.rtr-compare h3{font-size:1.1rem;font-weight:700;margin:0 0 14px;color:#1a3a5c}
.rtr-compare .rtr-compare-yes{background:#f4faf6;border-right:1px solid #dde6ef}
.rtr-compare .rtr-compare-yes h3{color:#1f7a3a}
.rtr-compare .rtr-compare-yes ul li::before{content:"\2713";color:#1f7a3a;font-weight:700;margin-right:8px}
.rtr-compare .rtr-compare-no{background:#fef7f6}
.rtr-compare .rtr-compare-no h3{color:#a23b2c}
.rtr-compare .rtr-compare-no ul li::before{content:"\2717";color:#a23b2c;font-weight:700;margin-right:8px}
.rtr-compare ul{list-style:none;margin:0;padding:0}
.rtr-compare li{margin:0 0 10px;padding:0;font-size:.98rem;color:#3c4e60}
@media (max-width:700px){
  .rtr-compare{grid-template-columns:1fr}
  .rtr-compare .rtr-compare-yes{border-right:none;border-bottom:1px solid #dde6ef}
}

/* Embedded form section (service / suburb pages) */
.rtr-form-embed{background:#f0f4f8;border:1px solid #dde6ef;border-radius:10px;padding:32px 28px;margin:40px 0}
.rtr-form-embed h2{font-size:1.4rem;color:#1a3a5c;margin:0 0 8px;line-height:1.25}
.rtr-form-embed p{font-size:1rem;color:#3c4e60;margin:0 0 18px}
.rtr-form-embed .wpforms-container{max-width:640px}

/* Local-area map (suburb / contact pages) */
.rtr-map-embed{margin:32px 0;border:1px solid #dde6ef;border-radius:10px;overflow:hidden;background:#f8fafc}
.rtr-map-embed iframe{display:block;width:100%;height:340px;border:0}
.rtr-map-caption{padding:14px 20px;font-size:.92rem;color:#5a6f82}
