/* Custom styles for NewCMS */

/* Increase spacing between paragraphs in post content */
.prose p {
    margin-bottom: 1.5rem;
}

/* H3 headings - larger subtitles */
.prose h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1f2937;
    line-height: 1.3;
}

/* H4 headings - smaller subtitles */
.prose h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #374151;
    line-height: 1.4;
}

/* Unordered lists */
.prose ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
}

.prose ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Ordered lists */
.prose ol {
    list-style-type: decimal;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
}

.prose ol li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Nested lists */
.prose ul ul,
.prose ol ol,
.prose ul ol,
.prose ol ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Tables */
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    display: block;
}

.prose table thead {
    background-color: #f3f4f6;
}

.prose table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    color: #1f2937;
    border-bottom: 2px solid #d1d5db;
}

.prose table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
}

.prose table tbody tr:hover {
    background-color: #f9fafb;
}

.prose table tbody tr:last-child td {
    border-bottom: none;
}

/* Strong and emphasis */
.prose strong {
    font-weight: 600;
    color: #1f2937;
}

.prose em {
    font-style: italic;
}

/* Links in content */
.prose a {
    color: #2563eb;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.prose a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}
