/* Progressive enhancement: hide reveal targets only when JS is running. */
.sl-js .sl-reveal, .sl-js .sl-reveal-left, .sl-js .sl-reveal-right { opacity: 0; }
.sl-js .sl-stagger > * { opacity: 0; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

.sl-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: transform .45s cubic-bezier(.2,.7,.2,1), border-color .3s, box-shadow .3s; }
.sl-header.is-scrolled { border-color: var(--wp--preset--color--line); box-shadow: 0 6px 24px rgba(0,0,0,.05); }
.sl-header.is-hidden { transform: translateY(-100%); }
.admin-bar .sl-header { top: 32px; }

.sl-eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 600; color: var(--wp--preset--color--accent-dark); }
.sl-hero h1 { max-width: 16ch; }
.sl-hero .sl-rule { width: 72px; height: 4px; background: var(--wp--preset--color--accent); border: 0; margin: 0 0 1.5rem; }

.sl-card { background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--line); border-radius: 16px;
  padding: 1.75rem; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s; height: 100%; }
.sl-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(17,17,17,.08); border-color: var(--wp--preset--color--accent); }
.sl-card a { text-decoration: none; }
.sl-card h3 { font-size: var(--wp--preset--font-size--large); margin: 0 0 .5rem; }

/* Office card grid (Google ratings block, inc/google-reviews.php). */
.sl-office-region-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .sl-office-region-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sl-office-region-grid { grid-template-columns: 1fr; } }
.sl-office-card { padding: 1.1rem; display: flex; flex-direction: column; }
.sl-office-card-link { text-decoration: none; color: inherit; display: block; }
.sl-office-card-img img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 10px; display: block; }
.sl-office-card-title { font-size: var(--wp--preset--font-size--medium, 1rem); margin: .75rem 0 0; color: var(--wp--preset--color--contrast); }
.sl-office-card-area { font-size: .82rem; color: var(--wp--preset--color--stone); margin: .3rem 0 0 !important; }

/* ---- Offices slider (homepage, inc/offices-grid.php): one row, region buttons filter it ----
   4 cards wide, 2 on tablets, 1¼ on phones (the edge of the next shows it scrolls). Round arrows sit
   on the row's edges, level with the photos, on every screen size. */
.sl-oslider { margin-top: 1.5rem; }
.sl-oslider-bar { display: flex; align-items: flex-start; gap: .75rem; margin: 0 0 1.25rem; }
.sl-oslider-bar .sl-region-tablist { margin: 0; flex: 1 1 auto; min-width: 0; }
.sl-oslider-pause { flex: none; }
.sl-oslider-frame { position: relative; }
.sl-oslider-track { --sl-os-gap: 1.25rem; display: flex; gap: var(--sl-os-gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; padding: 8px 2px 14px; margin: -8px -2px -14px; }
.sl-oslider-track::-webkit-scrollbar { display: none; }
.sl-oslider-track:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 2px; border-radius: 16px; }
.sl-oslider-track .sl-office-card { flex: 0 0 calc((100% - 3 * var(--sl-os-gap)) / 4); scroll-snap-align: start; }
.sl-oslider-track .sl-office-card[hidden] { display: none; }
.sl-oslider-track .sl-card:hover { transform: translateY(-4px); }
.sl-oslider-btn { position: absolute; z-index: 3; top: calc(var(--sl-os-img, 140px) / 2 + 1.1rem); transform: translateY(-50%); display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 0; background: var(--wp--preset--color--contrast); color: #fff; box-shadow: 0 6px 18px rgba(17,17,17,.22); cursor: pointer; transition: background-color 200ms ease, opacity 200ms ease, transform 160ms var(--sl-ease-out); }
.sl-oslider-btn:hover { background: var(--wp--preset--color--accent); }
.sl-oslider-btn:active { transform: translateY(-50%) scale(.94); }
.sl-oslider-btn:focus-visible { outline: 3px solid var(--wp--preset--color--accent); outline-offset: 2px; }
.sl-oslider-btn[hidden] { display: none; }
.sl-oslider-btn:disabled { opacity: 0; pointer-events: none; }
.sl-oslider-prev { left: -14px; }
.sl-oslider-next { right: -14px; }
@media (max-width: 1023px) { .sl-oslider-track .sl-office-card { flex-basis: calc((100% - var(--sl-os-gap)) / 2); } }
@media (max-width: 600px) {
  .sl-oslider-track { --sl-os-gap: .9rem; }
  .sl-oslider-track .sl-office-card { flex-basis: 78%; }
  .sl-oslider-prev { left: -6px; } .sl-oslider-next { right: -6px; }
}
@media (prefers-reduced-motion: reduce) { .sl-oslider-track { scroll-behavior: auto; } }
.sl-oslider .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.sl-team-grid .wp-block-post-featured-image img { aspect-ratio: 4/5; object-fit: cover; width: 100%; border-radius: 14px; }
.sl-band { background: var(--wp--preset--color--sand); }
.sl-dark { background: var(--wp--preset--color--contrast); color: #fff; }
.sl-dark h2, .sl-dark h3, .sl-dark a { color: #fff; }
.sl-dark .sl-eyebrow { color: var(--wp--preset--color--accent); }

@media (max-width: 782px) { .admin-bar .sl-header { top: 46px; } }
@media (prefers-reduced-motion: reduce) {
  .sl-js .sl-reveal, .sl-js .sl-reveal-left, .sl-js .sl-reveal-right, .sl-js .sl-stagger > * { opacity: 1 !important; transform: none !important; }
  .sl-header, .sl-card { transition: none; }
}

/* --- polish --- */
.sl-card h3, .sl-card h3 a { color: var(--wp--preset--color--contrast); }
.sl-card:hover h3 a { color: var(--wp--preset--color--accent-dark); }
.sl-card .wp-block-post-featured-image { margin: 0 0 1rem; overflow: hidden; border-radius: 10px; }
.sl-card .wp-block-post-featured-image img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.sl-card:hover .wp-block-post-featured-image img { transform: scale(1.05); }
.sl-hero-image { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px rgba(17,17,17,.14); }
.sl-hero-image .wp-block-image, .sl-hero-image figure { margin: 0; height: 100%; }
.sl-hero-image img { width: 100%; height: 115%; object-fit: cover; border-radius: 0; }
.sl-dark .wp-block-post-title a { text-decoration: none; }
@media (max-width: 781px) { .sl-hero-image { aspect-ratio: 3 / 2; } }
.sl-chips a { display: inline-block; margin: 0 .4rem .5rem 0; padding: .45rem 1rem; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; text-decoration: none; color: var(--wp--preset--color--contrast); font-size: .9rem !important; transition: all .25s; }
.sl-chips a:hover { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); }
.wp-block-post-terms a { text-decoration: none; }
.sl-card-post { padding: 1.1rem 1.1rem 1.5rem; }
.sl-card-post .wp-block-post-featured-image { margin: 0 0 1rem; }
.sl-card-post .sl-eyebrow, .sl-card-post .sl-eyebrow a { margin: 0 0 .35rem; text-decoration: none; }
.sl-card-post h3 { margin: 0 0 .4rem; }
.wp-block-query-pagination { margin-top: 2.5rem; gap: 1rem; }
.wp-block-query-pagination a { text-decoration: none; }
.sl-office-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1.5rem; }
.sl-office-grid .sl-card h3 { margin: 0; font-size: var(--wp--preset--font-size--large); }
.sl-office-grid .sl-card h3 a { color: var(--wp--preset--color--contrast); text-decoration: none; }
.sl-office-grid .sl-card:hover h3 a { color: var(--wp--preset--color--accent-dark); }
.sl-card-media { display: block; overflow: hidden; border-radius: 10px; margin-bottom: 1rem; }
.sl-card-media img { display: block; width: 100%; height: auto !important; aspect-ratio: 1 / 1; object-fit: cover; object-position: center; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.sl-card:hover .sl-card-media img { transform: scale(1.05); }

/* ---- timeline ---- */
.sl-timeline-track { display: flex !important; gap: 2rem; overflow-x: auto; scroll-snap-type: x proximity; padding: 3.25rem 0 1.25rem; margin-top: 1rem; scrollbar-width: thin; }
.sl-timeline-track > .sl-timeline-item { flex: 0 0 min(270px, 78vw); scroll-snap-align: start; position: relative; margin: 0 !important; }
.sl-timeline-item::before { content: ""; position: absolute; top: -1.5rem; left: 0; width: calc(100% + 2rem); height: 2px; background: var(--wp--preset--color--line); transform-origin: left; }
.sl-timeline-item::after { content: ""; position: absolute; top: calc(-1.5rem - 6px); left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--wp--preset--color--base); border: 3px solid var(--wp--preset--color--accent); }
.sl-timeline-item:last-child::before { width: 40%; }
.sl-timeline-year { font-family: var(--wp--preset--font-family--display); font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); line-height: 1; color: var(--wp--preset--color--accent-dark); margin: 0 0 .4rem !important; }
.sl-timeline-title { margin: 0 0 .35rem !important; }
.sl-timeline-text { margin: 0 !important; color: var(--wp--preset--color--stone); font-size: .95rem; line-height: 1.55; }
.sl-js .sl-timeline-item::before { transform: scaleX(0); }
.sl-timeline-track.is-drawn .sl-timeline-item::before { transform: scaleX(1); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.sl-timeline-track.is-drawn .sl-timeline-item:nth-child(2)::before { transition-delay: .10s; } .sl-timeline-track.is-drawn .sl-timeline-item:nth-child(3)::before { transition-delay: .20s; }
.sl-timeline-track.is-drawn .sl-timeline-item:nth-child(4)::before { transition-delay: .30s; } .sl-timeline-track.is-drawn .sl-timeline-item:nth-child(5)::before { transition-delay: .40s; }
.sl-timeline-track.is-drawn .sl-timeline-item:nth-child(6)::before { transition-delay: .50s; } .sl-timeline-track.is-drawn .sl-timeline-item:nth-child(7)::before { transition-delay: .60s; }
.sl-timeline-track.is-drawn .sl-timeline-item:nth-child(8)::before { transition-delay: .70s; } .sl-timeline-track.is-drawn .sl-timeline-item:nth-child(9)::before { transition-delay: .80s; }
.sl-timeline-track.is-drawn .sl-timeline-item:nth-child(10)::before { transition-delay: .90s; } .sl-timeline-track.is-drawn .sl-timeline-item:nth-child(11)::before { transition-delay: 1s; }
.sl-js .sl-timeline-item > * { opacity: 0; transform: translateY(18px); }
.sl-timeline-track.is-drawn .sl-timeline-item > * { opacity: 1; transform: none; transition: opacity .7s ease .3s, transform .7s ease .3s; }

/* Split-word heading cascade (see main.js splitWords). */
.sl-split-word { display: inline-block; overflow: hidden; vertical-align: top; }
.sl-split-word > * { display: inline-block; }

/* Card tilt: perspective/3D context, GSAP drives rotation + lift via inline transform. */
.sl-card { will-change: transform; }

/* Magnetic buttons: keep movement smooth. */
.wp-block-button:not(.is-style-outline) > .wp-block-button__link { will-change: transform; display: inline-block; }

/* Alternating section background drift: very subtle tint fades in on scroll. */
.sl-bg-a, .sl-bg-b { transition: background-color 1.4s ease; }
.sl-bg-b.sl-bg-in { background-color: var(--wp--preset--color--sand); }
.sl-bg-a.sl-bg-in { background-color: var(--wp--preset--color--base); }

@media (prefers-reduced-motion: reduce) {
  .sl-split-word-inner, .sl-split-word > * { opacity: 1 !important; transform: none !important; }
}

/* ---- contact page ---- */
.sl-contact-card, .sl-contact-form-card { background: var(--wp--preset--color--sand); border: 1px solid var(--wp--preset--color--line); border-radius: 16px; padding: 2rem; }
.sl-contact-form-card { background: var(--wp--preset--color--base); padding: 0; overflow: hidden; }
.sl-contact-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--base); display: flex; align-items: center; justify-content: center; margin-bottom: .75rem; }
.sl-contact-card h3 { margin: 0 0 .5rem; }
.sl-tel-list { margin: 0 0 .9rem; }
.sl-tel-list:last-of-type { margin-bottom: 0; }
.sl-tel-list a { color: var(--wp--preset--color--accent-dark); }
.sl-contact-iframe { width: 100%; min-height: 980px; border: 0; display: block; }
@media (max-width: 782px) {
  .sl-contact-iframe { min-height: 1150px; }
  .sl-contact-card, .sl-contact-form-card { padding: 1.4rem; }
}

/* ---- footer social icons ---- */
.sl-social { display: flex; gap: .75rem; margin-top: 1rem; }
.sl-social a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; transition: background .2s ease, color .2s ease; }
.sl-social a:hover { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); }
.sl-dark .wp-block-column p a { color: rgba(255,255,255,.82); text-decoration: none; }
.sl-dark .wp-block-column p a:hover { color: var(--wp--preset--color--accent); text-decoration: underline; }

/* ---- header phone numbers ---- */
.sl-header-phones { gap: 1.1rem; margin: 0 1.1rem; }
.sl-header-tel {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .92rem;
  font-weight: 500;
  color: var(--wp--preset--color--contrast);
  text-decoration: none;
  white-space: nowrap;
}
.sl-header-tel:hover { color: var(--wp--preset--color--accent-dark); text-decoration: underline; }
.sl-tel-flag { font-size: 1.05rem; line-height: 1; }
@media (max-width: 1100px) {
  /* Move phone numbers to their own row under the logo/menu row instead of
     hiding them; WP's .wp-block-group-is-layout-flex utility class outranks
     a plain .sl-header-phones{display:none} here, so hiding never actually
     worked, it just squeezed onto the same row as the logo. */
  .sl-header .wp-block-group.alignwide { flex-wrap: wrap; row-gap: .5rem; }
  .sl-header-phones {
    order: 3;
    flex-basis: 100%;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: .5rem 1.25rem;
    margin: 0;
    padding-top: .5rem;
    border-top: 1px solid var(--wp--preset--color--line);
  }
}
@media (max-width: 480px) {
  .sl-header-tel { font-size: .85rem; }
  .sl-header-phones { gap: .4rem .75rem; }
}

/* ---- office pages ---- */
.sl-office-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0 3rem; align-items: start; }
.sl-office-info > * { margin-top: 0 !important; margin-bottom: 1rem; }
.sl-office-info > .wp-block-html, .sl-office-info > .wp-block-paragraph { max-width: none; }
.sl-office-info ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1.5rem; }
.sl-office-info li { padding: .4rem .95rem; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; font-size: .9rem; background: var(--wp--preset--color--sand); }
.sl-office-call { grid-column: 1 / -1; order: -1; margin: -0.4rem 0 .25rem !important; }
.sl-office-call a {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem 1.1rem; border-radius: 999px;
  background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast);
  font-weight: 600; font-size: .92rem; text-decoration: none;
}
.sl-office-call a:hover { background: var(--wp--preset--color--accent-dark); }
.sl-office-area { font-size: .85rem; color: #6b6b6b; margin: -.6rem 0 .75rem !important; }
.sl-office-call-inline { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--wp--preset--color--accent-dark); text-decoration: none; margin-top: .35rem; }
.sl-office-call-inline:hover { text-decoration: underline; }

/* Sticky mobile call/WhatsApp bar */
.sl-sticky-callbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  padding-bottom: env(safe-area-inset-bottom, 0);
  background: var(--wp--preset--color--base);
  border-top: 1px solid var(--wp--preset--color--line);
  box-shadow: 0 -8px 24px rgba(17,17,17,.08);
}
.sl-sticky-callbar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem .5rem; font-weight: 600; font-size: .95rem; text-decoration: none;
}
.sl-sticky-call { color: var(--wp--preset--color--contrast); border-right: 1px solid var(--wp--preset--color--line); }
.sl-sticky-whatsapp { color: #fff; background: #25d366; }
@media (max-width: 781px) {
  .sl-sticky-callbar { display: flex; }
  body { padding-bottom: calc(3.4rem + env(safe-area-inset-bottom, 0)); }
}
.sl-office-info iframe { width: 100%; height: 380px; border: 0; border-radius: 16px; }
.sl-office-info img { max-width: 100%; height: auto; border-radius: 12px; }
.sl-team-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.sl-team-grid > * { margin: 0 !important; }
.sl-team-card { padding: 1.1rem 1.1rem 1.4rem; }
.sl-team-card .wp-block-image { margin: 0 0 1rem; overflow: hidden; border-radius: 10px; }
.sl-team-card .wp-block-image img { display: block; width: 100%; height: auto !important; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; border-radius: 0; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.sl-team-card:hover .wp-block-image img { transform: scale(1.05); }
.sl-team-card h4 { margin: 0 0 .25rem; font-size: var(--wp--preset--font-size--large); }
.sl-team-card p { margin: 0; }
.single-sl_office .wp-block-post-content img { max-width: 100%; height: auto; }
.single-sl_office .wp-block-post-content > h2 { margin: 2.5rem 0 1.25rem; font-size: var(--wp--preset--font-size--x-large); }

/* =========================================================
   RESPONSIVE
   Breakpoints: 1024 (tablet landscape and below), 781 (tablet portrait
   and below; WordPress stacks columns here), 600 (phones), 480 (small
   phones), plus a short-viewport rule for phones held sideways.
   ========================================================= */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; overflow-wrap: break-word; }
img, video, svg { max-width: 100%; }
iframe { max-width: 100%; }
.wp-block-post-content table, .sl-office-info table { display: block; max-width: 100%; overflow-x: auto; }
.wp-block-post-content pre { overflow-x: auto; }
.wp-block-post-content a, .sl-team-card p { overflow-wrap: anywhere; }
.wp-block-button__link { text-align: center; }

/* Header menu: inline links on desktop; a dropdown panel with our own button below 1024px */
.sl-nav-wrap { gap: 1rem; }
.sl-menu-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; background: var(--wp--preset--color--base); cursor: pointer; align-items: center; justify-content: center; flex: 0 0 auto; }
.sl-menu-bars, .sl-menu-bars::before, .sl-menu-bars::after { display: block; width: 20px; height: 2px; background: var(--wp--preset--color--contrast); border-radius: 2px; transition: transform .3s ease, background .3s ease; }
.sl-menu-bars { position: relative; }
.sl-menu-bars::before, .sl-menu-bars::after { content: ""; position: absolute; left: 0; }
.sl-menu-bars::before { top: -6px; } .sl-menu-bars::after { top: 6px; }
.sl-menu-open .sl-menu-bars { background: transparent; }
.sl-menu-open .sl-menu-bars::before { transform: translateY(6px) rotate(45deg); }
.sl-menu-open .sl-menu-bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1023px) {
  .sl-menu-toggle { display: inline-flex; }
  .sl-header .wp-block-navigation { position: static; display: none; }
  .sl-header.sl-menu-open .wp-block-navigation { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--wp--preset--color--base); border-top: 1px solid var(--wp--preset--color--line); border-bottom: 1px solid var(--wp--preset--color--line); box-shadow: 0 18px 30px rgba(0,0,0,.08); padding: .75rem var(--wp--preset--spacing--30) 1.25rem; max-height: calc(100vh - 80px); overflow-y: auto; }
  .sl-header .wp-block-navigation__container { flex-direction: column; align-items: stretch !important; gap: 0; width: 100%; }
  .sl-header .wp-block-navigation-item { width: 100%; }
  .sl-header .wp-block-navigation-item__content { display: block; padding: .95rem .25rem; font-size: 1.15rem; border-bottom: 1px solid var(--wp--preset--color--line); text-decoration: none; }
  .sl-header .wp-block-navigation-item:last-child .wp-block-navigation-item__content { border-bottom: 0; }
  /* Core wraps the links in overlay containers that it hides on small screens; flatten them inside our panel. */
  .sl-header.sl-menu-open .wp-block-navigation__responsive-container,
  .sl-header.sl-menu-open .wp-block-navigation__responsive-close,
  .sl-header.sl-menu-open .wp-block-navigation__responsive-dialog,
  .sl-header.sl-menu-open .wp-block-navigation__responsive-container-content { display: block !important; position: static !important; width: auto !important; height: auto !important; min-height: 0 !important; max-height: none !important; padding: 0 !important; margin: 0 !important; background: none !important; overflow: visible !important; transform: none !important; opacity: 1 !important; visibility: visible !important; }
  .sl-header.sl-menu-open .wp-block-navigation__container { display: flex !important; }
  .sl-header .wp-block-navigation__responsive-container-open, .sl-header .wp-block-navigation__responsive-container-close { display: none !important; }
  /* Plain block layout for the open panel (no dependence on WordPress flex classes). */
  .sl-header.sl-menu-open .wp-block-navigation { display: block !important; height: auto !important; max-height: none !important; overflow: visible !important; z-index: 60; }
  .sl-header.sl-menu-open .wp-block-navigation .wp-block-navigation__container { display: block !important; width: 100% !important; height: auto !important; margin: 0 !important; padding: 0 !important; list-style: none; }
  .sl-header.sl-menu-open .wp-block-navigation .wp-block-navigation-item { display: block !important; width: 100% !important; height: auto !important; margin: 0 !important; }
  .sl-header.sl-menu-open .wp-block-navigation .wp-block-navigation-item__content { display: block !important; width: 100%; color: var(--wp--preset--color--contrast); font-size: 1.15rem; line-height: 1.4; padding: .95rem .25rem; }
  .sl-header.sl-menu-open .wp-block-navigation .wp-block-navigation-item__label { display: inline !important; }
  .sl-header .wp-block-image { flex-shrink: 0; }
}

