﻿/* ─── Book / Accordion — updated sizing ──────────────────────── */

.book {
    max-width: 900px; /* was 720px */
    margin: 2rem auto;
    font-family: var(--font-sans);
    padding: 0 15px;
}

/* ── Header ──────────────────────────────────────────────────── */

.book-header {
    border-bottom: 0.5px solid #d8d6cf;
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
}

.book-title {
    font-size: 30px; /* was 20px */
    font-weight: 500;
    color: #1a1a18;
    margin: 0 0 5px;
}

.book-sub {
    font-size: 20px; /* was 12px */
    color: #888780;
    letter-spacing: 0.02em;
    margin: 0;
}

/* ── Warning banner ───────────────────────────────────────────── */

.warn-banner {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #faeeda;
    border: 0.5px solid #efab3a;
    border-radius: 8px;
    padding: 14px 18px; /* was 11px 14px */
    margin-bottom: 1.5rem;
}

.warn-icon {
    font-size: 25px; /* was 14px */
    flex-shrink: 0;
    margin-top: 1px;
}

.warn-text {
    font-size: 25px; /* was 12px */
    color: #633806;
    line-height: 1.65;
}

@media(max-width: 767px) {
    .warn-text {
        font-size: 18px;
    }
}

/* ── Accordion part ───────────────────────────────────────────── */

.part {
    border: 0.5px solid #d8d6cf;
    border-radius: 10px;
    margin-bottom: 10px; /* was 8px */
    overflow: hidden;
    background: #fff;
}

.part-trigger {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 16px 20px; /* was 13px 16px */
    display: flex;
    align-items: center;
    gap: 12px; /* was 10px */
    text-align: left;
    transition: background 0.15s;
}

.part-num {
    font-size: 18px; /* was 11px */
    font-weight: 500;
    color: #185fa5;
    background: #e6f1fb;
    padding: 3px 10px; /* was 2px 8px */
    border-radius: 6px;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.part-title {
    font-size: 20px; /* was 14px */
    font-weight: 500;
    color: #1a1a18;
    flex: 1;
}

/* ── Body ─────────────────────────────────────────────────────── */

.part-body {
    display: none;
    border-top: 0.5px solid #d8d6cf;
}

.part-body.open {
    display: block;
}

.part-arrow {
    width: 13px;
    height: 13px;
    min-width: 13px; /* add this */
    min-height: 13px; /* add this */
    flex-shrink: 0;
    fill: none;
    stroke: #b4b2a9;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}

/* ── Row ──────────────────────────────────────────────────────── */

.row {
    padding: 20px 30px; /* was 10px 16px */
    border-bottom: 0.5px solid #eeedea;
    font-size: 18px; /* was 13px */
    line-height: 1.7; /* was 1.65 */
    color: #2c2c2a;
}

.row:last-child {
    border-bottom: none;
}

.row-num {
    font-weight: 500;
    color: #888780;
    margin-right: 6px; /* was 5px */
}

/* ── Extra / hint row ─────────────────────────────────────────── */

.row-extra {
    border-left: 2px solid #b5d4f4;
    margin: 2px 0 0 6px;
    padding-left: 12px; /* was 10px */
    color: #5f5e5a;
    font-size: 18px; /* was 12px */
    line-height: 1.65;
}

/* ── Nested list ──────────────────────────────────────────────── */

.list-items {
    margin: 5px 0 0 14px; /* was 4px 0 0 12px */
    padding: 0;
    list-style: none;
}

.list-items li::before {
    content: "— ";
    color: #b4b2a9;
}
