/* Jim's Scratch & Dent 2026 redesign: brand fonts, header and footer (every page).
   Header layout, heights, logo, colours and buttons are set in Theme Options; the footer is the "footer" UX Block. */
@font-face { font-family: "JSD Futura"; src: local("Futura Std Bold Oblique"), local("FuturaStd-BoldOblique"); font-weight: 700; font-style: italic; }
@font-face { font-family: "JSD Futura Text"; src: local("Futura Std Book"), local("FuturaStd-Book"); font-weight: 400; font-style: normal; }
@font-face { font-family: "JSD Futura Text"; src: local("Futura Std Medium"), local("FuturaStd-Medium"); font-weight: 500 600; font-style: normal; }
/* Jost 600 is served from the theme; Flatsome already serves Jost 400, 500 and 700 italic (Theme Options > Typography). */
@font-face { font-family: "Jost"; src: url("jost-600-latin.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --jsd-display: "JSD Futura", "Jost", "Futura", "Century Gothic", sans-serif;
  --jsd-body: "JSD Futura Text", "Jost", "Futura", "Century Gothic", sans-serif;
  --jsd-ease: cubic-bezier(.2, .7, .1, 1);
}

/* Header */
#masthead { box-shadow: 0 1px 0 rgba(5,14,26,.06); }
.stuck #masthead { box-shadow: 0 10px 30px -18px rgba(5,14,26,.35); }
#masthead .header-nav-main > li > a { font: 500 .9375rem/1 var(--jsd-body); letter-spacing: 0; text-transform: none; color: #081f39; }
#masthead .nav-line-bottom > li > a::before { height: 2px; background-color: #eb8723; transform: translateX(-50%) skewX(-20deg); }
#masthead .header-nav-main > li > a.jsd-head-phone { padding: 0; color: #081f39; font: 700 italic 1.25rem/1 var(--jsd-display); white-space: nowrap; }
#masthead .header-nav-main > li > a.jsd-head-phone::before { content: none; }
#masthead .header-nav-main > li > a.jsd-head-phone:hover { color: #b35a07; }
#header .header-button .button { min-height: 48px; padding: 0 20px; border-radius: 3px; font: 600 .875rem/46px var(--jsd-body); letter-spacing: .12em; text-transform: uppercase; }
#header .header-button .button.secondary::after { content: "→"; display: inline-block; margin-left: 12px; transition: transform .35s var(--jsd-ease); }
#header .header-button .button.secondary:hover::after { transform: translateX(5px); }
@media (max-width: 549px) {
  .jsd-footer .jsd-call .col > .col-inner { text-align: left; }
  #header .header-button .button { min-height: 44px; padding: 0 14px; font-size: .75rem; line-height: 44px; }
  #header .header-button .button::after { content: none; }
}

/* Footer */
.jsd-footer::before { content: ""; position: absolute; z-index: 2; top: 0; left: 0; right: 0; height: 8px; background: repeating-conic-gradient(#eb8723 0 25%, #081f39 0 50%) 0 0 / 8px 8px; }
.jsd-footer { color: #a9b4c4; font: 400 .9375rem/1.65 var(--jsd-body); }
.jsd-footer .jsd-call { border-bottom: 1px solid rgba(255,255,255,.14); }
.jsd-footer .jsd-call-label p { color: #eb8723; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; margin: 0; }
.jsd-footer .jsd-call-number a { display: block; color: #fff; font: 700 italic clamp(3.4rem, 1.6rem + 8vw, 8.5rem)/.9 var(--jsd-display); letter-spacing: -.015em; }
.jsd-footer .jsd-call-number a:hover { color: #eb8723; }
.jsd-footer .jsd-foot-head p { margin: 0 0 16px; color: #fff; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.jsd-footer :is(.widget_nav_menu, .ux-menu) { margin: 0; }
.jsd-footer .widget_nav_menu ul { margin: 0; }
.jsd-footer .widget_nav_menu li, .jsd-footer .ux-menu-link { border: 0 !important; margin: 0; }
.jsd-footer .widget_nav_menu li a, .jsd-footer .ux-menu-link__link { display: block; min-height: 0; padding: 4px 0; color: #a9b4c4; font: inherit; transition: color .25s var(--jsd-ease); }
.jsd-footer .widget_nav_menu li a:hover, .jsd-footer .ux-menu-link__link:hover { color: #fff; }
.jsd-footer .jsd-fine p { font-size: .8125rem; line-height: 1.55; color: #a9b4c4; }
.jsd-footer .jsd-fine a { color: #a9b4c4; }
.jsd-footer .jsd-fine a:hover { color: #fff; }
.jsd-footer .jsd-bottom { border-top: 1px solid rgba(255,255,255,.14); }
.jsd-footer .jsd-bottom p { margin: 0; font-size: .8125rem; color: #a9b4c4; }
.jsd-footer .jsd-bottom a { color: #a9b4c4; }
.jsd-footer .jsd-bottom a:hover { color: #fff; }
.jsd-footer .button.secondary { min-height: 56px; line-height: 54px !important; padding: 0 26px !important; border-radius: 3px; font: 600 .875rem/56px var(--jsd-body); letter-spacing: .12em; text-transform: uppercase; }
.jsd-footer .button.secondary::after { content: "→"; display: inline-block; margin-left: 12px; transition: transform .35s var(--jsd-ease); }
.jsd-footer .button.secondary:hover::after { transform: translateX(5px); }

/* Mobile menu button: silver square, as in the design */
#masthead .nav-icon .icon-menu { display: none; }
#masthead .nav-icon .header-button > a.icon.button { min-width: 48px; min-height: 48px; margin: 0; box-shadow: none; }
#masthead .nav-icon .header-button > a.icon.button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0 !important; border-radius: 4px; background: #eef0f3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23081f39' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 8h16M4 16h16'/%3E%3C/svg%3E") center / 22px no-repeat; }

/* Inner pages: brand type, buttons and details from the new design (the homepage has its own file) */
body:not(.jsd-home) { font-family: var(--jsd-body); }
body:not(.jsd-home) #main { font-size: 1.0625rem; line-height: 1.65; color: #0b1b2f; }
body:not(.jsd-home) #main :is(p, li) { line-height: inherit; }
body:not(.jsd-home) #main :is(h1, h2, h3) { font-family: var(--jsd-display); font-weight: 700; font-style: italic; letter-spacing: -.015em; text-wrap: balance; }
body:not(.jsd-home) #main :is(h4, h5, h6) { font-family: var(--jsd-body); font-weight: 600; font-style: normal; }
body:not(.jsd-home) #content .button:not(.icon) { min-height: 48px; padding: 0 24px; line-height: 46px; border-radius: 3px; font-family: var(--jsd-body); font-weight: 600; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; }
body:not(.jsd-home) .accordion-title { font-family: var(--jsd-body); font-weight: 600; color: #081f39; }
body:not(.jsd-home) .accordion-title.active { color: #b35a07 !important; font-weight: 600; }
body:not(.jsd-home) :is(.round .img-inner, .round .banner-bg) { border-radius: 6px; }

/* Inner pages: page hero (class jsd-page-hero on the first section) */
body:not(.jsd-home) .jsd-page-hero .section-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(5,14,26,.74) 0%, rgba(5,14,26,.4) 40%, rgba(5,14,26,0) 75%), linear-gradient(0deg, rgba(5,14,26,.5) 0%, rgba(5,14,26,0) 40%); }
body:not(.jsd-home) .jsd-page-hero :is(h1, h2, p) { color: #fff; text-shadow: 0 2px 28px rgba(5,14,26,.45); }

/* Inner pages: FAQ accordions as on the homepage */
body:not(.jsd-home) #main .accordion { border-top: 1px solid #d6dbe2; }
body:not(.jsd-home) #main .accordion-item { border-top: 0; }
body:not(.jsd-home) #main .accordion-title { position: relative; padding: 20px 40px 20px 0; border-top: 0; border-bottom: 1px solid #d6dbe2; font: 600 1.0625rem/1.4 var(--jsd-body); color: #081f39; background: none; transition: color .25s var(--jsd-ease); }
body:not(.jsd-home) #main .accordion-title.active { color: #081f39 !important; background: none; }
body:not(.jsd-home) #main .accordion-title:hover { color: #b35a07 !important; }
body:not(.jsd-home) #main .accordion-title .toggle { left: auto; right: 0; top: 50% !important; width: 16px; height: 16px; min-height: 0; margin: -8px 0 0 !important; padding: 0 !important; transform: none !important; }
body:not(.jsd-home) #main .accordion-title .toggle i { display: none; }
body:not(.jsd-home) #main .accordion-title .toggle::before, body:not(.jsd-home) #main .accordion-title .toggle::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: #b35a07; transition: transform .35s var(--jsd-ease); }
body:not(.jsd-home) #main .accordion-title .toggle::after { transform: rotate(90deg); }
body:not(.jsd-home) #main .accordion-title.active .toggle::after { transform: rotate(0deg); }
body:not(.jsd-home) #main .accordion-inner { padding: 4px 48px 22px 0; color: #56637a; }

/* Inner pages: call-to-action band (class jsd-cta-band, was the orange strip) */
.jsd-cta-band ul li.bullet-checkmark { padding-left: 1.4em; border: 0; color: #081f39; font: 700 italic 1em/1.35 var(--jsd-display); }
.jsd-cta-band ul li.bullet-checkmark::before { color: #eb8723 !important; }
body:not(.jsd-home) #content .jsd-cta-band .button.primary:not(.is-link) { background-color: #eb8723; }
body:not(.jsd-home) #content .jsd-cta-band .button.primary:not(.is-link):hover { background-color: #b35a07; }
body:not(.jsd-home) #content .jsd-cta-band .button.is-link { color: #081f39; font: 700 italic 1.75rem/1 var(--jsd-display); letter-spacing: 0; text-transform: none; }

/* Inner pages: review cards (Reviews block) */
body:not(.jsd-home) .is-testimonials { border: 1px solid #d6dbe2; border-radius: 4px !important; }
body:not(.jsd-home) .is-testimonials .testimonial-text { color: #0b1b2f; font-style: normal; }
body:not(.jsd-home) .testimonial-name-author { color: #081f39; font-weight: 600; }

/* Blog posts */
body.single-post .entry-category a { color: #b35a07; font-weight: 600; letter-spacing: .22em; }
body.single-post .entry-title { font-size: clamp(1.8rem, 1rem + 2.4vw, 2.8rem); line-height: 1.08; }
body.single-post .entry-image img { border-radius: 4px; }
body.single-post .badge.post-date .badge-inner { border-radius: 2px; background: #081f39; color: #fff; border: 0; font-family: var(--jsd-body); }
body.single-post .entry-content { max-width: 70ch; }
.jsd-cta-band .dark, .jsd-cta-band .dark :is(p, li, h2, h3, h4, a:not(.button)) { color: #081f39; }
.jsd-cta-band .dark .button.is-outline { color: #081f39; border-color: #081f39; }
.jsd-title-strip { border-bottom: 1px solid #d6dbe2; }
.jsd-title-strip .col { padding-bottom: 0; }
.jsd-title-strip h1 { margin-bottom: 0; }

/* Inner pages: suburb lists as chips (class jsd-suburbs on the section) */
.jsd-suburbs table { display: block; width: 100% !important; height: auto !important; margin: 0; border: 0; }
.jsd-suburbs tbody { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.jsd-suburbs tr { display: contents; }
.jsd-suburbs td { display: block; padding: 0; border: 0; }
.jsd-suburbs td:empty, .jsd-suburbs td:not(:has(*)):not(:has(~ *)):empty { display: none; }
.jsd-suburbs td :is(p, span) { margin: 0; }
.jsd-suburbs td { padding: 8px 14px !important; border: 1px solid #d6dbe2; border-radius: 3px; background: #fff; color: #081f39; font-size: .875rem; line-height: 1.2; text-align: center !important; }
.jsd-suburbs td p { text-align: center !important; }

/* Inner pages: service cards (shared Services blocks) */
body:not(.jsd-home) .jsd-svc > .col-inner { overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 16px 38px -26px rgba(5,14,26,.42); transition: box-shadow .3s var(--jsd-ease); }
body:not(.jsd-home) .jsd-svc > .col-inner:hover { box-shadow: 0 24px 48px -28px rgba(5,14,26,.45); }
body:not(.jsd-home) .jsd-svc .twenty20 { margin-bottom: 20px; }
body:not(.jsd-home) .jsd-svc .jsd-svc-body { margin-left: 22px; margin-right: 22px; text-align: left; }
body:not(.jsd-home) #main .jsd-svc .jsd-svc-title :is(h3, h4, p) { margin: 0 0 .4em; font: 700 italic 1.3rem/1.15 var(--jsd-display); color: #081f39; }
body:not(.jsd-home) .jsd-svc .jsd-svc-title a { color: inherit; }
body:not(.jsd-home) .jsd-svc .jsd-svc-title a:hover { color: #b35a07; }
body:not(.jsd-home) .jsd-svc .jsd-svc-text { color: #56637a; font-size: .9375rem; }
body:not(.jsd-home) .jsd-svc-grid { row-gap: 8px; }

/* Inner pages: review cards (shared Reviews block) */
.jsd-reviews-block .jsd-rev > .col-inner { box-shadow: 0 16px 38px -28px rgba(5,14,26,.35); }
.jsd-reviews-block .jsd-rev > .col-inner::before { content: "★★★★★"; display: block; margin-bottom: 14px; color: #f5b301; letter-spacing: 2px; }
.jsd-reviews-block .jsd-rev p { color: #0b1b2f; font-size: .9375rem; }
.jsd-reviews-block #main .jsd-rev-name, .jsd-reviews-block .jsd-rev-name { margin: 16px 0 0; font-weight: 600; color: #081f39; }
.jsd-reviews-block .flickity-page-dots { position: static; margin-top: 16px; }

/* Inner pages: guarantee + why block */
.jsd-why-block .jsd-guarantee-card .img { max-width: 260px; margin: 8px auto 0; }
.jsd-why-block .featured-box { margin-bottom: 4px; }
#main .jsd-why-block .featured-box :is(h3, h4) { font: 700 italic 1.15rem/1.2 var(--jsd-display); color: #081f39; }
.jsd-why-block .featured-box .icon-box-img { margin-right: 18px; }
.jsd-why-block ul li.bullet-checkmark { border: 0; padding-top: 2px; padding-bottom: 2px; }
.jsd-why-block ul li.bullet-checkmark::before { color: #eb8723; }

/* Blog index cards */
.jsd-posts .col-inner { height: 100%; }
.jsd-posts .box-blog-post { height: 100%; overflow: hidden; border-radius: 4px; background: #fff; box-shadow: 0 16px 38px -26px rgba(5,14,26,.42); transition: box-shadow .3s var(--jsd-ease); }
.jsd-posts .box-blog-post:hover { box-shadow: 0 24px 48px -28px rgba(5,14,26,.45); }
.jsd-posts .box-text { padding: 20px 22px 24px; }
.jsd-posts .cat-label { color: #b35a07; font-weight: 600; letter-spacing: .18em; opacity: 1; }
.jsd-posts .post-title { font: 700 italic 1.2rem/1.2 var(--jsd-display); color: #081f39; }
.jsd-posts .is-divider { display: none; }
.jsd-posts .badge.post-date .badge-inner { border-radius: 2px; background: #081f39; color: #fff; border: 0; }
#main .jsd-posts .post-title { font: 700 italic 1.2rem/1.2 var(--jsd-display); color: #081f39; }
.jsd-posts .cat-label { display: inline-block; padding: 0; background: none !important; border: 0; font-size: .6875rem; }
.jsd-reviews-block .slider > .flickity-viewport > .flickity-slider > .row, .jsd-reviews-block .slider > .row { width: 100%; max-width: 1340px; margin-left: auto; margin-right: auto; }

/* UX pass (6 Nov 2026) */
/* Locations mega menu: keep it inside the viewport */
#header .header-nav-main .nav-dropdown > .nav-dropdown-col { min-width: 132px; }
@media (max-width: 1120px) { #header .header-nav-main .nav-dropdown > .nav-dropdown-col { min-width: 112px; } }
/* Breathing room after the shared Reviews block */
.jsd-reviews-block + .section > .section-content { padding-top: 48px; }
/* Mobile menu: hide the stray divider line */
.off-canvas .header-divider { display: none; }
/* Links inside running text: underline so they stand apart from the copy */
body:not(.jsd-home) #content :is(p, li):not(.bullet-checkmark) a:not(.button) { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.jsd-cta-band a[href^="tel:"], .banner a, .post-item a, .breadcrumbs a { text-decoration: none !important; }
/* Link-style buttons on navy cards */
body:not(.jsd-home) #content .dark .button.is-link { color: #fff; }
