/*
Theme Name: Palace Insight Studio AI
Description: Premium Sports Portal based on Studio AI Design. Next.js Aesthetic in WordPress.
Version: 5.1.0
Author: Palace Insight
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: palace-studio
*/

/* ===== DESIGN SYSTEM ===== */
:root {
    --color-palace-red: #d1122a;
    --color-palace-blue: #05162d;
    --radius-pro: 24px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }

/* ===== WORDPRESS NAV MENU RESET ===== */
.menu { display: flex; gap: 2rem; list-style: none; padding: 0; margin: 0; }
.menu li { list-style: none; }
.menu li a {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #05162d;
    transition: color 0.3s ease;
}
.menu li a:hover { color: #d1122a; }

/* ===== PAGINATION ===== */
.pagination-studio .nav-links {
    display: flex;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
}
.pagination-studio .page-numbers {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #eee;
    font-weight: 800;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}
.pagination-studio .page-numbers.current {
    background: var(--color-palace-red);
    color: white;
    border-color: var(--color-palace-red);
}
.pagination-studio .page-numbers:hover:not(.current) {
    background: var(--color-palace-blue);
    color: white;
}

/* ===== PROSE TYPOGRAPHY (for content pages) ===== */
.prose { 
    line-height: 2; 
    color: #333333; 
    font-size: 1.125rem; /* 18px */
    letter-spacing: -0.01em;
}
.prose h2 { font-size: 1.875rem; font-weight: 800; color: #05162d; margin-top: 2.5rem; margin-bottom: 1.25rem; font-family: 'Outfit', sans-serif; letter-spacing: -0.02em; }
.prose h3 { font-size: 1.5rem; font-weight: 800; color: #05162d; margin-top: 2rem; margin-bottom: 1rem; }
.prose p { margin-bottom: 2rem; }
.prose a { color: #d1122a; font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.prose a:hover { border-bottom-color: #d1122a; }
.prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 2rem; }
.prose li { margin-bottom: 0.75rem; }
.prose blockquote { border-left: 4px solid #d1122a; background: #fafafa; padding: 1.5rem 2rem; margin: 2.5rem 0; font-style: italic; color: #555; }
.prose img { border-radius: 0; margin: 2.5rem 0; width: 100%; height: auto; border: 1px solid #eee; }

/* ===== ADMIN BAR FIX ===== */
.admin-bar nav.sticky { top: 32px; }
@media (max-width: 782px) { .admin-bar nav.sticky { top: 46px; } }
