/* ##############################################################
   TRADIESPARK - LOCATION / SERVICE PAGE TEMPLATE  (design v3, 31 Oct 2026)
   WHERE: every page that uses Template = "TradieSpark Location Page"
   WHAT IT DOES: the whole design for the dynamic location pages.
   This file REPLACES the old location.css completely (no more
   layered "fix" blocks - one clean file).
   Colours, fonts and the cyan pill button come from blog.css:
     --ink #1E1E1E  --navy #0C1B27  --cyan #0EB9D5  --aqua #DFF1F2
     --paper #F6FAFA  --fh Inter (headings)  --fb Plus Jakarta Sans (text)
   "@media (max-width:1024px)" = tablets and phones
   "@media (max-width:767px)"  = phones only
   ############################################################## */


/* ==============================================================
   WHERE: Whole location page
   WHAT IT DOES: base text, heading font, link resets
   ============================================================== */

.ts-loc {
  --tsl-top: 90px;                    /* height of the site menu bar (location.js measures the real one) */
  --tsl-r: 24px;                      /* standard corner radius */
  --tsl-line: rgba(30, 30, 30, .12);
  font-family: var(--fb);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* same box sizing as the theme, so widths always add up */
.ts-loc,
.ts-loc *,
.ts-loc *::before,
.ts-loc *::after {
  box-sizing: border-box;
}

/* :where() keeps this rule weak, so headings inside pasted page content
   keep their own colours (e.g. white headings on dark sections) */
:where(.ts-loc) h2,
:where(.ts-loc) h3 {
  font-family: var(--fh);
  color: var(--ink);
}

.ts-loc a.ts-tbtn,
.ts-loc .ts-loc-btn2,
.ts-loc .ts-loc-call,
.ts-loc .ts-crumbs a,
.ts-loc .ts-loc-jump a,
.ts-loc .ts-loc-svc__card,
.ts-loc .ts-loc-mbar a {
  text-decoration: none !important;
}

.ts-loc section[id],
.ts-loc [id="get-in-touch"] {
  scroll-margin-top: calc(var(--tsl-top) + 70px);  /* menu bar + "On this page" bar */
}


/* ==============================================================
   WHERE: Top of the page (hero)
   WHAT IT DOES: dotted background with a soft cyan glow,
   big heading + points + buttons on the left, form on the right
   ============================================================== */

.ts-loc-hero {
  position: relative;
  isolation: isolate;
  padding: 120px 0 96px;              /* top space so the breadcrumb clears the menu bar */
  background: var(--paper);
}

.ts-loc-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(48% 60% at 92% 8%, rgba(14, 185, 213, .20), transparent 70%),
    radial-gradient(36% 50% at 0% 100%, rgba(14, 185, 213, .10), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(30, 30, 30, .07) 1px, transparent 0);
  background-size: 100% 100%, 100% 100%, 28px 28px;
}

.ts-loc-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 64px;
  align-items: start;
}

/* on computers the left side stays in view while the long form scrolls */
@media (min-width: 1025px) {
  .ts-loc-hero__text {
    position: sticky;
    top: calc(var(--tsl-top) + 24px);
  }
}

.ts-loc .ts-crumbs {
  margin-bottom: 26px;
}

/* small "5.0 from 17 Google reviews" pill above the heading */
.ts-loc-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--tsl-line);
  box-shadow: 0 6px 18px -12px rgba(12, 27, 39, .35);
  font: 500 13.5px/1 var(--fb);
  color: var(--body);
}

.ts-loc-rating b {
  font: 800 14px/1 var(--fh);
  color: var(--ink);
}

.ts-loc-rating__stars {
  color: #FBBC04;
  letter-spacing: 1px;
  font-size: 14px;
}

.ts-loc-hero__h {
  margin: 0;
  font: 900 clamp(40px, 5vw, 70px)/.98 var(--fh);
  letter-spacing: -.055em;
  color: var(--ink);
  text-wrap: balance;
}

.ts-loc-hero__p {
  max-width: 580px;
  margin: 24px 0 0;
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--body);
}

/* 3 points with a cyan tick (same copy as Home) */
.ts-loc-hero__list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.ts-loc-hero__list li {
  position: relative;
  padding-left: 34px;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

.ts-loc-hero__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%231E1E1E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.ts-loc-hero__btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}

/* second button: outline pill */
.ts-loc-btn2 {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  font: 700 16px/1 var(--fh);
  color: var(--ink) !important;
  transition: background .3s, color .3s;
}

.ts-loc-btn2:hover {
  background: var(--ink);
  color: #fff !important;
}

/* phone + note, separated from the buttons by a thin line */
.ts-loc-hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--tsl-line);
  max-width: 580px;
}

.ts-loc-hero__note {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* phone link with a round icon */
.ts-loc-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 800 16px/1 var(--fh);
  letter-spacing: -.01em;
  color: var(--ink) !important;
  transition: color .25s;
}

.ts-loc-call__ic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--aqua);
  color: var(--cyan-d);
  transition: background .25s, color .25s;
}

.ts-loc-call svg {
  width: 17px;
  height: 17px;
}

.ts-loc-call:hover .ts-loc-call__ic {
  background: var(--cyan);
  color: var(--ink);
}

.ts-loc-call--light {
  color: #fff !important;
}

.ts-loc-call--light .ts-loc-call__ic {
  background: rgba(255, 255, 255, .1);
  color: var(--cyan);
}


/* ==============================================================
   WHERE: Hero contact form (Contact Form 7, ID 1925)
   WHAT IT DOES: navy top with the heading, white fields below
   ============================================================== */