/* Tablet landscape / small laptop */
@media (max-width: 1100px) and (min-width: 782px) {
  .sl-hero h1 { max-width: none; }
}

/* Grids: 3 columns on desktop, 2 on tablets, 1 on phones */
@media (max-width: 1023px) and (min-width: 601px) {
  .wp-block-post-template.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 600px) {
  .wp-block-post-template.is-layout-grid { grid-template-columns: minmax(0, 1fr) !important; }
}

/* Tablet portrait and below: stacked columns */
@media (max-width: 781px) {
  .sl-hero-image { max-width: 560px; }
  .wp-block-columns { gap: 1.75rem; }
  .single-sl_office .wp-block-columns .wp-block-post-featured-image { max-width: 240px; }
  .single-sl_team .wp-block-post-featured-image { max-width: 360px; }
  .sl-office-info iframe { height: 320px; }
  .sl-dark .wp-block-columns { gap: 1.5rem; }
}

/* Phones */
@media (max-width: 600px) {
  .sl-header { padding-top: .6rem !important; padding-bottom: .6rem !important; }
  .sl-header .wp-block-image img { width: 150px !important; height: auto; }
  .sl-card { padding: 1.25rem; }
  .sl-card-post, .sl-team-card { padding: .9rem .9rem 1.2rem; }
  .wp-block-buttons { gap: .75rem; }
  .wp-block-buttons .wp-block-button, .sl-hero .wp-block-button { width: 100%; }
  .wp-block-buttons .wp-block-button__link { display: block; width: 100%; }
  .sl-eyebrow { letter-spacing: .14em; font-size: .72rem; }
  .sl-office-info iframe { height: 260px; }
  .sl-office-info li { font-size: .85rem; }
  .sl-timeline-track { gap: 1.5rem; padding-top: 3rem; }
  .sl-timeline-item::before { width: calc(100% + 1.5rem); }
  .wp-block-query-pagination { flex-wrap: wrap; justify-content: center; }
  .wp-block-post-navigation-link { max-width: 100%; }
}
@media (max-width: 380px) {
  .sl-header .wp-block-image img { width: 130px !important; }
  .sl-team-grid, .sl-office-grid { gap: 1rem; }
}

/* Phones held sideways: short viewports, so trim vertical space and keep the header slim */
@media (max-height: 500px) and (orientation: landscape) {
  .sl-header { position: static; }
  .sl-hero { padding-top: 2rem !important; padding-bottom: 2rem !important; }
  .sl-hero-image { aspect-ratio: 16 / 9; max-width: 480px; }
  .sl-header .wp-block-navigation__responsive-container.is-menu-open { overflow-y: auto; }
  .sl-timeline-track { padding-top: 2.75rem; }
}

/* Very wide screens: keep line lengths and hero proportions sensible */
@media (min-width: 1700px) {
  body { font-size: 1.125rem; }
}

/* Touch devices: no sticky hover lift, bigger tap targets */
@media (hover: none) {
  .sl-card:hover { transform: none; box-shadow: none; border-color: var(--wp--preset--color--line); }
  .sl-card:hover .sl-card-media img, .sl-card:hover .wp-block-post-featured-image img, .sl-team-card:hover .wp-block-image img { transform: none; }
  .sl-chips a { padding: .6rem 1.1rem; }
}

/* Photos inside the timeline and inside office intro text: same look as the office cards (square, rounded, thin border), never full size */
.sl-timeline-photo { margin: 1rem 0 0 !important; padding: .5rem; background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--line); border-radius: 16px; overflow: hidden; }
.sl-timeline-photo img, .sl-office-info figure:not(.sl-team-card) img, .sl-office-info .wp-block-html img { display: block; width: 100%; max-width: 280px; height: auto !important; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; border-radius: 10px; }

/* Timeline: cap the 1992 photo so it doesn't tower over the other years and leave a big gap under them */
.sl-timeline-photo { max-width: 170px; }

/* Timeline: fade the right edge and tint the scrollbar so it's obvious there's more to scroll, since items are cut off at the edge */
.sl-timeline-track { -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent 100%); mask-image: linear-gradient(90deg, #000 92%, transparent 100%); scrollbar-color: var(--wp--preset--color--accent) transparent; }
.sl-timeline-track::-webkit-scrollbar { height: 6px; }
.sl-timeline-track::-webkit-scrollbar-thumb { background: var(--wp--preset--color--accent); border-radius: 999px; }
.sl-timeline-track::-webkit-scrollbar-track { background: var(--wp--preset--color--line); border-radius: 999px; }
.sl-office-info .wp-block-html img { border: 1px solid var(--wp--preset--color--line); }

/* About Us: partners in one row, each card the same width and frame as the Terry Wogan photo (about 270px) */
.sl-team-grid--row { grid-template-columns: repeat(auto-fill, 270px) !important; justify-content: start; }
.sl-team-grid--row .sl-team-card { padding: .5rem .5rem 1.1rem; border-radius: 16px; }
.sl-team-grid--row .sl-team-card .wp-block-image { margin: 0 0 .85rem; }
.sl-team-grid--row .sl-team-card h4, .sl-team-grid--row .sl-team-card p { padding: 0 .6rem; }
@media (max-width: 600px) { .sl-team-grid--row { grid-template-columns: minmax(0, 270px) !important; } }

/* Contact page: text in the left third, form in the right two thirds */
.sl-contact { align-items: flex-start; }
.sl-contact .wp-block-column:first-child h4 { font-size: var(--wp--preset--font-size--large); margin-top: 0; }
.sl-contact .wp-block-column:first-child h5 { margin: 1.5rem 0 .25rem; }
.sl-contact .wp-block-column:first-child p { margin-top: 0; }
.sl-contact-form { border: 1px solid var(--wp--preset--color--line); border-radius: 16px; overflow: hidden; background: var(--wp--preset--color--base); }
.sl-contact-form iframe { display: block; width: 100%; height: 1150px; border: 0; }
@media (max-width: 781px) { .sl-contact-form iframe { height: 1300px; } }

/* ---- Mobile menu polish ---- */
/* Header "Contact us" button (was hidden; re-enabled 2026-10-05) */
.sl-header .sl-menu-cta .wp-block-navigation-item__content { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); font-weight: 600; padding: .3rem 1.1rem; line-height: 1.3; border-radius: 999px; text-decoration: none; white-space: nowrap; transition: background .2s ease, transform .2s ease; }
.sl-header .sl-menu-cta .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); text-decoration: none; }
/* Mid-size laptops: keep logo, phones, menu and button on one row */
@media (min-width: 1101px) and (max-width: 1340px) {
  .sl-header-phones { gap: .7rem; margin: 0 .5rem; }
  .sl-header-tel { font-size: .85rem; }
  .sl-header-whatsapp .sl-tel-num { display: none; }
  .sl-header .wp-block-image img { width: 150px !important; height: auto; }
  .sl-header .wp-block-navigation__container { gap: .9rem !important; }
  .sl-header .wp-block-navigation-item__content { font-size: .95rem; }
  .sl-header .sl-menu-cta .wp-block-navigation-item__content { padding: .3rem .9rem; }
}
@media (max-width: 1023px) {
  .sl-header.sl-menu-open::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 100vh; height: 100dvh; background: rgba(17,17,17,.38); z-index: 55; pointer-events: none; animation: sl-fade .3s ease both; }
  .sl-header.sl-menu-open .wp-block-navigation { padding: 1rem var(--wp--preset--spacing--30) 1.75rem; border-radius: 0 0 20px 20px; border-top: 0; animation: sl-drop .35s cubic-bezier(.2,.7,.2,1) both; }
  .sl-header.sl-menu-open .wp-block-navigation .wp-block-navigation-item__content { font-family: var(--wp--preset--font-family--display); font-size: 1.6rem; font-weight: 500; padding: 1rem .25rem; color: var(--wp--preset--color--contrast); border-bottom: 1px solid var(--wp--preset--color--line); display: flex !important; align-items: center; justify-content: space-between; }
  .sl-header.sl-menu-open .wp-block-navigation .wp-block-navigation-item__content::after { content: "\2192"; font-family: var(--wp--preset--font-family--body); font-size: 1.1rem; color: var(--wp--preset--color--accent-dark); transition: transform .25s; }
  .sl-header.sl-menu-open .wp-block-navigation .wp-block-navigation-item__content:hover::after { transform: translateX(4px); }
  .sl-header.sl-menu-open .wp-block-navigation .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--accent-dark); }
  .sl-header.sl-menu-open .wp-block-navigation-item { animation: sl-rise .45s cubic-bezier(.2,.7,.2,1) both; }
  .sl-header.sl-menu-open .wp-block-navigation-item:nth-child(2) { animation-delay: .04s; } .sl-header.sl-menu-open .wp-block-navigation-item:nth-child(3) { animation-delay: .08s; }
  .sl-header.sl-menu-open .wp-block-navigation-item:nth-child(4) { animation-delay: .12s; } .sl-header.sl-menu-open .wp-block-navigation-item:nth-child(5) { animation-delay: .16s; }
  .sl-header.sl-menu-open .wp-block-navigation-item:nth-child(6) { animation-delay: .20s; } .sl-header.sl-menu-open .wp-block-navigation-item:nth-child(7) { animation-delay: .24s; }
  .sl-header.sl-menu-open .wp-block-navigation .sl-menu-cta { display: block !important; margin-top: 1.5rem !important; }
  .sl-header.sl-menu-open .wp-block-navigation .sl-menu-cta .wp-block-navigation-item__content { justify-content: center; background: var(--wp--preset--color--accent); border: 0; border-radius: 999px; font-family: var(--wp--preset--font-family--body); font-size: 1rem; font-weight: 600; padding: 1rem 1.5rem; color: var(--wp--preset--color--contrast); }
  .sl-header.sl-menu-open .wp-block-navigation .sl-menu-cta .wp-block-navigation-item__content::after { content: none; }
  .sl-header.sl-menu-open .wp-block-navigation .sl-menu-cta .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); }
  .sl-menu-toggle { transition: background .25s, border-color .25s; }
  .sl-menu-open .sl-menu-toggle { background: var(--wp--preset--color--sand); border-color: var(--wp--preset--color--accent); }
}
@keyframes sl-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sl-drop { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes sl-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sl-header * , .sl-header::after { animation: none !important; } }

/* =========================================================
   HOME PAGE
   ========================================================= */
/* Hero: warm gradient, sun ring, floating badge */
.sl-hero2 { position: relative; overflow: hidden; background: radial-gradient(60% 75% at 88% 18%, rgba(247,148,29,.20), transparent 62%), linear-gradient(180deg, #fff 0%, var(--wp--preset--color--sand) 100%); }
.sl-hero2::before { content: ""; position: absolute; width: min(70vw, 760px); aspect-ratio: 1; right: -12vw; top: -18%; border-radius: 50%; border: 1px solid rgba(247,148,29,.45); pointer-events: none; }
.sl-hero2::after { content: ""; position: absolute; width: min(48vw, 520px); aspect-ratio: 1; right: -4vw; top: 4%; border-radius: 50%; border: 1px solid rgba(247,148,29,.3); pointer-events: none; }
.sl-hero2 > * { position: relative; z-index: 1; }
.sl-hero2 h1 { max-width: 15ch; }
.sl-hero-trust { margin-top: 2rem; display: flex; align-items: center; gap: .9rem; font-size: .85rem; color: var(--wp--preset--color--stone); }
.sl-hero-trust::before { content: ""; width: 42px; height: 2px; background: var(--wp--preset--color--accent); flex: 0 0 auto; }
.sl-hero-visual { position: relative; padding-bottom: 1.5rem; }
.sl-hero2 .sl-hero-image { max-height: 640px; }
.sl-float-badge { position: absolute; left: -2.5rem; bottom: 3rem; background: var(--wp--preset--color--base); border-radius: 18px; padding: 1.1rem 1.4rem; box-shadow: 0 24px 50px rgba(17,17,17,.16); border: 1px solid var(--wp--preset--color--line); animation: sl-bob 5s ease-in-out infinite; z-index: 3; max-width: 230px; }
.sl-float-big { font-family: var(--wp--preset--font-family--display); font-size: 2rem; line-height: 1; color: var(--wp--preset--color--accent-dark); margin: 0 0 .3rem !important; }
.sl-float-small { font-size: .85rem; line-height: 1.4; color: var(--wp--preset--color--stone); margin: 0 !important; }
@keyframes sl-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Marquee strip */
.sl-marquee { overflow: hidden; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); padding: 1.05rem 0; white-space: nowrap; }
.sl-marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.sl-marquee-track { display: inline-flex; width: max-content; animation: sl-marquee 48s linear infinite; }
.sl-marquee:hover .sl-marquee-track { animation-play-state: paused; }
.sl-marquee span { font-family: var(--wp--preset--font-family--display); font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); padding: 0 1.75rem; display: inline-flex; align-items: center; gap: 3.5rem; }
.sl-marquee span::after { content: "\2726"; font-size: .8em; opacity: .7; }
@keyframes sl-marquee { to { transform: translateX(-50%); } }

/* Stats */
.sl-stats-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.sl-stat { padding: .5rem 1.5rem; border-left: 1px solid rgba(255,255,255,.16); }
.sl-stat:first-child { border-left: 0; padding-left: 0; }
.sl-stat > * { margin: 0 !important; }
.sl-stat-num { font-family: var(--wp--preset--font-family--display); font-size: clamp(2.6rem, 1.8rem + 3.2vw, 4.6rem); line-height: 1.05; color: var(--wp--preset--color--accent); }
.sl-stat-label { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-top: .4rem !important; }
@media (max-width: 781px) {
  .sl-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .sl-stat:nth-child(odd) { border-left: 0; padding-left: 0; }
}

/* Practice areas: cards with the service's icon (inc/mega-menu.php adds .sl-service-icon) */
.sl-service-card { position: relative; padding: 1.75rem 1.75rem 1.9rem; overflow: hidden; }
.sl-service-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; background: #fdf0de; color: var(--wp--preset--color--accent-dark); margin-bottom: 1.1rem; transition: background .25s ease, color .25s ease, transform .35s cubic-bezier(.2,.7,.2,1); }
.sl-service-card:hover .sl-service-icon { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); transform: translateY(-3px) rotate(-4deg); }
.sl-service-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--wp--preset--color--accent); transition: width .45s cubic-bezier(.2,.7,.2,1); }
.sl-service-card:hover::after { width: 100%; }
.sl-service-card .wp-block-post-title a::after { content: "  \2192"; color: var(--wp--preset--color--accent-dark); }
.sl-service-card .wp-block-post-excerpt { color: var(--wp--preset--color--stone); font-size: .95rem; }
.sl-service-card .wp-block-post-excerpt__more-link { display: none; }

/* Why us */
.sl-frame { position: relative; padding: 0 0 2rem 2rem; }
.sl-frame::before { content: ""; position: absolute; left: 0; bottom: 0; width: 72%; height: 72%; background: var(--wp--preset--color--accent); border-radius: 22px; }
.sl-frame-img { position: relative; z-index: 1; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px rgba(17,17,17,.16); }
.sl-frame-img .wp-block-image, .sl-frame-img figure { margin: 0; height: 100%; }
.sl-frame-img img { width: 100%; height: 115% !important; object-fit: cover; border-radius: 0; }
.sl-why-item { display: grid; grid-template-columns: 3.2rem 1fr; column-gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--wp--preset--color--line); }
.sl-why-item > * { grid-column: 2; margin: 0 0 .35rem !important; }
.sl-why-item > .sl-why-n { grid-column: 1; grid-row: 1 / span 2; font-family: var(--wp--preset--font-family--display); font-size: 1.5rem; color: var(--wp--preset--color--accent-dark); line-height: 1.3; }
.sl-why-item p:last-child { color: var(--wp--preset--color--stone); }
.sl-why-item h3 { margin-top: 0 !important; }

/* Offices on the home page */
.sl-offices-home .sl-card h3 { font-size: 1.1rem; margin: 0; }
.sl-offices-home .wp-block-post-featured-image { aspect-ratio: 1 / 1; }
.sl-offices-home .wp-block-post-featured-image img { height: 100% !important; }
@media (max-width: 1023px) { .sl-offices-home .wp-block-post-template.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 600px) { .sl-offices-home .wp-block-post-template.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .9rem; } .sl-offices-home .sl-card { padding: .7rem .7rem 1rem; } .sl-offices-home .sl-card h3 { font-size: .95rem; } }

/* Closing call to action */
.sl-cta { background: var(--wp--preset--color--accent); position: relative; overflow: hidden; }
.sl-cta::before { content: ""; position: absolute; width: 520px; aspect-ratio: 1; right: -120px; top: -160px; border-radius: 50%; border: 1px solid rgba(17,17,17,.25); }
.sl-cta::after { content: ""; position: absolute; width: 340px; aspect-ratio: 1; right: -40px; top: -80px; border-radius: 50%; border: 1px solid rgba(17,17,17,.2); }
.sl-cta-inner { position: relative; z-index: 1; max-width: 780px; }
.sl-cta h2, .sl-cta p { color: var(--wp--preset--color--contrast); }
.sl-cta .is-style-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--contrast); border: 2px solid var(--wp--preset--color--contrast); }
.sl-cta .is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); }

/* Scroll progress bar */
.sl-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--wp--preset--color--accent); transform: scaleX(0); transform-origin: left; z-index: 100; pointer-events: none; }

@media (max-width: 781px) {
  .sl-float-badge { left: 1rem; bottom: 2.25rem; padding: .8rem 1rem; }
  .sl-frame { padding: 0 0 1.25rem 1.25rem; }
  .sl-hero2::before { right: -40vw; }
}
@media (prefers-reduced-motion: reduce) { .sl-float-badge, .sl-marquee-track { animation: none !important; } .sl-progress { display: none; } }

/* About Us partners: centred heading, row and card text */
.sl-team-grid--row { justify-content: center; }
.sl-team-grid--row .sl-team-card { text-align: center; }
.sl-team-grid--row .sl-partner { margin-top: .5rem; color: var(--wp--preset--color--accent-dark); }
.sl-team-grid--row { grid-template-columns: repeat(auto-fit, 270px) !important; justify-content: center !important; }
@media (max-width: 600px) { .sl-team-grid--row { grid-template-columns: minmax(0, 270px) !important; } }

