/*
 * Car One – suburb pages. Layout, spacing, colours and typography are set in the Elementor
 * template ("Single Suburb"). This file only holds what Elementor's panel can't express:
 * the offset button outlines, the 4-stop hero gradient, the FAQ list and the suburb chips.
 * Classes are added in Elementor → Advanced → CSS Classes.
 */

/* Orange words: wrap text in [brackets] in a suburb field, or <span class="cs-hl"> in the template */
.cs-hl{color:#FF4D24}

/* Hide a widget whose dynamic text is empty (e.g. map badge without a drive time) */
.cs-hide-empty:has(.elementor-heading-title:empty),
.cs-hide-empty:has(.elementor-widget-container:empty){display:none}

/* Local proof stays hidden until the suburb has a real job or review */
body.cs-no-proof .cs-proof{display:none!important}

/* ---------- Buttons: Figma offset outline (4px left/down, 1px) ---------- */
.cs-btn{--cs-outline:#FF4D24;position:relative;z-index:0}
.cs-btn .elementor-button{position:relative;overflow:visible;white-space:nowrap}
.cs-btn .elementor-button::before{content:"";position:absolute;inset:0;border:1px solid var(--cs-outline);border-radius:inherit;transform:translate(-4px,4px);z-index:-1;pointer-events:none}
.cs-btn--white{--cs-outline:#fff}
.cs-btn--grey{--cs-outline:#eee}
.cs-btn .elementor-button-icon svg{width:19px;height:auto}
.cs-btn--lg .elementor-button-icon svg{width:23px}
.cs-btn .elementor-button:hover{filter:brightness(.96)}
/* Hover: the offset outline slides onto the button (same animation as the site's landing-page buttons) */
.cs-btn .elementor-button::before{transition:transform .2s ease}
.cs-btn .elementor-button:hover::before,.cs-btn .elementor-button:focus-visible::before{transform:translate(0,0)}
@media (prefers-reduced-motion:reduce){.cs-btn .elementor-button::before{transition:none}}

/* Headings break into even lines (Figma line breaks) */
body.single-suburb h2.elementor-heading-title{text-wrap:balance}
/* Hero/banner buttons sit on photos: keep the outline visible */
.cs-btns{overflow:visible}

/* Small link with arrow (service cards, Google reviews) */
.cs-arrow-link .elementor-button{padding:0;background:none}
.cs-arrow-link .elementor-button-icon svg{width:16px;height:16px}
.cs-arrow-link .elementor-button:hover .elementor-button-text{text-decoration:underline}

/* ---------- Hero ---------- */
.cs-hero{overflow:hidden}
.cs-hero::before{background-color:transparent!important;background-image:linear-gradient(270deg,rgba(9,10,12,.1) 0%,rgba(9,10,12,.28) 30%,rgba(9,10,12,.84) 64%,rgba(9,10,12,.96) 100%)!important;opacity:1!important}
@media (max-width:767px){
	.cs-hero::before{background-image:linear-gradient(0deg,rgba(9,10,12,.92) 0%,rgba(9,10,12,.84) 60%,rgba(9,10,12,.55) 100%)!important}
}

/* Chips with icon (hero + technicians): icon list items */
.cs-pills .elementor-icon-list-items{gap:10px}
.cs-pills .elementor-icon-list-item{margin:0!important;padding:0!important}
.cs-pills .elementor-icon-list-item>*{display:inline-flex;align-items:center;gap:8px}
.cs-pills .elementor-icon-list-icon{padding:0!important;margin:0!important}
.cs-pills .elementor-icon-list-icon svg{width:16px!important;height:16px!important}
.cs-pills--glass .elementor-icon-list-item{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.4);border-radius:30px;padding:6px 10px!important}
.cs-pills--dark .elementor-icon-list-item{background:#222427;border:1px solid rgba(255,255,255,.4);border-radius:8px;padding:10px 16px!important}

/* Card title with icon (getting here cards, sources) */
.cs-ititle .elementor-icon-list-item>*{gap:10px}
.cs-ititle .elementor-icon-list-icon{padding:0!important}
.cs-ititle .elementor-icon-list-icon svg{width:16px!important;height:16px!important}

/* ---------- Getting here ---------- */
.cs-map{overflow:hidden}
.cs-map iframe{display:block;filter:grayscale(1) contrast(.92) brightness(1.04)}
.cs-map .elementor-widget-container{border-radius:0}
.cs-hours-line{border-top:1px solid #eee}

/* ---------- Serving (image left) ---------- */
/* Image is as tall as the text column next to it (Figma) */
@media (min-width:1025px){
	.cs-serve-img .elementor-widget-container{height:100%}
	.cs-serve-img img{height:100%!important;object-fit:cover}
}

/* ---------- Services ---------- */
.cs-svc-card{overflow:hidden}
.cs-svc-card .elementor-widget-image img{display:block}
.cs-svc-badge .elementor-icon{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border:2px solid #fff;box-sizing:border-box}
.cs-svc-badge .elementor-icon svg{width:18px;height:18px}

/* ---------- Prices ---------- */
.cs-gst{font-size:14px;color:#9b9b9b}

/* ---------- Reviews (site-wide marquee) ---------- */
.cs-reviews-marquee{overflow:hidden}

/* ---------- FAQ (shortcode) ---------- */
.cs-faq__item{border-bottom:1px solid #e4e4e4}
.cs-faq__item:last-child{border-bottom:0}
.cs-faq__item summary{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 0;cursor:pointer;list-style:none}
.cs-faq__item:first-child summary{padding-top:0}
.cs-faq__item summary::-webkit-details-marker{display:none}
.cs-faq__item summary:focus-visible{outline:2px solid #FF4D24;outline-offset:4px}
.cs-faq__q{font-family:"General Sans",sans-serif;font-weight:400;font-size:20px;line-height:28px;color:#111}
.cs-faq__ic{flex:none;width:28px;height:28px;display:flex}
.cs-faq__plus{width:28px;height:28px;transition:transform .4s ease}
.cs-faq__item[open] .cs-faq__plus{transform:rotate(45deg)}
.cs-faq__a{padding:0 52px 20px 0;font-family:"General Sans",sans-serif;font-size:18px;line-height:26px;color:#111}
.cs-faq__a p{margin:0 0 12px}
.cs-faq__a p:last-child{margin:0}
@media (max-width:1024px){
	.cs-faq__q{font-size:18px;line-height:26px}
}
@media (max-width:767px){
	.cs-faq__item summary{padding:16px 0;gap:16px}
	.cs-faq__q{font-size:15px;line-height:22px}
	.cs-faq__a{padding-right:0;font-size:16px;line-height:24px}
}

/* ---------- Nearby suburb chips (shortcode) ---------- */
.cs-chips{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px 14px;margin:0;padding:0;list-style:none}
.cs-chips li{margin:0;padding:0;list-style:none}
.cs-chip{display:flex;align-items:center;gap:8px;height:100%;box-sizing:border-box;padding:10px;background:#fff;border:.6px solid #FF4D24;border-radius:8px;font-family:Manrope,sans-serif;font-weight:400;font-size:16px;line-height:20px;color:#111;text-decoration:none}
.cs-chip::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:#FF4D24}
a.cs-chip:hover,a.cs-chip:focus-visible{background:#FFF4F1;color:#111}
@media (max-width:1024px){
	.cs-chips{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media (max-width:767px){
	.cs-chips{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px}
	.cs-chip{font-size:15px}
}

/* ---------- Sources ---------- */
.cs-src-card{transition:border-color .2s}
.cs-src-card:hover{border-color:#FF4D24!important}

/* ---------- Fixes for Elementor defaults ---------- */
/* Elementor colours icon-list/icon SVGs with `fill`; the Figma icons are outline (stroke) icons */
.cs-pills svg,.cs-ititle svg,.cs-crumbs svg,.cs-svc-badge svg{fill:none!important}
/* Breadcrumb: current page in grey */
.cs-crumbs .elementor-icon-list-item:last-child .elementor-icon-list-text{color:#A8A8A8}
.cs-crumbs .elementor-icon-list-icon{margin-left:12px}
.cs-crumbs .elementor-icon-list-item:first-child .elementor-icon-list-icon{display:none}
/* Map: hide Google's place card at the top by shifting the map up inside the card */
.cs-map .elementor-widget-google_maps{overflow:hidden}
.cs-map .elementor-custom-embed iframe{margin-top:-104px}
.cs-nowrap .elementor-heading-title{white-space:nowrap}
/* No clipping: buttons sit 4px right so the offset outline lines up with the text (as in Figma),
   and inline icon lists lose Elementor's negative side margins. */
.cs-btn .elementor-button{margin-left:4px}
.cs-pills .elementor-icon-list-items.elementor-inline-items{margin-left:0!important;margin-right:0!important}
.cs-pills,.cs-pills .elementor-widget-container,.cs-btns,.cs-btns .e-con-inner,.cs-hero .e-con,.cs-hero .e-con-inner{overflow:visible}
/* Sources: 5 cards per row – titles may wrap inside their card */
@media (min-width:1025px){.cs-src-card .elementor-widget-heading:first-child .elementor-heading-title{white-space:nowrap}}
