/* intent.css — extra styles for the /best-prop-firms/ futures, cheap, crypto, usa and uk pages
   (markup from tools/bestfor/intent-pages.js; base table/card styles in listing.css). */

.ix-list { margin: 8px 0 8px; }
.ix-checkline { font-size: .85rem; line-height: 1.6; color: var(--text-secondary); margin: -6px 0 18px; }
.ix-group { margin: 34px 0 6px; }
.ix-group-text { font-size: .9rem; color: var(--text-secondary); margin: 0 0 14px; line-height: 1.6; }

/* table cells */
.lst-table.ix { font-size: .88rem; }
.lst-table.ix th { font-size: .72rem; padding: 10px 8px; }
.lst-table.ix td { padding: 12px 8px; vertical-align: top; }
.lst-table.ix .lst-rank { padding-top: 13px; }
.ix-checked { display: block; margin-top: 3px; font-size: .75rem; color: var(--text-tertiary); white-space: nowrap; }
.ix-c { line-height: 1.45; }
.ix-nowrap { white-space: nowrap; }
.ix-ns { color: var(--text-tertiary); font-style: italic; }
.ix-more { color: var(--text-tertiary); white-space: nowrap; }
.ix-yes { color: var(--success); font-weight: 600; }
.ix-no { color: var(--danger); font-weight: 600; }
.ix-band { font-size: .8rem; color: var(--text-secondary); }
.ix-src { color: var(--orange); font-size: .82rem; }
.ix-src:hover { text-decoration: underline; }
.ix-act { width: 1%; white-space: nowrap; }
.ix-act .lst-review-btn { margin: 0 0 6px; display: block; text-align: center; }
.ix-act .visit-btn { display: block; text-align: center; }

/* "how to choose" guide */
.ix-guide { margin: 0 0 36px; }
.ix-guide-item { padding: 16px 20px; margin: 0 0 10px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px; }
.ix-guide-item h3 { font-size: 1rem; font-weight: 700; margin: 0 0 6px; color: var(--text-primary); }
.ix-guide-item p { margin: 0; font-size: .92rem; line-height: 1.65; color: var(--text-secondary); }
.ix-guide-item a, .ix-a a, .intro-text a { color: var(--orange); }

/* FAQ: native <details>, works without JavaScript */
.ix-faq { margin: 44px 0 8px; }
.ix-q { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px; margin: 0 0 10px; }
.ix-q summary { cursor: pointer; list-style: none; padding: 16px 44px 16px 20px; position: relative; }
.ix-q summary::-webkit-details-marker { display: none; }
.ix-q summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--orange); }
.ix-q[open] summary::after { content: '\2212'; }
.ix-q summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 12px; }
.ix-q summary h3 { display: inline; font-size: 1rem; font-weight: 600; color: var(--text-primary); margin: 0; }
.ix-a { padding: 0 20px 16px; }
.ix-a p { margin: 0; font-size: .92rem; line-height: 1.7; color: var(--text-secondary); }

/* cards at 768px and below: one card per firm, facts in two columns */
@media (max-width: 768px) {
  .lst-table.ix tr.lst-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 12px; }
  .lst-table.ix td { display: block; }
  .lst-table.ix .lst-rank { flex: 0 0 32px; padding: 0; }
  .lst-table.ix .lst-firm { flex: 1 1 calc(100% - 44px); }
  .lst-table.ix .ix-c { flex: 1 1 calc(50% - 6px); min-width: 0; font-size: .88rem; color: var(--text-primary); white-space: normal; }
  .lst-table.ix .ix-act { flex: 1 1 100%; width: auto; display: flex; gap: 10px; white-space: normal; }
  .lst-table.ix .ix-act > a { flex: 1 1 50%; margin: 0; padding: 10px 8px; }
  .ix-guide-item { padding: 14px 16px; }
}
