/*
Theme Name: Aimbigtech
Theme URI: https://aimbigtech.com
Author: Aimbigtech
Author URI: https://aimbigtech.com
Description: Custom WordPress theme converted from the Aimbigtech static HTML site package (49 pages: homepage, hub pages, articles, reviews, comparisons, best-of lists and legal pages). Each page keeps its original hand-tuned design via a dedicated Page Template; shared header/footer markup is centralized for maintainability.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aimbigtech
*/

/* ============================================================
   BASE / SITEWIDE SAFETY NET
   Every page template embeds its own complete, original CSS
   (design tokens, header, footer, and page-specific rules) via
   wp_head, so this file intentionally stays minimal: WP-required
   theme header above, plus a few sitewide defaults that apply
   before a template's own styles load.
   ============================================================ */

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0;background:#F7F6F3;color:#12141C;font-family:'Inter',sans-serif;line-height:1.55;}
img{max-width:100%;height:auto;display:block;}
a{color:inherit;}

/* Keep the admin toolbar from covering the sticky header */
.admin-bar header.site{top:32px;}
@media screen and (max-width:782px){
  .admin-bar header.site{top:46px;}
}

/* Screen-reader text (WP core convention, used by skip links) */
.screen-reader-text{
  border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;
  overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important;
}
.screen-reader-text:focus{
  background:#fff;color:#12141C;display:block;height:auto;left:5px;top:5px;
  padding:15px 23px;width:auto;z-index:100000;text-decoration:none;
}

/* Basic contact-form styling fallback (page template supplies the rest) */
.form-success{background:#E7F6EF;border:1px solid #1F9D6E;color:#0F4A30;padding:14px 18px;border-radius:8px;margin-bottom:18px;font-size:14px;}
.form-error{background:#FBE9E9;border:1px solid #D64545;color:#7A1E1E;padding:14px 18px;border-radius:8px;margin-bottom:18px;font-size:14px;}

/* ------------------------------------------------------------------
   AIMBIGTECH premium media system — shared across all theme templates.
   ------------------------------------------------------------------ */
:root{--brand-blue:#2563EB;--brand-navy:#0F172A;--ink:#0F172A;--paper:#F8FAFC;--indigo:#2563EB;--indigo-dark:#1D4ED8;--display:'Fraunces',serif;--mono:'IBM Plex Mono',monospace;--body:'Inter',sans-serif;}
a{transition:color .16s ease,border-color .16s ease;}
/* Legacy templates keep their layout but inherit the new palette/typography. */
body.page{background:#F8FAFC;color:#0F172A;}
body.page .hub-hero::before{background:radial-gradient(circle at 24% 20%,rgba(59,130,246,.4),transparent 46%),linear-gradient(155deg,#0F172A,#172554 85%);}
body.page .btn-primary,body.page .pill-btn.p1{background:#2563EB;color:#fff;}
body.page .tag.ai{background:#DBEAFE;color:#1D4ED8;}
body.page .eyebrow,body.page .section-head a,body.page .story-card:hover h4{color:#2563EB;}
body.page .story-card,body.page .tool-card,body.page .deal-card{border-color:#E2E8F0;}
body.page .hero,.body.page .cover-story{background-color:#0F172A;}
body.page .hub-hero::after{background-image:radial-gradient(rgba(255,255,255,.07) 1px,transparent 1px);}
body.page footer.site{background:#0F172A;}
body.page .hm-menu-title{color:#0F172A;}
body.page .hm-menu-section a:hover{color:#2563EB;}
body.page .hm-home{background:#F8FAFC;color:#0F172A;}
/* Legacy site header retained only for non-dynamic WordPress screens. */
header.site.ab-head{background:#fff;color:var(--brand-navy);position:sticky;top:0;z-index:100;box-shadow:0 1px 0 rgba(7,16,29,.08);}
header.site.ab-head .ab-mast-row{display:flex;align-items:center;justify-content:space-between;gap:16px;height:72px;}
header.site.ab-head .ab-logo{display:flex;align-items:center;min-width:0;}
header.site.ab-head .ab-logo img{display:block;height:44px;width:auto;max-width:100%;}
header.site.ab-head .ab-mast .btn{flex-shrink:0;background:var(--brand-blue);}
header.site.ab-head .ab-nav{background:var(--brand-navy);}
header.site.ab-head .ab-nav .wrap{display:flex;align-items:stretch;overflow-x:auto;scrollbar-width:none;}
header.site.ab-head .ab-nav .wrap::-webkit-scrollbar{display:none;}
header.site.ab-head .ab-home{display:flex;align-items:center;padding:0 16px;font-size:18px;color:#fff;border-right:1px solid rgba(255,255,255,.12);}
header.site.ab-head .ab-nav .nav-links{display:flex;flex-wrap:nowrap;gap:0;list-style:none;margin:0;padding:0;}
header.site.ab-head .ab-nav .nav-links li{display:flex;}
header.site.ab-head .ab-nav .nav-links a{display:flex;align-items:center;padding:12px 16px;font-size:14px;font-weight:600;color:#D5DAE5;white-space:nowrap;border-radius:0;border-right:1px solid rgba(255,255,255,.12);}
header.site.ab-head .ab-nav .nav-links a:hover{background:rgba(255,255,255,.08);color:#fff;}
header.site.ab-head .ab-nav .nav-links a.on,
header.site.ab-head .ab-nav .current-menu-item > a,
header.site.ab-head .ab-nav .current-category-ancestor > a{color:#FFB547;background:rgba(255,255,255,.06);}
header.site.ab-head .ab-sub{background:var(--brand-blue);}
header.site.ab-head .ab-sub .wrap{display:flex;align-items:stretch;overflow-x:auto;scrollbar-width:none;}
header.site.ab-head .ab-sub .wrap::-webkit-scrollbar{display:none;}
header.site.ab-head .ab-sub-lbl{display:flex;align-items:center;padding:0 16px 0 0;margin-right:4px;font-family:var(--mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#FFE08A;font-weight:600;white-space:nowrap;}
header.site.ab-head .ab-sub a{display:flex;align-items:center;padding:10px 18px;font-size:13.5px;font-weight:600;color:#fff;white-space:nowrap;border-right:1px solid rgba(255,255,255,.22);}
header.site.ab-head .ab-sub a:first-of-type{border-left:1px solid rgba(255,255,255,.22);}
header.site.ab-head .ab-sub a:hover{background:rgba(7,16,29,.18);}
header.site.ab-head .ab-sub a.on{background:#fff;color:var(--brand-blue);}
.ab-topics{background:#EAF2FF;border-bottom:1px solid #C9DCFF;}
.ab-topics .wrap{display:flex;align-items:center;gap:8px;overflow-x:auto;scrollbar-width:none;padding-top:8px;padding-bottom:8px;}
.ab-topics .wrap::-webkit-scrollbar{display:none;}
.ab-topics-lbl{flex-shrink:0;background:var(--brand-blue);color:#fff;font-weight:700;font-size:13px;padding:6px 12px;border-radius:6px;margin-right:4px;}
.ab-topics a{flex-shrink:0;background:#fff;color:var(--brand-navy);font-size:13px;font-weight:600;padding:5px 12px;border-radius:6px;border:1px solid #D6E4FF;}
.ab-topics a:hover{border-color:var(--brand-blue);color:var(--brand-blue);}
@media(max-width:900px){header.site.ab-head .nav-links{display:flex;}}
@media(max-width:600px){header.site.ab-head .ab-mast-row{height:60px;}header.site.ab-head .ab-logo img{height:30px;}header.site.ab-head .ab-mast .btn{padding:9px 14px;font-size:13px;}}
