/* Maps legacy Think Tank/Gutenberg content onto the CloudCode body components. */

.article-body .rt > *,
.report-body .rt > *{
  max-width:100%;
}

.article-body .TextDesk,
.article-body .TextMobile,
.report-body .TextDesk,
.report-body .TextMobile{
  margin:0 0 18px;
}

.article-body .TextDesk p,
.article-body .TextMobile p,
.article-body .wp-block-paragraph,
.article-body p:not([class]),
.report-body .TextDesk p,
.report-body .TextMobile p,
.report-body .wp-block-paragraph,
.report-body p:not([class]){
  font-size:17px;
  line-height:1.75;
  color:rgba(29,27,27,.85);
  margin:0 0 18px;
  text-wrap:pretty;
}

.article-body .BigHeader,
.report-body .BigHeader{
  font-family:var(--font-cond);
  font-size:26px;
  font-weight:700;
  text-transform:uppercase;
  line-height:1.1;
  color:var(--dark);
  margin:36px 0 14px;
}

.report-body .BigHeader{
  margin-top:40px;
  padding-top:40px;
  border-top:2px solid var(--mid);
}

.article-body h3.SmallHeader,
.report-body h3.SmallHeader{
  font-family:var(--font-cond);
  font-size:19px;
  font-weight:700;
  text-transform:uppercase;
  line-height:1.2;
  color:var(--dark);
  margin:24px 0 10px;
}

.report-body h3.SmallHeader{
  margin:28px 0 10px;
}

.article-body .pull-quote,
.article-body blockquote,
.article-body .wp-block-quote,
.article-body .wp-block-pullquote,
.report-body .pull-quote,
.report-body blockquote,
.report-body .wp-block-quote,
.report-body .wp-block-pullquote{
  margin:32px 0;
  padding:24px 28px;
  border-left:3px solid var(--blue);
  background:rgba(0,99,174,.04);
  color:var(--dark);
  font-style:normal;
}

.article-body .pull-quote p,
.article-body blockquote p,
.article-body .wp-block-quote p,
.article-body .wp-block-pullquote p,
.report-body .pull-quote p,
.report-body blockquote p,
.report-body .wp-block-quote p,
.report-body .wp-block-pullquote p{
  font-family:var(--font-cond);
  font-size:22px;
  font-weight:600;
  line-height:1.4;
  color:var(--dark);
  font-style:normal;
  margin:0;
}

.article-body .pull-quote p + p,
.article-body blockquote p + p,
.article-body .wp-block-quote p + p,
.article-body .wp-block-pullquote p + p,
.report-body .pull-quote p + p,
.report-body blockquote p + p,
.report-body .wp-block-quote p + p,
.report-body .wp-block-pullquote p + p{
  margin-top:12px;
}

.article-body .pull-quote cite,
.article-body blockquote cite,
.article-body .wp-block-quote cite,
.article-body .wp-block-pullquote cite,
.report-body .pull-quote cite,
.report-body blockquote cite,
.report-body .wp-block-quote cite,
.report-body .wp-block-pullquote cite{
  display:block;
  margin-top:10px;
  font-family:var(--font);
  font-size:13px;
  line-height:1.5;
  font-weight:400;
  color:var(--text-dim);
  font-style:normal;
  text-transform:none;
}

.author-link--legacy{
  color:inherit;
  text-decoration:none;
  cursor:default;
}

.article-body .pull-quote cite i,
.article-body blockquote cite i,
.article-body .wp-block-quote cite i,
.article-body .wp-block-pullquote cite i,
.report-body .pull-quote cite i,
.report-body blockquote cite i,
.report-body .wp-block-quote cite i,
.report-body .wp-block-pullquote cite i{
  font-style:normal;
}

