/* SGTM V682: EV & Hybrid Diagnostics page, final visual consistency refinements.
   Scoped to the single page that includes the V681 regional section. */

/* Balance the regional heading and floating visual using the same two-column
   rhythm as SGTM's established premium service-page sections. */
html body#sgtm-premium-v223 .ev674-page .ev676-coverage.ev681-coverage {
  padding:clamp(56px,5.2vw,75px) 0!important;
}
html body#sgtm-premium-v223 .ev674-page .ev681-coverage-grid {
  grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);
  gap:clamp(28px,3.2vw,52px);
}
html body#sgtm-premium-v223 .ev674-page .ev681-coverage-copy h2 {
  max-width:20ch!important;
  font-size:clamp(31px,3.05vw,43px)!important;
  line-height:1.13!important;
  margin-bottom:21px!important;
}
html body#sgtm-premium-v223 .ev674-page .ev681-coverage-copy p {
  line-height:1.72!important;
  margin-bottom:14px!important;
}
html body#sgtm-premium-v223 .ev674-page .ev681-coverage-visual {
  min-height:0!important;
  padding-top:0!important;
}
html body#sgtm-premium-v223 .ev674-page .ev681-coverage-visual img {
  max-width:640px;
  max-height:530px;
}
html body#sgtm-premium-v223 .ev674-page .ev681-coverage-visual::before {
  opacity:.68;
}

@media (max-width: 900px) {
  html body#sgtm-premium-v223 .ev674-page .ev681-coverage-grid {
    grid-template-columns:minmax(0,1fr) minmax(0,.9fr);
    gap:24px;
  }
}

