/* Custom Typography Styles for Blog Posts */
.prose {
    color: #192027; /* midnightSlate */
    max-width: 100%;
    line-height: 1.8;
    font-family: 'Inter', system-ui, sans-serif;
}

.prose p {
    margin-bottom: 1.5em;
    font-size: 1.125rem; /* 18px */
}

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    font-family: 'Playfair Display', serif;
    color: #2E4F3A; /* royalMoss */
    margin-top: 2em;
    margin-bottom: 0.8em;
    line-height: 1.3;
    font-weight: 700;
}

.prose h1 {
    font-size: 2.5rem;
}

.prose h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.prose h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #D6A85A; /* gildedAmber */
}

.prose h3 {
    font-size: 1.5rem;
    color: #8B3F3C; /* brickstone */
}

.prose ul, .prose ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

.prose ul {
    list-style-type: disc;
}

.prose ol {
    list-style-type: decimal;
}

.prose li {
    margin-bottom: 0.5em;
    padding-left: 0.5em;
}

.prose li::marker {
    color: #D6A85A; /* gildedAmber */
}

.prose a {
    color: #8B3F3C; /* brickstone */
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s;
    font-weight: 500;
}

.prose a:hover {
    color: #D6A85A; /* gildedAmber */
}

.prose blockquote {
    border-left: 4px solid #D6A85A; /* gildedAmber */
    padding: 1.5rem 2rem;
    font-style: italic;
    color: #4a5568;
    margin: 2em 0;
    background: rgba(246, 241, 229, 0.5); /* parchment with opacity */
    border-radius: 0 0.5rem 0.5rem 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
}

.prose img {
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    margin-top: 2.5em;
    margin-bottom: 2.5em;
    width: 100%;
    height: auto;
    display: block;
}

.prose strong {
    font-weight: 700;
    color: #2E4F3A; /* royalMoss */
}

.prose em {
    color: #8B3F3C; /* brickstone */
}

.prose hr {
    border: 0;
    border-top: 1px solid #D6A85A; /* gildedAmber */
    margin: 3em 0;
    opacity: 0.3;
}

/* Table Styles */
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2em;
    font-size: 1rem;
}

.prose th {
    background-color: #2E4F3A; /* royalMoss */
    color: #F6F1E5; /* parchment */
    padding: 1rem;
    text-align: left;
    font-family: 'Playfair Display', serif;
}

.prose td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.prose tr:nth-child(even) {
    background-color: rgba(214, 168, 90, 0.05); /* gildedAmber very light */
}
