/*
Theme Name: Nexora Sport Pro
Theme URI: https://example.com/nexora-sport-pro
Author: Nexora
Author URI: https://example.com
Description: A commercial-ready WordPress theme built around the Nexora Sport Pro football &amp; basketball analyzer — Poisson/Dixon-Coles xG modelling for football and a Normal-distribution scoring model for basketball, delivered as a full-width page template and a [nexora_sport_scanner] shortcode you can drop into any post or page. Includes Google AdSense-ready widget areas (header, sidebar, in-content, footer), a theme Customizer panel for your AdSense IDs and default sport, a "Sport" taxonomy so posts can be tagged Football/Basketball/General, and a styled Recent Sport Posts widget. No login is required for visitors to use the analyzer or read posts — only theme/AdSense configuration and publishing posts happens in wp-admin, same as any standard WordPress site.
Version: 1.4.2
Requires at least: 6.0
Tested up to: 6.6
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: nexora-sport-pro
Tags: sports, blog, two-columns, custom-widgets, custom-menu, footer-widgets, translation-ready

Nexora Sport Pro is a standard WordPress theme. It does not use this file for
component styling — the analyzer's own stylesheet is enqueued separately from
assets/css/nexora-sport.css and is scoped under #nexora-sport-root so it never
bleeds into the rest of your site's design. This file only carries the WP
theme header above (required for WordPress to recognize the theme) and a
small set of base layout rules for the theme chrome (header/footer/blog/ads).
*/