.article-body .img-block,
.article-body .wp-block-image,
.report-body .img-block,
.report-body .wp-block-image{
  margin:28px 0;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.article-body .img-block .img-wrap,
.report-body .img-block .img-wrap{
  width:100%;
  overflow:hidden;
  border-radius:4px;
  background:var(--bg);
}

.article-body .img-block img,
.article-body .wp-block-image img,
.report-body .img-block img,
.report-body .wp-block-image img{
  display:block;
  width:100%;
  height:auto;
  border-radius:4px;
}

.article-body .img-block figcaption,
.article-body .img-caption,
.article-body .wp-block-image figcaption,
.report-body .img-block figcaption,
.report-body .img-caption,
.report-body .wp-block-image figcaption{
  display:block;
  font-size:13px;
  color:var(--text-dim);
  line-height:1.5;
  font-style:italic;
  border-top:1px solid var(--mid);
  padding-top:8px;
}

.article-body .img-block.img-2col,
.report-body .img-block.img-2col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.article-body .grey-block,
.article-body .wp-block-group.has-background,
.report-body .grey-block,
.report-body .wp-block-group.has-background{
  margin:28px 0;
  background:var(--bg);
  border-radius:var(--r);
  padding:24px 28px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.article-body .grey-block .grey-title,
.article-body .grey-block h3,
.report-body .grey-block .grey-title,
.report-body .grey-block h3{
  font-family:var(--font-cond);
  font-size:17px;
  font-weight:700;
  line-height:1.2;
  text-transform:uppercase;
  color:var(--dark);
  margin:0;
}

.article-body .grey-block p,
.article-body .wp-block-group.has-background p,
.report-body .grey-block p,
.report-body .wp-block-group.has-background p{
  font-size:16px;
  line-height:1.65;
  color:rgba(29,27,27,.8);
  margin:0;
}

.article-body .grey-block ul,
.article-body .wp-block-group.has-background ul,
.report-body .grey-block ul,
.report-body .wp-block-group.has-background ul{
  margin:0;
  gap:6px;
}

.article-body .grey-block li,
.article-body .wp-block-group.has-background li,
.report-body .grey-block li,
.report-body .wp-block-group.has-background li{
  font-size:16px;
  color:rgba(29,27,27,.8);
}

.article-body .big-blue,
.report-body .big-blue{
  margin:28px 0;
  font-family:var(--font-cond);
  font-size:26px;
  font-weight:700;
  line-height:1.3;
  color:var(--blue);
}

.article-body .text-highlight,
.report-body .text-highlight{
  margin:20px 0;
  padding:12px 16px;
  background:rgba(29,27,27,.05);
  border-radius:3px;
  font-size:17px;
  line-height:1.7;
  color:rgba(29,27,27,.8);
  font-weight:500;
}

.article-body .DeskList,
.article-body .MobileList,
.report-body .DeskList,
.report-body .MobileList{
  margin:14px 0 18px;
  padding-left:0;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.article-body .DeskList li,
.article-body .MobileList li,
.report-body .DeskList li,
.report-body .MobileList li{
  font-size:17px;
  line-height:1.65;
  color:rgba(29,27,27,.85);
  padding-left:22px;
  position:relative;
  list-style:none;
}

.article-body .DeskList li::before,
.article-body .MobileList li::before,
.report-body .DeskList li::before,
.report-body .MobileList li::before{
  content:'';
  position:absolute;
  left:0;
  top:11px;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--blue);
}

.article-body .wp-block-table,
.report-body .wp-block-table{
  width:100%;
  max-width:100%;
  margin:28px 0;
  overflow-x:auto;
}

.article-body .wp-block-table table,
.report-body .wp-block-table table{
  width:100%;
  border-collapse:collapse;
}

.article-body .wp-block-table th,
.article-body .wp-block-table td,
.report-body .wp-block-table th,
.report-body .wp-block-table td{
  padding:10px 12px;
  border:1px solid var(--mid);
  font-size:14px;
  line-height:1.45;
  text-align:left;
}

@media(min-width:769px){
  .article-body .TextMobile:has(+ .TextDesk),
  .article-body .QuoteMobile:has(+ .QuoteDesk),
  .article-body .MobileList:has(+ .DeskList),
  .article-body .mobile-image-block:has(+ .DeskIMG),
  .article-body .GrayTextMobile:has(+ .GrayTextDesk),
  .report-body .TextMobile:has(+ .TextDesk),
  .report-body .QuoteMobile:has(+ .QuoteDesk),
  .report-body .MobileList:has(+ .DeskList),
  .report-body .mobile-image-block:has(+ .DeskIMG),
  .report-body .GrayTextMobile:has(+ .GrayTextDesk){
    display:none;
  }
}

@media(max-width:900px){
  .article-body .img-block.img-2col,
  .report-body .img-block.img-2col{
    grid-template-columns:1fr;
  }
}

@media(max-width:768px){
  .article-body,
  .report-body,
  .article-body > *,
  .report-body > *{
    max-width:100%;
    min-width:0;
  }

  .article-body,
  .report-body{
    width:100%;
    overflow-wrap:break-word;
  }

  .article-body .TextDesk,
  .article-body .TextMobile,
  .article-body .pull-quote,
  .article-body .grey-block,
  .article-body .img-block,
  .report-body .TextDesk,
  .report-body .TextMobile,
  .report-body .pull-quote,
  .report-body .grey-block,
  .report-body .img-block{
    width:100%;
  }

  .article-body .TextMobile:has(+ .TextDesk),
  .article-body .QuoteMobile:has(+ .QuoteDesk),
  .article-body .MobileList:has(+ .DeskList),
  .article-body .mobile-image-block:has(+ .DeskIMG),
  .article-body .GrayTextMobile:has(+ .GrayTextDesk),
  .report-body .TextMobile:has(+ .TextDesk),
  .report-body .QuoteMobile:has(+ .QuoteDesk),
  .report-body .MobileList:has(+ .DeskList),
  .report-body .mobile-image-block:has(+ .DeskIMG),
  .report-body .GrayTextMobile:has(+ .GrayTextDesk){
    display:block;
  }

  .article-body .MobileList:has(+ .DeskList),
  .report-body .MobileList:has(+ .DeskList){
    display:flex;
  }

  .article-body .TextMobile + .TextDesk,
  .article-body .QuoteMobile + .QuoteDesk,
  .article-body .MobileList + .DeskList,
  .article-body .mobile-image-block + .DeskIMG,
  .article-body .GrayTextMobile + .GrayTextDesk,
  .report-body .TextMobile + .TextDesk,
  .report-body .QuoteMobile + .QuoteDesk,
  .report-body .MobileList + .DeskList,
  .report-body .mobile-image-block + .DeskIMG,
  .report-body .GrayTextMobile + .GrayTextDesk{
    display:none;
  }

  .article-body .TextDesk p,
  .article-body .TextMobile p,
  .article-body .wp-block-paragraph,
  .article-body p:not([class]),
  .article-body .DeskList li,
  .article-body .MobileList li,
  .report-body .TextDesk p,
  .report-body .TextMobile p,
  .report-body .wp-block-paragraph,
  .report-body p:not([class]),
  .report-body .DeskList li,
  .report-body .MobileList li{
    font-size:16px;
  }

  .article-body .BigHeader,
  .report-body .BigHeader{
    font-size:22px;
  }

  .article-body h3.SmallHeader,
  .report-body h3.SmallHeader{
    font-size:17px;
  }

  .article-body .pull-quote,
  .article-body blockquote,
  .article-body .wp-block-quote,
  .article-body .wp-block-pullquote,
  .report-body .pull-quote,
  .report-body blockquote,
  .report-body .wp-block-quote,
  .report-body .wp-block-pullquote{
    padding:18px 20px;
  }

  .article-body .pull-quote p,
  .article-body blockquote p,
  .article-body .wp-block-quote p,
  .article-body .wp-block-pullquote p,
  .report-body .pull-quote p,
  .report-body blockquote p,
  .report-body .wp-block-quote p,
  .report-body .wp-block-pullquote p{
    font-size:17px;
  }

  .article-body .big-blue,
  .report-body .big-blue{
    font-size:20px;
  }

  .article-body .grey-block,
  .article-body .wp-block-group.has-background,
  .report-body .grey-block,
  .report-body .wp-block-group.has-background{
    padding:18px 20px;
  }
}