/* Full-bleed hero with frosted card */
.sl-hero3 { position: relative; overflow: hidden; padding: clamp(5rem, 8vw, 8rem) var(--wp--preset--spacing--30) 2.5rem !important; align-items: center; justify-content: flex-start; }
.sl-hero3 .wp-block-cover__image-background, .sl-hero3 .wp-block-cover__video-background { object-position: 100% 0%; }
.sl-hero3 .wp-block-cover__background { opacity: 1 !important; background: linear-gradient(90deg, rgba(17,17,17,.28) 0%, rgba(17,17,17,0) 62%), linear-gradient(0deg, rgba(17,17,17,.45) 0%, rgba(17,17,17,0) 38%) !important; }
.sl-hero3 .wp-block-cover__inner-container { width: 100%; }
.sl-hero3-inner { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(3rem, 12vh, 8rem); min-height: calc(88vh - 8rem); }
.sl-hero-card { max-width: 720px; background: rgba(255,255,255,.5); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2); border: 1px solid rgba(255,255,255,.5); border-radius: 26px; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); box-shadow: 0 30px 70px rgba(17,17,17,.18); margin: 0 !important; }
.sl-hero-card h1 { margin: 0 0 1rem; max-width: 14ch; }
.sl-hero-card p { color: var(--wp--preset--color--contrast); margin: 0 0 1.5rem; }
.sl-hero-reassure { color: var(--wp--preset--color--contrast); opacity: .72; margin: 1rem 0 0 !important; }
.sl-google-rating { display: inline-flex; align-items: center; gap: .55rem; margin: .9rem 0 0; padding: .5rem .9rem; background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.6); border-radius: 999px; text-decoration: none; font-size: .85rem; line-height: 1.3; transition: background .2s, border-color .2s; }
.sl-google-rating:hover { background: rgba(255,255,255,.8); border-color: var(--wp--preset--color--accent); }
.sl-google-rating-stars { color: var(--wp--preset--color--accent-dark); letter-spacing: -1px; font-size: 1rem; }
.sl-google-rating-text { color: var(--wp--preset--color--contrast); }
.sl-google-rating-text strong { color: var(--wp--preset--color--accent-dark); }

.sl-intent-links { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.75rem; }
.sl-intent-links a {
  display: inline-flex; align-items: center; padding: .55rem 1.1rem;
  border: 1px solid var(--wp--preset--color--line); border-radius: 999px;
  background: var(--wp--preset--color--sand); font-size: .9rem; font-weight: 500;
  color: var(--wp--preset--color--contrast); text-decoration: none;
}
.sl-intent-links a:hover { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--base); border-color: var(--wp--preset--color--accent); }
.sl-hero-card .wp-block-button__link { padding: 1rem 1.6rem; }
.sl-hero-card .is-style-outline .wp-block-button__link { border: 2px solid var(--wp--preset--color--contrast); background: rgba(255,255,255,.4); color: var(--wp--preset--color--contrast); }
.sl-hero-card .is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--contrast); color: #fff; }
.sl-hero-chips { display: flex !important; flex-wrap: wrap; gap: .9rem; margin: 0 !important; }
.sl-hero-chip { background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.35); border-radius: 16px; padding: .85rem 1.3rem; color: #fff; }
.sl-hero-chip > * { margin: 0 !important; }
.sl-chip-num { font-family: var(--wp--preset--font-family--display); font-size: 1.7rem; line-height: 1.1; color: #fff; }
.sl-chip-label { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.85); }
@media (max-width: 781px) {
  .sl-hero3 { padding-top: 3rem !important; }
  .sl-hero3-inner { min-height: calc(88vh - 5rem); gap: 2rem; }
  .sl-hero-card { border-radius: 20px; }
  .sl-hero-chips { gap: .5rem; }
  .sl-hero-chip { padding: .6rem .8rem; flex: 1 1 0; min-width: 0; }
  .sl-chip-num { font-size: 1.25rem; }
  .sl-chip-label { font-size: .62rem; letter-spacing: .04em; }
  .sl-hero-card .wp-block-button { width: 100%; }
}
@media (max-height: 500px) and (orientation: landscape) { .sl-hero3, .sl-hero3-inner { min-height: 0; } .sl-hero3-inner { gap: 1.5rem; } }

/* Uniform hero chips and stats: same size, same alignment, no wrapping numbers */
.sl-hero-chips { display: grid !important; grid-template-columns: repeat(3, minmax(0, 220px)); gap: .9rem; align-items: stretch; }
.sl-hero-chip { display: flex; flex-direction: column; justify-content: center; min-height: 84px; padding: .8rem 1.1rem; }
.sl-chip-num { font-size: 1.4rem; line-height: 1.1; white-space: nowrap; }
.sl-chip-label { font-size: .66rem; letter-spacing: .07em; line-height: 1.35; margin-top: .25rem !important; }
.sl-stats-grid { align-items: start; }
.sl-stat { min-width: 0; }
.sl-stat-num { font-size: clamp(2rem, 1.4rem + 2vw, 3.1rem); white-space: nowrap; line-height: 1.1; }
.sl-stat-label { font-size: .72rem; letter-spacing: .1em; line-height: 1.5; margin-top: .5rem !important; }
@media (max-width: 781px) {
  .sl-hero-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
  .sl-hero-chip { min-height: 74px; padding: .6rem .7rem; }
  .sl-chip-num { font-size: 1.15rem; }
  .sl-chip-label { font-size: .58rem; letter-spacing: .03em; }
  .sl-stat-num { font-size: 2.2rem; }
}

/* Equal boxes: cancel the flow-layout top margin WordPress adds to every item after the first */
.sl-hero-chips > *, .sl-stats-grid > * { margin-block-start: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; }
.sl-hero-chips { grid-template-columns: repeat(3, 230px); grid-auto-rows: 96px; align-items: stretch; }
.sl-hero-chip { height: 96px; min-height: 0; box-sizing: border-box; justify-content: center; }
.sl-stats-grid { align-items: stretch; }
.sl-stat { display: flex; flex-direction: column; justify-content: flex-start; min-height: 120px; box-sizing: border-box; }
@media (max-width: 781px) {
  .sl-hero-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 84px; }
  .sl-hero-chip { height: 84px; }
  .sl-stat { min-height: 0; }
}

/* Office maps: main.js wraps the raw Google My Maps <iframe> in a .sl-map-card div so it reads as a
   proper card like the rest of the site (border, radius, shadow) instead of a bare, oddly-sized iframe
   sitting loose in the info grid. The wrapper also crops the My Maps title bar ("Sun Lawyers... /
   Stephen Hare", ~55px) by clipping its overflow and pulling the iframe up inside it.
   Change --sl-map-crop if a sliver of the title card still shows (bigger) or too much map is lost (smaller). */
.sl-office-info .sl-map-card {
  --sl-map-crop: 64px;
  --sl-map-h: 380px;
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  height: var(--sl-map-h);
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 16px;
  background: var(--wp--preset--color--sand);
  box-shadow: 0 10px 30px rgba(17,17,17,.06);
  margin-top: 0 !important;
  margin-bottom: 1rem;
}
.sl-office-info .sl-map-card iframe {
  position: absolute;
  top: calc(var(--sl-map-crop) * -1);
  left: 0;
  width: 100%;
  height: calc(100% + var(--sl-map-crop));
  border: 0;
}
@media (max-width: 1023px) { .sl-office-info .sl-map-card { --sl-map-h: 320px; } }
@media (max-width: 600px)  { .sl-office-info .sl-map-card { --sl-map-h: 260px; } }

/* Office team cards: language-flag line (flags restored 2026-09-29) */
.sl-team-grid:not(.sl-team-grid--row) .sl-team-card > p { margin: .35rem 0 0 !important; padding: 0 .1rem; }
.sl-team-grid:not(.sl-team-grid--row) .sl-team-card > p img.emoji { width: 1.1em; height: 1.1em; margin: 0 .15em 0 0; }

/* Home hero on phones/tablets: the card was shrinking to its heading width; make it full width, with full-width buttons */
@media (max-width: 781px) {
  /* Portrait phones crop the 16:9 video down to a narrow sliver; 100% 0%
     (desktop's top-right anchor) pushes the visible slice past the
     "SUN LAWYERS" tower into empty sky/background. Re-centre on the tower
     itself so the HQ branding and architecture are actually visible. */
  .sl-hero3 .wp-block-cover__image-background, .sl-hero3 .wp-block-cover__video-background { object-position: 65% 5%; }
  .sl-hero3-inner { align-items: stretch !important; min-height: calc(70vh - 5rem); }
  .sl-hero-card { width: 100% !important; max-width: none !important; align-self: stretch; padding: 1.25rem 1.1rem; }
  .sl-hero-card h1 { max-width: none; font-size: clamp(1.5rem, 6.5vw, 1.9rem) !important; line-height: 1.15; }
  .sl-hero-card p.has-large-font-size { font-size: .95rem !important; line-height: 1.5; }
  .sl-hero-reassure { font-size: .75rem !important; }
  .sl-google-rating { font-size: .75rem; padding: .4rem .75rem; }
  .sl-hero-card .wp-block-buttons { display: flex; flex-direction: column; gap: .6rem; width: 100%; margin-top: .5rem !important; }
  .sl-hero-card .wp-block-button, .sl-hero-card .wp-block-button__link { width: 100%; box-sizing: border-box; text-align: center; padding-top: .7rem; padding-bottom: .7rem; }
}
@media (max-width: 400px) {
  .sl-hero-card h1 { font-size: clamp(1.35rem, 7vw, 1.65rem) !important; }
}

/* Hero: the inner group also carries WP "global padding" on top of the cover's own padding, doubling the side gutters (card ~60px too narrow each side on phones) */
.sl-hero3-inner { padding-left: 0 !important; padding-right: 0 !important; }

/* Timeline arrows: prev/next buttons over the scrollable track */
.sl-timeline-wrap { position: relative; }
.sl-timeline-more { margin: 1.25rem 0 0 !important; font-weight: 600; }
.sl-timeline-more a { color: var(--wp--preset--color--accent-dark); text-decoration: none; }
.sl-timeline-more a:hover { text-decoration: underline; }
.sl-timeline-arrow {
  position: absolute; top: 1.9rem; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--base);
  color: var(--wp--preset--color--contrast); font-size: 1.1rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(17,17,17,.08); transition: background .2s ease, color .2s ease, opacity .2s ease;
}
.sl-timeline-arrow:hover { background: var(--wp--preset--color--accent); color: #fff; border-color: var(--wp--preset--color--accent); }
.sl-timeline-arrow[disabled] { opacity: .35; cursor: default; pointer-events: none; }
.sl-timeline-prev { right: 52px; }
.sl-timeline-next { right: 0; }
@media (max-width: 600px) { .sl-timeline-arrow { display: none; } }

/* News card images: same slow parallax drift + zoom as the "Why us" photo */
.sl-news-img { overflow: hidden; border-radius: 10px; }


/* Office-page review cards: horizontal carousel built from scattered blockquotes
   (see inc/enhancements.php). Reuses .sl-timeline-wrap/.sl-timeline-arrow for the
   arrow-button chrome; card visuals are its own .sl-review-* set. */
.sl-reviews { grid-column: 1 / -1; margin: 1.5rem 0 .5rem; }
.sl-review-track {
  display: flex !important; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x proximity;
  padding: .25rem .25rem 1.25rem; margin-top: 1rem; scrollbar-width: thin;
  -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 92%, transparent 100%);
  scrollbar-color: var(--wp--preset--color--accent) transparent;
}
.sl-review-track::-webkit-scrollbar { height: 6px; }
.sl-review-track::-webkit-scrollbar-thumb { background: var(--wp--preset--color--accent); border-radius: 999px; }
.sl-review-track::-webkit-scrollbar-track { background: var(--wp--preset--color--line); border-radius: 999px; }
.sl-review-card {
  flex: 0 0 min(300px, 82vw); scroll-snap-align: start; margin: 0 !important;
  background: var(--wp--preset--color--sand, #f7f3ec); border: 1px solid var(--wp--preset--color--line);
  border-radius: 12px; padding: 1.5rem 1.5rem 1.25rem; display: flex; flex-direction: column;
}
.sl-review-mark { font-size: 2.75rem; line-height: 1; color: var(--wp--preset--color--accent); font-family: Georgia, 'Times New Roman', serif; margin-bottom: .25rem; }
.sl-review-text { font-size: .95rem; line-height: 1.55; margin: 0 0 .75rem; flex: 1 1 auto; }
.sl-review-name { font-weight: 600; margin: 0; color: var(--wp--preset--color--contrast); }
.sl-review-prev { right: 52px; }
.sl-review-next { right: 0; }
@media (max-width: 600px) { .sl-review-card { flex-basis: min(260px, 80vw); } }

/* Featured service cards (tick "Featured" in a service's Service card box) span two columns
   with a larger, accent-tinted treatment so flagship services stand out. Dense packing lets a
   normal card fill the gap beside a featured one instead of leaving a hole. */
.sl-services .wp-block-post-template.is-layout-grid { grid-auto-flow: row dense; }
.sl-services .wp-block-post-template > li.sl-featured {
  grid-column: span 2;
}
.sl-services .wp-block-post-template > li.sl-featured .sl-service-card {
  background: linear-gradient(160deg, var(--wp--preset--color--sand) 0%, var(--wp--preset--color--base) 60%);
  border-color: var(--wp--preset--color--accent);
  padding: 2.1rem 2.1rem 2.3rem;
}
.sl-services .wp-block-post-template > li.sl-featured .sl-service-icon { width: 68px; height: 68px; border-radius: 20px; }
.sl-services .wp-block-post-template > li.sl-featured .sl-service-icon svg { width: 34px; height: 34px; }
.sl-services .wp-block-post-template > li.sl-featured .sl-service-card .wp-block-post-title {
  font-size: var(--wp--preset--font-size--x-large, 1.7rem);
}
.sl-services .wp-block-post-template > li.sl-featured .sl-service-card .wp-block-post-excerpt {
  font-size: 1.02rem;
  max-width: 42em;
}
.sl-services .wp-block-post-template > li.sl-featured .sl-service-card::after {
  height: 3px;
  background: var(--wp--preset--color--accent-dark);
}
@media (max-width: 900px) {
  .sl-services .wp-block-post-template > li.sl-featured {
    grid-column: span 1;
  }
  .sl-services .wp-block-post-template > li.sl-featured .sl-service-card {
    padding: 1.6rem 1.5rem 1.7rem;
  }
}

/* ---- reviews page: rating line under each office tile ---- */
.sl-office-card-rating { font-size: .85rem; font-weight: 600; color: var(--wp--preset--color--accent-dark); margin: .3rem 0 0 !important; }
.sl-office-card-rating--none { color: var(--wp--preset--color--stone); font-weight: 400; }

/* ==========================================================================
   Conversion pass (2026-10-05): contact page form-first layout, quick-contact
   buttons, office phone list, service-page inline CTA and FAQ.
   ========================================================================== */
.sl-contact-assurance { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .95rem; }
.sl-contact-assurance li { display: inline-flex; align-items: center; gap: .45rem; margin: 0; }
.sl-contact-assurance li::before { content: ""; width: 1.1rem; height: 1.1rem; flex: none; border-radius: 50%; background: var(--wp--preset--color--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/70% no-repeat; }

.sl-contact-quick { display: grid; gap: .6rem; margin: 0 0 1.5rem; }
.sl-quick-btn { display: block; text-align: center; padding: .8rem 1rem; border-radius: 999px; border: 2px solid var(--wp--preset--color--contrast); color: var(--wp--preset--color--contrast); font-weight: 600; text-decoration: none; line-height: 1.25; }
.sl-quick-btn small { display: block; font-weight: 400; font-size: .78rem; opacity: .75; }
.sl-quick-btn:hover { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); }
.sl-quick-whatsapp { background: #25d366; border-color: #25d366; color: #fff; }
.sl-quick-whatsapp:hover { background: #1ebe5b; border-color: #1ebe5b; color: #fff; }
.sl-quick-primary { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); }
.sl-quick-primary:hover { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); }

.sl-office-phones { margin: .5rem 0 0; border-top: 1px solid var(--wp--preset--color--line); padding-top: .75rem; }
.sl-office-phones summary { cursor: pointer; font-weight: 600; }
.sl-office-phone-list { list-style: none; margin: .75rem 0 0; padding: 0; }
.sl-office-phone-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px solid var(--wp--preset--color--line); font-size: .95rem; }
.sl-office-phone-list li:last-child { border-bottom: 0; }
.sl-office-phone-list a { color: var(--wp--preset--color--accent-dark); white-space: nowrap; }
@media (max-width: 781px) { .sl-contact-cols { gap: 1.5rem; } }

.sl-inline-cta { margin: 2rem 0; padding: 1.5rem; border-radius: 16px; background: var(--wp--preset--color--sand); border: 1px solid var(--wp--preset--color--line); border-left: 6px solid var(--wp--preset--color--accent); }
.sl-inline-cta p { margin: 0; }
.sl-inline-cta-title { font-size: var(--wp--preset--font-size--large); font-weight: 700; margin-bottom: .35rem !important; }
.sl-inline-cta-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem !important; }
.sl-inline-cta-actions .sl-quick-btn { padding: .7rem 1.3rem; }

.sl-service-faq { margin: 3rem 0 1rem; }
.sl-service-faq h2 { margin-bottom: 1rem; }
.sl-faq-item { border-bottom: 1px solid var(--wp--preset--color--line); padding: .25rem 0; }
.sl-faq-item summary { cursor: pointer; font-weight: 600; padding: .85rem 2rem .85rem 0; position: relative; list-style: none; }
.sl-faq-item summary::-webkit-details-marker { display: none; }
.sl-faq-item summary::after { content: "+"; position: absolute; right: .25rem; top: .75rem; font-size: 1.4rem; line-height: 1; color: var(--wp--preset--color--accent-dark); }
.sl-faq-item[open] summary::after { content: "\2212"; }
.sl-faq-item p { margin: 0 0 1rem; }
.sl-faq-item a { color: var(--wp--preset--color--accent-dark); text-decoration: underline; }

/* Office list: address + Google Maps button (2026-10-05) */
.sl-office-phone-list li.sl-office-row { display: block; padding: .75rem 0; }
.sl-office-row-main strong { display: block; }
.sl-office-row-main address { font-style: normal; font-size: .9rem; opacity: .8; margin: .15rem 0 0; line-height: 1.4; }
.sl-office-row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: .5rem; }
.sl-office-tel { font-weight: 600; }
.sl-map-btn { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .85rem; border: 1.5px solid var(--wp--preset--color--contrast); border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--wp--preset--color--contrast) !important; text-decoration: none; white-space: nowrap; }
.sl-map-btn::before { content: ""; width: .9em; height: .9em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E") center/contain no-repeat; }
.sl-map-btn:hover { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base) !important; }

/* Mobile menu: Contact us as a full-width button */
@media (max-width: 1023px) {
  .sl-header.sl-menu-open .wp-block-navigation .sl-menu-cta { margin-top: .9rem !important; }
  .sl-header.sl-menu-open .wp-block-navigation .sl-menu-cta .wp-block-navigation-item__content { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); text-align: center; border-radius: 999px; padding: .9rem 1rem; font-weight: 600; border-bottom: 0; }
}

/* Mobile menu: compact floating panel, max 80% of screen width, smaller type (2026-10-05) */
@media (max-width: 1023px) {
  .sl-header.sl-menu-open .wp-block-navigation {
    left: auto; right: .75rem; top: calc(100% + .35rem);
    width: 80vw; max-width: 340px;
    padding: .35rem 1.1rem 1.1rem;
    border: 1px solid var(--wp--preset--color--line);
    border-radius: 16px;
  }
  .sl-header.sl-menu-open .wp-block-navigation .wp-block-navigation-item__content { font-size: .98rem; padding: .7rem .15rem; }
  .sl-header.sl-menu-open .wp-block-navigation .sl-menu-cta { margin-top: .75rem !important; }
  .sl-header.sl-menu-open .wp-block-navigation .sl-menu-cta .wp-block-navigation-item__content { font-size: .95rem; padding: .75rem 1rem; }
}

