/* Import Inter font (keep your existing @font-face rules here) */

body {
    font-family: 'Gill Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
    max-width: 800px;
    padding: 3rem 20px; /* Aligned with your other single pages */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Re-creating your "For immediate release" header using a pseudo-element 
   since it's no longer in your PHP HTML structure */
article.type-whitepapers::before {
    content: "For immediate release: OFFICIAL WHITE PAPER";
    display: block;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: #555;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Targets <article class='single-entry type-whitepapers'> */
article.type-whitepapers {
    padding: 60px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box;
}

/* Header Styling - Targets <header class='entry-header'> from PHP */
article.type-whitepapers .entry-header {
    text-align: center;
    border-bottom: 2px solid #333;
    margin-bottom: 40px;
    padding-bottom: 20px;
}

/* Page title - Targets <h1 class='entry-title'> */
article.type-whitepapers .entry-title {
    font-size: 2.5rem;
    color: #111;
    font-weight: 800;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

/* Date Styling - Targets <time class='entry-date'> */
article.type-whitepapers .entry-date {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
    font-weight: 700;
}

/* Content Area Paragraphs */
.entry-content p {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 1.125rem;
    margin-bottom: 25px;
    text-align: justify;
    color: #444;
}

/* Global site footer logic from footer.php */
footer[role="contentinfo"] {
    margin-top: 4rem;
    text-align: center;
    color: #777;
    font-size: 0.85rem;
    width: 100%;
}

footer[role="contentinfo"] a {
    color: #0077cc;
    text-decoration: none;
}

footer[role="contentinfo"] a:hover {
    text-decoration: underline;
}

/* Container for the mini header */
.header-mini {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Puts logo on left, links on right */
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 2.5rem;
    width: 100%;
    max-width: 800px; /* Matches your whitepapers and notes width */
}

/* Logo styling */
.logo.small-logo {
    width: 35px;
    height: auto;
    display: block;
}

/* Navigation links */
.mini-nav-links {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mini-link {
    text-decoration: none;
    color: #657786; /* Neutral grey from your notes.css */
    transition: color 0.2s ease;
}

.mini-link:hover {
    color: #1da1f2; /* Twitter blue highlight */
}

.mini-separator {
    margin: 0 8px;
    color: #ccc;
}


/* Dark Mode */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #121212;
        color: #e0e0e0;
    }

    article.type-whitepapers {
        background-color: #1e1e1e;
        border-color: #333;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    }

    article.type-whitepapers .entry-header {
        border-bottom-color: #e0e0e0;
    }

    article.type-whitepapers .entry-title {
        color: #ffffff;
    }

    .entry-content p {
        color: #cccccc;
    }
    .header-mini {
        border-bottom-color: #38444d;
    }
    .mini-link {
        color: #8899a6;
    }
}