/* P18.11 — contextual contents for the two long editorial guides only. */
.pr-guide-toc{
  display:grid;gap:16px;
  max-width:1160px;
  width:100%;
  margin:26px 0 37px;
  padding:clamp(17px,2.2vw,27px);
  border:1px solid #dce8f4;
  border-radius:20px;
  background:linear-gradient(118deg,#f7fafd,#f1f6fc);
}
.pr-guide-toc__head{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:baseline;justify-content:space-between}
.pr-guide-toc__head strong{font-size:clamp(17px,1.6vw,21px);line-height:1.3;letter-spacing:-.025em;color:#294d72}
.pr-guide-toc__head>span{font-size:13px;color:#657e98}
.pr-guide-toc__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.pr-guide-toc a{
  display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:11px;
  min-width:0;min-height:56px;padding:12px 15px;
  border:1px solid #e0e9f2;background:#fff;
  border-radius:12px;
  color:#284e74;text-decoration:none;font-size:14px;font-weight:600;line-height:1.4;
  transition:background-color .16s,border-color .16s;
}
.pr-guide-toc a:hover{background:#edf5fc;border-color:#b8cde3}
.pr-guide-toc a:focus-visible{outline:3px solid #e9a34d;outline-offset:2px}
.pr-guide-toc__num{
  display:inline-flex;align-items:center;justify-content:center;
  width:29px;height:29px;border-radius:9px;
  background:#e8f0fa;color:#416c9c;font-size:12px;font-weight:750;
}
.pr-b2b-editorial h2[id^="pr-guide-"]{scroll-margin-top:100px}
/* P18.13: visible use of the full content width, not another max-width patch.
   Guide-only: 2-column editorial sections on desktop, one column below 980px.
   This is intentionally scoped to pages containing the unique guide TOC. */
.page:has(.pr-guide-toc) .content{
  width:100%;
  min-width:0;
}
.page:has(.pr-guide-toc) .content > .pr-b2b-editorial{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:clamp(16px,2.2vw,30px);
  row-gap:clamp(15px,1.7vw,24px);
  align-items:stretch;
  width:100%;
  max-width:none!important;
  min-width:0;
  margin-inline:0;
}
.page:has(.pr-guide-toc) .content > .pr-b2b-editorial > :is(.note,p,.pr-guide-toc){
  grid-column:1/-1;
  width:100%;
  max-width:none!important;
  min-width:0;
  margin:0;
}
.page:has(.pr-guide-toc) .content > .pr-b2b-editorial > .note{
  padding:15px 19px;
  border-radius:12px;
}
.page:has(.pr-guide-toc) .content > .pr-b2b-editorial > p{
  font-size:16px;
  line-height:1.7;
}
.page:has(.pr-guide-toc) .content > .pr-b2b-editorial > .pr-guide-toc{
  box-sizing:border-box;
  padding:clamp(19px,2.5vw,30px);
}
.page:has(.pr-guide-toc) .content > .pr-b2b-editorial > section{
  box-sizing:border-box;
  min-width:0;
  max-width:none!important;
  width:100%;
  padding:clamp(20px,2.2vw,30px);
  border:1px solid #e3eaf3;
  border-radius:18px;
  background:#fff;
  box-shadow:0 6px 22px rgba(26,67,110,.035);
  align-self:stretch;
}
.page:has(.pr-guide-toc) .content > .pr-b2b-editorial > section:nth-of-type(4n+2),
.page:has(.pr-guide-toc) .content > .pr-b2b-editorial > section:nth-of-type(4n+3){
  background:#f8fbff;
}
.page:has(.pr-guide-toc) .content > .pr-b2b-editorial > section h2{
  font-size:clamp(21px,1.9vw,27px);
  line-height:1.3;
  margin:0 0 14px;
  color:#1e405e;
}
.page:has(.pr-guide-toc) .content > .pr-b2b-editorial > section h3{
  font-size:17px;
  line-height:1.45;
  margin:18px 0 7px;
}
.page:has(.pr-guide-toc) .content > .pr-b2b-editorial > section :is(p,li){
  font-size:15.5px;
  line-height:1.72;
  overflow-wrap:break-word;
}
.page:has(.pr-guide-toc) .content > .pr-b2b-editorial > section p:last-child{margin-bottom:0}
.page:has(.pr-guide-toc) .content > .pr-b2b-editorial > section ul{padding-left:23px}
.page:has(.pr-guide-toc) .content > .pr-tool-teaser{
  box-sizing:border-box;
  width:100%;
  max-width:none!important;
  min-width:0;
  margin-inline:0;
  padding:clamp(20px,2.6vw,33px);
}
@media(max-width:980px){
  .page:has(.pr-guide-toc) .content > .pr-b2b-editorial{
    grid-template-columns:minmax(0,1fr);
    row-gap:16px;
  }
  .page:has(.pr-guide-toc) .content > .pr-b2b-editorial > :is(.note,p,.pr-guide-toc){
    grid-column:1;
  }
}
@media(max-width:600px){
  .page:has(.pr-guide-toc) .content > .pr-b2b-editorial > section{
    padding:19px 17px;
    border-radius:14px;
  }
  .page:has(.pr-guide-toc) .content > .pr-b2b-editorial > section h2{
    font-size:21px;
  }
}
@media(max-width:720px){
  .pr-guide-toc{margin:22px 0 29px;padding:16px;border-radius:16px}
  .pr-guide-toc__grid{grid-template-columns:minmax(0,1fr)}
  .pr-guide-toc a{min-height:50px;padding:10px 13px}
  .pr-b2b-editorial h2[id^="pr-guide-"]{scroll-margin-top:78px}
}
@media(prefers-reduced-motion:reduce){.pr-guide-toc a{transition:none}}

/* P18.16: matching small TOC icons and larger section icons; scoped to both guides. */
.pr-guide-toc a{
  grid-template-columns:29px 25px minmax(0,1fr);
  gap:10px;
}
.pr-guide-toc__icon{
  box-sizing:border-box;
  display:inline-flex;
  width:25px;height:25px;
  flex:0 0 25px;
  align-items:center;justify-content:center;
  border-radius:8px;
  color:#356ca8;
  background:#f0f6fd;
  border:1px solid #e1ebf5;
}
.pr-guide-toc__icon svg{
  display:block;
  width:17px;height:17px;
}
.page:has(.pr-guide-toc) .content > .pr-b2b-editorial > section h2[id^="pr-guide-"]{
  display:flex;
  align-items:center;
  gap:15px;
  min-width:0;
  scroll-margin-top:100px;
}
.pr-guide-section__icon{
  box-sizing:border-box;
  display:inline-flex;
  width:52px;height:52px;
  flex:0 0 52px;
  align-items:center;justify-content:center;
  background:linear-gradient(145deg,#edf5fc,#e4eef9);
  color:#2468bd;
  border:1px solid #d6e5f3;
  border-radius:15px;
}
.pr-guide-section__icon svg{
  display:block;
  width:28px;height:28px;
}
.pr-guide-section__heading{min-width:0}
.page:has(.pr-hero-shell--automation) .pr-guide-toc__icon{
  background:#edf8f7;color:#177e83;border-color:#daeeee;
}
.page:has(.pr-hero-shell--automation) .pr-guide-section__icon{
  background:linear-gradient(145deg,#edf9f7,#e3f3f1);
  color:#168288;border-color:#cfe8e5;
}
@media(max-width:600px){
  .pr-guide-toc a{
    grid-template-columns:26px 23px minmax(0,1fr);
    gap:8px;
  }
  .pr-guide-toc__icon{width:23px;height:23px;flex-basis:23px}
  .pr-guide-toc__icon svg{width:16px;height:16px}
  .page:has(.pr-guide-toc) .content > .pr-b2b-editorial > section h2[id^="pr-guide-"]{
    align-items:flex-start;gap:12px;
  }
  .pr-guide-section__icon{
    width:44px;height:44px;flex-basis:44px;border-radius:12px;
  }
  .pr-guide-section__icon svg{width:25px;height:25px}
}
