/* SB Managed Posts — shared layout polish (loaded on all managed custom posts) */

/* Constrain article width and add breathing room around the content column. */
body.single .col-md-9 article{max-width:920px;margin:0 auto}

/* Section rhythm: more vertical space, soft separator between sections. */
.qg-page section,.bd-page section,.in-page section,.hd-page section,
.alp-page section,.hh-page section,.sj-page section,.sm-page section,
.sh-page section,.ae-page section,.kn-page section,.fc-page section,
.rt-page section{
  margin:34px 0;padding-top:6px;
}

/* H2 polish — accent underline, more breathing room */
.qg-page h2,.bd-page h2,.in-page h2,.hd-page h2,.alp-page h2,
.hh-page h2,.sj-page h2,.sm-page h2,.sh-page h2,.ae-page h2,
.kn-page h2,.fc-page h2,.rt-page h2{
  position:relative;
  padding-bottom:.4em;margin-bottom:.8em;
  font-size:clamp(24px,3vw,32px);
  letter-spacing:-.01em;
}
.qg-page h2::after,.bd-page h2::after,.in-page h2::after,.hd-page h2::after,
.alp-page h2::after,.hh-page h2::after,.sj-page h2::after,.sm-page h2::after,
.sh-page h2::after,.ae-page h2::after,.kn-page h2::after,.fc-page h2::after,
.rt-page h2::after{
  content:"";position:absolute;left:0;bottom:0;width:64px;height:4px;
  background:currentColor;opacity:.18;border-radius:4px;
}

/* H3 polish */
.qg-page h3,.bd-page h3,.in-page h3,.hd-page h3,.alp-page h3,
.hh-page h3,.sj-page h3,.sm-page h3,.sh-page h3,.ae-page h3,
.kn-page h3,.fc-page h3,.rt-page h3{
  font-size:clamp(18px,2.2vw,22px);letter-spacing:-.005em;
}

/* Paragraph polish */
.qg-page p,.bd-page p,.in-page p,.hd-page p,.alp-page p,
.hh-page p,.sj-page p,.sm-page p,.sh-page p,.ae-page p,
.kn-page p,.fc-page p,.rt-page p{
  line-height:1.7;color:#1f2937;
}

/* Make external links inside post body have a subtle underline */
.qg-page article a[href^="http"]:not(.chip),.bd-page article a[href^="http"],
.in-page article a[href^="http"],.hd-page article a[href^="http"],
.alp-page article a[href^="http"],.hh-page article a[href^="http"],
.sj-page article a[href^="http"],.sm-page article a[href^="http"],
.sh-page article a[href^="http"],.ae-page article a[href^="http"],
.kn-page article a[href^="http"],.fc-page article a[href^="http"],
.rt-page article a[href^="http"]{
  text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;
  text-decoration-color:rgba(0,0,0,.18);
  transition:text-decoration-color .15s ease;
}
.qg-page article a[href^="http"]:hover,.bd-page article a[href^="http"]:hover,
.in-page article a[href^="http"]:hover,.hd-page article a[href^="http"]:hover,
.alp-page article a[href^="http"]:hover,.hh-page article a[href^="http"]:hover,
.sj-page article a[href^="http"]:hover,.sm-page article a[href^="http"]:hover,
.sh-page article a[href^="http"]:hover,.ae-page article a[href^="http"]:hover,
.kn-page article a[href^="http"]:hover,.fc-page article a[href^="http"]:hover,
.rt-page article a[href^="http"]:hover{
  text-decoration-color:currentColor;
}

/* Table polish: nicer rounded look, hover row */
.qg-page table,.bd-page table,.in-page table,.hd-page table,
.alp-page table,.hh-page table,.sj-page table,.sm-page table,
.sh-page table,.ae-page table,.kn-page table,.fc-page table,
.rt-page table{
  border:1px solid #e5e7eb;
}
.qg-page tbody tr:hover td,.bd-page tbody tr:hover td,
.in-page tbody tr:hover td,.hd-page tbody tr:hover td,
.alp-page tbody tr:hover td,.hh-page tbody tr:hover td,
.sj-page tbody tr:hover td,.sm-page tbody tr:hover td,
.sh-page tbody tr:hover td,.ae-page tbody tr:hover td,
.kn-page tbody tr:hover td,.fc-page tbody tr:hover td,
.rt-page tbody tr:hover td{
  background:#f8fafc;
}

