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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: #3a3a3a;
    background: #fdfdfb;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.wide-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====== ARTICLE STYLES ====== */

.article-header {
    padding: 60px 20px 40px;
    text-align: center;
    border-bottom: 1px solid #e1e8e0;
}

.article-title {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #2d2d2d;
    letter-spacing: -0.5px;
}

.article-meta {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    color: #6b7b6b;
    margin-bottom: 10px;
}

.article-description {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.1rem;
    color: #555;
    max-width: 650px;
    margin: 20px auto 0;
}

.article-content {
    padding: 50px 20px 80px;
}

.article-content h2 {
    font-size: 2.8rem;
    margin: 50px 0 20px;
    color: #3d8b52;
}

.article-content h3 {
    font-size: 1.8rem;
    margin: 35px 0 15px;
    color: #4a6b4f;
}

.article-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.article-content a {
    color: #52a665;
    text-decoration: underline;
    transition: color 0.2s;
}

.article-content a:hover {
    color: #3d8b52;
}

.article-content blockquote {
    margin: 30px 0;
    padding: 20px 30px;
    background: #f5f9f6;
    border-left: 4px solid #52a665;
    font-style: italic;
}

.article-content ul, .article-content ol {
    margin: 20px 0 20px 30px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.article-content ul {
    list-style: none;
    padding-left: 0;
    margin-left:20px;
}

.article-content ul li {
    position: relative;
    padding-left: 28px;
}

.article-content ul li::before {
    content: "✒";
    color: #52a665;
    font-weight: normal;
    font-size: 1.1em;
    position: absolute;
    left: 0;
    top: 0px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content code {
    background: #f5f9f6;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9em;
}

.article-content pre {
    background: #f5f9f6;
    padding: 20px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 25px 0;
}

.article-content pre code {
    background: none;
    padding: 0;
}

/* ====== GLOSSARY STYLES ====== */

.glossary-section {
    padding: 60px 20px;
}

.glossary-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
    font-weight: 400;
    color: #2d2d2d;
    text-align: center;
}

.glossary-grid {
    display: grid;
    gap: 30px;
}

.glossary-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #d8eadc;
}

.glossary-term {
    font-size: 1.4rem;
    color: #3d8b52;
    margin-bottom: 12px;
    font-weight: 700;
}

.glossary-definition {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* ====== CALLOUT/NOTICE BOXES ====== */

.callout {
    margin: 30px 0;
    padding: 25px 30px;
    border-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.callout-info {
    background: #e6f4ea;
    border: 1px solid #b8d9bf;
}

.callout-warning {
    background: #fff9e6;
    border: 1px solid #e6d9a8;
}

.callout-important {
    background: #ffe9e9;
    border: 1px solid #e6b8b8;
}

.callout-title {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

/* ====== BUTTON STYLES ====== */

.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 1rem;
    text-decoration: none !important;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.3s;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #52a665;
    color: #fff !important;
}

.btn-primary:hover {
    background: #449456;
    color: #fff !important;
}

.btn-secondary {
    background: white;
    color: #52a665;
    border: 2px solid #52a665;
}

.btn-secondary:hover {
    background: #f5f9f6;
}

.btn-text {
    background: none;
    color: #52a665;
    padding: 8px 16px;
    text-decoration: none;
}

.btn-text:hover {
    color: #3d8b52;
    text-decoration: none;
}

/* ====== CARD STYLES ====== */

.card {
    background: white;
    padding: 35px;
    border-radius: 8px;
    border: 1px solid #d8eadc;
    margin-bottom: 25px;
}

.card-title {
    font-size: 2rem;
    color: #3d8b52;
    margin-bottom: 15px;
    font-weight: 700;
}

.card-content {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    color: #555;
}

/* ====== NAVIGATION/BREADCRUMBS ====== */

.breadcrumbs {
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: #52a665;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: #999;
    margin: 0 8px;
}

/* ====== COLLAPSIBLE SECTIONS ====== */

.collapsible {
    background: white;
    border: 1px solid #d8eadc;
    border-radius: 8px;
    margin: 25px 0;
    overflow: hidden;
}

.collapsible-header {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
    user-select: none;
}

.collapsible-header:hover {
    background: #f5f9f6;
}

.collapsible-title {
    font-size: 1.2rem;
    color: #3d8b52;
    font-weight: 700;
    margin: 0;
}

.collapsible-icon {
    color: #52a665;
    font-size: 1.3rem;
    transition: transform 0.3s;
    font-weight: bold;
}

.collapsible.open .collapsible-icon {
    transform: rotate(180deg);
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.collapsible.open .collapsible-content {
    max-height: 2000px;
    transition: max-height 0.5s ease-in;
}

.collapsible-inner {
    padding: 0 25px 25px 25px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    color: #555;
}

/* ====== RESPONSIVE ====== */

@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .glossary-title {
        font-size: 1.8rem;
    }
}
