/* Campaigns: a distinct editorial layout around the supplied product screens. */
body.product-main[data-product="campaigns"] #main .product-hero .suite-hero-grid.has-art {
  box-sizing:border-box!important;
  width:min(1280px,calc(100% - 48px))!important;
  max-width:1280px!important;
  margin-inline:auto!important;
  gap:48px!important;
}
body.product-main[data-product="campaigns"] #main .product-hero .suite-intro {
  box-sizing:border-box!important;
  min-width:0;
  padding-inline:0!important;
}
body.product-main[data-product="campaigns"] #main .product-hero .suite-intro h1 {
  max-width:13ch!important;
  font-size:clamp(50px,5vw,72px)!important;
  line-height:1.1!important;
  text-wrap:balance;
}
body.product-main[data-product="campaigns"] #main .product-hero .hero-art[data-product-art="campaigns"] {
  box-sizing:border-box!important;
  display:grid!important;
  place-items:center;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:6px!important;
  overflow:visible;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.product-main[data-product="campaigns"] #main .product-hero .hero-art img {
  display:block;
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  border-radius:0!important;
  box-shadow:none!important;
  transform:perspective(1100px) rotateX(var(--campaigns-tilt-x,0deg)) rotateY(var(--campaigns-tilt-y,0deg));
  transform-origin:center;
}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  body.product-main[data-product="campaigns"] #main .product-hero .hero-art img {
    transition:transform 220ms cubic-bezier(.2,0,0,1);
  }
  body.product-main[data-product="campaigns"] #main .product-hero .hero-art:hover img {
    transform:perspective(1100px) rotateX(var(--campaigns-tilt-x,-2deg)) rotateY(var(--campaigns-tilt-y,2deg)) scale(1.012);
  }
}

/* One shared blue surface for all three conversation cards. */
body.product-main[data-product="campaigns"] #main .conversion-process ol {
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
}
body.product-main[data-product="campaigns"] #main .conversion-process ol>.pp-campaigns-conversation-card,
body.product-main[data-product="campaigns"] #main .conversion-process ol>.pp-campaigns-conversation-card:nth-child(n) {
  display:flex!important;
  flex-direction:column!important;
  min-width:0;
  min-height:460px!important;
  padding:18px!important;
  border:0!important;
  border-radius:28px!important;
  background:#dce9ff url('/hp-assets/remediation/campaigns/BG 49.webp') center/cover no-repeat!important;
  color:#12233e!important;
}
body.product-main[data-product="campaigns"] #main .pp-campaigns-conversation-art {
  width:100%;
  margin:0 0 22px;
  overflow:hidden;
  border-radius:20px;
  background:transparent;
}
body.product-main[data-product="campaigns"] #main .pp-campaigns-conversation-art img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:2400/1304;
  object-fit:cover;
  border-radius:20px;
  user-select:none;
  -webkit-user-select:none;
}
body.product-main[data-product="campaigns"] #main .pp-campaigns-conversation-card h3 {
  margin:0 10px 12px!important;
  color:#12233e!important;
  font-size:clamp(26px,2.4vw,34px)!important;
}
body.product-main[data-product="campaigns"] #main .pp-campaigns-conversation-card p {
  grid-column:auto!important;
  margin:0 10px 10px!important;
  color:#243a54!important;
  font-size:18px!important;
}

