/*
Theme Name: ZabariyaTools Pro
Theme URI: https://zabariyatools.com/
Author: ZabariyaTools
Author URI: https://zabariyatools.com/
Description: A modern, responsive WordPress theme for online calculators, utility tools and AI tools. Includes a searchable tools directory, tool post type, categories, SEO-friendly templates and accessible navigation.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zabariyatools
Tags: blog, custom-logo, custom-menu, featured-images, grid-layout, full-width-template, translation-ready
*/
:root{--zt-primary:#1555d9;--zt-primary-dark:#0b3298;--zt-accent:#0aa58f;--zt-tool-orange:#f28b16;--zt-ink:#14213d;--zt-muted:#64748b;--zt-bg:#f5f7fc;--zt-card:#fff;--zt-border:#e5eaf3;--zt-radius:18px;--zt-shadow:0 12px 34px rgba(22,39,79,.07)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--zt-bg);color:var(--zt-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:16px;line-height:1.65}a{color:var(--zt-primary);text-decoration:none}a:hover{color:var(--zt-primary-dark)}img{max-width:100%;height:auto}.zt-container{width:min(1160px,calc(100% - 40px));margin-inline:auto}.screen-reader-text{position:absolute;left:-9999px}.screen-reader-text:focus{left:12px;top:12px;background:#fff;padding:12px;z-index:9999}
.zt-header{background:rgba(255,255,255,.96);border-bottom:1px solid var(--zt-border);position:sticky;top:0;z-index:99;backdrop-filter:blur(12px)}.zt-header-inner{min-height:94px;display:flex;align-items:center;justify-content:space-between;gap:24px}.zt-brand{display:flex;align-items:center;flex:0 1 330px;min-width:0;color:var(--zt-ink)}.zt-brand:hover{color:var(--zt-ink)}.zt-brand-logo{display:block;width:100%;max-width:330px;height:auto;max-height:88px;object-fit:contain}.zt-brand .custom-logo-link{display:block;line-height:0}.zt-brand .custom-logo{display:block;width:auto;max-width:330px;height:auto;max-height:88px;object-fit:contain}.zt-nav{display:flex;align-items:center;gap:24px}.zt-nav ul{display:flex;align-items:center;gap:22px;list-style:none;margin:0;padding:0}.zt-nav a{color:#334155;font-size:.94rem;font-weight:650}.zt-nav a:hover,.zt-nav .current-menu-item>a{color:var(--zt-primary)}.zt-menu-toggle{display:none;border:1px solid var(--zt-border);background:#fff;border-radius:12px;padding:9px 12px;font-size:1.2rem;color:var(--zt-ink)}
.zt-hero{padding:74px 0 54px;background:radial-gradient(ellipse at 50% 0%,#e4ebff 0,rgba(245,247,252,0) 62%);text-align:center}.zt-eyebrow{display:inline-flex;align-items:center;gap:8px;background:#e9efff;color:var(--zt-primary);font-size:.8rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:7px 13px;border-radius:99px}.zt-hero h1{font-size:clamp(2.2rem,5vw,3.8rem);line-height:1.12;letter-spacing:-2px;margin:18px auto 14px;max-width:850px}.zt-hero h1 em{font-style:normal;color:var(--zt-primary)}.zt-hero p{max-width:690px;margin:0 auto;color:var(--zt-muted);font-size:1.1rem}.zt-search{max-width:680px;margin:28px auto 0;display:flex;gap:10px;padding:8px;background:#fff;border:1px solid var(--zt-border);border-radius:16px;box-shadow:var(--zt-shadow)}.zt-search input{min-width:0;flex:1;border:0;outline:0;padding:12px 14px;font:inherit;background:transparent}.zt-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;background:var(--zt-primary);color:#fff!important;padding:12px 20px;font:inherit;font-weight:750;cursor:pointer;transition:.2s}.zt-btn:hover{background:var(--zt-primary-dark);transform:translateY(-1px)}.zt-btn-outline{background:#fff;color:var(--zt-primary)!important;border:1px solid var(--zt-border)}.zt-btn-outline:hover{background:#f0f4ff}
.zt-section{padding:36px 0}.zt-section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}.zt-section h2{font-size:clamp(1.55rem,3vw,2.1rem);letter-spacing:-.8px;margin:0}.zt-section-head p{color:var(--zt-muted);margin:5px 0 0}.zt-category-grid,.zt-tools-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.zt-category,.zt-tool-card,.zt-content-card{background:var(--zt-card);border:1px solid var(--zt-border);border-radius:var(--zt-radius);box-shadow:0 3px 14px rgba(22,39,79,.025)}.zt-category{padding:22px;display:flex;align-items:center;gap:15px;color:var(--zt-ink);transition:.2s}.zt-category:hover,.zt-tool-card:hover{transform:translateY(-4px);box-shadow:var(--zt-shadow);border-color:#cbd7ff}.zt-category-icon{width:48px;height:48px;border-radius:15px;background:#edf2ff;color:var(--zt-primary);display:grid;place-items:center;font-size:1.45rem}.zt-category strong{display:block;font-size:1.03rem}.zt-category small{color:var(--zt-muted)}
.zt-tool-card{padding:23px;display:flex;flex-direction:column;min-height:200px;color:var(--zt-ink);transition:.2s}.zt-tool-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.zt-tool-icon{width:44px;height:44px;border-radius:14px;background:#eaf8f5;color:#079879;display:grid;place-items:center;font-size:1.35rem}.zt-pill{font-size:.72rem;font-weight:800;color:#087e68;background:#e7f8f3;border-radius:99px;padding:5px 9px}.zt-tool-card h3{font-size:1.1rem;line-height:1.35;margin:0 0 7px}.zt-tool-card p{margin:0;color:var(--zt-muted);font-size:.92rem}.zt-tool-link{margin-top:auto;padding-top:17px;font-weight:800;font-size:.9rem;color:var(--zt-primary)}
.zt-cta{margin:35px 0 55px;padding:34px;border-radius:24px;background:linear-gradient(120deg,#203d9c,#3157d5 60%,#4777ef);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:25px}.zt-cta h2{margin:0 0 6px;font-size:1.7rem}.zt-cta p{margin:0;color:#e1e9ff}.zt-cta .zt-btn{background:#fff;color:var(--zt-primary)!important;white-space:nowrap}
.zt-page{padding:44px 0 70px}.zt-page-title{margin:0 0 24px;font-size:clamp(2rem,4vw,2.8rem);letter-spacing:-1.2px}.zt-content-card{padding:clamp(22px,4vw,42px)}.zt-content-card h1,.zt-content-card h2,.zt-content-card h3{line-height:1.25}.zt-content-card p,.zt-content-card li{color:#475569}.zt-breadcrumb{font-size:.85rem;color:var(--zt-muted);margin-bottom:16px}.zt-directory-tools{margin-top:20px}.zt-no-results{padding:25px;background:#fff;border:1px dashed var(--zt-border);border-radius:14px;color:var(--zt-muted)}
.zt-footer{background:#101b35;color:#cbd5e1;padding:48px 0 20px;margin-top:30px}.zt-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:35px}.zt-footer h3,.zt-footer h4{color:#fff;margin:0 0 12px}.zt-footer p{color:#aebbd2;max-width:390px}.zt-footer a{color:#cbd5e1}.zt-footer a:hover{color:#fff}.zt-footer ul{list-style:none;margin:0;padding:0}.zt-footer li{margin:8px 0}.zt-copyright{border-top:1px solid #2a3855;margin-top:30px;padding-top:18px;text-align:center;color:#91a0bb;font-size:.87rem}
.zt-pagination{margin:30px 0}.zt-pagination .page-numbers{display:inline-block;padding:8px 13px;background:#fff;border:1px solid var(--zt-border);border-radius:9px;margin:3px}.zt-pagination .current{background:var(--zt-primary);color:#fff}
@media(max-width:800px){.zt-header-inner{min-height:76px}.zt-brand{flex-basis:245px}.zt-brand-logo{max-width:245px;max-height:68px}.zt-brand .custom-logo{max-width:245px;max-height:68px}.zt-menu-toggle{display:block}.zt-nav{display:none;position:absolute;top:68px;left:0;right:0;background:#fff;border-bottom:1px solid var(--zt-border);padding:18px 22px}.zt-nav.is-open{display:block}.zt-nav ul{display:flex;align-items:stretch;flex-direction:column;gap:14px}.zt-category-grid,.zt-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.zt-hero{padding:54px 0 38px}.zt-cta{align-items:flex-start;flex-direction:column}.zt-footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:540px){.zt-container{width:min(100% - 28px,1160px)}.zt-brand{flex-basis:205px}.zt-brand-logo{max-width:205px;max-height:60px}.zt-brand .custom-logo{max-width:205px;max-height:60px}.zt-category-grid,.zt-tools-grid{grid-template-columns:1fr}.zt-hero h1{letter-spacing:-1.2px}.zt-search{flex-direction:column}.zt-search .zt-btn{width:100%}.zt-section-head{align-items:flex-start;flex-direction:column}.zt-footer-grid{grid-template-columns:1fr}.zt-content-card{padding:22px}}

/* Readable policy and informational pages */
.zt-content-card{overflow-wrap:anywhere}.zt-content-card h2{margin-top:1.8em}.zt-content-card h2:first-child{margin-top:0}.zt-content-card a{text-decoration:underline;text-underline-offset:3px}
