/* Middlesbrough and Teesside Artex hero. */
@scope (body:has(.detail-hero-media img[src*="stockton-on-tees-bathroom-ceiling"])) {
  .topline, .site-header .brand, .site-header .header-call { display: none; }
  .site-header {
    position: relative;
    top: auto;
    background: #102e2a;
    color: #fff;
  }
  .site-header .header-inner { display: block; min-height: 0; }
  .site-header .header-inner nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(.25rem, 2.4vw, 2.5rem);
    width: 100%;
  }
  .site-header .header-inner nav a { color: #fff; font-weight: 650; white-space: nowrap; border-radius: 0; }
  .site-header .header-inner nav a:hover { background: #ffffff1a; color: #fff; }
  .site-header .header-inner nav a:last-child {
    margin-inline-start: auto;
    background: #e5d5b3;
    color: #102e2a;
    padding: .95rem clamp(.7rem, 2vw, 1.6rem);
  }
  .detail-hero { min-height: 0; padding: clamp(1.35rem, 2.5vw, 2rem) 0 clamp(3.1rem, 6vw, 5.25rem); }
  .detail-hero .detail-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    z-index: -1;
  }
  .detail-hero .detail-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .detail-hero .detail-hero-media::after { display: none; }
  .detail-hero .detail-hero-media img { filter: none; opacity: 1; }
  .detail-hero .breadcrumbs,
  .detail-hero .eyebrow,
  .detail-hero .detail-hero-grid h1,
  .detail-hero .detail-answer {
    text-shadow: 0 1px 2px #000, 0 2px 5px #000, 0 3px 12px #000c;
  }
  .detail-hero > .shell > .breadcrumbs { width: 100%; color: #f1f7f5; }
  .detail-hero > .shell > .breadcrumbs a { color: inherit; }
  .detail-hero .detail-hero-grid {
    width: min(52rem, 100%);
    margin: clamp(2.25rem, 4vw, 3.5rem) auto 0;
    padding: 0;
    text-align: center;
  }
  .detail-hero .eyebrow { color: #f3e4c7; }
  .detail-hero .detail-hero-grid h1 {
    max-width: 25ch;
    margin: .7rem auto 1.15rem;
    font-size: clamp(2.65rem, 4.15vw, 4.45rem);
    line-height: 1.08;
  }
  .detail-hero .detail-answer {
    max-width: 62ch;
    margin-inline: auto;
    color: #fff;
    font-size: clamp(1rem, 1.45vw, 1.22rem);
    line-height: 1.65;
  }
  .detail-hero .hero-actions {
    justify-content: center;
    margin-top: clamp(1.45rem, 3vw, 2.2rem);
  }
  .detail-hero .hero-actions .button { flex: 0 1 auto; }
  .detail-hero .hero-actions .primary { background: #e5d5b3; color: #102e2a; }
  .detail-hero .hero-actions .ghost { border-color: #e9f1ed; color: #fff; background: #102e2a; }
  @media (max-width: 640px) {
    .site-header .header-inner { width: calc(100% - 24px); }
    .site-header .header-inner nav a { padding: .65rem .25rem; font-size: clamp(.74rem, 3.2vw, .9rem); }
    .site-header .header-inner nav a:last-child { padding: .78rem .6rem; }
    .detail-hero .detail-hero-grid h1 { font-size: clamp(1.95rem, 7vw, 2.65rem); }
  }
}
