﻿.markdown {
    line-height: 1.6;
}

/* Headers */
.markdown h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.markdown h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 14px;
}

.markdown h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.markdown h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Text */
.markdown p {
    padding-bottom: 18px;
}

/* Links */
.markdown a {
    color: #ff4444;
    text-decoration: underline;
}

/* Bold / Italic */
.markdown strong {
    font-weight: 700;
}

.markdown em {
    font-style: italic;
}

/* Lists */
.markdown ul {
    list-style-type: disc;
    padding-left: 24px;
    margin-bottom: 18px;
}

.markdown ol {
    list-style-type: decimal;
    padding-left: 24px;
    margin-bottom: 18px;
}

.markdown li {
    margin-bottom: 6px;
}

/* Blockquote */
.markdown blockquote {
    border-left: 4px solid #ccc;
    padding-left: 12px;
    color: #666;
    margin-bottom: 18px;
    font-style: italic;
}

/* Code */
.markdown code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}

/* Code block */
.markdown pre {
    background: #1e1e1e;
    color: #fff;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 18px;
}

    .markdown pre code {
        background: transparent;
        padding: 0;
    }

/* Horizontal rule */
.markdown hr {
    border: none;
    border-top: 1px solid #66666644;
    margin: 24px 0;
}

/* Images */
.markdown img {
    max-width: 100%;
    border-radius: 6px;
    margin-bottom: 18px;
}

/* Tables */
.markdown table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 18px;
}

.markdown th,
.markdown td {
    border: 1px solid #ddd;
    padding: 8px;
}

.markdown th {
    background: #f5f5f5;
    font-weight: 600;
}
