/**
 * AIO Summary - Frontend Styles
 * Branded design with question mark background overlay
 */

/* === Quick Answer (H3) — placed OUTSIDE the .aio-ai-summary div === */
.aio-ai-quick-answer-title {
    font-size: 1.2em;
    font-weight: 600;
    color: #222;
    margin: 0 0 8px 0;
    padding: 0;
}

/* === Main AIO Summary container === */
.aio-ai-summary {
    position: relative;
    margin: 0 0 1.4em 0;
    padding: 30px 20px;
    border: 1px solid #ffe0c3;
    background-color: #fff5ed;
    background-image: url('https://thecreditpros.com/wp-content/uploads/2022/05/question-mark.png');
    background-repeat: no-repeat;
    background-position: 90% 50%;
    background-size: auto 70%;
    border-radius: 8px;
    font-size: 15.4px;
    line-height: 1.55;
    overflow: hidden;
}

/* === Post title (real WordPress post title) - first h4 === */
.aio-ai-summary h4.aio-ai-post-title {
    margin: 0 0 11px 0;
    font-size: 20px;
    font-weight: 600;
    color: #0f314b;
}

/* === "What You’ll Learn:" heading === */
.aio-ai-summary .aio-learn-heading {
    margin: 16px 0 10px 0;
    font-size: 20px;
    font-weight: 600;
    color: #ff902a !important;
}

/* === List items with custom double-check icon === */
.aio-ai-summary ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.aio-ai-summary ul li {
    margin-bottom: 7px;
    color: #0f314b;
    font-weight: 500;
    padding-left: 28px;
    background-image: url('https://thecreditpros.com/wp-content/uploads/2022/05/double-check.svg');
    background-repeat: no-repeat;
    background-position: 0 3px;
    background-size: 17px 17px;
}

/* === Paragraph === */
.aio-ai-summary p {
    margin: 0 0 14px 0;
    color: #333;
    line-height: 1.62;
}

/* === Responsive === */
@media (max-width: 768px) {
    .aio-ai-summary {
        background-position: 95% 50%;
        background-size: auto 60%;
        padding: 24px 16px;
    }
}
