/* RtRW FAQ — faq.css — scoped to .rtrw-faq */

.rtrw-faq { font-size: 1em; line-height: 1.65; color: inherit; }

/* Section nav pills */
.rtrw-faq .rtrw-nav {
    display: flex; flex-wrap: wrap; gap: 6px;
    list-style: none; margin: 0 0 2em; padding: 0;
}
.rtrw-faq .rtrw-nav a {
    display: inline-block; padding: 5px 14px;
    border: 1px solid #ccc; border-radius: 3px;
    font-size: .82em; font-weight: 600; color: #333;
    text-decoration: none; background: #f5f5f5;
    transition: background .15s, color .15s;
}
.rtrw-faq .rtrw-nav a:hover {
    background: #333; color: #fff; border-color: #333; text-decoration: none;
}

/* Section */
.rtrw-faq .rtrw-section { scroll-margin-top: 80px; margin-top: 2.2em; }
.rtrw-faq .rtrw-section-head {
    border-bottom: 2px solid #ddd; padding-bottom: .35em;
    margin-bottom: .3em; font-size: 1.25em; font-weight: 700; color: #111;
}
.rtrw-faq .rtrw-section-sub {
    font-style: italic; color: #666; font-size: .91em;
    margin: 0 0 1.1em;
}

/* Accordion item */
.rtrw-faq .rtrw-item {
    border: 1px solid #ddd; border-radius: 3px; margin-bottom: 7px;
}

/* Question button */
.rtrw-faq .rtrw-q {
    width: 100%; display: flex; justify-content: space-between;
    align-items: flex-start; gap: 12px; padding: 13px 15px;
    background: #fff; border: none; cursor: pointer; text-align: left;
    font-family: inherit; font-size: .97em; font-weight: 700;
    color: #111; line-height: 1.35; transition: background .15s;
}
.rtrw-faq .rtrw-q:hover { background: #f9f9f9; }
.rtrw-faq .rtrw-item.open .rtrw-q {
    background: #f5f5f5; border-bottom: 1px solid #ddd;
}

/* +/× icon */
.rtrw-faq .rtrw-icon {
    flex-shrink: 0; width: 22px; height: 22px;
    border: 1px solid #bbb; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .8em; font-weight: 700; color: #666; line-height: 1;
    margin-top: 1px; transition: transform .22s, background .18s, color .18s;
}
.rtrw-faq .rtrw-item.open .rtrw-icon {
    background: #333; color: #fff; border-color: #333; transform: rotate(45deg);
}

/* Answer panel */
.rtrw-faq .rtrw-a {
    display: none; padding: 15px 17px 17px;
    font-size: .95em; line-height: 1.7; color: #222;
}
.rtrw-faq .rtrw-item.open .rtrw-a { display: block; }
.rtrw-faq .rtrw-a p            { margin: 0 0 .85em; }
.rtrw-faq .rtrw-a p:last-child { margin-bottom: 0; }
.rtrw-faq .rtrw-a ul, .rtrw-faq .rtrw-a ol { margin: .4em 0 .85em 1.4em; padding: 0; }
.rtrw-faq .rtrw-a li           { margin-bottom: .32em; }
.rtrw-faq .rtrw-a strong       { color: #111; }

/* Callout boxes */
.rtrw-faq .rtrw-box {
    border-left: 3px solid #ccc; background: #f9f9f9;
    padding: 9px 13px; margin: .7em 0; font-size: .9em;
    border-radius: 0 3px 3px 0; line-height: 1.55;
}
.rtrw-faq .rtrw-box.tip  { border-left-color: #c8900e; background: #fffbf0; }
.rtrw-faq .rtrw-box.warn { border-left-color: #c44b15; background: #fff5f0; }
.rtrw-faq .rtrw-box.good { border-left-color: #2a7a40; background: #f0faf4; }

/* Tables */
.rtrw-faq .rtrw-tbl-wrap { overflow-x: auto; margin: .7em 0 .9em; -webkit-overflow-scrolling: touch; }
.rtrw-faq table.rtrw-tbl { width: 100%; border-collapse: collapse; font-size: .85em; min-width: 400px; }
.rtrw-faq table.rtrw-tbl th {
    background: #333; color: #fff; padding: 8px 10px;
    text-align: left; font-size: .79em; font-weight: 700;
    letter-spacing: .04em; white-space: nowrap;
}
.rtrw-faq table.rtrw-tbl td {
    padding: 7px 10px; border-bottom: 1px solid #e5e5e5; vertical-align: top;
}
.rtrw-faq table.rtrw-tbl tr:nth-child(even) td { background: #f9f9f9; }
.rtrw-faq table.rtrw-tbl tr:last-child td { border-bottom: none; }

/* Divider */
.rtrw-faq hr.rtrw-hr { border: none; border-top: 1px solid #eee; margin: 2em 0; }

/* CTA */
.rtrw-faq .rtrw-cta {
    border: 1px solid #ddd; border-top: 3px solid #333; border-radius: 3px;
    padding: 22px 22px 18px; margin-top: 2.5em; text-align: center; background: #fafafa;
}
.rtrw-faq .rtrw-cta h3  { margin: 0 0 .4em; font-size: 1.2em; }
.rtrw-faq .rtrw-cta p   { margin: 0 0 1em; color: #555; font-size: .92em; }
.rtrw-faq .rtrw-cta-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.rtrw-faq .rtrw-cta a {
    display: inline-block; padding: 9px 20px; border-radius: 3px;
    font-weight: 700; font-size: .87em; text-decoration: none;
    border: 1px solid #333; background: #333; color: #fff; transition: background .15s;
}
.rtrw-faq .rtrw-cta a:hover { background: #555; border-color: #555; color: #fff; text-decoration: none; }
.rtrw-faq .rtrw-cta a.outline { background: transparent; color: #333; }
.rtrw-faq .rtrw-cta a.outline:hover { background: #333; color: #fff; }

/* Mobile */
@media (max-width: 580px) {
    .rtrw-faq table.rtrw-tbl { font-size: .78em; }
    .rtrw-faq table.rtrw-tbl th, .rtrw-faq table.rtrw-tbl td { padding: 6px 7px; }
    .rtrw-faq .rtrw-q { padding: 12px 13px; font-size: .93em; }
    .rtrw-faq .rtrw-a { padding: 13px 14px 15px; }
    .rtrw-faq .rtrw-nav a { padding: 4px 10px; font-size: .79em; }
}
