:root{--red:#8f0710;--deep:#520408;--ink:#0d0f14;--paper:#f3f0ea;--line:#d7d1c9;--muted:#68707b}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:#111;font-family:Arial,Helvetica,sans-serif}
.faq-hero{background:radial-gradient(circle at 78% 30%,rgba(214,20,35,.24),transparent 25%),linear-gradient(110deg,#07080a 0%,#13080a 54%,#65060b 100%);border-bottom:3px solid #9b0912;color:#fff}
.faq-hero>div{width:min(1240px,calc(100% - 48px));margin:auto;padding:54px 0}
.faq-hero span,.faq-content-head>span,.faq-sidebar-title span{color:#ed1927;font-size:11px;font-weight:900;letter-spacing:1.3px}
.faq-hero h1{margin:8px 0;font-size:44px;line-height:1}
.faq-hero p{margin:0;color:#c4c9d1;font-size:15px}
.faq-page{width:min(1240px,calc(100% - 48px));margin:26px auto 60px}
.faq-search-card{padding:18px 20px;background:#fff;border:1px solid var(--line);border-left:5px solid var(--red)}
.faq-search-card label{display:block;margin-bottom:9px;font-size:18px;font-weight:900}
.faq-search-row{display:grid;grid-template-columns:1fr 100px;gap:8px}
.faq-search-row input{height:46px;padding:0 14px;border:1px solid #9da1a8;background:#f9f8f5;font-size:14px}
.faq-search-row button{border:1px solid #79070c;background:linear-gradient(105deg,#79070c,#4d0407,#111319);color:#fff;font-weight:900}
.faq-search-card p{margin:9px 0 0;color:var(--muted);font-size:12px}
.faq-workspace{display:grid;grid-template-columns:265px minmax(0,1fr);gap:16px;align-items:start;margin-top:16px}
.faq-sidebar{position:sticky;top:14px;background:#0b0d12;border-top:3px solid var(--red);color:#fff}
.faq-sidebar-title{padding:18px;border-bottom:1px solid #30343c}
.faq-sidebar-title strong{display:block;margin-top:6px;font-size:18px}
#faqTabs{max-height:72vh;overflow:auto;padding:8px}
.faq-tab{display:block;width:100%;min-height:43px;padding:9px 12px;border:1px solid transparent;background:transparent;color:#d8dce2;text-align:left;font-size:12px;font-weight:800}
.faq-tab:hover,.faq-tab.active{border-color:#9a0a13;background:linear-gradient(105deg,#7f080e,#4e0408,#121318);color:#fff}
.faq-tab+.faq-tab{margin-top:4px}
.faq-content{min-height:620px;background:#fff;border:1px solid var(--line)}
.faq-content-head{padding:26px 28px;border-bottom:1px solid var(--line)}
.faq-content-head h2{margin:6px 0 7px;font-size:32px}
.faq-content-head p{margin:0;color:var(--muted);line-height:1.5}
.faq-entry-list{padding:8px 28px 28px}
.faq-entry{border-bottom:1px solid var(--line)}
.faq-question{display:grid;grid-template-columns:1fr 34px;align-items:center;width:100%;padding:18px 0;border:0;background:#fff;color:#111;text-align:left;font-size:16px;font-weight:900}
.faq-question span:last-child{width:29px;height:29px;display:grid;place-items:center;background:#111319;color:#fff;font-size:18px}
.faq-entry.open .faq-question span:last-child{background:linear-gradient(135deg,#9e0b15,#4b0407);transform:rotate(45deg)}
.faq-answer{display:none;padding:0 44px 18px 0;color:#424952;font-size:14px;line-height:1.65;white-space:pre-line}
.faq-entry.open .faq-answer{display:block}
.faq-empty{padding:50px 20px;text-align:center;color:#666}
.faq-search-result-label{padding:16px 0 8px;color:#970a13;font-size:11px;font-weight:900;letter-spacing:.8px}
@media(max-width:820px){.faq-hero>div,.faq-page{width:calc(100% - 28px)}.faq-hero>div{padding:38px 0}.faq-hero h1{font-size:35px}.faq-workspace{grid-template-columns:1fr}.faq-sidebar{position:static}.faq-sidebar-title{padding:14px}#faqTabs{display:flex;max-height:none;overflow:auto;padding:8px}.faq-tab{width:auto;min-width:max-content;margin:0 4px 0 0}.faq-tab+.faq-tab{margin-top:0}.faq-content{min-height:400px}}
@media(max-width:520px){.faq-hero>div,.faq-page{width:calc(100% - 20px)}.faq-hero h1{font-size:30px}.faq-search-row{grid-template-columns:1fr}.faq-search-row button{height:42px}.faq-content-head{padding:21px 18px}.faq-content-head h2{font-size:26px}.faq-entry-list{padding:4px 18px 20px}.faq-question{font-size:14px}.faq-answer{padding-right:0;font-size:13px}}


/* =========================================================
   OSBEATS FAQ MOBILE FIT 20260903

   Fixes:
   - no horizontal page overflow
   - all FAQ category tabs visible
   - compact two-column mobile tab grid
   - FAQ content stays inside viewport
   - long questions wrap instead of being cut off
   ========================================================= */

@media(max-width:820px){

  .faq-page,
  .faq-workspace,
  .faq-sidebar,
  .faq-content,
  .faq-search-card{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

  .faq-page{
    width:calc(100% - 28px) !important;
    margin:18px auto 44px !important;
  }

  .faq-workspace{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:14px !important;
  }

  .faq-sidebar{
    position:static !important;
    overflow:hidden !important;
  }

  .faq-sidebar-title{
    padding:14px 16px !important;
  }

  #faqTabs{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:6px !important;

    width:100% !important;
    max-width:100% !important;

    max-height:none !important;

    overflow:visible !important;

    padding:8px !important;
  }

  .faq-tab,
  .faq-tab + .faq-tab{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;

    min-height:44px !important;

    margin:0 !important;

    padding:9px 10px !important;

    white-space:normal !important;
    overflow-wrap:anywhere !important;
    word-break:normal !important;

    text-align:center !important;

    line-height:1.2 !important;
  }

  .faq-content{
    min-height:0 !important;
    overflow:hidden !important;
  }

  .faq-content-head,
  .faq-entry-list,
  .faq-entry,
  .faq-question,
  .faq-answer{
    min-width:0 !important;
    max-width:100% !important;
  }

  .faq-content-head h2,
  .faq-content-head p,
  .faq-question,
  .faq-answer{
    white-space:normal !important;
    overflow-wrap:anywhere !important;
    word-break:normal !important;
  }

  .faq-question{
    grid-template-columns:minmax(0,1fr) 30px !important;
    gap:10px !important;
  }

  .faq-question span:first-child{
    min-width:0 !important;
    max-width:100% !important;

    white-space:normal !important;
    overflow-wrap:anywhere !important;
  }

}


@media(max-width:520px){

  .faq-page{
    width:calc(100% - 24px) !important;
    margin:16px auto 38px !important;
  }

  .faq-search-card{
    padding:14px !important;
  }

  .faq-search-row{
    grid-template-columns:minmax(0,1fr) !important;
    gap:8px !important;
  }

  .faq-search-row input,
  .faq-search-row button{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
  }

  .faq-sidebar-title{
    padding:13px 14px !important;
  }

  .faq-sidebar-title strong{
    font-size:17px !important;
  }

  #faqTabs{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:5px !important;
    padding:7px !important;
  }

  .faq-tab,
  .faq-tab + .faq-tab{
    min-height:42px !important;
    padding:8px 7px !important;

    font-size:11px !important;
    line-height:1.18 !important;
  }

  .faq-content-head{
    padding:18px 16px !important;
  }

  .faq-content-head h2{
    font-size:25px !important;
    line-height:1.08 !important;
  }

  .faq-content-head p{
    font-size:13px !important;
    line-height:1.45 !important;
  }

  .faq-entry-list{
    padding:2px 16px 18px !important;
  }

  .faq-question{
    padding:15px 0 !important;

    grid-template-columns:minmax(0,1fr) 28px !important;

    font-size:14px !important;
    line-height:1.25 !important;
  }

  .faq-question span:last-child{
    width:27px !important;
    height:27px !important;
  }

  .faq-answer{
    padding-right:0 !important;

    font-size:13px !important;
    line-height:1.55 !important;
  }

}


@media(max-width:360px){

  #faqTabs{
    grid-template-columns:1fr !important;
  }

}
