/* Restores mature PCD/Hub CTA dependencies omitted by the 5.7 fragment projection.
   Sources: src/styles/pcd-insert-pages.css and src/styles/hub-l1-page.css.
   Scope: existing PCD 5.7 hub panel and its inherited detail delivery CTA only. */
[data-pcd57-kind="hub"] .pcd-cta-panel{position:relative;isolation:isolate;background-color:#3d3d3d;background-position:top center;background-size:cover;padding:48px 40px;box-sizing:border-box}
[data-pcd57-kind="hub"] .pcd-cta-panel::before{content:"";position:absolute;inset:0;background:rgba(61,61,61,.5);z-index:-1}
[data-pcd57-kind="hub"] .pcd-cta-panel .pcd-row-inner{display:flex;align-items:center;width:100%;max-width:var(--pcd-max,1140px);margin:0 auto;gap:24px}
[data-pcd57-kind="hub"] .pcd-cta-panel .pcd-column{width:var(--pcd-column-width,100%);min-width:0;flex-shrink:1}
[data-pcd57-kind="hub"] .pcd-cta-panel .pcd-column-inner{display:flex;flex-direction:column;gap:22px;padding:0;margin:0;min-width:0}
[data-pcd57-kind="hub"] .pcd-cta-panel .pcd-cta-copy h2{color:#fff;font-size:30px;line-height:1.3;margin:0 0 20px}
[data-pcd57-kind="hub"] .pcd-cta-panel .pcd-cta-copy p{color:#d0d0d0;font-size:16px;line-height:1.4;margin:0}
[data-pcd57-kind="hub"] .pcd-cta-panel .pcd-action{text-align:center}
[data-pcd57-kind="hub"] .pcd-cta-panel .pcd-quote-button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;box-sizing:border-box;padding:15px 25px;border-radius:var(--sct-button-radius,5px);background:var(--pcd-button-color,#990033);color:#fff;box-shadow:0 0 10px rgba(0,0,0,.3);font-size:20px;line-height:1.2;text-decoration:none;transition:background .2s,color .2s;white-space:normal;max-width:100%}
[data-pcd57-kind="hub"] .pcd-cta-panel .pcd-quote-button:is(:hover,:focus-visible){background:#fff;color:#444}
[data-pcd57-kind="hub"] .pcd-cta-panel .pcd-quote-button:focus-visible{outline:2px solid #fff;outline-offset:3px}
[data-pcd57-kind="detail"] #pcd57-delivery-cta{position:relative;isolation:isolate;margin:0;padding:50px max(20px,calc((100% - 1200px)/40));color:#fff;background:#3d3d3d}
[data-pcd57-kind="detail"] #pcd57-delivery-cta .hub-l1-row__background{position:absolute;inset:0;background-position:center;background-size:cover;z-index:-1}
[data-pcd57-kind="detail"] #pcd57-delivery-cta .hub-l1-row__background::after{content:"";position:absolute;inset:0;background:var(--source-overlay,transparent);opacity:var(--source-overlay-opacity,1)}
[data-pcd57-kind="detail"] #pcd57-delivery-cta .hub-l1-row__inner{position:relative;display:flex;flex-wrap:wrap;max-width:var(--source-width,1140px);margin:auto;align-items:stretch;min-height:var(--source-min-height,0px)}
[data-pcd57-kind="detail"] #pcd57-delivery-cta .hub-l1-column{width:100%;min-width:0;padding:var(--source-column-padding,10px);display:flex;flex-direction:column;gap:20px}
[data-pcd57-kind="detail"] #pcd57-delivery-cta .hub-l1-callout{color:#fff;text-align:center;max-width:1000px;margin:auto;padding:25px 0}
[data-pcd57-kind="detail"] #pcd57-delivery-cta h2{color:#fff;font-size:25px;line-height:1.25;margin:0 0 12px}
[data-pcd57-kind="detail"] #pcd57-delivery-cta .hub-l1-callout>div{color:#fff;font-size:17px;line-height:1.65}
[data-pcd57-kind="detail"] #pcd57-delivery-cta .hub-l1-action{margin-top:28px;max-width:100%;white-space:normal}
@media(min-width:768px){
 [data-pcd57-kind="detail"] #pcd57-delivery-cta .hub-l1-callout--horizontal{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:40px;text-align:left;max-width:none;width:100%;align-items:center}
 [data-pcd57-kind="detail"] #pcd57-delivery-cta .hub-l1-callout--horizontal>h2{grid-column:1;grid-row:1}
 [data-pcd57-kind="detail"] #pcd57-delivery-cta .hub-l1-callout--horizontal>div{grid-column:1;grid-row:2}
 [data-pcd57-kind="detail"] #pcd57-delivery-cta .hub-l1-callout--horizontal>.hub-l1-action{grid-column:2;grid-row:1/3;margin:0}
}
@media(max-width:767px){
 [data-pcd57-kind="hub"] .pcd-cta-panel{padding:32px 24px}
 [data-pcd57-kind="hub"] .pcd-cta-panel .pcd-row-inner{flex-direction:column}
 [data-pcd57-kind="hub"] .pcd-cta-panel .pcd-column{width:100%}
 [data-pcd57-kind="hub"] .pcd-cta-panel .pcd-cta-copy h2{font-size:25px}
 [data-pcd57-kind="detail"] #pcd57-delivery-cta{padding:35px 20px}
}