@media (max-width: 740px) {
  html body#sgtm-premium-v223 .ev674-page .ev676-coverage.ev681-coverage {
    padding:44px 0 39px!important;
  }
  html body#sgtm-premium-v223 .ev674-page .ev681-coverage-grid {
    grid-template-columns:1fr;
    gap:13px;
  }
  html body#sgtm-premium-v223 .ev674-page .ev681-coverage-copy .ev676-keywords {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:8px;
    row-gap:8px;
    padding-top:10px;
  }
  html body#sgtm-premium-v223 .ev674-page .ev681-coverage-copy .ev676-keywords span {
    font-size:11px;
    min-height:42px;
    padding:7px 9px;
    overflow-wrap:anywhere;
  }
  html body#sgtm-premium-v223 .ev674-page .ev681-coverage-copy p {
    font-size:14px!important;
    line-height:1.65!important;
    margin-bottom:12px!important;
  }
  html body#sgtm-premium-v223 .ev674-page .ev681-coverage-visual {
    max-width:500px;
    width:100%;
    margin:0 auto!important;
    padding:0!important;
  }
  html body#sgtm-premium-v223 .ev674-page .ev681-coverage-visual img {
    max-height:330px;
  }

  /* Match the already established mobile navigation on other SGTM pages.
     The legacy EV base stylesheet was overriding these header controls. */
  html body#sgtm-premium-v223:has(.ev681-coverage) header.sgtm-header {
    height:68px!important;
    min-height:68px!important;
    padding:0 12px!important;
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
  }
  html body#sgtm-premium-v223:has(.ev681-coverage) header.sgtm-header .brand {
    min-width:0!important;
    width:auto!important;
    flex:0 0 auto!important;
    gap:6px!important;
    margin-right:auto!important;
  }
  html body#sgtm-premium-v223:has(.ev681-coverage) header .sgtm-v277-compact-nav {
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    width:auto!important;
    height:38px!important;
    margin:0!important;
  }
  html body#sgtm-premium-v223:has(.ev681-coverage) header .sgtm-v277-compact-nav > .sgtm-v343-quick-finder,
  html body#sgtm-premium-v223:has(.ev681-coverage) header .sgtm-v277-compact-nav > .sgtm-v277-online,
  html body#sgtm-premium-v223:has(.ev681-coverage) header .sgtm-v277-compact-nav > .sgtm-v277-book,
  html body#sgtm-premium-v223:has(.ev681-coverage) header .sgtm-mobile-account-link {
    display:none!important;
  }
  html body#sgtm-premium-v223:has(.ev681-coverage) header .sgtm-v277-compact-nav > .sgtm-v277-login {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:60px!important;
    height:38px!important;
    padding:8px 11px!important;
    font-size:12px!important;
    font-weight:700!important;
    color:#fff!important;
    white-space:nowrap!important;
  }
  html body#sgtm-premium-v223:has(.ev681-coverage) header details.mobile-menu {
    flex:0 0 auto!important;
    width:109px!important;
    height:43px!important;
    margin:0!important;
  }
  html body#sgtm-premium-v223:has(.ev681-coverage) header details.mobile-menu > summary {
    display:flex!important;
    width:100%!important;
    height:43px!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    padding:7px 10px!important;
  }
  html body#sgtm-premium-v223:has(.ev681-coverage) header details.mobile-menu > summary b {
    display:inline!important;
    font-size:12px!important;
    white-space:nowrap!important;
  }
}
@media (max-width: 550px) {
  html body#sgtm-premium-v223 .ev674-page .ev681-coverage-copy h2 {
    font-size:clamp(28px,8vw,35px)!important;
    margin-bottom:16px!important;
  }
  html body#sgtm-premium-v223 .ev674-page .ev681-coverage-visual img {
    max-height:295px;
  }
  html body#sgtm-premium-v223 .ev674-page .ev681-coverage-visual figcaption {
    font-size:9px;
    letter-spacing:.04em;
  }
}
@media (max-width:740px) {
  html body#sgtm-premium-v223:has(.ev681-coverage) header .sgtm-v277-login .sgtm-v277-login-full {display:none!important;}
  html body#sgtm-premium-v223:has(.ev681-coverage) header .sgtm-v277-login .sgtm-v277-login-short {display:inline!important;}
}
@media (max-width:740px) {
  html body#sgtm-premium-v223:has(.ev681-coverage) header details.mobile-menu > summary b {
    position:static!important;
    clip:auto!important;
    clip-path:none!important;
    width:auto!important;
    height:auto!important;
    overflow:visible!important;
    color:#fff!important;
  }
  html body#sgtm-premium-v223:has(.ev681-coverage) header details.mobile-menu > summary {
    color:#fff!important;
  }
}
@media (max-width:740px) {
  html body#sgtm-premium-v223:has(.ev681-coverage) header details.mobile-menu > summary .sgtm-v343-hamburger-bars {display:none!important;}
  html body#sgtm-premium-v223:has(.ev681-coverage) header details.mobile-menu > summary::before {
    content:"☰";
    display:block;
    flex:0 0 auto;
    color:#fff;
    font-size:19px;
    font-weight:400;
    line-height:1;
  }
}
/* Match the compact SGTM navigation at tablet / small-laptop widths, where the
   legacy EV-specific base stylesheet exposes otherwise hidden text links. */
