/**
 * Sasterawan — Literary Form: Karmina
 *
 * Pantun dua kerat. Two lines. Sampiran + isi.
 * The stone is small; the garden frames it.
 * Title size raised to 1.5em — was 1.3em, which looked accidental.
 * Muted colour and uppercase remain its distinctive character.
 *
 * Applied via body class: .bwp-form-karmina
 *
 * @package Book_WP
 */

/* ── Layout: wide wrap for chrome, narrow content for the verse ──────── */
/* bwp-page-wrap must be wide enough for the title, analytics bar, tags   */
/* and colophon to sit comfortably. Only bwp-work__content is kept narrow — */
/* the two verse lines float in whitespace within the wider wrapper.       */
body.bwp-form-karmina .bwp-work__content {
    max-width: 20em;
    margin-left: auto;
    margin-right: auto;
}

/* ── Title: small, muted, uppercase — almost an annotation ─ */

/* ── Body: two lines, centred, generous space ────────────── */

body.bwp-form-karmina .bwp-work__content {
    font-size:      1.18em;
    line-height:    1.8;
    text-align:     center;
    padding-top:    3em;
    padding-bottom: 3em;
}

body.bwp-form-karmina .bwp-work__content p {
    text-indent:   0 !important;
    margin-bottom: 0;
}

/* Sampiran: muted, italic — the image/hook */
body.bwp-form-karmina .bwp-work__content p:first-of-type {
    color:      var(--bwp-text-mid);
    font-style: italic;
}

/* Isi: full weight — the meaning arrives */
body.bwp-form-karmina .bwp-work__content p + p {
    margin-top:  0;
    text-indent: 0 !important;
    font-style:  normal;
    color:       var(--bwp-text);
    font-weight: 500;
}

/* ── No drop cap ─────────────────────────────────────────── */

body.bwp-form-karmina .bwp-work__content > p:first-of-type::first-letter {
    all: unset;
}

/* ── Ornament: centred, minimal ──────────────────────────── */

body.bwp-form-karmina .bwp-ornament {
    opacity:    .25;
    font-size:  .9em;
    text-align: center;
    margin:     1.5em 0;
}

/* ── Epigraph: hidden — karmina needs no preamble ────────── */

/* ── Analytics: centred ──────────────────────────────────── */

/* ── Work nav: stepped back ──────────────────────────────── */

/* ── Colophon ────────────────────────────────────────────── */

/* ── Responsive ──────────────────────────────────────────── */

@media screen and (min-width: 52em) {
    body.bwp-form-karmina .bwp-work__content {
        font-size:      1.35em;
        line-height:    1.9;
        padding-top:    4em;
        padding-bottom: 4em;
    }
}

@media print {
    body.bwp-form-karmina .bwp-work__content { font-size: 1.1em; padding: 2em 0; }
}

/* ── Analytics: compact — all items on one line ──────────── */
/* Narrow column needs tighter gap and smaller item text so   */
/* badge · category · read time · words · lines · stanzas    */
/* all fit on a single row without wrapping.                  */