.ts-loc-form {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(12, 27, 39, .1);
  border-radius: 28px;
  box-shadow: 0 2px 4px rgba(12, 27, 39, .04), 0 40px 80px -40px rgba(12, 27, 39, .4);
}

.ts-loc-form__top {
  padding: 30px 32px 26px;
  background: var(--navy);
  background-image:
    radial-gradient(80% 120% at 100% 0%, rgba(14, 185, 213, .38), transparent 60%),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .06) 1px, transparent 0);
  background-size: 100% 100%, 22px 22px;
}

.ts-loc .ts-loc-form__h {
  margin: 0 0 10px;
  font: 900 30px/1.05 var(--fh);
  letter-spacing: -.035em;
  color: #fff;
}

.ts-loc-form__p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #B4C2CC;
}

.ts-loc-form__body {
  padding: 26px 32px 28px;
}

/* ---- form fields (same style as the Home page form) ---- */
.ts-loc-form .ts-cf7 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; font-family: var(--fb); }
.ts-loc-form .ts-cf7 p { margin: 0; }
.ts-loc-form .ts-cf7 br { display: none; }
.ts-loc-form .ts-cf7 * { box-sizing: border-box; }
.ts-loc-form .ts-cf7 .ts-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ts-loc-form .ts-cf7 .ts-f.full { grid-column: 1 / -1; }
.ts-loc-form .ts-cf7 label,
.ts-loc-form .ts-cf7 .ts-lbl { display: flex; flex-direction: column; gap: 6px; margin: 0; font: 700 12.5px/1.3 var(--fh); letter-spacing: .01em; color: var(--body); }
.ts-loc-form .ts-cf7 .ts-lbl { display: block; }
.ts-loc-form .ts-cf7 i { font-style: normal; color: var(--cyan-d); }
.ts-loc-form .ts-cf7 .ts-opt { font-weight: 500; color: var(--muted); }
.ts-loc-form .ts-cf7 .wpcf7-form-control-wrap { display: block; }
.ts-loc-form .ts-cf7 input[type="text"],
.ts-loc-form .ts-cf7 input[type="email"],
.ts-loc-form .ts-cf7 input[type="tel"],
.ts-loc-form .ts-cf7 input[type="url"],
.ts-loc-form .ts-cf7 select,
.ts-loc-form .ts-cf7 textarea { width: 100%; margin: 0; padding: 12px 14px; font-family: var(--fb); font-size: 15px; color: var(--ink); background: #F4F7F8; border: 1.5px solid #E4EAEC; border-radius: 10px; box-shadow: none; transition: border-color .2s, background .2s, box-shadow .2s; }
.ts-loc-form .ts-cf7 textarea { height: 62px; min-height: 62px; resize: vertical; }
/* FIX kept: "What trade are you in?" text no longer cut */
.ts-loc-form .ts-cf7 select { height: auto; min-height: 48px; line-height: 1.4; appearance: none; -webkit-appearance: none; padding-right: 38px; background: #F4F7F8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%235F6A72' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") right 12px center / 16px no-repeat; }
.ts-loc-form .ts-cf7 input:focus,
.ts-loc-form .ts-cf7 select:focus,
.ts-loc-form .ts-cf7 textarea:focus { outline: none; background-color: #fff; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(14, 185, 213, .15); }
.ts-loc-form .ts-cf7 .wpcf7-not-valid { border-color: #C62828; }
.ts-loc-form .ts-cf7 .wpcf7-not-valid-tip { margin-top: 4px; font-size: 12.5px; font-weight: 600; color: #C62828; }
.ts-loc-form .ts-cf7 .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.ts-loc-form .ts-cf7 .wpcf7-list-item { margin: 0; }
.ts-loc-form .ts-cf7 .wpcf7-list-item label { position: relative; display: block; cursor: pointer; }
.ts-loc-form .ts-cf7 .wpcf7-list-item input { position: absolute; opacity: 0; }
.ts-loc-form .ts-cf7 .wpcf7-list-item-label { display: inline-block; padding: 8px 13px; font: 600 13px/1.2 var(--fb); color: var(--ink); background: #fff; border: 1.5px solid #DDE3E6; border-radius: 8px; transition: background .2s, border-color .2s, color .2s; }
.ts-loc-form .ts-cf7 .wpcf7-list-item-label::before,
.ts-loc-form .ts-cf7 .wpcf7-list-item-label::after { content: none; }
.ts-loc-form .ts-cf7 .wpcf7-list-item label:hover .wpcf7-list-item-label { border-color: var(--cyan); }
.ts-loc-form .ts-cf7 .wpcf7-list-item input:checked + .wpcf7-list-item-label { background: var(--navy); border-color: var(--navy); color: #fff; }
.ts-loc-form .ts-cf7 .wpcf7-list-item input:focus-visible + .wpcf7-list-item-label { outline: 3px solid var(--cyan); outline-offset: 2px; }
.ts-loc-form .ts-cf7 input[type="submit"] { width: 100%; margin-top: 6px; padding: 20px 60px 20px 24px; font: 700 16px/1.2 var(--fh); text-align: left; white-space: normal; color: #fff; border: 0; border-radius: 999px; cursor: pointer; background: #1E1E1E url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='20' fill='%230EB9D5'/%3E%3Cpath d='M13 20h14M21 14l6 6-6 6' fill='none' stroke='%231E1E1E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 10px center / 40px no-repeat; transition: background-color .25s; }
.ts-loc-form .ts-cf7 input[type="submit"]:hover { background-color: #000; }
.ts-loc-form .ts-cf7 .ts-privacy { grid-column: 1 / -1; margin: 0; font-size: 12.5px; color: var(--muted); }
.ts-loc-form .ts-cf7 .ts-privacy a { color: inherit; text-decoration: underline; }
.ts-loc-form .wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; font-size: 14px; }


/* ==============================================================
   WHERE: Under the hero ("Built Around What Matters to Tradies")
   WHAT IT DOES: navy band, 4 numbered points
   ============================================================== */

.ts-loc-trust {
  background: var(--navy);
  background-image: radial-gradient(40% 140% at 0% 50%, rgba(14, 185, 213, .16), transparent 70%);
  color: #fff;
}

.ts-loc-trust__in {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.ts-loc-trust__h {
  margin: 0;
  font: 800 20px/1.2 var(--fh);
  letter-spacing: -.025em;
  color: #fff;
}

.ts-loc-trust ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ts-loc-trust li {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, .14);
}

.ts-loc-trust em {
  display: block;
  margin-bottom: 8px;
  font: 800 12px/1 var(--fh);
  font-style: normal;
  letter-spacing: .08em;
  color: var(--cyan);
}

.ts-loc-trust b {
  display: block;
  font: 700 15.5px/1.3 var(--fh);
  color: #fff;
}

.ts-loc-trust li span {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.45;
  color: #A9B8C3;
}


/* ==============================================================
   WHERE: "On this page" bar (under the trust band)
   WHAT IT DOES: sticks under the menu bar while scrolling;
   the section you are reading is highlighted (location.js)
   ============================================================== */

.ts-loc-jump {
  position: sticky;
  top: var(--tsl-top);
  z-index: 40;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--tsl-line);
}

.ts-loc-jump__in {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 62px;
}

.ts-loc-jump__label {
  flex: none;
  font: 800 11.5px/1 var(--fh);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.ts-loc-jump__links {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
  mask-image: linear-gradient(90deg, #000 92%, transparent);
}

.ts-loc-jump__links::-webkit-scrollbar {
  display: none;
}

.ts-loc-jump a {
  flex: none;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 9px 15px;
  border-radius: 999px;
  font: 700 13.5px/1 var(--fh);
  color: var(--body) !important;
  transition: background .25s, color .25s;
}

.ts-loc-jump a:hover {
  background: var(--paper);
  color: var(--ink) !important;
}

.ts-loc-jump a.is-on {
  background: var(--ink);
  color: #fff !important;
}

.ts-loc-jump a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}


/* ==============================================================
   WHERE: Every section made from an H2 in the editor
   WHAT IT DOES: spacing, white / light grey backgrounds,
   heading with a section number
   ============================================================== */

.ts-loc-sec {
  padding: 110px 0;
}

.ts-loc-sec--white {
  background: #fff;
}

.ts-loc-sec--paper {
  background: var(--paper);
}

/* section number: "01 ——" in cyan */
.ts-loc-kick {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font: 800 13px/1 var(--fh);
  letter-spacing: .08em;
  color: var(--cyan-d);
}

.ts-loc-kick::after {
  content: "";
  width: 44px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cyan) 60%, rgba(14, 185, 213, .25));
}

.ts-loc-kick--plain {
  display: block;
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cyan) 60%, rgba(14, 185, 213, .25));
  margin-bottom: 24px;
}

.ts-loc-kick--plain::after {
  content: none;
}

.ts-loc-eyebrow {
  margin: 0 0 14px;
  font: 800 12px/1 var(--fh);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan-d);
}

.ts-loc-head h2,
.ts-loc-faq h2 {
  margin: 0;
  font: 900 clamp(32px, 3.6vw, 52px)/1.03 var(--fh);
  letter-spacing: -.045em;
  text-wrap: balance;
}

.ts-loc-lead p {
  margin: 0;
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--body);
}

.ts-loc-lead p + p {
  margin-top: 1em;
}

/* text + lists written under the cards (or a whole text-only section) */
.ts-loc-after {
  margin-top: 48px;
}

.ts-loc-prose {
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
}

.ts-loc-prose > :first-child {
  margin-top: 0;
}

.ts-loc-prose > :last-child {
  margin-bottom: 0;
}

.ts-loc-prose p {
  margin: 0 0 1.1em;
}

.ts-loc-prose ul,
.ts-loc-prose ol {
  margin: 0 0 1.2em;
  padding-left: 1.3em;
}

.ts-loc-prose li {
  margin: .4em 0;
  padding-left: .25em;
}

.ts-loc-prose li::marker {
  color: var(--cyan-d);
}

.ts-loc-prose a:not(.ts-tbtn) {
  color: var(--cyan-d) !important;
  font-weight: 600;
  text-decoration: underline !important;
  text-decoration-thickness: 1.5px !important;
  text-underline-offset: 3px;
}

.ts-loc-prose a:not(.ts-tbtn):hover {
  color: var(--ink) !important;
}

.ts-loc-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

/* Buttons block inside a normal section */
.ts-loc .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 0;
}

.ts-loc .wp-block-button {
  margin: 0;
}


/* ==============================================================
   WHERE: Content cards (every H3 + text in the editor)
   WHAT IT DOES: the base card look used by all 3 layouts below
   ============================================================== */

.ts-loc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 30px;
  background: #fff;
  border: 1px solid var(--tsl-line);
  border-radius: var(--tsl-r);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}

