/* ConnecTech v1.29 — Gallery, wide ad spots on every page, centred footer bottom line */

/* =========================================================
   1. WIDE AD SPOTS (shown on phones too, never on cart/checkout/account)
   ========================================================= */
.ct-adstrip{padding:16px 0;background:transparent}
.ct-adstrip>.wrap{display:block}
.ct-article .ct-adstrip>.wrap,.ct-page-content .ct-adstrip>.wrap,.ct-article-body .ct-adstrip>.wrap{width:auto;max-width:none;margin:0;padding:0}
.ct-adstrip .ct-ad{display:block!important;width:100%;max-width:970px;min-height:76px;height:auto;margin:0 auto;border-radius:var(--ct-radius,12px)}
.ct-adstrip .ct-ad img{width:100%;height:auto;max-height:140px;object-fit:contain;margin:0 auto}
.ct-adstrip .ct-ad-html{display:flex;justify-content:center;align-items:center;min-height:76px;text-align:center}
.ct-adstrip .ct-ad-label{top:3px;left:8px}
.ct-adstrip .ct-ad-house,.ctg-adcell .ct-ad-house{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 16px;min-height:76px;padding:14px 20px 12px;text-align:center;border-radius:inherit;background:repeating-linear-gradient(135deg,#f6f9fc 0 12px,#f0f5fa 12px 24px)}
.ctg-adcell .ct-ad{max-width:970px;margin:0 auto;min-height:76px}
.ct-adstrip .ct-ad-house strong,.ctg-adcell .ct-ad-house strong{font-size:15px}
.ct-adstrip .ct-ad-house span,.ctg-adcell .ct-ad-house span{flex:1 1 auto;max-width:520px}
.ct-adstrip .ct-ad-house em,.ctg-adcell .ct-ad-house em{white-space:nowrap}
.ct-adstrip-inline{margin:22px 0;padding:0}
.ct-adstrip-gallery_inline{padding:0}
.ct-adstrip-before_footer{padding:22px 0 8px}
@media(max-width:700px){
  .ct-adstrip{padding:12px 0}
  .ct-adstrip>.wrap{width:calc(100% - 28px)}
  .ct-adstrip .ct-ad-house,.ctg-adcell .ct-ad-house{flex-direction:column;gap:2px;padding:14px 14px 12px}
}

/* =========================================================
   2. FOOTER BOTTOM LINE — one row, grouped in the centre:
      Copyright  ·  ↑ Back to top (middle)  ·  Enterprise networking note
   ========================================================= */
.site-footer .footer-bottom.ct-fb3 .wrap{display:flex!important;flex-direction:row!important;flex-wrap:wrap;justify-content:center!important;align-items:center!important;gap:6px clamp(22px,4.5vw,64px)!important;text-align:center;padding:10px 0!important;font-size:12px;line-height:1.4}
.site-footer .footer-bottom.ct-fb3 .ct-fb-copy{order:1;font-weight:600}
.site-footer .footer-bottom.ct-fb3 .ct-fb-top{order:2}
.site-footer .footer-bottom.ct-fb3 .ct-fb-note{order:3;opacity:.85}
.site-footer .footer-bottom.ct-fb3 .ct-fb-top{display:inline-flex;align-items:center;gap:6px;padding:5px 15px;border:1px solid rgba(255,255,255,.28);border-radius:999px;color:inherit;opacity:1;text-decoration:none;font-weight:600;white-space:nowrap;transition:background .18s,border-color .18s,transform .18s}
.site-footer .footer-bottom.ct-fb3 .ct-fb-top:hover,.site-footer .footer-bottom.ct-fb3 .ct-fb-top:focus-visible{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.6);transform:translateY(-1px);outline:none}
.site-footer .footer-bottom.ct-fb3{padding-bottom:6px!important}
@media(max-width:900px){
  /* leave room for the floating WhatsApp / install buttons so the line is never hidden */
  .site-footer .footer-bottom.ct-fb3{padding-bottom:max(76px,env(safe-area-inset-bottom))!important}
}
@media(max-width:640px){
  .site-footer .footer-bottom.ct-fb3 .wrap{flex-direction:column!important;gap:8px!important}
}

/* =========================================================
   3. GALLERY
   ========================================================= */
.ct-gallery-main{background:#f2f5f8}

/* --- hero: dark navy "network rack" --- */
.ctg-hero{position:relative;overflow:hidden;color:#fff;background:radial-gradient(900px 380px at 88% -10%,rgba(43,131,241,.38),transparent 70%),radial-gradient(600px 300px at 0 110%,rgba(35,201,135,.16),transparent 70%),linear-gradient(135deg,#081923 0%,#0d2a40 55%,#0b2236 100%);padding:clamp(34px,5vw,64px) 0 clamp(40px,5vw,68px)}
.ctg-hero::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);background-size:44px 44px;-webkit-mask-image:linear-gradient(180deg,#000 10%,transparent 95%);mask-image:linear-gradient(180deg,#000 10%,transparent 95%);pointer-events:none}
.ctg-hero-in{position:relative;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:clamp(24px,5vw,70px);align-items:center}
.ctg-kicker{display:inline-flex;align-items:center;gap:9px;font-size:12px;font-weight:800;letter-spacing:.2em;color:#7fd8b4;text-transform:uppercase}
.ctg-kicker::before{content:"";width:9px;height:9px;border-radius:50%;background:#23c987;box-shadow:0 0 0 0 rgba(35,201,135,.7);animation:ctg-led 2s infinite}
.ctg-hero h1{margin:12px 0 10px;font-size:clamp(34px,5.4vw,60px);line-height:1.04;letter-spacing:-.02em;color:#fff}
.ctg-hero-text p{margin:0;max-width:560px;font-size:clamp(15px,1.5vw,18px);line-height:1.6;color:#c4d4e2}
.ctg-hero-btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.ctg-hero .button-outline{color:#fff;border-color:rgba(255,255,255,.4);background:transparent}
.ctg-hero .button-outline:hover{background:rgba(255,255,255,.12);border-color:#fff}
.ctg-stats{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.ctg-stats li{position:relative;padding:16px 14px 14px;border:1px solid rgba(255,255,255,.14);border-radius:14px;background:linear-gradient(180deg,rgba(255,255,255,.1),rgba(255,255,255,.03));backdrop-filter:blur(6px);text-align:center;clip-path:polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,0 100%)}
.ctg-stats li::after{content:"";position:absolute;left:12px;top:12px;width:6px;height:6px;border-radius:50%;background:#23c987;box-shadow:0 0 8px #23c987;animation:ctg-led 2.6s infinite}
.ctg-stats li:nth-child(2)::after{background:#2b83f1;box-shadow:0 0 8px #2b83f1;animation-delay:.5s}
.ctg-stats li:nth-child(3)::after{background:#f3b43f;box-shadow:0 0 8px #f3b43f;animation-delay:1s}
.ctg-stats b{display:block;font-size:clamp(28px,3.6vw,42px);line-height:1;font-weight:800;letter-spacing:-.02em;color:#fff}
.ctg-stats span{display:block;margin-top:6px;font-size:12px;color:#a9bdce}
.ctg-ports{position:absolute;left:0;right:0;bottom:0;height:6px;display:flex}
.ctg-ports i{flex:1;background:linear-gradient(90deg,transparent,#2b83f1,transparent);background-size:200% 100%;animation:ctg-sweep 5s linear infinite}
.ctg-ports i:nth-child(2){background-image:linear-gradient(90deg,transparent,#23c987,transparent);animation-delay:-1.6s}
.ctg-ports i:nth-child(3){background-image:linear-gradient(90deg,transparent,#f3b43f,transparent);animation-delay:-3.2s}
@keyframes ctg-led{0%{box-shadow:0 0 0 0 rgba(35,201,135,.6)}70%{box-shadow:0 0 0 9px rgba(35,201,135,0)}100%{box-shadow:0 0 0 0 rgba(35,201,135,0)}}
@keyframes ctg-sweep{0%{background-position:200% 0}100%{background-position:-200% 0}}
@media(max-width:860px){.ctg-hero-in{grid-template-columns:1fr}.ctg-stats{max-width:480px}}

/* --- toolbar --- */
.ctg{padding:26px 0 56px}
.ctg-bar{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:center;justify-content:space-between;padding:10px;margin-top:-52px;margin-bottom:14px;position:relative;z-index:3;background:#fff;border:1px solid #e1e8ee;border-radius:16px;box-shadow:0 14px 36px rgba(16,38,56,.12)}
.ctg-seg{display:inline-flex;gap:4px;padding:4px;border-radius:12px;background:#eef2f6}
.ctg-seg button{display:inline-flex;align-items:center;gap:7px;border:0;background:transparent;padding:9px 16px;border-radius:9px;font-family:inherit;font-weight:700;font-size:14px;line-height:1;color:#4d6172;cursor:pointer;transition:background .18s,color .18s,box-shadow .18s}
.ctg-seg button b{min-width:22px;padding:2px 6px;border-radius:999px;background:#dde5ec;color:#4d6172;font-size:11px;text-align:center}
.ctg-seg button:hover{color:#102638}
.ctg-seg button.is-on{background:#fff;color:#1364d8;box-shadow:0 2px 8px rgba(16,38,56,.12)}
.ctg-seg button.is-on b{background:#1364d8;color:#fff}
.ctg-search{display:flex;align-items:center;gap:8px;flex:1 1 240px;max-width:380px;margin-left:auto;padding:0 14px;height:44px;border:1px solid #d6dfe7;border-radius:12px;background:#f8fafc;transition:border-color .18s,box-shadow .18s,background .18s}
.ctg-search:focus-within{border-color:#1364d8;background:#fff;box-shadow:0 0 0 3px rgba(19,100,216,.14)}
.ctg-search span{font-size:18px;color:#6a7d8c}
.ctg-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:15px;color:#102638;height:100%}
.ctg-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.ctg-chips button{border:1px solid #d6dfe7;background:#fff;color:#35495a;padding:7px 15px;border-radius:999px;font-family:inherit;font-weight:600;font-size:13px;line-height:1.2;cursor:pointer;transition:all .18s}
.ctg-chips button:hover{border-color:#1364d8;color:#1364d8}
.ctg-chips button.is-on{background:#102638;border-color:#102638;color:#fff}
@media(max-width:700px){
  .ctg-bar{margin-top:-36px;padding:8px;border-radius:14px}
  .ctg-seg{width:100%}.ctg-seg button{flex:1;justify-content:center;padding:10px 8px}
  .ctg-search{max-width:none;flex-basis:100%;margin-left:0}
  .ctg-chips{flex-wrap:nowrap;overflow-x:auto;margin-right:-14px;padding:0 14px 6px 0;scrollbar-width:none}
  .ctg-chips::-webkit-scrollbar{display:none}
  .ctg-chips button{flex:0 0 auto}
}

/* --- grid --- */
.ctg-grid{display:grid;grid-template-columns:repeat(var(--ctg-cols,4),minmax(0,1fr));grid-auto-flow:dense;gap:16px}
.ctg-item[hidden]{display:none!important}
.ctg-card{position:relative;display:block;aspect-ratio:1/1;overflow:hidden;border-radius:16px;background:#0d2234;color:#fff;text-decoration:none;cursor:pointer;clip-path:polygon(0 0,calc(100% - 30px) 0,100% 30px,100% 100%,0 100%);-webkit-tap-highlight-color:transparent;animation:ctg-in .5s both}
.ctg-card.is-feat{grid-column:span 2;grid-row:span 2;clip-path:polygon(0 0,calc(100% - 46px) 0,100% 46px,100% 100%,0 100%)}
.ctg-media{position:absolute;inset:0;display:block}
.ctg-media img,.ctg-media video{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s cubic-bezier(.2,.7,.2,1),filter .4s}
.ctg-ph{display:block;width:100%;height:100%;background:linear-gradient(135deg,#102f47,#0b1f30)}
.ctg-card:hover .ctg-media img,.ctg-card:hover .ctg-media video,.ctg-card:focus-visible .ctg-media img{transform:scale(1.07)}
.ctg-card:focus-visible{outline:3px solid #2b83f1;outline-offset:-3px}
.ctg-over{position:absolute;left:0;right:0;bottom:0;display:flex;flex-direction:column;gap:3px;padding:44px 14px 13px;background:linear-gradient(180deg,transparent,rgba(5,16,25,.88));transform:translateY(8px);opacity:.96;transition:transform .3s,opacity .3s}
.ctg-over em{align-self:flex-start;font-style:normal;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#7fd8b4}
.ctg-over strong{font-size:14px;line-height:1.3;font-weight:700;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ctg-card.is-feat .ctg-over{padding:70px 22px 20px}.ctg-card.is-feat .ctg-over strong{font-size:clamp(17px,1.9vw,24px)}
.ctg-card.is-photo .ctg-over{opacity:0;transform:translateY(10px)}
.ctg-card:hover .ctg-over,.ctg-card:focus-visible .ctg-over{transform:none;opacity:1}
@media(hover:none){.ctg-card.is-photo .ctg-over{display:none}}
.ctg-badge{position:absolute;left:10px;top:10px;padding:4px 9px;border-radius:6px;background:#e5484d;color:#fff;font-size:10px;font-weight:800;letter-spacing:.1em}
.ctg-play{position:absolute;left:50%;top:50%;width:58px;height:58px;margin:-29px 0 0 -29px;transition:transform .25s}
.ctg-play svg{width:100%;height:100%;filter:drop-shadow(0 4px 12px rgba(0,0,0,.4))}
.ctg-card.is-feat .ctg-play{width:80px;height:80px;margin:-40px 0 0 -40px}
.ctg-card:hover .ctg-play{transform:scale(1.12)}
.ctg-zoom{position:absolute;right:12px;bottom:auto;top:12px;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.92);color:#102638;font-size:17px;opacity:0;transform:scale(.8);transition:all .25s}
.ctg-card:hover .ctg-zoom,.ctg-card:focus-visible .ctg-zoom{opacity:1;transform:none}
@media(hover:none){.ctg-zoom{display:none}}
@keyframes ctg-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.ctg-adcell{grid-column:1/-1;aspect-ratio:auto;padding:4px 0}
.ctg-adcell .ct-ad{display:block!important}
.ctg-empty{display:flex;flex-direction:column;gap:6px;align-items:center;padding:60px 20px;text-align:center;border:2px dashed #cdd8e1;border-radius:18px;background:#fff;color:#4d6172}
.ctg-empty strong{font-size:18px;color:#102638}
.ctg-none{text-align:center;padding:36px 10px;color:#4d6172}
.ctg-none button{border:0;background:none;color:#1364d8;font-weight:700;text-decoration:underline;cursor:pointer;font-size:inherit}
.ctg-more{display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:28px}
.ctg-more #ctg-count{font-size:13px;color:#677785}
.ctg-more .button[hidden]{display:none}
@media(max-width:1100px){.ctg-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.ctg-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ctg-card{border-radius:12px;clip-path:polygon(0 0,calc(100% - 22px) 0,100% 22px,100% 100%,0 100%)}.ctg-over{padding:34px 10px 10px}.ctg-over strong{font-size:12.5px}.ctg-play{width:46px;height:46px;margin:-23px 0 0 -23px}.ctg-card.is-feat .ctg-play{width:64px;height:64px;margin:-32px 0 0 -32px}}

/* --- full-screen viewer --- */
body.ctg-lock{overflow:hidden}
.ctg-lb{position:fixed;inset:0;z-index:100000;display:flex;flex-direction:column;align-items:center;background:rgba(4,12,19,.94);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:ctg-fade .25s}
.ctg-lb[hidden]{display:none}
@keyframes ctg-fade{from{opacity:0}to{opacity:1}}
.ctg-lb-top{display:flex;justify-content:space-between;align-items:center;width:100%;padding:12px 16px;color:#b9cbd9;font-size:13px;font-weight:600;letter-spacing:.04em}
.ctg-lb-top button{width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:18px;cursor:pointer;transition:background .18s}
.ctg-lb-top button:hover{background:rgba(255,255,255,.25)}
.ctg-lb-stage{flex:1 1 auto;min-height:0;width:100%;display:flex;align-items:center;justify-content:center;padding:0 64px}
.ctg-lb-stage img,.ctg-lb-stage video{max-width:100%;max-height:100%;object-fit:contain;border-radius:10px;box-shadow:0 20px 60px rgba(0,0,0,.5);animation:ctg-fade .3s}
.ctg-lb-stage iframe{width:min(100%,960px);aspect-ratio:16/9;max-height:100%;border:0;border-radius:10px;background:#000}
.ctg-lb-stage iframe.is-tall{aspect-ratio:9/16;width:auto;height:100%;max-width:100%}
.ctg-lb-link{display:flex;flex-direction:column;align-items:center;gap:14px;color:#c4d4e2;text-align:center}
.ctg-lb-nav{position:absolute;top:50%;z-index:2;width:46px;height:46px;margin-top:-23px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:30px;line-height:1;cursor:pointer;transition:background .18s}
.ctg-lb-nav:hover{background:rgba(255,255,255,.3)}
.ctg-lb-prev{left:12px}.ctg-lb-next{right:12px}
.ctg-lb-cap{display:flex;flex-wrap:wrap;gap:10px 24px;justify-content:space-between;align-items:center;width:100%;max-width:1100px;padding:14px 18px max(16px,env(safe-area-inset-bottom));color:#fff}
.ctg-lb-cap em{display:block;font-style:normal;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#7fd8b4}
.ctg-lb-cap strong{display:block;font-size:clamp(16px,2vw,20px);line-height:1.3}
.ctg-lb-cap span{display:block;margin-top:3px;font-size:13px;color:#b9cbd9;max-width:640px}
.ctg-lb-cap em:empty,.ctg-lb-cap span:empty{display:none}
.ctg-lb-act{display:flex;gap:8px;flex-wrap:wrap}
.ctg-lb-act .button-outline{color:#fff;border-color:rgba(255,255,255,.4);background:transparent}
.ctg-lb-act .button-outline:hover{background:rgba(255,255,255,.14)}
@media(max-width:700px){.ctg-lb-stage{padding:0 8px}.ctg-lb-nav{width:40px;height:40px;top:auto;bottom:118px;margin:0;font-size:26px;background:rgba(255,255,255,.2)}.ctg-lb-prev{left:10px}.ctg-lb-next{right:10px}.ctg-lb-cap{padding-bottom:max(14px,env(safe-area-inset-bottom))}.ctg-lb-act{width:100%}.ctg-lb-act .button{flex:1;justify-content:center}}

@media(prefers-reduced-motion:reduce){.ctg *,.ctg-hero *,.ctg-lb,.ctg-lb *{animation:none!important;transition:none!important}}

/* =========================================================
   v1.30 — gold "Show more" / "See the full gallery", Social Media tab, item pages, speed
   ========================================================= */
.ctg-chips[hidden],.ctg-search[hidden],.ctg-social[hidden],.ctg-sub[hidden],.ctg-grid[hidden]{display:none!important}
.ctg-more .ctg-more-btn,.ctg-rel-more .ctg-more-btn{display:inline-flex;align-items:center;justify-content:center;min-width:190px;padding:14px 34px;border:0;border-radius:999px;background:linear-gradient(135deg,#f9dc7a 0%,#e2b43a 55%,#c8920c 100%);color:#2a1d00!important;font-weight:800;font-size:15px;letter-spacing:.02em;text-decoration:none;cursor:pointer;box-shadow:0 10px 24px rgba(200,146,12,.38),inset 0 1px 0 rgba(255,255,255,.55);transition:transform .18s,box-shadow .18s,filter .18s}
.ctg-more .ctg-more-btn:hover,.ctg-rel-more .ctg-more-btn:hover{transform:translateY(-2px);filter:brightness(1.06);box-shadow:0 14px 30px rgba(200,146,12,.46),inset 0 1px 0 rgba(255,255,255,.6)}
.ctg-more .ctg-more-btn:focus-visible,.ctg-rel-more .ctg-more-btn:focus-visible{outline:3px solid #102638;outline-offset:3px}
.ctg-rel-more{text-align:center;margin:26px 0 0}
.ctg-more #ctg-count{color:#4d6172;font-weight:600}

/* faster first paint: cards below the screen are not drawn until needed */
.ctg-card{content-visibility:auto;contain-intrinsic-size:300px 300px}
.ctg-card.is-feat{content-visibility:visible}

/* --- Social Media tab: framed feeds, 2 per row --- */
.ctg-social{margin:2px 0 26px}
.ctg-social-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.ctg-sframe{--sc:#1364d8;display:flex;flex-direction:column;overflow:hidden;border-radius:18px;background:#fff;border:1px solid #dde5ec;box-shadow:0 12px 30px rgba(16,38,56,.08);clip-path:polygon(0 0,calc(100% - 34px) 0,100% 34px,100% 100%,0 100%)}
.ctg-sf-head{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:3px solid var(--sc);background:linear-gradient(180deg,#fff,#f6f9fb)}
.ctg-sf-ico{flex:0 0 auto;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--sc);color:#fff}
.ctg-sf-ico svg{width:24px;height:24px}
.ctg-sf-title{min-width:0;flex:1}
.ctg-sf-title h3{margin:0;font-size:clamp(15px,1.5vw,18px);line-height:1.25;color:#102638}
.ctg-sf-title a{display:block;font-size:13px;color:#4d6172;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ctg-sf-title a:hover{color:var(--sc);text-decoration:underline}
.ctg-sf-btn{flex:0 0 auto;margin-right:26px;padding:8px 14px;border-radius:999px;background:var(--sc);color:#fff!important;font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap;transition:filter .18s,transform .18s}
.ctg-sf-btn:hover{filter:brightness(1.12);transform:translateY(-1px)}
.ctg-sf-body{position:relative;height:clamp(440px,44vw,560px);background:#0d2234;overflow:hidden}
.ctg-sf-poster{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px;text-align:center;color:#fff;background:radial-gradient(420px 260px at 50% 0,color-mix(in srgb,var(--sc) 55%,transparent),transparent 70%),linear-gradient(160deg,#0d2a40,#081923)}
.ctg-sf-big{display:grid;place-items:center;width:78px;height:78px;border-radius:22px;background:var(--sc);box-shadow:0 12px 30px rgba(0,0,0,.35)}
.ctg-sf-big svg{width:44px;height:44px}
.ctg-sf-poster strong{font-size:19px}
.ctg-sf-status{font-size:13px;color:#b9cbd9}
.ctg-sf-cta{margin-top:6px;padding:9px 18px;border:1px solid rgba(255,255,255,.4);border-radius:999px;color:#fff!important;font-size:13px;font-weight:700;text-decoration:none}
.ctg-sf-cta:hover{background:rgba(255,255,255,.14)}
.ctg-sf-embed{position:absolute;inset:0;display:flex;justify-content:center;overflow:auto;background:transparent}
.ctg-sf-embed iframe{display:block;max-width:100%}
.ctg-sf-embed blockquote{margin:0;width:100%}
.ctg-sf-body.is-yt{display:flex;flex-direction:column;background:#0d2234}
.ctg-yt-player{position:relative;flex:0 0 auto;aspect-ratio:16/9;background:#000}
.ctg-yt-player iframe,.ctg-yt-poster{position:absolute;inset:0;width:100%;height:100%;border:0}
.ctg-yt-poster{padding:0;background:#000;cursor:pointer;overflow:hidden}
.ctg-yt-poster img{width:100%;height:100%;object-fit:cover;transition:transform .5s,filter .3s}
.ctg-yt-poster:hover img{transform:scale(1.04);filter:brightness(1.08)}
.ctg-yt-poster .ctg-play{width:64px;height:64px;margin:-32px 0 0 -32px}
.ctg-yt-cap{position:absolute;left:0;right:0;bottom:0;padding:34px 14px 10px;text-align:left;color:#fff;font-size:14px;font-weight:700;line-height:1.3;background:linear-gradient(180deg,transparent,rgba(5,16,25,.9))}
.ctg-yt-list{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;padding:10px;list-style:none;overflow-y:auto;align-content:start;background:#0d2234}
.ctg-yt-list button{display:block;width:100%;padding:0;border:0;border-radius:8px;overflow:hidden;background:#12304a;color:#dbe7f1;text-align:left;cursor:pointer;transition:transform .18s,box-shadow .18s}
.ctg-yt-list button:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(0,0,0,.4)}
.ctg-yt-list img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.ctg-yt-list span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;padding:5px 7px 7px;font-size:11.5px;line-height:1.3}
.ctg-sub{margin:6px 0 14px;font-size:clamp(18px,2vw,24px);color:#102638}
@media(max-width:860px){.ctg-social-grid{grid-template-columns:1fr}.ctg-sf-body{height:clamp(420px,100vw,540px)}}
@media(max-width:480px){.ctg-sf-btn{padding:8px 11px;font-size:12px}.ctg-yt-list{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* --- single gallery item page --- */
.ctg-hero-sm{padding:clamp(26px,4vw,46px) 0 clamp(30px,4vw,52px)}
.ctg-hero-sm .wrap{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.ctg-hero-sm h1{margin:2px 0 0;font-size:clamp(26px,3.8vw,42px);max-width:900px}
.ctg-back{color:#9fc4ee;font-weight:700;font-size:14px;text-decoration:none}
.ctg-back:hover{color:#fff;text-decoration:underline}
.ctg-sv{padding:28px 0 18px}
.ctg-sv-in{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:clamp(20px,3vw,40px);align-items:start}
.ctg-sv-media{margin:0;border-radius:18px;overflow:hidden;background:#0d2234;box-shadow:0 18px 44px rgba(16,38,56,.18);clip-path:polygon(0 0,calc(100% - 40px) 0,100% 40px,100% 100%,0 100%)}
.ctg-sv-img,.ctg-sv-video{display:block;width:100%;height:auto}
.ctg-sv-frame{position:relative;aspect-ratio:16/9}
.ctg-sv-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.ctg-sv-cap{margin:0 0 12px;font-size:clamp(16px,1.6vw,19px);line-height:1.6;color:#102638}
.ctg-sv-text{color:#35495a;line-height:1.7}
.ctg-sv-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
.ctg-sv-actions .button-outline{color:#102638;border-color:#b9c8d5}
.ctg-sv-meta{margin:0;font-size:13px;color:#677785}
.ctg-rel{padding-top:10px}
@media(max-width:860px){.ctg-sv-in{grid-template-columns:1fr}}

/* v1.37 — share buttons on gallery items and products */
.ct-share-fb{background:#1877f2;border-color:#1877f2;color:#fff}.ct-share-fb:hover{background:#1265d0;color:#fff}
.ct-share-tg{background:#229ed9;border-color:#229ed9;color:#fff}.ct-share-tg:hover{background:#1b86b8;color:#fff}
.ct-share-x{background:#111;border-color:#111;color:#fff}.ct-share-x:hover{background:#333;color:#fff}
.ct-share-more{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.ctg-sv-info .ct-share{margin:14px 0}

/* v1.39 — category text under products */
.ct-term-text{margin:26px auto 10px;padding:22px clamp(16px,2.4vw,28px);background:#fff;border:1px solid #dde7f1;border-radius:18px;box-shadow:0 10px 26px rgba(16,38,56,.05)}
.ct-term-text h2{margin:0 0 10px;font-size:clamp(18px,2vw,22px)}
.ct-term-text div{color:#35495a;line-height:1.75;font-size:15px}
html[data-theme="dark"] .ct-term-text{background:#0f1c27;border-color:#203548}
html[data-theme="dark"] .ct-term-text div{color:#c4d4e2}
