/* Scoped to the existing marketplace page. */
body.gcvr-marketplace #gcp27-main{background:#f3f5f8!important;padding:28px 0 48px!important}
body.gcvr-marketplace article[id^="post-"]{width:min(1240px,calc(100% - 40px));margin:0 auto!important;max-width:1240px!important}
body.gcvr-marketplace .gc2-shell{border-radius:18px!important;background:#f3f5f8!important;box-shadow:none!important;overflow:hidden!important}
body.gcvr-marketplace .gc2-shell>section:first-child{padding:42px 32px!important;background:linear-gradient(120deg,#0c1d31,#203e59)!important;border-bottom:3px solid #d7b96f}
body.gcvr-marketplace .gc2-shell>section:first-child h1{font-size:clamp(30px,3.6vw,46px)!important;line-height:1.14!important;letter-spacing:-.035em!important;max-width:850px!important}
body.gcvr-marketplace .gc2-shell>section:first-child p{font-size:16px!important;max-width:780px!important;color:#d4dfeb!important;line-height:1.65!important}
body.gcvr-marketplace .gc2-shell>section:first-child a{min-height:46px;box-sizing:border-box;border-radius:8px!important;font-size:14px!important}
/* Keep the existing search form and results together, ahead of promotional content. */
body.gcvr-marketplace .gc2-shell{display:flex;flex-direction:column}
body.gcvr-marketplace .gc-featured-opportunities{order:1;margin:24px 0!important;padding:24px!important;background:#fff!important;border:1px solid #dce3eb!important;border-radius:14px!important}
body.gcvr-marketplace .gc-marketplace-ad-top{order:2;margin:0 0 24px!important;background:#f6efde!important;padding:24px!important;border:1px solid #e1d1a7!important;border-radius:14px!important}
body.gcvr-marketplace .gc-global-trade-hub{order:3}
body.gcvr-marketplace .gc40-marketplace-tradeos{order:4}
body.gcvr-marketplace .gc2-shell>section:not(:first-child):not(.gc-featured-opportunities):not(.gc-marketplace-ad-top):not(.gc-global-trade-hub):not(.gc40-marketplace-tradeos){order:5}
/* The outer introduction remains the only visible hero. Search remains visible. */
body.gcvr-marketplace .gc-market-hero{background:#edf2f7!important;padding:20px!important;border:1px solid #dce3eb!important;border-radius:12px!important;box-shadow:none!important;margin:0 0 24px!important}
body.gcvr-marketplace .gc-market-hero__content>h1,body.gcvr-marketplace .gc-market-hero__content>p,body.gcvr-marketplace .gc-market-hero__content>.gc-eyebrow{display:none!important}
body.gcvr-marketplace .gc-market-search{display:grid!important;grid-template-columns:minmax(180px,2fr) minmax(130px,1fr) minmax(150px,1fr) auto!important;gap:10px!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important}
body.gcvr-marketplace .gc-market-search input,body.gcvr-marketplace .gc-market-search select{width:100%!important;min-width:0!important;min-height:48px!important;border:1px solid #c5d0de!important;border-radius:8px!important;background:#fff!important;color:#152b42!important;padding:10px 12px!important;font-size:14px!important;box-sizing:border-box!important}
body.gcvr-marketplace .gc-market-search button{min-height:48px!important;background:#162d45!important;color:#fff!important;border-radius:8px!important;padding:10px 18px!important;border:0!important;font-size:14px!important}
body.gcvr-marketplace .gc-featured-heading{align-items:center!important;gap:16px!important;margin-bottom:20px!important}
body.gcvr-marketplace .gc-featured-heading h2,body.gcvr-marketplace .gc-section-heading h2{font-size:26px!important;line-height:1.2!important;letter-spacing:-.025em!important}
body.gcvr-marketplace .gc-featured-heading p{font-size:14px!important;color:#5c6d7f!important}
body.gcvr-marketplace .gc-premium-listing-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;align-items:stretch!important}
body.gcvr-marketplace .gc-premium-listing-card{display:flex!important;flex-direction:column!important;min-width:0!important;background:#fff!important;border:1px solid #dce3eb!important;border-radius:13px!important;overflow:hidden!important;box-shadow:0 4px 16px #12283e08!important}
body.gcvr-marketplace .gc-premium-listing-card__media{position:relative;height:210px!important;overflow:hidden;background:#e8edf3!important}
body.gcvr-marketplace .gc-premium-listing-card__media img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
body.gcvr-marketplace .gc-image-placeholder{height:100%!important;display:grid!important;place-items:center!important;background:linear-gradient(145deg,#172e46,#38536e)!important;color:#e7ce91!important}
body.gcvr-marketplace .gc-premium-listing-card__body{padding:20px!important;display:flex!important;flex-direction:column!important;flex:1!important;gap:10px!important}
body.gcvr-marketplace .gc-premium-listing-card h3{font-size:17px!important;line-height:1.4!important;margin:0!important;overflow-wrap:anywhere!important}
body.gcvr-marketplace .gc-premium-listing-card h3 a{color:#142c43!important;text-decoration:none!important}
body.gcvr-marketplace .gc-card-meta,body.gcvr-marketplace .gc-dealer-line,body.gcvr-marketplace .gc-delivery-line{font-size:12px!important;color:#586c80!important;margin:0!important}
body.gcvr-marketplace .gc-price{color:#142c43!important;font-size:21px!important;font-weight:800!important}
body.gcvr-marketplace .gc-price-row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;align-items:center}
body.gcvr-marketplace .gc-price-row>span{font-size:12px;color:#586c80}
body.gcvr-marketplace .gc-listing-specs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;border-top:1px solid #e1e7ee;padding-top:12px!important;margin:0!important;font-size:12px!important}
body.gcvr-marketplace .gc-listing-specs dt{color:#627489!important}
body.gcvr-marketplace .gc-listing-specs dd{margin:3px 0 0!important;color:#142c43!important;font-weight:700!important;overflow-wrap:anywhere}
body.gcvr-marketplace .gc-card-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:auto!important;padding-top:10px!important}
body.gcvr-marketplace .gc-card-actions a{min-height:44px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:12px!important;padding:10px 8px!important;border-radius:7px!important;text-decoration:none!important;text-align:center!important;box-sizing:border-box!important}
body.gcvr-marketplace .gc-btn-primary{background:#e2c57f!important;color:#152b42!important;border:1px solid #d3b66f!important}
body.gcvr-marketplace .gc-btn-outline{background:#fff!important;color:#152b42!important;border:1px solid #c6d2de!important}
body.gcvr-marketplace .gc-market-section{padding:24px 0!important}
body.gcvr-marketplace .gc-market-cta{background:#142b43!important;border-radius:14px!important;padding:30px!important;color:#fff!important}
body.gcvr-marketplace .gc-market-cta h2{color:#fff!important;-webkit-text-fill-color:#fff!important}
body.gcvr-marketplace .gc-global-trade-hub,body.gcvr-marketplace .gc40-marketplace-tradeos{margin:0 0 24px!important;padding:26px!important;background:#fff!important;border:1px solid #dce3eb!important;border-radius:14px!important}
body.gcvr-marketplace main a:focus-visible,body.gcvr-marketplace main input:focus-visible,body.gcvr-marketplace main select:focus-visible,body.gcvr-marketplace main button:focus-visible{outline:3px solid #b08b3f!important;outline-offset:3px!important}
@media(max-width:1000px){body.gcvr-marketplace .gc-premium-listing-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.gcvr-marketplace .gc-market-search{grid-template-columns:1fr 1fr!important}}
@media(max-width:600px){body.gcvr-marketplace article[id^="post-"]{width:calc(100% - 24px)!important}body.gcvr-marketplace .gc2-shell>section:first-child{padding:28px 20px!important}body.gcvr-marketplace .gc2-shell>section:first-child a{display:block!important;width:100%!important;text-align:center!important}body.gcvr-marketplace .gc-featured-opportunities{padding:16px!important}body.gcvr-marketplace .gc-premium-listing-grid,body.gcvr-marketplace .gc-market-search{grid-template-columns:1fr!important}body.gcvr-marketplace .gc-featured-heading,body.gcvr-marketplace .gc-marketplace-ad-inner{flex-direction:column!important;align-items:stretch!important}body.gcvr-marketplace .gc-premium-listing-card__media{height:230px!important}body.gcvr-marketplace .gc-featured-heading h2{font-size:23px!important}}
/* 1.1.1: override the old engine's heading colour with a page-specific rule. */
html body.gcvr-marketplace #gcp27-main article[id^="post-"] .gc2-shell>section:first-child h1{color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:none!important}
html body.gcvr-marketplace #gcp27-main article[id^="post-"] .gc2-shell>section:first-child a{color:#142b43!important}
html body.gcvr-marketplace #gcp27-main article[id^="post-"] .gc2-shell>section:first-child a:last-child{color:#fff!important}
body.gcvr-marketplace .gc2-shell>div.gcvr-empty-heading{display:none!important}
