/* ============================================================
   1. GLOBAL RESET: STRIP THE THEME
   ============================================================ */

/* Hide icons, avatars, and header images */
.site-avatar, .profile-photo, .u-photo, .author-photo, .avatar, .site-title img, .header-image {
    display: none !important;
}

/* Remove ALL boxes/backgrounds/borders from Navigation */
nav a, .nav-link, #menu a {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 20px 0 0 !important;
    text-transform: none !important;
    font-family: "Menlo", "Monaco", monospace !important;
    font-size: 0.85rem !important;
    color: #666 !important;
    text-decoration: none !important;
}

/* ============================================================
   2. TYPOGRAPHY & THE RIVER (DAY MODE)
   ============================================================ */

body {
    background-color: #ffffff;
    color: #222;
    font-family: "Charter", "Iowan Old Style", "Georgia", serif;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto;
    padding: 2rem;
}

.site-title a {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 800;
    color: #000 !important;
    text-decoration: none;
    font-size: 1.5rem;
}

.handshake, .post-meta, .post-date, header p {
    font-family: "Menlo", "Monaco", monospace;
    font-size: 0.85rem;
    color: #888;
}

/* The Post Separator */
.h-entry {
    margin-bottom: 5rem !important;
    border-bottom: 1px solid #eee;
    padding-bottom: 4rem;
}

/* The Specimen Quote */
blockquote {
    background-color: #f8f8f8 !important;
    border-left: 3px solid #ddd !important;
    padding: 1.5rem !important;
    margin: 2rem 0 !important;
    font-style: italic !important;
}

/* The Monospace Citation Badge */
.e-content a[href*="http"] {
    font-family: "Menlo", "Monaco", monospace !important;
    font-size: 0.75rem !important;
    background: #f0f0f0 !important;
    padding: 4px 8px !important;
    border-radius: 3px !important;
    text-decoration: none !important;
    color: #555 !important;
    display: inline-block;
    border: none !important;
}

/* ============================================================
   3. THE ABOUT PAGE (PORTRAIT CONTROL)
   ============================================================ */

/* THIS FORCES THE PHOTO TO BE SMALL */
.page-about .e-content img {
    display: block !important;
    margin: 2rem auto !important;
    width: 280px !important; /* Fixed width: no more "huge" photo */
    height: auto !important;
    border: 1px solid #ddd !important;
    padding: 4px !important;
    background: #fff !important;
    border-radius: 4px !important;
}

/* The "Bridge" Text */
.page-about .e-content p:first-of-type {
    font-size: 1.25rem !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    text-align: center !important;
    color: #111 !important;
    margin-top: 1rem !important;
    margin-bottom: 3rem !important;
}

/* ============================================================
   4. THE NIGHT SHIFT (DARK MODE)
   ============================================================ */

@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a !important;
        color: #ddd !important;
    }

    .site-title a, h1, h2, h3 { color: #fff !important; }

    nav a, .nav-link, .post-meta { color: #888 !important; }

    blockquote {
        background-color: #262626 !important;
        border-left-color: #444 !important;
        color: #bbb !important;
    }

    .e-content a[href*="http"] {
        background: #333 !important;
        color: #999 !important;
    }

    .page-about .e-content p:first-of-type { color: #fff !important; }
    
    .page-about .e-content img { 
        background: #333 !important; 
        border-color: #444 !important;
        filter: brightness(0.8);
    }
}
