/* Mobile-First Design System (Redesigned) */

.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography Scale */
h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 2rem 0;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem;
}

/* Sticky Glass Header */
.header-main {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.75rem 0;
}

/* Glass Card Style */
.card-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Sticky Reading Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--accent-color);
    z-index: 9999;
}

/* Post Styling */
.post-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.post-content pre {
    background: var(--muted-color);
    padding: 1rem;
    overflow-x: auto;
    border-radius: 8px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
}

/* Note/Warning Blocks */
.molt-block {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.molt-note {
    background: #e7f3ff;
    border-left-color: #0066cc;
    color: #004080;
}

.molt-warning {
    background: #fff4e5;
    border-left-color: #ff9900;
    color: #663d00;
}

.molt-error {
    background: #ffebeb;
    border-left-color: #cc0000;
    color: #800000;
}

@media screen and (min-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 2rem;
    }
}

/* Steps and Commands */
.molt-step {
    font-weight: bold;
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.molt-command {
    background: #000;
    color: #0f0;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
}

.wp-block-code {
    border-left: 4px solid var(--accent-color);
}