/*
Theme Name: Fixie IT
Theme URI: https://www.fixieit.com/
Author: Fixie IT
Author URI: https://www.fixieit.com/
Description: Tools-centric theme for Fixie IT — a free AI tech-help hub. Homepage features the Ask Fixie AI chatbot, the One-Click PC Booster star product, a searchable hub of all free tools (security first), Shorts Lab, and the latest blog guides. Clean, fast, international-ready.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fixie-it
*/

:root{
  --ink:#16212C;--slate:#566472;--paper:#ECF1F3;--surface:#FFFFFF;
  --teal:#0F7C78;--teal-bright:#13A39C;--spark:#EE9A22;--line:#D9E1E6;
  --shadow:0 1px 2px rgba(22,33,44,.04),0 14px 34px -20px rgba(22,33,44,.28);
  --radius:16px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Hanken Grotesk",system-ui,sans-serif;background:var(--paper);color:var(--ink);line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
h1,h2,h3,h4{font-family:"Bricolage Grotesque",sans-serif;line-height:1.1;letter-spacing:-.02em;margin:0}
p{margin:0}
.wrap{max-width:1180px;margin:0 auto;padding:0 24px}
.ticket{display:inline-flex;align-items:center;gap:7px;font-family:"Spline Sans Mono",monospace;font-size:.7rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--teal);background:rgba(15,124,120,.09);padding:5px 10px;border-radius:6px}
.ticket::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--spark)}
.skip-link{position:absolute;left:-9999px}
.skip-link:focus{left:16px;top:16px;background:#fff;padding:10px 16px;border-radius:8px;z-index:200}

/* NAV */
header.nav{position:sticky;top:0;z-index:50;background:rgba(236,241,243,.86);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:70px}
.brand{display:flex;align-items:center;gap:10px}
.brand img.custom-logo{height:40px;width:auto}
.brand .name{font-family:"Bricolage Grotesque";font-weight:800;font-size:1.3rem;letter-spacing:-.02em}
.brand .name b{color:var(--teal)}
nav.menu ul{display:flex;align-items:center;gap:2px;list-style:none;margin:0;padding:0}
nav.menu li{list-style:none}
nav.menu a{display:inline-block;padding:9px 13px;border-radius:9px;font-weight:500;font-size:.93rem;color:var(--slate);transition:.18s}
nav.menu a:hover,nav.menu .current-menu-item>a{color:var(--ink);background:rgba(22,33,44,.05)}
.nav-right{display:flex;align-items:center;gap:10px}
.lang{font-family:"Spline Sans Mono";font-size:.76rem;color:var(--slate);border:1px solid var(--line);padding:6px 9px;border-radius:8px;cursor:pointer;background:var(--surface)}
.burger{display:none;background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:9px;cursor:pointer}
.burger span{display:block;width:20px;height:2px;background:var(--ink);margin:4px 0;border-radius:2px}

/* HERO */
.hero{position:relative;overflow:hidden;padding:72px 0 60px}
.hero::before{content:"";position:absolute;inset:0;background:radial-gradient(900px 420px at 80% -10%,rgba(19,163,156,.16),transparent 60%),radial-gradient(700px 360px at 5% 115%,rgba(238,154,34,.10),transparent 55%);pointer-events:none}
.hero-grid{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.hero h1{font-size:clamp(2.4rem,5vw,3.7rem);font-weight:800;margin:16px 0 14px}
.hero h1 em{font-style:normal;color:var(--teal)}
.hero p.lede{font-size:1.15rem;color:var(--slate);max-width:36ch;margin-bottom:22px}
.hero-chips{display:flex;flex-wrap:wrap;gap:8px}
.hero-chips a{font-size:.83rem;color:var(--slate);background:var(--surface);border:1px solid var(--line);padding:7px 13px;border-radius:30px;transition:.16s}
.hero-chips a:hover{border-color:var(--teal);color:var(--ink)}

/* AI ANSWER BOX */
.ai-box{background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);overflow:hidden}
.ai-top{display:flex;align-items:center;gap:11px;padding:15px 18px;border-bottom:1px solid var(--line);background:linear-gradient(180deg,rgba(15,124,120,.05),transparent)}
.ai-top .av{width:34px;height:34px;border-radius:10px;background:var(--teal);display:grid;place-items:center;flex:none}
.ai-top b{font-family:"Bricolage Grotesque";font-size:1rem;font-weight:700}
.ai-top small{display:block;color:var(--teal);font-size:.74rem;font-family:"Spline Sans Mono"}
.ai-embed{padding:14px;min-height:150px}
.ai-fallback{padding:36px 18px;text-align:center;color:var(--slate);font-size:.92rem}

/* STAR PRODUCT */
section.block{padding:56px 0}
.star{background:var(--ink);color:#fff;border-radius:26px;padding:48px 44px;position:relative;overflow:hidden;display:grid;grid-template-columns:1.25fr .75fr;gap:40px;align-items:center}
.star::after{content:"";position:absolute;right:-90px;top:-90px;width:340px;height:340px;border-radius:50%;background:radial-gradient(circle,rgba(238,154,34,.28),transparent 65%)}
.star .ticket{background:rgba(238,154,34,.16);color:#f6c074}
.star .ticket::before{background:var(--spark)}
.star h2{color:#fff;font-size:clamp(1.9rem,3.4vw,2.7rem);margin:14px 0 12px;position:relative}
.star p{color:#c0ccd5;max-width:46ch;position:relative;margin-bottom:22px}
.star .dl{display:inline-flex;align-items:center;gap:10px;background:var(--spark);color:#3a2606;font-weight:700;font-family:"Bricolage Grotesque";font-size:1.05rem;padding:15px 26px;border-radius:13px;position:relative;transition:.18s}
.star .dl:hover{transform:translateY(-2px);box-shadow:0 14px 30px -10px rgba(238,154,34,.6)}
.star .meta{position:relative;margin-top:14px;display:flex;gap:18px;flex-wrap:wrap;font-size:.85rem;color:#9fb0bb;font-family:"Spline Sans Mono"}
.steps{position:relative;display:grid;gap:12px}
.step{display:flex;gap:13px;align-items:center;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:13px;padding:14px 16px}
.step .num{width:30px;height:30px;border-radius:9px;background:var(--teal);display:grid;place-items:center;font-family:"Bricolage Grotesque";font-weight:700;flex:none;color:#fff}
.step b{font-weight:600;font-size:.96rem}
.step small{display:block;color:#9fb0bb;font-size:.82rem}

/* TOOLS HUB */
.sec-head{margin-bottom:24px}
.sec-head h2{font-size:clamp(1.7rem,3vw,2.3rem);font-weight:800;margin-top:12px}
.sec-head p{color:var(--slate);margin-top:6px}
.tools-bar{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-bottom:18px}
.search{flex:1;min-width:240px;display:flex;align-items:center;gap:9px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:11px 14px;box-shadow:var(--shadow)}
.search input{flex:1;border:none;outline:none;font-family:inherit;font-size:.97rem;background:transparent;color:var(--ink)}
.trust{display:flex;gap:14px;font-size:.8rem;color:var(--slate);flex-wrap:wrap}
.trust b{color:var(--ink)}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:26px}
.chip{font-family:"Spline Sans Mono";font-size:.8rem;font-weight:500;border:1px solid var(--line);background:var(--surface);color:var(--slate);padding:8px 14px;border-radius:30px;cursor:pointer;transition:.16s}
.chip:hover{border-color:var(--teal);color:var(--ink)}
.chip.on{background:var(--teal);border-color:var(--teal);color:#fff}
.cat-title{display:flex;align-items:center;gap:10px;margin:30px 0 14px;font-family:"Bricolage Grotesque";font-size:1.15rem;font-weight:700}
.cat-title .bar{width:26px;height:3px;border-radius:3px;background:var(--teal)}
.cat-title .cnt{font-family:"Spline Sans Mono";font-size:.72rem;color:var(--slate);font-weight:500}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}
.tool{display:flex;flex-direction:column;gap:8px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:15px;transition:.18s;position:relative}
.tool:hover{transform:translateY(-3px);border-color:var(--teal);box-shadow:var(--shadow)}
.tool .ic{width:38px;height:38px;border-radius:10px;background:rgba(15,124,120,.09);display:grid;place-items:center;font-size:1.15rem}
.tool b{font-family:"Bricolage Grotesque";font-size:.98rem;font-weight:700;line-height:1.15}
.tool small{color:var(--slate);font-size:.83rem;line-height:1.35}
.tool .star-tag{position:absolute;top:12px;right:12px;font-family:"Spline Sans Mono";font-size:.6rem;font-weight:600;letter-spacing:.05em;color:var(--spark);background:rgba(238,154,34,.12);padding:3px 7px;border-radius:5px}
.empty{display:none;text-align:center;color:var(--slate);padding:30px;font-size:.95rem}

/* SHORTS LAB */
.shorts{background:linear-gradient(120deg,#103a3a,#0F7C78);color:#fff;border-radius:22px;padding:38px 40px;display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center;overflow:hidden;position:relative}
.shorts .ticket{background:rgba(255,255,255,.14);color:#bff0ec}
.shorts h2{color:#fff;font-size:clamp(1.5rem,2.6vw,2rem);margin:12px 0 8px}
.shorts p{color:#d6f0ee;max-width:48ch;margin-bottom:18px}
.shorts .btn{display:inline-flex;align-items:center;gap:8px;background:#fff;color:var(--teal);font-weight:700;font-family:"Bricolage Grotesque";padding:13px 22px;border-radius:11px;transition:.18s}
.shorts .btn:hover{transform:translateY(-2px)}
.shorts .play{font-size:4.5rem;line-height:1}

/* POSTS */
.sec-flex{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}
.sec-flex a.more{color:var(--teal);font-weight:600;font-size:.94rem;white-space:nowrap}
.posts{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
article.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:.2s}
article.card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#c7d3da}
.card .thumb{aspect-ratio:16/10;overflow:hidden;background:#dde5ea;display:block}
.card .thumb img{width:100%;height:100%;object-fit:cover;transition:.4s}
article.card:hover .thumb img{transform:scale(1.04)}
.card .thumb.ph{background:linear-gradient(120deg,#dce6ea,#eef3f5)}
.card .cbody{padding:15px 16px 18px;display:flex;flex-direction:column;flex:1}
.card .cat{font-family:"Spline Sans Mono";font-size:.65rem;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--teal);margin-bottom:8px}
.card h3{font-size:1.04rem;font-weight:700;line-height:1.22;margin-bottom:8px}
.card h3 a:hover{color:var(--teal)}
.card p{font-size:.88rem;color:var(--slate);flex:1}
.card .read{margin-top:12px;font-size:.83rem;font-weight:600}
.card .read::after{content:" →";color:var(--teal)}

/* SINGLE / PAGE CONTENT */
.content-wrap{max-width:760px;margin:0 auto;padding:50px 24px 20px}
.content-wrap .eyebrow{font-family:"Spline Sans Mono";font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:var(--teal);margin-bottom:12px;display:block}
.content-wrap h1.entry-title{font-size:clamp(2rem,4vw,2.9rem);font-weight:800;margin-bottom:14px}
.entry-meta{color:var(--slate);font-size:.9rem;margin-bottom:24px}
.entry-hero{border-radius:var(--radius);overflow:hidden;margin:0 auto 30px;max-width:980px}
.entry-content{font-size:1.06rem;line-height:1.7}
.entry-content > *{margin-bottom:1.1em}
.entry-content h2{font-size:1.6rem;font-weight:700;margin:1.4em 0 .5em}
.entry-content h3{font-size:1.3rem;font-weight:700;margin:1.2em 0 .4em}
.entry-content a{color:var(--teal);text-decoration:underline;text-underline-offset:2px}
.entry-content img{border-radius:12px}
.entry-content blockquote{border-left:3px solid var(--teal);padding-left:18px;color:var(--slate);font-style:italic}
.entry-content ul,.entry-content ol{padding-left:1.3em}
.entry-content li{margin-bottom:.4em}
.back-link{display:inline-block;margin:10px 0 40px;color:var(--teal);font-weight:600}
.pagination{display:flex;gap:8px;justify-content:center;margin:40px 0;flex-wrap:wrap}
.pagination .page-numbers{padding:9px 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface);font-weight:600;font-size:.9rem}
.pagination .current{background:var(--teal);border-color:var(--teal);color:#fff}
.archive-head{padding:46px 0 6px}
.archive-head h1{font-size:clamp(1.8rem,3.4vw,2.5rem);font-weight:800}

/* FOOTER */
footer.site-footer{background:var(--ink);color:#c3cdd5;margin-top:34px}
.foot-top{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:30px;padding:54px 0 38px}
.foot-brand .name{font-family:"Bricolage Grotesque";font-weight:800;font-size:1.3rem;color:#fff;margin-bottom:10px}
.foot-brand .name b{color:var(--teal-bright)}
.foot-brand p{font-size:.9rem;max-width:30ch;color:#94a3ad}
footer.site-footer h4{color:#fff;font-size:.76rem;letter-spacing:.08em;text-transform:uppercase;font-family:"Spline Sans Mono";margin-bottom:14px;font-weight:600}
footer.site-footer ul{list-style:none;display:grid;gap:10px;margin:0;padding:0}
footer.site-footer ul a{font-size:.91rem;color:#aebac3;transition:.15s}
footer.site-footer ul a:hover{color:#fff}
.foot-bottom{border-top:1px solid rgba(255,255,255,.1);padding:20px 0;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;font-size:.84rem;color:#8896a0}
.foot-bottom a{color:#8896a0}.foot-bottom a:hover{color:#fff}

/* FLOATING CHAT */
.chat-bubble{position:fixed;right:22px;bottom:22px;z-index:60;display:flex;align-items:center;gap:10px;background:var(--teal);color:#fff;border:none;border-radius:40px;padding:13px 19px 13px 15px;font-family:"Hanken Grotesk";font-weight:600;font-size:.92rem;cursor:pointer;box-shadow:0 14px 34px -10px rgba(15,124,120,.7);transition:.2s;text-decoration:none}
.chat-bubble:hover{background:var(--teal-bright);transform:translateY(-2px)}
.chat-bubble .ico{width:26px;height:26px;display:grid;place-items:center;background:rgba(255,255,255,.18);border-radius:50%}

@media(max-width:980px){.grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){
  .hero-grid{grid-template-columns:1fr;gap:34px}
  .star{grid-template-columns:1fr;gap:28px;padding:36px 26px}
  .shorts{grid-template-columns:1fr}
  .posts{grid-template-columns:1fr 1fr}
  .foot-top{grid-template-columns:1fr 1fr}
  nav.menu,.lang{display:none}
  nav.menu.open{display:block;position:absolute;top:70px;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);padding:12px 24px}
  nav.menu.open ul{flex-direction:column;align-items:stretch;gap:2px}
  .burger{display:block}
}
@media(max-width:600px){.grid{grid-template-columns:1fr 1fr}.posts{grid-template-columns:1fr}.foot-top{grid-template-columns:1fr}}
@media(max-width:420px){.grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto}}
:focus-visible{outline:2.5px solid var(--teal-bright);outline-offset:2px;border-radius:4px}

/* FAQ (AEO) */
.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 36px}
.faq-item{border-top:1px solid var(--line);padding:20px 0}
.faq-item h3{font-family:"Bricolage Grotesque";font-size:1.08rem;font-weight:700;margin-bottom:7px;line-height:1.25}
.faq-item p{color:var(--slate);font-size:.93rem}
.faq-cta{display:inline-block;margin-top:9px;color:var(--teal);font-weight:600;font-size:.86rem}
.faq-cta:hover{text-decoration:underline}
@media(max-width:700px){.faq-grid{grid-template-columns:1fr}}

/* Pages (tools, About, etc.): wide content area to remove side gaps */
.content-wrap.page-content{max-width:1040px;padding-top:34px}
.content-wrap.page-content .entry-content{font-size:1.04rem}
/* let tool widgets/shortcodes use the full width of the page column */
.page-content .entry-content > *{max-width:100%}
.page-content .entry-content iframe{width:100%;max-width:100%;border:0}
@media(max-width:680px){.content-wrap.page-content{padding-left:18px;padding-right:18px}}
