/* Homepage builder sections (includes/sections.php, views/home/*.php) */
.sx-banner{position:relative;border-radius:var(--th-radius,22px);overflow:hidden;background:linear-gradient(130deg,var(--teal),var(--teal-dk,#123));background-size:cover;background-position:center;display:flex;align-items:center;color:#fff}
.sx-banner::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.55),rgba(0,0,0,.15))}
.sx-a-center.sx-banner::before{background:rgba(0,0,0,.42)}
.sx-h-s{min-height:220px}.sx-h-m{min-height:340px}.sx-h-l{min-height:480px}
.sx-banner-in{position:relative;padding:36px clamp(20px,5vw,56px);max-width:620px}
.sx-a-center .sx-banner-in{margin:0 auto;text-align:center}
.sx-banner h2{color:#fff;font-size:clamp(24px,4vw,40px);margin:0 0 10px}.sx-banner p{color:rgba(255,255,255,.92);font-size:16px;line-height:1.6;margin:0 0 18px}
.sx-it{display:grid;grid-template-columns:1fr 1fr;gap:clamp(18px,4vw,48px);align-items:center}
.sx-it-right .sx-it-img{order:2}
.sx-it-img{border-radius:var(--th-radius,22px);overflow:hidden;background:var(--line,#eee);aspect-ratio:4/3;display:grid;place-items:center;font-size:54px}
.sx-it-img img{width:100%;height:100%;object-fit:cover}
.sx-it-txt h2{margin:0 0 12px}.sx-it-txt p{color:var(--soft);line-height:1.75;margin:0 0 14px}
.sx-rt{max-width:820px}.sx-rt.sx-a-center{text-align:center;margin:0 auto}.sx-rt p{color:var(--soft);line-height:1.8;font-size:16px}
.sx-video{position:relative;aspect-ratio:16/9;border-radius:var(--th-radius,18px);overflow:hidden;background:#000}
.sx-video iframe,.sx-video-play{position:absolute;inset:0;width:100%;height:100%;border:0}
.sx-video-play{background-size:cover;background-position:center;cursor:pointer;display:grid;place-items:center;padding:0}
.sx-video-play span{width:78px;height:54px;border-radius:14px;background:#f00;color:#fff;font-size:24px;display:grid;place-items:center;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.sx-cd{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px;padding:24px clamp(18px,4vw,36px);border-radius:var(--th-radius,22px);background:#1f1747;color:#fff}
.sx-cd h2{color:#fff;margin:0 0 4px}.sx-cd p{margin:0;color:rgba(255,255,255,.8)}
.sx-cd-t{display:flex;gap:8px}.sx-cd-t span{background:rgba(255,255,255,.12);border-radius:12px;padding:8px 10px;min-width:58px;text-align:center;font-size:11px;text-transform:uppercase;letter-spacing:.06em}
.sx-cd-t b{display:block;font-size:24px;letter-spacing:0}
.sx-wa{display:flex;flex-wrap:wrap;align-items:center;gap:16px 22px;padding:22px clamp(18px,4vw,34px);border-radius:var(--th-radius,22px);background:#e8fbef;border:1px solid #b7ecc9}
.sx-wa-ic{font-size:38px}.sx-wa h2{margin:0 0 4px;font-size:22px}.sx-wa p{margin:0;color:var(--soft)}.sx-wa>div{flex:1;min-width:200px}
.sx-wa .btn{background:#25D366;color:#fff}
/* builder preview: hidden sections stay visible but faded, the selected one is outlined */
.hsec-off{opacity:.35;filter:grayscale(1)}
.hsec-sel{outline:3px solid #6B4EE6;outline-offset:-3px}
@media(max-width:760px){.sx-it{grid-template-columns:1fr}.sx-it-right .sx-it-img{order:0}.sx-cd{justify-content:center;text-align:center}.sx-cd-t b{font-size:20px}}