/* Mobile bottom bar: Call | Manage consent | WhatsApp, three equal buttons (2026-10-05) */
.sl-sticky-callbar > a, .sl-sticky-callbar > button { flex: 1 1 0; min-width: 0; }
.sl-sticky-consent[hidden] { display: none !important; }
.sl-sticky-consent {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: .9rem .4rem; border: 0; border-right: 1px solid var(--wp--preset--color--line);
  background: var(--wp--preset--color--sand); color: var(--wp--preset--color--contrast);
  font: inherit; font-weight: 600; font-size: .85rem; line-height: 1.15; cursor: pointer;
}
.sl-sticky-callbar a { padding-left: .25rem; padding-right: .25rem; }
/* No floating "Manage consent" tab anywhere (2026-10-22): consent is changed from the button at the top of the
   Privacy policy page and the footer's "Cookie settings" link, which both press this hidden tab. */
#cmplz-manage-consent, .sl-consent-hidden { display: none !important; }

/* Privacy policy: "Manage your cookie consent" box at the top */
.sl-consent-box { box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin: 0 0 2.5rem; padding: 1.5rem 1.75rem; border: 1px solid var(--wp--preset--color--line); border-radius: 16px; background: var(--wp--preset--color--sand); }
.sl-consent-box[hidden] { display: none; }
.sl-consent-box h2 { margin: 0 0 .35rem; font-size: var(--wp--preset--font-size--large); }
.sl-consent-box p { margin: 0; max-width: 60ch; }
.sl-consent-box .sl-cookie-settings { display: inline-block; padding: .8rem 1.5rem; border-radius: 999px; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color .2s, transform .15s; }
.sl-consent-box .sl-cookie-settings:hover { background: var(--wp--preset--color--accent-dark); color: #fff; }
.sl-consent-box .sl-cookie-settings:active { transform: scale(.97); }

/* Desktop: tighter header. Less padding, and no block-gap strip between the header and the page content (2026-10-05) */
@media (min-width: 1024px) {
  .sl-header { padding-top: .45rem !important; padding-bottom: .45rem !important; }
  .wp-site-blocks > header.wp-block-template-part + * { margin-block-start: 0 !important; }
}

/* Round 2 (2026-10-05): polish, contrast, local office block */
body.single-sl_service .wp-block-post-date { display: none; }
.wp-site-blocks > footer.wp-block-template-part { margin-block-start: 0 !important; }
.sl-sticky-whatsapp { color: #0b3d1e !important; font-weight: 700; }
main .sl-eyebrow:not(.wp-block-cover .sl-eyebrow) { color: #9a5500; }
.sl-office-local { margin: 2rem 0; padding: 1.5rem; background: #faf6f0; border-radius: 12px; }
.sl-office-local-text { margin: 0 0 1rem; }
.sl-office-local-address { font-style: normal; margin: 0 0 1rem; }
.sl-office-local-actions { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; margin-bottom: 1rem; }
.sl-office-local-map iframe { width: 100%; height: 320px; border: 0; border-radius: 10px; }
@media (max-width: 781px) { .sl-office-local { padding: 1rem; } .sl-office-local-map iframe { height: 260px; } }

/* Lead capture (2026-10-05): enquiry section, review quotes, Zoho auto-height, sticky "Enquire" */
#sl-enquiry { scroll-margin-top: 90px; }
.sl-enquiry-band { background: var(--wp--preset--color--sand); border-top: 1px solid var(--wp--preset--color--line); border-bottom: 1px solid var(--wp--preset--color--line);
  padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--30); margin-top: var(--wp--preset--spacing--50) !important; margin-bottom: var(--wp--preset--spacing--40) !important; }
.sl-enquiry-band > .sl-enquiry { max-width: 1180px !important; margin-left: auto !important; margin-right: auto !important; }
.sl-enquiry-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 1rem + 2.5vw, 3.5rem); align-items: start; }
.sl-enquiry-intro { position: sticky; top: 110px; }
.sl-enquiry-heading { font-size: var(--wp--preset--font-size--x-large); margin: .35rem 0 .75rem; }
.sl-enquiry-sub { font-size: var(--wp--preset--font-size--large); line-height: 1.45; margin: 0 0 1.25rem; }
.sl-enquiry .sl-contact-assurance { margin: 0 0 1.5rem; flex-direction: column; }
.sl-enquiry-quick { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: 1.75rem; }
.sl-enquiry-quick .sl-quick-whatsapp:only-child, .sl-enquiry-quick > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.sl-enquiry-form { box-shadow: 0 18px 40px rgba(17,17,17,.06); }
.sl-zf-iframe { min-height: 1120px; transition: height .2s; }

.sl-review-quotes { display: grid; gap: .9rem; }
.sl-review-quote { margin: 0; padding: 1.1rem 1.25rem; background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--line); border-radius: 14px; }
.sl-review-stars { color: var(--wp--preset--color--accent); letter-spacing: .1em; font-size: .95rem; line-height: 1; margin-bottom: .5rem; }
.sl-review-quote blockquote { margin: 0; padding: 0; border: 0; }
.sl-review-quote blockquote p { margin: 0; font-size: .98rem; line-height: 1.55; }
.sl-review-quote figcaption { margin-top: .65rem; font-size: .85rem; line-height: 1.4; color: var(--wp--preset--color--stone); }
.sl-review-quote figcaption strong { display: block; color: var(--wp--preset--color--contrast); }
.sl-review-quote figcaption a { display: inline-block; margin-top: .2rem; color: #9a5500; }
.sl-contact-card .sl-review-quotes { margin-top: 1.75rem; }

@media (max-width: 900px) {
  .sl-enquiry-inner { grid-template-columns: 1fr; }
  .sl-enquiry-intro { position: static; }
  .sl-zf-iframe { min-height: 1250px; }
}

/* Sticky mobile bar: Call | Enquire | (Manage consent) | WhatsApp */
.sl-sticky-enquire { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast) !important; border-right: 1px solid rgba(17,17,17,.12); }
.sl-sticky-callbar .sl-sticky-consent { flex: .8 1 0; font-size: .78rem; }
@media (max-width: 380px) { .sl-sticky-callbar a { font-size: .85rem; gap: .3rem; } .sl-sticky-callbar a svg { width: 15px; height: 15px; } }

/* Meet your lawyers: homepage rotating banner, one office at a time (2026-10-05) */
.sl-team-home > .sl-team-carousel { max-width: 1240px !important; margin-left: auto !important; margin-right: auto !important; }
.sl-tc-head { max-width: 760px; margin-bottom: 1.5rem; }
.sl-tc-title { font-size: var(--wp--preset--font-size--x-large); margin: .35rem 0 .5rem; }
.sl-tc-intro { color: var(--wp--preset--color--stone); margin: 0; }
.sl-tc-nav { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1rem; }
.sl-tc-tabs { position: relative; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; flex: 1 1 auto; min-width: 0; padding: .25rem 0; }
.sl-tc-tabs::-webkit-scrollbar { display: none; }
.sl-tc-tab { flex: none; font: inherit; font-size: .9rem; font-weight: 600; padding: .5rem 1rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); transition: background .2s, border-color .2s; }
.sl-tc-tab:hover { border-color: var(--wp--preset--color--accent); }
.sl-tc-tab[aria-selected="true"] { background: var(--wp--preset--color--contrast); border-color: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); }
.sl-tc-pause { display: inline-flex; align-items: center; justify-content: center; padding: 0; flex: none; margin-top: .25rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--base); cursor: pointer; font-size: .75rem; color: var(--wp--preset--color--contrast); }
.sl-tc-pause:hover { border-color: var(--wp--preset--color--accent); }
.sl-tc-stage { position: relative; background: var(--wp--preset--color--sand); border: 1px solid var(--wp--preset--color--line); border-radius: 20px; padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); overflow: hidden; min-height: 300px; }
.sl-tc-progress { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: transparent; }
.sl-tc-progress span { display: block; height: 100%; width: 0; background: var(--wp--preset--color--accent); }
/* All slides share one grid cell, so the banner keeps the height of the largest office and the page never jumps. */
.sl-tc-stage { display: grid; }
.sl-tc-slide { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .45s, visibility 0s .45s; }
.sl-tc-slide.is-active { visibility: visible; opacity: 1; transition: opacity .45s; }
.sl-tc-slide { display: grid; grid-template-columns: minmax(180px, 1fr) 4fr; gap: clamp(1rem, .5rem + 2vw, 2.5rem); align-items: center; }
.sl-tc-slide.is-active .sl-tc-people { animation: sl-tc-in .45s cubic-bezier(.2,.7,.2,1); }
@keyframes sl-tc-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sl-tc-office-name { font-size: var(--wp--preset--font-size--large); margin: 0 0 .25rem; }
.sl-tc-office-area { font-size: .85rem; color: var(--wp--preset--color--stone); margin: 0 0 .75rem; }
.sl-tc-office-link { font-weight: 600; font-size: .9rem; color: #9a5500; text-decoration: none; }
.sl-tc-office-link:hover { text-decoration: underline; }
.sl-tc-people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 1rem .75rem; }
.sl-tc-people.is-many { grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: .85rem .6rem; }
.sl-tc-person { margin: 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.sl-tc-person img { width: 100%; max-width: 112px; aspect-ratio: 1; height: auto; object-fit: cover; object-position: center 25%; border-radius: 50%; border: 3px solid var(--wp--preset--color--base); box-shadow: 0 6px 16px rgba(17,17,17,.10); background: var(--wp--preset--color--line); }
.sl-tc-people.is-many .sl-tc-person img { max-width: 86px; }
.sl-tc-name { display: block; margin-top: .45rem; font-size: .85rem; font-weight: 600; line-height: 1.25; color: var(--wp--preset--color--contrast); }
.sl-tc-people.is-many .sl-tc-name { font-size: .78rem; }
.sl-tc-flags { display: block; font-size: .8rem; line-height: 1.3; margin-top: .15rem; letter-spacing: .05em; }
@media (max-width: 781px) {
  .sl-tc-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; scroll-padding-left: 1rem; }
  .sl-tc-slide { grid-template-columns: 1fr; }
  .sl-tc-office { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; }
  .sl-tc-office-area { margin: 0; }
  .sl-tc-people, .sl-tc-people.is-many { grid-template-columns: repeat(4, 1fr); gap: .75rem .4rem; }
  .sl-tc-person img, .sl-tc-people.is-many .sl-tc-person img { max-width: 72px; }
  .sl-tc-name, .sl-tc-people.is-many .sl-tc-name { font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) { .sl-tc-slide.is-active .sl-tc-people { animation: none; } .sl-tc-slide { transition: none !important; } }

/* Sticky header (2026-10-05): always pinned so the phones and WhatsApp stay in view; slimmer once scrolled */
.sl-header.is-hidden { transform: none; }
@media (min-width: 1024px) {
  .sl-header.is-scrolled { padding-top: .25rem !important; padding-bottom: .25rem !important; }
}

/* Final CTA at the end of every page (footer, after the office list) */
.sl-final-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem;
  margin: var(--wp--preset--spacing--40) auto var(--wp--preset--spacing--30) !important; padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); border-radius: 20px; position: relative; overflow: hidden; }
.sl-final-cta::after { content: ""; position: absolute; width: 380px; aspect-ratio: 1; right: -110px; top: -150px; border-radius: 50%; border: 1px solid rgba(17,17,17,.2); pointer-events: none; }
.sl-final-cta-text { flex: 1 1 420px; position: relative; z-index: 1; }
.sl-final-cta h2 { color: var(--wp--preset--color--contrast) !important; font-size: var(--wp--preset--font-size--x-large); margin: 0 0 .5rem; }
.sl-final-cta p { color: var(--wp--preset--color--contrast) !important; margin: 0; font-size: var(--wp--preset--font-size--large); line-height: 1.45; }
.sl-final-cta-actions { flex: 0 1 auto; display: flex; flex-direction: column; align-items: stretch; gap: .85rem; position: relative; z-index: 1; }
.sl-dark .sl-final-cta a.sl-final-cta-primary, .sl-final-cta-primary { display: block; text-align: center; padding: 1rem 2rem; border-radius: 999px; background: var(--wp--preset--color--contrast); color: #fff !important; font-weight: 700; font-size: 1.05rem; text-decoration: none !important; transition: transform .2s, box-shadow .2s; }
.sl-final-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(17,17,17,.25); }
.sl-final-cta-secondary { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.1rem; }
.sl-dark .sl-final-cta-secondary a, .sl-final-cta-secondary a { color: var(--wp--preset--color--contrast) !important; font-weight: 600; font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 781px) { .sl-final-cta-actions { width: 100%; } }

/* Homepage services: Tourist Licences feature card under the practice-area grid (2026-10-05) */
.sl-feature-card { box-sizing: border-box; background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--line); border-radius: 16px; transition: box-shadow .3s, border-color .3s; }
.sl-feature-card:hover { box-shadow: 0 18px 40px rgba(17,17,17,.08); border-color: var(--wp--preset--color--accent); }
.sl-feature-card { display: flex; align-items: center; gap: 1.25rem; margin-top: 1.25rem !important; padding: 1.4rem 1.75rem; text-decoration: none !important; color: var(--wp--preset--color--contrast); border-left: 6px solid var(--wp--preset--color--accent); height: auto; }
.sl-feature-card-icon { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--wp--preset--color--sand); color: var(--wp--preset--color--accent-dark); display: flex; align-items: center; justify-content: center; }
.sl-feature-card-text { flex: 1 1 auto; min-width: 0; }
.sl-feature-card-title { display: block; font-family: var(--wp--preset--font-family--display); font-size: var(--wp--preset--font-size--large); line-height: 1.2; margin-bottom: .3rem; }
.sl-feature-card-desc { display: block; color: var(--wp--preset--color--stone); font-size: .98rem; line-height: 1.55; }
.sl-feature-card-arrow { flex: none; font-size: 1.5rem; color: var(--wp--preset--color--accent-dark); transition: transform .25s; }
.sl-feature-card:hover .sl-feature-card-arrow { transform: translateX(4px); }
.sl-feature-card:hover .sl-feature-card-title { color: var(--wp--preset--color--accent-dark); }
@media (max-width: 600px) { .sl-feature-card { align-items: flex-start; padding: 1.1rem 1.1rem; gap: .9rem; } .sl-feature-card-icon { width: 42px; height: 42px; } .sl-feature-card-arrow { display: none; } }

/* Lead magnet: free guide signup (hidden until SL_GUIDE_FORM_URL is set) */
.sl-guide-home:not(:has(.sl-guide, .sl-dl)) { display: none; }
.sl-guide { max-width: 1180px; margin: 0 auto; background: var(--wp--preset--color--contrast); color: #fff; border-radius: 20px; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.sl-guide--inline { margin-bottom: var(--wp--preset--spacing--50) !important; }
.sl-guide-inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.25rem, 1rem + 2vw, 3rem); align-items: center; }
.sl-guide-intro { display: flex; gap: 1.5rem; align-items: center; }
.sl-guide-cover { flex: none; width: 150px; height: auto; border-radius: 6px; box-shadow: 0 16px 36px rgba(0,0,0,.4); transform: rotate(-3deg); }
.sl-guide .sl-eyebrow { color: var(--wp--preset--color--accent) !important; }
.sl-guide-title { color: #fff !important; font-size: var(--wp--preset--font-size--x-large); margin: .35rem 0 .6rem; }
.sl-guide-sub { color: rgba(255,255,255,.85); margin: 0 0 1rem; }
.sl-guide .sl-contact-assurance { flex-direction: column; color: rgba(255,255,255,.9); margin: 0; }
.sl-guide-form { background: #fff; border-radius: 14px; overflow: hidden; }
.sl-guide-iframe { width: 100%; border: 0; display: block; min-height: 420px; }
@media (max-width: 900px) {
  .sl-guide-inner { grid-template-columns: 1fr; }
  .sl-guide-cover { width: 110px; }
}
@media (max-width: 480px) { .sl-guide-intro { flex-direction: column; align-items: flex-start; } }

/* Free downloads (Configure Website → Free downloads): hook + button to the guide's Zoho sign-up page */
.sl-dl { max-width: 1180px; margin: 0 auto; border-radius: 20px; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(1rem, .8rem + 1.5vw, 2.5rem); align-items: center; }
.sl-dl:not(:has(.sl-dl-cover)) { grid-template-columns: minmax(0, 1fr) auto; }
.sl-dl--dark { background: var(--wp--preset--color--contrast); color: #fff; }
.sl-dl--sand { background: var(--wp--preset--color--sand); color: var(--wp--preset--color--contrast); }
.sl-dl--light { background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); border: 1px solid var(--wp--preset--color--line); }
.sl-dl--inline { margin-bottom: var(--wp--preset--spacing--50) !important; }
.sl-dl--block { margin-block: var(--wp--preset--spacing--50); }
.sl-dl-cover { width: 120px; height: auto; border-radius: 6px; box-shadow: 0 14px 30px rgba(0,0,0,.3); transform: rotate(-3deg); }
.sl-dl .sl-eyebrow { margin: 0; }
.sl-dl--dark .sl-eyebrow { color: var(--wp--preset--color--accent) !important; }
.sl-dl-title { font-size: var(--wp--preset--font-size--x-large); margin: .3rem 0 .5rem; }
.sl-dl--dark .sl-dl-title { color: #fff !important; }
.sl-dl-text { margin: 0 0 .75rem; }
.sl-dl--dark .sl-dl-text { color: rgba(255,255,255,.85); }
.sl-dl .sl-dl-points { flex-direction: column; margin: 0; }
.sl-dl--dark .sl-dl-points { color: rgba(255,255,255,.9); }
.sl-dl-action { margin: 0; }
.sl-dl-btn { white-space: nowrap; text-decoration: none; }
.sl-dl .sl-dl-btn--dark { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); }
.sl-dl--dark .sl-dl-btn--dark { box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.sl-dl .sl-dl-btn--outline { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.sl-dl .sl-dl-btn--light { background: #fff; color: var(--wp--preset--color--contrast); box-shadow: inset 0 0 0 1px var(--wp--preset--color--line); }
.sl-dl .sl-dl-btn:hover, .sl-dl .sl-dl-btn:focus-visible { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); box-shadow: none; }
.sl-dl .sl-dl-btn--accent:hover, .sl-dl .sl-dl-btn--accent:focus-visible { background: var(--wp--preset--color--accent-dark); color: #fff; }
.sl-dl-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.25rem; }
.sl-dl--card { grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: auto 1fr auto; align-items: start; margin: 0; padding: 1.5rem; height: 100%; box-sizing: border-box; }
.sl-dl--card:not(:has(.sl-dl-cover)) { grid-template-rows: 1fr auto; }
.sl-dl--card .sl-dl-cover { width: 84px; }
.sl-dl--card .sl-dl-title { font-size: var(--wp--preset--font-size--large); }
@media (max-width: 760px) {
  .sl-dl { grid-template-columns: minmax(0, 1fr) !important; }
  .sl-dl-cover { width: 96px; }
  .sl-dl-btn { white-space: normal; }
}
.sl-zoho-form { max-width: 760px; margin: 0 auto; }
.sl-zoho-form .sl-zoho-form-iframe { width: 100%; border: 0; display: block; min-height: 640px; }
/* The sticky must sit on the template-part wrapper: .sl-header's own parent is only as tall as the header, so sticky on it never engaged. */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 60; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
.wp-site-blocks > header.wp-block-template-part .sl-header { position: relative; top: auto !important; }
@media (max-width: 782px) { .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 46px; } }
@media (max-width: 600px) { .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; } }
@media (max-height: 500px) and (orientation: landscape) { .wp-site-blocks > header.wp-block-template-part { position: static; } }

/* Timeline with a photo per milestone (2026-10-06) */
.sl-timeline-track--photos > .sl-timeline-item { flex: 0 0 min(280px, 78vw); }
.sl-timeline-media { margin: 0 0 1rem !important; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--wp--preset--color--sand); border: 1px solid var(--wp--preset--color--line); }
.sl-timeline-media img { display: block; width: 100%; height: 100% !important; object-fit: cover; }
.sl-timeline-media--year { display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--wp--preset--color--sand), #f3e6d3); }
.sl-timeline-media--year span { font-family: var(--wp--preset--font-family--display); font-size: 3.2rem; line-height: 1; color: var(--wp--preset--color--accent-dark); opacity: .55; }
.sl-timeline-media--year small { margin-top: .4rem; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--wp--preset--color--stone); }
.sl-timeline-media--today { display: flex; align-items: center; justify-content: center; background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); }
.sl-timeline-today-stats { display: flex; flex-direction: column; gap: .35rem; margin: 0 !important; text-align: center; color: var(--wp--preset--color--contrast); font-size: .95rem; }
.sl-timeline-today-stats strong { font-family: var(--wp--preset--font-family--display); font-size: 1.9rem; font-weight: 500; margin-right: .35rem; }
.sl-timeline-cta { margin: .75rem 0 0 !important; }
.sl-timeline-cta a { font-weight: 700; color: #9a5500; text-decoration: none; }
.sl-timeline-cta a:hover { text-decoration: underline; }
.sl-timeline-track--photos .sl-timeline-item::before, .sl-timeline-track--photos .sl-timeline-item::after { top: -1.5rem; }
.sl-timeline-track--photos .sl-timeline-item::after { top: calc(-1.5rem - 6px); }

/* ===== Services mega menu (inc/mega-menu.php) ===================================================
   Desktop (≥1024px): full-width panel under the header. Mobile: accordion inside the menu. */
.sl-has-mega { display: flex; align-items: center; gap: .15rem; }
.sl-mega-toggle { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; transition: transform .25s ease, background .2s ease; }
.sl-mega-toggle:hover, .sl-mega-toggle:focus-visible { background: var(--wp--preset--color--sand); }
.sl-has-mega.is-open > .sl-mega-toggle { transform: rotate(180deg); }
.sl-mega { --sl-mega-gap: 1.25rem; }
.sl-mega-grid { list-style: none; margin: 0; padding: 0; }
.sl-mega-card { display: flex; gap: .9rem; align-items: flex-start; text-decoration: none !important; color: var(--wp--preset--color--contrast); border-radius: 14px; }
.sl-mega-icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #fdf0de; color: var(--wp--preset--color--accent-dark); transition: background .2s ease, color .2s ease, transform .25s ease; }
.sl-mega-text { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.sl-mega-title { font-family: var(--wp--preset--font-family--display); font-size: 1.12rem; line-height: 1.25; font-weight: 600; }
.sl-mega-desc { font-size: .86rem; line-height: 1.45; color: var(--wp--preset--color--stone); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sl-mega-sub { list-style: none; margin: .55rem 0 0 calc(44px + .9rem); padding: 0; display: flex; flex-direction: column; gap: .3rem; }
.sl-header .sl-mega ul.sl-mega-sub { list-style: none; margin: .5rem 0 0 calc(44px + .9rem) !important; padding: 0 !important; display: flex !important; flex-direction: column; gap: .25rem; }
.sl-header .sl-mega ul.sl-mega-sub li { display: block !important; margin: 0 !important; padding: 0 !important; width: auto !important; }
.sl-header .sl-mega .sl-mega-grid { list-style: none; padding: 0 !important; }
.sl-mega-sub a { font-size: .88rem; color: var(--wp--preset--color--contrast); text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.sl-mega-sub a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--wp--preset--color--accent); flex: 0 0 auto; }
.sl-mega-sub a:hover { color: var(--wp--preset--color--accent-dark); text-decoration: underline; }
.sl-mega-all { display: inline-flex; gap: .4rem; font-weight: 600; font-size: .92rem; color: var(--wp--preset--color--accent-dark); text-decoration: none; }
.sl-mega-all:hover span { transform: translateX(3px); }
.sl-mega-all span { transition: transform .2s ease; }
.sl-mega-aside-title { font-family: var(--wp--preset--font-family--display); font-size: 1.25rem; line-height: 1.2; margin: 0 0 .5rem; color: var(--wp--preset--color--contrast); }
.sl-mega-aside-text { font-size: .9rem; line-height: 1.5; color: var(--wp--preset--color--stone); margin: 0 0 1.1rem; }
.sl-mega-cta { display: block; text-align: center; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast) !important; font-weight: 600; font-size: .95rem; line-height: 1.3; padding: .75rem 1rem; border-radius: 999px; text-decoration: none !important; transition: background .2s ease, color .2s ease; margin-bottom: 1rem; }
.sl-mega-cta:hover { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base) !important; }
.sl-mega-tel { display: flex; justify-content: space-between; gap: .75rem; padding: .55rem 0; border-top: 1px solid var(--wp--preset--color--line); font-size: .9rem; font-weight: 600; color: var(--wp--preset--color--contrast) !important; text-decoration: none !important; }
.sl-mega-tel span { font-weight: 400; color: var(--wp--preset--color--stone); }
.sl-mega-tel:hover { color: var(--wp--preset--color--accent-dark) !important; }

