/* V3 corrective layout and CTA enhancement (2026-11-01) */
/* Dropdown visibility: explicit high-contrast surfaces and link states */
body.version-v3 .desktop-nav .nav-dropdown .dropdown-panel{background:#15212d!important;border-top:3px solid #cfa44c!important;padding:13px!important;box-shadow:0 24px 46px #10192750!important}
body.version-v3 .desktop-nav .nav-dropdown .dropdown-panel a{display:block!important;color:#f4f7fb!important;font-size:13px!important;font-weight:750!important;opacity:1!important;line-height:1.52!important;padding:11px 13px!important;border-radius:9px!important;text-shadow:none!important}
body.version-v3 .desktop-nav .nav-dropdown .dropdown-panel a.panel-index{color:#ffcf6a!important;background:#253343!important}
body.version-v3 .desktop-nav .nav-dropdown .dropdown-panel a:hover,body.version-v3 .desktop-nav .nav-dropdown .dropdown-panel a:focus-visible{background:#2b3b4c!important;color:#ffe0a2!important}
body.version-v3 .mobile-drawer .mobile-sub{background:#f2eee7!important;box-shadow:none!important;border:0!important;border-radius:12px!important}
body.version-v3 .mobile-drawer .mobile-sub a{color:#203144!important;opacity:1!important;font-weight:750!important}
body.version-v3 .mobile-drawer .mobile-sub a:hover{color:#8b5d16!important;background:#e6d8bf!important}

/* New structure, not a colour-only change: editorial introduction + balanced 2 by 2 cards. */
body.version-v3 .section-v3-products{padding:76px 0 82px!important;background:#f8f5ef!important}
body.version-v3 .section-v3-products::before{content:none!important;background:none!important}
body.version-v3 .section-v3-products .wrap{max-width:min(1260px,calc(100% - 52px))!important}
body.version-v3 .portfolio-layout-v3{display:grid!important;grid-template-columns:minmax(250px,.78fr) minmax(0,1.8fr)!important;gap:28px!important;align-items:stretch!important}
body.version-v3 .portfolio-intro-v3{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(26px,3.5vw,50px);background:linear-gradient(148deg,#141d29 0%,#263749 100%);border-radius:24px;color:#fff;box-shadow:0 20px 42px #1c2b3a20;min-height:520px}
body.version-v3 .portfolio-heading-v3{display:block!important;max-width:100%!important;margin:0!important}
body.version-v3 .portfolio-heading-v3 .eyebrow{color:#f0c56e!important;margin-bottom:20px!important}
body.version-v3 .portfolio-heading-v3 h2{color:#fff!important;max-width:10ch!important;font-size:clamp(2.1rem,3.5vw,3.6rem)!important;line-height:1.06!important;margin:0 0 20px!important;letter-spacing:-.045em!important}
body.version-v3 .portfolio-heading-v3 p{color:#d6e0e8!important;font-size:15px!important;line-height:1.72!important;max-width:33ch!important;margin:0!important}
body.version-v3 .portfolio-explore-v3{margin-top:30px;display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 21px;border-radius:99px;color:#141a22;background:#e3b962;font-weight:850;font-size:13px;transition:transform .25s ease,box-shadow .25s ease}
body.version-v3 .portfolio-explore-v3:hover{transform:translateY(-3px);box-shadow:0 14px 24px #0004}
body.version-v3 .portfolio-layout-v3 .v3-editorial-products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(2,251px)!important;gap:18px!important;min-width:0;align-content:center}
body.version-v3 .portfolio-layout-v3 .v3-editorial-products .product-card,body.version-v3 .portfolio-layout-v3 .v3-editorial-products .product-card:nth-child(n){grid-column:auto!important;grid-row:auto!important;min-height:0!important;height:251px!important;border-radius:20px!important;overflow:hidden;position:relative;box-shadow:0 14px 28px #0d19232b!important}
body.version-v3 .portfolio-layout-v3 .v3-editorial-products .product-card>img{height:100%!important;min-height:100%!important;width:100%!important;object-fit:cover!important;display:block;filter:none!important;transition:transform .55s ease}
body.version-v3 .portfolio-layout-v3 .v3-editorial-products .product-card:hover>img{transform:scale(1.055)!important}
body.version-v3 .portfolio-layout-v3 .v3-editorial-products .product-card::after{content:'';position:absolute;inset:35% 0 0;background:linear-gradient(to bottom,transparent,#050b14d9 100%);z-index:1;pointer-events:none}
body.version-v3 .portfolio-layout-v3 .v3-editorial-products .card-bottom{position:absolute!important;inset:auto 0 0!important;z-index:2;padding:19px!important;background:transparent!important;display:flex;align-items:flex-end!important;justify-content:space-between!important;color:#fff!important}
body.version-v3 .portfolio-layout-v3 .v3-editorial-products .card-bottom small{color:#ffd77d!important;font-size:10px!important}
body.version-v3 .portfolio-layout-v3 .v3-editorial-products .card-bottom strong{color:#fff!important;font-size:16px!important;line-height:1.3!important}
body.version-v3 .portfolio-layout-v3 .v3-editorial-products .round-arrow{width:36px;height:36px;color:#fff;border-color:#ffffff9c!important;background:#141f306b!important}

/* Enquiry banner: visible genuine client industry photograph, copy remains HTML. */
body.version-v3 .bottom-cta{background-image:url('../assets/images/v3-cta-conference-1920.webp')!important;background-color:#12202f!important;background-size:cover!important;background-position:center!important;padding:66px 0!important;min-height:330px;display:flex;align-items:center}
body.version-v3 .bottom-cta::before{content:none!important;background:none!important}
body.version-v3 .bottom-cta-inner{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:32px}
body.version-v3 .bottom-cta .eyebrow{color:#ffd77d!important}
body.version-v3 .bottom-cta h2{color:#fff!important;max-width:15ch!important;font-size:clamp(2.4rem,4.4vw,4.4rem)!important;line-height:1.06!important;text-wrap:balance;text-shadow:0 4px 19px #0007}
body.version-v3 .bottom-cta p{color:#f2f4f8!important;max-width:45ch}
body.version-v3 .bottom-cta .btn-invert{flex-shrink:0;background:linear-gradient(120deg,#edc873,#bc8c35)!important;color:#171b21!important;border:1px solid #efce80!important}

@media(max-width:1024px){
 body.version-v3 .portfolio-layout-v3{grid-template-columns:minmax(210px,.74fr) minmax(0,1.5fr)!important;gap:18px!important}
 body.version-v3 .portfolio-intro-v3{padding:28px!important}
 body.version-v3 .portfolio-layout-v3 .v3-editorial-products{gap:12px!important;grid-template-rows:repeat(2,230px)!important}
 body.version-v3 .portfolio-layout-v3 .v3-editorial-products .product-card{height:230px!important}
 body.version-v3 .bottom-cta{background-image:url('../assets/images/v3-cta-conference-1440.webp')!important}
}
@media(max-width:767px){
 body.version-v3 .section-v3-products{padding:52px 0 64px!important}
 body.version-v3 .section-v3-products .wrap{max-width:calc(100% - 30px)!important}
 body.version-v3 .portfolio-layout-v3{grid-template-columns:1fr!important;gap:16px!important}
 body.version-v3 .portfolio-intro-v3{min-height:0!important;padding:28px 25px!important;border-radius:19px!important}
 body.version-v3 .portfolio-heading-v3 h2{max-width:100%!important;font-size:clamp(2.1rem,7vw,3.2rem)!important}
 body.version-v3 .portfolio-heading-v3 p{max-width:48ch!important}
 body.version-v3 .portfolio-layout-v3 .v3-editorial-products{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(2,230px)!important;gap:12px!important}
 body.version-v3 .portfolio-layout-v3 .v3-editorial-products .product-card{height:230px!important}
 body.version-v3 .portfolio-layout-v3 .v3-editorial-products .card-bottom{padding:12px!important}
 body.version-v3 .portfolio-layout-v3 .v3-editorial-products .card-bottom strong{font-size:14px!important}
 body.version-v3 .bottom-cta{background-image:url('../assets/images/v3-cta-conference-960.webp')!important;background-position:65% center!important;padding:52px 0!important;min-height:340px}
 body.version-v3 .bottom-cta-inner{display:flex;flex-direction:column;align-items:flex-start;gap:22px}
 body.version-v3 .bottom-cta h2{font-size:clamp(2.1rem,7vw,3.5rem)!important}
}
@media(max-width:420px){
 body.version-v3 .portfolio-layout-v3 .v3-editorial-products{grid-template-columns:1fr!important;grid-template-rows:none!important}
 body.version-v3 .portfolio-layout-v3 .v3-editorial-products .product-card{height:245px!important}
}
@media(prefers-reduced-motion:reduce){body.version-v3 .portfolio-layout-v3 .v3-editorial-products img,body.version-v3 .portfolio-explore-v3{transition:none!important}}

/* Final CTA composition: headline and action together on the left; imagery unobstructed on the right. */
@media(min-width:768px){
 body.version-v3 .bottom-cta-inner{flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:22px!important}
 body.version-v3 .bottom-cta h2{font-size:clamp(2.35rem,4vw,4.15rem)!important;max-width:16ch!important}
 body.version-v3 .bottom-cta{min-height:370px!important}
}
@media(max-width:767px){
 body.version-v3 .bottom-cta{background-image:linear-gradient(90deg,rgba(8,15,24,.93),rgba(8,15,24,.68)),url('../assets/images/cathodes-760.webp')!important;background-position:center center!important;background-size:cover!important}
 body.version-v3 .bottom-cta h2{color:#fff!important;text-shadow:0 2px 12px #0007!important}
 body.version-v3 .bottom-cta p{color:#f0f5fb!important}
}
