/* Independent Marketplace campaign, using the reference's open layout and palette. */
.marketplace-page { --mp-blue:#046791; --mp-dark:#034866; --mp-pale:#e6f1f8; color:#262626; }
.marketplace-page .wrap { width:min(1160px,calc(100% - 64px)); }
.mp-identity { display:flex; align-items:center; justify-content:space-between; min-height:78px; gap:24px; }
.mp-identity .brand { color:#262626; }
.mp-nav-shell { background:var(--mp-blue); color:#fff; box-shadow:0 3px 8px #0002; position:relative; z-index:5; }
.mp-nav { display:flex; align-items:center; justify-content:space-between; gap:25px; min-height:64px; font-weight:800; font-size:16px; }
.mp-nav a,.mp-nav button,.mp-topics summary { text-decoration:none; padding:16px 0; color:#fff; white-space:nowrap; }
.mp-nav button { border:0; background:none; font-weight:800; }
.mp-nav a:hover,.mp-nav button:hover { text-decoration:underline; text-underline-offset:5px; }
.mp-nav .mp-nav-quote { background:var(--mp-dark); padding:11px 20px; display:flex; gap:16px; align-items:center; border-radius:3px; }
.mp-nav-quote svg { width:19px; height:19px; }
.mp-topics { position:relative; }
.mp-topics summary { list-style:none; cursor:pointer; display:flex; gap:10px; }
.mp-topics summary::-webkit-details-marker { display:none; }
.mp-topics > div { position:absolute; left:-20px; top:100%; min-width:245px; display:grid; background:#fff; color:#262626; padding:9px 20px; border:1px solid #d8d8d8; box-shadow:0 6px 20px #0002; border-radius:0 0 6px 6px; }
.mp-topics > div a { color:var(--mp-blue); padding:12px 0; font-size:14px; white-space:normal; }
.mp-hero { position:relative; overflow:hidden; background:linear-gradient(to bottom,#fff 0%,#fff 58%,var(--mp-pale) 58%,var(--mp-pale) 100%); }
.mp-hero-inner { position:relative; z-index:2; padding-top:32px; padding-bottom:47px; }
.mp-announcement { display:inline-flex; gap:20px; align-items:center; border-radius:60px; padding:15px 24px 15px 28px; background:#fdedbc; font-size:17px; color:#262626; }
.mp-announcement button { border:0; color:#fff; background:var(--mp-blue); padding:7px 12px; font-size:14px; border-radius:3px; white-space:nowrap; }
.mp-hero-grid { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(310px,1fr); gap:80px; margin-top:20px; align-items:center; }
.mp-portrait { height:280px; position:relative; width:100%; overflow:hidden; }
.mp-portrait img { width:355px; height:auto; display:block; position:absolute; top:0; left:22px; }
.mp-welcome-copy { position:relative; padding-top:15px; }
.mp-kicker { color:var(--mp-blue); font-size:11px; font-weight:800; letter-spacing:.1em; margin-bottom:13px; }
.mp-welcome h1 { font:400 clamp(31px,3.5vw,46px)/1.25 Manrope,sans-serif; letter-spacing:-.035em; color:#262626; margin-bottom:17px; }
.mp-welcome-copy > p:not(.mp-kicker) { color:#404040; font-size:16px; line-height:1.7; margin-bottom:23px; }
.mp-primary { display:inline-flex; align-items:center; justify-content:center; gap:30px; padding:16px 30px; background:#12890e; color:#fff; font-size:19px; font-weight:800; border:0; border-radius:3px; min-width:285px; min-height:60px; box-shadow:0 2px 2px #0001; }
.mp-primary:hover { background:#0f6f0c; }
.mp-primary svg { width:22px; height:22px; }
.mp-actions { display:grid; gap:21px; padding-top:14px; }
.mp-action { display:flex; align-items:center; gap:18px; text-align:left; min-height:87px; width:100%; padding:18px 22px; border:1px solid #eee; border-radius:5px; background:#fff; color:#000; text-decoration:none; font-size:17px; line-height:1.4; font-weight:800; box-shadow:0 3px 3px #0003; }
.mp-action:hover { border-color:var(--mp-blue); box-shadow:0 4px 9px #03486629; }
.mp-action > svg:first-child { color:var(--mp-blue); width:31px; height:31px; }
.mp-action > svg:last-child { width:18px; height:18px; color:var(--mp-blue); margin-left:auto; }
.mp-other { text-align:right; font-size:13px; color:var(--mp-blue); font-weight:800; margin-top:7px; }
.mp-wave { position:absolute; z-index:1; width:100%; height:105px; top:calc(58% - 104px); left:0; pointer-events:none; }
.mp-resources { background:var(--mp-pale); padding:0 0 45px; }
.mp-resource-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.mp-resource-grid > a { padding:26px; background:#fff; border-radius:7px; border:1px solid #d9e4eb; text-decoration:none; }
.mp-resource-grid h2 { font-size:18px; font-weight:800; line-height:1.5; letter-spacing:-.02em; color:var(--mp-blue); margin-bottom:10px; }
.mp-resource-grid h2 svg { width:19px; height:19px; vertical-align:middle; }
.mp-resource-grid p { font-size:13px; line-height:1.75; color:#404040; }
.mp-resource-grid > a:hover h2 { text-decoration:underline; }
.mp-section { padding-block:70px; scroll-margin-top:25px; }
.mp-section h2 { font-size:34px; color:#262626; font-weight:600; letter-spacing:-.03em; line-height:1.25; }
.mp-section-intro { max-width:770px; margin-top:20px; font-size:16px; line-height:1.8; color:#404040; }
.mp-detail-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:45px; margin-top:42px; }
.mp-detail-grid article { scroll-margin-top:25px; }
.mp-detail-icon { display:grid; place-items:center; width:44px; height:44px; margin-bottom:19px; color:var(--mp-blue); }
.mp-detail-icon svg { width:39px; height:39px; }
.mp-detail-grid h3 { font-size:20px; font-weight:800; color:#262626; margin-bottom:15px; line-height:1.4; }
.mp-detail-grid p { font-size:14px; line-height:1.85; color:#404040; }
.mp-quote-shell { background:var(--mp-pale); padding-block:65px; scroll-margin-top:25px; }
.mp-quote-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:80px; align-items:start; }
.mp-quote-copy { padding-top:22px; position:sticky; top:30px; }
.mp-quote-copy h2 { font-size:38px; font-weight:600; color:#262626; line-height:1.2; margin-bottom:22px; }
.mp-quote-copy > p:not(.mp-kicker) { font-size:16px; color:#404040; }
.mp-quote-copy ul { padding:0; list-style:none; font-size:14px; margin:25px 0 0; line-height:2.5; }
.mp-quote-copy li::before { content:'✓'; color:var(--mp-blue); margin-right:12px; font-weight:800; }
.marketplace-page #flow.inline-quote { margin:0; border-radius:14px; }
.mp-help { display:grid; grid-template-columns:1.5fr 1fr; gap:90px; align-items:center; }
.mp-help h2 { margin-bottom:20px; }
.mp-help p { font-size:14px; line-height:1.85; color:#404040; }
.mp-help > div:last-child { border-left:3px solid #e6f1f8; padding-left:35px; }
.mp-help-phone { display:flex; align-items:center; gap:18px; font-weight:800; font-size:26px; color:var(--mp-blue); text-decoration:none; }
.mp-help-phone svg { width:23px; height:23px; }
.mp-help > div:last-child > p { font-size:12px; margin:9px 0; }
.mp-help > div:last-child > a:last-child { font-size:13px; color:var(--mp-blue); }
.mp-faq-shell { background:#f6f8fa; }
.mp-faq-shell .faqs { margin-top:30px; }
.marketplace-page footer { margin-inline:auto; width:min(1160px,calc(100% - 64px)); }
.mp-nav-shell :focus-visible { outline-color:#fdedbc; }
@media(max-width:1000px) {
 .mp-hero-grid { gap:35px; grid-template-columns:1.3fr 1fr; }
 .mp-nav { gap:20px; font-size:14px; }
 .mp-quote-grid { gap:36px; grid-template-columns:.8fr 1.2fr; }
 .mp-help { gap:40px; }
 .mp-action { padding-inline:18px; font-size:15px; }
 .mp-detail-grid { gap:25px; }
}
@media(max-width:740px) {
 .marketplace-page .wrap,.marketplace-page footer { width:calc(100% - 36px); }
 .mp-identity { min-height:75px; gap:12px; }
 .mp-identity .brand-wordmark { width:130px; font-size:11px; }
 .mp-nav { flex-wrap:wrap; gap:0; justify-content:flex-start; min-height:0; }
 .mp-nav > * { flex:0 0 50%; font-size:12px; text-align:left; }
 .mp-nav a,.mp-nav button,.mp-topics summary { padding:11px 0; }
 .mp-nav .mp-nav-quote { display:none; }
 .mp-topics > div { left:0; }
 .mp-hero-inner { padding-block:22px 34px; }
 .mp-announcement { font-size:12px; width:100%; padding:12px 15px; gap:10px; justify-content:space-between; }
 .mp-announcement button { font-size:12px; padding:6px 10px; }
 .mp-hero-grid { grid-template-columns:1fr; gap:29px; margin-top:18px; }
 .mp-portrait { height:225px; }
 .mp-portrait img { width:285px; left:calc(50% - 142px); }
 .mp-hero { background:linear-gradient(to bottom,#fff 0%,#fff 305px,var(--mp-pale) 305px,var(--mp-pale) 100%); }
 .mp-wave { top:221px; height:85px; }
 .mp-welcome-copy { padding-top:12px; }
 .mp-welcome h1 { font-size:33px; }
 .mp-welcome-copy > p:not(.mp-kicker) { font-size:14px; }
 .mp-primary { width:100%; min-width:0; font-size:17px; min-height:55px; }
 .mp-actions { gap:15px; padding:0; }
 .mp-action { min-height:75px; padding:17px 20px; font-size:15px; }
 .mp-other { text-align:center; font-size:12px; }
 .mp-resource-grid { grid-template-columns:1fr; gap:15px; }
 .mp-resource-grid > a { padding:23px; }
 .mp-resources { padding-bottom:30px; }
 .mp-section { padding-block:45px; }
 .mp-section h2 { font-size:28px; }
 .mp-section-intro { font-size:14px; }
 .mp-detail-grid { grid-template-columns:1fr; gap:30px; margin-top:30px; }
 .mp-detail-icon { margin-bottom:10px; }
 .mp-detail-grid h3 { font-size:19px; margin-bottom:10px; }
 .mp-quote-shell { padding-block:38px; }
 .mp-quote-grid { grid-template-columns:1fr; gap:25px; }
 .mp-quote-copy { position:static; padding:0; }
 .mp-quote-copy h2 { font-size:31px; }
 .mp-quote-copy ul { margin-top:16px; font-size:13px; }
 .mp-help { grid-template-columns:1fr; gap:25px; }
 .mp-help > div:last-child { padding-left:20px; }
 .mp-help-phone { font-size:24px; }
}
@media(prefers-reduced-motion:reduce) { .mp-action { transition:none; } }

.marketplace-page .mp-agency-description { margin-top: 18px; text-align: right; color: #5a5a5a; font-size: 12px; line-height: 1.7; }

/* Private campaign shares the Marketplace layout and uses an existing original portrait. */
.private-page .mp-portrait img { width: 100%; height: 100%; left: 0; top: 0; object-fit: contain; object-position: left bottom; }
.private-page .mp-detail-grid h3 { margin-top: 4px; }
@media (max-width:740px) { .private-page .mp-portrait img { object-position: center bottom; } }