.ts-loc-sec--white .ts-loc-card {
  background: var(--paper);
  border-color: transparent;
}

.ts-loc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 185, 213, .45);
  box-shadow: 0 30px 60px -40px rgba(12, 27, 39, .35);
}

.ts-loc-card__n {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--aqua);
  font: 800 13px/1 var(--fh);
  color: var(--cyan-d);
}

.ts-loc .ts-loc-card h3 {
  margin: 22px 0 10px;
  font: 800 21px/1.22 var(--fh);
  letter-spacing: -.025em;
  color: var(--ink);
}

.ts-loc-card__body {
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--body);
}

.ts-loc-card__body p {
  margin: 0;
}

.ts-loc-card__body p + p,
.ts-loc-card__body ul,
.ts-loc-card__body ol {
  margin-top: .8em;
}

.ts-loc-card__body ul,
.ts-loc-card__body ol {
  margin-bottom: 0;
  padding-left: 1.2em;
}

.ts-loc-card__body li::marker {
  color: var(--cyan-d);
}


/* ==============================================================
   LAYOUT 1 - "split" (1st, 3rd, 5th... section with cards)
   WHAT IT DOES: heading + intro stay on the left while you scroll,
   cards are listed as rows on the right
   ============================================================== */

.ts-loc-sec--split .ts-loc-sec__in {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px 80px;
  align-items: start;
}