/* The three workflow cards layer over one another while scrolling. */
body.product-main[data-product="campaigns"] #main .pp-campaigns-step-stack {
  position:relative;
  isolation:isolate;
  padding:20px 0 72px;
  background:#fff;
}
@media(min-width:901px) {
  body.product-main[data-product="campaigns"] #main .pp-campaigns-step-stack>.standard-story {
    position:sticky!important;
    top:84px;
    margin:0!important;
    padding:0 0 22px!important;
    background:transparent!important;
  }
  body.product-main[data-product="campaigns"] #main .pp-campaigns-step-stack>.standard-story:nth-child(1) {z-index:1}
  body.product-main[data-product="campaigns"] #main .pp-campaigns-step-stack>.standard-story:nth-child(2) {z-index:2}
  body.product-main[data-product="campaigns"] #main .pp-campaigns-step-stack>.standard-story:nth-child(3) {z-index:3}
}
body.product-main[data-product="campaigns"] #main .pp-campaigns-step-stack .standard-story-grid {
  min-height:570px!important;
  box-shadow:0 16px 44px rgba(10,31,65,.09)!important;
}
body.product-main[data-product="campaigns"] #main .standard-story .pp-campaigns-story-art.pp-feature-media {
  display:grid!important;
  place-items:center!important;
  min-height:420px!important;
  margin:0;
  padding:16px!important;
  overflow:hidden;
  background:#fff!important;
  border-radius:26px!important;
}
body.product-main[data-product="campaigns"] #main .pp-campaigns-story-art>img {
  display:block;
  width:100%!important;
  height:auto!important;
  max-height:500px!important;
  object-fit:contain!important;
  filter:none!important;
  user-select:none;
  -webkit-user-select:none;
}
body.product-main[data-product="campaigns"] #main .pp-campaigns-story-art .pp-feature-badge {display:none!important}

/* A single continuous feature grid with fine dashed separators. */
body.product-main[data-product="campaigns"] #main .cf-feature-grid {
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:0!important;
}
body.product-main[data-product="campaigns"] #main .cf-feature-grid>.cf-feature:nth-child(n) {
  box-sizing:border-box;
  min-height:360px!important;
  padding:32px!important;
  border:0!important;
  border-bottom:.5px dashed #aab5c5!important;
  border-radius:0!important;
  background:#fff!important;
  background-image:none!important;
  box-shadow:none!important;
}
body.product-main[data-product="campaigns"] #main .cf-feature-grid>.cf-feature:nth-child(odd) {border-right:.5px dashed #aab5c5!important}
body.product-main[data-product="campaigns"] #main .cf-feature-grid>.cf-feature:nth-last-child(-n+2) {border-bottom:0!important}
body.product-main[data-product="campaigns"] #main .cf-feature-grid>.cf-feature p {color:#243a54!important}

/* White section, one shared image background across all three choices. */
body.product-main[data-product="campaigns"] #main .standard-resources.wrap {
  box-sizing:border-box!important;
  width:min(1280px,calc(100% - 48px))!important;
  max-width:1280px!important;
  padding:92px 0!important;
  border-radius:0!important;
  background:#fff!important;
  background-image:none!important;
}
body.product-main[data-product="campaigns"] #main .standard-resources .standard-resource:nth-child(n) {
  background:#e9e3ff url('/hp-assets/remediation/campaigns/BG 50.webp') center/cover no-repeat!important;
  border-radius:26px!important;
}

/* Supplied Ads and Pages previews connect the campaign to the next product. */
body.product-main[data-product="campaigns"] #main .customer-journey .pp-campaigns-brand-line {
  color:#2041d9!important;
  font-style:italic;
  font-weight:900;
}
body.product-main[data-product="campaigns"] #main .journey-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.product-main[data-product="campaigns"] #main .journey-card>.pp-journey-visual {
  height:300px!important;
  padding:10px;
  background:#fff!important;
}
body.product-main[data-product="campaigns"] #main .journey-card>.pp-journey-visual img {
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  filter:none!important;
}

