﻿/**********************************************************************************************
* OntarioTECK VBA Developers
* Developed by Gustavo Miller

* Date created : 2026-04-25 13:16:18.593
* Type Document: Cascade Styling Sheet (CSS)
*
* Location: D:\Acorns and Oaks (AAO)\AAO\wwwroot\
* Filename: css\book.css
**********************************************************************************************/

.chapter-header {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.chapter-image {
    max-width: 260px; /* controls visual width */
    height: auto; /* preserves aspect ratio */
    max-height: 220px; /* caps tall images */
    object-fit: cover; /* prevents distortions */
    border-radius: 6px;
}

.chapter-hero-image {
    width: 100%;
    max-height: 420px; /* ✅ controls height */
    object-fit: cover; /* ✅ crops vertically, not horizontally */
    border-radius: 8px;
    display: block;
}
