/* ============================================
   Sentinel Productions — Main Stylesheet
   ============================================ */

/* --- 1. RESET & VARIABLES --- */
:root {
    --bg-color: #050505;
    --card-bg: #111111;
    --text-main: #e0e0e0;
    --text-muted: #888;
    --text-dim: #aaa;
    --text-faint: #666;
    --accent-red: #de0000;
    --accent-blue: #336699;
    --border-color: #333;
    --border-light: #444;
    --surface-hover: #1a1a1a;
    --surface-alt: #222;
    --font-main: 'Inter', sans-serif;
    --font-header: 'Cinzel', serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

/* --- 2. LAYOUT GRID --- */
.container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
    padding: 2rem;
}

/* --- 3. SIDEBAR --- */
aside {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Brand Header */
.brand-header {
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.brand-logo {
    font-size: 3rem;
    color: var(--accent-red);
    line-height: 1;
}

.brand-header h1 {
    font-family: var(--font-header);
    font-size: 1.2rem;
    margin-top: 0.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navigation */
nav ul {
    list-style: none;
}

nav li {
    margin-bottom: 0.5rem;
}

nav a {
    display: block;
    padding: 12px 16px;
    background: var(--card-bg);
    color: var(--text-main);
    text-decoration: none;
    border-left: 3px solid var(--border-light);
    transition: all 0.3s ease;
    font-weight: 600;
    font-variant: small-caps;
    letter-spacing: 1px;
}

nav a:hover,
nav a.active {
    border-left-color: var(--accent-red);
    background: var(--surface-hover);
    color: var(--accent-red);
    padding-left: 24px;
}

/* Status Box */
.status-box {
    background: var(--surface-alt);
    padding: 1rem;
    border: 1px solid var(--border-light);
    font-size: 0.85rem;
    color: var(--dim-text);
    border-radius: 4px;
}

/* Sidebar Widgets */
.sidebar-widget {
    text-align: center;
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 4px;
}

.sidebar-widget img {
    max-width: 100%;
    height: auto;
}

.sidebar-widget__label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.sidebar-widget__link {
    display: block;
    background: var(--accent-blue);
    padding: 5px;
    margin-top: 5px;
    color: #fff;
    font-size: 0.7rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.sidebar-widget__link:hover {
    opacity: 0.85;
}

/* --- 4. MAIN CONTENT --- */
main {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Article Header */
article header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

h2 {
    font-family: var(--font-header);
    color: var(--accent-red);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.article-meta {
    color: var(--text-muted);
}

/* Hero Image */
.hero-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

/* Content Body */
.content-body {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.content-body p + p {
    margin-top: 1rem;
}

/* News Section */
.news-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-left: 4px solid var(--accent-blue);
    margin-top: 2rem;
}

.news-section h3 {
    margin-bottom: 1rem;
}

.news-date {
    color: var(--accent-red);
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
    font-variant: small-caps;
}

.news-disclaimer {
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 1rem;
}

/* Text Links */
a.text-link {
    color: var(--accent-red);
    text-decoration: none;
    border-bottom: 1px dotted var(--accent-red);
}

a.text-link:hover {
    color: #fff;
    border-bottom: 1px solid #fff;
}

/* --- 5. SITE FOOTER --- */
.site-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-faint);
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.site-footer__social {
    margin-top: 0.75rem;
}

.site-footer__copyright {
    margin-top: 1rem;
}

/* --- 6. MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    aside {
        order: 2;
    }

    main {
        order: 1;
    }

    nav a {
        padding: 15px;
        text-align: center;
        border-left: none;
        border-bottom: 3px solid var(--border-light);
    }

    nav a:hover,
    nav a.active {
        border-left: none;
        border-bottom-color: var(--accent-red);
        padding-left: 16px;
    }
}
