/* TIR Site Design: GeneratePress integration + inner pages (Woo / rental forms safe). */
:root{--night:#0E2238;--horizon:#1F4E79;--dusk:#3B7BB5;--sky:#DDE9F3;--amber:#F6A623;--amber-deep:#D98A0A;--caliche:#F7F5F0;--slate:#3C4A59;--ink:#152130;--line:#D6DEE6;--max:1180px;--radius:6px}
body{margin:0;font-family:"Barlow",system-ui,sans-serif;color:var(--ink);background:var(--caliche)}
/* hide anything GeneratePress still prints in its footer wrapper */
.site-footer:not(.tir-site-footer){display:none}
/* ---- front page: full bleed ---- */
.home .site.grid-container{max-width:none;padding:0;margin:0}
.home .site-content{display:block;padding:0}
.home .content-area,.home #primary{width:100%;float:none;margin:0;padding:0}
.home .site-main,.home.separate-containers .site-main{margin:0}
.home .inside-article,.home.separate-containers .inside-article{padding:0;background:transparent;box-shadow:none}
.home .entry-content,.home .entry-header + .entry-content{margin:0}
.home .entry-header{display:none}
.home .tir-home{background:#fff}
/* ---- inner pages ---- */
body:not(.home) .site.grid-container{max-width:var(--max)}
body:not(.home) .site-content{padding-top:40px;padding-bottom:56px}
body:not(.home) .inside-article{border-radius:var(--radius);border:1px solid var(--line)}
body:not(.home) .entry-content,body:not(.home) .woocommerce{font-size:17px;line-height:1.65}
body:not(.home) h1,body:not(.home) h2,body:not(.home) h3,body:not(.home) h4,body:not(.home) .entry-title,.woocommerce div.product .product_title{font-family:"Barlow Condensed","Barlow",sans-serif;font-weight:700;color:var(--night);line-height:1.1;letter-spacing:-.01em}
body:not(.home) .entry-title,.woocommerce div.product .product_title{font-size:clamp(2.2rem,4.6vw,3.2rem)}
body:not(.home) .entry-content h2{font-size:clamp(1.7rem,3.2vw,2.3rem);margin:1.6em 0 .5em}
body:not(.home) .entry-content h3{font-size:1.4rem;margin:1.3em 0 .4em}
body:not(.home) .entry-content a:not(.button):not(.wp-block-button__link){color:var(--horizon);text-decoration-thickness:1px;text-underline-offset:2px}
body:not(.home) .entry-content a:not(.button):not(.wp-block-button__link):hover{color:var(--amber-deep)}
body:not(.home) .entry-content table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:var(--radius);margin:1.2em 0}
body:not(.home) .entry-content th{background:var(--night);color:#fff;font-family:"Barlow Condensed",sans-serif;font-weight:700;font-size:1.05rem;letter-spacing:.02em;text-align:left;padding:.75em 1em}
body:not(.home) .entry-content td{padding:.7em 1em;border-top:1px solid var(--line)}
body:not(.home) .entry-content tr:nth-child(even) td{background:#FAFBFC}
/* buttons: core blocks, WooCommerce, WpRently */
.wp-block-button__link,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,.wc-block-components-button:not(.is-link),.single_add_to_cart_button,.rbfw_book_now_btn,.rbfw-book-now-btn,#place_order{background:var(--amber)!important;color:var(--night)!important;border:2px solid var(--amber)!important;border-radius:var(--radius)!important;font-family:"Barlow Condensed",sans-serif!important;font-weight:700!important;font-size:1.15rem!important;letter-spacing:.02em;text-decoration:none!important}
.wp-block-button__link:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.wc-block-components-button:not(.is-link):hover,.single_add_to_cart_button:hover,#place_order:hover{background:#FFB83D!important;border-color:#FFB83D!important}
.woocommerce-info,.woocommerce-message{border-top-color:var(--amber)}
.woocommerce-info::before,.woocommerce-message::before{color:var(--amber-deep)}
body:not(.home) input[type=text],body:not(.home) input[type=email],body:not(.home) input[type=tel],body:not(.home) input[type=number],body:not(.home) input[type=date],body:not(.home) select,body:not(.home) textarea{border:1px solid var(--line);border-radius:var(--radius)}
body:not(.home) input:focus,body:not(.home) select:focus,body:not(.home) textarea:focus{border-color:var(--dusk);outline:2px solid var(--sky)}
@media (max-width:768px){body:not(.home) .site-content{padding:20px 0 40px}body:not(.home) .inside-article{padding:24px 18px}}
/* ---- 1.1.1: one H1 per page (CSS fallback for the PHP title filter) ---- */
body:not(.home) .inside-article:has(.entry-content > h1:first-child) > .entry-header{display:none}
body:not(.home) .entry-content > h1:first-child{margin-top:0;font-size:clamp(2.1rem,4.6vw,3.2rem)}
/* ---- 1.1.1: mobile QA fixes (390px) ---- */
@media (max-width:768px){
  body:not(.home) .site-content{padding:14px 10px 36px}
  body:not(.home) .inside-article{padding:22px 16px}
  body:not(.home) .entry-content{font-size:16px}
  body:not(.home) .entry-content > h1:first-child{font-size:2.05rem;line-height:1.08}
  body:not(.home) .entry-content h2{font-size:1.55rem;margin-top:1.4em}
  /* lists: keep bullets inside the card */
  body:not(.home) .entry-content ul,body:not(.home) .entry-content ol{margin-left:0;padding-left:1.25em}
  body:not(.home) .entry-content li{margin-bottom:.35em}
  /* tables: tighter cells, scroll instead of squashing if still too wide */
  body:not(.home) .entry-content .wp-block-table{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:1.2em 0}
  body:not(.home) .entry-content .wp-block-table table{margin:0}
  body:not(.home) .entry-content table{font-size:15px;line-height:1.4}
  body:not(.home) .entry-content th{font-size:.98rem;padding:.6em .6em;line-height:1.2}
  body:not(.home) .entry-content td{padding:.6em .6em}
  body:not(.home) .entry-content td:first-child{white-space:nowrap}
  /* buttons: full-width, thumb-sized */
  body:not(.home) .entry-content .wp-block-button,body:not(.home) .entry-content .wp-block-button__link{width:100%;text-align:center}
  body:not(.home) .entry-content .wp-block-button__link{min-height:48px;display:flex;align-items:center;justify-content:center}
  /* footer (mobile only): GP's ul margin indents the links */
  .tir-site-footer ul{margin:0;padding:0;gap:12px 20px}
  .tir-site-footer li{margin:0}
  .tir-site-footer a{display:inline-block;padding:6px 0}
}
