:root {
    /* Modern Premium Color Palette - Emerald Green Identity */
    --primary-h: 154;
    --primary-s: 72%;
    --primary-l: 40%;
    /* matches the vibrant Pure Green sample */
    --primary-base-color: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
    --primary-darken-color: hsl(154, 72%, 30%);
    --primary-lighten-color: hsl(var(--primary-h), var(--primary-s), 95%);
    --secondary-base-color: #f59e0b;
    /* Amber 500 */
    --secondary-darken-color: #d97706;
    /* Amber 600 */
    --accent-base-color: #10b981;
    /* Pure Green Accent */
    --accent-darken-color: #059669;
    /* Surface colors */
    --surface-color: #ffffff;
    --surface-alt: #f8fafc;
    --text-main: #1e293b;
    /* Slate 800 */
    --text-muted: #64748b;
    /* Slate 500 */
}

/* Global Typography & Background adjustments */
body {
    font-family: 'Lato', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--surface-alt);
    -webkit-font-smoothing: antialiased;
}

/* Glassmorphism Utilities */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modern shadows */
.shadow-soft {
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

.shadow-glow {
    box-shadow: 0 0 15px rgba(var(--primary-h), 100%, 50%, 0.2);
}

/* Smooth transitions */
.transition-smooth {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Widget Card Styling Override */
.box {
    border-radius: 12px !important;
    border: none !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
    overflow: hidden;
    background: #fff;
    margin-bottom: 1.5rem;
}

.box-header.with-border {
    border-bottom: 1px solid #f1f5f9 !important;
    background-color: #fff;
    padding: 1rem 1.25rem !important;
}

.box-title {
    font-weight: 600 !important;
    color: var(--text-main) !important;
    font-size: 1.1rem !important;
}

html,
body {
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
}

/* Article Typography (Prose) */
.prose {
    color: #374151;
    line-height: 1.75;
}

.prose p {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
}

.prose ul, ul.prose {
    margin-top: 1.25em !important;
    margin-bottom: 1.25em !important;
    list-style-type: disc !important;
    padding-left: 1.625em !important;
    display: block !important;
}

.prose ol, ol.prose {
    margin-top: 1.25em !important;
    margin-bottom: 1.25em !important;
    list-style-type: decimal !important;
    padding-left: 1.625em !important;
    display: block !important;
}

.prose li {
    margin-top: 0.5em !important;
    margin-bottom: 0.5em !important;
    display: list-item !important;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
    color: #111827;
    font-weight: 800;
    margin-top: 2em;
    margin-bottom: 1em;
    line-height: 1.1;
    text-transform: uppercase;
}

.prose h1 {
    font-size: 2.25em;
}

.prose h2 {
    font-size: 1.5em;
}

.prose h3 {
    font-size: 1.25em;
}

.prose blockquote {
    font-weight: 500;
    font-style: italic;
    color: #111827;
    border-left: 4px solid #059669;
    margin-top: 1.6em;
    margin-bottom: 1.6em;
    padding-left: 1.5em;
    background: #f9fafb;
    padding-top: 1em;
    padding-bottom: 1em;
}

.prose img {
    margin-top: 2em;
    margin-bottom: 2em;
    border-radius: 1.5rem;
}

.prose strong {
    font-weight: 700;
    color: #111827;
}

.prose a {
    color: #059669;
    text-decoration: underline;
    font-weight: 600;
}

.prose a:hover {
    color: #047857;
}
