/*
Theme Name: Apptitude
Theme URI: https://webabby.com/
Author: Webabby Services
Author URI: https://webabby.com/
Description: A clean, distraction-free theme built to host the Apptitude aptitude-testing plugin. Ink-and-amber palette, Space Grotesk / Inter typography. Works as a light general-purpose theme too.
Version: 1.0.0
Requires at least: 5.8
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: apptitude-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root{
  --ink:#16324F;--ink-2:#1f4266;--amber:#E8963A;--page:#F5F7FA;--border:#E2E8F0;--text:#1A2733;--muted:#5B6B7B;
}
*{box-sizing:border-box}
body{margin:0;background:var(--page);color:var(--text);font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.6}
a{color:var(--ink-2)}
h1,h2,h3,h4{font-family:'Space Grotesk',sans-serif;color:var(--ink);line-height:1.2}
img{max-width:100%;height:auto}

/* header */
.site-header{background:var(--ink);color:#fff}
.site-header .bar{max-width:1120px;margin:0 auto;padding:0 22px;height:64px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.site-brand{font-family:'Space Grotesk';font-weight:700;font-size:1.2rem;color:#fff;text-decoration:none;letter-spacing:-.01em}
.site-brand b{color:var(--amber);font-weight:700}
.site-nav{display:flex;gap:20px;align-items:center;flex-wrap:wrap}
.site-nav a{color:#cdd8e4;text-decoration:none;font-size:.93rem;font-weight:500}
.site-nav a:hover{color:#fff}
.site-nav .cta{background:var(--amber);color:#231405;padding:8px 15px;border-radius:9px;font-weight:600}
.site-nav .cta:hover{background:#c67a24;color:#fff}

/* content */
.site-main{max-width:1120px;margin:0 auto;padding:34px 22px 64px}
.site-main .entry-title{font-size:2rem;margin:0 0 18px}
.entry-content{background:transparent}
.page-template-portal .entry-title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* footer */
.site-footer{border-top:1px solid var(--border);background:#fff}
.site-footer .bar{max-width:1120px;margin:0 auto;padding:22px;color:var(--muted);font-size:.88rem;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}

/* generic post list (non-portal pages) */
.post-card{background:#fff;border:1px solid var(--border);border-radius:12px;padding:24px;margin-bottom:20px;box-shadow:0 1px 2px rgba(16,42,66,.05)}
:focus-visible{outline:2px solid var(--amber);outline-offset:2px}
@media (max-width:600px){.site-header .bar{height:auto;padding:12px 18px;flex-wrap:wrap}}
