/*
Theme Name: Scott Memorials Premium
Theme URI: https://www.scottmemorials.co.uk/
Author: Codex
Description: A premium bespoke WordPress theme for Scott Memorials, including a custom front page, header and footer.
Version: 1.1.4
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: scott-memorials-premium
*/

    @import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Source+Sans+3:wght@400;500;600;700;800&display=swap");

    :root {
      --paper: #f8f4eb;
      --cream: #fffaf1;
      --stone: #eee7d8;
      --stone-deep: #ddd0bb;
      --ink: #302c26;
      --muted: #6f675d;
      --soft: #968b7b;
      --sage: #5f6f5d;
      --sage-dark: #3f4c3f;
      --sage-soft: #e8eee4;
      --gold: #b79a61;
      --gold-light: #d8c18c;
      --white: #ffffff;
      --shadow: 0 22px 55px rgba(65, 55, 38, 0.13);
      --shadow-deep: 0 32px 80px rgba(41, 36, 27, 0.2);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      background: var(--paper);
      color: var(--ink);
      font-family: "Source Sans 3", "Avenir Next", "Segoe UI", Arial, sans-serif;
      font-size: 16px;
      line-height: 1.6;
      text-rendering: geometricPrecision;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      display: block;
    }

    a {
      color: inherit;
    }

    .sm-page {
      overflow-x: hidden;
      background:
        radial-gradient(circle at 16% 9%, rgba(183, 154, 97, 0.1), transparent 28%),
        radial-gradient(circle at 86% 18%, rgba(95, 111, 93, 0.09), transparent 30%),
        linear-gradient(180deg, #fffdf7 0%, var(--paper) 38%, #f4edde 100%);
    }

    .sm-topbar {
      background: #f3ecde;
      border-bottom: 1px solid rgba(183, 154, 97, 0.28);
    }

    .sm-topbar-inner {
      max-width: 1560px;
      margin: 0 auto;
      padding: 9px 28px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      color: var(--muted);
      font-size: 13px;
      font-weight: 700;
    }

    .sm-topbar-links {
      display: flex;
      gap: 18px;
      flex-wrap: wrap;
    }

    .sm-topbar a {
      text-decoration: none;
      text-underline-offset: 4px;
    }

    .sm-topbar a:hover {
      color: var(--sage);
      text-decoration: underline;
    }

    .sm-header {
      background: rgba(255, 250, 241, 0.94);
      border-bottom: 1px solid rgba(221, 208, 187, 0.85);
      position: sticky;
      top: 0;
      z-index: 1000;
      backdrop-filter: blur(14px);
      overflow: visible;
    }

    .sm-header-inner {
      max-width: 1560px;
      margin: 0 auto;
      padding: 16px 28px 12px;
      display: grid;
      grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) minmax(132px, 160px) auto;
      grid-template-areas:
        "brand . action mobile"
        "nav nav nav nav";
      gap: 10px 24px;
      align-items: center;
    }

    .sm-header-inner > a:first-child,
    .custom-logo-link {
      grid-area: brand;
    }

    .sm-primary-nav {
      grid-area: nav;
      min-width: 0;
      width: 100%;
      padding-top: 9px;
      border-top: 1px solid rgba(221, 208, 187, 0.78);
      overflow: visible;
    }

    .admin-bar .sm-header {
      top: 32px;
    }

    .sm-logo,
    .custom-logo {
      width: min(100%, 250px);
      max-height: 104px;
      height: auto;
      object-fit: contain;
      filter:
        drop-shadow(0 1px 0 rgba(64, 55, 39, 0.18))
        drop-shadow(0 8px 18px rgba(92, 73, 36, 0.08));
    }

    .custom-logo-link {
      display: inline-flex;
      width: min(100%, 250px);
    }

    .sm-nav {
      position: relative;
      margin: 0;
      padding: 0;
      list-style: none;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: clamp(12px, 1.05vw, 20px);
      flex-wrap: nowrap;
      color: #4c463e;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.055em;
      text-transform: uppercase;
      overflow: visible;
    }

    .sm-nav li {
      position: relative;
      margin: 0;
      padding: 0;
    }

    .sm-nav a {
      display: inline-flex;
      align-items: center;
      min-height: 42px;
      text-decoration: none;
      text-underline-offset: 5px;
      white-space: nowrap;
    }

    .sm-nav a:hover {
      color: var(--sage);
      text-decoration: underline;
    }

    .sm-nav > .menu-item-has-children > a::after {
      content: "";
      width: 6px;
      height: 6px;
      margin-left: 7px;
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      transform: rotate(45deg) translateY(-2px);
      opacity: 0.72;
    }

    .sm-nav .sub-menu {
      position: absolute;
      left: 50%;
      top: 100%;
      z-index: 1200;
      min-width: 228px;
      margin: 0;
      padding: 10px;
      list-style: none;
      background: rgba(255, 250, 241, 0.98);
      border: 1px solid rgba(221, 208, 187, 0.95);
      box-shadow: var(--shadow);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transform: translate(-50%, 0);
      transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    }

    .sm-nav .sub-menu::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 100%;
      height: 6px;
    }

    .sm-nav .menu-item:hover > .sub-menu,
    .sm-nav .menu-item:focus-within > .sub-menu {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: translate(-50%, 0);
    }

    .sm-nav .sub-menu li {
      width: 100%;
    }

    .sm-nav .sub-menu a {
      width: 100%;
      min-height: 0;
      padding: 10px 11px;
      color: var(--ink);
      font-size: 13px;
      font-weight: 750;
      letter-spacing: 0;
      line-height: 1.25;
      text-transform: none;
      white-space: nowrap;
    }

    .sm-nav .sub-menu a:hover {
      background: var(--sage-soft);
      color: var(--sage-dark);
      text-decoration: none;
    }

    .sm-nav .sub-menu .sub-menu {
      top: 0;
      left: calc(100% + 8px);
      transform: translate(8px, 0);
    }

    .sm-nav .sub-menu .menu-item:hover > .sub-menu,
    .sm-nav .sub-menu .menu-item:focus-within > .sub-menu {
      transform: translate(0, 0);
    }

    .sm-nav > .sm-mega-menu {
      position: static;
    }

    .sm-nav > .sm-mega-menu > .sub-menu {
      width: min(1080px, calc(100vw - 48px));
      max-height: min(72vh, 620px);
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 2px 10px;
      overflow: auto;
      overscroll-behavior: contain;
    }

    .sm-nav > .sm-mega-menu > .sub-menu a {
      white-space: normal;
    }

    .sm-header-action {
      grid-area: action;
      justify-self: end;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      padding: 10px 14px;
      background: var(--sage);
      color: var(--white);
      border: 1px solid var(--sage);
      border-radius: 3px;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      text-decoration: none;
      white-space: nowrap;
      transition: transform 0.18s ease, background 0.18s ease;
    }

    .sm-header-action:hover {
      transform: translateY(-1px);
      background: var(--sage-dark);
    }

    .sm-mobile-menu {
      grid-area: mobile;
      display: none;
      position: relative;
    }

    .sm-mobile-menu summary {
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 11px 16px;
      color: var(--ink);
      background: #fffaf1;
      border: 1px solid rgba(95, 111, 93, 0.24);
      border-radius: 3px;
      cursor: pointer;
      font-size: 13px;
      font-weight: 850;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      list-style: none;
    }

    .sm-mobile-menu summary::-webkit-details-marker {
      display: none;
    }

    .sm-mobile-menu[open] summary {
      background: var(--sage-soft);
    }

    .sm-mobile-menu nav {
      position: absolute;
      right: 0;
      top: calc(100% + 10px);
      z-index: 30;
      width: min(84vw, 320px);
      max-height: min(72vh, 620px);
      display: grid;
      gap: 2px;
      padding: 10px;
      overflow: auto;
      background: #fffaf1;
      border: 1px solid rgba(221, 208, 187, 0.95);
      box-shadow: var(--shadow);
    }

    .sm-mobile-nav {
      display: grid;
      gap: 2px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .sm-mobile-nav li {
      margin: 0;
      padding: 0;
    }

    .sm-mobile-nav .sub-menu {
      display: grid;
      gap: 1px;
      margin: 0 0 8px 12px;
      padding: 0 0 0 12px;
      list-style: none;
      border-left: 1px solid rgba(183, 154, 97, 0.35);
    }

    .sm-mobile-menu nav a {
      display: block;
      padding: 12px 10px;
      color: var(--ink);
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-decoration: none;
      text-transform: uppercase;
    }

    .sm-mobile-nav .sub-menu a {
      padding: 9px 10px;
      color: var(--muted);
      font-size: 12px;
      letter-spacing: 0.02em;
      text-transform: none;
    }

    .sm-mobile-menu nav a:hover {
      background: var(--sage-soft);
      color: var(--sage-dark);
    }

    .sm-hero {
      position: relative;
      min-height: clamp(590px, 74vh, 780px);
      display: grid;
      align-items: center;
      isolation: isolate;
      color: var(--white);
      background:
        linear-gradient(90deg, rgba(27, 29, 24, 0.78), rgba(27, 29, 24, 0.5) 44%, rgba(27, 29, 24, 0.2) 100%),
        linear-gradient(180deg, rgba(27, 29, 24, 0.12), rgba(27, 29, 24, 0.74)),
        url("https://www.scottmemorials.co.uk/wp-content/uploads/2018/10/Memorial-2-1024x682.jpg") center / cover no-repeat;
    }

    .sm-hero::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 100%);
      background-size: 64px 64px;
      mask-image: linear-gradient(90deg, transparent, #000 18%, #000 72%, transparent);
      opacity: 0.28;
    }

    .sm-hero::after {
      content: "";
      position: absolute;
      inset: auto 0 0;
      height: 180px;
      z-index: -1;
      background: linear-gradient(180deg, transparent, rgba(18, 20, 17, 0.42));
    }

    .sm-hero-inner {
      width: min(100%, 1240px);
      margin: 0 auto;
      padding: 70px 24px 82px;
    }

    .sm-hero-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 340px;
      gap: 54px;
      align-items: end;
    }

    .sm-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      margin: 0 0 18px;
      color: #ead8a8;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }

    .sm-eyebrow::before {
      content: "";
      width: 42px;
      height: 1px;
      background: currentColor;
    }

    .sm-hero h1 {
      max-width: 840px;
      margin: 0;
      font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
      font-size: clamp(52px, 7vw, 104px);
      font-weight: 600;
      line-height: 0.92;
      letter-spacing: 0;
    }

    .sm-hero-copy {
      max-width: 600px;
      margin: 24px 0 0;
      color: rgba(255, 250, 241, 0.9);
      font-size: clamp(18px, 2vw, 22px);
      line-height: 1.55;
    }

    .sm-hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 32px;
    }

    .sm-hero-card {
      padding: 26px;
      color: var(--ink);
      background: rgba(255, 250, 241, 0.94);
      border: 1px solid rgba(255, 255, 255, 0.42);
      box-shadow: var(--shadow-deep);
    }

    .sm-hero-card p {
      margin: 0;
    }

    .sm-hero-card-kicker {
      color: var(--sage);
      font-size: 11px;
      font-weight: 850;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    .sm-hero-card strong {
      display: block;
      margin-top: 10px;
      font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
      font-size: 30px;
      font-weight: 700;
      line-height: 1.05;
      letter-spacing: 0;
    }

    .sm-hero-card-text {
      margin-top: 14px;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.55;
    }

    .sm-hero-card-link {
      display: inline-flex;
      margin-top: 18px;
      color: var(--sage-dark);
      font-size: 14px;
      font-weight: 850;
      letter-spacing: 0.08em;
      text-decoration: none;
      text-transform: uppercase;
      text-underline-offset: 5px;
    }

    .sm-hero-card-link:hover {
      color: var(--gold);
      text-decoration: underline;
    }

    .sm-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 13px 20px;
      border-radius: 3px;
      border: 1px solid transparent;
      font-size: 14px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-decoration: none;
      text-transform: uppercase;
      transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
      white-space: nowrap;
    }

    .sm-button:hover {
      transform: translateY(-1px);
    }

    .sm-button-primary {
      background: var(--gold-light);
      color: #2a251d;
      border-color: var(--gold-light);
    }

    .sm-button-primary:hover {
      background: #e3ce99;
    }

    .sm-button-secondary {
      color: var(--white);
      border-color: rgba(255, 255, 255, 0.52);
      background: rgba(255, 255, 255, 0.08);
    }

    .sm-button-secondary:hover {
      background: rgba(255, 255, 255, 0.16);
    }

    .sm-hero-points {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1px;
      max-width: 1240px;
      margin: -38px auto 0;
      padding: 0 24px;
      position: relative;
      z-index: 2;
    }

    .sm-point {
      min-height: 112px;
      padding: 24px;
      background: rgba(255, 250, 241, 0.98);
      border: 1px solid rgba(221, 208, 187, 0.85);
      color: var(--ink);
      box-shadow: 0 18px 42px rgba(64, 55, 39, 0.08);
    }

    .sm-point strong {
      display: block;
      color: var(--sage);
      font-size: 12px;
      font-weight: 850;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    .sm-point span {
      display: block;
      margin-top: 8px;
      color: var(--muted);
      font-size: 16px;
      line-height: 1.45;
    }

    .sm-section {
      padding: clamp(68px, 7vw, 104px) 24px;
    }

    .sm-section-tight {
      padding-top: 64px;
    }

    .sm-container {
      max-width: 1240px;
      margin: 0 auto;
    }

    .sm-section-head {
      display: grid;
      grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
      gap: 42px;
      align-items: end;
      margin-bottom: 36px;
    }

    .sm-kicker {
      margin: 0 0 10px;
      color: var(--sage);
      font-size: 12px;
      font-weight: 850;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    .sm-title {
      margin: 0;
      color: var(--ink);
      font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
      font-size: clamp(38px, 5vw, 66px);
      font-weight: 600;
      line-height: 1;
      letter-spacing: 0;
      text-transform: capitalize;
    }

    .sm-lede {
      margin: 0;
      color: var(--muted);
      font-size: 18px;
      line-height: 1.6;
    }

    .sm-pathways {
      display: grid;
      grid-template-columns: 1.2fr 0.9fr 0.9fr;
      gap: 18px;
    }

    .sm-path {
      position: relative;
      min-height: 430px;
      display: flex;
      align-items: flex-end;
      overflow: hidden;
      color: var(--white);
      text-decoration: none;
      background: var(--ink);
      border: 1px solid rgba(221, 208, 187, 0.8);
      box-shadow: 0 18px 48px rgba(55, 46, 32, 0.1);
    }

    .sm-path:first-child {
      min-height: 560px;
    }

    .sm-path img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.35s ease, opacity 0.35s ease;
    }

    .sm-path::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, transparent 28%, rgba(21, 23, 19, 0.82) 100%),
        linear-gradient(90deg, rgba(21, 23, 19, 0.26), transparent);
    }

    .sm-path:hover img {
      transform: scale(1.035);
      opacity: 0.88;
    }

    .sm-path-content {
      position: relative;
      z-index: 1;
      padding: 28px;
    }

    .sm-path-content span {
      display: inline-block;
      margin-bottom: 10px;
      color: var(--gold-light);
      font-size: 11px;
      font-weight: 850;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    .sm-path-content h3 {
      max-width: 430px;
      margin: 0;
      font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
      font-size: clamp(32px, 4vw, 52px);
      font-weight: 600;
      line-height: 1;
      letter-spacing: 0;
    }

    .sm-path-content p {
      max-width: 380px;
      margin: 14px 0 0;
      color: rgba(255, 250, 241, 0.9);
      font-size: 16px;
      line-height: 1.55;
    }

    .sm-path-link {
      display: inline-flex;
      margin-top: 18px;
      color: var(--gold-light);
      font-size: 12px;
      font-weight: 850;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .sm-trust-band {
      background:
        linear-gradient(180deg, rgba(255, 250, 241, 0.96), rgba(248, 244, 235, 0.98)),
        #fffaf1;
      border-top: 1px solid rgba(221, 208, 187, 0.85);
      border-bottom: 1px solid rgba(221, 208, 187, 0.85);
    }

    .sm-process {
      background:
        radial-gradient(circle at 84% 16%, rgba(95, 111, 93, 0.1), transparent 30%),
        var(--paper);
    }

    .sm-process-grid {
      display: grid;
      grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
      gap: 56px;
      align-items: start;
    }

    .sm-process-copy p {
      margin: 20px 0 0;
      color: var(--muted);
      font-size: 18px;
      line-height: 1.65;
    }

    .sm-process-steps {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
    }

    .sm-step {
      min-height: 210px;
      padding: 24px;
      background: rgba(255, 250, 241, 0.78);
      border: 1px solid rgba(221, 208, 187, 0.95);
      border-top: 3px solid var(--gold);
    }

    .sm-step span {
      display: block;
      margin-bottom: 20px;
      color: var(--sage);
      font-size: 12px;
      font-weight: 850;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    .sm-step h3 {
      margin: 0 0 10px;
      font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
      font-size: 30px;
      line-height: 1.05;
      letter-spacing: 0;
    }

    .sm-step p {
      margin: 0;
      color: var(--muted);
      line-height: 1.58;
    }

    .sm-trust-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0;
    }

    .sm-trust-item {
      padding: 40px 32px;
      border-right: 1px solid rgba(221, 208, 187, 0.85);
    }

    .sm-trust-item:last-child {
      border-right: 0;
    }

    .sm-icon {
      width: 42px;
      height: 42px;
      margin-bottom: 18px;
      color: var(--gold);
    }

    .sm-trust-item h3 {
      margin: 0 0 10px;
      font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
      font-size: 30px;
      font-weight: 700;
      letter-spacing: 0;
    }

    .sm-trust-item p {
      margin: 0;
      color: var(--muted);
      font-size: 16px;
      line-height: 1.55;
    }

    .sm-about {
      background:
        linear-gradient(90deg, rgba(248, 244, 235, 0.98), rgba(248, 244, 235, 0.9)),
        repeating-linear-gradient(90deg, rgba(183, 154, 97, 0.035) 0 1px, transparent 1px 84px),
        var(--paper);
    }

    .sm-about-grid {
      display: grid;
      grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
      gap: 58px;
      align-items: start;
    }

    .sm-about-copy {
      position: sticky;
      top: 24px;
    }

    .sm-about-copy p {
      margin: 22px 0 0;
      color: var(--muted);
      font-size: 18px;
      line-height: 1.65;
    }

    .sm-about-list {
      display: grid;
      gap: 18px;
    }

    .sm-about-card {
      display: grid;
      grid-template-columns: 52px minmax(0, 1fr);
      gap: 18px;
      padding: 26px;
      background: rgba(255, 250, 241, 0.76);
      border: 1px solid rgba(221, 208, 187, 0.95);
      box-shadow: 0 16px 42px rgba(65, 55, 38, 0.06);
    }

    .sm-about-number {
      width: 52px;
      height: 52px;
      display: grid;
      place-items: center;
      color: var(--sage);
      background: var(--sage-soft);
      border: 1px solid rgba(95, 111, 93, 0.18);
      font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
      font-size: 24px;
      font-weight: 700;
    }

    .sm-about-card h3 {
      margin: 0 0 8px;
      font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
      font-size: 30px;
      line-height: 1.08;
      letter-spacing: 0;
    }

    .sm-about-card p {
      margin: 0;
      color: var(--muted);
      line-height: 1.58;
    }

    .sm-proof {
      background:
        linear-gradient(90deg, rgba(44, 42, 37, 0.9), rgba(63, 76, 63, 0.82)),
        url("https://www.scottmemorials.co.uk/wp-content/uploads/2018/09/A5-Background.jpg") center / cover no-repeat;
      color: var(--white);
    }

    .sm-proof-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 340px;
      gap: 50px;
      align-items: center;
    }

    .sm-proof .sm-kicker {
      color: var(--gold-light);
    }

    .sm-proof .sm-title {
      color: var(--white);
      max-width: 760px;
    }

    .sm-proof p {
      max-width: 760px;
      margin: 22px 0 0;
      color: rgba(255, 250, 241, 0.88);
      font-size: 18px;
      line-height: 1.65;
    }

    .sm-proof-badge {
      min-height: 340px;
      display: grid;
      place-items: center;
      padding: 34px;
      background: rgba(255, 250, 241, 0.94);
      color: var(--ink);
      border: 1px solid rgba(255, 255, 255, 0.36);
      text-align: center;
      box-shadow: var(--shadow);
    }

    .sm-proof-badge strong {
      display: block;
      font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
      font-size: 74px;
      line-height: 0.9;
      letter-spacing: 0;
      color: var(--sage);
    }

    .sm-proof-badge span {
      display: block;
      margin-top: 16px;
      color: var(--muted);
      font-size: 14px;
      font-weight: 850;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    .sm-gallery-grid {
      display: grid;
      grid-template-columns: repeat(6, minmax(0, 1fr));
      gap: 12px;
    }

    .sm-work {
      min-height: 250px;
      position: relative;
      overflow: hidden;
      background: var(--stone);
      border: 1px solid rgba(221, 208, 187, 0.9);
    }

    .sm-work:nth-child(1),
    .sm-work:nth-child(2) {
      grid-column: span 2;
      min-height: 360px;
    }

    .sm-work img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      position: absolute;
      inset: 0;
      transition: transform 0.35s ease;
    }

    .sm-work:hover img {
      transform: scale(1.035);
    }

    .sm-work span {
      position: absolute;
      left: 14px;
      bottom: 14px;
      z-index: 1;
      padding: 7px 10px;
      background: rgba(48, 44, 38, 0.78);
      color: var(--white);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    .sm-brochure {
      background:
        linear-gradient(90deg, rgba(48, 44, 38, 0.82), rgba(63, 76, 63, 0.72)),
        url("https://www.scottmemorials.co.uk/wp-content/uploads/2018/09/A5-Background.jpg") center / cover no-repeat;
      color: var(--white);
      text-align: center;
    }

    .sm-brochure .sm-title {
      color: var(--white);
    }

    .sm-brochure p {
      max-width: 580px;
      margin: 16px auto 0;
      color: rgba(255, 250, 241, 0.88);
      font-size: 18px;
    }

    .sm-brochure .sm-button {
      margin-top: 28px;
    }

    .sm-testimonial-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }

    .sm-quote {
      padding: 30px;
      background: rgba(255, 250, 241, 0.78);
      border: 1px solid rgba(221, 208, 187, 0.95);
    }

    .sm-stars {
      color: var(--gold);
      font-size: 18px;
      letter-spacing: 0.08em;
      margin-bottom: 18px;
    }

    .sm-quote blockquote {
      margin: 0;
      color: var(--muted);
      font-size: 17px;
      line-height: 1.58;
      font-style: italic;
    }

    .sm-quote cite {
      display: block;
      margin-top: 20px;
      color: var(--ink);
      font-style: normal;
      font-weight: 800;
    }

    .sm-review-row {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 20px;
      align-items: center;
      margin-top: 34px;
    }

    .sm-review-panel {
      min-height: 180px;
      display: grid;
      place-items: center;
      padding: 24px;
      background: #fff;
      border: 1px solid rgba(221, 208, 187, 0.95);
      box-shadow: 0 16px 40px rgba(65, 55, 38, 0.08);
    }

    .sm-review-panel img {
      max-height: 142px;
      object-fit: contain;
    }

    .sm-wp-content {
      max-width: 860px;
      margin: 0 auto;
      padding: 72px 24px;
      color: var(--muted);
      font-size: 18px;
      line-height: 1.7;
    }

    .sm-wp-content h1,
    .sm-wp-content h2,
    .sm-wp-content h3 {
      margin: 0 0 18px;
      color: var(--ink);
      font-family: "Cormorant Garamond", Georgia, serif;
      line-height: 1.05;
    }

    .sm-wp-content h1 {
      font-size: clamp(44px, 7vw, 76px);
    }

    .sm-wp-content h2 {
      margin-top: 42px;
      font-size: clamp(34px, 5vw, 50px);
    }

    .sm-wp-content p,
    .sm-wp-content ul,
    .sm-wp-content ol {
      margin: 0 0 22px;
    }

    .sm-wp-content a {
      color: var(--sage-dark);
      font-weight: 700;
      text-underline-offset: 4px;
    }

    .sm-content-section {
      padding: 74px 0 92px;
    }

    .sm-content-section-full {
      padding: clamp(72px, 7vw, 104px) 28px clamp(88px, 8vw, 118px);
    }

    .sm-content-layout {
      display: grid;
      grid-template-columns: minmax(0, 760px) minmax(280px, 350px);
      gap: 46px;
      align-items: start;
      justify-content: center;
    }

    .sm-content-layout-full,
    .sm-content-layout-readable {
      display: block;
    }

    .sm-content-layout-full {
      max-width: 1480px;
    }

    .sm-content-layout-readable {
      max-width: 980px;
    }

    .sm-page-content {
      min-width: 0;
      padding: clamp(30px, 5vw, 54px);
      background: rgba(255, 250, 241, 0.84);
      border: 1px solid rgba(221, 208, 187, 0.95);
      box-shadow: var(--shadow);
      color: var(--muted);
      font-size: 18px;
      line-height: 1.72;
    }

    .sm-page-content-full {
      max-width: 1480px;
      margin: 0 auto;
      padding: clamp(42px, 5vw, 72px);
      background: transparent;
      border: 0;
      box-shadow: none;
    }

    .sm-page-content-readable {
      max-width: 980px;
      margin: 0 auto;
    }

    .sm-page-content > *:first-child {
      margin-top: 0;
    }

    .sm-page-content > *:last-child {
      margin-bottom: 0;
    }

    .sm-page-content h1,
    .sm-page-content h2,
    .sm-page-content h3,
    .sm-page-content h4 {
      margin: 42px 0 16px;
      color: var(--ink);
      font-family: "Cormorant Garamond", Georgia, serif;
      line-height: 1.05;
      text-align: center !important;
      text-transform: capitalize;
    }

    .sm-page-content h1 {
      font-size: clamp(44px, 6vw, 72px);
      font-weight: 600;
    }

    .sm-page-content h2 {
      font-size: clamp(36px, 5vw, 54px);
    }

    .sm-page-content h3 {
      font-size: clamp(28px, 4vw, 38px);
    }

    .sm-page-content p,
    .sm-page-content ul,
    .sm-page-content ol,
    .sm-page-content blockquote {
      margin: 0 0 24px;
    }

    .sm-page-content-full > p,
    .sm-page-content-full > ul,
    .sm-page-content-full > ol,
    .sm-page-content-full > blockquote,
    .sm-page-content-full > h1,
    .sm-page-content-full > h2,
    .sm-page-content-full > h3,
    .sm-page-content-full > h4,
    .sm-page-content-full > .sm-shortcode-title {
      max-width: 980px;
      margin-left: auto;
      margin-right: auto;
    }

    .sm-page-content-full > p:has(> img),
    .sm-page-content-full > p:has(> a > img) {
      max-width: 1180px;
      text-align: center;
    }

    .sm-page-content-full > .sm-shortcode-row:first-child > .sm-shortcode-col:first-child > h1:first-child,
    .sm-page-content-full > .row:first-child > .col:first-child > h1:first-child {
      max-width: 980px;
      margin: 0 auto 28px;
    }

    .parent-pageid-810 .sm-page-content-full > .sm-shortcode-row:first-child > .sm-shortcode-col:first-child > h1:first-child,
    .parent-pageid-810 .sm-page-content-full > .row:first-child > .col:first-child > h1:first-child {
      display: none;
    }

    .sm-page-content ul,
    .sm-page-content ol {
      padding-left: 1.2em;
    }

    .sm-page-content li + li {
      margin-top: 8px;
    }

    .sm-page-content img {
      max-width: 100%;
      height: auto;
    }

    .sm-page-content > img,
    .sm-page-content > p > img,
    .sm-page-content > p > a > img {
      width: auto;
      max-height: min(78vh, 760px);
      margin: 30px auto;
      padding: 10px;
      background:
        linear-gradient(180deg, rgba(255, 250, 241, 0.96), rgba(238, 231, 216, 0.72)),
        var(--stone);
      border: 1px solid var(--stone-deep);
      box-shadow: 0 18px 42px rgba(65, 55, 38, 0.09);
    }

    .sm-page-content > figure:not(.sm-featured-image),
    .sm-image-box {
      display: inline-flex;
      width: calc((100% - 60px) / 4);
      margin: 0 16px 24px 0;
      vertical-align: top;
      flex-direction: column;
      overflow: hidden;
      background: #fffaf1;
      border: 1px solid var(--stone-deep);
      box-shadow: 0 18px 42px rgba(65, 55, 38, 0.09);
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }

    .sm-page-content > figure:not(.sm-featured-image):hover,
    .sm-image-box:hover {
      transform: translateY(-2px);
      border-color: rgba(183, 154, 97, 0.52);
      box-shadow: 0 24px 58px rgba(65, 55, 38, 0.13);
    }

    .sm-page-content > figure:not(.sm-featured-image) a,
    .sm-image-box a {
      display: block;
      width: 100%;
    }

    .sm-shortcode-col > .sm-image-box,
    .sm-shortcode-col .sm-image-box {
      width: 100%;
      margin-right: 0;
    }

    .sm-page-content > figure:not(.sm-featured-image) img,
    .sm-image-box img {
      width: 100%;
      aspect-ratio: 4 / 5;
      object-fit: contain;
      padding: 8px;
      background:
        linear-gradient(180deg, rgba(255, 250, 241, 0.96), rgba(238, 231, 216, 0.72)),
        var(--stone);
    }

    .sm-page-content > figure:not(.sm-featured-image) figcaption,
    .sm-page-content > figure:not(.sm-featured-image) .wp-caption-text,
    .sm-image-box figcaption {
      padding: 10px 12px;
      color: var(--ink);
      font-size: 13px;
      font-weight: 750;
      line-height: 1.35;
      border-top: 1px solid rgba(221, 208, 187, 0.82);
    }

    .sm-page-content table {
      width: 100%;
      border-collapse: collapse;
      margin: 0 0 28px;
      background: #fffaf1;
    }

    .sm-page-content th,
    .sm-page-content td {
      padding: 12px 14px;
      border: 1px solid var(--stone-deep);
      text-align: left;
      vertical-align: top;
    }

    .sm-page-content input,
    .sm-page-content select,
    .sm-page-content textarea {
      width: 100%;
      max-width: 100%;
      padding: 12px 13px;
      border: 1px solid var(--stone-deep);
      background: #fffdf7;
      color: var(--ink);
      font: inherit;
    }

    .sm-page-content .nf-form-cont .field-wrap,
    .sm-page-content .nf-form-cont .nf-field,
    .sm-page-content .nf-form-cont .nf-field-element,
    .sm-page-content .nf-form-cont nf-fields-wrap,
    .sm-page-content .nf-form-cont nf-field {
      width: 100% !important;
      max-width: 100% !important;
    }

    .sm-page-content .nf-form-cont nf-fields-wrap {
      display: grid !important;
      grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
      gap: 18px !important;
    }

    .sm-page-content .nf-form-cont nf-field {
      display: block !important;
      grid-column: span 12 !important;
      min-width: 0 !important;
    }

    .sm-page-content .nf-form-cont .nf-field-container {
      width: 100% !important;
      max-width: none !important;
    }

    .sm-page-content .nf-form-cont input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
    .sm-page-content .nf-form-cont textarea,
    .sm-page-content .nf-form-cont select,
    .sm-page-content .caldera_forms_form input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
    .sm-page-content .caldera_forms_form textarea,
    .sm-page-content .caldera_forms_form select {
      display: block !important;
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0 !important;
    }

    .sm-page-content .nf-form-cont input[type="button"],
    .sm-page-content .nf-form-cont input[type="submit"],
    .sm-page-content .caldera_forms_form input[type="button"],
    .sm-page-content .caldera_forms_form input[type="submit"] {
      width: auto !important;
      min-width: 160px;
    }

    .sm-page-content input[type="checkbox"],
    .sm-page-content input[type="radio"],
    .sm-page-content input[type="button"],
    .sm-page-content input[type="submit"] {
      width: auto;
    }

    .sm-page-content button,
    .sm-page-content input[type="button"],
    .sm-page-content input[type="submit"] {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      padding: 12px 18px;
      background: var(--sage);
      color: var(--white);
      border: 1px solid var(--sage);
      border-radius: 3px;
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      cursor: pointer;
    }

    .sm-page-content button:hover,
    .sm-page-content input[type="button"]:hover,
    .sm-page-content input[type="submit"]:hover {
      background: var(--sage-dark);
    }

    .sm-enquiry-panel {
      width: min(100%, 1040px);
      margin: clamp(34px, 5vw, 64px) auto;
      padding: clamp(24px, 4.5vw, 52px);
      background:
        linear-gradient(180deg, rgba(255, 253, 247, 0.94), rgba(255, 250, 241, 0.9)),
        var(--cream);
      border: 1px solid rgba(183, 154, 97, 0.32);
      box-shadow: 0 24px 70px rgba(65, 55, 38, 0.1);
    }

    .sm-enquiry-form {
      display: block;
      width: 100%;
    }

    .sm-form-required {
      margin: 0 0 24px;
      color: var(--muted);
      font-size: 17px;
      line-height: 1.5;
    }

    .sm-form-required strong,
    .sm-form-required span {
      color: var(--ink);
    }

    .sm-form-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 22px 24px;
      width: 100%;
    }

    .sm-form-grid label {
      display: grid;
      gap: 8px;
      margin: 0;
      min-width: 0;
      color: var(--ink);
    }

    .sm-form-grid label > span {
      display: block;
      color: var(--ink);
      font-size: 13px;
      font-weight: 850;
      letter-spacing: 0.05em;
      line-height: 1.25;
      text-transform: uppercase;
    }

    .sm-form-grid input,
    .sm-form-grid textarea {
      width: 100% !important;
      min-height: 54px;
      padding: 14px 15px;
      background: rgba(255, 253, 247, 0.96);
      border: 1px solid rgba(183, 154, 97, 0.36);
      color: var(--ink);
      font-family: "Source Sans 3", "Avenir Next", "Segoe UI", Arial, sans-serif;
      font-size: 17px;
      line-height: 1.45;
      transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    }

    .sm-form-grid textarea {
      min-height: 170px;
      resize: vertical;
    }

    .sm-form-grid input:focus,
    .sm-form-grid textarea:focus {
      outline: none;
      background: var(--white);
      border-color: var(--sage);
      box-shadow: 0 0 0 4px rgba(95, 111, 93, 0.13);
    }

    .sm-form-full {
      grid-column: 1 / -1;
    }

    .sm-form-hp {
      position: absolute !important;
      width: 1px !important;
      height: 1px !important;
      overflow: hidden !important;
      clip: rect(1px, 1px, 1px, 1px) !important;
      white-space: nowrap !important;
    }

    .sm-form-notice {
      margin: 0 0 24px;
      padding: 15px 18px;
      border: 1px solid;
      font-size: 16px;
      font-weight: 700;
      line-height: 1.45;
    }

    .sm-form-notice-success {
      background: rgba(232, 238, 228, 0.92);
      border-color: rgba(95, 111, 93, 0.34);
      color: var(--sage-dark);
    }

    .sm-form-notice-error {
      background: rgba(255, 245, 238, 0.92);
      border-color: rgba(151, 89, 62, 0.34);
      color: #744431;
    }

    .sm-enquiry-form .sm-form-submit {
      margin-top: 28px;
      min-width: 190px;
      background: var(--sage);
      border-color: var(--sage);
      color: var(--white);
      cursor: pointer;
    }

    .sm-enquiry-form .sm-form-submit:hover,
    .sm-enquiry-form .sm-form-submit:focus {
      background: var(--sage-dark);
      border-color: var(--sage-dark);
      color: var(--white);
    }

    .sm-page-content .gallery,
    .sm-page-content .wp-block-gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
      gap: 18px;
      margin: 0 0 28px;
    }

    .sm-page-content-full .gallery,
    .sm-page-content-full .wp-block-gallery,
    .sm-page-content-full .sm-shortcode-gallery {
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }

    .sm-page-content .gallery img,
    .sm-page-content .wp-block-gallery img {
      width: 100%;
      height: 100%;
      aspect-ratio: 4 / 5;
      object-fit: contain;
      padding: 8px;
      background: var(--stone);
      border: 1px solid var(--stone-deep);
    }

    .sm-page-content blockquote {
      padding: 24px 28px;
      background: var(--sage-soft);
      border-left: 4px solid var(--gold);
      color: var(--ink);
      font-family: "Cormorant Garamond", Georgia, serif;
      font-size: 26px;
      line-height: 1.25;
    }

    .sm-page-content a {
      color: var(--sage-dark);
      font-weight: 800;
      text-underline-offset: 4px;
    }

    .sm-page-content .section-title-container,
    .sm-page-content .accordion_title {
      max-width: 980px;
      margin: 34px auto 26px;
      text-align: center;
    }

    .sm-page-content .section-title,
    .sm-page-content .section-title-main {
      display: block;
      color: var(--ink);
      font-family: "Cormorant Garamond", Georgia, serif;
      font-size: clamp(34px, 5vw, 56px);
      font-weight: 600;
      line-height: 1.05;
      letter-spacing: 0;
      text-transform: capitalize;
    }

    .sm-shortcode-row,
    .sm-page-content .row {
      display: grid;
      grid-template-columns: repeat(12, minmax(0, 1fr));
      gap: clamp(20px, 2.6vw, 36px);
      margin: 0 0 28px;
      width: 100%;
      max-width: none;
    }

    .sm-page-content .row-full-width {
      max-width: none;
    }

    .sm-page-content-full > .sm-shortcode-row,
    .sm-page-content-full > .row {
      gap: clamp(24px, 2.8vw, 40px);
    }

    .sm-shortcode-row:last-child,
    .sm-page-content .row:last-child {
      margin-bottom: 0;
    }

    .sm-shortcode-col,
    .sm-page-content .col {
      grid-column: span 12;
      min-width: 0;
      max-width: none;
      padding: 0;
      flex: initial;
    }

    .sm-col-span-1,
    .sm-page-content .large-1 { grid-column: span 1; }
    .sm-col-span-2,
    .sm-page-content .large-2 { grid-column: span 2; }
    .sm-col-span-3,
    .sm-page-content .large-3 { grid-column: span 3; }
    .sm-col-span-4,
    .sm-page-content .large-4 { grid-column: span 4; }
    .sm-col-span-5,
    .sm-page-content .large-5 { grid-column: span 5; }
    .sm-col-span-6,
    .sm-page-content .large-6 { grid-column: span 6; }
    .sm-col-span-7,
    .sm-page-content .large-7 { grid-column: span 7; }
    .sm-col-span-8,
    .sm-page-content .large-8 { grid-column: span 8; }
    .sm-col-span-9,
    .sm-page-content .large-9 { grid-column: span 9; }
    .sm-col-span-10,
    .sm-page-content .large-10 { grid-column: span 10; }
    .sm-col-span-11,
    .sm-page-content .large-11 { grid-column: span 11; }
    .sm-col-span-12,
    .sm-page-content .large-12 { grid-column: span 12; }

    .sm-shortcode-gap {
      min-height: 12px;
    }

    .sm-page-content .button,
    .sm-page-content .button.button-primary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 46px;
      padding: 12px 18px;
      background: var(--sage);
      color: var(--white);
      border: 1px solid var(--sage);
      border-radius: 3px;
      font-size: 13px;
      font-weight: 850;
      letter-spacing: 0.08em;
      line-height: 1.2;
      text-decoration: none;
      text-transform: uppercase;
    }

    .sm-page-content .button:hover,
    .sm-page-content .button.button-primary:hover {
      background: var(--sage-dark);
      color: var(--white);
    }

    .sm-page-content .box,
    .sm-page-content .fg-item-inner {
      overflow: hidden;
      background: #fffaf1;
      border: 1px solid var(--stone-deep);
      box-shadow: 0 18px 42px rgba(65, 55, 38, 0.09);
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }

    .sm-page-content .box:hover,
    .sm-page-content .fg-item-inner:hover {
      transform: translateY(-2px);
      border-color: rgba(183, 154, 97, 0.52);
      box-shadow: 0 24px 58px rgba(65, 55, 38, 0.13);
    }

    .sm-page-content .box-image,
    .sm-page-content .box-image a,
    .sm-page-content .fg-thumb {
      display: block;
      width: 100%;
    }

    .sm-page-content .box-image img,
    .sm-page-content .fg-image,
    .sm-page-content .fg-thumb img {
      width: 100%;
      height: 100%;
      aspect-ratio: 4 / 5;
      object-fit: contain;
      padding: 8px;
      background:
        linear-gradient(180deg, rgba(255, 250, 241, 0.96), rgba(238, 231, 216, 0.72)),
        var(--stone);
    }

    .sm-page-content .box-text {
      padding: 12px 14px;
      border-top: 1px solid rgba(221, 208, 187, 0.82);
      color: var(--ink);
      font-size: 14px;
      font-weight: 750;
      line-height: 1.35;
    }

    .sm-page-content .box-text p {
      margin: 0;
    }

    .sm-page-content .foogallery,
    .sm-page-content .foogallery-container {
      display: grid !important;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
      gap: 20px !important;
      width: 100% !important;
      margin: 30px 0 !important;
    }

    .sm-page-content .fg-item {
      width: auto !important;
      height: auto !important;
      min-width: 0 !important;
      margin: 0 !important;
      position: static !important;
    }

    .sm-page-content .fg-item-inner,
    .sm-page-content .fg-thumb {
      height: 100%;
    }

    .sm-video-frame,
    .sm-page-content video,
    .sm-page-content iframe,
    .sm-page-content object,
    .sm-page-content embed {
      width: 100%;
      max-width: 1180px;
      margin: 30px auto;
    }

    .sm-video-frame {
      overflow: hidden;
      background: #111;
      border: 1px solid var(--stone-deep);
      box-shadow: 0 18px 42px rgba(65, 55, 38, 0.09);
    }

    .sm-video-frame video,
    .sm-page-content video {
      display: block;
      aspect-ratio: 16 / 9;
      height: auto;
      margin: 0;
      background: #111;
    }

    .sm-page-content iframe,
    .sm-page-content object,
    .sm-page-content embed {
      min-height: min(76vh, 780px);
      display: block;
      border: 1px solid var(--stone-deep);
      background: #fffaf1;
      box-shadow: 0 18px 42px rgba(65, 55, 38, 0.08);
    }

    .sm-page-content .pdfemb-viewer,
    .sm-page-content .pdfemb-pagescontainer,
    .sm-page-content .pdfjs-viewer,
    .sm-page-content .pdfjs {
      max-width: 1180px !important;
      width: 100% !important;
      margin: 28px auto !important;
      background: #fffaf1;
      border: 1px solid var(--stone-deep);
      box-shadow: 0 18px 42px rgba(65, 55, 38, 0.08);
    }

    .sm-page-content .slider-wrapper,
    .sm-page-content .slider,
    .sm-page-content .twenty20,
    .sm-page-content .twentytwenty-container,
    .sm-page-content .twentytwenty-wrapper {
      width: 100% !important;
      max-width: 1180px !important;
      margin: 30px auto !important;
    }

    .sm-page-content .twenty20 {
      overflow: hidden;
      padding: 8px;
      background:
        linear-gradient(180deg, rgba(255, 250, 241, 0.96), rgba(238, 231, 216, 0.72)),
        var(--stone);
      border: 1px solid var(--stone-deep);
      box-shadow: 0 18px 42px rgba(65, 55, 38, 0.09);
    }

    .sm-page-content .twentytwenty-wrapper {
      margin: 0 !important;
      background: var(--stone);
    }

    .sm-page-content .twentytwenty-container {
      margin: 0 !important;
      min-height: 320px;
    }

    .sm-page-content .slider img,
    .sm-page-content .twentytwenty-container img {
      width: 100%;
      height: auto;
      object-fit: contain;
      background: var(--stone);
    }

    .sm-page-content .nf-form-cont,
    .sm-page-content .caldera_forms_form {
      max-width: 980px;
      margin: 34px auto;
      padding: clamp(24px, 4vw, 40px);
      background: rgba(255, 250, 241, 0.86);
      border: 1px solid var(--stone-deep);
      box-shadow: 0 18px 42px rgba(65, 55, 38, 0.08);
    }

    .sm-page-content .nf-form-content,
    .sm-page-content .caldera_forms_form .row {
      display: grid;
      grid-template-columns: repeat(12, minmax(0, 1fr));
      gap: 16px;
    }

    .sm-page-content .nf-field-container,
    .sm-page-content .form-group {
      grid-column: span 12;
      margin: 0;
    }

    .sm-page-content .caldera_forms_form .col-md-2 { grid-column: span 2; }
    .sm-page-content .caldera_forms_form .col-md-3 { grid-column: span 3; }
    .sm-page-content .caldera_forms_form .col-md-4 { grid-column: span 4; }
    .sm-page-content .caldera_forms_form .col-md-6 { grid-column: span 6; }
    .sm-page-content .caldera_forms_form .col-md-8 { grid-column: span 8; }
    .sm-page-content .caldera_forms_form .col-md-10 { grid-column: span 10; }
    .sm-page-content .caldera_forms_form .col-md-12 { grid-column: span 12; }

    .sm-page-content .nf-field-label label,
    .sm-page-content .control-label {
      color: var(--ink);
      font-size: 13px;
      font-weight: 850;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .sm-page-content .nf-error-msg,
    .sm-page-content .ninja-forms-req-symbol {
      color: #8b322d;
      font-weight: 800;
    }

    .sm-shortcode-gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
      gap: 18px;
      margin: 0 0 28px;
    }

    .sm-shortcode-gallery img {
      width: 100%;
      height: 100%;
      aspect-ratio: 4 / 5;
      object-fit: contain;
      padding: 8px;
      background: var(--stone);
      border: 1px solid var(--stone-deep);
    }

    .sm-shortcode-title {
      text-transform: capitalize;
    }

    .sm-sidebar {
      display: grid;
      gap: 18px;
      position: sticky;
      top: 126px;
    }

    .sm-sidebar-panel {
      padding: 24px;
      background: rgba(255, 250, 241, 0.9);
      border: 1px solid rgba(221, 208, 187, 0.95);
      box-shadow: 0 16px 38px rgba(65, 55, 38, 0.08);
    }

    .sm-sidebar-contact {
      background: linear-gradient(180deg, var(--sage-soft), rgba(255, 250, 241, 0.95));
      border-top: 3px solid var(--sage);
    }

    .sm-sidebar-title {
      margin: 0 0 14px;
      color: var(--ink);
      font-family: "Cormorant Garamond", Georgia, serif;
      font-size: 30px;
      line-height: 1.05;
    }

    .sm-sidebar-panel p {
      margin: 0 0 18px;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.55;
    }

    .sm-sidebar-call {
      display: block;
      margin-bottom: 12px;
      color: var(--ink);
      font-size: 23px;
      font-weight: 800;
      line-height: 1.1;
      text-decoration: none;
    }

    .sm-sidebar-link {
      display: inline-flex;
      align-items: center;
      color: var(--sage-dark);
      font-size: 13px;
      font-weight: 850;
      letter-spacing: 0.08em;
      text-decoration: none;
      text-transform: uppercase;
    }

    .sm-sidebar-link:hover,
    .sm-sidebar-list a:hover {
      color: var(--gold);
    }

    .sm-sidebar-list {
      display: grid;
      gap: 10px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .sm-sidebar-list a {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      color: var(--ink);
      font-weight: 750;
      line-height: 1.3;
      text-decoration: none;
    }

    .sm-sidebar-list a::before {
      content: "";
      width: 6px;
      height: 6px;
      margin-top: 8px;
      border-radius: 50%;
      background: var(--gold);
      flex: 0 0 auto;
    }

    .sm-sidebar-address {
      padding: 14px 0;
      border-top: 1px solid var(--stone-deep);
    }

    .sm-sidebar-address:first-of-type {
      border-top: 0;
      padding-top: 0;
    }

    .sm-sidebar-address:last-child {
      padding-bottom: 0;
    }

    .sm-sidebar-address strong,
    .sm-sidebar-address span {
      display: block;
    }

    .sm-sidebar-address strong {
      color: var(--ink);
      font-size: 15px;
      line-height: 1.3;
    }

    .sm-sidebar-address span {
      margin-top: 4px;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.35;
    }

    .sm-sidebar-quality img {
      width: 100%;
      max-width: 260px;
      height: auto;
      margin-top: 4px;
    }

    .sm-page-hero {
      background:
        linear-gradient(90deg, rgba(48, 44, 38, 0.84), rgba(63, 76, 63, 0.78)),
        url("https://www.scottmemorials.co.uk/wp-content/uploads/2018/10/Memorial-2-1024x682.jpg") center / cover no-repeat;
      color: var(--white);
    }

    .sm-page-hero-inner {
      width: min(100%, 1180px);
      margin: 0 auto;
      padding: 92px 24px 82px;
      text-align: center;
    }

    .sm-page-hero h1 {
      max-width: 860px;
      margin: 0 auto;
      color: var(--white);
      font-family: "Cormorant Garamond", Georgia, serif;
      font-size: clamp(48px, 8vw, 86px);
      line-height: 0.98;
      text-transform: capitalize;
    }

    .sm-page-hero p {
      max-width: 680px;
      margin: 20px auto 0;
      color: rgba(255, 250, 241, 0.86);
      font-size: 19px;
      line-height: 1.6;
    }

    .sm-blog-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 24px;
    }

    .sm-post-card {
      display: flex;
      min-height: 100%;
      flex-direction: column;
      background: rgba(255, 250, 241, 0.82);
      border: 1px solid rgba(221, 208, 187, 0.95);
      box-shadow: 0 18px 45px rgba(65, 55, 38, 0.09);
    }

    .sm-post-card-image {
      display: block;
      aspect-ratio: 4 / 5;
      overflow: hidden;
      background:
        linear-gradient(180deg, rgba(255, 250, 241, 0.96), rgba(238, 231, 216, 0.72)),
        var(--stone);
    }

    .sm-post-card-image img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      padding: 8px;
      transition: transform 0.28s ease;
    }

    .sm-post-card:hover .sm-post-card-image img {
      transform: scale(1.04);
    }

    .sm-post-card-body {
      display: flex;
      min-height: 300px;
      flex: 1;
      flex-direction: column;
      padding: 26px;
    }

    .sm-post-meta {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 14px;
      color: var(--soft);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    .sm-post-card h2 {
      margin: 0;
      color: var(--ink);
      font-family: "Cormorant Garamond", Georgia, serif;
      font-size: clamp(30px, 3.4vw, 40px);
      line-height: 1.02;
    }

    .sm-post-card h2 a {
      text-decoration: none;
    }

    .sm-post-card h2 a:hover {
      color: var(--sage);
    }

    .sm-post-card p {
      margin: 16px 0 0;
      color: var(--muted);
      line-height: 1.6;
    }

    .sm-text-link {
      margin-top: auto;
      padding-top: 22px;
      color: var(--sage-dark);
      font-size: 13px;
      font-weight: 850;
      letter-spacing: 0.1em;
      text-decoration: none;
      text-transform: uppercase;
    }

    .sm-text-link:hover {
      color: var(--gold);
    }

    .navigation.pagination,
    .posts-navigation,
    .sm-post-nav {
      width: min(100%, 1180px);
      margin: 40px auto 0;
      padding: 0 24px;
    }

    .nav-links,
    .sm-post-nav {
      display: flex;
      gap: 16px;
      justify-content: space-between;
      flex-wrap: wrap;
    }

    .nav-links a,
    .nav-links span,
    .sm-post-nav a {
      display: inline-flex;
      min-height: 42px;
      align-items: center;
      padding: 10px 14px;
      background: #fffaf1;
      border: 1px solid rgba(221, 208, 187, 0.95);
      color: var(--ink);
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.06em;
      text-decoration: none;
      text-transform: uppercase;
    }

    .nav-links .current,
    .nav-links a:hover,
    .sm-post-nav a:hover {
      background: var(--sage);
      color: var(--white);
      border-color: var(--sage);
    }

    .sm-single-meta {
      margin-bottom: 14px;
      color: rgba(255, 250, 241, 0.76);
    }

    .sm-featured-image {
      margin: 0 0 34px;
      overflow: hidden;
      border: 1px solid rgba(221, 208, 187, 0.95);
      box-shadow: var(--shadow);
    }

    .sm-featured-image img {
      width: 100%;
      height: auto;
    }

    .sm-one-page-nav {
      position: sticky;
      top: 89px;
      z-index: 10;
      background: rgba(255, 250, 241, 0.94);
      border-top: 1px solid rgba(221, 208, 187, 0.78);
      border-bottom: 1px solid rgba(221, 208, 187, 0.78);
      backdrop-filter: blur(12px);
    }

    .sm-one-page-nav-inner {
      width: min(100%, 1180px);
      margin: 0 auto;
      padding: 10px 24px;
      display: flex;
      gap: 10px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .sm-one-page-nav a {
      padding: 9px 11px;
      color: var(--ink);
      font-size: 12px;
      font-weight: 850;
      letter-spacing: 0.08em;
      text-decoration: none;
      text-transform: uppercase;
    }

    .sm-one-page-nav a:hover {
      color: var(--sage);
    }

    .scott-footer {
      position: relative;
      overflow: hidden;
      background: linear-gradient(180deg, #fffaf1 0%, var(--paper) 44%, var(--stone) 100%);
      color: var(--ink);
      border-top: 1px solid rgba(183, 154, 97, 0.35);
    }

    .scott-footer::before {
      content: "";
      position: absolute;
      inset: 0 0 auto;
      height: 5px;
      background: linear-gradient(90deg, var(--sage), var(--gold), var(--sage));
    }

    .sf-wrap {
      position: relative;
      max-width: 1180px;
      margin: 0 auto;
      padding: 48px 24px 34px;
    }

    .sf-brand-row {
      display: grid;
      grid-template-columns: minmax(240px, 355px) minmax(280px, 1fr) auto;
      gap: 34px;
      align-items: center;
      padding-bottom: 34px;
      border-bottom: 1px solid var(--stone-deep);
    }

    .sf-logo-link {
      display: inline-flex;
      width: min(100%, 340px);
      text-decoration: none;
    }

    .sf-logo {
      width: 100%;
      height: auto;
      filter:
        drop-shadow(0 1px 0 rgba(64, 55, 39, 0.18))
        drop-shadow(0 8px 18px rgba(92, 73, 36, 0.08));
    }

    .sf-intro {
      max-width: 470px;
      margin: 0;
      color: var(--muted);
      font-size: 18px;
      line-height: 1.55;
    }

    .sf-intro strong {
      color: var(--ink);
      font-weight: 700;
    }

    .sf-contact-panel {
      min-width: 255px;
      padding: 18px 20px;
      background: var(--sage-soft);
      border: 1px solid rgba(95, 111, 93, 0.2);
    }

    .sf-contact-kicker {
      margin: 0 0 8px;
      color: var(--sage);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.16em;
      line-height: 1.3;
      text-transform: uppercase;
    }

    .sf-contact-panel a {
      color: var(--ink);
      font-size: 19px;
      font-weight: 800;
      line-height: 1.25;
      text-decoration: none;
      text-underline-offset: 4px;
    }

    .sf-contact-panel a:hover {
      color: var(--sage);
      text-decoration: underline;
    }

    .sf-main {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 300px;
      gap: 34px;
      padding-top: 34px;
      align-items: start;
    }

    .sf-locations {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }

    .sf-branch {
      min-height: 100%;
      padding: 22px 22px 20px;
      background: rgba(255, 250, 241, 0.68);
      border: 1px solid rgba(221, 208, 187, 0.95);
    }

    .sf-branch-main {
      background: linear-gradient(180deg, rgba(255, 250, 241, 0.95), rgba(246, 240, 229, 0.9));
      border-top: 3px solid var(--gold);
    }

    .sf-heading {
      margin: 0 0 17px;
      color: var(--ink);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.16em;
      line-height: 1.25;
      text-transform: uppercase;
    }

    .sf-address {
      margin: 0 0 18px;
      color: var(--muted);
      font-size: 16px;
      font-style: normal;
      line-height: 1.55;
    }

    .sf-detail {
      margin: 0 0 11px;
      font-size: 16px;
      line-height: 1.35;
    }

    .sf-label {
      display: block;
      margin-bottom: 4px;
      color: var(--soft);
      font-size: 10px;
      font-weight: 800;
      letter-spacing: 0.15em;
      text-transform: uppercase;
    }

    .sf-link {
      color: var(--ink);
      font-weight: 800;
      text-decoration: none;
      text-underline-offset: 4px;
    }

    .sf-link:hover {
      color: var(--sage);
      text-decoration: underline;
    }

    .sf-map {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-top: 4px;
      color: var(--sage);
      font-size: 14px;
      font-weight: 800;
      text-decoration: none;
      text-underline-offset: 4px;
    }

    .sf-map svg {
      width: 15px;
      height: 15px;
      flex: 0 0 auto;
    }

    .sf-map:hover {
      color: var(--gold);
      text-decoration: underline;
    }

    .sf-quality {
      padding: 24px;
      background: #ffffff;
      border: 1px solid rgba(221, 208, 187, 0.95);
      box-shadow: 0 20px 45px rgba(67, 57, 39, 0.09);
    }

    .sf-quality-title {
      display: flex;
      align-items: center;
      gap: 10px;
      margin: 0 0 16px;
      color: var(--ink);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    .sf-quality-title::before {
      content: "";
      width: 26px;
      height: 1px;
      background: var(--gold);
    }

    .sf-logos {
      width: 100%;
      height: auto;
      margin: 0 0 18px;
      background: #f4f1eb;
      border: 1px solid #ece6dc;
    }

    .sf-quality p {
      margin: 0;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.6;
    }

    .sf-service-list {
      list-style: none;
      display: grid;
      gap: 8px;
      margin: 18px 0 0;
      padding: 18px 0 0;
      border-top: 1px solid var(--stone-deep);
    }

    .sf-service-list li {
      display: flex;
      align-items: flex-start;
      gap: 9px;
      color: var(--ink);
      font-size: 14px;
      font-weight: 700;
      line-height: 1.35;
    }

    .sf-service-list li::before {
      content: "";
      width: 6px;
      height: 6px;
      margin-top: 7px;
      border-radius: 50%;
      background: var(--gold);
      flex: 0 0 auto;
    }

    .sf-bottom {
      margin-top: 34px;
      padding-top: 20px;
      border-top: 1px solid var(--stone-deep);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      flex-wrap: wrap;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.5;
    }

    .sf-legal {
      margin: 0;
      padding: 0;
      list-style: none;
      display: flex;
      gap: 18px;
      flex-wrap: wrap;
    }

    .sf-legal li {
      margin: 0;
      padding: 0;
    }

    .sf-legal a {
      color: var(--ink);
      font-weight: 700;
      text-decoration: none;
      text-underline-offset: 4px;
    }

    .sf-legal a:hover {
      color: var(--sage);
      text-decoration: underline;
    }

    @media (max-width: 1240px) {
      .sm-header-inner {
        grid-template-columns: minmax(220px, 1fr) auto auto;
        grid-template-areas: "brand action mobile";
        padding: 18px 24px;
      }

      .sm-primary-nav,
      .sm-nav {
        display: none;
      }

      .sm-primary-nav {
        padding-top: 0;
        border-top: 0;
      }

      .sm-header-action {
        justify-self: end;
      }

      .sm-mobile-menu {
        display: block;
      }

      .sm-hero {
        min-height: 620px;
      }

      .sm-hero-layout {
        grid-template-columns: 1fr;
        gap: 30px;
      }

      .sm-hero-card {
        max-width: 440px;
      }

      .sm-hero-points,
      .sm-trust-grid,
      .sm-testimonial-grid,
      .sm-review-row {
        grid-template-columns: 1fr;
      }

      .sm-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .sm-point,
      .sm-trust-item {
        border-right: 1px solid rgba(221, 208, 187, 0.85);
      }

      .sm-section-head,
      .sm-about-grid,
      .sm-proof-grid,
      .sm-process-grid,
      .sm-content-layout,
      .sf-brand-row,
      .sf-main {
        grid-template-columns: 1fr;
      }

      .sm-about-copy {
        position: static;
      }

      .sm-pathways {
        grid-template-columns: 1fr;
      }

      .sm-path,
      .sm-path:first-child {
        min-height: 430px;
      }

      .sm-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

      .sm-process-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .sf-contact-panel,
      .sf-quality {
        width: min(100%, 420px);
      }

      .sm-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .sm-col-md-1,
      .sm-page-content .medium-1 { grid-column: span 1; }
      .sm-col-md-2,
      .sm-page-content .medium-2 { grid-column: span 2; }
      .sm-col-md-3,
      .sm-page-content .medium-3 { grid-column: span 3; }
      .sm-col-md-4,
      .sm-page-content .medium-4 { grid-column: span 4; }
      .sm-col-md-5,
      .sm-page-content .medium-5 { grid-column: span 5; }
      .sm-col-md-6,
      .sm-page-content .medium-6 { grid-column: span 6; }
      .sm-col-md-7,
      .sm-page-content .medium-7 { grid-column: span 7; }
      .sm-col-md-8,
      .sm-page-content .medium-8 { grid-column: span 8; }
      .sm-col-md-9,
      .sm-page-content .medium-9 { grid-column: span 9; }
      .sm-col-md-10,
      .sm-page-content .medium-10 { grid-column: span 10; }
      .sm-col-md-11,
      .sm-page-content .medium-11 { grid-column: span 11; }
      .sm-col-md-12,
      .sm-page-content .medium-12 { grid-column: span 12; }

      .sm-page-content > figure:not(.sm-featured-image),
      .sm-image-box {
        width: calc((100% - 40px) / 3);
        margin-right: 14px;
      }

      .sm-shortcode-col > .sm-image-box,
      .sm-shortcode-col .sm-image-box {
        width: 100%;
        margin-right: 0;
      }

      .sm-page-content-full .gallery,
      .sm-page-content-full .wp-block-gallery,
      .sm-page-content-full .sm-shortcode-gallery {
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
      }

      .sm-page-content .foogallery,
      .sm-page-content .foogallery-container {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
      }

      .sm-page-content .caldera_forms_form .col-md-2,
      .sm-page-content .caldera_forms_form .col-md-3,
      .sm-page-content .caldera_forms_form .col-md-4,
      .sm-page-content .caldera_forms_form .col-md-6 {
        grid-column: span 6;
      }
    }

    @media (max-width: 720px) {
      .admin-bar .sm-header {
        top: 46px;
      }

      .sm-topbar-inner {
        display: block;
        padding: 10px 18px;
      }

      .sm-topbar-links {
        margin-top: 8px;
      }

      .sm-header-inner {
        grid-template-columns: 1fr auto;
        grid-template-areas:
          "brand mobile"
          "action action";
        padding: 22px 18px;
        gap: 16px;
      }

      .sm-logo,
      .custom-logo {
        width: min(100%, 210px);
      }

      .custom-logo-link {
        width: min(100%, 210px);
      }

      .sm-header-action {
        width: 100%;
      }

      .sm-mobile-menu {
        justify-self: end;
      }

      .sm-hero {
        min-height: auto;
      }

      .sm-hero-inner {
        padding: 64px 18px 54px;
      }

      .sm-eyebrow {
        font-size: 11px;
        letter-spacing: 0.14em;
      }

      .sm-eyebrow::before {
        width: 28px;
      }

      .sm-hero h1 {
        font-size: clamp(42px, 15vw, 66px);
        line-height: 0.96;
      }

      .sm-hero-copy {
        font-size: 17px;
      }

      .sm-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
      }

      .sm-button {
        width: 100%;
      }

      .sm-hero-card {
        padding: 22px;
      }

      .sm-hero-points {
        margin-top: 0;
        padding: 0;
      }

      .sm-section {
        padding: 62px 18px;
      }

      .sm-page-hero-inner {
        padding: 68px 18px 62px;
      }

      .sm-content-section {
        padding: 58px 18px 70px;
      }

      .sm-page-content {
        padding: 26px;
      }

      .sm-shortcode-row,
      .sm-page-content .row {
        gap: 22px;
      }

      .sm-shortcode-col,
      .sm-page-content .col,
      .sm-col-sm-1,
      .sm-col-sm-2,
      .sm-col-sm-3,
      .sm-col-sm-4,
      .sm-col-sm-5,
      .sm-col-sm-6,
      .sm-col-sm-7,
      .sm-col-sm-8,
      .sm-col-sm-9,
      .sm-col-sm-10,
      .sm-col-sm-11,
      .sm-col-sm-12,
      .sm-page-content .small-1,
      .sm-page-content .small-2,
      .sm-page-content .small-3,
      .sm-page-content .small-4,
      .sm-page-content .small-5,
      .sm-page-content .small-6,
      .sm-page-content .small-7,
      .sm-page-content .small-8,
      .sm-page-content .small-9,
      .sm-page-content .small-10,
      .sm-page-content .small-11,
      .sm-page-content .small-12 {
        grid-column: span 12;
      }

      .sm-page-content > figure:not(.sm-featured-image),
      .sm-image-box {
        width: calc((100% - 16px) / 2);
        margin-right: 8px;
      }

      .sm-shortcode-col > .sm-image-box,
      .sm-shortcode-col .sm-image-box {
        width: 100%;
        margin-right: 0;
      }

      .sm-blog-grid {
        grid-template-columns: 1fr;
      }

      .sm-page-content .foogallery,
      .sm-page-content .foogallery-container {
        grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) !important;
        gap: 14px !important;
      }

      .sm-page-content iframe,
      .sm-page-content object,
      .sm-page-content embed {
        min-height: 480px;
      }

      .sm-page-content .nf-form-cont,
      .sm-page-content .caldera_forms_form {
        padding: 22px;
      }

      .sm-enquiry-panel {
        margin: 30px auto;
        padding: 22px;
      }

      .sm-form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
      }

      .sm-form-grid input,
      .sm-form-grid textarea {
        min-height: 52px;
        font-size: 16px;
      }

      .sm-enquiry-form .sm-form-submit {
        width: 100%;
        min-width: 0;
      }

      .sm-page-content .caldera_forms_form .col-md-2,
      .sm-page-content .caldera_forms_form .col-md-3,
      .sm-page-content .caldera_forms_form .col-md-4,
      .sm-page-content .caldera_forms_form .col-md-6,
      .sm-page-content .caldera_forms_form .col-md-8,
      .sm-page-content .caldera_forms_form .col-md-10,
      .sm-page-content .caldera_forms_form .col-md-12 {
        grid-column: span 12;
      }

      .sm-post-card-body {
        min-height: 0;
        padding: 22px;
      }

      .sm-one-page-nav {
        top: 0;
      }

      .sm-sidebar {
        grid-template-columns: 1fr;
      }

      .sm-section-head {
        gap: 20px;
        margin-bottom: 28px;
      }

      .sm-title {
        font-size: clamp(36px, 12vw, 50px);
      }

      .sm-path-content,
      .sm-trust-item,
      .sm-about-card,
      .sm-quote {
        padding: 22px;
      }

      .sm-about-card {
        grid-template-columns: 1fr;
      }

      .sm-process-steps {
        grid-template-columns: 1fr;
      }

      .sm-step {
        min-height: auto;
      }

      .sm-proof-badge {
        min-height: 240px;
      }

      .sm-proof-badge strong {
        font-size: 56px;
      }

      .sm-gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
      }

      .sm-work:nth-child(1),
      .sm-work:nth-child(2) {
        grid-column: span 2;
        min-height: 310px;
      }

      .sm-work {
        min-height: 210px;
      }

      .sf-wrap {
        padding: 38px 18px 28px;
      }

      .sf-locations {
        grid-template-columns: 1fr;
      }

      .sf-intro {
        font-size: 16px;
      }

      .sf-logo-link {
        width: min(100%, 300px);
      }

      .sf-bottom {
        display: block;
      }

      .sf-legal {
        margin-top: 12px;
      }
    }

    @media (max-width: 460px) {
      .sm-page-content > figure:not(.sm-featured-image),
      .sm-image-box {
        width: 100%;
        margin-right: 0;
      }
    }