@media (min-width: 1024px) {
  /* The panel spans the whole header, so the menu items must not be the positioning context. */
  .sl-header .wp-block-navigation, .sl-header .wp-block-navigation__container, .sl-header .wp-block-navigation-item.sl-has-mega { position: static !important; }
  .sl-has-mega > .wp-block-navigation-item__content { padding-right: 0; }
  .sl-mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 70; padding: 0 var(--wp--preset--spacing--30) 0; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .22s ease, transform .28s cubic-bezier(.2,.7,.2,1), visibility 0s linear .28s; pointer-events: none; }
  .sl-has-mega.is-open > .sl-mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; pointer-events: auto; }
  .sl-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge from the menu item */
  .sl-mega-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2rem; background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--line); border-top: 3px solid var(--wp--preset--color--accent); border-radius: 0 0 22px 22px; box-shadow: 0 30px 60px rgba(17,17,17,.12); padding: 1.75rem; }
  .sl-mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem var(--sl-mega-gap); margin-bottom: 1.1rem; }
  .sl-mega-item { padding: .85rem; border-radius: 16px; transition: background .2s ease; }
  .sl-mega-item:hover, .sl-mega-item:focus-within { background: var(--wp--preset--color--sand); }
  .sl-mega-item:hover .sl-mega-icon, .sl-mega-item:focus-within .sl-mega-icon { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); transform: scale(1.05); }
  .sl-mega-card:hover .sl-mega-title { color: var(--wp--preset--color--accent-dark); }
  .sl-mega-main { display: flex; flex-direction: column; padding: .1rem 0 0; }
  .sl-mega-all { margin-left: .85rem; }
  .sl-mega-aside { background: var(--wp--preset--color--sand); border-radius: 18px; padding: 1.5rem; align-self: start; }
  .sl-mega-item { opacity: 0; transform: translateY(6px); transition: background .2s ease, opacity .3s ease, transform .35s cubic-bezier(.2,.7,.2,1); }
  .sl-has-mega.is-open .sl-mega-item { opacity: 1; transform: none; }
  .sl-has-mega.is-open .sl-mega-item:nth-child(2) { transition-delay: .03s; } .sl-has-mega.is-open .sl-mega-item:nth-child(3) { transition-delay: .06s; }
  .sl-has-mega.is-open .sl-mega-item:nth-child(4) { transition-delay: .09s; } .sl-has-mega.is-open .sl-mega-item:nth-child(5) { transition-delay: .12s; }
  .sl-has-mega.is-open .sl-mega-item:nth-child(n+6) { transition-delay: .15s; }
  .sl-has-mega.is-open .sl-mega-item:hover { transition-delay: 0s; }
  .sl-header.sl-mega-active { box-shadow: 0 6px 24px rgba(0,0,0,.05); }
}
@media (min-width: 1024px) and (max-width: 1180px) {
  .sl-mega-inner { grid-template-columns: minmax(0, 1fr) 250px; gap: 1.25rem; padding: 1.25rem; }
  .sl-mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .sl-header .wp-block-navigation .wp-block-navigation-item.sl-has-mega,
  .sl-header.sl-menu-open .wp-block-navigation .wp-block-navigation-item.sl-has-mega { display: flex !important; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--wp--preset--color--line); }
  .sl-header.sl-menu-open .wp-block-navigation .sl-has-mega > .wp-block-navigation-item__content { border-bottom: 0 !important; }
  .sl-header.sl-menu-open .wp-block-navigation .sl-has-mega > .wp-block-navigation-item__content { flex: 1 1 auto; width: auto !important; }
  .sl-header.sl-menu-open .wp-block-navigation .sl-has-mega > .wp-block-navigation-item__content::after { content: none; }
  .sl-has-mega > .sl-mega-toggle { flex: 0 0 auto; width: 42px; height: 42px; margin-left: .5rem; border: 1px solid var(--wp--preset--color--line); color: var(--wp--preset--color--accent-dark); }
  .sl-has-mega > .sl-mega-toggle svg { width: 18px; height: 18px; }
  .sl-mega { flex: 0 0 100%; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
  .sl-has-mega.is-open > .sl-mega { grid-template-rows: 1fr; }
  .sl-mega-inner { overflow: hidden; min-height: 0; }
  .sl-mega-grid { display: flex; flex-direction: column; padding: .4rem 0 .6rem; }
  .sl-mega-item { padding: .55rem 0; }
  .sl-header.sl-menu-open .wp-block-navigation .sl-mega a.sl-mega-card { display: flex !important; padding: 0 !important; border: 0 !important; font-size: 1rem !important; font-family: inherit !important; }
  .sl-header.sl-menu-open .wp-block-navigation .sl-mega a::after { content: none !important; }
  .sl-mega-icon { width: 36px; height: 36px; border-radius: 10px; }
  .sl-mega-desc { display: none; }
  .sl-mega-title { font-size: 1.05rem; }
  .sl-header .sl-mega ul.sl-mega-sub { margin-left: calc(36px + .9rem) !important; }
  .sl-header.sl-menu-open .wp-block-navigation .sl-mega-sub a { display: inline-flex !important; padding: .3rem 0 !important; border: 0 !important; font-size: .95rem !important; font-family: inherit !important; }
  .sl-mega-all { margin: .2rem 0 .6rem; }
  .sl-mega-aside { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sl-mega, .sl-mega-item, .sl-mega-toggle, .sl-mega-icon { transition: none !important; }
}

/* ===== Enquiry form on phones (2026-10-07) =====================================================
   The Zoho form draws its own background and card inside the iframe, so on a phone our card,
   border and padding around it squeezed the fields into about half the screen. Below 782px the
   form now runs edge to edge with nothing around it, giving the fields the full width. */
@media (max-width: 782px) {
  .sl-contact-form-card,
  .sl-enquiry .sl-enquiry-form.sl-contact-form-card {
    padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important;
    width: 100vw !important; max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important;
  }
  .sl-contact-form-card .sl-zf-iframe { width: 100% !important; }
  .sl-enquiry-band { padding-bottom: 0 !important; }
}

/* ===== Header phones on phones (2026-10-07) ====================================================
   Where the sticky bottom bar shows (≤781px) it already has WhatsApp, so the header drops its
   WhatsApp link and keeps both numbers on one row — a shorter header, more page on screen. */
@media (max-width: 781px) {
  .sl-header .sl-header-whatsapp { display: none !important; }
  .sl-header .sl-header-phones { flex-wrap: nowrap !important; gap: 1rem !important; padding-top: .45rem; }
  .sl-header .sl-header-tel { font-size: .86rem; gap: .35rem; }
}
@media (max-width: 374px) {
  .sl-header .sl-header-phones { gap: .6rem !important; }
  .sl-header .sl-header-tel { font-size: .78rem; gap: .25rem; }
  .sl-header .sl-tel-flag { font-size: .9rem; }
}

/* ===== Service cards: the whole card is the link (2026-10-07) ==================================
   The title link is stretched over the card, so the icon, text and empty space all open the
   service. Keyboard users get a focus ring around the whole card. */
.sl-service-card { cursor: pointer; }
.sl-service-card .wp-block-post-title a::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.sl-service-card .wp-block-post-title a:focus-visible { outline: none; }
.sl-service-card:has(.wp-block-post-title a:focus-visible) { outline: 3px solid var(--wp--preset--color--accent); outline-offset: 3px; }
.sl-service-card:hover .wp-block-post-title a { color: var(--wp--preset--color--accent-dark); }

/* ===== Mobile menu as a full-width sheet (2026-10-07) ==========================================
   Replaces the earlier floating 80%-wide card: that card lost its side padding once the Services
   accordion was added, and the "Speak to a lawyer" button overflowed it. Now the menu drops down
   the full width of the screen under the header, everything inside sizes to it, and it scrolls
   when the Services list is open. */
@media (max-width: 1023px) {
  /* WordPress also puts the class "wp-block-navigation" on the list inside the menu, so every
     "menu panel" rule above was applied to the list too (its own padding, border and position).
     Panel rules go on the <nav> only; the inner list is reset to a plain full-width list. */
  .sl-header.sl-menu-open ul.wp-block-navigation {
    position: static !important; inset: auto !important; width: 100% !important; max-width: none !important; max-height: none !important;
    padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
    background: none !important; overflow: visible !important; animation: none !important;
  }
  .sl-header.sl-menu-open nav.wp-block-navigation {
    left: 0 !important; right: 0 !important; top: 100% !important;
    width: auto !important; max-width: none !important;
    padding: .25rem var(--wp--preset--spacing--30) 1.25rem !important;
    border: 0 !important; border-top: 1px solid var(--wp--preset--color--line) !important;
    border-radius: 0 0 20px 20px !important;
    max-height: calc(100vh - 140px) !important; max-height: calc(100dvh - 140px) !important;
    overflow-y: auto !important; overscroll-behavior: contain;
    box-sizing: border-box;
  }
  .sl-header.sl-menu-open .wp-block-navigation *, .sl-header.sl-menu-open .wp-block-navigation *::before, .sl-header.sl-menu-open .wp-block-navigation *::after { box-sizing: border-box; }
  .sl-header.sl-menu-open .wp-block-navigation .wp-block-navigation-item { max-width: 100% !important; }
  .sl-header.sl-menu-open .wp-block-navigation .sl-menu-cta { margin-top: 1rem !important; border: 0 !important; }
  .sl-header.sl-menu-open .wp-block-navigation .sl-menu-cta .wp-block-navigation-item__content {
    display: flex !important; justify-content: center; width: 100% !important; max-width: 100% !important;
    padding: .85rem 1rem !important; font-size: 1rem !important; border-radius: 999px; border-bottom: 0 !important;
  }
}

/* Footer copyright row: copyright left, Privacy · Cookie settings right (stacked on phones) */
.sl-copyright { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .4rem 1.5rem; margin-top: 1.25rem; }
.sl-copyright p { margin: 0; }
.sl-copyright a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.sl-copyright a:hover { color: var(--wp--preset--color--accent); }
.sl-copyright-links a { white-space: nowrap; }
@media (max-width: 600px) { .sl-copyright { flex-direction: column; } }

/* Timeline built from blocks (synced pattern "Timeline", 2026-10-07): year cards and photo focus */
.sl-timeline-media.wp-block-image img { display: block; width: 100%; height: 100% !important; object-fit: cover; }
.sl-timeline-media.sl-pos-35 img { object-position: center 35%; }
.sl-timeline-media.sl-pos-top img { object-position: center top; }
.sl-timeline-media--year .sl-tl-card-year { font-family: var(--wp--preset--font-family--display); font-size: 3.2rem; line-height: 1; color: var(--wp--preset--color--accent-dark); opacity: .55; margin: 0 !important; }
.sl-timeline-media--year .sl-tl-card-label { margin: .4rem 0 0 !important; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--wp--preset--color--stone); }
.sl-timeline-track > .sl-timeline-item > * { margin-block-start: 0; }
/* In the editor, lay the timeline out in rows so every milestone can be reached and edited. */
.editor-styles-wrapper .sl-timeline-track { flex-wrap: wrap !important; overflow: visible !important; -webkit-mask-image: none !important; mask-image: none !important; row-gap: 3.5rem; }
.editor-styles-wrapper .sl-timeline-arrow { display: none; }

/* ---- Tabs (Group "sl-tabs" with Groups "sl-tab"; see main.js) ---- */
.sl-tabs { margin-block: 2rem; }
.sl-tabs-list, .sl-tabs-acc { display: none; }
.sl-tabs > .sl-tab { scroll-margin-top: 110px; }
.sl-tabs--ready > .sl-tab:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 4px; }
.sl-tabs--ready > .sl-tab > :first-child { margin-top: 0; }
@media (min-width: 782px) {
  .sl-tabs--ready {
    display: grid; grid-template-columns: minmax(170px, 230px) 1fr; align-items: start;
    border: 1px solid var(--wp--preset--color--line); border-radius: 14px; overflow: hidden;
    background: var(--wp--preset--color--base);
  }
  .sl-tabs--ready > .sl-tabs-list {
    display: flex; flex-direction: column; grid-row: 1 / span 99; align-self: stretch;
    background: var(--wp--preset--color--sand); border-right: 1px solid var(--wp--preset--color--line);
  }
  .sl-tabs-btn {
    all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%;
    padding: .95rem 1.25rem; font-size: .92rem; font-weight: 500; letter-spacing: .02em;
    color: var(--wp--preset--color--contrast); border-bottom: 1px solid var(--wp--preset--color--line);
    border-left: 3px solid transparent; transition: background .15s, border-color .15s;
  }
  .sl-tabs-btn:hover { background: rgba(255, 255, 255, .6); }
  .sl-tabs-btn:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: -2px; }
  .sl-tabs-btn[aria-selected="true"] {
    background: var(--wp--preset--color--base); border-left-color: var(--wp--preset--color--accent);
    font-weight: 700; color: var(--wp--preset--color--accent-dark);
  }
  .sl-tabs--ready > .sl-tab { grid-column: 2; padding: 2rem 2.25rem 2.25rem; min-width: 0; }
}
@media (max-width: 781px) {
  .sl-tabs--ready > .sl-tabs-acc {
    all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; position: relative;
    padding: 1rem 2.5rem 1rem 1rem; font-weight: 600; background: var(--wp--preset--color--sand);
    border: 1px solid var(--wp--preset--color--line); border-radius: 10px; margin-top: .5rem;
  }
  .sl-tabs--ready > .sl-tabs-acc::after {
    content: "+"; position: absolute; right: 1rem; top: .8rem; font-size: 1.4rem; line-height: 1;
    color: var(--wp--preset--color--accent-dark);
  }
  .sl-tabs--ready > .sl-tabs-acc[aria-expanded="true"] { border-radius: 10px 10px 0 0; background: var(--wp--preset--color--base); border-bottom-color: transparent; }
  .sl-tabs--ready > .sl-tabs-acc[aria-expanded="true"]::after { content: "\2212"; }
  .sl-tabs--ready > .sl-tab { border: 1px solid var(--wp--preset--color--line); border-top: 0; border-radius: 0 0 10px 10px; padding: .5rem 1rem 1.25rem; }
}
/* In the editor: show each tab as a labelled box. */
.editor-styles-wrapper .sl-tabs > .sl-tab { border: 1px dashed var(--wp--preset--color--line); border-radius: 10px; padding: 1rem 1.25rem; margin-block: .75rem; }

/* ---- Header: phone numbers in a slim top bar on desktop (audit U4) ---- */
@media (min-width: 1101px) {
  .sl-header .wp-block-group.alignwide { flex-wrap: wrap; row-gap: 0; }
  .sl-header-phones {
    order: -1; flex-basis: 100%; width: 100%; justify-content: flex-end; gap: 1.5rem;
    margin: -.35rem 0 .55rem; padding-bottom: .45rem; border-bottom: 1px solid var(--wp--preset--color--line);
  }
  .sl-header-phones .sl-header-tel { font-size: .8rem; font-weight: 500; color: var(--wp--preset--color--contrast); opacity: .8; }
  .sl-header-phones .sl-header-tel:hover { opacity: 1; }
  .sl-header.is-scrolled .sl-header-phones { display: none !important; }
}

/* ---- Intent chips: one swipeable row on phones (audit U3) ---- */
@media (max-width: 781px) {
  .sl-intent-links { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-right: calc(-1 * var(--wp--preset--spacing--30)); padding-right: var(--wp--preset--spacing--30); }
  .sl-intent-links::-webkit-scrollbar { display: none; }
  .sl-intent-links a { flex: 0 0 auto; white-space: nowrap; }
}