/* List polish */
.qg-page article ul,.bd-page article ul,.in-page article ul,
.hd-page article ul,.alp-page article ul,.hh-page article ul,
.sj-page article ul,.sm-page article ul,.sh-page article ul,
.ae-page article ul,.kn-page article ul,.fc-page article ul,
.rt-page article ul,
.qg-page article ol,.bd-page article ol,.in-page article ol,
.hd-page article ol,.alp-page article ol,.hh-page article ol,
.sj-page article ol,.sm-page article ol,.sh-page article ol,
.ae-page article ol,.kn-page article ol,.fc-page article ol,
.rt-page article ol{
  padding-left:1.6em;margin:1em 0 1.4em;
}
.qg-page article li,.bd-page article li,.in-page article li,
.hd-page article li,.alp-page article li,.hh-page article li,
.sj-page article li,.sm-page article li,.sh-page article li,
.ae-page article li,.kn-page article li,.fc-page article li,
.rt-page article li{
  margin:.4em 0;line-height:1.65;
}

/* Diagram polish: subtle hover lift */
.diagram{transition:transform .25s ease,box-shadow .25s ease}
.diagram:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(15,23,42,.08)}

/* Card grid polish */
.qg-page .card,.bd-page .card,.in-page .card,.hd-page .card,
.alp-page .card,.hh-page .card,.sj-page .card,.sm-page .card,
.sh-page .card,.ae-page .card,.kn-page .card,.fc-page .card,
.rt-page .card{
  transition:transform .2s ease,box-shadow .2s ease;
}
.qg-page .card:hover,.bd-page .card:hover,.in-page .card:hover,
.hd-page .card:hover,.alp-page .card:hover,.hh-page .card:hover,
.sj-page .card:hover,.sm-page .card:hover,.sh-page .card:hover,
.ae-page .card:hover,.kn-page .card:hover,.fc-page .card:hover,
.rt-page .card:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 28px rgba(15,23,42,.08);
}

/* FAQ accordion-ish hover */
.qg-page .faq,.bd-page .faq,.in-page .faq,.hd-page .faq,
.alp-page .faq,.hh-page .faq,.sj-page .faq,.sm-page .faq,
.sh-page .faq,.ae-page .faq,.kn-page .faq,.fc-page .faq,
.rt-page .faq{transition:border-color .2s ease,box-shadow .2s ease}
.qg-page .faq:hover,.bd-page .faq:hover,.in-page .faq:hover,
.hd-page .faq:hover,.alp-page .faq:hover,.hh-page .faq:hover,
.sj-page .faq:hover,.sm-page .faq:hover,.sh-page .faq:hover,
.ae-page .faq:hover,.kn-page .faq:hover,.fc-page .faq:hover,
.rt-page .faq:hover{
  border-color:#cbd5e1;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}

/* Hero answer box subtle gradient */
.qg-page .answer-box,.bd-page .answer-box,.in-page .answer-box,
.alp-page .answer-box,.hh-page .answer-box,.sj-page .answer-box,
.sm-page .answer-box,.sh-page .answer-box,.ae-page .answer-box,
.kn-page .answer-box,.fc-page .answer-box,.rt-page .answer-box{
  background:linear-gradient(180deg,#ffffff 0%,#fafbff 100%);
}

/* Mobile tighten */
@media (max-width:720px){
  .qg-page section,.bd-page section,.in-page section,.hd-page section,
  .alp-page section,.hh-page section,.sj-page section,.sm-page section,
  .sh-page section,.ae-page section,.kn-page section,.fc-page section,
  .rt-page section{margin:24px 0}
}
