/* ConnecTech v1.26 — hero buttons, ad spots, search in menu bar, compact footer bottom line */

/* Hero: the two buttons sit on the right in ONE row */
.ct-hero2-head{justify-content:space-between}
.ct-hero2-head .hero-buttons{flex-direction:row;flex-wrap:wrap;width:auto;margin-left:auto;gap:10px}
.ct-hero2-head .hero-buttons .button{justify-content:center;gap:8px}
@media(max-width:700px){.ct-hero2-head .hero-buttons{margin-left:0;width:100%}.ct-hero2-head .hero-buttons .button{flex:1 1 150px}}

/* Ad spots: never shown on phones/tablets, never change the layout when switched off */
.ct-ad{position:relative;box-sizing:border-box;overflow:hidden}
.ct-ad-label{position:absolute;top:2px;left:6px;z-index:2;font-size:9px;letter-spacing:.06em;text-transform:uppercase;color:#7a8b98;background:rgba(255,255,255,.85);padding:0 4px;border-radius:3px}
.ct-ad img{display:block;width:100%;height:100%;object-fit:cover}
.ct-ad-house{display:flex;flex-direction:column;justify-content:center;gap:2px;width:100%;height:100%;padding:8px 14px;box-sizing:border-box;border:1px dashed #b9c9d6;border-radius:var(--ct-radius,10px);background:#f5f8fb;color:#102638;text-decoration:none}
.ct-ad-house strong{font-size:14px}.ct-ad-house span{font-size:12px;color:#4d6172}.ct-ad-house em{font-style:normal;font-size:12px;font-weight:700;color:#1364d8}
.ct-ad-house:hover{border-color:#1364d8;background:#edf4ff}
@media(max-width:900px){.ct-ad{display:none!important}}

/* Header spot (home page, wide screens): takes the search bar's place */
.ct-ad-header{display:none}
@media(min-width:901px){
  body.ct-ad-header-on .header-main .header-search{display:none!important}
  body.ct-ad-header-on .ct-ad-header{display:block;flex:1 1 auto;max-width:520px;height:58px;margin:0 18px;border-radius:var(--ct-radius,10px)}
  body.ct-ad-header-on .ct-nav-search{display:flex}
}
.ct-nav-search{display:none;align-items:center;margin:0 10px 0 0}
.ct-nav-search input[type=search]{width:230px;height:32px;padding:0 10px;border:1px solid #cfd9e0;border-radius:8px 0 0 8px;font-size:13px;background:#fff}
.ct-nav-search button{height:32px;width:36px;border:1px solid #1364d8;border-radius:0 8px 8px 0;background:#1364d8;color:#fff;cursor:pointer;font-size:16px;padding:0}

/* Shop spot: under the sidebar, inside it */
.ct-shop-side .ct-ad-shop_side{margin-top:16px;height:250px;border-radius:var(--ct-radius,10px)}

/* Blog spot: right of the heading */
@media(min-width:901px){
  body.ct-ad-blog_head-on .ct-editorial-hero>.wrap{display:grid;grid-template-columns:minmax(0,1fr) 468px;column-gap:30px;align-items:center}
  body.ct-ad-blog_head-on .ct-editorial-hero>.wrap>*{grid-column:1}
  body.ct-ad-blog_head-on .ct-editorial-hero>.wrap>.ct-ad-blog_head{grid-column:2;grid-row:1/span 3;height:60px;border-radius:var(--ct-radius,10px)}
}
.ct-ad-blog_head{display:none}
@media(min-width:901px){body.ct-ad-blog_head-on .ct-ad-blog_head{display:block}}

/* Footer: Sitemap links above the social icons, slimmer bottom line */
.footer-about .ct-footer-links{display:flex;flex-wrap:wrap;gap:6px 14px;margin:10px 0 4px}
.footer-about .ct-footer-links a{font-size:13px}
.site-footer .footer-bottom{padding:0!important;min-height:0!important}
.site-footer .footer-bottom .wrap{min-height:0!important;height:auto!important;padding:5px 0!important;gap:2px 16px;font-size:11px;line-height:1.3}
.site-footer .footer-bottom .wrap>*{margin:0}
