/* ========================================================================
   AutoZ 6.5.22.14.3.2 — FINAL ISOLATION LAYER
   Loaded after legacy/global frontend CSS. Keeps AutoZ deterministic while
   using the widened AutoZ split article composition.
   ======================================================================== */
body.theme-autoz .az-container{
  box-sizing:border-box!important;
  width:min(calc(100% - 32px),var(--az-max))!important;
  max-width:none!important;
  margin-left:auto!important;margin-right:auto!important;
  padding-left:0!important;padding-right:0!important;
}
body.theme-autoz .az-ce-home,
body.theme-autoz .az-ce-article-shell,
body.theme-autoz .az-ce-archive-main,
body.theme-autoz .az-ce-page-main{width:100%!important;max-width:none!important}

/* Homepage and detail article share the same 1120px editorial plane. */
body.theme-autoz .az-ce-lead-card,
body.theme-autoz .az-ce-journey{width:min(100%,1080px)!important;max-width:1080px!important}
body.theme-autoz .az-ce-section,
body.theme-autoz .az-ce-picks-panel,
body.theme-autoz .az-ce-trust-section{width:min(100%,1120px)!important;max-width:1120px!important}
body.theme-autoz .az-ce-video-band .az-container,
body.theme-autoz .az-ce-lower-band .az-container{width:min(calc(100% - 32px),1120px)!important;max-width:1120px!important}
body.theme-autoz .az-ce-discover-box{width:min(100%,980px)!important;max-width:980px!important}

/* Article intro: grey full-bleed band, same 1120px width as homepage. */
body.theme-autoz.article-page .az-ce-article-intro{
  box-sizing:border-box!important;
  width:min(calc(100% - 32px),1120px)!important;
  max-width:1120px!important;
  margin-left:auto!important;margin-right:auto!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1.06fr)!important;
  gap:36px!important;
}
body.theme-autoz.article-page .az-ce-breadcrumb,
body.theme-autoz.article-page .az-ce-article-head,
body.theme-autoz.article-page .az-ce-article-hero-media{width:auto!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
body.theme-autoz.article-page .az-ce-article-head{padding:0!important}
body.theme-autoz.article-page .az-ce-article-head h1{font-size:34px!important;line-height:1.03!important;letter-spacing:-1.05px!important;margin:0!important}
body.theme-autoz.article-page .az-ce-standfirst{font-size:14px!important;line-height:1.46!important}
body.theme-autoz.article-page .az-ce-article-hero-media img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:1.49/1!important;object-fit:cover!important;margin:0!important;float:none!important}

/* Detail body uses the same 1120px editorial width as homepage. */
body.theme-autoz.article-page .az-ce-article-grid{
  box-sizing:border-box!important;
  width:min(calc(100% - 32px),1120px)!important;
  max-width:1120px!important;
  margin-left:auto!important;margin-right:auto!important;
  display:grid!important;
  grid-template-columns:minmax(0,770px) minmax(0,300px)!important;
  column-gap:50px!important;
}
body.theme-autoz.article-page .az-ce-article-main,
body.theme-autoz.article-page .az-ce-article-side{width:auto!important;max-width:none!important;float:none!important}

/* Legacy/CWV conflict guard. Old width:auto rules must never shrink photos in
   the AutoZ reading column. Width attributes remain harmless. */
body.theme-autoz.article-page .az-ce-article-body img,
body.theme-autoz.article-page .az-ce-article-body img.img-fix,
body.theme-autoz.article-page .az-ce-article-body img.article-inline-media,
body.theme-autoz.article-page .az-ce-article-body .article-inline-media[width][height],
body.theme-autoz.article-page .az-ce-article-body figure img{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  margin-left:0!important;margin-right:0!important;
  float:none!important;
}
body.theme-autoz.article-page .az-ce-article-body > .container,
body.theme-autoz.article-page .az-ce-article-body > .container-fluid,
body.theme-autoz.article-page .az-ce-article-body > .content-wrap,
body.theme-autoz.article-page .az-ce-article-body > .entry-content,
body.theme-autoz.article-page .az-ce-article-body > .post{
  width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;
  padding-left:0!important;padding-right:0!important;box-shadow:none!important;border:0!important;
}
body.theme-autoz.article-page .az-ce-article-body > .row{display:block!important;width:100%!important;margin-left:0!important;margin-right:0!important}
body.theme-autoz.article-page .az-ce-article-body > .row > [class*="col-"]{float:none!important;width:100%!important;max-width:none!important;padding-left:0!important;padding-right:0!important}
body.theme-autoz.article-page .az-ce-article-body{font-size:15.5px!important;line-height:1.56!important}
body.theme-autoz.article-page .az-ce-article-body p{font-size:inherit!important;line-height:inherit!important;color:#202229!important}
body.theme-autoz.article-page .az-ce-article-body blockquote p{font-size:inherit!important;line-height:inherit!important}


/* Header + ticker + Breaking News final guard (14.3.2). These rules are
   deliberately repeated here because this file is loaded after legacy/global CSS. */
body.theme-autoz .az-header-inner{height:66px!important;gap:30px!important}
body.theme-autoz .az-brand{height:54px!important;min-width:166px!important}
body.theme-autoz .az-brand-logo{max-width:194px!important;max-height:43px!important;width:auto!important;height:auto!important}
body.theme-autoz .az-nav-link{height:66px!important;font-size:13px!important}
body.theme-autoz .az-header-video-link{font-size:13px!important}
body.theme-autoz .az-newsbar,body.theme-autoz .az-newsbar-inner,body.theme-autoz .az-newsbar-viewport,body.theme-autoz .az-newsbar-marquee,body.theme-autoz .az-newsbar-group{height:36px!important}
body.theme-autoz .az-newsbar-group a{height:36px!important;font-size:12px!important}
body.theme-autoz .az-ce-breaking-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;column-gap:30px!important;row-gap:17px!important}
body.theme-autoz .az-ce-breaking-item{grid-template-columns:112px minmax(0,1fr)!important;gap:12px!important}
body.theme-autoz .az-ce-breaking-thumb{width:112px!important;height:70px!important}
body.theme-autoz .az-ce-breaking-item h3{font-size:14px!important;line-height:1.28!important}
body.theme-autoz .az-ce-breaking-item time{font-size:10.5px!important}