.ts-loc-sec--split .ts-loc-head {
  position: sticky;
  top: calc(var(--tsl-top) + 100px);
}

.ts-loc-sec--split .ts-loc-lead {
  margin-top: 22px;
}

.ts-loc-sec--split .ts-loc-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);   /* always one card per row here */
  gap: 0;
  border-top: 1px solid var(--tsl-line);
}

.ts-loc-sec--split .ts-loc-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 22px;
  padding: 30px 8px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--tsl-line);
  border-radius: 0;
}

.ts-loc-sec--split .ts-loc-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width .6s var(--ease);
}

.ts-loc-sec--split .ts-loc-card:hover {
  transform: none;
  box-shadow: none;
}

.ts-loc-sec--split .ts-loc-card:hover::after {
  width: 100%;
}

.ts-loc-sec--split .ts-loc-card__n {
  grid-row: span 2;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  font-size: 15px;
  transition: background .3s, color .3s;
}

.ts-loc-sec--split .ts-loc-card:hover .ts-loc-card__n {
  background: var(--cyan);
  color: var(--ink);
}

.ts-loc-sec--split .ts-loc-card h3 {
  margin: 4px 0 8px;
  font-size: 22px;
}

.ts-loc-sec--split .ts-loc-after {
  grid-column: 2;
  margin-top: 8px;
}


/* ==============================================================
   LAYOUT 2 - "grid" (2nd, 4th, 6th... section with cards)
   WHAT IT DOES: heading on the left + intro on the right,
   cards in a grid underneath. The first card is navy.
   ============================================================== */

.ts-loc-sec--grid .ts-loc-head,
.ts-loc-head--row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 22px 72px;
  align-items: end;
  margin-bottom: 56px;
}

.ts-loc-sec--grid .ts-loc-kick {
  grid-column: 1 / -1;
  margin-bottom: -4px;
}

.ts-loc-sec--grid .ts-loc-cards {
  display: grid;
  gap: 20px;
}

.ts-loc-cards--1 { grid-template-columns: minmax(0, 1fr); }
.ts-loc-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ts-loc-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ts-loc-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ts-loc-cards--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* 3 cards: big navy card on the left, two on the right */
.ts-loc-sec--grid .ts-loc-cards--3 {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.ts-loc-sec--grid .ts-loc-cards--3 .ts-loc-card:first-child {
  grid-row: span 2;
}

/* first card = navy highlight */
.ts-loc-sec--grid .ts-loc-card:first-child {
  background: var(--navy);
  background-image: radial-gradient(90% 70% at 100% 0%, rgba(14, 185, 213, .3), transparent 60%);
  border-color: transparent;
}

.ts-loc-sec--grid .ts-loc-card:first-child h3 {
  color: #fff;
}

.ts-loc-sec--grid .ts-loc-card:first-child .ts-loc-card__body {
  color: #B4C2CC;
}

.ts-loc-sec--grid .ts-loc-card:first-child .ts-loc-card__n {
  background: var(--cyan);
  color: var(--ink);
}

/* in the grid, card text sits at the bottom so rows line up */
.ts-loc-sec--grid .ts-loc-card h3 {
  margin-top: auto;
  padding-top: 40px;
}

.ts-loc-sec--grid .ts-loc-cards--3 .ts-loc-card:first-child h3 {
  font-size: clamp(24px, 2.2vw, 30px);
  letter-spacing: -.035em;
}


/* ==============================================================
   LAYOUT 3 - "wide" (a section with no H3 cards)
   WHAT IT DOES: heading on top, text / table / image full width
   ============================================================== */

.ts-loc-sec--wide .ts-loc-head h2 {
  max-width: 900px;
}

/* intro text sits under the heading, in one readable column with the rest */
.ts-loc-sec--wide .ts-loc-lead {
  max-width: 780px;
  margin-top: 24px;
}

.ts-loc-sec--wide .ts-loc-after {
  margin-top: 52px;
}

.ts-loc-sec--wide .ts-loc-lead + .ts-loc-after,
.ts-loc-sec--wide .ts-loc-head:has(.ts-loc-lead) + .ts-loc-after:not(:has(.wp-block-table)) {
  margin-top: 20px;
}

/* text-only section: keep lines readable */
.ts-loc-sec--wide .ts-loc-after > p,
.ts-loc-sec--wide .ts-loc-after > ul,
.ts-loc-sec--wide .ts-loc-after > ol,
.ts-loc-sec--wide .ts-loc-after > h3,
.ts-loc-sec--wide .ts-loc-after > h4 {
  max-width: 780px;
}


/* ==============================================================
   WHERE: Table block (any section)
   WHAT IT DOES: clean table in a rounded card.
   A 2-column table ("Us vs Them") gets the comparison look:
   left column navy with ticks, right column grey.
   ============================================================== */

.ts-loc .wp-block-table {
  margin: 0;
  overflow-x: auto;
  border-radius: var(--tsl-r);
  border: 1px solid var(--tsl-line);
  background: #fff;
}

.ts-loc table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  font-size: 15.5px;
}