@media (min-width:741px) and (max-width:1100px) {
  html body#sgtm-premium-v223:has(.ev681-coverage) header.sgtm-header {
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:13px!important;
    padding-inline:clamp(16px,2.2vw,28px)!important;
  }
  html body#sgtm-premium-v223:has(.ev681-coverage) header.sgtm-header .brand {
    flex:0 0 auto!important;
    min-width:0!important;
    width:auto!important;
  }
  html body#sgtm-premium-v223:has(.ev681-coverage) header .sgtm-desktop-nav {
    display:none!important;
  }
  html body#sgtm-premium-v223:has(.ev681-coverage) header .sgtm-v277-compact-nav {
    display:flex!important;
    align-items:center!important;
    flex:0 1 auto!important;
    width:auto!important;
    height:46px!important;
    gap:9px!important;
    margin-left:auto!important;
  }
  html body#sgtm-premium-v223:has(.ev681-coverage) header .sgtm-v277-compact-nav > .sgtm-v343-quick-finder {
    display:block!important;
    position:relative!important;
    flex:0 0 auto!important;
    width:auto!important;
    height:auto!important;
  }
  html body#sgtm-premium-v223:has(.ev681-coverage) header .sgtm-v343-quick-finder > summary {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:10px!important;
    background:#087ac7!important;
    color:#fff!important;
    border:1px solid #139bd8!important;
    padding:11px 16px!important;
    height:46px!important;
    line-height:1!important;
    font-size:13px!important;
    font-weight:700!important;
    white-space:nowrap!important;
    list-style:none!important;
    cursor:pointer!important;
  }
  html body#sgtm-premium-v223:has(.ev681-coverage) header .sgtm-v343-quick-finder > summary::-webkit-details-marker {display:none!important;}
  html body#sgtm-premium-v223:has(.ev681-coverage) header .sgtm-v277-compact-nav > a {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    min-width:0!important;
    height:44px!important;
    padding:9px 12px!important;
    font-size:12px!important;
    line-height:1.2!important;
    color:#fff!important;
    white-space:nowrap!important;
    border:1px solid #2a739b!important;
    border-radius:3px!important;
    text-decoration:none!important;
  }
  html body#sgtm-premium-v223:has(.ev681-coverage) header .sgtm-v277-compact-nav > .sgtm-v277-book {
    background:#087ac7!important;
  }
  html body#sgtm-premium-v223:has(.ev681-coverage) header .sgtm-v277-login .sgtm-v277-login-full {
    display:inline!important;
    position:static!important;
    clip:auto!important;
    clip-path:none!important;
    width:auto!important;
    height:auto!important;
    overflow:visible!important;
  }
  html body#sgtm-premium-v223:has(.ev681-coverage) header .sgtm-v277-login .sgtm-v277-login-short,
  html body#sgtm-premium-v223:has(.ev681-coverage) header .sgtm-mobile-account-link {
    display:none!important;
  }
  html body#sgtm-premium-v223:has(.ev681-coverage) header details.mobile-menu {
    flex:0 0 auto!important;
    display:block!important;
    position:relative!important;
    width:91px!important;
    height:46px!important;
    margin:0!important;
  }
  html body#sgtm-premium-v223:has(.ev681-coverage) header details.mobile-menu > summary {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    width:100%!important;
    height:46px!important;
    padding:9px 11px!important;
    color:#fff!important;
    list-style:none!important;
  }
  html body#sgtm-premium-v223:has(.ev681-coverage) header details.mobile-menu > summary .sgtm-v343-hamburger-bars {display:none!important;}
  html body#sgtm-premium-v223:has(.ev681-coverage) header details.mobile-menu > summary::before {
    content:"☰";color:#fff;display:block;font-size:18px;font-weight:400;line-height:1;
  }
  html body#sgtm-premium-v223:has(.ev681-coverage) header details.mobile-menu > summary b {
    display:inline!important;
    position:static!important;
    clip:auto!important;
    clip-path:none!important;
    width:auto!important;
    height:auto!important;
    overflow:visible!important;
    color:#fff!important;
    font-size:12px!important;
  }
  html body#sgtm-premium-v223:has(.ev681-coverage) header details.mobile-menu > summary b::after {
    content:"";
  }
}
@media (min-width:741px) and (max-width:920px) {
  html body#sgtm-premium-v223:has(.ev681-coverage) header .sgtm-v277-compact-nav > .sgtm-v277-online {
    display:none!important;
  }
}
/* Stronger specificity at small-laptop widths: the older site bundle switches
   back to desktop links too early on this particular page. */
@media (min-width:960px) and (max-width:1100px) {
  html body#sgtm-premium-v223:has(.ev681-coverage) header.sgtm-header nav.sgtm-desktop-nav.sgtm-v559-nav {
    display:none!important;
  }
  html body#sgtm-premium-v223:has(.ev681-coverage) header.sgtm-header div.sgtm-v277-compact-nav.sgtm-v343-compact-nav {
    display:flex!important;
    align-items:center!important;
    width:auto!important;
    height:46px!important;
  }
  html body#sgtm-premium-v223:has(.ev681-coverage) header.sgtm-header details.mobile-menu.sgtm-v343-mobile-menu {
    display:block!important;
    width:91px!important;
    height:46px!important;
  }
}
