/*
Theme Name: AdvancedTechCo
Theme URI: https://www.advancedtechco.com/
Author: AdvancedTechCo
Description: Lightweight theme for AdvancedTechCo (managed IT and cybersecurity). No page builder.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: atc
*/
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:#fff;font-family:Inter,Arial,sans-serif;color:#3b4654;font-size:17px;line-height:1.6}
img{max-width:100%;height:auto}
a{color:#1677b3}a:hover{color:#0f5a88}
h1,h2,h3{font-family:'Oswald',Arial,sans-serif;font-weight:600;letter-spacing:.2px}
:focus-visible{outline:3px solid #4ecff8;outline-offset:2px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link:focus{position:fixed;top:8px;left:8px;z-index:1000;background:#fff;padding:10px 14px;width:auto;height:auto;clip:auto}
details>summary{cursor:pointer}
/* forms */
.atc-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.atc-msg{padding:12px 14px;border-radius:6px;font-size:15px;font-weight:600}
.atc-msg.ok{background:#e8f6ee;color:#155d36}.atc-msg.err{background:#fdecea;color:#8a1c12}
.atc-form button[disabled]{opacity:.6;cursor:wait}
.grecaptcha-badge{visibility:hidden}
/* mobile header */
.atc-menu-btn{display:none;background:none;border:1px solid #c3ccd6;border-radius:6px;padding:9px 12px;font:600 15px Inter,Arial,sans-serif;color:#16212e;cursor:pointer}
@media (max-width:900px){
 .atc-menu-btn{display:inline-flex}
 header nav[aria-label="Main"]{display:none!important;width:100%;flex-direction:column;gap:2px!important}
 header nav[aria-label="Main"].open{display:flex!important}
 header nav[aria-label="Main"] a{padding:10px 0;border-top:1px solid #eef1f5}
}
@media (max-width:700px){
 h1{font-size:36px!important;line-height:1.12!important}
 h2{font-size:28px!important;line-height:1.15!important}
 section>div,section,footer>div{padding-left:18px!important;padding-right:18px!important}
 section{padding-top:56px!important;padding-bottom:56px!important}
 .atc-form{padding:22px!important}
}
/* blog / default templates */
.atc-article{max-width:780px;margin:0 auto;padding:56px 24px 72px}
.atc-article h1{font-size:42px;line-height:1.12;color:#16212e;margin:0 0 12px}
.atc-article h2{font-size:30px;color:#16212e;margin:40px 0 12px}
.atc-article h3{font-size:23px;color:#16212e;margin:28px 0 10px}
.atc-meta{color:#5b6878;font-size:15px;margin:0 0 28px}
.atc-article img{border-radius:10px}
.atc-cta-box{background:#16212e;color:#d6e1ec;border-radius:12px;padding:28px;margin:48px 0 0}
.atc-cta-box h2{color:#fff;margin:0 0 8px;font-size:28px}
.atc-cta-box a.btn{display:inline-block;background:#e19345;color:#16212e;font-weight:700;text-decoration:none;padding:13px 20px;border-radius:6px;margin-top:10px}
.atc-list{max-width:1000px;margin:0 auto;padding:56px 24px 80px}
.atc-list h1{font-size:44px;color:#16212e;margin:0 0 28px}
.atc-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}
.atc-card{border:1px solid #dfe5ec;border-radius:12px;padding:22px;display:flex;flex-direction:column;gap:8px}
.atc-card h2{font-size:22px;line-height:1.2;margin:0}.atc-card h2 a{color:#16212e;text-decoration:none}
.atc-card p{margin:0;font-size:15px}
.atc-pagination{margin-top:32px;display:flex;gap:12px}
/* desktop header */
@media (min-width:1101px){header>div{flex-wrap:nowrap!important}header nav[aria-label="Main"]{gap:6px 22px!important;flex-wrap:nowrap!important;white-space:nowrap}}
/* mobile header v1.0.1 */
main{overflow-x:clip}
[data-atc-cta]{white-space:nowrap}
@media (max-width:700px){
 .atc-topbar>div{padding:6px 16px!important;gap:4px 14px!important;font-size:13px}
 .atc-topbar>div>div:first-child>span:nth-child(2),
 .atc-topbar>div>div:last-child>a[href^="tel:"]{display:none}
 header>div{padding:12px 16px!important;gap:10px 10px!important}
 header>div>a:first-child>span{display:none}
 header>div>a:first-child img{width:155px!important;height:50px!important}
 .atc-menu-btn{order:2;margin-left:auto}
 header nav[aria-label="Main"]{order:4}
 [data-atc-cta]{order:3;font-size:14px!important;padding:9px 12px!important;min-height:40px!important}
}
/* ATC-REFINE-START desktop refinements */
@media (min-width:1000px){
 /* 4 cards: 2x2 instead of 3 + 1 */
 [style*="minmax(240px"]:has(> :nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))!important}
 /* 5 cards: one row of 5 instead of 4 + 1 */
 [style*="minmax(260px"]:has(> :nth-child(5):last-child){grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:24px!important}
 [style*="minmax(260px"]:has(> :nth-child(5):last-child) h3{font-size:21px!important}
 /* 6 cards: 3 + 3 instead of 4 + 2 */
 [style*="minmax(270px"]:has(> :nth-child(6):last-child){grid-template-columns:repeat(3,minmax(0,1fr))!important}
 /* home service cards: buttons line up at the bottom */
 [style*="minmax(340px"] > div{display:flex;flex-direction:column}
 [style*="minmax(340px"] > div > a:last-child{margin-top:auto;align-self:flex-start}
}
/* breathing room between the dark quote band and the buyer's guide box */
section[style*="background: #16212e"] + section[style*="padding: 0 24px"]{padding-top:72px!important;padding-bottom:8px!important}
/* header tagline on two lines, not three (desktop) */
@media (min-width:1000px){header a > span[style*="max-width: 120px"]{max-width:190px!important}header a:has(> span[style*="max-width: 120px"]){flex-shrink:0}}
/* home FAQ heading centred over its centred list */
section[style*="#f4f7fa"] > div[style*="max-width: 900px"] > h2{text-align:center}
/* ATC-REFINE-END */
/* ATC-LOGOS-START partner logos + back to top */
.atc-logo{display:block;width:auto;max-width:none;filter:grayscale(1);opacity:.62;transition:filter .2s,opacity .2s}
.atc-logo:hover{filter:none;opacity:1}
.atc-logos{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:18px 44px}
@media (max-width:700px){.atc-logos{gap:16px 28px}.atc-logo{transform:scale(.85)}}
.atc-top{position:fixed;right:22px;bottom:22px;z-index:900;width:48px;height:48px;border-radius:50%;border:0;background:#1677b3;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 6px 18px rgba(11,21,34,.25);opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .25s,transform .25s,visibility .25s,background .2s}
.atc-top.show{opacity:1;visibility:visible;transform:none}
.atc-top:hover{background:#0f5a88}
.atc-top:focus-visible{outline:3px solid #4ecff8;outline-offset:3px}
@media (max-width:700px){.atc-top{right:14px;bottom:14px;width:44px;height:44px}}
.atc-logo[alt="Risk Cognizance"]{height:54px!important;filter:grayscale(1) brightness(.55) contrast(1.6)}.atc-logo[alt="Risk Cognizance"]:hover{filter:none}
/* ATC-LOGOS-END */
