/*
    Enchanted Garden Shop
    css/figure-it-face-it-fix-it.css
    Figure It, Face It, Fix It book page-specific overrides.

    shared.css is loaded first on every page and defines the full design
    system (colors, type, spacing, buttons, cards, forms, header/footer).
    Only page-specific adjustments belong here.
*/

/* Book cover floats beside the intro text on desktop, like the photo
   float pattern on the Meet Mark page, but narrower and taller to suit
   a book cover's proportions. Falls back to full width, stacked above
   the text, on narrow screens. */
.book-cover-float {
    width: 220px;
    float: right;
    margin: 0 0 var(--space-md) var(--space-md);
}

@media (max-width: 780px) {
    .book-cover-float {
        float: none;
        width: 220px;
        margin: 0 auto var(--space-lg);
        display: block;
    }
}

/* Makes sure content below the floated cover always clears it, even if
   the intro text is short. */
.clear-float {
    clear: both;
}

/* The source video was filmed in portrait, not landscape, so the usual
   16:9 embed box would letterbox it down to a thin strip. This shows it
   the way it was actually shot: a tall portrait frame, capped to a
   sensible width so it doesn't stretch full width on desktop. */
.video-portrait {
    position: relative;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 9 / 16;
    margin: 0 auto var(--space-lg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 16px 30px rgba(53, 71, 44, 0.28);
}

.video-portrait iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.star-rating {
    color: var(--gold);
    font-size: 1.3rem;
    letter-spacing: 3px;
    margin-bottom: var(--space-xs);
}