.ts-loc th,
.ts-loc td {
  padding: 18px 26px;
  text-align: left;
  vertical-align: top;
  border: 0;
  border-bottom: 1px solid var(--tsl-line);
}

.ts-loc thead th {
  font: 800 14px/1.3 var(--fh);
  letter-spacing: -.01em;
  color: var(--ink);
  background: var(--paper);
}

.ts-loc tbody tr:last-child td {
  border-bottom: 0;
}

.ts-loc td {
  color: var(--body);
}

.ts-loc .wp-block-table figcaption {
  padding: 12px 26px;
  font-size: 13.5px;
  color: var(--muted);
  border-top: 1px solid var(--tsl-line);
}

/* --- 2-column comparison --- */
.ts-loc .wp-block-table:has(thead th:nth-child(2):last-child) {
  border: 0;
  overflow: hidden;
  box-shadow: 0 40px 80px -50px rgba(12, 27, 39, .45);
}

.ts-loc .wp-block-table:has(thead th:nth-child(2):last-child) table {
  table-layout: fixed;
}

.ts-loc .wp-block-table:has(thead th:nth-child(2):last-child) th,
.ts-loc .wp-block-table:has(thead th:nth-child(2):last-child) td {
  padding: 22px 32px;
}

.ts-loc .wp-block-table:has(thead th:nth-child(2):last-child) thead th {
  font-size: 17px;
}

.ts-loc .wp-block-table:has(thead th:nth-child(2):last-child) thead th:first-child {
  background: var(--cyan);
  color: var(--ink);
}

.ts-loc .wp-block-table:has(thead th:nth-child(2):last-child) thead th:last-child {
  background: #EDF1F2;
  color: var(--muted);
}

.ts-loc .wp-block-table:has(thead th:nth-child(2):last-child) td:first-child {
  position: relative;
  padding-left: 66px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  border-bottom-color: rgba(255, 255, 255, .08);
}

.ts-loc .wp-block-table:has(thead th:nth-child(2):last-child) td:first-child::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 21px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%231E1E1E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.ts-loc .wp-block-table:has(thead th:nth-child(2):last-child) td:last-child {
  position: relative;
  padding-left: 66px;
  background: #F7F9F9;
  color: var(--muted);
}

.ts-loc .wp-block-table:has(thead th:nth-child(2):last-child) td:last-child::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 21px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #E2E8EA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 12h8' fill='none' stroke='%235F6A72' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}


/* ==============================================================
   WHERE: Call-to-action box (a section that has a Buttons block)
   + the closing box when the page has none
   WHAT IT DOES: big navy panel, heading left, text + button right
   ============================================================== */

.ts-loc-sec--cta {
  padding: 40px 0;
  background: #fff;
}

.ts-loc-sec--end {
  padding: 0 0 110px;
  background: var(--paper);
}

.ts-loc-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 40px 72px;
  align-items: end;
  padding: 80px 72px;
  border-radius: 36px;
  background: var(--navy);
  color: #fff;
}

.ts-loc-cta__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 90% at 100% 0%, rgba(14, 185, 213, .38), transparent 65%),
    radial-gradient(40% 70% at 0% 100%, rgba(14, 185, 213, .12), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .06) 1px, transparent 0);
  background-size: 100% 100%, 100% 100%, 24px 24px;
}

.ts-loc .ts-loc-cta h2 {
  margin: 0;
  font: 900 clamp(36px, 4.6vw, 64px)/.98 var(--fh);
  letter-spacing: -.05em;
  color: #fff;
  text-wrap: balance;
}

.ts-loc-cta__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.ts-loc-cta p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: #B4C2CC;
}

.ts-loc-cta .wp-block-buttons {
  margin: 0;
}

.ts-loc-cta .ts-loc-call {
  margin-top: 2px;
}


/* ==============================================================
   WHERE: Results row (real Google Business Profile screenshots)
   WHAT IT DOES: big number on top, screenshot, approved caption.
   The row runs to the edge of the screen and slides with the arrows.
   ============================================================== */

.ts-loc-head--nav {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}

.ts-loc-head--nav h2 {
  max-width: 720px;
}

.ts-loc-arrows {
  display: flex;
  gap: 10px;
  flex: none;
}

.ts-loc-arrows button {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, opacity .3s;
}

.ts-loc-arrows button:hover:not(:disabled) {
  background: var(--cyan);
  border-color: var(--cyan);
}

.ts-loc-arrows button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.ts-loc-arrows button:disabled {
  opacity: .28;
  cursor: default;
}

.ts-loc-arrows svg {
  width: 20px;
  height: 20px;
}

.ts-loc-arrows--dark button {
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}

.ts-loc-arrows--dark button:hover:not(:disabled) {
  color: var(--ink);
}

/* the sliding row: starts in line with the page content, runs off the right edge */
.ts-loc-row {
  --tsl-gut: max(40px, calc((100vw - 1200px) / 2 + 40px));
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 400px;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--tsl-gut);
  padding: 4px var(--tsl-gut) 30px;
  scrollbar-width: none;
}

.ts-loc-row::-webkit-scrollbar {
  display: none;
}

.ts-loc-row > * {
  scroll-snap-align: start;
}

