/* ==========================================================================
   Rank Math FAQ - Premium Law Journal Style (loaded only when a post contains the FAQ block)
   ========================================================================== */
.rank-math-block {
    background: #f7f7f7;
    border-top: 3px solid #011F5B; /* Penn Blue */
    border-bottom: 1px solid #011F5B;
    padding: 40px;
    margin: 60px 0;
    border-radius: 8px 8px 0 0;
}
.rank-math-block::before {
    content: "Frequently Asked Questions";
    display: block;
    font-family: 'Source Sans 3', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #011F5B;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    letter-spacing: -0.01em;
}
.rank-math-list-item {
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(1, 31, 91, 0.1);
    padding-bottom: 25px;
    list-style: none;
}
.rank-math-list-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.rank-math-question {
    font-family: var(--bdld-font-main, 'Source Sans 3', sans-serif);
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #011F5B !important;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.4;
}
.rank-math-question::before {
    content: "Q.";
    color: #991B1F; /* Penn Red */
    font-weight: 800;
    font-size: 1.3rem;
    line-height: 1.4;
}
.rank-math-answer {
    font-family: var(--bdld-font-main, 'Source Sans 3', sans-serif);
    font-size: 1.05rem;
    line-height: 1.7;
    color: #2C2C2C;
    padding-left: 32px; /* aligns exactly with text after the Q. */
}
.rank-math-answer p {
    margin-bottom: 15px;
}
.rank-math-answer p:last-child {
    margin-bottom: 0;
}
.rank-math-answer ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}
.rank-math-answer ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}
.rank-math-answer ul li::before {
    content: "•";
    color: #991B1F; /* Penn Red */
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

@media (max-width: 768px) {
    .rank-math-block {
        padding: 25px;
        margin: 40px 0;
    }
    .rank-math-block::before {
        font-size: 1.5rem;
    }
    .rank-math-question {
        font-size: 1.1rem !important;
    }
    .rank-math-answer {
        font-size: 1rem;
        padding-left: 0;
        margin-top: 15px;
    }
}
