/* Documents — extends blog layout (blog.css) */

/* Listing: type badge when no thumbnail */
.blog-card-media--doc {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f3f4f6 0%, #e8eaed 100%);
    text-decoration: none;
}

.doc-type-badge {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9a7b2e;
    padding: 0.65rem 1rem;
    border: 1px solid #e8dfc8;
    background: #faf6eb;
    border-radius: 4px;
}

/* Detail page */
.document-detail__lead {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: -1rem 0 2rem;
    max-width: 72ch;
}

.document-detail__pdf {
    width: 100%;
    min-height: 70vh;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    background: #f7f7f7;
}

.document-detail__download {
    margin-top: 0.75rem;
    font-size: 0.9rem;
}

.document-detail__download a {
    color: #b45309;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
}

.document-detail__download a:hover {
    color: var(--navy);
}

.document-detail__image-wrap {
    margin: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    background: #ffffff;
}

.document-detail__image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
}

@media (max-width: 600px) {
    .document-detail__pdf {
        min-height: 50vh;
    }
}
