/* P18.14 — coherent width and a balanced reading path on editorial landing pages.
   Scope to the four new informational landing routes. Never affect guides,
   checklists, catalogs or the legacy jobs and account pages. */
.page:has(.pr-hero-shell--home) .content > .pr-b2b-editorial,
.page:has(.pr-hero-shell--about) .content > .pr-b2b-editorial,
.page:has(.pr-hero-shell--security):not(:has(.pr-guide-toc)) .content > .pr-b2b-editorial,
.page:has(.pr-hero-shell--automation):not(:has(.pr-guide-toc)) .content > .pr-b2b-editorial{
  width:100%;
  max-width:none;
  min-width:0;
}
.page:has(.pr-hero-shell--home) .content > section.pr-b2b-editorial{
  display:grid;
  grid-template-columns:minmax(220px,.42fr) minmax(0,.58fr);
  align-items:start;
  gap:14px 26px;
  margin:16px 0;
  padding:22px 26px;
  border:1px solid #e1eaf3;
  border-radius:17px;
  background:linear-gradient(115deg,#f9fcff,#f3f7fc);
}
.page:has(.pr-hero-shell--home) .content > section.pr-b2b-editorial > h2{
  margin:0;
  font-size:clamp(21px,2.2vw,27px);
}
.page:has(.pr-hero-shell--home) .content > section.pr-b2b-editorial > p{
  margin:0;
  font-size:16px;
}
.page:has(.pr-hero-shell--security):not(:has(.pr-guide-toc)) .content > section.pr-b2b-editorial:has(.pr-b2b-topic-grid),
.page:has(.pr-hero-shell--automation):not(:has(.pr-guide-toc)) .content > section.pr-b2b-editorial:has(.pr-b2b-topic-grid){
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:clamp(18px,3vw,42px);
  row-gap:11px;
}
.page:has(.pr-b2b-topic-grid) .content > section.pr-b2b-editorial:has(.pr-b2b-topic-grid) > h2,
.page:has(.pr-b2b-topic-grid) .content > section.pr-b2b-editorial:has(.pr-b2b-topic-grid) > .pr-b2b-topic-grid{
  grid-column:1/-1;
}
.page:has(.pr-b2b-topic-grid) .content > section.pr-b2b-editorial:has(.pr-b2b-topic-grid) > h2{
  margin:20px 0 5px;
}
.page:has(.pr-b2b-topic-grid) .content > section.pr-b2b-editorial:has(.pr-b2b-topic-grid) > p{
  margin:0 0 10px;
  max-width:none;
}
.page:has(.pr-b2b-topic-grid) .content > section.pr-b2b-editorial:has(.pr-b2b-topic-grid) > p:last-child{
  grid-column:1/-1;
}
.page:has(.pr-b2b-topic-grid) .content > section.pr-b2b-editorial:has(.pr-b2b-topic-grid) > .pr-b2b-topic-grid{
  margin:15px 0 10px;
}
.page:has(.pr-b2b-topic-grid) .content > section.pr-b2b--single .pr-b2b__grid{
  width:100%;
  max-width:none;
  grid-template-columns:minmax(0,1fr);
}
.page:has(.pr-b2b-topic-grid) .content > section.pr-b2b--single .pr-b2b-card{
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);
  column-gap:clamp(20px,3vw,38px);
  row-gap:12px;
  align-items:start;
  min-width:0;
  padding:clamp(22px,2.5vw,32px);
}
.page:has(.pr-b2b-topic-grid) .content > section.pr-b2b--single .pr-b2b-card__eyebrow{
  grid-column:1/-1;
}
.page:has(.pr-b2b-topic-grid) .content > section.pr-b2b--single .pr-b2b-card h2{
  grid-column:1;grid-row:2;margin:0;
  font-size:clamp(23px,2.25vw,30px);
}
.page:has(.pr-b2b-topic-grid) .content > section.pr-b2b--single .pr-b2b-card__summary{
  grid-column:1;grid-row:3;
  font-size:16px;line-height:1.6;
}
.page:has(.pr-b2b-topic-grid) .content > section.pr-b2b--single .pr-b2b-card__facts{
  grid-column:2;grid-row:2/span 3;
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.page:has(.pr-b2b-topic-grid) .content > section.pr-b2b--single .pr-b2b-card__outcome{
  grid-column:1;grid-row:4;
  font-size:14px;line-height:1.55;
}
.page:has(.pr-b2b-topic-grid) .content > section.pr-b2b--single .pr-b2b-card__footer{
  grid-column:1/-1;grid-row:5;
}
.page:has(.pr-b2b-topic-grid) .content > section.pr-b2b-editorial:not(:has(.pr-b2b-topic-grid)):not(.pr-tool-teaser){
  display:grid;grid-template-columns:minmax(210px,.42fr) minmax(0,.58fr);
  align-items:center;gap:18px 28px;
  margin:24px 0;
  padding:23px 28px;
  border-radius:18px;
  background:#f7fafc;border:1px solid #e5edf5;
}
.page:has(.pr-b2b-topic-grid) .content > section.pr-b2b-editorial:not(:has(.pr-b2b-topic-grid)):not(.pr-tool-teaser) > :is(h2,p){
  margin:0;
}
.page:has(.pr-b2b-topic-grid) .content > .pr-tool-teaser{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  column-gap:30px;
  row-gap:9px;
  width:100%;max-width:none;
  align-items:center;
  padding:clamp(23px,2.8vw,36px);
}
.page:has(.pr-b2b-topic-grid) .content > .pr-tool-teaser > h2{
  grid-column:1;grid-row:1/span 2;margin:0;
  max-width:22ch;
}
.page:has(.pr-b2b-topic-grid) .content > .pr-tool-teaser > p{
  grid-column:2;margin:0;
}
.page:has(.pr-b2b-topic-grid) .content > .pr-tool-teaser > p:last-child{
  grid-row:2;
}
.page:has(.pr-hero-shell--about) .content > .pr-b2b-editorial{
  padding:clamp(20px,3vw,36px);
  border:1px solid #e2eaf4;border-radius:19px;
  background:#f8fbff;
}
.page:has(.pr-hero-shell--about) .content > .pr-b2b-editorial > p{
  max-width:100ch;
  font-size:16px;
}
@media(max-width:940px){
  .page:has(.pr-b2b-topic-grid) .content > section.pr-b2b--single .pr-b2b-card{
    grid-template-columns:minmax(0,1fr);
  }
  .page:has(.pr-b2b-topic-grid) .content > section.pr-b2b--single .pr-b2b-card__eyebrow,
  .page:has(.pr-b2b-topic-grid) .content > section.pr-b2b--single .pr-b2b-card h2,
  .page:has(.pr-b2b-topic-grid) .content > section.pr-b2b--single .pr-b2b-card__summary,
  .page:has(.pr-b2b-topic-grid) .content > section.pr-b2b--single .pr-b2b-card__facts,
  .page:has(.pr-b2b-topic-grid) .content > section.pr-b2b--single .pr-b2b-card__outcome,
  .page:has(.pr-b2b-topic-grid) .content > section.pr-b2b--single .pr-b2b-card__footer{
    grid-column:1;grid-row:auto;
  }
}
@media(max-width:800px){
  .page:has(.pr-hero-shell--home) .content > section.pr-b2b-editorial,
  .page:has(.pr-b2b-topic-grid) .content > section.pr-b2b-editorial:not(:has(.pr-b2b-topic-grid)):not(.pr-tool-teaser),
  .page:has(.pr-b2b-topic-grid) .content > .pr-tool-teaser{
    grid-template-columns:minmax(0,1fr);
    gap:12px;
    padding:21px;
  }
  .page:has(.pr-b2b-topic-grid) .content > .pr-tool-teaser > :is(h2,p){
    grid-column:1;grid-row:auto;max-width:none;
  }
  .page:has(.pr-b2b-topic-grid) .content > section.pr-b2b-editorial:has(.pr-b2b-topic-grid){
    grid-template-columns:minmax(0,1fr);
    gap:8px;
  }
  .page:has(.pr-b2b-topic-grid) .content > section.pr-b2b-editorial:has(.pr-b2b-topic-grid) > :is(h2,p,.pr-b2b-topic-grid){
    grid-column:1;
  }
}
@media(max-width:600px){
  .page:has(.pr-hero-shell--home) .content > section.pr-b2b-editorial{
    padding:18px;border-radius:14px;
  }
  .page:has(.pr-hero-shell--about) .content > .pr-b2b-editorial{
    padding:17px;border-radius:15px;
  }
  .page:has(.pr-b2b-topic-grid) .content > section.pr-b2b--single .pr-b2b-card__facts{
    grid-template-columns:minmax(0,1fr);
  }
}
