/* Owner review: precise corrections for the five main landing pages. */

/* Brief fields keep the same 8px inset on every product page. */
body.product-main #main .product-hero form.agent-entry.pp-prompt,
body.home-redesign #main form.home-prompt.pp-prompt{
  box-sizing:border-box!important;
  height:120px!important;
  min-height:120px!important;
  max-height:120px!important;
  padding:8px!important;
}
body.product-main #main .product-hero form.agent-entry.pp-prompt .agent-entry-row,
body.home-redesign #main form.home-prompt.pp-prompt .home-prompt-bottom{
  box-sizing:border-box!important;
  min-height:0!important;
  padding:0!important;
}
body.product-main #main .product-hero form.agent-entry.pp-prompt .agent-entry-row{
  display:flex!important;
  flex-direction:column!important;
  justify-content:space-between!important;
  align-items:stretch!important;
  height:100%!important;
}
body.product-main #main .product-hero form.agent-entry.pp-prompt textarea{
  flex:0 0 42px!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  padding:8px!important;
}
body.product-main #main .product-hero form.agent-entry.pp-prompt button[type=submit]{align-self:flex-end!important}
body.product-main[data-product=campaigns] #main .product-hero form.agent-entry.pp-prompt{
  height:120px!important;
  min-height:120px!important;
  max-height:120px!important;
  background:#f5f6f9!important;
}

/* Home audience art has room to fill each equal card. */
body.home-redesign #main .m-bento-grid .m-audience-card:nth-child(n){height:560px!important;min-height:560px!important}
body.home-redesign #main .m-bento-grid .m-audience-card h3{color:#001226!important;text-shadow:none!important}
body.home-redesign #main .m-bento-grid .m-audience-card p{color:#21364f!important}
body.home-redesign #main .m-bento-grid .m-audience-card>.m-audience-art:first-child{
  order:2!important;
  flex:1 1 300px!important;
  width:100%!important;
  height:300px!important;
  min-height:230px!important;
  max-height:310px!important;
  margin:12px 0 0!important;
}
body.home-redesign #main .m-bento-grid .m-audience-art img{
  width:100%!important;
  height:100%!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  transform:scale(1.06);
}

/* The Ads channel marks are artwork, not text-button icons. */
body.product-main[data-product=ads] #main .pp-ads-cta .pp-ads-cta-channels a{
  display:grid!important;
  place-items:center!important;
  width:clamp(110px,11vw,158px)!important;
  height:clamp(110px,11vw,158px)!important;
  padding:14px!important;
  border-radius:50%!important;
}
body.product-main[data-product=ads] #main .pp-ads-cta .pp-ads-cta-channels a img{
  display:block!important;
  width:75%!important;
  height:75%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
}

/* Compact, centered 2 + 1 CTA groups. */
body.product-main[data-product] #main section.review-paths.wrap{padding:20px!important}
body.product-main[data-product=ads] #main section.review-paths.wrap{
  display:grid!important;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;
  align-items:center!important;
  gap:24px!important;
}
body.product-main[data-product=ads] #main section.review-paths.wrap h2{
  grid-column:1!important;
  grid-row:1!important;
  margin:0!important;
}
body.product-main[data-product=ads] #main section.review-paths.wrap>.review-related{
  grid-column:2!important;
  grid-row:1!important;
}
body.product-main[data-product] #main section.review-paths.wrap>.review-related{
  display:grid!important;
  grid-template-columns:repeat(2,max-content)!important;
  gap:12px!important;
  width:max-content!important;
  max-width:100%!important;
  justify-content:center!important;
  justify-self:center!important;
  align-self:center!important;
  margin-inline:auto!important;
}
body.product-main[data-product] #main section.review-paths.wrap>.review-related>a{
  width:max-content!important;
  min-height:48px!important;
  height:48px!important;
  padding:12px 20px!important;
  justify-self:center!important;
}
body.product-main[data-product] #main section.review-paths.wrap>.review-related>a:nth-child(3){
  grid-column:1/-1!important;
  width:max-content!important;
  justify-self:center!important;
}

/* Pages: keep the visual beside the copy on wide screens. */
body.product-main[data-product=pages] #main .standard-story[data-story-index="2"] .standard-story-grid{
  display:grid!important;
  grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr)!important;
  align-items:center!important;
}
body.product-main[data-product=pages] #main .standard-story[data-story-index="2"] .standard-story-copy{order:1!important;min-width:0!important}
body.product-main[data-product=pages] #main .standard-story[data-story-index="2"] .studio-art{order:2!important;min-width:0!important;width:100%!important}

/* Campaigns keeps the explicit title break and a compact input. */
body.product-main[data-product=campaigns] #main .conversion-process .conversion-heading{
  display:block!important;
  width:min(100%,1000px)!important;
  max-width:1000px!important;
  margin:0 auto 42px!important;
  text-align:center!important;
}
body.product-main[data-product=campaigns] #main .conversion-process .conversion-heading h2{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  color:#001226!important;
  font-size:clamp(32px,4.4vw,64px)!important;
  line-height:1.1!important;
  text-align:center!important;
}
body.product-main[data-product=campaigns] #main .conversion-process .conversion-heading h2 em{
  color:#2041d9!important;
  font-style:italic!important;
  white-space:nowrap;
}

/* Socials stream art is prominent on both wide and narrow screens. */
body.product-main[data-product=socials] #main .pp-social-ticker-set img{height:520px!important}

@media(max-width:800px){
  body.home-redesign #main .m-bento-grid .m-audience-card:nth-child(n){height:500px!important;min-height:500px!important}
  body.home-redesign #main .m-bento-grid .m-audience-card>.m-audience-art:first-child{height:260px!important;min-height:190px!important;max-height:270px!important}
  body.product-main[data-product] #main section.review-paths.wrap>.review-related{grid-template-columns:repeat(2,minmax(0,max-content))!important;gap:10px!important}
  body.product-main[data-product] #main section.review-paths.wrap>.review-related>a{height:auto!important;min-height:44px!important;padding:10px 14px!important}
  body.product-main[data-product=ads] #main section.review-paths.wrap{grid-template-columns:1fr!important}
  body.product-main[data-product=ads] #main section.review-paths.wrap h2,
  body.product-main[data-product=ads] #main section.review-paths.wrap>.review-related{grid-column:1!important;grid-row:auto!important}
  body.product-main[data-product=pages] #main .standard-story[data-story-index="2"] .standard-story-grid{grid-template-columns:1fr!important}
  body.product-main[data-product=campaigns] #main .conversion-process .conversion-heading h2{font-size:clamp(26px,6.6vw,38px)!important}
  body.product-main[data-product=socials] #main .pp-social-ticker-set img{height:340px!important}
}
@media(max-width:600px){
  body.product-main[data-product=campaigns] #main .product-hero .suite-hero-grid.has-art{
    grid-template-columns:minmax(0,1fr)!important;
    min-width:0!important;
  }
  body.product-main[data-product=campaigns] #main .product-hero .hero-art{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.product-main[data-product=campaigns] #main .product-hero .hero-art img{max-width:100%!important;min-width:0!important}
  body.product-main[data-product] #main section.review-paths.wrap>.review-related{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    width:100%!important;
    max-width:100%!important;
    gap:10px!important;
  }
  body.product-main[data-product] #main section.review-paths.wrap>.review-related>a{
    max-width:100%!important;
    justify-self:auto!important;
  }
}
