/*
Theme Name: Clousys v18 Elementor
Description: Preserves the supplied Clousys v18 experience with editable Elementor sections.
Version: 2.0.0
Requires at least: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: clousys-v18
*/
.cl-preserve-section{--padding-top:0;--padding-right:0;--padding-bottom:0;--padding-left:0;--gap:0;--widgets-spacing:0;margin:0!important;padding:0!important;width:100%!important;max-width:none!important;gap:0!important}.cl-preserve-section>.e-con-inner{padding:0;max-width:none;width:100%}.elementor-widget-clousys-preserved-section{margin:0!important;width:100%!important}.elementor-widget-clousys-preserved-section>.elementor-widget-container{margin:0!important}.cl-header-host{position:sticky;top:0;z-index:1000}.admin-bar .cl-header-host{top:32px}.cl-header-host .xnav{position:relative!important;top:auto!important}.xnav .xmega{background:#081d38!important;color:#eef3fa!important}.xnav .xmega a:hover,.xnav .xmega a:focus-visible,.xnav .xmega a[aria-current="page"]{background:#183958!important;color:#ffac78!important}.xnav .xmega a:hover b,.xnav .xmega a:focus-visible b,.xnav .xmega a[aria-current="page"] b,.xnav .xmega a:hover small,.xnav .xmega a:focus-visible small,.xnav .xmega a[aria-current="page"] small{color:#ffac78!important}.xmega{max-height:calc(100dvh - 100px)!important;overflow-y:auto;scrollbar-width:thin}.xnav .xmega a{transition:background .15s,color .15s}.nav-disclosure svg,.nav-disclosure span{transition:transform .15s}.cl-capability-split{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:48px!important;align-items:center!important}.cl-capability-art{margin:0!important;min-width:0}.cl-capability-art img{width:100%!important;height:auto!important;aspect-ratio:3/2!important;object-fit:contain!important;border-radius:18px}.cl-editorial-image,.cl-editorial-cover img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:3/2!important;object-fit:contain!important}.post-cover.cl-editorial-cover{padding:0!important;height:auto!important;background:#f6f4ef!important}.cl-editorial-cover:before,.cl-editorial-cover:after{display:none!important}.common-resource-art{height:auto!important;aspect-ratio:3/2}.cl-workbook{max-width:1160px;margin:auto!important;padding:60px 24px!important}.cl-workbook h2{margin-top:32px}.cl-form{display:grid!important;grid-template-columns:1fr!important;gap:14px!important;max-width:680px}.cl-form label{display:grid;gap:6px;font:inherit;font-size:15px}.cl-form input:not([type=checkbox]),.cl-form textarea{width:100%;padding:12px 14px;border:1px solid #a7b4c2;border-radius:7px;background:#fff;color:#142137;font:inherit;box-sizing:border-box}.cl-form .consent{display:flex;align-items:flex-start;font-size:13px;line-height:1.6}.cl-form .consent input{margin-top:5px;flex-shrink:0}.cl-form button[type=submit]{padding:12px 20px;background:#f66a21;color:#111c30;border:0;border-radius:8px;font:inherit;font-weight:600;cursor:pointer}.cl-form .trap{position:absolute;left:-9999px}.form-notice{padding:14px;border:1px solid #96bdae;background:#eff8f3;color:#163f33}.xnewsletter{align-items:start!important}.xnewsletter h3{font-size:21px!important;line-height:1.35!important}.xnewsletter p,.xnewsletter label{font-size:14px!important}.xnewsletter .cl-form{margin:0!important}.xnewsletter .cl-form input[type=email]{min-width:0!important}.xnewsletter .consent a{color:#ffae80!important}.cl-wp-form-slot{min-width:0}.cl-workbook p{max-width:78ch}.cl-skip{position:absolute;left:12px;top:-100px}.cl-skip:focus{top:10px;background:white;padding:12px;z-index:99999}:focus-visible{outline:3px solid #ed995b;outline-offset:4px}.elementor img{height:auto}.chat-launch{position:fixed;bottom:22px;right:22px;z-index:999;padding:13px 22px;border-radius:30px;background:#081d38;border:1px solid #66819b;color:white;cursor:pointer;font:inherit}.chat-panel{position:fixed;bottom:82px;right:22px;z-index:1001;background:white;box-shadow:0 20px 70px #091d3633;border:1px solid #d7dfe7;border-radius:16px;width:min(380px,calc(100vw - 32px));padding:24px;max-height:75dvh;overflow:auto}.chat-panel[hidden]{display:none}.chat-panel h2{font-size:23px}.chat-log{max-height:32dvh;overflow:auto;font-size:15px}.chat-log p{padding:12px;background:#f2f4f6;border-radius:9px}.chat-panel textarea{width:100%;padding:10px}.chat-close{float:right;background:none;border:0;cursor:pointer}.chat-status{font-size:13px;color:#536478}.chat-panel button[type=submit]{background:#081d38;color:white;padding:10px 20px;border-radius:8px;border:0;cursor:pointer}
@media(max-width:800px){.cl-capability-split{grid-template-columns:1fr!important;gap:28px!important}.xmega{max-height:calc(100dvh - 85px)!important}.xnewsletter{grid-template-columns:1fr!important}.cl-capability-art img{max-width:600px!important;margin:auto}.admin-bar .cl-header-host{top:0}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Updated transparent brand marks: no white panels in the footer. */
.xnav .xlogo{background:transparent!important;padding:0!important;border:0!important;box-shadow:none!important;display:flex;align-items:center}
.xnav .xlogo img{width:132px!important;max-width:100%;height:auto!important;display:block}
.xfooter .xlogo,.xfooter .xtrust-card{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important}
.xfooter .xlogo img{width:150px!important;height:auto!important;background:transparent!important;padding:0!important;filter:none!important}
.xfooter .xtrust-card img{width:170px!important;height:auto!important;background:transparent!important;padding:0!important;filter:none!important}
/* Authoritative navigation states for pointer, keyboard and touch. */
.xnav{height:78px!important}.xnav-in{height:100%!important;position:static!important}.xitem{position:static!important}.xitem>a:after{display:none!important}
.xnav .xmega,.xnav .xmega-small{position:absolute!important;top:100%!important;left:50%!important;transform:translateX(-50%)!important;width:min(1020px,calc(100vw - 40px))!important;max-height:calc(100dvh - 110px)!important;overflow-y:auto!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;padding:26px!important;border-radius:0 0 14px 14px!important;background:#081d38!important;box-sizing:border-box}
.xnav .xmega section{min-width:0}.xnav .xmega-bottom{position:static!important;grid-column:1/-1;padding:16px 0 0!important}
.xnav .xitem:not(.is-open) .xmega{display:none!important}.xnav .xitem.is-open .xmega{display:grid!important}
.xnav .nav-disclosure{min-width:32px;min-height:44px;cursor:pointer}.xnav .xmega a{min-height:44px}.xnav .xmega a:hover,.xnav .xmega a:focus-visible{background:#193957!important;color:#ffac78!important}.xnav .xmega a:focus-visible{outline:2px solid #ffac78!important;outline-offset:0}
.xnav .xitem.is-open .nav-disclosure svg{transform:rotate(180deg)!important}.xnav .xitem:not(.is-open) .nav-disclosure svg{transform:none!important}
@media(min-width:1101px){.xnav .xlinks{display:flex!important;height:100%!important;position:static!important;background:transparent!important;gap:16px!important}.xnav .xitem{display:flex!important;align-items:center!important;height:100%!important}.xnav .xmenu{display:none!important}.xnav .xnav-in>.xcta{display:inline-flex!important}.xnav .xitem>a,.xnav .xlinks>a{font-weight:600!important}.xnav .xmega-small{width:min(820px,calc(100vw - 40px))!important}}
@media(max-width:1100px){.xnav .xnav-in{padding:0 20px!important;gap:16px!important}.xnav .xmenu{display:block!important;min-height:44px;min-width:44px}.xnav .xnav-in>.xcta{display:none!important}.xnav .xlinks{display:none!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;margin:0!important;background:#fff!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;padding:16px!important;height:auto!important;max-height:calc(100dvh - 90px)!important;overflow-y:auto!important}.xnav .xlinks.open{display:flex!important}.xnav .xitem{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;width:100%;height:auto!important}.xnav .xlinks>a,.xnav .xitem>a{min-height:44px!important;height:auto!important;color:#142137!important}.xnav .xmega,.xnav .xmega-small{position:static!important;left:auto!important;top:auto!important;transform:none!important;width:100%!important;max-height:none!important;grid-column:1/-1!important;box-shadow:none!important;grid-template-columns:1fr!important;padding:16px!important;gap:18px!important;border-radius:10px!important}.xnav .xmega a small{line-height:1.5!important}.xnav .xlogo img{width:116px!important}}
@media(prefers-reduced-motion:reduce){.xnav *{transition:none!important}}

/* v5: coherent copy/art columns and a restrained readable scale */
.detail-section .detail-wrap{width:min(1160px,calc(100% - 48px))!important;margin-inline:auto!important;padding:0!important}
.detail-section{padding:64px 0!important}
.cl-capability-split{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;gap:48px!important;align-items:center!important}
.cl-capability-copy{min-width:0}.cl-capability-copy h2,.detail-section h2{font-size:clamp(27px,2.7vw,38px)!important;line-height:1.2!important;font-weight:600!important;letter-spacing:-.025em!important;margin:0 0 20px!important}
.cl-capability-copy p,.detail-section p{font-size:17px!important;line-height:1.75!important;max-width:65ch;margin:0 0 22px!important}
.cl-capability-art img{aspect-ratio:25/17!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.cl-capability-copy .detail-link{display:inline-flex;margin-top:12px;font-size:15px!important}.cl-capability-copy ul{padding-left:20px;line-height:1.8}
.hero .hero-grid{width:min(1160px,calc(100% - 48px))!important;margin:auto!important;gap:56px!important;align-items:center!important}
.hero:has(.cl-wp-form-slot){padding:72px 0!important;background:linear-gradient(125deg,#fffaf6,#f7f9fc)!important}
.hero:has(.cl-wp-form-slot) h1{font-size:clamp(34px,3.4vw,48px)!important;line-height:1.13!important;font-weight:600!important;letter-spacing:-.035em!important}
.hero:has(.cl-wp-form-slot) p{font-size:17px!important;line-height:1.7!important}
.cl-wp-form-slot{background:white;border:1px solid #e0e6ed;border-radius:18px;padding:28px;box-shadow:0 16px 45px #1529450a}
.cl-form label:has(input[type=checkbox]){display:flex!important;align-items:flex-start;gap:9px!important;font-size:13px!important;line-height:1.6!important}.cl-form input[type=checkbox]{width:16px;height:16px;flex:0 0 16px;margin-top:3px}.cl-form .trap{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:800px){.detail-section{padding:40px 0!important}.cl-capability-split{grid-template-columns:1fr!important;gap:24px!important}.hero .hero-grid{grid-template-columns:1fr!important;gap:30px!important}.cl-wp-form-slot{padding:22px}.detail-section .detail-wrap,.hero .hero-grid{width:calc(100% - 36px)!important}.cl-capability-copy p,.detail-section p{font-size:16px!important}.hero:has(.cl-wp-form-slot){padding:40px 0!important}}

.cl-demo-preview{margin:28px -12px 0;max-width:600px}.cl-demo-preview img{width:100%;height:auto;display:block}.hero:has(.cl-wp-form-slot) .hero-grid{align-items:start!important}.detail-wrap:not(.cl-capability-split)>.cl-capability-copy{max-width:760px}.cl-demo-preview+*{min-width:0}
