/* Honey & ink revision — values now flow from tokens.css (load it before this file). */
/* ============================================
   Practice Problems Styles
   Blue color scheme for practice problem sections
   ============================================ */

/* Practice Problems Section */
.practice-problems {
    background-color: var(--info-bg);
    border-left: var(--rule-bar) solid var(--info);
    padding: 15px;
    margin: 15px 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.practice-problems h3 {
    color: var(--info);
    margin-top: 10px;
    margin-bottom: 10px;
}

.practice-problems ol, .practice-problems li {
    padding-left: 25px;
    margin-left: 15px;
    margin-bottom: 8px;
}

/* Toggle Sections for Solutions */
.toggle-section {
    cursor: pointer;
    color: var(--info);
    font-weight: bold;
    transition: color 0.3s;
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background-color: var(--info-tint);
    border-radius: var(--radius-sm);
}

.toggle-section:hover {
    text-decoration: underline;
    color: var(--info-strong);
    background-color: var(--info-tint-strong);
}

.hidden {
    display: none;
}

/* Solution boxes */
.practice-problems .hidden {
    margin-top: 15px;
    padding: 15px;
    background-color: var(--info-surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--info-border);
}

.practice-problems .hidden h4 {
    color: var(--info);
    margin-bottom: 10px;
}

.practice-problems .hidden p {
    margin: 10px 0;
}

.practice-problems .hidden ul {
    margin-left: 20px;
}
