/*
Theme Name: AgenticPress
Theme URI: https://example.com/agenticpress
Author: Artifact-First Design
Author URI: https://example.com
Description: A professional, highly functional WordPress news portal theme that visually and functionally embodies the principles of the Google Antigravity Agentic Development Platform.
Version: 1.0.0
License: GPU
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: agenticpress
*/

:root {
    /* Color Palette - Mission Control */
    --color-bg-deep: #0d1117;
    /* Deep Charcoal/Black */
    --color-bg-panel: #161b22;
    /* Slightly Lighter for panels */
    --color-bg-header: #010409;

    --color-accent-primary: #58a6ff;
    /* Electric Blue */
    --color-accent-secondary: #3fb950;
    /* Success Green */
    --color-accent-alert: #d29922;
    /* Warning Yellow */
    --color-accent-danger: #f85149;
    /* Danger Red */

    --color-text-main: #c9d1d9;
    --color-text-muted: #8b949e;
    --color-text-header: #f0f6fc;

    --color-border: #30363d;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --font-mono: 'Fira Code', 'Roboto Mono', 'SFMono-Regular', Consolas, "Liberation Mono", Menlo, monospace;

    --spacing-unit: 8px;
    --border-radius: 6px;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg-deep);
    color: var(--color-text-main);
    font-family: var(--font-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-mono);
    color: var(--color-text-header);
    margin-top: 0;
}

a {
    color: var(--color-accent-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
    padding: 0;
}

/* Layout Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.artifact-panel {
    background-color: var(--color-bg-panel);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.artifact-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border-color: var(--color-accent-primary);
}

/* Header basic styles */
.site-header {
    background-color: var(--color-bg-header);
    border-bottom: 1px solid var(--color-border);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.system-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.site-title {
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--color-text-header);
    font-size: 1.2rem;
}

.status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-accent-secondary);
    margin-right: 8px;
    box-shadow: 0 0 5px var(--color-accent-secondary);
}

.system-meta {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.system-meta span {
    margin-left: 15px;
}

/* Navigation */
.main-navigation ul {
    display: flex;
    gap: 20px;
    margin: 0;
}

.main-navigation a {
    color: var(--color-text-header);
    font-weight: 500;
    font-size: 0.9rem;
}

.main-navigation a:hover {
    color: var(--color-accent-primary);
}

/* Dashboard */
.dashboard-header {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header h2 {
    font-size: 1.5rem;
    margin: 0;
}

/* Artifact Layout */
.artifact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .artifact-layout {
        grid-template-columns: 1fr;
    }

    .system-status-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Components */
.button {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(88, 166, 255, 0.1);
    border: 1px solid var(--color-accent-primary);
    border-radius: 4px;
    color: var(--color-accent-primary);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    cursor: pointer;
}

.button:hover {
    background-color: var(--color-accent-primary);
    color: var(--color-bg-header);
    text-decoration: none;
}

/* Meta Data Styles */
.meta-sticky-wrapper h3 {
    font-size: 1rem;
    color: var(--color-text-header);
    margin-top: 0;
}

.plan-content {
    line-height: 1.5;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 4px;
}

/* Widget/Sidebar */
.widget-title {
    font-size: 1.1rem;
    border-bottom: 1px dashed var(--color-border);
    padding-bottom: 8px;
    margin-bottom: 15px;
}

/* Footer */
.site-footer a {
    color: var(--color-text-muted);
}

.site-footer a:hover {
    color: var(--color-accent-primary);
}