/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #1a202c;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: #15803d;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #166534;
}

/* Utility Classes */
.text-green-700 { color: #15803d; }
.text-green-800 { color: #166534; }
.bg-green-50 { background-color: #f0fdf4; }
.bg-green-100 { background-color: #dcfce7; }
.bg-green-700 { background-color: #15803d; }
.bg-green-800 { background-color: #166534; }
.hover\:bg-green-800:hover { background-color: #166534; }

/* Cards */
.card {
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}

.card:hover {
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #15803d;
    color: #ffffff;
}

.btn-primary:hover {
    background: #166534;
    box-shadow: 0 4px 6px rgba(21, 128, 61, 0.3);
}

.btn-outline {
    background: transparent;
    color: #15803d;
    border: 2px solid #15803d;
}

.btn-outline:hover {
    background: #15803d;
    color: #ffffff;
}

/* Forms */
input, textarea, select {
    font-family: 'Poppins', sans-serif;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    ring: 2px solid #15803d;
}

/* Article Content */
.prose {
    max-width: none;
}

.prose h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1a202c;
}

.prose h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1a202c;
}

.prose p {
    margin-bottom: 1.25rem;
    color: #4a5568;
}

.prose ul, .prose ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.prose blockquote {
    border-left: 4px solid #15803d;
    padding: 1rem 1.5rem;
    background: #f0fdf4;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.prose blockquote p {
    margin-bottom: 0;
}

.prose a {
    color: #15803d;
    text-decoration: underline;
}

.prose a:hover {
    color: #166534;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Line Clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Print Styles */
@media print {
    header, footer, .sidebar, .share-buttons, .related-posts {
        display: none !important;
    }
    .prose {
        font-size: 12pt;
    }
    body {
        background: white;
    }
    .container {
        max-width: 100%;
        padding: 0;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}