/* ============================================================
   Kids Kingdom - Poem Page Stylesheet (fully standalone)
   Uses .poem-frame / .poem-hero / .poem-body - deliberately
   DIFFERENT class names from story.css's .story-frame /
   .story-body, so:
   1. story-audio.js never detects a poem page (no play/pause
      button appears - poems read better as pure rhyme)
   2. print.js's story-print path never detects a poem page
      either (poems don't need the print feature for now)
   No JS files need to be touched for any of this.
   ============================================================ */

/* ================= BORDER FRAME ================= */
.poem-frame {
    /* border-style: solid; */
    /* border-width: 28px; */
    /* border-image-slice: 40 fill; */
    /* border-image-width: 28px; */
    /* border-image-repeat: stretch; */
    padding: 40px 6vw;
    margin: 30px 0;
    width: 100%;
    box-sizing: border-box;
    /* background: transparent; */
}

/* ================= HERO ================= */
.poem-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
}

.poem-hero h1 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.poem-hero .subheading {
    font-size: 1.1rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 14px;
}

.poem-hero .intro-paragraph {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 18px;
}

.poem-hero-image {
    max-width: 100%;
    margin: 20px auto;
}

.poem-hero-image img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: var(--radius);
}

/* ================= POEM BODY ================= */
.poem-body {
    max-width: 800px;
    margin: 0 auto;
}

/* ================= VERSE / STANZA FORMATTING ================= */
.poem-stanza {
    text-align: center;
    margin-bottom: 32px;
}

.poem-stanza:last-child {
    margin-bottom: 0;
}

.poem-line {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--color-dark);
    margin: 0 0 4px 0;
    font-family: var(--font-heading);
    font-weight: 500;
}

.poem-line:last-child {
    margin-bottom: 0;
}

/* ================= INLINE IMAGES (no border/frame, plain) ================= */
.poem-image {
    margin: 28px auto;
    text-align: center;
}

.poem-image img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: var(--radius);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* ================= FUN FACT BOX ================= */
.poem-fun-fact {
    margin-top: 30px;
    padding: 18px 22px;
    background: var(--color-bg);
    border-radius: var(--radius);
    font-size: 1.05rem;
    color: var(--color-dark);
    text-align: left;
}

.poem-fun-fact strong {
    color: var(--color-primary);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 767px) {
    .poem-frame {
        border-width: 16px;
        border-image-width: 16px;
        padding: 26px 5vw;
    }

    .poem-hero h1 {
        font-size: 1.8rem;
    }

    .poem-line {
        font-size: 1.05rem;
    }

    .poem-stanza {
        margin-bottom: 24px;
    }
}











@media (min-width: 1024px) and (max-width: 1280px) {

}

@media (max-width: 1023px) and (min-width: 768px) {

}


@media (max-width: 767px) {

}



@media (max-width: 580px) {

}



@media (max-width: 420px) {

}