/* ---- Offices by region: tabs (audit U1) ---- */
.sl-region-tablist { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; }
.sl-region-tablist[hidden] { display: none; }
.sl-region-tab {
  all: unset; box-sizing: border-box; cursor: pointer; padding: .55rem 1.15rem; border-radius: 999px;
  border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--base); font-size: .92rem; font-weight: 500;
}
.sl-region-tab:hover { border-color: var(--wp--preset--color--accent); }
.sl-region-tab:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 2px; }
.sl-region-tab[aria-pressed="true"] { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); border-color: var(--wp--preset--color--contrast); }
@media (max-width: 781px) {
  .sl-region-tablist { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .sl-region-tab { flex: 0 0 auto; white-space: nowrap; }
}

/* ---- Client reviews strip (audit C1) ---- */
.sl-reviews-strip { max-width: 1240px; margin: 0 auto; }
.sl-reviews-strip-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.5rem; }
.sl-reviews-strip-head h2 { margin: .25rem 0 0; }
.sl-reviews-strip-score { display: inline-flex; align-items: baseline; gap: .5rem; text-decoration: none; color: var(--wp--preset--color--contrast); padding: .6rem 1rem; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; background: var(--wp--preset--color--base); }
.sl-reviews-strip-score strong { font-size: 1.35rem; }
.sl-reviews-strip-stars, .sl-reviews-strip .sl-review-stars { color: #e8a317; letter-spacing: .08em; }
.sl-reviews-strip-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, calc((100% - 3rem) / 3)); gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem .1rem 1rem; scrollbar-width: thin; }
.sl-reviews-strip-card { scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; gap: .75rem; padding: 1.5rem; background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--line); border-radius: 16px; }
.sl-reviews-strip-card blockquote { margin: 0; padding: 0; border: 0; flex: 1 1 auto; }
.sl-reviews-strip-card blockquote p { margin: 0; font-size: 1rem; line-height: 1.6; }
.sl-reviews-strip-card figcaption { display: flex; align-items: center; gap: .75rem; font-size: .9rem; }
.sl-reviews-strip-card figcaption small { display: block; color: #6b6b6b; font-size: .8rem; }
.sl-reviews-strip-avatar { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--wp--preset--color--sand); color: var(--wp--preset--color--accent-dark); font-weight: 700; }
.sl-reviews-strip-more { margin: .75rem 0 0; }
.sl-reviews-strip-more a { font-weight: 600; color: var(--wp--preset--color--accent-dark); }
@media (max-width: 781px) { .sl-reviews-strip-track { grid-auto-columns: 85%; } }

/* ---- "What happens next" beside enquiry forms (audit C6) ---- */
.sl-next-steps { margin: 1.25rem 0; padding: 1rem 1.25rem; border-left: 3px solid var(--wp--preset--color--accent); background: rgba(247,148,29,.07); border-radius: 0 12px 12px 0; }
.sl-next-steps-title { margin: 0 0 .4rem; font-weight: 700; }
.sl-next-steps ol { margin: 0; padding-left: 1.2rem; }
.sl-next-steps li { margin: .2rem 0; }

/* ---- Free guide: the site's own sign-up form (audit C4) ---- */
.sl-guide-native { color: var(--wp--preset--color--contrast); padding: clamp(1rem, .5rem + 1.5vw, 1.75rem); }
.sl-guide-native p { margin: 0 0 .85rem; }
.sl-guide-native label { display: block; font-size: .9rem; margin-bottom: .3rem; }
.sl-guide-native input[type=text], .sl-guide-native input[type=email] { width: 100%; box-sizing: border-box; padding: .8rem 1rem; border-radius: 10px; border: 1px solid var(--wp--preset--color--line); background: #fff; color: var(--wp--preset--color--contrast); font: inherit; }
.sl-guide-native input:focus { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 1px; }
.sl-guide-native .sl-guide-consent label { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; line-height: 1.45; }
.sl-guide-native .sl-guide-consent a { color: inherit; }
.sl-guide-native button { width: 100%; }
.sl-guide-hp { position: absolute !important; left: -9999px; }
.sl-guide-error { color: #b42318; font-weight: 600; }
.sl-guide-done { color: var(--wp--preset--color--contrast); padding: clamp(1rem, .5rem + 1.5vw, 1.75rem); }
.sl-guide-done-title { font-size: 1.25rem; font-weight: 700; margin: 0 0 .5rem; }
.sl-reviews-home:not(:has(.sl-reviews-strip)), .sl-guide-home:not(:has(.sl-guide, .sl-dl)) { display: none; }

/* Awards / press strip under the homepage stats (review 2026-10-20) */
.sl-awards { background: var(--wp--preset--color--base); border-bottom: 1px solid var(--wp--preset--color--line); padding: clamp(1.25rem, .8rem + 1.5vw, 2rem) var(--wp--preset--spacing--30); }
.sl-awards-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1rem, .5rem + 2vw, 2.5rem); margin: 0 auto; }
.sl-awards-label { margin: 0; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--stone); }
.sl-awards-row img { width: auto; height: clamp(72px, 60px + 3vw, 104px); object-fit: contain; }
.sl-awards-points { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; max-width: 26rem; }
.sl-awards-points li { font-size: .9rem; line-height: 1.4; color: var(--wp--preset--color--contrast); }
.sl-awards-points strong { display: block; font-size: 1rem; }
@media (max-width: 600px) { .sl-awards-label { width: 100%; text-align: center; } .sl-awards-points { text-align: center; } }

/* Cookie bar: keep it short on phones so the hero stays visible (review 2026-10-20) */
@media (max-width: 768px) {
  .cmplz-cookiebanner.cmplz-bottom { padding: 12px 14px !important; row-gap: 8px !important; }
  .cmplz-cookiebanner.cmplz-bottom .cmplz-body .cmplz-message { font-size: 12px !important; line-height: 1.4 !important; }
  .cmplz-cookiebanner.cmplz-bottom .cmplz-buttons { flex-direction: row !important; gap: 6px !important; }
  .cmplz-cookiebanner.cmplz-bottom .cmplz-buttons .cmplz-btn { flex: 1 1 0 !important; height: 40px !important; min-height: 40px !important; margin: 0 !important; padding: 0 6px !important; font-size: 13px !important; white-space: nowrap !important; }
  .cmplz-cookiebanner.cmplz-bottom .cmplz-documents { margin-top: 0 !important; }
}

/* ==========================================================================
   Review 2026-10-21: impeccable + taste-skill + Emil Kowalski motion standards.
   Refinement only: logo, palette, fonts and copy unchanged.
   ========================================================================== */
:root {
  --sl-ease-out: cubic-bezier(0.23, 1, 0.32, 1);   /* strong ease-out for UI (Emil) */
  --sl-ink-accent: #9e5a08;                         /* the brand orange, dark enough for small text: 5.4:1 on white, 5:1 on sand */
}

/* Motion: hover feedback only for real pointers, short ease-out, no permanent GPU layers. */
.sl-card { will-change: auto; transition: transform 200ms var(--sl-ease-out), box-shadow 200ms ease, border-color 200ms ease; }
.wp-block-button:not(.is-style-outline) > .wp-block-button__link { will-change: auto; }
.sl-card:hover { transform: none; }
@media (hover: hover) and (pointer: fine) {
  .sl-card:hover { transform: translateY(-4px); }
}
.wp-block-button__link, .sl-final-cta-primary, .sl-mega-cta, .sl-header .sl-menu-cta .wp-block-navigation-item__content { transition: transform 160ms var(--sl-ease-out), background-color 200ms ease, color 200ms ease; }
.wp-block-button__link:active, .sl-final-cta-primary:active, .sl-mega-cta:active, .sl-header .sl-menu-cta .wp-block-navigation-item__content:active { transform: scale(0.97); }
.sl-service-card:hover .sl-service-icon { transform: none; }
.sl-timeline-track.is-drawn .sl-timeline-item > * { transition: opacity .5s var(--sl-ease-out) .15s, transform .5s var(--sl-ease-out) .15s; }
@media (prefers-reduced-motion: reduce) {
  .sl-js .sl-timeline-item > * { opacity: 1 !important; transform: none !important; }
  .wp-block-button__link:active, .sl-final-cta-primary:active { transform: none; }
}

/* Contrast (WCAG AA): small orange text moves to the darker orange. */
.sl-google-rating-text strong, .sl-reviews-strip-more a, .sl-reviews-strip-avatar, .sl-google-rating-stars { color: var(--sl-ink-accent); }
.sl-reviews-strip-stars, .sl-reviews-strip .sl-review-stars, .sl-review-stars { color: #9a6410; }
.sl-timeline-media--year { background: var(--wp--preset--color--sand); }
.sl-timeline-media--year span, .sl-timeline-media--year .sl-tl-card-year { color: var(--sl-ink-accent); opacity: 1; }

/* Labels: sentence case at a readable size instead of tiny tracked capitals. */
.sl-eyebrow, .sl-stat-label, .sl-awards-label, .sl-timeline-media--year small, .sl-timeline-media--year .sl-tl-card-label {
  text-transform: none; letter-spacing: 0; font-size: .95rem;
}
.sl-eyebrow { font-weight: 600; }
.sl-stat-label { color: rgba(255,255,255,.82); line-height: 1.4; }
.sl-tel-num { font-size: .875rem; }
.sl-tc-name, .sl-tc-people.is-many .sl-tc-name { font-size: .85rem; }
.sl-reviews-strip-card small, .sl-review-card small { font-size: .85rem; }
@media (max-width: 781px) { .sl-tc-name, .sl-tc-people.is-many .sl-tc-name { font-size: .8125rem; } }

/* Practice areas: icon beside the heading, not a tile stacked on top of it; flat fills. */
.sl-service-card { display: grid !important; grid-template-columns: auto 1fr; column-gap: .85rem; align-items: center; align-content: start; }
.sl-service-card > .sl-service-icon { grid-column: 1; width: auto; height: auto; margin: 0; padding: 0; background: none; border-radius: 0; color: var(--sl-ink-accent); }
.sl-service-card > .sl-service-icon svg { width: 28px; height: 28px; }
.sl-service-card > h3 { grid-column: 2; margin: 0 !important; }
.sl-service-card > :not(.sl-service-icon):not(h3) { grid-column: 1 / -1; margin-top: .75rem; }
.sl-service-card:hover .sl-service-icon { background: none; color: var(--sl-ink-accent); }
.sl-services .wp-block-post-template > li.sl-featured .sl-service-card { background: var(--wp--preset--color--sand); }
.sl-services .wp-block-post-template > li.sl-featured .sl-service-icon { width: auto; height: auto; border-radius: 0; }
.sl-services .wp-block-post-template > li.sl-featured .sl-service-icon svg { width: 36px; height: 36px; }

/* Latest news: cards keep their own height, so a post without a picture is not a tall empty box. */
.sl-news-home .wp-block-post-template { align-items: start; }
.sl-news-home .sl-card { height: auto; }
.sl-news-home .sl-news-img:not(:has(img)) { display: none; }

/* Hero: a wider measure keeps the headline to two lines on desktop (copy unchanged). */
@media (min-width: 1100px) { .sl-hero-card { max-width: 1060px; } }

/* Why us: the 01/02/03 index numbers are gone, so the list is a single column. */
.sl-why-item { grid-template-columns: 1fr; }
.sl-why-item > * { grid-column: 1; }
@media (min-width: 1100px) { .sl-hero-card h1 { max-width: none; } }

/* Headings break into even lines; the timeline link joins the darker orange. */
h1, h2, h3 { text-wrap: balance; }
.sl-timeline-more a { color: var(--sl-ink-accent); }

/* The two featured practice-area titles stay on two lines on tablets and phones. */
@media (max-width: 1023px) {
  .sl-services .wp-block-post-template > li.sl-featured .sl-service-card h3 { font-size: clamp(1.35rem, 1.05rem + 1.3vw, 1.75rem) !important; }
}

/* Offices page cards: the area line sat 10px into the office name (negative margin). */
.sl-office-area { margin: .35rem 0 .75rem !important; }
.sl-office-grid .sl-card a[href^="tel:"], .sl-card-post a[href^="tel:"] { color: var(--sl-ink-accent); }

/* Contrast on inner pages: small orange text uses the darker orange; WhatsApp keeps its green with dark text (9.5:1). */
.sl-office-card-rating, .sl-office-local-rating, .sl-eyebrow, .sl-eyebrow a, .taxonomy-category a, .taxonomy-sl_kb_cat a, .page-numbers, .wp-block-query-pagination-next, .wp-block-query-pagination-previous, .wp-block-post-navigation-link a,
:where(main) :where(p, li) > a, :where(main) :where(p, li) > a > strong { color: var(--sl-ink-accent); }
.sl-dark .sl-eyebrow, .sl-dark .sl-eyebrow a { color: var(--wp--preset--color--accent); }
.sl-quick-whatsapp, .sl-quick-whatsapp:hover, .sl-sticky-whatsapp { color: #111 !important; }
.sl-quick-whatsapp svg { fill: currentColor; }

/* Reading pages (services, news, knowledge base): a comfortable measure, and no single-word last lines. */
:where(.single, .single-sl_service, .single-sl_kb) .wp-block-post-content.is-layout-constrained { max-width: 640px; margin-left: auto; margin-right: auto; }
:where(.single, .single-sl_service, .single-sl_kb) .wp-block-post-content.is-layout-constrained > :not(.alignwide):not(.alignfull) { max-width: 100%; }
p, li { text-wrap: pretty; }

/* ---- Landing pages for ads (inc/landing-pages.php, templates/page-landing.html) 2026-10-21 ---- */
.sl-lp-header { border-bottom: 1px solid var(--wp--preset--color--line); }
.sl-lp-header .sl-lp-phones { display: flex !important; }
.sl-lp > .wp-block-post-content > * { margin-block-start: 0; }
.sl-lp-hero { background: var(--wp--preset--color--sand); padding: clamp(1.5rem, 1rem + 3vw, 4rem) var(--wp--preset--spacing--30); }
.sl-lp-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: start; }
.sl-lp-hero h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); line-height: 1.1; margin: 0 0 1rem; text-wrap: balance; }
.sl-lp-lede { font-size: 1.15rem; line-height: 1.55; margin: 0 0 1.25rem; max-width: 38em; }
.sl-lp-ticks { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .55rem; }
.sl-lp-ticks li { position: relative; padding-left: 1.9rem; line-height: 1.45; }
.sl-lp-ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--wp--preset--color--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat; }
.sl-lp-hero .sl-google-rating { background: #fff; border-color: var(--wp--preset--color--line); margin: 0; }

.sl-lp-form-card { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 16px; padding: clamp(1.1rem, .8rem + 1.2vw, 1.75rem); box-shadow: 0 18px 40px -24px rgba(17,17,17,.35); scroll-margin-top: 1rem; }
.sl-lp-form-title { font-size: 1.35rem; font-weight: 700; line-height: 1.2; margin: 0 0 .3rem; }
.sl-lp-form-sub { font-size: .92rem; color: var(--wp--preset--color--stone); margin: 0 0 1rem; }
.sl-lp-form p { margin: 0 0 .8rem; }
.sl-lp-form label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .3rem; }
.sl-lp-form label span { font-weight: 400; color: var(--wp--preset--color--stone); }
.sl-lp-form input[type=text], .sl-lp-form input[type=email], .sl-lp-form input[type=tel], .sl-lp-form textarea, .sl-lp-form select { width: 100%; box-sizing: border-box; padding: .75rem .95rem; border-radius: 10px; border: 1px solid #cfc7bb; background: #fff; color: var(--wp--preset--color--contrast); font: inherit; font-size: 1rem; }
.sl-lp-form textarea { resize: vertical; min-height: 5.5rem; }
.sl-lp-form input:focus, .sl-lp-form textarea:focus, .sl-lp-form select:focus { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 1px; border-color: transparent; }
.sl-lp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .8rem; }
.sl-lp-form .sl-lp-consent label { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; font-weight: 400; line-height: 1.45; }
.sl-lp-form .sl-lp-consent input { margin-top: .2rem; flex: none; }
.sl-lp-form .sl-lp-consent a { color: var(--sl-ink-accent); }
.sl-lp-form button { width: 100%; font-size: 1.05rem; padding: .95rem 1.2rem; }
.sl-lp-error { color: #b42318; font-weight: 600; }

.sl-lp-section { padding: clamp(2.5rem, 1.5rem + 3vw, 4.5rem) var(--wp--preset--spacing--30); }
.sl-lp-section.is-sand { background: var(--wp--preset--color--sand); }
.sl-lp-section h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); line-height: 1.15; margin: 0 0 1.5rem; text-wrap: balance; }
.sl-lp-grid > *, .sl-lp-hero-grid > *, .sl-lp-faq > * { margin-block-start: 0 !important; }
.sl-lp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.sl-lp-item { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 14px; padding: 1.25rem 1.3rem; }
.sl-lp-item h3 { font-size: 1.1rem; margin: 0 0 .4rem; }
.sl-lp-item p { margin: 0; color: #3d3d3d; line-height: 1.5; }
.sl-lp-steps { list-style: none; counter-reset: lp; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.sl-lp-steps li { counter-increment: lp; position: relative; padding-top: 3rem; line-height: 1.5; }
.sl-lp-steps li::before { content: counter(lp); position: absolute; top: 0; left: 0; width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--wp--preset--color--contrast); color: #fff; }
.sl-lp-steps strong { display: block; font-size: 1.05rem; margin-bottom: .25rem; }
.sl-lp-faq details { border-bottom: 1px solid var(--wp--preset--color--line); padding: 1rem 0; }
.sl-lp-faq summary { font-weight: 600; cursor: pointer; font-size: 1.05rem; }
.sl-lp-faq details p { margin: .6rem 0 0; line-height: 1.6; max-width: 46em; }
.sl-lp-final { text-align: center; }
.sl-lp-final p { max-width: 36em; margin: 0 auto 1.25rem; }
.sl-lp-final .wp-block-buttons { justify-content: center; }
.sl-lp-footer-links { font-size: .9rem; margin: 0 0 .5rem; }
.sl-lp-footer-links a { color: rgba(255,255,255,.85) !important; }
.sl-lp-thanks { max-width: 40em; margin: 0 auto; text-align: center; }

@media (max-width: 900px) {
  .sl-lp-hero-grid { grid-template-columns: 1fr; }
  .sl-lp-lede { font-size: 1.05rem; }
}
@media (max-width: 520px) {
  .sl-lp-row { grid-template-columns: 1fr; }
  .sl-lp-header .sl-tel-num { font-size: .8rem; }
}

/* ---------- Office pages (inc/office-page.php): details, team by department, other information ---------- */
.sl-office-main { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem 3rem; align-items: stretch; margin-block: 0 4rem !important; }
.sl-office-facts h2, .sl-office-team > h2 { margin: 0 0 .75rem; font-size: var(--wp--preset--font-size--x-large); }
.sl-office-intro { margin: 0 0 1.75rem; color: var(--wp--preset--color--stone); max-width: 52ch; }
.sl-office-facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.5rem 2rem; padding: 1.5rem 0; border-block: 1px solid var(--wp--preset--color--line); }
.sl-office-fact h3, .sl-office-tags h3 { margin: 0 0 .5rem; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sl-ink-accent, #9e5a08); }
.sl-office-fact p { margin: 0; line-height: 1.55; }
.sl-office-hours { margin: 0; display: grid; gap: .35rem; }
.sl-office-hours div { display: flex; justify-content: space-between; gap: 1rem; }
.sl-office-hours dt { font-weight: 600; white-space: nowrap; }
.sl-office-hours dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sl-office-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin: 1.5rem 0 0; }
.sl-office-actions .sl-office-call { display: inline-block; padding: .75rem 1.4rem; border-radius: 999px; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); font-weight: 600; text-decoration: none; transition: background-color .2s, transform .15s; }
.sl-office-actions .sl-office-call:hover { background: var(--wp--preset--color--accent-dark); color: #fff; }
.sl-office-actions .sl-office-call:active { transform: scale(.97); }
.sl-office-map { min-height: 360px; border-radius: 16px; overflow: hidden; border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--sand); }
.sl-office-map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }
.sl-office-tags { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 1.5rem 3rem; }
.sl-tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.sl-tag-list li { padding: .4rem .95rem; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; font-size: .9rem; background: var(--wp--preset--color--sand); }

