body.home .wp-site-blocks > header,
body.page-id-89 .wp-site-blocks > header,
body.home .wp-site-blocks > footer,
body.page-id-89 .wp-site-blocks > footer {
  display: none !important;
}

body.home .entry-content,
body.page-id-89 .entry-content,
body.home .wp-block-post-content,
body.page-id-89 .wp-block-post-content,
body.home .is-layout-constrained,
body.page-id-89 .is-layout-constrained {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.home .entry-content > *,
body.page-id-89 .entry-content > *,
body.home .wp-block-post-content > *,
body.page-id-89 .wp-block-post-content > * {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* AJK Building Ltd page design */
:root {
      --ink: #171719;
      --graphite: #4f4f55;
      --muted: #69666f;
      --paper: #f6f3ee;
      --panel: #ffffff;
      --line: #ded8ce;
      --orange: #f04a1a;
      --orange-dark: #c23510;
      --steel: #2f343a;
      --stone: #e7dfd4;
      --green: #78866b;
      --shadow: 0 20px 70px rgba(18, 18, 20, 0.18);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    section[id] {
      scroll-margin-top: 150px;
    }

    body {
      margin: 0;
      font-family: Arial, Helvetica, sans-serif;
      background: var(--paper);
      color: var(--ink);
      letter-spacing: 0;
    }

    img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    input,
    textarea,
    select,
    button {
      font: inherit;
    }

    .top-strip {
      display: flex;
      justify-content: center;
      gap: 20px;
      padding: 9px 18px;
      background: var(--steel);
      color: #f7f4ef;
      font-size: 0.9rem;
    }

    .top-strip a {
      color: #fff;
      font-weight: 700;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 20;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 22px;
      padding: 14px clamp(16px, 4vw, 58px);
      background: rgba(246, 243, 238, 0.93);
      border-bottom: 1px solid rgba(222, 216, 206, 0.9);
      backdrop-filter: blur(14px);
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 224px;
      font-weight: 900;
      text-transform: uppercase;
    }

    .brand img {
      width: 54px;
      height: 54px;
      object-fit: contain;
    }

    .brand span {
      display: grid;
      gap: 3px;
      line-height: 1.05;
    }

    .brand small {
      color: var(--muted);
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.09em;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: clamp(13px, 2.5vw, 30px);
      color: var(--muted);
      font-size: 0.96rem;
      white-space: nowrap;
    }

    .nav-links a {
      padding: 10px 0;
    }

    .nav-links a:hover {
      color: var(--ink);
    }

    .quote-button,
    .hero-button,
    .outline-button,
    .submit-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 46px;
      border-radius: 6px;
      border: 1px solid transparent;
      cursor: pointer;
      font-weight: 800;
      transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
    }

    .quote-button,
    .hero-button,
    .submit-button {
      background: var(--orange);
      color: #fff;
      border-color: var(--orange);
    }

    .quote-button {
      padding: 0 18px;
    }

    .quote-button:hover,
    .hero-button:hover,
    .submit-button:hover {
      transform: translateY(-2px);
      background: var(--orange-dark);
      border-color: var(--orange-dark);
    }

    .hero {
      min-height: calc(94svh - 42px);
      display: grid;
      align-items: end;
      position: relative;
      isolation: isolate;
      overflow: hidden;
      padding: 116px clamp(16px, 4vw, 58px) 54px;
      background: #171719;
      color: #fff;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -2;
      background:
        linear-gradient(90deg, rgba(14, 14, 16, 0.86) 0%, rgba(14, 14, 16, 0.55) 54%, rgba(14, 14, 16, 0.2) 100%),
        url("https://ajkbuildingltd.co.uk/wp-content/uploads/2026/02/1000005393.jpg") center / cover;
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: auto 0 0 0;
      z-index: -1;
      height: 32%;
      background: linear-gradient(0deg, rgba(0, 0, 0, 0.42), transparent);
    }

    .hero-content {
      width: min(900px, 100%);
    }

    .eyebrow {
      margin: 0 0 16px;
      color: #ffd7ca;
      font-size: 0.8rem;
      font-weight: 900;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    h1,
    h2,
    h3,
    p {
      margin-top: 0;
    }

    h1 {
      max-width: 840px;
      margin-bottom: 22px;
      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(3rem, 7.4vw, 6.7rem);
      line-height: 0.94;
      font-weight: 600;
    }

    .hero-copy {
      max-width: 680px;
      margin-bottom: 30px;
      color: rgba(255, 255, 255, 0.86);
      font-size: clamp(1.05rem, 2vw, 1.28rem);
      line-height: 1.65;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .hero-button,
    .outline-button {
      padding: 0 20px;
    }

    .outline-button {
      color: #fff;
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255, 255, 255, 0.58);
    }

    .outline-button:hover {
      transform: translateY(-2px);
      background: rgba(255, 255, 255, 0.16);
    }

    .quick-cards {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1px;
      width: min(1080px, calc(100% - 32px));
      margin: -36px auto 0;
      position: relative;
      z-index: 3;
      background: var(--line);
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
    }

    .quick-card {
      min-height: 132px;
      padding: 24px;
      background: var(--panel);
    }

    .quick-card strong {
      display: block;
      margin-bottom: 8px;
      color: var(--orange);
      font-size: 1.05rem;
    }

    .quick-card p {
      margin: 0;
      color: var(--muted);
      line-height: 1.55;
    }

    .section {
      padding: clamp(70px, 9vw, 118px) clamp(16px, 4vw, 58px);
    }

    .section-inner {
      width: min(1160px, 100%);
      margin: 0 auto;
    }

    .section-heading {
      display: grid;
      grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.42fr);
      gap: clamp(28px, 7vw, 84px);
      align-items: end;
      margin-bottom: 42px;
    }

    h2 {
      margin-bottom: 0;
      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(2.1rem, 5vw, 4.3rem);
      line-height: 1;
      font-weight: 600;
    }

    .lead {
      margin-bottom: 0;
      color: var(--muted);
      font-size: 1.02rem;
      line-height: 1.72;
    }

    .services {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 14px;
    }

    .service {
      min-height: 242px;
      padding: 24px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--panel);
    }

    .service span {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 42px;
      height: 42px;
      margin-bottom: 34px;
      border-radius: 50%;
      background: rgba(240, 74, 26, 0.12);
      color: var(--orange);
      font-weight: 900;
    }

    .service h3 {
      margin-bottom: 10px;
      font-size: 1.16rem;
    }

    .service p {
      margin: 0;
      color: var(--muted);
      line-height: 1.6;
    }

    .dark-band {
      background: var(--steel);
      color: #fff;
    }

    .dark-band .lead,
    .dark-band .project p,
    .dark-band .trust-item p {
      color: rgba(255, 255, 255, 0.72);
    }

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

    .project {
      grid-column: span 2;
      min-height: 390px;
      display: grid;
      grid-template-rows: minmax(250px, 1fr) auto;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.18);
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.05);
    }

    .project.feature {
      grid-column: span 3;
    }

    .project-image {
      min-height: 250px;
      overflow: hidden;
    }

    .project img {
      transition: transform 420ms ease;
    }

    .project:hover img {
      transform: scale(1.04);
    }

    .project-info {
      padding: 20px;
    }

    .project-info h3 {
      margin-bottom: 8px;
      font-size: 1.12rem;
    }

    .project-info p {
      margin: 0;
      line-height: 1.55;
    }

    .about-layout {
      display: grid;
      grid-template-columns: minmax(300px, 0.45fr) minmax(0, 0.55fr);
      gap: clamp(28px, 7vw, 76px);
      align-items: start;
    }

    .about-photo {
      aspect-ratio: 4 / 5;
      overflow: hidden;
      border-radius: 8px;
      box-shadow: var(--shadow);
    }

    .checks {
      display: grid;
      gap: 14px;
      margin-top: 30px;
    }

    .check {
      display: grid;
      grid-template-columns: 42px 1fr;
      gap: 14px;
      align-items: start;
      padding: 18px 0;
      border-bottom: 1px solid var(--line);
    }

    .check strong:first-child {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: var(--orange);
      color: #fff;
    }

    .check h3 {
      margin-bottom: 6px;
      font-size: 1.1rem;
    }

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

    .trust-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1px;
      background: rgba(255, 255, 255, 0.2);
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .trust-item {
      min-height: 190px;
      padding: 26px;
      background: var(--steel);
    }

    .trust-item strong {
      display: block;
      margin-bottom: 14px;
      color: #ffd7ca;
      font-size: 1.15rem;
    }

    .trust-item p {
      margin: 0;
      line-height: 1.6;
    }

    .trust-photo {
      padding: 0;
      overflow: hidden;
      min-height: 260px;
      grid-column: span 2;
    }

    .trust-photo img {
      min-height: 260px;
    }

    .review-showcase {
      overflow: hidden;
      aspect-ratio: 16 / 7;
      margin-bottom: 18px;
      border-radius: 8px;
      box-shadow: 0 14px 42px rgba(18, 18, 20, 0.08);
    }

    .review-showcase img {
      min-height: 100%;
    }

    .trust-item a {
      display: inline-flex;
      margin-top: 14px;
      color: #fff;
      font-weight: 800;
      text-decoration: underline;
      text-underline-offset: 4px;
    }

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

    .testimonial {
      display: flex;
      min-height: 250px;
      flex-direction: column;
      justify-content: space-between;
      gap: 22px;
      padding: 28px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 12px 36px rgba(18, 18, 20, 0.07);
    }

    .testimonial blockquote {
      margin: 0;
      color: var(--ink);
      font-family: Georgia, "Times New Roman", serif;
      font-size: 1.18rem;
      line-height: 1.45;
    }

    .testimonial footer {
      display: flex;
      flex-direction: column;
      gap: 4px;
      color: var(--muted);
      font-size: 0.92rem;
      font-weight: 700;
    }

    .testimonial footer strong {
      color: var(--ink);
      font-size: 0.98rem;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .quote-band {
      background: var(--stone);
    }

    .quote-layout {
      display: grid;
      grid-template-columns: minmax(0, 0.45fr) minmax(320px, 0.55fr);
      gap: clamp(28px, 7vw, 72px);
      align-items: start;
    }

    .contact-methods {
      display: grid;
      gap: 12px;
      margin-top: 32px;
    }

    .contact-method {
      display: flex;
      justify-content: space-between;
      gap: 18px;
      padding: 18px;
      border: 1px solid rgba(23, 23, 25, 0.13);
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.58);
    }

    .contact-method span {
      color: var(--muted);
    }

    .contact-method strong {
      text-align: right;
    }

    .quote-form {
      display: grid;
      gap: 14px;
      padding: clamp(18px, 3vw, 28px);
      border-radius: 8px;
      background: #fff;
      border: 1px solid rgba(23, 23, 25, 0.12);
      box-shadow: 0 16px 50px rgba(18, 18, 20, 0.1);
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    label {
      display: grid;
      gap: 7px;
      color: var(--graphite);
      font-size: 0.9rem;
      font-weight: 800;
    }

    input,
    textarea,
    select {
      width: 100%;
      border: 1px solid rgba(23, 23, 25, 0.18);
      border-radius: 6px;
      background: #fff;
      color: var(--ink);
      padding: 13px 14px;
      outline: none;
    }

    input:focus,
    textarea:focus,
    select:focus {
      border-color: var(--orange);
      box-shadow: 0 0 0 3px rgba(240, 74, 26, 0.16);
    }

    textarea {
      min-height: 122px;
      resize: vertical;
    }

    .submit-button {
      width: 100%;
    }

    .form-note {
      margin: 0;
      color: var(--muted);
      font-size: 0.88rem;
      line-height: 1.5;
    }

    .site-footer {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      padding: 28px clamp(16px, 4vw, 58px);
      background: var(--ink);
      color: rgba(255, 255, 255, 0.7);
    }

    .site-footer strong {
      color: #fff;
    }

    .site-footer a {
      color: #fff;
      font-weight: 800;
      text-decoration: none;
    }

    .site-footer a:hover {
      text-decoration: underline;
      text-underline-offset: 4px;
    }

    @media (max-width: 980px) {
      .site-header {
        flex-wrap: wrap;
      }

      .brand {
        min-width: 0;
      }

      .nav-links {
        order: 3;
        width: 100%;
        overflow-x: auto;
      }

      .quick-cards,
      .section-heading,
      .about-layout,
      .quote-layout {
        grid-template-columns: 1fr;
      }

      .services,
      .testimonial-grid,
      .trust-grid {
        grid-template-columns: 1fr 1fr;
      }

      .project,
      .project.feature {
        grid-column: span 3;
      }
    }

    @media (max-width: 650px) {
      section[id] {
        scroll-margin-top: 220px;
      }

      .top-strip {
        flex-direction: column;
        align-items: center;
        gap: 4px;
      }

      .site-header {
        padding: 12px 16px;
      }

      .brand img {
        width: 46px;
        height: 46px;
      }

      .brand strong {
        font-size: 0.92rem;
      }

      .quote-button {
        width: 100%;
      }

      .hero {
        min-height: 82svh;
        padding: 76px 16px 42px;
      }

      h1 {
        font-size: clamp(2.75rem, 16vw, 4.6rem);
      }

      .quick-cards,
      .services,
      .project-grid,
      .testimonial-grid,
      .trust-grid,
      .form-row {
        grid-template-columns: 1fr;
      }

      .trust-photo {
        grid-column: auto;
      }

      .project,
      .project.feature {
        grid-column: auto;
      }

      .contact-method {
        display: grid;
      }

      .contact-method strong {
        text-align: left;
      }

      .site-footer {
        flex-direction: column;
      }
    }

/* layout fix for about/trust cards */
body.home .ajk-site .about-layout,
body.page-id-89 .ajk-site .about-layout { align-items: start !important; }
body.home .ajk-site .about-layout h2,
body.page-id-89 .ajk-site .about-layout h2 { font-size: clamp(2rem, 4vw, 3rem) !important; line-height: 1.06 !important; }
body.home .ajk-site .check h3,
body.home .ajk-site .check p,
body.page-id-89 .ajk-site .check h3,
body.page-id-89 .ajk-site .check p { grid-column: 2 !important; }
@media (max-width: 760px) {
	  body.home .ajk-site .check,
	body.page-id-89 .ajk-site .check { grid-template-columns: 1fr !important; }
	  body.home .ajk-site .check strong,
	  body.home .ajk-site .check h3,
	  body.home .ajk-site .check p,
	  body.page-id-89 .ajk-site .check strong,
	  body.page-id-89 .ajk-site .check h3,
	body.page-id-89 .ajk-site .check p { grid-column: 1 !important; }
}

}

