/* ── Background: match logo dark navy ── */
body,
.page-wrapper,
.content,
.content main,
.nav-chapters,
.nav-wrapper,
#page-wrapper {
    background-color: #061424 !important;
}

/* ── Hide mdBook chrome (single-page site) ── */
#sidebar,
#menu-bar,
.nav-chapters,
#nav-wrapper {
    display: none !important;
}

/* ── Content width ── */
.content {
    margin-left: 0 !important;
    max-width: 860px;
    margin-right: auto;
    padding: 2rem;
}

/* ── Header: tighten spacing, proper h1 size ── */
#site-title {
    font-size: 2.8rem;
    margin-top: 0.4rem;
    margin-bottom: 0.3rem;
    color: #c9a055 !important;
}

.content main > p:first-of-type {
    margin-top: 0;
}

.content main > img:first-child {
    margin-bottom: 0.5rem;
}

hr {
    border-color: #c9a05540 !important;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

/* ── Body text: warm off-white ── */
body, p, td, li {
    color: #d8cfc4 !important;
}

/* ── Headings: steampunk gold ── */
h1, h2, h3 {
    color: #c9a055 !important;
}

/* ── Product list: card-style rows ── */
table {
    border-spacing: 0 !important;
}

table tr {
    border-radius: 8px;
}

table tr td {
    background-color: #0c2235 !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

table tr td:first-child {
    border-radius: 8px 0 0 8px;
    padding-left: 12px !important;
}

table tr td:last-child {
    border-radius: 0 8px 8px 0;
    padding-right: 16px !important;
}

/* Gap between rows */
table tr::after {
    content: '';
    display: block;
    height: 8px;
}

/* ── Links: gold ── */
a {
    color: #c9a055 !important;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
    color: #e0b86a !important;
}

/* ── Background section: muted/secondary ── */
.content main > h2:last-of-type,
.content main > h2:last-of-type ~ p,
.content main > h2:last-of-type ~ ul,
.content main > h2:last-of-type ~ ul li {
    font-size: 0.9rem;
    color: #8899aa !important;
}

.content main > h2:last-of-type {
    font-size: 1.1rem !important;
    margin-top: 2rem;
}

/* Footer */
.content main > div:last-of-type {
    font-size: 0.85rem;
    color: #8899aa !important;
    margin-top: 1.5rem;
}