/* The closing image spans the card width beneath centered copy and action. */
body.product-main[data-product="campaigns"] #main .product-end {
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:0!important;
  padding:52px 0 0!important;
  overflow:hidden!important;
  background:#eef1ff!important;
  text-align:center!important;
}
body.product-main[data-product="campaigns"] #main .product-end>div:first-child {
  width:100%;
  padding:0 24px;
  text-align:center!important;
}
body.product-main[data-product="campaigns"] #main .product-end h2 {
  max-width:18ch!important;
  margin:0 auto!important;
  text-align:center!important;
}
body.product-main[data-product="campaigns"] #main .product-end>button {
  align-self:center!important;
  width:max-content!important;
  max-width:calc(100% - 32px);
  margin:24px auto 0!important;
  padding:16px 20px!important;
}
body.product-main[data-product="campaigns"] #main .product-end .pp-campaigns-closing-art.pp-closing-art {
  display:block!important;
  width:100%!important;
  min-height:0!important;
  height:auto!important;
  margin:34px 0 0!important;
  padding:0!important;
  border-radius:0!important;
  background:transparent!important;
  overflow:hidden;
}
body.product-main[data-product="campaigns"] #main .pp-campaigns-closing-art img {
  display:block!important;
  width:100%!important;
  max-height:none!important;
  height:auto!important;
  object-fit:contain!important;
  filter:none!important;
  user-select:none;
  -webkit-user-select:none;
}

@media(max-width:900px) {
  body.product-main[data-product="campaigns"] #main .product-hero .suite-intro {grid-template-columns:minmax(0,1fr)!important}
  body.product-main[data-product="campaigns"] #main .product-hero .suite-intro>* {grid-column:1!important;grid-row:auto!important}
  body.product-main[data-product="campaigns"] #main .product-hero .suite-intro h1 {max-width:16ch!important}
  body.product-main[data-product="campaigns"] #main .conversion-process ol {grid-template-columns:1fr!important}
  body.product-main[data-product="campaigns"] #main .conversion-process ol>.pp-campaigns-conversation-card:nth-child(n) {min-height:0!important}
  body.product-main[data-product="campaigns"] #main .pp-campaigns-step-stack>.standard-story {position:relative!important;top:auto!important;margin:0 0 14px!important}
  body.product-main[data-product="campaigns"] #main .pp-campaigns-step-stack .standard-story-grid {min-height:0!important}
  body.product-main[data-product="campaigns"] #main .standard-story .pp-campaigns-story-art.pp-feature-media {min-height:0!important}
}
@media(max-width:760px) {
  body.product-main[data-product="campaigns"] #main .product-hero .suite-hero-grid.has-art {width:calc(100% - 32px)!important;gap:26px!important}
  body.product-main[data-product="campaigns"] #main .product-hero .suite-intro h1 {font-size:clamp(38px,10vw,54px)!important}
  body.product-main[data-product="campaigns"] #main .product-hero .hero-art[data-product-art="campaigns"] {width:100%!important;min-width:0!important;max-width:none!important;min-height:0!important;padding:0!important}
  body.product-main[data-product="campaigns"] #main .cf-feature-grid {grid-template-columns:minmax(0,1fr)!important}
  body.product-main[data-product="campaigns"] #main .cf-feature-grid>.cf-feature:nth-child(n) {border-right:0!important;border-bottom:.5px dashed #aab5c5!important;padding:26px!important}
  body.product-main[data-product="campaigns"] #main .cf-feature-grid>.cf-feature:last-child {border-bottom:0!important}
  body.product-main[data-product="campaigns"] #main .standard-resources.wrap {width:calc(100% - 32px)!important;padding:64px 0!important}
  body.product-main[data-product="campaigns"] #main .journey-grid {grid-template-columns:minmax(0,1fr)!important}
  body.product-main[data-product="campaigns"] #main .journey-card>.pp-journey-visual {height:250px!important}
  body.product-main[data-product="campaigns"] #main .product-end {padding-top:38px!important}
  body.product-main[data-product="campaigns"] #main .product-end .pp-campaigns-closing-art.pp-closing-art {margin-top:28px!important}
}
@media(max-width:480px) {
  body.product-main[data-product="campaigns"] #main .pp-campaigns-conversation-art {margin-bottom:18px}
  body.product-main[data-product="campaigns"] #main .journey-card>.pp-journey-visual {height:210px!important}
  body.product-main[data-product="campaigns"] #main .standard-story .pp-campaigns-story-art.pp-feature-media {padding:8px!important}
}
@media(prefers-reduced-motion:reduce) {
  body.product-main[data-product="campaigns"] #main .product-hero .hero-art img {transition:none!important;transform:none!important}
}