/* direct live fix for about/trust cards */
body.home .about-layout h2,
body.page-id-89 .about-layout h2 { font-size: clamp(2rem, 4vw, 3rem) !important; line-height: 1.06 !important; }
body.home .check h3,
body.home .check p,
body.page-id-89 .check h3,
body.page-id-89 .check p { grid-column: 2 !important; }
@media (max-width: 760px) {
	  body.home .check,
	body.page-id-89 .check { grid-template-columns: 1fr !important; }
	  body.home .check strong,
	  body.home .check h3,
	  body.home .check p,
	  body.page-id-89 .check strong,
	  body.page-id-89 .check h3,
	body.page-id-89 .check p { grid-column: 1 !important; }
}

}

/* place trust-card text wrapper correctly */
body.home .check > div,
body.page-id-89 .check > div { grid-column: 2 !important; min-width: 0 !important; }
@media (max-width: 760px) {
	  body.home .check > div,
	body.page-id-89 .check > div { grid-column: 1 !important; }
}

}

/* remove empty paragraphs inserted by wordpress in trust cards */
body.home .check > p:empty,
body.page-id-89 .check > p:empty { display: none !important; }


/* hide wordpress spacer paragraph between tick and trust-card text */
body.home .check > strong + p,
body.page-id-89 .check > strong + p { display: none !important; }
