/*
Theme Name: Phoenix Geeks Default Theme
Theme URI: https://phoenixgeeks.us/
Author: Phoenix Geeks
Author URI: https://phoenixgeeks.us/
Description: Lightweight, Elementor-free default theme for Phoenix Geeks. Fast header with logo + ad, grey multi-row menus, site-wide breadcrumbs + search bar, footer with 3 menus, code injection fields, and KB templates.
Version: 1.2.0
License: GPL-2.0-or-later
Text Domain: pgdt
*/
:root { --pgdt-gray:#f3f4f6; --pgdt-dark:#111827; --pgdt-border:#e5e7eb; }
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;line-height:1.6;color:#111}
.container{max-width:1200px;margin:0 auto;padding:0 16px}
.pgdt-header-top{background:#fff;border-bottom:1px solid var(--pgdt-border)}
.pgdt-header-flex{display:flex;align-items:center;gap:16px;padding:10px 0}
.pgdt-logo img{height:300px;max-width:100%;width:auto;display:block}
.pgdt-ad{flex:1;display:flex;justify-content:flex-end;align-items:center;min-height:60px;overflow:auto}
.pgdt-menus-wrap{background:var(--pgdt-gray);border-bottom:1px solid var(--pgdt-border)}
.pgdt-menu-row{display:flex;gap:20px;align-items:center;justify-content:center;padding:6px 0}
.pgdt-menu-row.alt{background:#fff}
.pgdt-menu{position:relative}
.pgdt-menu ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:12px}
.pgdt-menu a{text-decoration:none;color:#111;padding:6px 10px;border-radius:6px}
.pgdt-menu li{position:relative}
.pgdt-menu li:hover > a{background:#111;color:#fff}
.pgdt-menu li:hover > ul.sub-menu{display:block}
.pgdt-menu ul.sub-menu{display:none;position:absolute;background:#fff;border:1px solid var(--pgdt-border);border-radius:8px;min-width:220px;z-index:20;padding:6px;box-shadow:0 10px 25px rgba(0,0,0,.06)}
.pgdt-menu ul.sub-menu li{display:block}
.pgdt-menu ul.sub-menu a{display:block}
.pgdt-meta-bar{display:flex;gap:12px;align-items:center;justify-content:space-between;background:var(--pgdt-gray);border-bottom:1px solid var(--pgdt-border);padding:8px 0}
.pgdt-breadcrumbs{font-size:.9rem}
.pgdt-breadcrumbs a{text-decoration:none;color:#374151}
.pgdt-breadcrumbs .sep{opacity:.6;margin:0 .35rem}
.pgdt-searchbar form{display:flex;gap:8px;align-items:center}
.pgdt-searchbar input[type="search"]{padding:8px;border:1px solid var(--pgdt-border);border-radius:6px;min-width:280px}
.pgdt-searchbar button{padding:8px 12px;border:1px solid var(--pgdt-border);border-radius:6px;background:#111;color:#fff;cursor:pointer}
main.container{padding:16px 0}
.pgdt-footer{background:#111;color:#f9fafb;margin-top:24px}
.pgdt-footer a{color:#f9fafb;text-decoration:none}
.pgdt-footer-top{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding:20px 0;border-bottom:1px solid rgba(255,255,255,.1)}
.pgdt-footer .menu ul{list-style:none;margin:0;padding:0}
.pgdt-footer .menu li{margin:4px 0}
.pgdt-footer-bottom{text-align:center;padding:12px 0;font-size:.9rem}
.pgdt-revisions{margin-left:8px;font-size:.9rem;opacity:.9}
.kb-root-cats{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin:16px 0}
.kb-cat{border:1px solid var(--pgdt-border);border-radius:8px;padding:12px;background:#fff}
.pgkb-item{border-bottom:1px solid var(--pgdt-border);padding:10px 0}
.pagination{display:flex;justify-content:center;gap:8px;margin:12px 0;padding:0;list-style:none}
.pagination a,.pagination span{padding:6px 10px;border:1px solid var(--pgdt-border);border-radius:6px;text-decoration:none}
.pagination .current{background:#111;color:#fff;border-color:#111}
