/* Recover original direction / partnership / two-options compositions, not a shared dark wrapper. */
.agency-preview .agp-composed-page .agp-block-content{--agp-gold:#e69716;--agp-blue:#6e7e94}
.agency-preview .agp-composed-page .agp-block-content .agp-intro{background:transparent;max-width:1000px;margin-bottom:52px}
.agency-preview .agp-composed-page .agp-block-content .agp-section-block{margin:60px 0;padding:0;border:0;background:transparent}
.agency-preview .agp-composed-page .agp-block-content .agp-section-block h2{margin:0 0 30px;max-width:1000px}
.agency-preview .agp-composed-page .agp-block-content :is(.agp-card-grid,.agp-card-grid-three){gap:20px;margin:30px 0;align-items:stretch}
.agency-preview .agp-composed-page .agp-block-content .agp-card{background:#fff;color:#393939;padding:30px;min-width:0;margin:0;border:0;display:flex;flex-direction:column}
.agency-preview .agp-composed-page .agp-block-content .agp-card>.wp-block-group__inner-container{display:flex;flex-direction:column;flex:1;min-width:0}
.agency-preview .agp-composed-page .agp-block-content .agp-card :is(h2,h3){font-size:24px;line-height:1.2;margin:0 0 24px;hyphens:none;color:inherit}
.agency-preview .agp-composed-page .agp-block-content .agp-card p{font-size:16px;line-height:1.65;color:inherit;margin:0 0 20px}
.agency-preview .agp-composed-page .agp-block-content .agp-card p:last-child{margin-bottom:0}
.agency-preview .agp-composed-page .agp-block-content .agp-card p:last-child:has(>a:only-child){margin-top:auto;padding-top:8px}
.agency-preview .agp-composed-page .agp-block-content .agp-card a:not(.wp-block-button__link){color:inherit;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
/* Blue+white is only4.14:1: use black5.07:1 for all blue-card text, without opacity. */
.agency-preview .agp-composed-page .agp-block-content [data-agp-color=red]{background:#ad0d0d;color:#fff}
.agency-preview .agp-composed-page .agp-block-content [data-agp-color=blue]{background:#6e7e94;color:#000}
.agency-preview .agp-composed-page .agp-block-content [data-agp-color=graphite]{background:#393939;color:#fff}
.agency-preview .agp-composed-page .agp-block-content [data-agp-color=gold]{background:#e69716;color:#171717}
/* The parent section stays white; its independent cards keep white gutters. */
.agency-preview .agp-composed-page .agp-block-content [data-agp-treatment=cards]{background:transparent;color:#393939}
.agency-preview .agp-composed-page .agp-block-content :is([data-agp-treatment=blue],[data-agp-treatment=gold]){padding:42px;background:#6e7e94;color:#000}
.agency-preview .agp-composed-page .agp-block-content [data-agp-treatment=gold]{background:#e69716;color:#171717}
.agency-preview .agp-composed-page .agp-block-content :is([data-agp-treatment=blue],[data-agp-treatment=gold]) :is(h2,h3,p,li,a){color:inherit}
.agency-preview .agp-composed-page .agp-block-content [data-agp-treatment=open]{padding:0;background:#fff}
.agency-preview .agp-composed-page .agp-block-content [data-agp-treatment=open] h2{border-left:3px solid #e69716;padding-left:24px}
.agency-preview .agp-composed-page .agp-block-content [data-agp-treatment=split]{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:0 48px}
.agency-preview .agp-composed-page .agp-block-content [data-agp-treatment=split]>.wp-block-group__inner-container{display:contents}
.agency-preview .agp-composed-page .agp-block-content [data-agp-treatment=split] h2{grid-column:1;grid-row:1 / span 4}
.agency-preview .agp-composed-page .agp-block-content [data-agp-treatment=split] :is(p,ul,ol){grid-column:2}
/* Five directions2+3 use the previously approved count-aware grid; one shared title size. */
.agency-preview .agp-composed-page.agp-composition-directions .agp-block-content [data-agp-section="1"] .agp-card{padding:30px 24px}
.agency-preview .agp-composed-page.agp-composition-directions .agp-block-content [data-agp-section="1"] .agp-card :is(h2,h3){font-size:clamp(20px,1.7vw,24px)}
/* Twelve module cards keep the authored line breaks and a consistent type scale. */
.agency-preview .agp-composed-page.agp-composition-modules .agp-block-content .agp-card :is(h2,h3){font-size:24px}
/* Seven committees stay vertical. Each is a distinct scene rather than a tiled grid. */
.agency-preview .agp-composed-page .agp-block-content [data-agp-treatment=vertical] :is(.agp-card-grid,.agp-card-grid-three)[data-agp-card-layout]{grid-template-columns:1fr}
.agency-preview .agp-composed-page .agp-block-content [data-agp-treatment=vertical] .agp-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:14px 42px}
.agency-preview .agp-composed-page .agp-block-content [data-agp-treatment=vertical] .agp-card>.wp-block-group__inner-container{display:contents}
.agency-preview .agp-composed-page .agp-block-content [data-agp-treatment=vertical] .agp-card :is(h2,h3){grid-column:1;grid-row:1 / span 3;min-height:0!important;margin:0}
.agency-preview .agp-composed-page .agp-block-content [data-agp-treatment=vertical] .agp-card p{grid-column:2;margin:0}
/* Enterprise scene is native core/columns + core/image: replaceable through the WP editor. */
.agency-preview .agp-composed-page .agp-block-content .agp-industry-scene{margin:60px 0}
.agency-preview .agp-composed-page .agp-block-content .agp-industry-scene .wp-block-columns{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0;align-items:stretch}
.agency-preview .agp-composed-page .agp-block-content .agp-industry-scene .wp-block-column{min-width:0;margin:0}
.agency-preview .agp-composed-page .agp-block-content .agp-industry-scene .wp-block-column:first-child{background:#fff}
.agency-preview .agp-composed-page .agp-block-content .agp-industry-scene .wp-block-image{margin:0;height:100%;display:flex;flex-direction:column}
.agency-preview .agp-composed-page .agp-block-content .agp-industry-scene img{display:block;width:100%;height:100%;min-height:420px;object-fit:cover;flex:1}
.agency-preview .agp-composed-page .agp-block-content .agp-industry-scene figcaption{font-size:12px;line-height:1.5;background:#fff;color:#393939;padding:10px 0;margin:0}
.agency-preview .agp-composed-page .agp-block-content .agp-industry-scene .wp-block-column:last-child{background:#393939;color:#fff;padding:42px 36px}
.agency-preview .agp-composed-page .agp-block-content .agp-industry-scene .agp-section-block{margin:0;padding:0;background:transparent}
.agency-preview .agp-composed-page .agp-block-content .agp-industry-scene :is(h2,h3,p,a){color:inherit}
.agency-preview .agp-composed-page .agp-block-content .agp-industry-scene :is(.agp-card-grid,.agp-card-grid-three){display:block;margin:0}
.agency-preview .agp-composed-page .agp-block-content .agp-industry-scene .agp-card{padding:0;background:transparent;color:inherit}
.agency-preview .agp-composed-page .agp-block-content .agp-industry-scene .agp-card :is(h2,h3){min-height:0!important}
/* Contacts remain open; address gets wider space, never nowrap or overflow masking. */
.agency-preview .agp-composed-page.agp-composition-contacts .agp-block-content .agp-card{padding:20px 0;background:transparent;border-top:3px solid #6e7e94}
.agency-preview .agp-composed-page.agp-composition-contacts .agp-block-content .agp-card a{overflow-wrap:anywhere}
.agency-preview .agp-composed-page.agp-composition-contacts .agp-block-content>.agp-section-block:last-child{margin-bottom:0}
.agency-preview .agp-composed-page.agp-composition-contacts>.agp-editorial{padding-bottom:32px}
.agency-preview .agp-composed-page.agp-composition-contacts>#contact.agp-section{padding-top:32px}
@media(min-width:1140px){.agency-preview .agp-composed-page.agp-composition-contacts .agp-block-content .agp-card-grid-three[data-agp-card-layout=triple]{grid-template-columns:.85fr 1fr 1.65fr}}
@media(max-width:1000px){.agency-preview .agp-composed-page .agp-block-content .agp-card{padding:26px}.agency-preview .agp-composed-page .agp-block-content .agp-industry-scene .wp-block-column:last-child{padding:32px 26px}.agency-preview .agp-composed-page .agp-block-content .agp-industry-scene h2{font-size:30px}}
@media(max-width:800px){.agency-preview .agp-composed-page .agp-block-content .agp-intro{margin-bottom:36px}.agency-preview .agp-composed-page .agp-block-content .agp-section-block{margin:42px 0}.agency-preview .agp-composed-page .agp-block-content :is(.agp-card-grid,.agp-card-grid-three){gap:18px;margin:26px 0}.agency-preview .agp-composed-page .agp-block-content .agp-card{padding:26px 22px}.agency-preview .agp-composed-page .agp-block-content .agp-card :is(h2,h3){min-height:0!important;font-size:23px}.agency-preview .agp-composed-page .agp-block-content :is([data-agp-treatment=blue],[data-agp-treatment=gold]){padding:30px 24px}.agency-preview .agp-composed-page .agp-block-content [data-agp-treatment=split]{display:block}.agency-preview .agp-composed-page .agp-block-content [data-agp-treatment=vertical] .agp-card{grid-template-columns:1fr;gap:20px}.agency-preview .agp-composed-page .agp-block-content [data-agp-treatment=vertical] .agp-card :is(h2,h3){grid-column:1;grid-row:auto}.agency-preview .agp-composed-page .agp-block-content [data-agp-treatment=vertical] .agp-card p{grid-column:1}.agency-preview .agp-composed-page .agp-block-content .agp-industry-scene{margin:42px 0}.agency-preview .agp-composed-page .agp-block-content .agp-industry-scene .wp-block-columns{grid-template-columns:1fr}.agency-preview .agp-composed-page .agp-block-content .agp-industry-scene img{height:auto;min-height:0;aspect-ratio:4/3}.agency-preview .agp-composed-page .agp-block-content .agp-industry-scene .wp-block-column:last-child{padding:30px 24px}.agency-preview .agp-composed-page .agp-block-content :is(h2,h3){overflow-wrap:anywhere}.agency-preview .agp-composed-page.agp-composition-modules .agp-block-content .agp-card :is(h2,h3){font-size:22px}}

/* Services retain the reference's compact service catalogue, not another full-color module wall. */
.agency-preview .agp-composed-page.agp-composition-services .agp-block-content [data-agp-section="1"] .agp-card{background:#f5f5f2;color:#393939;border-top:3px solid #ad0d0d;padding:28px;min-height:280px}
.agency-preview .agp-composed-page.agp-composition-services .agp-block-content [data-agp-section="1"] [data-agp-color=blue]{border-top-color:#6e7e94}
.agency-preview .agp-composed-page.agp-composition-services .agp-block-content [data-agp-section="1"] [data-agp-color=graphite]{border-top-color:#393939}
.agency-preview .agp-composed-page.agp-composition-services .agp-block-content [data-agp-section="1"] [data-agp-color=gold]{border-top-color:#e69716}
.agency-preview .agp-composed-page.agp-composition-services .agp-block-content [data-agp-section="1"] .agp-card :is(h2,h3){font-size:23px}
@media(min-width:1240px){.agency-preview .agp-composed-page.agp-composition-services .agp-block-content [data-agp-section="1"] .agp-card-grid[data-agp-card-layout=even]{grid-template-columns:repeat(4,minmax(0,1fr))}.agency-preview .agp-composed-page.agp-composition-services .agp-block-content [data-agp-section="1"] .agp-card{padding:24px}.agency-preview .agp-composed-page.agp-composition-services .agp-block-content [data-agp-section="1"] .agp-card :is(h2,h3){font-size:21px}.agency-preview .agp-composed-page.agp-composition-services .agp-block-content [data-agp-section="1"] .agp-card p{font-size:14px}}
@media(max-width:480px){.agency-preview .agp-composed-page.agp-composition-directions .agp-block-content [data-agp-section="1"] .agp-card{padding:26px 18px}.agency-preview .agp-composed-page.agp-composition-directions .agp-block-content [data-agp-section="1"] .agp-card :is(h2,h3){font-size:clamp(17px,4.8vw,22px)}.agency-preview .agp-composed-page.agp-composition-services .agp-block-content [data-agp-section="1"] .agp-card{min-height:0;padding:26px 22px}}
@media(min-width:801px){.agency-preview .agp-composed-page.agp-composition-modules .agp-block-content .agp-card{min-height:330px}}

/* First content section after native intro removal: no extra60px introductory gap. */
.agency-preview .agp-composed-page .agp-block-content>.agp-section-block:first-child{margin-top:0}
.agency-preview .agp-composed-page .agp-block-content>.agp-section-block:first-child>:is(.agp-card-grid,.agp-card-grid-three):first-child,
.agency-preview .agp-composed-page .agp-block-content>.agp-section-block:first-child>.wp-block-group__inner-container>:is(.agp-card-grid,.agp-card-grid-three):first-child{margin-top:0}
