/* MINIMAL Blog-specific CSS overrides for Quarto */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Use your main site's CSS variables */
:root {
    --primary: rgb(185, 208, 235);
    --secondary: #07f1a3;
    --background: #080808;
    --surface: #121212;
    --text: #e0e0e0;
}

/* Hide main website specific elements */
.quantum-canvas,
.secret-teaser,
.secret-modal,
.scrollToTop-btn,
.particle,
.research-domains,
.hero,
.enigma-section,
.connect-section,
.terminal-effect,
.menu-icon {
    display: none !important;
}

/* Basic body styling */
body {
    background-color: var(--background) !important;
    color: var(--text) !important;
    font-family: 'Poppins', sans-serif !important;
}

/* QUARTO STANDARD ELEMENTS ONLY */

/* Navigation (Quarto generates Bootstrap navbar) */
.navbar {
    background: rgba(8, 8, 8, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-nav .nav-link {
    color: var(--text) !important;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.navbar-nav .nav-link:hover {

    color: var(--primary) !important;
}

/* Hide the duplicate title banner only on blogs page */
body.quarto-blog-listing .quarto-title-banner {
    display: none !important;
}

/* Keep title banner for other pages like landing */
.quarto-title-banner {
    background: var(--surface);
    padding: 3rem 0;
    border-bottom: 1px solid rgba(14, 255, 255, 0.1);
}

.quarto-title .title {
    color: var(--primary) !important;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Main container - use full width for blog listing */
.quarto-container {
    max-width: 1200px !important; /* Wider for full page */
    margin: 0 auto;
    padding: 2rem;
}

/* Blog listing - remove cards and use full width */
.quarto-blog-listing {
    width: 100% !important;
    max-width: none !important;
}

/* Individual blog posts - remove card styling */
.quarto-blog-post {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 1.5rem 0 !important;
    margin-bottom: 2rem !important;
    border-bottom: 1px solid rgba(14, 255, 255, 0.1) !important;
}

/* Blog post titles in listing */
.quarto-blog-post .quarto-blog-post-title {
    color: var(--primary) !important;
    font-size: 1.8rem !important;
    margin-bottom: 0.5rem !important;
}

/* Blog post descriptions */
.quarto-blog-post .quarto-blog-post-description {
    color: var(--text) !important;
    margin-bottom: 1rem !important;
    line-height: 1.6;
}

/* Blog post metadata */
.quarto-blog-post .quarto-blog-post-metadata {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9rem;
}

/* Remove any card-like containers */
.card, .blog-entry {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Full width layout */
.quarto-layout-row {
    width: 100% !important;
}

.quarto-layout-cell {
    width: 100% !important;
}

/* STANDARD HTML ELEMENTS */

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--text) !important;
    font-family: 'Poppins', sans-serif !important;
}

h2 {
    color: var(--primary) !important;
    border-bottom: 1px solid rgba(14, 255, 255, 0.2);
    padding-bottom: 0.5rem;
}

/* Paragraphs */
p {
    color: var(--text);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Links */
a {
    color: var(--primary) !important;
    text-decoration: none;
}

a:hover {
    color: var(--secondary) !important;
}

/* Code (Quarto generates these) */
pre {
    background: var(--surface) !important;
    border: 1px solid rgba(14, 255, 255, 0.2);
    border-radius: 8px;
}

code {
    background: rgba(14, 255, 255, 0.1) !important;
    color: var(--secondary) !important;
}

/* Tables */
table {
    background-color: var(--surface);
    border-radius: 8px;
}

th {
    background-color: var(--background);
    color: var(--primary);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .quarto-container {
        padding: 1rem;
    }
}