.tag-hero::before,
.tag-hero::after {
  content: none !important;
  display: none !important;
}

@media (min-width: 701px) {
  .tag-hero {
    min-height: 610px !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 48% 52% !important;
    align-items: stretch !important;
    overflow: hidden !important;
    background: #030e1b !important;
  }

  .tag-hero-copy {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 62px 56px !important;
    align-self: center !important;
    box-sizing: border-box !important;
  }

  .tag-hero-visual {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    min-height: 610px;
    margin: 0;
    overflow: hidden;
    background: #081522;
  }

  .tag-hero-visual img {
    width: 100%;
    height: 100%;
    min-height: 610px;
    display: block;
    object-fit: cover;
    object-position: center;
  }
}

@media (max-width: 700px) {
  .tag-hero {
    min-height: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column-reverse !important;
    overflow: visible !important;
    background: #030e1b !important;
  }

  .tag-hero-copy {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 38px 18px 56px !important;
  }

  .tag-hero-visual {
    width: 100%;
    height: 360px;
    margin: 0;
    overflow: hidden;
  }

  .tag-hero-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
  }
}

/* Test and Tag final visual polish */
@media (min-width: 701px) {
  .tag-hero-copy,
  .tag-hero-visual {
    min-width: 0 !important;
  }

  .tag-hero-visual {
    position: relative !important;
  }

  .tag-hero-visual::before {
    content: "" !important;
    position: absolute !important;
    z-index: 2 !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 64px !important;
    display: block !important;
    background:
      linear-gradient(
        90deg,
        #030e1b 0%,
        rgba(3, 14, 27, 0.60) 34%,
        rgba(3, 14, 27, 0) 100%
      ) !important;
    pointer-events: none !important;
  }

  .tag-hero-visual img {
    object-position: center 58% !important;
  }
}

.tag-licence {
  margin-top: 18px !important;
  margin-bottom: 18px !important;
}

.tag-licence + .tag-section {
  padding-top: clamp(48px, 6vw, 76px) !important;
}

/* Final Test and Tag spacing refinement */
.tag-container,
.tag-disclosure {
  width: min(calc(100% - 72px), 1200px) !important;
}

.tag-section {
  padding-top: clamp(54px, 6.5vw, 84px) !important;
  padding-bottom: clamp(54px, 6.5vw, 84px) !important;
}

.tag-licence {
  margin-top: 14px !important;
  margin-bottom: 14px !important;
}

.tag-licence + .tag-section {
  padding-top: clamp(42px, 5vw, 64px) !important;
}

.tag-assessment {
  padding-top: clamp(48px, 6vw, 76px) !important;
  padding-bottom: clamp(48px, 6vw, 76px) !important;
}

@media (max-width: 700px) {
  .tag-container,
  .tag-disclosure {
    width: calc(100% - 36px) !important;
  }

  .tag-section {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
}

/* Definitive Test and Tag hero height */
@media (min-width: 701px) {
  .tag-hero {
    height: 520px !important;
    min-height: 0 !important;
  }

  .tag-hero-copy {
    min-height: 0 !important;
    padding-top: 38px !important;
    padding-bottom: 38px !important;
  }

  .tag-hero-visual {
    height: 520px !important;
    min-height: 0 !important;
  }

  .tag-hero-visual img {
    width: 100% !important;
    height: 520px !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center 58% !important;
  }

  .tag-message h1 {
    font-size: clamp(3.8rem, 5.3vw, 6.2rem) !important;
  }
}

@media (max-width: 700px) {
  .tag-hero-visual {
    height: 300px !important;
    min-height: 300px !important;
  }

  .tag-hero-visual img {
    height: 300px !important;
    min-height: 0 !important;
  }
}

/* Definitive Test and Tag hero height */
@media (min-width: 701px) {
  .tag-hero {
    height: 520px !important;
    min-height: 0 !important;
  }

  .tag-hero-copy {
    min-height: 0 !important;
    padding-top: 38px !important;
    padding-bottom: 38px !important;
  }

  .tag-hero-visual {
    height: 520px !important;
    min-height: 0 !important;
  }

  .tag-hero-visual img {
    width: 100% !important;
    height: 520px !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center 58% !important;
  }

  .tag-message h1 {
    font-size: clamp(3.8rem, 5.3vw, 6.2rem) !important;
  }
}

@media (max-width: 700px) {
  .tag-hero-visual {
    height: 300px !important;
    min-height: 300px !important;
  }

  .tag-hero-visual img {
    height: 300px !important;
    min-height: 0 !important;
  }
}

/* Standardised 820px desktop hero */
@media (min-width: 701px) {
  .tag-hero {
    height: 820px !important;
    min-height: 820px !important;
  }

  .tag-hero-copy {
    min-height: 0 !important;
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  .tag-hero-visual {
    height: 820px !important;
    min-height: 820px !important;
  }

  .tag-hero-visual img {
    width: 100% !important;
    height: 820px !important;
    min-height: 820px !important;
    object-fit: cover !important;
    object-position: center 58% !important;
  }
}

@media (max-width: 700px) {
  .tag-hero {
    height: auto !important;
    min-height: 0 !important;
  }

  .tag-hero-visual,
  .tag-hero-visual img {
    height: 300px !important;
    min-height: 300px !important;
  }
}

/* Standardised 820px desktop hero */
@media (min-width: 701px) {
  .tag-hero {
    height: 820px !important;
    min-height: 820px !important;
  }

  .tag-hero-copy {
    min-height: 0 !important;
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  .tag-hero-visual {
    height: 820px !important;
    min-height: 820px !important;
  }

  .tag-hero-visual img {
    width: 100% !important;
    height: 820px !important;
    min-height: 820px !important;
    object-fit: cover !important;
    object-position: center 58% !important;
  }
}

@media (max-width: 700px) {
  .tag-hero {
    height: auto !important;
    min-height: 0 !important;
  }

  .tag-hero-visual,
  .tag-hero-visual img {
    height: 300px !important;
    min-height: 300px !important;
  }
}