/* Preserve the complete supplied raster, including its transparent outer edge. */
body.product-main[data-product="campaigns"] #main .product-hero,
body.product-main[data-product="campaigns"] #main .product-hero .hero-art[data-product-art="campaigns"],
body.product-main[data-product="campaigns"] #main .product-end,
body.product-main[data-product="campaigns"] #main .product-end .pp-campaigns-closing-art.pp-closing-art {
  overflow:visible!important;
}
body.product-main[data-product="campaigns"] #main .product-hero .hero-art img,
body.product-main[data-product="campaigns"] #main .pp-campaigns-closing-art img {
  object-fit:contain!important;
  object-position:center!important;
  clip-path:none!important;
}

/* Restore each card's color while keeping the six cards as one joined grid. */
body.product-main[data-product="campaigns"] #main .cf-feature-grid {position:relative;overflow:visible!important}
body.product-main[data-product="campaigns"] #main .cf-feature-grid>.cf-feature:nth-child(n) {
  position:relative;
  border:0!important;
  background:#e7edff url('/hp-assets/remediation/campaigns/BG 49.webp') center/cover!important;
}
body.product-main[data-product="campaigns"] #main .cf-feature-grid>.cf-feature:nth-child(2),
body.product-main[data-product="campaigns"] #main .cf-feature-grid>.cf-feature:nth-child(5) {background:#f5f6f9!important}
body.product-main[data-product="campaigns"] #main .cf-feature-grid>.cf-feature:nth-child(3) {background:#ebe1ff url('/hp-assets/remediation/campaigns/BG 50.webp') center/cover!important}
body.product-main[data-product="campaigns"] #main .cf-feature-grid>.cf-feature:nth-child(4) {background:#dceeff url('/hp-assets/remediation/campaigns/BG 51.webp') center/cover!important}
body.product-main[data-product="campaigns"] #main .cf-feature-grid>.cf-feature:nth-child(6) {background:#d8f6ea url('/hp-assets/remediation/campaigns/BG 52.webp') center/cover!important}
body.product-main[data-product="campaigns"] #main .cf-feature-grid>.cf-feature:nth-child(odd) {border-left:.5px dashed #aab5c5!important;border-right:.5px dashed #aab5c5!important}
body.product-main[data-product="campaigns"] #main .cf-feature-grid>.cf-feature:nth-child(even) {border-right:.5px dashed #aab5c5!important}
body.product-main[data-product="campaigns"] #main .cf-feature-grid>.cf-feature:nth-child(-n+4)::after {
  content:"";
  position:absolute;
  z-index:2;
  left:-24px;
  right:-24px;
  bottom:0;
  border-bottom:.5px dashed #aab5c5;
  pointer-events:none;
}

/* Fixed square bounds make the resource icon backgrounds truly circular. */
body.product-main[data-product="campaigns"] #main .standard-resources .resource-visual {
  box-sizing:border-box!important;
  flex:0 0 64px!important;
  width:64px!important;
  min-width:64px!important;
  max-width:64px!important;
  height:64px!important;
  min-height:64px!important;
  max-height:64px!important;
  aspect-ratio:1!important;
  border-radius:50%!important;
}
@media(max-width:760px) {
  body.product-main[data-product="campaigns"] #main .cf-feature-grid>.cf-feature:nth-child(n) {border-left:.5px dashed #aab5c5!important;border-right:.5px dashed #aab5c5!important}
  body.product-main[data-product="campaigns"] #main .cf-feature-grid>.cf-feature:nth-child(-n+5)::after {content:"";left:-12px;right:-12px}
  body.product-main[data-product="campaigns"] #main .cf-feature-grid>.cf-feature:last-child::after {content:none}
}
