/*
Theme Name: CT eStore Holding Page
Theme URI: https://ctestore.co.uk
Author: BandiBoo Media
Description: A fully editable, responsive CT eStore coming-soon theme. Configure it under Appearance > Holding Page.
Version: 1.5.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: ctestore-holding
*/
:root{--ink:#0b2545;--muted:#50627e;--blue:#0875ed;--pink:#f40078;--line:#dce5f0}*{box-sizing:border-box}body{margin:0;background:#fff;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased}a{color:inherit}.ct-wrap{max-width:1480px;margin:0 auto;padding:36px clamp(22px,4.3vw,72px) 38px;position:relative;overflow:hidden;min-height:100vh}.ct-wrap:before{content:'';position:absolute;inset:0 0 auto auto;width:68%;height:690px;z-index:0;pointer-events:none;background:radial-gradient(ellipse at 80% 20%,rgba(130,197,255,.23) 0,transparent 63%),radial-gradient(ellipse at 100% 44%,rgba(250,143,221,.20) 0,transparent 53%)}.ct-wave{position:absolute;pointer-events:none;width:76%;height:540px;right:-12%;top:-35px;z-index:0;transform:rotate(-14deg);border-radius:0 0 20% 75%;background:linear-gradient(167deg,transparent 13%,rgba(191,226,255,.45) 30%,rgba(214,218,255,.2) 43%,rgba(248,175,230,.28) 55%,transparent 76%)}.ct-content{position:relative;z-index:1}.ct-logo{display:block;width:clamp(230px,24vw,342px);height:auto;max-height:125px;object-fit:contain;object-position:left center}.ct-hero{display:grid;grid-template-columns:minmax(390px,43%) minmax(0,57%);align-items:center;min-height:570px;margin-top:30px}.ct-copy{position:relative;z-index:2;padding:2px 0 25px}.ct-eyebrow,.ct-coming-title,.ct-clients-title{text-transform:uppercase;font-weight:750;letter-spacing:.27em;color:#3b5474;font-size:clamp(12px,1.2vw,17px)}.ct-eyebrow{margin:0 0 17px}.ct-title{font-size:clamp(40px,4.5vw,70px);line-height:1.06;letter-spacing:-.045em;margin:0 0 19px;font-weight:780;color:#071f3e}.ct-title .ct-accent{display:block;color:var(--blue)}.ct-intro{font-size:clamp(16px,1.55vw,21px);line-height:1.27;max-width:520px;color:#243c5c}.ct-intro p{margin:0 0 10px}.ct-rule{width:125px;height:3px;background:linear-gradient(90deg,var(--pink),var(--blue));margin:20px 0 14px}.ct-coming-title{margin:0 0 6px}.ct-coming-copy{color:#667b99;font-size:clamp(16px,1.35vw,19px);line-height:1.38;margin:0 0 13px;max-width:500px}.ct-contacts{display:flex;gap:18px 34px;align-items:center;flex-wrap:wrap}.ct-contact{display:inline-flex;align-items:center;gap:11px;text-decoration:none;font-size:clamp(16px,1.52vw,21px);font-weight:730;white-space:nowrap}.ct-contact:hover{text-decoration:underline}.ct-contact-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;color:white;background:var(--blue);flex-shrink:0}.ct-contact-icon.pink{background:var(--pink)}.ct-contact-icon svg{width:22px;height:22px}.ct-image-zone{position:relative;align-self:stretch;min-width:0;display:flex;align-items:center;justify-content:center;margin-right:-5%;margin-left:-10%}.ct-hero-image{width:112%;height:auto;max-height:600px;object-fit:contain;display:block;filter:drop-shadow(0 24px 24px rgba(30,50,80,.06))}.ct-services{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:20px}.ct-service{min-height:122px;padding:17px 16px;display:flex;align-items:flex-start;gap:14px;border-radius:7px;text-decoration:none;color:#263f60;background:#eaf5ff}.ct-service:nth-child(2){background:#fff0f6}.ct-service:nth-child(3){background:#fff4e7}.ct-service:nth-child(4){background:#edfbef}.ct-service.is-link:hover{transform:translateY(-2px);box-shadow:0 6px 20px #122f4a14}.ct-service-icon{width:60px;height:60px;border-radius:10px;display:grid;place-items:center;flex-shrink:0;color:white;background:var(--service-color,#137fff)}.ct-service-icon svg{width:32px;height:32px}.ct-service h2{font-size:clamp(16px,1.35vw,21px);line-height:1.12;margin:3px 0 8px;color:var(--service-color,#137fff);letter-spacing:-.02em}.ct-service p{font-size:clamp(13px,1.08vw,16px);line-height:1.3;margin:0}.ct-clients{margin-top:23px;padding-top:18px;border-top:1px solid var(--line)}.ct-clients-title{font-size:12px;margin:0 0 20px}.ct-client-list{display:grid;grid-template-columns:repeat(7,1fr);align-items:center}.ct-client{display:flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:4px 12px;border-right:1px solid var(--line);font-size:clamp(11px,.9vw,14px);white-space:nowrap}.ct-client:first-child{justify-content:flex-start;padding-left:0}.ct-client:last-child{border-right:0;justify-content:flex-end;padding-right:0}.ct-client-icon{display:inline-flex;flex:0 0 auto;color:var(--client-color,#1269cc)}.ct-client-icon svg{width:29px;height:29px}.ct-credit{font-size:12px;color:#8795a9;margin-top:28px;text-align:center}@media(max-width:1050px){.ct-hero{grid-template-columns:minmax(0,48%) minmax(0,52%);min-height:500px}.ct-contact{font-size:16px}.ct-contact-icon{width:35px;height:35px}.ct-service{padding:14px 10px;gap:9px}.ct-service-icon{width:45px;height:45px}.ct-service-icon svg{width:25px;height:25px}.ct-client-list{grid-template-columns:repeat(4,1fr);gap:15px 0}.ct-client:nth-child(4){border:0}.ct-client:nth-child(5){justify-content:flex-start;padding-left:0}}@media(max-width:740px){.ct-wrap{padding:24px 20px 35px}.ct-logo{width:230px}.ct-hero{display:flex;flex-direction:column;align-items:stretch;margin-top:30px;min-height:0}.ct-copy{order:1;padding-bottom:0}.ct-image-zone{order:2;height:auto;margin:0 -23px -20px}.ct-hero-image{width:100%;max-height:350px;object-fit:contain}.ct-eyebrow{font-size:12px}.ct-title{font-size:clamp(40px,10vw,65px)}.ct-intro{font-size:17px}.ct-contacts{gap:12px}.ct-contacts a{font-size:17px}.ct-services{grid-template-columns:repeat(2,1fr);margin-top:10px}.ct-client-list{grid-template-columns:repeat(2,1fr)}.ct-client,.ct-client:first-child,.ct-client:last-child{justify-content:flex-start;padding:5px 8px;border:0}.ct-client:nth-child(odd){padding-left:0}.ct-wave{width:110%;height:600px;top:-80px}}@media(max-width:480px){.ct-services{grid-template-columns:1fr}.ct-service{min-height:90px}.ct-client-list{gap:12px 0}.ct-client{font-size:12px}.ct-client-icon svg{width:24px;height:24px}.ct-contact{white-space:normal}}

/* Custom images for service cards: preserve the existing coloured icon tile. */
.ct-service-icon .ct-service-image{display:block;width:80%;height:80%;object-fit:contain;max-width:100%;max-height:100%}

/* Optional, admin-managed software logo strip between services and clients */
.ct-kerio-strip{margin-top:28px;padding:19px 0 20px;border-top:1px solid var(--line)}
.ct-kerio-title{margin:0 0 17px;text-transform:uppercase;font-size:12px;font-weight:750;letter-spacing:.27em;color:#3b5474}
.ct-kerio-grid{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:18px 34px}
.ct-kerio-logo{flex:0 1 180px;display:flex;align-items:center;justify-content:center;min-width:110px;min-height:74px;text-decoration:none}
.ct-kerio-logo img{display:block;max-width:100%;width:auto;height:auto;max-height:74px;object-fit:contain}
a.ct-kerio-logo:hover img{opacity:.82}
.ct-kerio-strip+.ct-clients{margin-top:0}
@media(max-width:740px){.ct-kerio-grid{gap:14px 20px}.ct-kerio-logo{flex-basis:135px;min-width:95px;min-height:62px}.ct-kerio-logo img{max-height:60px}}

/* v1.4.0: uploaded service branding lives above, not inside, the original icon. */
.ct-service{flex-direction:column;align-items:stretch;gap:0}
.ct-service-main{display:flex;align-items:flex-start;gap:14px;min-width:0}
.ct-service-body{min-width:0;flex:1}
.ct-service-media{display:flex;align-items:center;justify-content:center;width:100%;height:76px;min-height:76px;margin:0 0 15px;padding:0 5px;overflow:hidden}
.ct-service-media .ct-service-image{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;object-position:center}
@media(max-width:1050px){.ct-service-main{gap:9px}.ct-service-media{height:68px;min-height:68px}}
@media(max-width:740px){.ct-service-media{height:76px;min-height:76px}}
@media(max-width:480px){.ct-service-media{height:72px;min-height:72px}}

/* v1.5.0 - contain uploaded service images inside each coloured service card.
   Uploaded branding is separate from (and does not replace) the original icon. */
.ct-services{align-items:stretch}
.ct-services > .ct-service{min-width:0;max-width:100%;overflow:hidden;display:flex;flex-direction:column;align-items:stretch;gap:0}
.ct-services > .ct-service .ct-service-media{position:relative;flex:0 0 68px;box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;width:100%;max-width:100%;height:68px;min-height:0;margin:0 0 12px;padding:0;overflow:hidden}
.ct-services > .ct-service .ct-service-media img.ct-service-image{display:block;position:static;width:auto!important;height:auto!important;max-width:min(100%,175px)!important;max-height:62px!important;min-width:0;object-fit:contain;object-position:left center;flex:0 1 auto}
.ct-services > .ct-service .ct-service-main{display:flex;align-items:flex-start;gap:12px;min-width:0;max-width:100%}
.ct-services > .ct-service .ct-service-body{min-width:0;max-width:100%;overflow-wrap:break-word}
.ct-services > .ct-service .ct-service-icon{flex:0 0 60px}
@media(max-width:1050px){.ct-services > .ct-service .ct-service-icon{flex-basis:45px}}
@media(max-width:740px){.ct-services > .ct-service .ct-service-media{height:64px;flex-basis:64px}.ct-services > .ct-service .ct-service-media img.ct-service-image{max-height:58px!important}}
