/* Property Q&A — AEO Phase 3.
 *
 * Visual contract:
 *   - Section sits flush with the surrounding `.content-section` rhythm.
 *   - Each question is a <details> element. First one renders open by
 *     default (set in the SSR HTML); the rest collapse.
 *   - Subtle card per question, tight stack, no decorative noise — the
 *     section's job is to give crawlers a clean Q&A table, not to compete
 *     with the strategy comparison strip for visual real estate.
 *
 * Mobile: same single-column stack as desktop (no width tricks needed),
 * just tighter padding.
 */

.property-faq {
    margin: 16px 0 24px;
}

.property-faq__intro {
    margin: -4px 0 16px;
    color: #6c757d;
    font-size: 0.92rem;
    line-height: 1.45;
}

.property-faq__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.property-faq__item {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.property-faq__item[open] {
    border-color: #cfd8e3;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.property-faq__item:hover {
    border-color: #cfd8e3;
}

.property-faq__question {
    cursor: pointer;
    list-style: none;
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    user-select: none;
    /* Suppress the default disclosure triangle so we can render a custom one
       that animates with the open state. */
}

.property-faq__question::-webkit-details-marker {
    display: none;
}

.property-faq__question::before {
    content: "+";
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    line-height: 16px;
    text-align: center;
    color: #6c757d;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.15s ease, color 0.15s ease;
}

.property-faq__item[open] > .property-faq__question::before {
    content: "−";
    color: #2563eb;
}

.property-faq__answer {
    padding: 0 16px 14px 44px;
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.55;
}

.property-faq__answer strong {
    color: #212529;
}

.property-faq__offers {
    margin: 8px 0 0;
    padding-left: 18px;
    list-style: disc;
}

.property-faq__offers li {
    margin: 4px 0;
}

/* <noscript> fallback: collapse the pre styling so it renders as plain text
   without the monospace look that <pre> defaults to. Crawlers see the same
   content either way. */
.property-faq-noscript {
    white-space: pre-wrap;
    font-family: inherit;
    font-size: 0.95rem;
    color: #495057;
    background: none;
    padding: 0;
    margin: 12px 0;
}

@media (max-width: 600px) {
    .property-faq {
        margin: 12px 0 20px;
    }
    .property-faq__question {
        padding: 12px 12px;
        font-size: 0.95rem;
    }
    .property-faq__answer {
        padding: 0 12px 12px 36px;
        font-size: 0.92rem;
    }
}
