/*
 * Handbook page – page-specific styles only (the version buttons).
 * The reader itself is styled by css/pdf-reader.css.
 */

/* ---------------------------------------------------------- version choice */
.hb-choose {
    max-width: 880px;
    margin: 0 auto;
    padding: 1rem 5% 1.75rem;
    text-align: center;
}

.hb-choose__label {
    margin: 0 0 0.9rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hb-choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

/* outline button like the secondary buttons on index.html; accent when selected */
.hb-choice {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.25rem;
    border: 1px solid #000;
    border-radius: 5px;
    background: #fff;
    color: #000;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.hb-choice:hover {
    transform: scaleX(1.03);
}

.hb-choice[aria-pressed="true"] {
    background: var(--accent-color, #8897d8);
}

.hb-choice:focus-visible {
    outline: 3px solid #000;
    outline-offset: 3px;
}

.hb-choice__icon {
    flex: none;
    font-size: 1.8rem;
    line-height: 1;
}

.hb-choice__title {
    display: block;
    font-weight: 700;
}

.hb-choice__sub {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.9rem;
}

@media (max-width: 575.98px) {
    .hb-choices {
        grid-template-columns: 1fr;
    }
}