.ts-loc-row:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}

.ts-loc-res {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 26px 22px 24px;
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: var(--tsl-r);
  transition: transform .5s var(--ease), box-shadow .5s, border-color .3s, background .3s;
}

.ts-loc-res:hover {
  transform: translateY(-4px);
  background: #fff;
  border-color: var(--tsl-line);
  box-shadow: 0 30px 60px -40px rgba(12, 27, 39, .35);
}

.ts-loc-res__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.ts-loc-res__num {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ts-loc-res__num b {
  font: 900 64px/.85 var(--fh);
  letter-spacing: -.06em;
  color: var(--ink);
}

.ts-loc-res__num span {
  font: 700 14px/1.2 var(--fh);
  color: var(--cyan-d);
}

.ts-loc-res__tag {
  flex: none;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--tsl-line);
  font: 700 12px/1 var(--fh);
  color: var(--body);
}

.ts-loc-res__img {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--tsl-line);
}

.ts-loc-res img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  object-position: top left;
  transition: transform .9s var(--ease);
}

.ts-loc-res__img:hover img {
  transform: scale(1.04);
}

.ts-loc-res figcaption {
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--body);
}

.ts-loc-res__foot {
  display: flex;
  align-items: center;
  gap: 18px 32px;
  margin-top: 26px;
}

.ts-loc-res__foot .ts-tbtn {
  flex: none;
}

.ts-loc-res__foot p {
  max-width: 560px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}


/* ==============================================================
   WHERE: Video testimonials
   WHAT IT DOES: navy section, tall video cards, cyan play button
   ============================================================== */

.ts-loc-vids {
  background: var(--navy);
  background-image: radial-gradient(45% 60% at 100% 0%, rgba(14, 185, 213, .2), transparent 70%);
  color: #fff;
}

.ts-loc .ts-loc-vids h2 {
  color: #fff;
}

.ts-loc-row--vid {
  grid-auto-columns: 300px;
  padding-bottom: 0;
}

.ts-loc-vid {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  background: linear-gradient(160deg, #25313A, #12171B 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .5s var(--ease);
}

.ts-loc-vid:hover {
  transform: translateY(-6px);
}

.ts-loc-vid video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ts-loc-vid::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(12, 27, 39, .55));
  transition: opacity .3s;
}

.ts-loc-vid__play {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 0 0 8px rgba(14, 185, 213, .22);
  transition: transform .4s var(--ease), box-shadow .4s;
}

.ts-loc-vid__play svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}

.ts-loc-vid:hover .ts-loc-vid__play {
  transform: scale(1.08);
  box-shadow: 0 0 0 12px rgba(14, 185, 213, .18);
}

.ts-loc-vid__play:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.ts-loc-vid.is-playing .ts-loc-vid__play,
.ts-loc-vid.is-playing::after {
  opacity: 0;
  pointer-events: none;
}


/* ==============================================================
   WHERE: FAQ (Details blocks in the editor)
   WHAT IT DOES: heading + phone card stay on the left,
   numbered questions open and close on the right
   ============================================================== */

.ts-loc-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px 80px;
  align-items: start;
}

.ts-loc-faq__side {
  position: sticky;
  top: calc(var(--tsl-top) + 100px);
}

.ts-loc-faq__card {
  margin-top: 32px;
  padding: 24px 24px 22px;
  border-radius: 20px;
  background: var(--paper);
}

.ts-loc-faq__card p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--body);
}

.ts-loc-faq__list {
  border-top: 1px solid var(--tsl-line);
}

.ts-loc-q {
  border-bottom: 1px solid var(--tsl-line);
}

.ts-loc-q summary {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 16px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
  font: 800 19px/1.35 var(--fh);
  letter-spacing: -.02em;
  color: var(--ink);
}

.ts-loc-q summary::-webkit-details-marker {
  display: none;
}

.ts-loc-q summary em {
  font: 800 13px/1 var(--fh);
  font-style: normal;
  letter-spacing: .06em;
  color: var(--cyan-d);
}

.ts-loc-q summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
  border-radius: 6px;
}

/* the round + / - button */
.ts-loc-q summary span {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--tsl-line);
  transition: background .3s, border-color .3s, transform .4s var(--ease);
}

.ts-loc-q summary span::before,
.ts-loc-q summary span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -7px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .4s var(--ease);
}

.ts-loc-q summary span::after {
  transform: rotate(90deg);
}

.ts-loc-q summary:hover span {
  border-color: var(--cyan);
}

.ts-loc-q[open] summary span {
  background: var(--cyan);
  border-color: var(--cyan);
}

.ts-loc-q[open] summary span::after {
  transform: rotate(0);
}

.ts-loc-q__a {
  padding: 0 60px 28px 56px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--body);
}

.ts-loc-q__a p {
  margin: 0 0 .8em;
}

.ts-loc-q__a > :last-child {
  margin-bottom: 0;
}


/* ==============================================================
   WHERE: "Our Services" (fixed section, homepage copy)
   WHAT IT DOES: 4 link tiles; the tile turns navy on hover
   ============================================================== */

.ts-loc-head--row .ts-loc-lead {
  padding-bottom: 6px;
}

.ts-loc-svc__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ts-loc-svc__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 28px 26px 26px;
  border-radius: var(--tsl-r);
  background: #fff;
  border: 1px solid var(--tsl-line);
  color: var(--ink) !important;
  transition: color .4s, border-color .4s, transform .5s var(--ease);
}

.ts-loc-svc__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--navy);
  background-image: radial-gradient(90% 70% at 100% 0%, rgba(14, 185, 213, .32), transparent 60%);
  transform: translateY(101%);
  transition: transform .6s var(--ease);
}

