/* ==========================================================================
   LITERARY PIECES (poems, short stories, and any other writing set in Bangla).
   Loaded AFTER article-single.css. The page keeps the normal Kothon article chrome;
   this file adds the Bangla type and the verse / prose layouts.
   Bangla is set in Noto Serif Bengali, with hanging indents so long lines wrap like verse.
   (Class names still start with "poem-" for historical reasons; they are shared by stories too.)
   ========================================================================== */

/* the piece's own title is Bangla, so it needs a Bangla face (the site's display font has no Bangla glyphs) */
.article-title.poem-title {
    font-family: "Noto Serif Bengali", "Playfair Display", serif;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
    margin-bottom: .6rem;
}

.poem-title-en {
    font-family: 'IBM Plex Mono', monospace;
    font-size: .85rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--current-cat-color);
    margin-bottom: 1.4rem;
}

/* ---- the poem ---- */
.poem {
    font-family: "Noto Serif Bengali", "Playfair Display", serif;
    font-size: clamp(1.1rem, 2.5vw, 1.28rem);
    line-height: 2.05;
    color: #1a1a1a;
    max-width: 33rem;
    margin: 0 auto 3.5rem;
}
.poem .stanza { margin: 0 0 1.7rem; }
.poem .stanza.movement { margin-top: 3.2rem; }
.poem .stanza.movement:first-child { margin-top: 0; }
/* each line is a block with a hanging indent, so a long line that wraps stays readable as ONE line of verse */
.poem .ln { display: block; padding-left: 1.6em; text-indent: -1.6em; }

.poem-sign { text-align: right; font-size: 1.05rem; margin-top: 3rem; color: #333; }
.poem-sign .poem-date { display: block; margin-top: .35rem; font-size: .95rem; color: #888; letter-spacing: .04em; }

/* ---- prose pieces (short stories) ---- */
.story {
    font-family: "Noto Serif Bengali", "Playfair Display", serif;
    font-size: clamp(1.1rem, 2.5vw, 1.28rem);
    line-height: 2.1;
    color: #1a1a1a;
    max-width: 36rem;
    margin: 0 auto 3.5rem;
}
.story p { margin: 0 0 1.9rem; }
/* the last line of a short story lands harder when it stands alone */
.story .story-end { margin-top: 2.8rem; font-weight: 700; font-size: 1.15em; color: var(--current-cat-color); }
.story .poem-sign { margin-top: 2.6rem; }
/* a scene break: the author left a gap here, so we do too */
.story .story-break { margin-top: 3.4rem; }
/* spoken lines */
.story .dialogue { margin-bottom: 1.2rem; }

/* ---- note boxes: the English note and the content note ---- */
.poem-note {
    margin: 0 0 3rem; padding: 1.6rem 1.7rem; border-radius: 8px;
    background: var(--glass); border: 1px solid #e5e5e5;
    font-family: 'Manrope', sans-serif; font-size: 1rem; line-height: 1.7; color: #333;
}
.poem-note h2 {
    font-family: 'IBM Plex Mono', monospace !important; font-size: .75rem !important; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase; color: var(--current-cat-color);
    margin: 0 0 .8rem !important; line-height: 1.2 !important;
}
.poem-note p { margin: 0 0 .9rem; }
.poem-note p:last-child { margin-bottom: 0; }
.poem-note small { display: block; margin-top: 1rem; color: #888; font-size: .8rem; }

@media (max-width: 768px) {
    .poem .stanza.movement { margin-top: 2.6rem; }
    .poem-note { padding: 1.3rem 1.3rem; }
}
