/* ============================================================
   Master CMS — Look4 structural family
   Built on the Studio layouts (blog, posts), with its own look:
   a band in the site's main colour across the top of every page,
   a white logo box hanging from the top edge, white cards with
   soft shadows, round buttons and plenty of white space.
   Loaded after theme-studio.css when the active theme's family is
   "look4". Header, footer and title bands come from includes/header.php
   and footer.php (Look4 branch).

   One colour per site: --color-primary (Sites & brands, per brand).
   A darker shade (buttons, small text on white, so it stays readable)
   and light tints are mixed from it here:
     --l4-c     main colour: header, title bands, panels, icons
     --l4-deep  darker shade: buttons and small coloured text
     --l4-soft  pale tint: icon circles, highlights
   --color-dark is the dark grey used for dark panels and promo boxes.
   ============================================================ */

.theme-look4 {
  --l4-c: var(--color-primary);
  --l4-deep: color-mix(in srgb, var(--color-primary) 72%, #000);
  --l4-soft: color-mix(in srgb, var(--color-primary) 10%, #fff);
  --l4-tint: color-mix(in srgb, var(--color-primary) 20%, #fff);
  --l4-ink: #1E2029;
  --l4-text: #3A3F4B;
  --l4-muted: #5A5F6B;
  --l4-line: #E4E6EC;
  --l4-bg2: #F7F8FA;
  --l4-dark: var(--color-dark, #23262F);
  --l4-wrap: 1360px;
  --l4-gutter: max(clamp(1.25rem, 3vw, 2.5rem), calc((100% - var(--l4-wrap)) / 2 + clamp(1.25rem, 3vw, 2.5rem)));
  --studio-surface: var(--l4-bg2);
  --studio-muted: var(--l4-muted);
  --studio-gutter: var(--l4-gutter);
  --dir-c: var(--l4-c);
  --dir-wrap: var(--l4-wrap);
}

.theme-look4 body { font-family: var(--font-body); font-size: 18px; line-height: 1.6; color: var(--l4-text); background: #fff; }
.theme-look4 h1, .theme-look4 h2, .theme-look4 h3, .theme-look4 h4 { font-family: var(--font-heading); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; color: var(--l4-ink); }
.theme-look4 h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
.theme-look4 h2 { font-size: clamp(2rem, 3.3vw, 2.9rem); }
.theme-look4 h3 { font-size: 1.4rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.theme-look4 a { color: var(--l4-deep); }
.theme-look4 ::selection { background: var(--l4-tint); color: var(--l4-ink); }
.theme-look4 :focus-visible { outline: 3px solid var(--l4-c); outline-offset: 2px; }
.theme-look4 .accent-word { color: inherit; font-style: normal; background: none; padding: 0; text-decoration: underline; text-decoration-thickness: .12em; text-underline-offset: .12em; }
.theme-look4 [data-ghost]::before { display: none; }

/* ---- Buttons: round, the darker shade so white text stays readable ---- */
.theme-look4 .btn { border-radius: 999px; font-family: var(--font-body); font-weight: 800; letter-spacing: 0; text-transform: none; padding: .9rem 1.6rem; min-height: 48px; box-sizing: border-box; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.theme-look4 .btn:hover { transform: none; box-shadow: none; }
.theme-look4 .btn-primary { background: var(--l4-deep); color: #fff; border: 0; }
.theme-look4 .btn-primary:hover { background: var(--l4-ink); color: #fff; }
.theme-look4 .btn-secondary { background: #fff; color: var(--l4-deep); border: 2px solid var(--l4-deep); }
.theme-look4 .btn-secondary:hover { background: var(--l4-deep); color: #fff; }
.theme-look4 .btn-ghost { background: transparent; color: #fff; border: 2px solid #fff; }
.theme-look4 .btn-ghost:hover { background: #fff; color: var(--l4-deep); }

/* ---- Top strip (optional) ---- */
.theme-look4 .site-topbar { background: var(--l4-deep); color: #fff; padding: .45rem var(--l4-gutter); font-size: .85rem; }
.theme-look4 .site-topbar a { color: #fff; }

/* ---- Header: the main-colour band, a white logo box hanging from the top, two rows of links ---- */
.theme-look4 .site-header {
  background: var(--l4-c); color: #fff; box-shadow: none; border: 0; position: relative;
  display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "logo top cta" "logo nav cta";
  align-items: center; column-gap: 2.25rem; row-gap: .2rem; padding: 0 var(--l4-gutter) 1.4rem;
}
.theme-look4 .logo {
  grid-area: logo; align-self: start; background: #fff; border-radius: 0 0 12px 12px; padding: 14px 20px;
  box-shadow: 0 6px 20px rgba(20,24,40,.10); text-decoration: none; color: var(--l4-ink);
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; line-height: 1; position: relative; z-index: 3; margin-bottom: -1.6rem;
}
.theme-look4 .logo img, .theme-look4 .logo svg { height: 30px; width: auto; display: block; }
.theme-look4 .logo .logo-text { font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem; }
.theme-look4 .logo-word { color: var(--l4-c); font-family: var(--font-heading); font-weight: 700; font-size: 1.95rem; letter-spacing: -.01em; line-height: 1; }
.theme-look4 .header-toplinks { grid-area: top; justify-self: end; align-self: end; display: flex; gap: 1.4rem; padding-top: 1.1rem; font-size: .92rem; font-weight: 700; }
.theme-look4 .header-toplinks a { color: #fff; opacity: .85; }
.theme-look4 .header-toplinks a:hover { opacity: 1; }
.theme-look4 .main-nav { grid-area: nav; justify-self: end; align-self: start; gap: 2rem; margin: 0; align-items: center; }
.theme-look4 .site-header:not(:has(.header-toplinks)) { grid-template-areas: "logo nav cta"; padding-top: 1.1rem; }
.theme-look4 .site-header:not(:has(.header-toplinks)) .main-nav { align-self: center; }
.theme-look4 .main-nav a { color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 1.28rem; letter-spacing: -.01em; padding: .35rem 0; border-bottom: 3px solid transparent; }
.theme-look4 .main-nav a:hover, .theme-look4 .main-nav a:focus-visible, .theme-look4 .main-nav a[aria-current] { color: #fff; border-bottom-color: #fff; }
.theme-look4 .nav-parent-link::after { border-color: currentColor; }
.theme-look4 .mega-menu { background: #fff; border-radius: 14px; box-shadow: 0 20px 44px -16px rgba(20,24,40,.35); border: 0; }
.theme-look4 .main-nav .mega-menu a, .theme-look4 .mega-menu-item { color: var(--l4-ink); border-bottom: 0; border-radius: 8px; }
.theme-look4 .main-nav .mega-menu a:hover, .theme-look4 .mega-menu-item:hover { background: var(--l4-soft); color: var(--l4-ink); }
@media (min-width: 901px) {
  .theme-look4 .main-nav > a, .theme-look4 .main-nav .nav-parent-link { white-space: nowrap; }
  .theme-look4 .nav-item-has-children > .nav-parent-link { display: inline-flex; align-items: center; }
  .theme-look4 .main-nav .mega-menu { padding: .6rem; min-width: 260px; }
  .theme-look4 .main-nav .mega-menu a { font-family: var(--font-body, inherit); font-size: 1rem; font-weight: 600; padding: .6rem .8rem; white-space: nowrap; }
  /* Long dropdowns (e.g. every service) in two columns */
  .theme-look4 .nav-item-has-children:hover .mega-menu:has(> :nth-child(9)),
  .theme-look4 .nav-item-has-children:focus-within .mega-menu:has(> :nth-child(9)) { display: grid; grid-template-columns: repeat(2, minmax(230px, 1fr)); column-gap: .3rem; }
  .theme-look4 .nav-item-has-children:hover .mega-menu:has(> :nth-child(19)),
  .theme-look4 .nav-item-has-children:focus-within .mega-menu:has(> :nth-child(19)) { grid-template-columns: repeat(3, minmax(210px, 1fr)); }
  .theme-look4 .nav-item-has-children:last-of-type .mega-menu, .theme-look4 .nav-item-has-children .mega-menu:has(> :nth-child(9)) { left: auto; right: 0; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .theme-look4 .main-nav { gap: 1.3rem; }
  .theme-look4 .main-nav a { font-size: 1.1rem; }
}
/* The header button as the round "Search" button */
.theme-look4 .site-header > .header-cta { grid-area: cta; align-self: center; margin: 1.1rem 0 0; width: 100px; height: 100px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: transparent; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; font-size: .92rem; font-weight: 800; text-align: center; line-height: 1.1; }
.theme-look4 .site-header > .header-cta::before { content: ""; width: 28px; height: 28px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.6-3.6'/%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' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.6-3.6'/%3E%3C/svg%3E") center / contain no-repeat; }
.theme-look4 .site-header > .header-cta:hover { background: #fff; color: var(--l4-deep); }
.theme-look4 .header-phone { grid-area: cta; color: #fff; font-weight: 800; text-decoration: none; }
.theme-look4 .nav-toggle span { background: #fff; }

/* ---- Sections ---- */
.theme-look4 .block { padding-left: var(--l4-gutter); padding-right: var(--l4-gutter); }
.theme-look4 .eyebrow, .theme-look4 .bold-eyebrow { display: inline-block; font-family: var(--font-body); font-size: .85rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--l4-deep); background: none; padding: 0; border-radius: 0; margin-bottom: .5rem; }
.theme-look4 .section-head { margin-bottom: 2rem; align-items: flex-end; }
.theme-look4 .section-head h2 { margin: 0; }
.theme-look4 .section-link { color: var(--l4-deep); font-weight: 800; text-decoration: none; }
.theme-look4 .section-intro { color: var(--l4-muted); }
.theme-look4 .bg-circle, .theme-look4 .dotted-ring, .theme-look4 .bold-orb { display: none; }

/* ---- Home hero (Banner, Split layout): the main-colour band ---- */
.theme-look4 .block-banner:not(.block-banner-bold):not(.block-banner-full-bg):not(.page-title-banner) {
  background: var(--l4-c); color: #fff; border-radius: 0; margin: 0; min-height: 0;
  padding-top: clamp(3.5rem, 6vw, 4.5rem); padding-bottom: clamp(3.5rem, 6vw, 4.5rem); gap: clamp(2rem, 4vw, 3.5rem); align-items: center;
}
.theme-look4 .block-banner:not(.block-banner-bold):not(.block-banner-full-bg):not(.page-title-banner):has(+ .dir-search-box),
.theme-look4 .block-banner:not(.block-banner-bold):not(.block-banner-full-bg):not(.page-title-banner):has(+ link + .dir-search-box) { padding-bottom: 8rem; }
.theme-look4 .block-banner:not(.block-banner-bold):not(.block-banner-full-bg):not(.page-title-banner) h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.9rem); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 1rem; max-width: 18ch; }
.theme-look4 .block-banner:not(.block-banner-bold):not(.block-banner-full-bg):not(.page-title-banner) .banner-copy p { color: #fff; font-size: 1.18rem; line-height: 1.55; max-width: 38rem; margin: 0 0 1.75rem; opacity: .96; }
.theme-look4 .block-banner .eyebrow-on-banner { color: #fff; background: none; padding: 0; font-weight: 700; font-size: 1rem; letter-spacing: 0; text-transform: none; margin-bottom: .75rem; display: block; }
.theme-look4 .block-banner .banner-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.theme-look4 .block-banner:not(.block-banner-bold):not(.block-banner-full-bg):not(.page-title-banner) .btn-primary { background: #fff; color: var(--l4-deep); }
.theme-look4 .block-banner:not(.block-banner-bold):not(.block-banner-full-bg):not(.page-title-banner) .btn-primary:hover { background: var(--l4-ink); color: #fff; }
.theme-look4 .block-banner .btn-secondary { background: transparent; color: #fff; border-color: #fff; }
.theme-look4 .banner-media:empty { display: none; }
.theme-look4 .banner-media img, .theme-look4 .banner-media .banner-video { border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.theme-look4 .banner-badge { background: #fff; color: var(--l4-ink); border-radius: 14px; }
.theme-look4 .banner-badge svg { color: var(--l4-deep); }
.theme-look4 .block-banner-full-bg .btn-primary { background: #fff; color: var(--l4-deep); }

/* ---- Inner-page title (Banner, Bold layout): a compact main-colour band ---- */
.theme-look4 .block-banner.block-banner-bold { background: var(--l4-c); color: #fff; border-radius: 0; margin: 0; padding-top: clamp(1.75rem, 3vw, 2.4rem); padding-bottom: clamp(2.25rem, 4vw, 3.2rem); }
.theme-look4 .block-banner-bold:has(+ .dir-search), .theme-look4 .block-banner-bold:has(+ link + .dir-search) { padding-bottom: 4.5rem; }
.theme-look4 .block-banner-bold .bold-inner { max-width: 960px; }
.theme-look4 .block-banner-bold h1, .theme-look4 .block-banner-bold.bold-compact h1 { color: #fff; max-width: none; font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.025em; margin: .2rem 0 0; }
.theme-look4 .block-banner-bold .accent-word { color: #fff; }
.theme-look4 .block-banner-bold .bold-foot { display: block; }
.theme-look4 .block-banner-bold .bold-sub { color: #fff; opacity: .96; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.55; max-width: 720px; margin: .9rem 0 0; }
.theme-look4 .block-banner-bold .banner-ctas { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.theme-look4 .block-banner-bold .btn-primary { background: #fff; color: var(--l4-deep); }
.theme-look4 .block-banner-bold .btn-primary:hover { background: var(--l4-ink); color: #fff; }
.theme-look4 .block-banner-bold .bold-media { margin-top: 2rem; border-radius: 20px; overflow: hidden; }
.theme-look4 .block-banner-bold .bold-eyebrow { color: #fff; }
.theme-look4 .page-breadcrumb { font-size: .88rem; font-weight: 600; color: #fff; margin: 0 0 .9rem; }
.theme-look4 .page-breadcrumb a, .theme-look4 .page-breadcrumb [aria-current] { color: #fff; }
/* The Find page: its search card overlaps the title band */
.theme-look4 .block-banner-bold + link + .dir-search, .theme-look4 .block-banner-bold + .dir-search { margin-top: -3rem; padding-top: 0; }

/* Title band on the Blog / Projects / Services listing pages */
.theme-look4 .page-title-banner { background: var(--l4-c); color: #fff; border-radius: 0; padding-top: clamp(2rem, 4vw, 2.8rem); padding-bottom: clamp(2.2rem, 4vw, 3rem); }
.theme-look4 .page-title-banner h1 { color: #fff; font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.025em; }
.theme-look4 .page-title-banner p { color: #fff; }
.theme-look4 .breadcrumb-pill { color: #fff; background: none; padding: 0; }
.theme-look4 .breadcrumb-pill a, .theme-look4 .breadcrumb-pill span { color: #fff; }

/* ---- Text ---- */
.theme-look4 .block-text { max-width: none; padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.theme-look4 .block-text > * { max-width: 920px; margin-left: auto; margin-right: auto; }
/* Look4: a heading at the start of a text section sits above the words, not in a column of its own */
.theme-look4 .block-text:has(> h2:first-child) { display: block; }
.theme-look4 .block-text:has(> h2:first-child) > * { max-width: 920px; }
.theme-look4 .block-text:has(> h2:first-child) > h2:first-child { position: static; max-width: 920px; margin: 0 auto 1.1rem; font-size: clamp(1.9rem, 2.8vw, 2.5rem); line-height: 1.12; }
.theme-look4 .block-text iframe { max-width: 920px; }
.theme-look4 .block-text p, .theme-look4 .block-text li { font-size: 1.07rem; line-height: 1.75; color: var(--l4-text); }
.theme-look4 .block-text h2 { margin: 0 0 1rem; }
.theme-look4 .block-text h3 { margin: 2rem 0 .6rem; }
.theme-look4 .block-text ul { padding-left: 0; list-style: none; }
.theme-look4 .block-text ul li { position: relative; padding-left: 1.9rem; margin: .45rem 0; }
.theme-look4 .block-text ul li::before { content: ""; position: absolute; left: 0; top: .5em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--l4-soft); }
.theme-look4 .block-text ul li::after { content: ""; position: absolute; left: .4rem; top: calc(.5em + .2rem); width: .3rem; height: .55rem; border: solid var(--l4-deep); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.theme-look4 .block-text blockquote { margin: 1.5rem 0; padding: 1.3rem 1.5rem; background: var(--l4-soft); border: 0; border-radius: 14px; font-family: var(--font-heading); font-weight: 600; font-size: 1.3rem; line-height: 1.45; color: var(--l4-ink); }
.theme-look4 .block-text img { border-radius: 16px; max-width: 100%; height: auto; }
.theme-look4 .block-text:has(+ .block-text) { padding-bottom: 1rem; }
.theme-look4 .block-text + .block-text { padding-top: 1rem; }
.theme-look4 .block-text.has-aside { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.theme-look4 .block-text.has-aside > * { max-width: none; }
.theme-look4 .text-aside { position: sticky; top: 110px; background: var(--l4-soft); border-radius: 18px; padding: 1.6rem; display: flex; flex-direction: column; gap: .6rem; }
.theme-look4 .text-aside-title { font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem; color: var(--l4-ink); }
.theme-look4 .text-aside-price { font-family: var(--font-heading); font-weight: 800; font-size: 2rem; color: var(--l4-ink); }
.theme-look4 .text-aside-note { margin: 0; color: var(--l4-text); }
.theme-look4 .text-aside-ctas { display: flex; flex-direction: column; gap: .5rem; margin-top: .4rem; }
@media (max-width: 900px) { .theme-look4 .block-text.has-aside { grid-template-columns: 1fr; } .theme-look4 .text-aside { position: static; } }

/* ---- Image + text ---- */
.theme-look4 .block-image-text:not(.it-panel) { max-width: none; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.theme-look4 .block-image-text:not(.it-panel) > * { flex: 1 1 0; min-width: 0; }
.theme-look4 .block-image-text:not(.it-panel) img { border-radius: 20px; box-shadow: none; }
.theme-look4 .block-image-text .block-copy h2 { margin: 0 0 1rem; font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.theme-look4 .block-image-text .block-copy p { line-height: 1.75; }
.theme-look4 .block-image-text .block-copy ul { padding-left: 1.2rem; }
/* Full-width panel rows: the picture beside a main-colour or dark panel, inside the page width */
.theme-look4 .block-image-text.it-panel { padding: 0 var(--l4-gutter); gap: 0; }
.theme-look4 .block-image-text.it-panel img { aspect-ratio: auto; border-radius: 0; }
.theme-look4 .block-image-text.it-panel .block-media, .theme-look4 .block-image-text.it-panel .block-copy { min-height: 420px; }
.theme-look4 .block-image-text.it-panel .block-media { background: #E3E6EC; overflow: hidden; }
.theme-look4 .block-image-text.it-panel .block-copy { padding: clamp(2rem, 4.5vw, 3.75rem); }
.theme-look4 .block-image-text.it-panel-brand .block-copy { background: var(--l4-c); }
.theme-look4 .block-image-text.it-panel-dark .block-copy { background: var(--l4-dark); }
.theme-look4 .block-image-text.it-panel .block-copy h2 { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.theme-look4 .block-image-text.it-panel .block-copy p, .theme-look4 .block-image-text.it-panel .block-copy li { color: #fff; opacity: .96; }
.theme-look4 .block-image-text.it-panel-brand .btn-primary { background: #fff; color: var(--l4-deep); }
.theme-look4 .block-image-text.it-panel-brand .btn-primary:hover { background: var(--l4-ink); color: #fff; }
.theme-look4 .block-image-text.it-panel-dark .btn-primary { background: var(--l4-c); color: #fff; }
.theme-look4 .block-image-text.it-panel-dark .btn-primary:hover { background: #fff; color: var(--l4-ink); }
/* Rounded corners on the outside of a run of panel rows */
.theme-look4 .block-image-text.it-panel > * { border-radius: 0; }
.theme-look4 .block-image-text.it-panel:not(.it-panel + .it-panel) { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.theme-look4 .block-image-text.it-panel:not(:has(+ .it-panel)) { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.theme-look4 .block-image-text.it-panel:not(.it-panel + .it-panel):not(.reverse) .block-media { border-top-left-radius: 22px; }
.theme-look4 .block-image-text.it-panel:not(.it-panel + .it-panel):not(.reverse) .block-copy { border-top-right-radius: 22px; }
.theme-look4 .block-image-text.it-panel.reverse:not(.it-panel + .it-panel) .block-media { border-top-right-radius: 22px; }
.theme-look4 .block-image-text.it-panel.reverse:not(.it-panel + .it-panel) .block-copy { border-top-left-radius: 22px; }
.theme-look4 .block-image-text.it-panel:not(:has(+ .it-panel)):not(.reverse) .block-media { border-bottom-left-radius: 22px; }
.theme-look4 .block-image-text.it-panel:not(:has(+ .it-panel)):not(.reverse) .block-copy { border-bottom-right-radius: 22px; }
.theme-look4 .block-image-text.it-panel.reverse:not(:has(+ .it-panel)) .block-media { border-bottom-right-radius: 22px; }
.theme-look4 .block-image-text.it-panel.reverse:not(:has(+ .it-panel)) .block-copy { border-bottom-left-radius: 22px; }

/* ---- Feature grid: icon cards, or picture cards when items have pictures ---- */
.theme-look4 .block-feature-grid { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.theme-look4 .block-feature-grid.has-pictures { background: var(--l4-bg2); }
.theme-look4 .feature-grid-heading { margin-bottom: 2.25rem; }
.theme-look4 .feature-grid-intro { color: var(--l4-muted); font-size: 1.08rem; }
.theme-look4 .feature-grid { max-width: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.4rem; }
/* Even rows: five cards sit in one row, six in two rows of three, so none is left on its own */
@media (min-width: 1100px) {
  .theme-look4 .feature-grid:has(> .feature-item:nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .theme-look4 .feature-grid:has(> .feature-item:nth-child(6):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .theme-look4 .feature-grid:has(> .feature-item:nth-child(7):last-child), .theme-look4 .feature-grid:has(> .feature-item:nth-child(8):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.theme-look4 .feature-item { background: #fff; border: 1px solid var(--l4-line); border-radius: 18px; padding: 1.6rem; box-shadow: none; text-align: left; display: flex; flex-direction: column; gap: .6rem; overflow: hidden; }
.theme-look4 .feature-item::before, .theme-look4 .feature-item::after { display: none; }
.theme-look4 .feature-item:first-child { background: #fff; color: inherit; }
.theme-look4 .feature-item:first-child .feature-icon { background: var(--l4-soft); color: var(--l4-deep); }
.theme-look4 .feature-icon { width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--l4-soft); color: var(--l4-deep); display: inline-flex; align-items: center; justify-content: center; margin: 0 0 .3rem; }
.theme-look4 .feature-icon svg { width: 26px; height: 26px; }
.theme-look4 .feature-pic { margin: -1.6rem -1.6rem .6rem; }
.theme-look4 .feature-pic img { aspect-ratio: 16 / 10; }
.theme-look4 .feature-item h3 { margin: 0; font-size: 1.3rem; }
.theme-look4 .feature-item { gap: .6rem; }
.theme-look4 .feature-item p { margin: 0; opacity: 1; color: #4A4F5C; font-size: 1rem; line-height: 1.6; flex: 1; }
.theme-look4 .feature-readmore { color: var(--l4-deep); font-weight: 800; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; flex-direction: row-reverse; justify-content: flex-end; }
.theme-look4 .feature-readmore svg { border: 0; background: none; padding: 0; width: 18px; height: 18px; transition: transform .2s; }
.theme-look4 .feature-readmore:hover svg { transform: translateX(3px); }

/* ---- Steps ("How it works"): numbered circles ---- */
.theme-look4 .block-steps { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.theme-look4 .block-steps.steps-dark { background: var(--l4-dark); color: #fff; }
.theme-look4 .block-steps.steps-dark h2 { color: #fff; }
.theme-look4 .steps-list { gap: 1.5rem; }
.theme-look4 .step { background: none; border: 0; border-radius: 0; padding: 0 0 0 4rem; position: relative; display: flex; flex-direction: column; gap: .25rem; }
.theme-look4 .step-num { position: absolute; left: 0; top: 0; width: 3rem; height: 3rem; border-radius: 50%; background: var(--l4-soft); color: var(--l4-deep); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 800; font-size: 1.15rem; }
.theme-look4 .step-title { font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem; color: var(--l4-ink); }
.theme-look4 .steps-dark .step-title { color: #fff; }
.theme-look4 .step-text { color: #4A4F5C; font-size: 1rem; line-height: 1.55; }
.theme-look4 .steps-dark .step-text { color: #D5D8E0; }

/* ---- Stats band ---- */
.theme-look4 .block-stats-band { background: var(--l4-dark); border-radius: 0; }
.theme-look4 .stat-value { color: #fff; font-family: var(--font-heading); font-weight: 800; }
.theme-look4 .stat-label { color: #D5D8E0; }

/* ---- Testimonial ---- */
.theme-look4 .block-testimonial { background: var(--l4-bg2); padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.theme-look4 .testimonial-card { max-width: 820px; margin: 0 auto; background: #fff; border-radius: 20px; box-shadow: 0 14px 40px rgba(20,24,40,.08); padding: 2rem 2.25rem; }
.theme-look4 .testimonial-card blockquote { font-family: var(--font-heading); font-weight: 600; font-size: 1.3rem; line-height: 1.5; color: var(--l4-ink); margin: 0 0 1rem; }

/* ---- Latest posts ---- */
.theme-look4 .block-latest-posts { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.theme-look4 .post-card { background: transparent; border: 0; border-radius: 0; overflow: visible; text-decoration: none; color: var(--l4-ink); box-shadow: none; display: flex; flex-direction: column; gap: .6rem; }
.theme-look4 .post-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.theme-look4 .post-card-media { border-radius: 16px; overflow: hidden; background: #ECEEF2; }
.theme-look4 .post-card-date, .theme-look4 .post-card-title { padding: 0; }
.theme-look4 .post-card-date { color: var(--l4-deep); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.theme-look4 .post-card-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; line-height: 1.3; }
.theme-look4 .post-card:hover .post-card-title { text-decoration: underline; }

/* ---- Call to action band: main colour, white button ---- */
.theme-look4 .block-cta-scroller:not(.cta-photo-band) { background: var(--l4-c); color: #fff; border-radius: 0; margin: 0; padding: clamp(2.5rem, 4vw, 3rem) var(--l4-gutter); display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; text-align: left; }
.theme-look4 .block-cta-scroller:not(.cta-photo-band) h2, .theme-look4 .block-cta-scroller .cta-copy h2 { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.15; margin: 0; max-width: none; }
.theme-look4 .block-cta-scroller .cta-text { color: #fff; margin: .4rem 0 0; font-size: 1.12rem; opacity: .96; }
.theme-look4 .block-cta-scroller .btn.btn-primary { background: #fff; color: var(--l4-deep); padding: 1rem 1.8rem; }
.theme-look4 .block-cta-scroller .btn.btn-primary:hover { background: var(--l4-ink); color: #fff; }
.theme-look4 .cta-photo-overlay { background: color-mix(in srgb, var(--l4-c) 82%, transparent); }
.theme-look4 .block-single-cta { text-align: center; padding-top: 1.5rem; padding-bottom: 1.5rem; }

/* ---- FAQs ---- */
.theme-look4 .block-faqs { max-width: none; padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); background: var(--l4-bg2); }
.theme-look4 .block-faqs > * { max-width: 900px; margin-left: auto; margin-right: auto; }
.theme-look4 .block-faqs h2, .theme-look4 .faq-heading { text-align: left; margin-bottom: 1.25rem; }
.theme-look4 .block-faqs details.faq-item { border: 1px solid var(--l4-line); border-radius: 14px; background: #fff; padding: 0; margin-bottom: .7rem; box-shadow: none; }
.theme-look4 .block-faqs summary { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; padding: 1.1rem 1.3rem; color: var(--l4-ink); text-align: left; }
.theme-look4 .faq-answer { color: var(--l4-text); padding: 0 1.3rem 1.2rem; }
.theme-look4 .faq-chevron { background: var(--l4-soft); border-radius: 50%; }
.theme-look4 .faq-chevron::before { border-color: var(--l4-deep); }
.theme-look4 .block-faqs details[open] .faq-chevron { background: var(--l4-deep); }
.theme-look4 .block-faqs details[open] .faq-chevron::before { border-color: #fff; }

/* ---- Gallery, pictures side by side, two texts side by side ---- */
.theme-look4 .block-gallery img, .theme-look4 .block-image-image img { border-radius: 16px; box-shadow: none; }
.theme-look4 .block-image-image, .theme-look4 .block-twin-text { max-width: none; padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(2rem, 4vw, 3rem); gap: 1.5rem; }
.theme-look4 .block-twin-text > div { background: var(--l4-bg2); border-radius: 18px; padding: 1.75rem; }

/* ---- Pricing table (e.g. the advertiser plans) ---- */
.theme-look4 .block-pricing-table { gap: 1.2rem; padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); align-items: stretch; max-width: none; }
.theme-look4 .pricing-col { background: #fff; border: 1px solid var(--l4-line); border-radius: 18px; padding: 2rem 1.75rem; box-shadow: none; display: flex; flex-direction: column; text-align: left; position: relative; }
.theme-look4 .pricing-col .price { font-family: var(--font-heading); font-size: 2.6rem; font-weight: 800; color: var(--l4-ink); margin: .7rem 0 0; }
.theme-look4 .pricing-badge { position: absolute; top: -12px; left: 22px; background: var(--l4-deep); color: #fff; font-weight: 800; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; padding: .35rem .75rem; border-radius: 999px; }
.theme-look4 .pricing-col:has(.pricing-badge) { border: 2px solid var(--l4-deep); }
.theme-look4 .pricing-col ul { margin: 1.2rem 0 1.6rem; padding: 0; list-style: none; display: grid; gap: .55rem; }
.theme-look4 .pricing-col li { display: flex; gap: .5rem; align-items: flex-start; color: var(--l4-text); }
.theme-look4 .pricing-col li svg { color: var(--l4-deep); flex: none; margin-top: .3rem; }
.theme-look4 .pricing-col .btn { margin-top: auto; text-align: center; width: 100%; }

/* ---- Contact form ---- */
.theme-look4 .block-contact-form { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.theme-look4 .block-contact-form.contact-split { background: var(--l4-c); color: #fff; }
.theme-look4 .contact-split h1, .theme-look4 .contact-split .cf-intro, .theme-look4 .contact-split .bold-eyebrow, .theme-look4 .contact-split .accent-word { color: #fff; }
.theme-look4 .cf-card { border-radius: 14px; background: #fff; border: 1px solid var(--l4-line); color: var(--l4-ink); }
.theme-look4 .cf-card-icon { color: var(--l4-deep); background: var(--l4-soft); border-radius: 50%; }
.theme-look4 .contact-split .cf-form { background: #fff; color: var(--l4-ink); border-radius: 20px; box-shadow: 0 20px 50px rgba(20,24,40,.15); }
.theme-look4 .block-contact-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .theme-look4 .block-contact-form textarea, .theme-look4 .block-contact-form select { border: 1px solid #D0D4DC; border-radius: 10px; background: #fff; font: inherit; color: var(--l4-ink); }
.theme-look4 .block-contact-form input:focus, .theme-look4 .block-contact-form textarea:focus, .theme-look4 .block-contact-form select:focus { border-color: var(--l4-c); outline: 2px solid var(--l4-c); outline-offset: 1px; }
.theme-look4 .cf-chip input:checked + span { background: var(--l4-deep); border-color: var(--l4-deep); color: #fff; }

/* ---- Blog listing (Studio layout) ---- */
.theme-look4 .blog-studio { padding-top: 2.25rem; }
.theme-look4 .bs-pill { border-radius: 999px; border: 0; background: #F1F2F5; color: #2B2F3A; font-weight: 700; min-height: 40px; }
.theme-look4 .bs-pill:hover { background: var(--l4-tint); }
.theme-look4 .bs-pill.is-active { background: var(--l4-deep); color: #fff; }
.theme-look4 .bs-search { background: #fff; border: 1px solid #D0D4DC; border-radius: 999px; }
.theme-look4 .bs-featured { border-radius: 20px; border: 1px solid var(--l4-line); overflow: hidden; background: #fff; box-shadow: none; }
.theme-look4 .bs-card, .theme-look4 .ps-rel-card { border-radius: 16px; border: 1px solid var(--l4-line); background: #fff; overflow: hidden; box-shadow: none; }
.theme-look4 .bs-card-media, .theme-look4 .ps-rel-media { border-radius: 0; overflow: hidden; background: #ECEEF2; }
.theme-look4 .bs-featured-media { border-radius: 0; }
.theme-look4 .bs-flag { background: var(--l4-deep); color: #fff; border-radius: 999px; }
.theme-look4 .bs-featured-title, .theme-look4 .bs-card-title, .theme-look4 .ps-rel-title { font-family: var(--font-heading); color: var(--l4-ink); letter-spacing: -.01em; }
.theme-look4 .bs-card:hover .bs-card-title, .theme-look4 .ps-rel-card:hover .ps-rel-title { text-decoration: underline; }
.theme-look4 .bs-arrow { background: var(--l4-c); color: #fff; }
.theme-look4 .bs-featured:hover .bs-arrow, .theme-look4 .bs-card:hover .bs-arrow { background: var(--l4-deep); }
.theme-look4 .bs-spotlight { background: var(--l4-dark); border-radius: 20px; }
.theme-look4 .bs-page { border-radius: 50%; min-width: 44px; height: 44px; }
.theme-look4 .bs-page.is-active { background: var(--l4-deep); border-color: var(--l4-deep); color: #fff; }
.theme-look4 .bs-newsletter { background: var(--l4-c); color: #fff; border-radius: 20px; }

/* ---- Blog article (Studio layout) ---- */
.theme-look4 .ps-hero { background: var(--l4-c); color: #fff; border: 0; }
.theme-look4 .ps-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.1; letter-spacing: -.025em; }
.theme-look4 .ps-hero a, .theme-look4 .ps-back, .theme-look4 .ps-author, .theme-look4 .ps-when, .theme-look4 .ps-standfirst, .theme-look4 .ps-filed { color: #fff; }
.theme-look4 .ps-chip { border-radius: 999px; }
.theme-look4 .ps-avatar { background: #fff; color: var(--l4-deep); }
.theme-look4 .ps-progress span { background: var(--l4-c); }
.theme-look4 .ps-image img { border-radius: 20px; box-shadow: none; }
.theme-look4 .ps-body { font-size: 1.1rem; line-height: 1.8; color: #2F3340; }
.theme-look4 .ps-body h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: 2rem; }
.theme-look4 .ps-body a { color: var(--l4-deep); }
.theme-look4 .ps-body blockquote { background: var(--l4-soft); border-radius: 14px; border: 0; font-family: var(--font-heading); font-weight: 600; font-size: 1.3rem; line-height: 1.45; color: var(--l4-ink); padding: 1.3rem 1.5rem; }
.theme-look4 .ps-body img { border-radius: 16px; }
.theme-look4 .ps-body ul li::marker { color: var(--l4-deep); }
.theme-look4 .ps-meta { border-top-color: var(--l4-line); }
.theme-look4 .ps-share a, .theme-look4 .ps-share button { border-color: var(--l4-line); color: var(--l4-ink); background: #fff; border-radius: 999px; }
.theme-look4 .ps-share a:hover, .theme-look4 .ps-share button:hover { border-color: var(--l4-deep); color: var(--l4-deep); }
.theme-look4 .ps-inshort { background: var(--l4-soft); border-radius: 16px; }
.theme-look4 .ps-toc { background: var(--l4-dark); border-radius: 16px; }
.theme-look4 .ps-cta { background: var(--l4-dark); border-radius: 18px; color: #fff; }
.theme-look4 .ps-cta-btn { background: var(--l4-c); color: #fff; border-radius: 999px; }
.theme-look4 .ps-cta-btn:hover { background: #fff; color: var(--l4-ink); }
.theme-look4 .ps-authorbox { background: var(--l4-bg2); border-radius: 16px; }
.theme-look4 .ps-related { background: var(--l4-bg2); }

/* ---- Footer (Look4 layout) ---- */
.theme-look4 .site-footer-l4 { background: #F1F2F5; color: #4A4F5C; padding: 0; margin: 0; position: static; }
.theme-look4 .l4f-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2.5rem; padding: 3.5rem var(--l4-gutter) 2.5rem; }
.theme-look4 .l4f-col { display: flex; flex-direction: column; gap: .65rem; }
.theme-look4 .l4f-heading { margin: 0 0 .3rem; font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; letter-spacing: 0; color: var(--l4-ink); }
.theme-look4 .l4f-col a, .theme-look4 .l4f-col span { color: #4A4F5C; text-decoration: none; font-size: .98rem; }
.theme-look4 .l4f-col a:hover { color: var(--l4-deep); text-decoration: underline; }
.theme-look4 .l4f-social { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .4rem; }
.theme-look4 .l4f-promo { background: var(--l4-dark); color: #fff; border-radius: 14px; padding: 1.6rem; display: flex; flex-direction: column; gap: .75rem; align-self: start; }
.theme-look4 .l4f-promo h2 { margin: 0; color: #fff; font-size: 1.35rem; line-height: 1.2; }
.theme-look4 .l4f-promo-text, .theme-look4 .l4f-promo-text p { margin: 0; color: #D5D8E0; font-size: .97rem; line-height: 1.5; }
.theme-look4 .l4f-promo .btn-primary { align-self: flex-start; white-space: nowrap; background: var(--l4-c); color: #fff; padding: .7rem 1.25rem; }
.theme-look4 .l4f-promo .btn-primary:hover { background: #fff; color: var(--l4-ink); }
.theme-look4 .l4f-bottom { border-top: 1px solid #DDE0E6; padding: 1.1rem var(--l4-gutter); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem 1.5rem; font-size: .85rem; color: var(--l4-muted); }
.theme-look4 .l4f-bottom a { color: var(--l4-muted); }
.theme-look4 .l4f-copy { flex: 1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; }
.theme-look4 .l4f-copy p { margin: 0; }

/* ---- Phones and tablets ---- */
@media (max-width: 900px) {
  .theme-look4 .site-header { display: flex; align-items: flex-start; padding: 0 var(--l4-gutter) .75rem; position: sticky; top: 0; }
  .theme-look4 .logo { margin-bottom: 0; padding: 10px 14px; }
  .theme-look4 .logo img { height: 22px; }
  .theme-look4 .logo-word { font-size: 1.4rem; }
  .theme-look4 .nav-toggle { margin: .9rem 0 0 auto; }
  .theme-look4 .site-header > .header-cta, .theme-look4 .header-phone, .theme-look4 .header-toplinks { display: none; }
  .theme-look4 .main-nav { background: #fff; box-shadow: 0 20px 40px rgba(0,0,0,.2); }
  .theme-look4 .main-nav a { color: var(--l4-ink); padding: .9rem var(--l4-gutter); border-bottom: 1px solid var(--l4-line); }
  .theme-look4 .main-nav a:hover, .theme-look4 .main-nav a[aria-current] { color: var(--l4-deep); border-bottom-color: var(--l4-line); }
  .theme-look4 .main-nav .header-cta-mobile { background: var(--l4-deep); color: #fff; margin: 1rem var(--l4-gutter); border: 0; text-align: center; }
  .theme-look4 .main-nav .nav-mobile-phone { color: var(--l4-ink); }
  .theme-look4 .block-image-text.it-panel .block-media, .theme-look4 .block-image-text.it-panel .block-copy { min-height: 0; }
  .theme-look4 .block-image-text.it-panel .block-media { min-height: 240px; border-radius: 22px 22px 0 0 !important; }
  .theme-look4 .block-image-text.it-panel .block-copy { border-radius: 0 0 22px 22px !important; }
  .theme-look4 .block-image-text.it-panel + .block-image-text.it-panel { padding-top: 1.25rem; }
  .theme-look4 .block-image-text.it-panel { padding-bottom: 0; }
}
@media (max-width: 640px) {
  .theme-look4 body { font-size: 16px; }
  .theme-look4 .block-banner:not(.block-banner-bold):not(.block-banner-full-bg):not(.page-title-banner) h1 { font-size: 2.2rem; }
}

/* Article "On this page" box: readable links on the dark panel */
.theme-look4 .ps-toc, .theme-look4 .ps-toc h2, .theme-look4 .ps-toc p { color: #fff; }
.theme-look4 .ps-toc a { color: #E6E8EE; }
.theme-look4 .ps-toc a:hover { color: #fff; }

/* ---- Blog cards: the words sit inside the card, clear of its edge ---- */
.theme-look4 .bs-card { gap: .55rem; padding-bottom: 1.4rem; }
.theme-look4 .bs-card > :not(.bs-card-media) { padding-left: 1.3rem; padding-right: 1.3rem; }
.theme-look4 .bs-card .bs-date { margin-top: .5rem; }
.theme-look4 .bs-card-title { font-size: 1.35rem; }

/* ---- Blog article: the words use the same width as the picture ---- */
.theme-look4 .ps-main { max-width: 1060px; }
.theme-look4 .ps-body { max-width: 900px; }

/* ---- Stats: one even row ---- */
.theme-look4 .block-stats-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; text-align: center; }
.theme-look4 .block-stats-band .stat { display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.theme-look4 .block-stats-band .stat-label { max-width: 22ch; }

/* ---- Contact page ---- */
.theme-look4 .block-contact-form.contact-split .cf-info h1 { font-size: clamp(2.2rem, 4vw, 3.3rem); line-height: 1.08; letter-spacing: -.025em; margin: .3rem 0 .4rem; }
.theme-look4 .contact-split .cf-card, .theme-look4 .contact-split .cf-card .cf-card-value, .theme-look4 .contact-split .cf-card .cf-card-label { color: var(--l4-ink); }
.theme-look4 .contact-split .cf-card .cf-card-label { color: var(--l4-muted); }
.theme-look4 .contact-split .cf-social a { color: #fff; }

/* Buttons inside text keep their own colours (the link colour doesn't apply) */
.theme-look4 .block-text a.btn, .theme-look4 .block-text a.btn:hover { color: #fff; text-decoration: none; }
.theme-look4 .block-text a.btn-primary { background: var(--l4-deep); border-color: var(--l4-deep); }
