/* Apple Premium Design System - v6.0 */
:root {
    --apple-bg: #ffffff;
    --apple-text: #1d1d1f;
    --apple-secondary: #86868b;
    --apple-border: #f2f2f2;
    --apple-blue: #0066cc;
    --apple-link: #64d2ff;
}

body.dark {
    --apple-bg: #000000;
    --apple-text: #f5f5f7;
    --apple-secondary: #a1a1a6;
    --apple-border: #222222;
    --apple-blue: #2997ff;
}

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

body {
    background-color: var(--apple-bg);
    color: var(--apple-text);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    padding-top: 100px;
}

/* Global Container - Controlled by CSS only */
.container {
    width: 92%;
    max-width: 850px;
    margin: 0 auto;
}

/* Fixed Navbar Fix */
.nav-wrapper {
    position: fixed;
    top: 15px;
    left: 0;
    width: 100%;
    z-index: 10000;
    transition: transform 0.5s ease;
}

.navbar {
    width: 94%;
    max-width: 650px;
    height: 44px;
    margin: 0 auto;
    background: rgba(var(--nav-bg), 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid var(--apple-border);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
body:not(.dark) .navbar { --nav-bg: 255, 255, 255; }
body.dark .navbar { --nav-bg: 29, 29, 31; }

.nav-hidden { transform: translateY(-80px); }
.nav-title { font-weight: 600; text-decoration: none; color: inherit; font-size: 0.85rem; }
.nav-links { display: flex; list-style: none; gap: 18px; align-items: center; }
.nav-links a { text-decoration: none; color: inherit; font-size: 0.8rem; opacity: 0.6; }

/* Content Rendering */
.editorial-profile, .post-body {
    width: 100%;
}

h1 { font-size: clamp(2.2rem, 8vw, 3.5rem); font-weight: 800; letter-spacing: -0.05em; margin-bottom: 24px; }

/* Link Colors */
a { color: inherit; text-decoration: none; transition: 0.2s; }
.post-body a, .read-more { color: var(--apple-blue); }
body.dark .post-body a, body.dark .read-more { color: var(--apple-link); }

@media (max-width: 480px) {
    .navbar { width: 96%; }
}
