/*
Theme Name: SmartTech DStv Installers
Theme URI: https://dstv-installers-smarttech.co.za/
Author: Wonder Studio
Author URI: https://www.wonderstudio.co.za/
Description: Lightweight custom theme converted from the SmartTech HTML design. No page builder.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ws-smarttech
*/
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:#0B1530;font-family:'Instrument Sans',system-ui,sans-serif;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}
a{color:#0A4BDB;text-decoration:none}
a:hover{color:#0838A8}
img{display:block;max-width:100%;height:auto}
input,textarea,button{font:inherit}
/* hover states (source style-hover) */
.wsh-1:hover{background:#1FC25C!important;color:#04260F!important}
.wsh-2:hover{background:#E8EEFF!important;color:#0838A8!important}
.wsh-3:hover{border-color:#fff!important;color:#fff!important}
.wsh-4:hover{color:#fff!important}
.wsh-5:hover{background:#0838A8!important;color:#fff!important}
.wsh-6:hover{background:#0A4BDB!important;color:#fff!important}
.wsh-7:hover{background:#1FC25C!important}
.wsh-8:hover{background:#2F66F0!important;color:#fff!important}

/* header: desktop nav vs burger (source switched at 1120px) */
.ws-mnav[hidden],.ws-faq-a[hidden],.ws-sent[hidden]{display:none!important}
@media (min-width:1120px){.ws-mob,.ws-mnav{display:none!important}}
@media (max-width:1119.98px){.ws-desk{display:none!important}}
/* tablet + mobile tidy-ups */
@media (max-width:1024px){
  .ws-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:767px){
  footer a{padding:7px 0}
  .ws-post-grid{grid-template-columns:1fr}
  .ws-prose{font-size:17px}
  .ws-post-nav{flex-direction:column}
}
/* accessibility */
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #0A4BDB;outline-offset:2px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ws-skip:focus{position:fixed!important;top:8px;left:8px;width:auto;height:auto;clip:auto;z-index:100;background:#fff;color:#0A4BDB;padding:10px 14px;border-radius:8px}
.ws-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
/* blog */
.ws-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ws-card{border:1px solid #E3E8F1;border-radius:18px;overflow:hidden;display:flex;flex-direction:column;background:#fff}
.ws-card-img img{width:100%;aspect-ratio:3/2;object-fit:cover;background:#DCE4F0}
.ws-card-body{padding:22px 22px 24px;display:flex;flex-direction:column;gap:8px;flex:1}
.ws-meta{font-family:'IBM Plex Mono',monospace;font-size:12px;letter-spacing:0.04em;text-transform:uppercase;color:#46526E}
.ws-card-title{font-family:'Bricolage Grotesque',sans-serif;font-size:21px;font-weight:600;margin:0;line-height:1.25}
.ws-card-title a{color:#0B1530}
.ws-card-title a:hover{color:#0A4BDB}
.ws-card-excerpt{margin:0;color:#46526E;line-height:1.6;font-size:15.5px;flex:1}
.ws-more{font-weight:600;margin-top:6px}
.ws-empty{max-width:720px;border:1px solid #E3E8F1;border-radius:20px;padding:clamp(24px,4vw,40px);display:flex;flex-direction:column;gap:14px;align-items:flex-start}
.ws-empty h2{font-family:'Bricolage Grotesque',sans-serif;font-weight:700;font-size:28px;letter-spacing:-0.02em;margin:0}
.ws-empty p{margin:0 0 8px;color:#46526E;line-height:1.65;font-size:16.5px}
.ws-pagination{margin-top:36px}
.ws-pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap}
.ws-pagination .page-numbers{display:inline-flex;min-width:44px;min-height:44px;align-items:center;justify-content:center;padding:0 14px;border:1px solid #D6DEEA;border-radius:999px;color:#0B1530;font-weight:600}
.ws-pagination .page-numbers.current{background:#0A4BDB;border-color:#0A4BDB;color:#fff}
.ws-prose{max-width:760px;margin:0 auto;padding:clamp(36px,6vw,64px) clamp(18px,4vw,40px) clamp(56px,8vw,96px);font-size:18px;line-height:1.7;color:#24304D}
.ws-prose h2{font-family:'Bricolage Grotesque',sans-serif;font-weight:700;font-size:clamp(26px,3vw,34px);line-height:1.15;letter-spacing:-0.02em;color:#0B1530;margin:1.8em 0 .6em}
.ws-prose h3{font-family:'Bricolage Grotesque',sans-serif;font-weight:600;font-size:22px;color:#0B1530;margin:1.6em 0 .5em}
.ws-prose p,.ws-prose ul,.ws-prose ol{margin:0 0 1.1em}
.ws-prose li{margin:.3em 0}
.ws-prose a{text-decoration:underline;text-underline-offset:3px}
.ws-prose img{border-radius:16px}
.ws-prose figure{margin:1.6em 0}
.ws-prose blockquote{margin:1.6em 0;padding:4px 0 4px 20px;border-left:3px solid #0A4BDB;color:#0B1530}
.ws-hero-img{margin:0 0 2em}
.ws-post-cta{margin:2.6em 0 0;background:#0B1530;color:#fff;border-radius:20px;padding:clamp(22px,3vw,36px)}
.ws-post-cta h2{color:#fff;margin:0 0 .4em}
.ws-post-cta p{color:#C6D0E4;font-size:16.5px}
.ws-post-cta a{text-decoration:none}
.ws-post-nav{display:flex;justify-content:space-between;gap:16px;margin-top:2.4em;font-weight:600}
.ws-post-nav a{text-decoration:none}
.wp-block-image img{height:auto}