/* Page-local styles extracted from landing/blog/post.html */

/* =====================================================================
   BLOG POST PAGE-LOCAL STYLES
     1. Cover-visual frame (warm paper-tinted shell)
     2. Summary callout
     3. Editorial prose retones (overrides Tailwind Typography)
     4. Related-post card
   ===================================================================== */


/* -- 1. Cover-visual frame -------------------------------------- */
.post-visual-shell {
    background: linear-gradient(165deg, #F4EFE6 0%, #FBF8F1 50%, #EEE6D6 100%);
    border: 1px solid #E3DBCD;
    border-radius: 18px;
    box-shadow:
        0 1px 0 rgba(15, 61, 46, 0.04),
        0 28px 60px -28px rgba(15, 61, 46, 0.30);
    overflow: hidden;
}


/* -- 2. Summary callout ----------------------------------------- */
.post-summary {
    border: 1px solid #E3DBCD;
    background: #F4EFE6;
    border-radius: 16px;
}


/* -- 3. Editorial prose retones (paper palette) ----------------- */
.prose-editorial {
    color: #4B5246;
    font-size: 1.0625rem;
    line-height: 1.75;
}
.prose-editorial > * + * { margin-top: 1.15em; }

.prose-editorial h2 {
    font-family: Georgia, 'Times New Roman', ui-serif, serif;
    color: #0B1510;
    font-size: 1.875rem;
    line-height: 1.2;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}
.prose-editorial h3 {
    font-family: Georgia, 'Times New Roman', ui-serif, serif;
    color: #0B1510;
    font-size: 1.375rem;
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.prose-editorial h4 {
    font-family: 'Inter', sans-serif;
    color: #0B1510;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.prose-editorial p,
.prose-editorial li { color: #4B5246; }
.prose-editorial strong { color: #0B1510; font-weight: 600; }
.prose-editorial em      { color: #0F3D2E; }

.prose-editorial a {
    color: #0F3D2E;
    text-decoration: underline;
    text-decoration-color: rgba(15, 61, 46, 0.30);
    text-underline-offset: 3px;
    transition: text-decoration-color 180ms;
}
.prose-editorial a:hover { text-decoration-color: #0F3D2E; }

.prose-editorial ul,
.prose-editorial ol {
    margin: 1.25rem 0;
    padding-left: 1.4rem;
}
.prose-editorial ul { list-style: disc; }
.prose-editorial ol { list-style: decimal; }
.prose-editorial li { margin: 0.45rem 0; }
.prose-editorial li::marker { color: #0F3D2E; }

.prose-editorial blockquote {
    margin: 1.75rem 0;
    padding: 0.5rem 1.25rem;
    border-left: 3px solid #0F3D2E;
    background: #F4EFE6;
    border-radius: 0 12px 12px 0;
    color: #0B1510;
    font-style: italic;
}
.prose-editorial blockquote p { color: #0B1510; }

.prose-editorial code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.9em;
    background: #F4EFE6;
    color: #0F3D2E;
    padding: 0.15em 0.4em;
    border-radius: 6px;
}
.prose-editorial pre {
    background: #0B1510;
    color: #F4EFE6;
    padding: 1.1rem 1.25rem;
    border-radius: 14px;
    overflow-x: auto;
    margin: 1.75rem 0;
}
.prose-editorial pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    border-radius: 0;
}

.prose-editorial hr {
    border: 0;
    border-top: 1px solid #E3DBCD;
    margin: 2.5rem 0;
}

.prose-editorial img,
.prose-editorial figure {
    border-radius: 14px;
    border: 1px solid #E3DBCD;
    overflow: hidden;
    margin: 1.75rem 0;
}


/* -- 4. Related-post card --------------------------------------- */
.related-card {
    border: 1px solid #E3DBCD;
    border-radius: 18px;
    background: #FFFFFF;
    transition:
        transform   260ms cubic-bezier(.2, .8, .2, 1),
        box-shadow  260ms ease,
        border-color 260ms ease;
}
@media (hover: hover) {
    .related-card:hover {
        transform: translateY(-2px);
        border-color: #C8B99E;
        box-shadow: 0 18px 40px -26px rgba(15, 61, 46, 0.30);
    }
    .related-card:hover .related-card-title { color: #0F3D2E; }
}
.related-card-cover {
    border-bottom: 1px solid #E3DBCD;
    background: linear-gradient(165deg, #F4EFE6 0%, #FBF8F1 50%, #EEE6D6 100%);
    border-top-left-radius: 17px;
    border-top-right-radius: 17px;
    overflow: hidden;
}
.related-card-cover-empty { aspect-ratio: 4 / 3; }
.related-card-title { transition: color 220ms ease; }
    