.sl-office-team { margin-block: 0 3rem !important; }
.sl-office-team > h2 { margin-bottom: 1.5rem; }
.sl-dept + .sl-dept { margin-top: 2.5rem; }
.sl-dept-name { margin: 0 0 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--wp--preset--color--line); font-size: var(--wp--preset--font-size--large); }
.sl-office-team .sl-team-grid { list-style: none; padding: 0; margin: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 1.25rem; }
.sl-office-team .sl-team-card { display: flex; flex-direction: column; height: auto; box-sizing: border-box; }
.sl-team-card-link { color: inherit; text-decoration: none; }
.sl-team-card-link:hover h4, .sl-team-card-link:focus-visible h4 { color: var(--wp--preset--color--accent-dark); }
.sl-office-team .sl-team-card figure { margin: 0 0 .9rem; overflow: hidden; border-radius: 10px; aspect-ratio: 1 / 1; background: var(--wp--preset--color--sand); }
.sl-office-team .sl-team-card figure img { display: block; width: 100%; height: 100% !important; object-fit: cover; object-position: center top; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.sl-office-team .sl-team-card:hover figure img { transform: scale(1.04); }
.sl-team-noimg { display: block; width: 100%; height: 100%; }
.sl-office-team .sl-team-card h4 { margin: 0 0 .2rem; font-size: var(--wp--preset--font-size--medium, 1.1rem); }
.sl-team-role { margin: 0 0 .35rem !important; font-size: .88rem; color: var(--wp--preset--color--stone); }
.sl-team-flags { margin: auto 0 0 !important; letter-spacing: .1em; }

.sl-office-other:not(:empty) { margin-top: 1rem; }
.sl-office-other > * { max-width: 75ch; }
.sl-office-other > figure, .sl-office-other > .wp-block-image { max-width: 560px; }
.sl-office-other img { border-radius: 12px; height: auto; }
.sl-office-other > .sl-reviews { max-width: none; }

@media (max-width: 1023px) {
  .sl-office-main { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .sl-office-map, .sl-office-map iframe { min-height: 300px; }
}
@media (max-width: 600px) {
  .sl-office-team .sl-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .sl-office-team .sl-team-card { padding: .6rem .6rem 1rem; }
  .sl-office-hours div { flex-direction: column; gap: 0; }
  .sl-office-map, .sl-office-map iframe { min-height: 260px; }
}
@media (prefers-reduced-motion: reduce) { .sl-office-team .sl-team-card:hover figure img { transform: none; } }

/* Offices mega menu (inc/mega-menu.php): region columns + help card with two buttons. */
.sl-mega-cta--alt { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base) !important; }
.sl-mega-cta--alt:hover { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast) !important; }
.sl-mega--offices .sl-mega-cta + .sl-mega-cta { margin-top: -.4rem; }
.sl-mega--offices .sl-mega-sub li a { line-height: 1.35; }
@media (min-width: 1024px) {
  .sl-mega--offices .sl-mega-grid { margin-bottom: 0; }
  .sl-mega--offices .sl-mega-all { display: none; } /* the help card's Find an Office button covers it */
}
.sl-mega--offices .sl-mega-card:hover .sl-mega-title { color: inherit; }

/* Offices mega menu on phones: each region is a drop-down of its offices, then the help card's
   first two buttons ("Book your free consultation" is left to the menu's own call-to-action). */
.sl-mega-region-toggle { display: none; }
@media (max-width: 1023px) {
  .sl-mega--offices .sl-mega-grid { padding: .2rem 0 .4rem; }
  .sl-mega--offices .sl-mega-item { position: relative; padding: 0; border-bottom: 1px solid var(--wp--preset--color--line); }
  .sl-mega--offices .sl-mega-item:last-child { border-bottom: 0; }
  .sl-mega--offices .sl-mega-card { align-items: center; min-height: 58px; padding-right: 48px; }
  .sl-mega-region-toggle { display: flex; position: absolute; top: 0; left: 0; right: 0; height: 58px; align-items: center; justify-content: flex-end; padding: 0 .75rem 0 0; border: 0; border-radius: 12px; background: transparent; color: var(--wp--preset--color--accent-dark); cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .sl-mega-region-toggle svg { transition: transform .25s ease; }
  .sl-mega-region-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .sl-mega-region-toggle:focus-visible { outline: 2px solid var(--wp--preset--color--accent-dark); outline-offset: -2px; }
  .sl-header .sl-mega--offices ul.sl-mega-sub { display: none !important; margin-top: 0 !important; padding-bottom: .7rem !important; }
  .sl-header .sl-mega--offices .sl-mega-item.is-open ul.sl-mega-sub { display: flex !important; animation: sl-rise .3s cubic-bezier(.2,.7,.2,1) both; }
  .sl-mega--offices .sl-mega-all, .sl-mega--offices .sl-mega-aside-text, .sl-mega--offices .sl-mega-tel, .sl-mega--offices .sl-mega-cta--book { display: none; }
  .sl-mega--offices .sl-mega-aside { display: block; margin: .3rem 0 1rem; padding: 1.1rem; border-radius: 16px; background: var(--wp--preset--color--sand); }
  .sl-mega--offices .sl-mega-aside-title { font-size: 1.1rem; margin-bottom: .8rem; }
  .sl-mega--offices .sl-mega-cta { margin-bottom: .6rem; }
  .sl-mega--offices .sl-mega-cta + .sl-mega-cta { margin-top: 0; }
  .sl-mega--offices .sl-mega-cta:nth-last-of-type(2) { margin-bottom: 0; } /* the last one showing; the booking button is hidden */
}
@media (prefers-reduced-motion: reduce) {
  .sl-mega-region-toggle svg { transition: none; }
  .sl-header .sl-mega--offices .sl-mega-item.is-open ul.sl-mega-sub { animation: none; }
}

/* ===== Timeline, framed (2026-10-22) ==========================================================
   Everywhere the firm timeline appears (homepage, About, office pages): an orange rounded frame on
   pale orange, each milestone a white card, and a solid orange line with an arrowhead between the
   years so it reads as time moving forward. The prev/next buttons are solid orange and sit under
   the cards on the row of the "About" link (inside the wrap), on every screen size. */
.sl-timeline { --sl-tl-gap: 2rem; --sl-tl-pale: #fef4e7; position: relative; background: var(--sl-tl-pale); border: 2px solid var(--wp--preset--color--accent); border-radius: 28px; padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); }
.sl-timeline > h2 { margin-top: 0 !important; }
.sl-timeline .sl-timeline-track { gap: var(--sl-tl-gap); padding: 3.4rem .25rem 1.5rem; margin-top: .5rem; scroll-padding-left: .25rem; }
.sl-timeline .sl-timeline-track > .sl-timeline-item { background: var(--wp--preset--color--base); border: 1px solid rgba(247,148,29,.28); border-radius: 20px; padding: .7rem .7rem 1.4rem; box-shadow: 0 12px 28px -14px rgba(158,90,8,.35); }
.sl-timeline .sl-timeline-item > :not(.sl-timeline-media) { padding-inline: .5rem; }
.sl-timeline .sl-timeline-item .sl-timeline-media { margin-bottom: 1.1rem !important; border-radius: 14px; }
/* The line from this year's marker to the next one, ending in an arrowhead. */
.sl-timeline .sl-timeline-track .sl-timeline-item::before { top: -2.35rem; left: 30px; width: calc(100% + var(--sl-tl-gap) - 40px); height: 16px;
  background: linear-gradient(var(--wp--preset--color--accent), var(--wp--preset--color--accent)) left center / calc(100% - 9px) 4px no-repeat,
              url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 16'%3E%3Cpath d='M0 0l12 8-12 8z' fill='%23f7941d'/%3E%3C/svg%3E") right center / 12px 16px no-repeat; }
.sl-timeline .sl-timeline-track .sl-timeline-item:last-child::before { width: 0; background: none; }
/* Year marker: solid orange with a white ring. */
.sl-timeline .sl-timeline-track .sl-timeline-item::after { top: calc(-2.35rem - 3px); left: 2px; width: 22px; height: 22px; border: 4px solid var(--wp--preset--color--base); background: var(--wp--preset--color--accent); box-shadow: 0 0 0 2px var(--wp--preset--color--accent); }
.sl-timeline .sl-timeline-year { color: var(--sl-ink-accent, #9e5a08); }
/* Prev/next: solid orange, under the cards on the right; the About link shares the row. */
.sl-timeline .sl-timeline-wrap:not(:has(.sl-timeline-more)) { padding-bottom: 60px; }
.sl-timeline .sl-timeline-arrow { top: auto; bottom: 0; width: 48px; height: 48px; border: 0; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); font-size: 1.3rem; font-weight: 700; box-shadow: 0 8px 18px -6px rgba(158,90,8,.55); }
.sl-timeline .sl-timeline-arrow:hover { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); }
.sl-timeline .sl-timeline-arrow:focus-visible { outline: 3px solid var(--wp--preset--color--contrast); outline-offset: 3px; }
.sl-timeline .sl-timeline-arrow[disabled] { opacity: .4; box-shadow: none; }
.sl-timeline .sl-timeline-prev { right: 60px; }
.sl-timeline .sl-timeline-more { display: flex; align-items: center; min-height: 48px; max-width: calc(100% - 130px); margin: .5rem 0 0 !important; }
@media (max-width: 600px) {
  .sl-timeline { --sl-tl-gap: 1.25rem; border-radius: 22px; padding: 1.4rem 1rem; }
  .sl-timeline .sl-timeline-track > .sl-timeline-item { flex-basis: min(280px, 80vw); }
  .sl-timeline .sl-timeline-arrow { display: flex; width: 44px; height: 44px; }
  .sl-timeline .sl-timeline-prev { right: 54px; }
  .sl-timeline .sl-timeline-wrap:not(:has(.sl-timeline-more)) { padding-bottom: 56px; }
  .sl-timeline .sl-timeline-more { min-height: 44px; max-width: calc(100% - 110px); font-size: .95rem; }
}
.editor-styles-wrapper .sl-timeline .sl-timeline-wrap { padding-bottom: 0; }

/* "WhatsApp us" buttons (office + service enquiry boxes, contact): white logo and white text on one
   centred row. The green is WhatsApp's, deepened so white text reads (5:1; the bright #25d366 is 2:1). */
.sl-quick-btn.sl-quick-whatsapp { display: flex; align-items: center; justify-content: center; gap: .5rem; white-space: nowrap; background: #13803d; border-color: #13803d; color: #fff !important; }
.sl-quick-btn.sl-quick-whatsapp:hover { background: #0f6b33; border-color: #0f6b33; color: #fff !important; }
.sl-quick-btn.sl-quick-whatsapp svg { flex: 0 0 auto; width: 20px; height: 20px; fill: #fff; }
.sl-quick-num { white-space: nowrap; }
.sl-enquiry-quick .sl-quick-btn { padding-inline: .75rem; }
@media (max-width: 600px) { .sl-enquiry-quick { grid-template-columns: 1fr; } }

/* ===== Language switcher (Configure Website → Translations) =====================================
   A globe + language code at the end of the phone-number row; the list drops down below it. */
.sl-lang { position: relative; display: inline-flex; flex: 0 0 auto; }
.sl-lang-toggle { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .55rem; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); font: inherit; font-size: .8rem; font-weight: 600; line-height: 1; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.sl-lang-toggle:hover, .sl-lang.is-open .sl-lang-toggle { border-color: var(--wp--preset--color--accent); background: var(--wp--preset--color--sand); }
.sl-lang-toggle:focus-visible { outline: 2px solid var(--wp--preset--color--accent-dark); outline-offset: 2px; }
.sl-lang-caret { transition: transform .2s ease; }
.sl-lang.is-open .sl-lang-caret { transform: rotate(180deg); }
.sl-lang-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 90; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .1rem; width: min(340px, calc(100vw - 32px)); max-height: min(75vh, 560px); overflow-y: auto; margin: 0; padding: .4rem; list-style: none; background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--line); border-top: 3px solid var(--wp--preset--color--accent); border-radius: 14px; box-shadow: 0 20px 40px rgba(17,17,17,.14); }
.sl-lang-list[hidden] { display: none; }
.sl-lang-list li { margin: 0; }
.sl-lang-list button { display: flex; align-items: center; gap: .5rem; width: 100%; padding: .55rem .6rem; border: 0; border-radius: 9px; background: none; color: var(--wp--preset--color--contrast); font: inherit; font-size: .92rem; text-align: left; cursor: pointer; }
.sl-lang-list button:hover, .sl-lang-list button:focus-visible { background: var(--wp--preset--color--sand); outline: none; }
.sl-lang-list button[aria-current] { font-weight: 700; color: var(--sl-ink-accent, #9e5a08); }
.sl-lang-list button[aria-current]::after { content: "✓"; margin-left: auto; }
.sl-lang-flag { font-size: 1.1rem; line-height: 1; }
@media (max-width: 781px) {
  .sl-header .sl-header-phones { gap: .75rem !important; }
  .sl-lang-toggle { padding: .28rem .45rem; font-size: .78rem; }
  .sl-lang-toggle > svg:first-child { width: 14px; height: 14px; }
}
@media (max-width: 374px) { .sl-lang-caret { display: none; } }

/* Google's translator: no toolbar, page offset, tooltips or highlight boxes over the translated page. */
iframe.skiptranslate, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-yAWNEb-L7lbkb, #sl-google-translate { display: none !important; }
body { top: 0 !important; }
.sl-translated font { background: none !important; box-shadow: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* Latest from Facebook (inc/facebook-feed.php), homepage after the news. */
.sl-fb { max-width: 1240px; margin: 0 auto; }
.sl-fb-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.5rem; }
.sl-fb-head h2 { margin: 0; }
.sl-fb-follow { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.1rem; border-radius: 999px; background: #1877f2; color: #fff; font-weight: 600; text-decoration: none; transition: transform 160ms var(--sl-ease-out), background-color 200ms ease; }
.sl-fb-follow:hover { background: #0b5fcc; color: #fff; }
.sl-fb-follow:active { transform: scale(.97); }
.sl-fb-actions { display: flex; align-items: center; gap: .75rem; }
.sl-fb-nav { display: flex; gap: .4rem; }
.sl-fb-btn { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); cursor: pointer; transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 160ms var(--sl-ease-out); }
.sl-fb-btn:hover { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); color: #fff; }
.sl-fb-btn:active { transform: scale(.94); }
.sl-fb-btn:focus-visible, .sl-fb-track:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 2px; }
.sl-fb-btn[hidden] { display: none; }
.sl-fb-pause .sl-fb-i-play, .sl-fb-pause.is-paused .sl-fb-i-pause { display: none; }
.sl-fb-pause.is-paused .sl-fb-i-play { display: block; }
/* One row: 4 cards on wide screens, 2 on tablets, 1¼ on phones (the edge of the next shows it scrolls). */
.sl-fb-track { --sl-fb-gap: 1.25rem; display: flex; gap: var(--sl-fb-gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; padding: 2px; margin: -2px; border-radius: 18px; }
.sl-fb-track::-webkit-scrollbar { display: none; }
.sl-fb-card { flex: 0 0 calc((100% - 3 * var(--sl-fb-gap)) / 4); scroll-snap-align: start; display: flex; flex-direction: column; background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--line); border-radius: 16px; overflow: hidden; }
.sl-fb-body p { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.sl-fb-img { display: block; overflow: hidden; background: var(--wp--preset--color--line); }
.sl-fb-img img { display: block; width: 100%; height: auto !important; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; }
.sl-fb-body { display: flex; flex-direction: column; gap: .5rem; padding: 1rem 1.1rem 1.25rem; flex: 1; }
.sl-fb-body time { font-size: .85rem; color: var(--sl-ink-accent); font-weight: 600; }
.sl-fb-body p { margin: 0; font-size: .95rem; line-height: 1.55; }
.sl-fb-link { margin-top: auto; padding-top: .35rem; font-weight: 600; color: var(--sl-ink-accent); text-decoration: none; }
.sl-fb-link:hover { text-decoration: underline; }
.sl-fb-empty { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding: 1.5rem 1.75rem; background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--line); border-radius: 16px; color: inherit; text-decoration: none; transition: border-color 200ms ease; }
.sl-fb-empty:hover { border-color: #1877f2; }
.sl-fb-empty-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #1877f2; color: #fff; flex: none; }
.sl-fb-empty-icon svg { width: 26px; height: 26px; }
.sl-fb-empty-text { flex: 1 1 280px; display: flex; flex-direction: column; gap: .2rem; }
.sl-fb-empty-text strong { font-weight: 700; font-size: 1.05rem; }
.sl-fb-empty .sl-fb-link { margin: 0; padding: 0; }
.sl-fb-empty:hover .sl-fb-link { text-decoration: underline; }
@media (max-width: 1023px) { .sl-fb-card { flex-basis: calc((100% - var(--sl-fb-gap)) / 2); } }
@media (max-width: 600px) { .sl-fb-card { flex-basis: 80%; } .sl-fb-head { align-items: flex-start; } .sl-fb-actions { width: 100%; justify-content: space-between; flex-direction: row-reverse; } .sl-fb-prev, .sl-fb-next { display: none; } .sl-fb-follow { white-space: nowrap; } }
@media (prefers-reduced-motion: reduce) { .sl-fb-track { scroll-behavior: auto; } }

/* ===== NIE order page (/ready-to-get-your-nie-now/, cards now via inc/products.php) + home CTA band ===== */
.sl-nie-hero { padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--30); background: linear-gradient(180deg, var(--wp--preset--color--sand) 0%, #fff 100%); }
.sl-nie-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.sl-nie-lead { margin-top: 0 !important; line-height: 1.5; }
.sl-nie-ticks { list-style: none; padding: 0 !important; margin: 1.25rem 0 1.75rem !important; display: grid; gap: .6rem; }
.sl-nie-ticks li { position: relative; padding-left: 2rem; }
.sl-nie-ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--wp--preset--color--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat; }
.sl-nie-hero-card { background: #fff; border: 1px solid var(--wp--preset--color--line); border-top: 6px solid var(--wp--preset--color--accent); border-radius: 20px; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: 0 30px 70px rgba(17,17,17,.10); }
.sl-nie-card-title { font-family: var(--wp--preset--font-family--display); font-size: var(--wp--preset--font-size--large); font-weight: 700; margin: 0 0 .5rem !important; }
.sl-nie-card-price { font-family: var(--wp--preset--font-family--display); font-size: clamp(2.6rem, 2rem + 2.5vw, 3.6rem); font-weight: 700; line-height: 1; margin: 0 0 .75rem !important; }
.sl-nie-card-price span { font-size: 1rem; font-weight: 600; color: var(--sl-ink-accent); vertical-align: middle; margin-right: .25rem; }
.sl-nie-card-sub { color: var(--wp--preset--color--stone); margin: 0 0 1rem !important; }

.sl-nie-included { padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--30); }
.sl-nie-steps { list-style: none; counter-reset: nie; padding: 0 !important; margin-top: 2rem !important; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.sl-nie-steps li { counter-increment: nie; background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 16px; padding: 1.4rem 1.4rem 1.5rem; line-height: 1.5; font-size: .97rem; }
.sl-nie-steps li::before { content: counter(nie); display: flex; align-items: center; justify-content: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); font-weight: 700; margin-bottom: .9rem; }
.sl-nie-steps li strong { display: block; font-size: 1.05rem; margin-bottom: .35rem; }

.sl-nie-prices-band { padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--30); scroll-margin-top: 90px; }
.sl-nie-prices-intro { text-align: center; max-width: 640px; margin-left: auto !important; margin-right: auto !important; color: var(--wp--preset--color--stone); }
.sl-nie-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; max-width: 900px; margin: 2rem auto 0 !important; }
.sl-nie-price { display: flex; flex-direction: column; background: var(--wp--preset--color--sand); border: 1px solid var(--wp--preset--color--line); border-radius: 20px; padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); text-align: center; }
.sl-nie-price--alt { background: var(--wp--preset--color--contrast); color: #fff; border-color: var(--wp--preset--color--contrast); }
.sl-nie-price p { margin: 0 !important; }
.sl-nie-price-who { font-weight: 700; font-size: 1.1rem; }
.sl-nie-price-amount { font-family: var(--wp--preset--font-family--display); font-size: clamp(2.8rem, 2rem + 3vw, 4rem); font-weight: 700; line-height: 1.1; margin: .4rem 0 !important; }
.sl-nie-price--alt .sl-nie-price-amount { color: var(--wp--preset--color--accent); }
.sl-nie-price-note { font-size: .93rem; line-height: 1.5; flex: 1 1 auto; margin-bottom: 1.4rem !important; opacity: .85; }
a.sl-nie-buy { display: block; padding: 1rem 1.5rem; border-radius: 999px; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast) !important; font-weight: 700; text-decoration: none !important; transition: transform .2s var(--sl-ease-out), box-shadow .2s; }
a.sl-nie-buy:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(17,17,17,.2); }
a.sl-nie-buy:active { transform: scale(.97); }
.sl-nie-pay { max-width: 900px; margin: 2rem auto 0 !important; scroll-margin-top: 90px; }
.sl-nie-pay-empty { text-align: center; color: var(--wp--preset--color--stone); border: 1px dashed var(--wp--preset--color--line); border-radius: 16px; padding: 1.25rem; }
.sl-nie-pay-empty p { margin: 0; }
.sl-nie-pay-form { background: #fff; border: 2px solid var(--wp--preset--color--accent); border-radius: 20px; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
.sl-nie-pay-chosen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; align-items: baseline; }
.sl-nie-pay-chosen p { margin: 0; }
.sl-nie-pay-chosen a { color: var(--sl-ink-accent); font-weight: 600; }
.sl-nie-pay-form .paycomet-wrapper { box-shadow: none !important; border: 0 !important; padding: 0 !important; margin: 1.25rem auto 0 !important; max-width: none !important; font-family: inherit !important; }
.sl-nie-pay-form .paycomet-wrapper h3 { text-align: left !important; font-family: var(--wp--preset--font-family--display); }
.sl-nie-pay-form .paycomet-submit { background: var(--wp--preset--color--contrast) !important; border-radius: 999px !important; padding: 1rem !important; font-size: 1.05rem !important; }
.sl-nie-pay-form input[readonly] { background: var(--wp--preset--color--sand) !important; font-weight: 700; }
.sl-nie-pay-note { font-size: .9rem; color: var(--wp--preset--color--stone); margin: 1rem 0 0 !important; text-align: center; }
.sl-nie-urgent { max-width: 900px; margin: 2rem auto 0 !important; padding: 1.1rem 1.4rem; border-left: 6px solid var(--wp--preset--color--accent); background: var(--wp--preset--color--sand); border-radius: 12px; }
.sl-nie-urgent a { color: var(--sl-ink-accent); font-weight: 600; }
.sl-nie-delay { max-width: 900px; margin: 1rem auto 0 !important; font-size: .9rem; color: var(--wp--preset--color--stone); text-align: center; }

/* Home: NIE CTA band (template 2158, under the awards strip) */
.sl-nie-cta-home { padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30); }
.sl-nie-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2.5rem; padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem); background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); border-radius: 20px; position: relative; overflow: hidden; }
.sl-nie-cta::after { content: ""; position: absolute; width: 340px; aspect-ratio: 1; right: -100px; top: -140px; border-radius: 50%; border: 1px solid rgba(17,17,17,.2); pointer-events: none; }
.sl-nie-cta-text { flex: 1 1 420px; position: relative; z-index: 1; }
.sl-nie-cta-text h2 { color: var(--wp--preset--color--contrast) !important; font-size: var(--wp--preset--font-size--x-large); margin: 0 0 .5rem; }
.sl-nie-cta-text p { margin: 0; font-size: var(--wp--preset--font-size--large); line-height: 1.45; }
.sl-nie-cta-text p strong { white-space: nowrap; }
a.sl-nie-cta-btn { position: relative; z-index: 1; display: inline-block; padding: 1rem 2rem; border-radius: 999px; background: var(--wp--preset--color--contrast); color: #fff !important; font-weight: 700; font-size: 1.05rem; text-decoration: none !important; white-space: nowrap; transition: transform .2s var(--sl-ease-out), box-shadow .2s; }
a.sl-nie-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(17,17,17,.25); }
a.sl-nie-cta-btn:active { transform: scale(.97); }

