/* FAQ block on the tool pages (faq.php). Matches the computed look of the
   "Privacy & Data Collection Policy" box on about.php: green tint, thin green border
   with a heavier left edge, green bold title, #444 text at 14px. The tool pages sit
   on a blue background, so the box gets the same white card the about page puts
   around it. */

.faq-wrap {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin: 24px 0;
}

.faq-section {
    background-color: rgba(40, 167, 69, 0.05);
    border: 1px solid #17bf63;
    border-left: 4px solid #28a745;
    border-radius: 8px;
    padding: 20px;
    color: #444;
    font-size: 14px;
    line-height: 21px;
}

.faq-section h4 {
    margin: 0 0 15px;
    color: #28a745;
    font-size: 14px;
    font-weight: 700;
}

.faq-item {
    border-bottom: 1px solid rgba(23, 191, 99, 0.2);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item summary {
    position: relative;
    padding: 9px 0 9px 22px;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

/* Same green and weight as the about page's ✓ ticks, as a chevron that turns open */
.faq-item summary::before {
    content: "›";
    position: absolute;
    left: 4px;
    top: 7px;
    color: #17bf63;
    font-weight: 700;
    font-size: 18px;
    line-height: 21px;
    transition: transform 0.15s ease;
}

.faq-item[open] summary::before {
    transform: rotate(90deg);
}

.faq-item summary:hover {
    color: #28a745;
}

.faq-answer p {
    margin: 0 0 12px 22px;
    line-height: 1.8;
    color: #444;
}

.faq-answer a {
    color: #28a745;
}

@media (max-width: 576px) {
    .faq-wrap {
        padding: 12px;
        margin: 16px 0;
    }

    .faq-section {
        padding: 14px;
    }
}
