/* --------------------------------------------------------
    GLOBAL STYLES
-------------------------------------------------------- */
body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f5f7fa;
    margin: 0;
    padding: 0;
    color: #222;
}

.container {
    max-width: 900px;
    margin: 50px auto;
    background: white;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

h1 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
    font-weight: 600;
}

/* --------------------------------------------------------
    BOOK TITLE CARD
-------------------------------------------------------- */
.book-card {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e3e3e3;
}

.book-title {
    font-size: 20px;
    font-weight: 600;
    background: #eef2ff;
    padding: 14px 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.25s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.book-title:hover {
    background: #dde5ff;
}

.arrow {
    font-size: 16px;
    opacity: 0.6;
}

/* --------------------------------------------------------
    SUMMARY SECTION
-------------------------------------------------------- */
.summary {
    display: none;
    margin-top: 18px;
    padding: 20px;
    background: #fafbff;
    border-left: 4px solid #6c79ff;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.65;
}

/* Spacing between paragraphs (since we convert \n\n -> <br><br>) */
.summary br {
    margin-bottom: 6px;
}

/* Optional nice typography improvements */
.summary strong {
    font-weight: 700;
    color: #2a2a2a;
}
.footer-message {
    font-family: 'Kalam', cursive;
    font-size: 0.75em; /* ~1.5x size */
    color: #555;
    opacity: 0.9;

    margin-top: 40px;
    padding: 0 0 40px 0;
}
.spacer {
    height: 2px; /* adjust */
}
.sub-links {
    margin-top: 12px;
}

.external-link {
    display: inline-block;
    font-size: 0.9rem;
    color: #555;
    text-decoration: underline;
}

.external-link:hover {
    color: #000;
}
.subtext {
    border-left: 3px solid #6c79ff;
    padding-left: 12px;
    margin-top: 6px;
    color: #444;
}