.ts-loc-svc__n {
  font: 800 13px/1 var(--fh);
  letter-spacing: .08em;
  color: var(--cyan-d);
  transition: color .4s;
}

.ts-loc .ts-loc-svc__card h3 {
  margin: auto 0 10px;
  padding-top: 48px;
  font: 800 22px/1.2 var(--fh);
  letter-spacing: -.03em;
  color: inherit;
}

.ts-loc-svc__card p {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--body);
  transition: color .4s;
}

.ts-loc-svc__go {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--tsl-line);
  font: 700 14px/1.25 var(--fh);
  transition: border-color .4s;
}

.ts-loc-svc__go i {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--aqua);
  color: var(--cyan-d);
  transition: background .4s, color .4s, transform .4s var(--ease);
}

.ts-loc-svc__go svg {
  width: 15px;
  height: 15px;
}

@media (hover: hover) {
  .ts-loc-svc__card:hover {
    color: #fff !important;
    border-color: var(--navy);
    transform: translateY(-4px);
  }

  .ts-loc-svc__card:hover::before {
    transform: none;
  }

  .ts-loc-svc__card:hover p {
    color: #B4C2CC;
  }

  .ts-loc-svc__card:hover .ts-loc-svc__n {
    color: var(--cyan);
  }

  .ts-loc-svc__card:hover .ts-loc-svc__go {
    border-color: rgba(255, 255, 255, .14);
  }

  .ts-loc-svc__card:hover .ts-loc-svc__go i {
    background: var(--cyan);
    color: var(--ink);
    transform: rotate(45deg);
  }
}

.ts-loc-svc__card:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}


/* ==============================================================
   WHERE: Content pasted from older pages (sits before the first H2)
   WHAT IT DOES: headings keep the colour of their own section,
   so white headings on dark/cyan sections stay visible.
   ============================================================== */

.ts-loc-sec--intro :where(h1, h2, h3, h4, h5, h6) {
  color: inherit;
}

/* safety: the long content area never waits for the scroll animation */
.ts-js .ts-loc-sec--intro .ts-rv {
  opacity: 1;
  transform: none;
}


/* ==============================================================
   WHERE: Bottom bar on phones (Call + main button)
   WHAT IT DOES: slides up after you scroll past the hero buttons,
   hides again when the form or the footer is on screen
   ============================================================== */

.ts-loc-mbar {
  display: none;
}


/* ##############################################################
   TABLETS + PHONES
   ############################################################## */