/* ---------- Base reset & typography ---------- */
*,*::before,*::after{box-sizing:border-box}
body.nexora-sport-pro{margin:0;background:#0b1420;color:#e7f3fb;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,sans-serif;line-height:1.6}
a{color:#00e676;text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto;display:block}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}

/* ---------- Layout shell ---------- */
.nsp-wrap{max-width:1200px;margin:0 auto;padding:0 20px}
.nsp-site-header{background:#07182a;border-bottom:1px solid rgba(0,230,118,.15);position:sticky;top:0;z-index:200}
.nsp-site-header .nsp-wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;height:64px}
.nsp-brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:19px;color:#fff;letter-spacing:.3px}
.nsp-brand .nsp-badge{width:34px;height:34px;border-radius:9px;background:linear-gradient(145deg,#00e676,#00c853,#007a33);display:grid;place-items:center;font-size:18px;box-shadow:0 0 16px rgba(0,230,118,.35)}
.nsp-nav ul{list-style:none;display:flex;gap:22px;margin:0;padding:0}
.nsp-nav a{color:#7ab6d7;font-weight:600;font-size:14px}
.nsp-nav a:hover,.nsp-nav .current-menu-item>a{color:#00e676;text-decoration:none}

.nsp-header-ad{background:#07182a;border-bottom:1px solid rgba(255,255,255,.06);padding:10px 0;text-align:center}

/* ---------- Homepage hero ---------- */
.nsp-hero{background:radial-gradient(ellipse 120% 60% at 50% -10%,rgba(0,230,118,.10),transparent 65%),#07182a;border-bottom:1px solid rgba(0,230,118,.12);padding:56px 20px;text-align:center}
.nsp-hero h1{margin:0 0 10px;font-size:34px;color:#fff;letter-spacing:.3px}
.nsp-hero p{margin:0 0 22px;color:#7ab6d7;font-size:15px}
.nsp-hero-cta{display:inline-block;padding:13px 28px;border-radius:10px;background:linear-gradient(135deg,#00e676,#00c853);color:#052014;font-weight:800;letter-spacing:.3px}
.nsp-hero-cta:hover{opacity:.9;text-decoration:none}
.nsp-section-heading{font-size:20px;color:#fff;margin:0 0 18px}

/* ---------- Empty state ---------- */
.nsp-empty-state{background:#0c2236;border:1px dashed rgba(255,255,255,.12);border-radius:14px;padding:40px 24px;text-align:center;margin-bottom:24px}
.nsp-empty-state h2{margin:0 0 10px;font-size:20px;color:#fff}
.nsp-empty-state p{color:#9fc4dd;margin:0 0 14px}
.nsp-empty-state .nsp-hero-cta{margin-top:10px}

.nsp-main{padding:32px 0 56px}
.nsp-layout{display:grid;grid-template-columns:1fr 300px;gap:36px;align-items:start}
.nsp-layout.full-width{display:block}
.nsp-content{min-width:0}
.nsp-sidebar{min-width:0}

/* ---------- Blog / post list ---------- */
.nsp-post-card{background:#0c2236;border:1px solid rgba(255,255,255,.06);border-radius:14px;overflow:hidden;margin-bottom:24px}
.nsp-post-card .nsp-post-thumb{aspect-ratio:16/9;overflow:hidden;background:#112c45}
.nsp-post-card .nsp-post-thumb img{width:100%;height:100%;object-fit:cover}
.nsp-post-card .nsp-post-body{padding:20px}
.nsp-post-meta{font-size:12px;color:#3d6e8c;text-transform:uppercase;letter-spacing:1px;margin-bottom:8px;display:flex;gap:10px;flex-wrap:wrap}
.nsp-sport-pill{display:inline-block;padding:2px 10px;border-radius:12px;background:rgba(0,230,118,.12);border:1px solid rgba(0,230,118,.28);color:#00e676;font-weight:700}
.nsp-post-title{margin:0 0 10px;font-size:24px;line-height:1.25}
.nsp-post-title a{color:#fff}
.nsp-post-excerpt{color:#9fc4dd;font-size:15px}
.nsp-read-more{display:inline-block;margin-top:14px;font-weight:700;color:#00e676}

.nsp-single-title{font-size:32px;margin:0 0 10px;color:#fff}
.nsp-single-meta{color:#3d6e8c;font-size:13px;margin-bottom:24px;text-transform:uppercase;letter-spacing:1px}
.nsp-single-content{font-size:16px;color:#d7ecf7}
.nsp-single-content p{margin:0 0 18px}
.nsp-single-content img{border-radius:12px;margin:18px 0}
.nsp-in-content-ad{margin:28px 0;text-align:center}

.nsp-pagination{display:flex;gap:8px;margin-top:20px}
.nsp-pagination a,.nsp-pagination span{padding:8px 14px;border-radius:8px;background:#0c2236;border:1px solid rgba(255,255,255,.08);color:#9fc4dd;font-size:13px}
.nsp-pagination .current{background:#00e676;color:#052014;font-weight:700}

/* ---------- Sidebar widgets ---------- */
.widget{background:#0c2236;border:1px solid rgba(255,255,255,.06);border-radius:12px;padding:18px;margin-bottom:20px}
.widget-title{font-size:13px;text-transform:uppercase;letter-spacing:1.3px;color:#7ab6d7;margin:0 0 14px;padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.08)}
.widget ul{list-style:none;margin:0;padding:0}
.widget li{padding:8px 0;border-bottom:1px solid rgba(255,255,255,.04);font-size:14px}
.widget li:last-child{border-bottom:none}
.widget input[type=search]{width:100%;background:#07182a;border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:9px 12px;color:#fff}
.widget input[type=submit]{margin-top:8px;background:#00e676;border:none;color:#052014;font-weight:700;padding:8px 16px;border-radius:8px;cursor:pointer}

.nsp-recent-post{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.05)}
.nsp-recent-post:last-child{border-bottom:none}
.nsp-recent-post img{width:56px;height:56px;object-fit:cover;border-radius:8px;flex-shrink:0}
.nsp-recent-post a{color:#e7f3fb;font-size:13.5px;font-weight:600;line-height:1.3}
.nsp-recent-post time{display:block;font-size:11px;color:#3d6e8c;margin-top:3px}

.nsp-ad-widget{text-align:center}
.nsp-ad-label{font-size:9px;letter-spacing:1.5px;text-transform:uppercase;color:#3d6e8c;margin-bottom:6px}

/* ---------- Footer ---------- */
.nsp-site-footer{background:#07182a;border-top:1px solid rgba(255,255,255,.06);padding:40px 0 20px;margin-top:40px}
.nsp-footer-widgets{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px;margin-bottom:24px}
.nsp-footer-ad{text-align:center;margin-bottom:24px}
.nsp-footer-bottom{border-top:1px solid rgba(255,255,255,.06);padding-top:18px;text-align:center;color:#3d6e8c;font-size:12.5px}

/* ---------- Full-width analyzer page template ---------- */
.nsp-analyzer-page .nsp-main{padding:0}
.nsp-analyzer-page .nsp-layout{display:block}
.nsp-analyzer-page .nsp-main .nsp-wrap{max-width:1900px;padding:0}

@media(max-width:900px){
  .nsp-layout{grid-template-columns:1fr}
  .nsp-nav{display:none}
  .nsp-post-title{font-size:20px}
  .nsp-single-title{font-size:24px}
}

/* ======================================================================
   v1.1 — trust pages, notices, intro/about blocks, contact form, author box
   ====================================================================== */
.nsp-notice{max-width:1100px;margin:0 auto 18px;padding:10px 16px;border-radius:10px;font-size:13px;line-height:1.5}
.nsp-notice a{font-weight:700;margin-left:6px}
.nsp-notice-info{background:rgba(0,230,118,.07);border:1px solid rgba(0,230,118,.22);color:#b9e9cf}
.nsp-notice-ok{background:rgba(0,230,118,.12);border:1px solid rgba(0,230,118,.4);color:#d7ffe9}
.nsp-notice-err{background:rgba(255,82,82,.10);border:1px solid rgba(255,82,82,.4);color:#ffd7d7}

.nsp-intro,.nsp-about-block,.nsp-latest,.nsp-page-text{max-width:1100px;margin-left:auto;margin-right:auto;padding-left:20px;padding-right:20px}
.nsp-intro{padding-top:28px;padding-bottom:6px}
.nsp-intro-title{margin:0 0 10px;font-size:30px;line-height:1.2;color:#fff}
.nsp-intro-text{color:#b9d6e8;font-size:15.5px}
.nsp-intro-text p{margin:0 0 12px}
.nsp-page-text{margin-bottom:10px}

.nsp-about-block{margin-top:34px;margin-bottom:10px;color:#cfe6f4;font-size:15px}
.nsp-about-block h2{font-size:21px;color:#fff;margin:26px 0 10px}
.nsp-about-block p{margin:0 0 14px}
.nsp-faq{background:#0c2236;border:1px solid rgba(255,255,255,.08);border-radius:10px;padding:12px 16px;margin-bottom:10px}
.nsp-faq summary{cursor:pointer;font-weight:700;color:#e7f3fb}
.nsp-faq p{margin:10px 0 0;color:#9fc4dd}
.nsp-about-links a{font-weight:700}

.nsp-latest{margin-top:34px}
.nsp-latest-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}
.nsp-latest-grid .nsp-post-card{margin-bottom:0}

.nsp-contact-form{max-width:560px}
.nsp-contact-form label{display:block;font-weight:700;margin-bottom:6px;color:#e7f3fb}
.nsp-contact-form input[type=text],.nsp-contact-form input[type=email],.nsp-contact-form textarea{width:100%;background:#07182a;border:1px solid rgba(255,255,255,.14);border-radius:8px;padding:10px 12px;color:#fff;font:inherit}
.nsp-contact-form button{background:linear-gradient(135deg,#00e676,#00c853);color:#052014;font-weight:800;border:0;border-radius:10px;padding:12px 26px;cursor:pointer}
.nsp-contact-form .nsp-hp{position:absolute!important;left:-9999px;height:0;overflow:hidden}

.nsp-single-content h2{color:#fff;font-size:24px;margin:30px 0 12px}
.nsp-single-content h3{color:#fff;font-size:19px;margin:24px 0 10px}
.nsp-single-content ul,.nsp-single-content ol{margin:0 0 18px;padding-left:22px}
.nsp-single-content li{margin-bottom:6px}

.nsp-author-box{display:flex;gap:14px;align-items:center;margin-top:34px;padding:16px;background:#0c2236;border:1px solid rgba(255,255,255,.08);border-radius:12px}
.nsp-author-avatar img{border-radius:50%;width:64px;height:64px}
.nsp-author-info p{margin:4px 0 0;color:#9fc4dd;font-size:14px}
.nsp-article-disclaimer{margin:14px 0 0;font-size:12.5px;color:#6f9bb6}
.nsp-article-disclaimer a{margin-left:6px}

.nsp-footer-bottom{max-width:900px;margin-left:auto;margin-right:auto}
.nsp-site-footer .nsp-nav ul{flex-wrap:wrap;justify-content:center;gap:10px 22px}
.nsp-site-footer .nsp-nav{display:block}
@media(max-width:900px){.nsp-site-footer .nsp-nav{display:block}.nsp-intro-title{font-size:24px}}

/* Mobile menu (the old theme hid the nav completely on phones) */
.nsp-menu-toggle{display:none;background:transparent;border:1px solid rgba(255,255,255,.18);color:#fff;border-radius:8px;font-size:20px;line-height:1;padding:7px 12px;cursor:pointer}
@media(max-width:900px){
  .nsp-menu-toggle{display:block}
  .nsp-site-header .nsp-nav{display:none}
  .nsp-site-header.nsp-nav-open .nsp-nav{display:block;position:absolute;left:0;right:0;top:64px;background:#07182a;border-bottom:1px solid rgba(0,230,118,.15);padding:10px 20px 16px}
  .nsp-site-header.nsp-nav-open .nsp-nav ul{flex-direction:column;gap:0}
  .nsp-site-header.nsp-nav-open .nsp-nav li a{display:block;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.06)}
}
