/* LearnDash Passage Group v3 — Frontend */

.lpg-split-wrap {
    display: flex !important;
    align-items: flex-start;
    min-height: 500px;
    gap: 0;
}

.lpg-passage-panel {
    width: 42%;
    min-width: 260px;
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    background: #f8f9fb;
    border-right: 3px solid #1a5fa8;
    padding: 24px 20px;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1.8;
    color: #2c2c2c;
    font-family: Georgia, serif;
}

.lpg-passage-body p { margin: 0 0 12px; }
.lpg-passage-panel::-webkit-scrollbar { width: 4px; }
.lpg-passage-panel::-webkit-scrollbar-thumb { background: #1a5fa8; border-radius: 2px; }

.lpg-question-panel {
    flex: 1;
    padding: 0 0 0 28px;
    box-sizing: border-box;
    min-width: 0;
}

@media (max-width: 768px) {
    .lpg-split-wrap { flex-direction: column; }
    .lpg-passage-panel {
        width: 100%;
        position: relative;
        top: 0;
        max-height: 220px;
        border-right: none;
        border-bottom: 3px solid #1a5fa8;
        margin-bottom: 16px;
    }
    .lpg-question-panel { padding: 0; }
}
