/* Layout edition mengikuti referensi; identitas visual tetap dari edition.html. */

/* Container cover */
.edition-cover.edition-cover--cms {
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    padding: 0;
    overflow: visible;
    border-radius: 6px;
}

/* Gambar cover */
.edition-cover--cms > img {
    display: block;
    width: 100%;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: 6px;
}

/* Placeholder ketika cover tidak tersedia */
.edition-cover-placeholder {
    display: grid;
    place-content: center;
    width: 100%;
    min-height: 230px;
    height: auto;
    padding: 24px;
    text-align: center;
    font: 500 26px/1.2 var(--serif);
    background: var(--surface-soft);
    color: var(--ink);
    border-radius: 6px;
}

.edition-title .edition-pdf {
    margin-top: 24px;
}
.edition-title .edition-pdf a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 4px;
}
.contents-copy {
    min-width: 0;
}
.contents-copy h3,
.contents-doi-value {
    overflow-wrap: anywhere;
}
@media (max-width: 640px) {
    .edition-cover--cms > img { height: 100% !important; }
}