@media (max-width: 1100px) {
  .ts-loc-cards--4,
  .ts-loc-svc__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .ts-loc-hero {
    padding: 110px 0 72px;
  }

  .ts-loc-hero__grid,
  .ts-loc-sec--split .ts-loc-sec__in,
  .ts-loc-faq__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ts-loc-hero__grid {
    gap: 48px;
  }

  .ts-loc-sec--split .ts-loc-head,
  .ts-loc-faq__side {
    position: static;
  }

  .ts-loc-sec--split .ts-loc-after {
    grid-column: auto;
  }

  .ts-loc-trust__in {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .ts-loc-trust ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 24px;
  }

  .ts-loc-sec {
    padding: 84px 0;
  }

  .ts-loc-sec--cta {
    padding: 32px 0;
  }

  .ts-loc-sec--end {
    padding: 0 0 84px;
  }

  .ts-loc-sec--grid .ts-loc-head,
  .ts-loc-head--row {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .ts-loc-cards--3,
  .ts-loc-cards--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ts-loc-cta {
    grid-template-columns: minmax(0, 1fr);
    padding: 60px 48px;
    align-items: start;
  }

  .ts-loc-row {
    --tsl-gut: 32px;
  }
}

@media (max-width: 767px) {
  .ts-loc {
    --tsl-r: 20px;
  }

  .ts-loc .ts-wrap {
    padding-left: 18px;
    padding-right: 18px;
  }

  /* hero */
  .ts-loc-hero {
    padding: 100px 0 56px;
  }

  .ts-loc .ts-crumbs {
    margin-bottom: 18px;
  }

  .ts-loc-rating {
    margin-bottom: 18px;
  }

  .ts-loc-hero__h {
    font-size: clamp(36px, 10.5vw, 46px);
    letter-spacing: -.05em;
  }

  .ts-loc-hero__p {
    font-size: 17px;
    margin-top: 18px;
  }

  .ts-loc-hero__list li {
    font-size: 15.5px;
  }

  .ts-loc-hero__btns {
    margin-top: 28px;
  }

  .ts-loc-hero__btns .ts-tbtn,
  .ts-loc-btn2 {
    width: 100%;
    justify-content: space-between;
  }

  .ts-loc-btn2 {
    justify-content: center;
  }

  /* form */
  .ts-loc-form {
    border-radius: 22px;
  }

  .ts-loc-form__top {
    padding: 24px 20px 20px;
  }

  .ts-loc .ts-loc-form__h {
    font-size: 26px;
  }

  .ts-loc-form__body {
    padding: 22px 18px 24px;
  }

  .ts-loc-form .ts-cf7 {
    grid-template-columns: 1fr;
  }

  /* trust band */
  .ts-loc .ts-loc-trust__in {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .ts-loc-trust ul {
    gap: 22px 14px;
  }

  .ts-loc-trust li {
    padding-left: 12px;
  }

  /* "On this page" */
  .ts-loc-jump__label {
    display: none;
  }

  .ts-loc-jump__in {
    min-height: 54px;
  }

  .ts-loc-jump .ts-wrap {
    padding-right: 0;
  }

  .ts-loc-jump a {
    max-width: 230px;
    padding: 8px 13px;
    font-size: 13px;
  }

  /* sections */
  .ts-loc-sec {
    padding: 64px 0;
  }

  .ts-loc-head h2,
  .ts-loc-faq h2 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .ts-loc-sec--grid .ts-loc-head,
  .ts-loc-head--row {
    margin-bottom: 36px;
  }

  .ts-loc-lead p {
    font-size: 16.5px;
  }

  .ts-loc-cards--2,
  .ts-loc-cards--3,
  .ts-loc-cards--4,
  .ts-loc-cards--5,
  .ts-loc-sec--grid .ts-loc-cards--3,
  .ts-loc-svc__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ts-loc-sec--grid .ts-loc-cards--3 .ts-loc-card:first-child {
    grid-row: auto;
  }

  .ts-loc-sec--grid .ts-loc-card h3 {
    padding-top: 24px;
  }

  .ts-loc-card {
    padding: 24px 22px;
  }

  .ts-loc-sec--split .ts-loc-card {
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 16px;
    padding: 24px 0;
  }

  .ts-loc-sec--split .ts-loc-card__n {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 13px;
  }

  .ts-loc-sec--split .ts-loc-card h3 {
    font-size: 19px;
  }

  .ts-loc-after,
  .ts-loc-sec--wide .ts-loc-after {
    margin-top: 32px;
  }

  /* table */
  .ts-loc th,
  .ts-loc td {
    padding: 14px 16px;
    font-size: 14px;
  }

  .ts-loc .wp-block-table:has(thead th:nth-child(2):last-child) th,
  .ts-loc .wp-block-table:has(thead th:nth-child(2):last-child) td {
    padding: 16px 14px;
  }

  .ts-loc .wp-block-table:has(thead th:nth-child(2):last-child) thead th {
    font-size: 14.5px;
  }

  .ts-loc .wp-block-table:has(thead th:nth-child(2):last-child) td:first-child,
  .ts-loc .wp-block-table:has(thead th:nth-child(2):last-child) td:last-child {
    padding-left: 44px;
  }

  .ts-loc .wp-block-table:has(thead th:nth-child(2):last-child) td:first-child::before,
  .ts-loc .wp-block-table:has(thead th:nth-child(2):last-child) td:last-child::before {
    left: 14px;
    top: 15px;
    width: 20px;
    height: 20px;
    background-size: 12px;
  }

  /* CTA */
  .ts-loc-sec--cta {
    padding: 20px 0;
  }

  .ts-loc-sec--end {
    padding: 0 0 64px;
  }

  .ts-loc-cta {
    padding: 44px 24px;
    border-radius: 26px;
    gap: 26px;
  }

  .ts-loc .ts-loc-cta h2 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .ts-loc-cta .ts-tbtn,
  .ts-loc-cta .wp-block-buttons,
  .ts-loc-cta .wp-block-button {
    width: 100%;
  }

  .ts-loc-cta .ts-tbtn {
    justify-content: space-between;
  }

  /* results + videos */
  .ts-loc-head--nav {
    margin-bottom: 30px;
  }

  .ts-loc-arrows button {
    width: 46px;
    height: 46px;
  }

  .ts-loc-row {
    --tsl-gut: 18px;
    grid-auto-columns: 84%;
    gap: 14px;
  }

  .ts-loc-row--vid {
    grid-auto-columns: 72%;
  }

  .ts-loc-res__num b {
    font-size: 54px;
  }

  .ts-loc-res img {
    height: 150px;
  }

  .ts-loc-res:hover {
    transform: none;
  }

  .ts-loc-res__foot {
    flex-direction: column;
    align-items: flex-start;
  }

  /* FAQ */
  .ts-loc-faq__card {
    margin-top: 22px;
  }

  .ts-loc-q summary {
    grid-template-columns: 30px minmax(0, 1fr) 38px;
    gap: 10px;
    padding: 20px 0;
    font-size: 17px;
  }

  .ts-loc-q summary span {
    width: 38px;
    height: 38px;
  }

  .ts-loc-q__a {
    padding: 0 0 22px 40px;
    font-size: 16px;
  }

  /* services */
  .ts-loc-svc__card {
    min-height: 0;
  }

  .ts-loc .ts-loc-svc__card h3 {
    padding-top: 28px;
  }

  /* bottom bar */
  .ts-loc-mbar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 90;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(12, 27, 39, .94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px -14px rgba(12, 27, 39, .6);
    transform: translateY(140%);
    transition: transform .5s var(--ease);
  }

  .ts-loc-mbar.is-on {
    transform: none;
  }

  .ts-loc-mbar a {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    border-radius: 999px;
    font: 700 15px/1 var(--fh);
  }

  .ts-loc-mbar svg {
    width: 17px;
    height: 17px;
    flex: none;
  }

  .ts-loc-mbar__call {
    padding: 0 18px;
    background: rgba(255, 255, 255, .1);
    color: #fff !important;
  }

  .ts-loc-mbar__call svg {
    color: var(--cyan);
  }

  .ts-loc-mbar__go {
    justify-content: space-between;
    padding: 0 18px 0 20px;
    background: var(--cyan);
    color: var(--ink) !important;
    min-width: 0;
  }

  .ts-loc-mbar__go span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}


/* ==============================================================
   Less motion for people who turned it off on their device
   ============================================================== */

@media (prefers-reduced-motion: reduce) {
  .ts-loc *,
  .ts-loc *::before,
  .ts-loc *::after {
    transition: none !important;
  }

  .ts-loc-row {
    scroll-behavior: auto;
  }
}
