body.single-partition { background: #fff; }
body.single-partition article.partition,
body.single-partition article.type-partition,
body.single-partition .type-partition {
    width: min(1120px, calc(100% - 48px));
    margin-inline: auto;
}
body.single-partition .entry-title,
body.single-partition .wp-block-post-title,
body.single-partition article.type-partition > h1 {
    margin: 36px 0 8px;
    text-align: center;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
}
.am-partition-description {
    max-width: 760px;
    margin: 0 auto 14px;
    color: #666;
    text-align: center;
    line-height: 1.55;
}
.am-partition-meta {
    margin: 0 auto 22px;
    text-align: center;
    color: #555;
    line-height: 1.55;
}
.am-partition-meta-label { font-weight: 600; }
.am-pdf-viewer {
    width: 100%;
    height: clamp(650px, 82vh, 1050px);
    margin: 20px auto 36px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 8px;
    background: #f4f4f4;
    box-shadow: 0 2px 14px rgba(0,0,0,.06);
}
.am-pdf-viewer iframe { display:block; width:100%; height:100%; border:0; }
.am-back-to-catalogue { margin: 0 auto 42px; text-align:center; }
.am-back-to-catalogue a { color:inherit; text-decoration:none; }
.am-back-to-catalogue a:hover,
.am-back-to-catalogue a:focus { text-decoration:underline; }
@media (max-width:900px) {
    body.single-partition article.partition,
    body.single-partition article.type-partition,
    body.single-partition .type-partition { width:min(100% - 28px,1120px); }
    .am-pdf-viewer { height:78vh; min-height:560px; }
}
@media (max-width:600px) {
    body.single-partition article.partition,
    body.single-partition article.type-partition,
    body.single-partition .type-partition { width:calc(100% - 16px); }
    .am-pdf-viewer { height:72vh; min-height:440px; border-radius:4px; }
}