@media (max-width: 1023px) { .sl-nie-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 781px) {
  .sl-nie-hero-grid, .sl-nie-prices { grid-template-columns: 1fr; }
  a.sl-nie-cta-btn { width: 100%; text-align: center; white-space: normal; }
}
@media (max-width: 520px) { .sl-nie-steps { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { a.sl-nie-buy, a.sl-nie-cta-btn { transition: none; } a.sl-nie-buy:hover, a.sl-nie-cta-btn:hover { transform: none; } }
.sl-nie-prices-band > .sl-nie-urgent, .sl-nie-prices-band > .sl-nie-delay, .sl-nie-prices-band > .sl-nie-pay { max-width: 900px !important; margin-left: auto !important; margin-right: auto !important; }
.sl-nie-prices-band, .sl-nie-pay, .sl-nie-included { scroll-margin-top: 140px; }
.sl-nie-test-box { max-width: 900px; margin: 1.5rem auto 0 !important; padding: 1rem 1.25rem; border: 2px dashed #c0392b; border-radius: 14px; background: #fdecec; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between; }
.sl-nie-test-box p { margin: 0; }
a.sl-nie-buy--test { background: #c0392b; color: #fff !important; display: inline-block; }
.sl-nie-pay-test { color: #c0392b; }

/* ===== Products (inc/products.php): price cards, checkout with quantity, payment-received page ===== */
.sl-pr { max-width: 1000px; margin-left: auto !important; margin-right: auto !important; scroll-margin-top: 140px; }
.sl-pr-head { text-align: center; margin-bottom: 2rem; }
.sl-pr-h { font-size: var(--wp--preset--font-size--x-large); margin: 0 0 .5rem; }
.sl-pr-intro { color: var(--wp--preset--color--stone); max-width: 640px; margin: 0 auto; }
.sl-pr-cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(var(--sl-pr-cols, 2), minmax(0, 1fr)); }
.sl-pr-cards--1 { --sl-pr-cols: 1; max-width: 460px; margin: 0 auto; } .sl-pr-cards--3 { --sl-pr-cols: 3; } .sl-pr-cards--4 { --sl-pr-cols: 4; }
.sl-pr-card { position: relative; display: flex; flex-direction: column; text-align: center; border-radius: 20px; padding: clamp(1.4rem, 1rem + 1.5vw, 2.1rem); background: var(--wp--preset--color--sand); border: 1px solid var(--wp--preset--color--line); transition: box-shadow .25s var(--sl-ease-out), transform .25s var(--sl-ease-out); }
.sl-pr-card--dark { background: var(--wp--preset--color--contrast); color: #fff; border-color: var(--wp--preset--color--contrast); }
.sl-pr-card--accent { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); }
.sl-pr-card--test { background: #fdecec; border: 2px dashed #c0392b; }
.sl-pr-card.is-selected { box-shadow: 0 0 0 3px var(--wp--preset--color--accent), 0 18px 40px rgba(17,17,17,.12); }
.sl-pr-card p { margin: 0 !important; }
.sl-pr-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); font-size: .78rem; font-weight: 700; padding: .25rem .8rem; border-radius: 999px; white-space: nowrap; }
.sl-pr-card--accent .sl-pr-badge { background: var(--wp--preset--color--contrast); color: #fff; }
.sl-pr-badge--test { background: #c0392b; color: #fff; }
.sl-pr-who { font-weight: 700; font-size: 1.1rem; }
.sl-pr-amount { font-family: var(--wp--preset--font-family--display); font-size: clamp(2.6rem, 2rem + 2.5vw, 3.8rem); font-weight: 700; line-height: 1.1; margin: .4rem 0 !important; }
.sl-pr-card--dark .sl-pr-amount { color: var(--wp--preset--color--accent); }
.sl-pr-per { font-size: 1rem; font-weight: 600; opacity: .75; }
.sl-pr-desc { font-size: .93rem; line-height: 1.5; opacity: .85; }
.sl-pr-incl { list-style: none; padding: 0 !important; margin: 1rem 0 0 !important; text-align: left; font-size: .93rem; display: grid; gap: .35rem; }
.sl-pr-incl li { position: relative; padding-left: 1.6rem; }
.sl-pr-incl li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; color: var(--sl-ink-accent); }
.sl-pr-card--dark .sl-pr-incl li::before { color: var(--wp--preset--color--accent); }
.sl-pr-card--accent .sl-pr-incl li::before { color: var(--wp--preset--color--contrast); }
a.sl-pr-buy { display: block; margin-top: auto; padding: 1rem 1.5rem; border-radius: 999px; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast) !important; font-weight: 700; text-decoration: none !important; transition: transform .2s var(--sl-ease-out), box-shadow .2s; }
.sl-pr-incl + a.sl-pr-buy, .sl-pr-desc + a.sl-pr-buy { margin-top: 1.4rem; }
.sl-pr-card--accent a.sl-pr-buy { background: var(--wp--preset--color--contrast); color: #fff !important; }
.sl-pr-card--test a.sl-pr-buy { background: #c0392b; color: #fff !important; }
a.sl-pr-buy:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(17,17,17,.2); }
a.sl-pr-buy:active { transform: scale(.97); }
a.sl-pr-buy--inline { display: inline-block; }
.sl-pr-checkout-wrap { margin-top: 2rem; scroll-margin-top: 140px; }
.sl-pr-choose { text-align: center; color: var(--wp--preset--color--stone); border: 1px dashed var(--wp--preset--color--line); border-radius: 16px; padding: 1.25rem; margin: 0; }
.sl-pr-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.5rem; background: #fff; border: 2px solid var(--wp--preset--color--accent); border-radius: 20px; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
.sl-pr-checkout--test { border-color: #c0392b; }
.sl-pr-testnote { grid-column: 1 / -1; margin: 0; color: #8a1f1f; background: #fdecec; border-radius: 10px; padding: .6rem .9rem; font-size: .92rem; }
.sl-pr-form .paycomet-wrapper { box-shadow: none !important; border: 0 !important; padding: 0 !important; margin: 0 !important; max-width: none !important; font-family: inherit !important; background: transparent !important; }
.sl-pr-form .paycomet-wrapper h3 { text-align: left !important; font-family: var(--wp--preset--font-family--display); font-size: 1.25rem !important; }
.sl-pr-form .paycomet-group:has(input[name="payment_amount"]), .sl-pr-form .paycomet-group:has(input[name="custom_reference"]) { display: none; }
.sl-pr-form .paycomet-submit { background: var(--wp--preset--color--contrast) !important; border-radius: 999px !important; padding: 1rem !important; font-size: 1.05rem !important; }
.sl-pr-summary { background: var(--wp--preset--color--sand); border-radius: 14px; padding: 1.2rem 1.25rem; align-self: start; font-size: .95rem; }
.sl-pr-summary p { margin: 0; }
.sl-pr-summary-h { font-weight: 700; margin-bottom: .6rem !important; }
.sl-pr-line { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; }
.sl-pr-times { color: var(--sl-ink-accent); font-weight: 700; }
.sl-pr-total { border-top: 1px solid var(--wp--preset--color--line); margin-top: .5rem; padding-top: .7rem; font-weight: 700; font-size: 1.2rem; }
.sl-pr-qty { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .5rem 0; }
.sl-pr-qty select { font: inherit; font-weight: 700; padding: .35rem .6rem; border: 1px solid #cbd5e0; border-radius: 8px; background: #fff; min-width: 70px; }
.sl-pr-vat { font-size: .85rem; color: var(--wp--preset--color--stone); }
.sl-pr-lock { font-size: .85rem; color: var(--wp--preset--color--stone); margin-top: .9rem !important; }
.sl-pr-lock a, .sl-pr-choose a { color: var(--sl-ink-accent); font-weight: 600; }
.sl-pr-note { margin-top: 1.5rem; padding: 1.1rem 1.4rem; border-left: 6px solid var(--wp--preset--color--accent); background: var(--wp--preset--color--sand); border-radius: 12px; }
.sl-pr-note p { margin: 0 0 .5rem; } .sl-pr-note p:last-child { margin: 0; }
.sl-payres { max-width: 640px; margin: 0 auto; text-align: center; }
.sl-payres h2 { font-size: var(--wp--preset--font-size--x-large); margin: .6rem 0; }
.sl-payres-icon { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; }
.sl-payres--ok .sl-payres-icon { background: #e5f5ea; color: #1e7d34; }
.sl-payres--wait .sl-payres-icon { background: #fef4e7; color: var(--sl-ink-accent); }
.sl-payres--ko .sl-payres-icon { background: #fdecec; color: #c0392b; }
.sl-payres-rec { background: var(--wp--preset--color--sand); border-radius: 14px; padding: 1rem 1.25rem; margin: 1.25rem 0; text-align: left; }
.sl-payres-rec div { display: flex; justify-content: space-between; gap: 1rem; padding: .25rem 0; }
.sl-payres-next { text-align: left; } .sl-payres-next h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.sl-payres-small { font-size: .85rem; color: var(--wp--preset--color--stone); }
.sl-payres-actions { display: flex; gap: 1rem; justify-content: center; align-items: center; flex-wrap: wrap; }
@media (max-width: 900px) { .sl-pr-cards--3, .sl-pr-cards--4 { --sl-pr-cols: 2; } .sl-pr-checkout { grid-template-columns: 1fr; } .sl-pr-summary { order: -1; } }
@media (max-width: 640px) { .sl-pr-cards { --sl-pr-cols: 1 !important; } }
@media (prefers-reduced-motion: reduce) { a.sl-pr-buy, .sl-pr-card { transition: none; } a.sl-pr-buy:hover { transform: none; } }

/* ===== "Order online" band ([sl_order_online], inc/products.php) — replaces the single NIE CTA on the home page ===== */
.sl-oo-home { padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--30); background: var(--wp--preset--color--sand); border-block: 1px solid var(--wp--preset--color--line); }
.sl-oo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
@media (min-width: 1024px) { .sl-oo:not(.sl-oo--compact) { grid-template-columns: minmax(260px, 0.8fr) minmax(0, 2.2fr); gap: 2.5rem; align-items: center; } }
.sl-oo-kicker { margin: 0 0 .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sl-ink-accent); }
.sl-oo-h { margin: 0 0 .75rem; font-size: clamp(1.65rem, 1.2rem + 1.2vw, 2.25rem); line-height: 1.15; text-wrap: balance; }
.sl-oo-intro { margin: 0 0 1.1rem; color: var(--wp--preset--color--stone); line-height: 1.55; }
.sl-oo-trust { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: .4rem; font-weight: 600; font-size: .95rem; }
.sl-oo-trust li { display: flex; gap: .55rem; align-items: center; }
.sl-oo-trust li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--wp--preset--color--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat; }
.sl-oo-more { margin: 0; font-size: .92rem; color: var(--wp--preset--color--stone); }
.sl-oo-more a { color: var(--wp--preset--color--contrast); font-weight: 600; }

.sl-oo-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1280px) { .sl-oo--compact .sl-oo-grid--4, .sl-oo--compact .sl-oo-grid--3 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
a.sl-oo-tile { position: relative; display: flex; flex-direction: column; gap: .45rem; padding: 1.3rem 1.3rem 1.15rem; border-radius: 18px; background: #fff; border: 1px solid var(--wp--preset--color--line); color: var(--wp--preset--color--contrast) !important; text-decoration: none !important; transition: transform 220ms var(--sl-ease-out), box-shadow 220ms ease, border-color 200ms ease; }
.sl-oo-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: .35rem; border-radius: 14px; background: var(--wp--preset--color--sand); color: var(--sl-ink-accent); transition: background-color 200ms ease, color 200ms ease; }
.sl-oo-name { font-size: 1.15rem; font-weight: 700; line-height: 1.25; }
.sl-oo-text { font-size: .93rem; line-height: 1.45; color: var(--wp--preset--color--stone); }
.sl-oo-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: auto; padding-top: .9rem; border-top: 1px dashed var(--wp--preset--color--line); }
.sl-oo-price { font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.sl-oo-price small { font-size: .78rem; font-weight: 600; color: var(--wp--preset--color--stone); letter-spacing: 0; }
.sl-oo-go { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .95rem; border-radius: 999px; background: var(--wp--preset--color--contrast); color: #fff; font-weight: 700; font-size: .9rem; white-space: nowrap; }
.sl-oo-arrow { display: inline-block; transition: transform 200ms var(--sl-ease-out); }

a.sl-oo-tile.is-featured { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); }
a.sl-oo-tile.is-featured .sl-oo-icon { background: rgba(255,255,255,.55); color: var(--wp--preset--color--contrast); }
a.sl-oo-tile.is-featured .sl-oo-text, a.sl-oo-tile.is-featured .sl-oo-price small { color: rgba(17,17,17,.78); }
a.sl-oo-tile.is-featured .sl-oo-foot { border-top-color: rgba(17,17,17,.2); }

@media (hover: hover) and (pointer: fine) {
  a.sl-oo-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(17,17,17,.10); border-color: var(--wp--preset--color--accent); }
  a.sl-oo-tile:not(.is-featured):hover .sl-oo-icon { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); }
  a.sl-oo-tile:hover .sl-oo-arrow { transform: translateX(3px); }
}
a.sl-oo-tile:active { transform: scale(.985); }
a.sl-oo-tile:focus-visible { outline: 3px solid var(--wp--preset--color--contrast); outline-offset: 3px; }

/* Phones: compact rows (icon · name + price · arrow) so four services fit without a long scroll */
@media (max-width: 600px) {
  .sl-oo-home { padding-block: var(--wp--preset--spacing--40); }
  .sl-oo-grid { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
  a.sl-oo-tile { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "icon name go" "icon price go"; align-items: center; column-gap: .9rem; row-gap: .1rem; padding: .85rem 1rem; border-radius: 16px; }
  .sl-oo-icon { grid-area: icon; width: 42px; height: 42px; margin: 0; border-radius: 12px; }
  .sl-oo-name { grid-area: name; font-size: 1.02rem; }
  .sl-oo-text { display: none; }
  .sl-oo-foot { display: contents; }
  .sl-oo-price { grid-area: price; font-size: 1rem; font-weight: 700; }
  .sl-oo-go { grid-area: go; padding: .55rem; font-size: 0; gap: 0; }
  .sl-oo-arrow { font-size: 1rem; }
  .sl-oo-trust { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { a.sl-oo-tile, .sl-oo-arrow { transition: none; } a.sl-oo-tile:hover { transform: none; } }

/* Order pages: hero card unit under the price ("per will") */
.sl-nie-card-price small { font-size: .4em; font-weight: 600; color: var(--wp--preset--color--stone); margin-left: .25rem; letter-spacing: 0; }
/* Order pages: 5 steps in one row on desktop; compact "other services" band; single-product checkout */
@media (min-width: 1024px) { .sl-nie-steps:has(> li:nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; } .sl-nie-steps:has(> li:nth-child(5):last-child) li { padding: 1.25rem 1.15rem 1.35rem; } }
.sl-oo--compact { gap: 1.1rem; }
.sl-oo-ctitle { margin: 0; font-size: var(--wp--preset--font-size--large); }
@media (min-width: 760px) { .sl-oo--compact .sl-oo-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sl-pr-incl--sum { margin: 0 0 1rem !important; padding-bottom: 1rem !important; border-bottom: 1px solid var(--wp--preset--color--line); text-align: left; }