@media (min-width:821px){
  body.theme-autoz.article-page .az-ce-article-main .vcm-placement-shell,
  body.theme-autoz.article-page .az-ce-article-main .vcm-placement-wrap,
  body.theme-autoz.article-page .az-ce-article-main [data-ad-slot]{max-width:100%!important;margin-left:auto!important;margin-right:auto!important}
}
@media (max-width:1160px) and (min-width:821px){
  body.theme-autoz.article-page .az-ce-article-intro{width:calc(100% - 32px)!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:28px!important}
  body.theme-autoz.article-page .az-ce-article-grid{width:calc(100% - 32px)!important;grid-template-columns:minmax(0,1fr) 280px!important;column-gap:34px!important}
}
@media (max-width:820px){
  body.theme-autoz .az-container{width:min(calc(100% - 24px),var(--az-max))!important}
  body.theme-autoz .az-ce-lead-card,
  body.theme-autoz .az-ce-journey,
  body.theme-autoz .az-ce-section,
  body.theme-autoz .az-ce-picks-panel,
  body.theme-autoz .az-ce-trust-section,
  body.theme-autoz .az-ce-discover-box{width:100%!important;max-width:680px!important}
  body.theme-autoz .az-ce-video-band .az-container,
  body.theme-autoz .az-ce-lower-band .az-container{width:min(calc(100% - 24px),700px)!important;max-width:700px!important}
  body.theme-autoz.article-page .az-ce-article-intro{width:min(calc(100% - 24px),680px)!important;max-width:680px!important;grid-template-columns:1fr!important;gap:18px!important}
  body.theme-autoz.article-page .az-ce-article-head h1{font-size:36px!important}
  body.theme-autoz.article-page .az-ce-standfirst{font-size:15px!important}
  body.theme-autoz.article-page .az-ce-article-grid{width:min(calc(100% - 24px),680px)!important;max-width:680px!important;grid-template-columns:1fr!important;column-gap:0!important}
  body.theme-autoz.article-page .az-ce-article-side{display:none!important}
  body.theme-autoz.article-page .az-ce-article-body{font-size:16px!important;line-height:1.62!important}
}
@media (max-width:560px){
  body.theme-autoz .az-container{width:min(calc(100% - 20px),var(--az-max))!important}
  body.theme-autoz.article-page .az-ce-article-intro{width:calc(100% - 20px)!important;padding-top:16px!important;padding-bottom:18px!important;gap:14px!important}
  body.theme-autoz.article-page .az-ce-article-head h1{font-size:29px!important;line-height:1.05!important;letter-spacing:-.7px!important}
  body.theme-autoz.article-page .az-ce-standfirst{font-size:14px!important;line-height:1.42!important}
  body.theme-autoz.article-page .az-ce-article-grid{width:calc(100% - 20px)!important}
  body.theme-autoz.article-page .az-ce-article-body{font-size:15.5px!important;line-height:1.62!important}
}

@media (max-width:1050px) and (min-width:821px){
  body.theme-autoz .az-header-inner{gap:20px!important}
  body.theme-autoz .az-brand-logo{max-width:180px!important;max-height:41px!important}
  body.theme-autoz .az-nav-links{gap:16px!important}
  body.theme-autoz .az-nav-link{font-size:12px!important}
  body.theme-autoz .az-ce-breaking-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:22px!important}
}
@media (max-width:820px){
  body.theme-autoz .az-header-inner{height:62px!important;gap:10px!important}
  body.theme-autoz .az-brand{height:50px!important;min-width:0!important}
  body.theme-autoz .az-brand-logo{max-width:174px!important;max-height:40px!important}
  body.theme-autoz .az-nav-links{top:62px!important}
  body.theme-autoz .az-nav-link{height:42px!important;font-size:13px!important}
  body.theme-autoz .az-ce-breaking-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:18px!important;row-gap:16px!important}
}
@media (max-width:560px){
  body.theme-autoz .az-header-inner{height:58px!important}
  body.theme-autoz .az-brand-logo{max-width:154px!important;max-height:36px!important}
  body.theme-autoz .az-nav-links{top:58px!important}
  body.theme-autoz .az-newsbar-label{padding-left:12px!important;padding-right:12px!important}
  body.theme-autoz .az-newsbar-group a{font-size:11.5px!important;padding-left:13px!important;padding-right:13px!important}
  body.theme-autoz .az-ce-breaking-grid{grid-template-columns:1fr!important;gap:15px!important}
  body.theme-autoz .az-ce-breaking-item{grid-template-columns:112px minmax(0,1fr)!important}
}
