
:root{
  --tgfaq-border:#e7e7e7;
  --tgfaq-text:#262626;
  --tgfaq-muted:#737373;
  --tgfaq-soft:#f7f7f7;
  --tgfaq-hover:#f2f2f2;
  --tgfaq-hover-strong:#ececec;
  --tgfaq-panel:#ffffff;
}

.tgfaq-single-page{
  width:100%;
  max-width:none;
}

.tgfaq-shell{
  display:grid;
  grid-template-columns:260px minmax(0,1fr) 0;
  column-gap:34px;
  width:min(100%,1460px);
  max-width:1460px;
  margin:0 auto;
  padding:28px 20px 70px;
  color:var(--tgfaq-text);
  font-family:inherit;
  box-sizing:border-box;
  transition:grid-template-columns .34s cubic-bezier(.22,.8,.24,1),column-gap .34s cubic-bezier(.22,.8,.24,1);
  overflow:clip;
}

.tgfaq-shell.is-context-open{
  grid-template-columns:260px minmax(0,1fr) minmax(320px,410px);
  column-gap:28px;
}

.tgfaq-sidebar{
  position:sticky;
  top:24px;
  align-self:start;
  height:calc(100vh - 48px);
  min-width:0;
  overflow:auto;
  padding:10px 10px 24px 0;
  border-right:1px solid var(--tgfaq-border);
  box-sizing:border-box;
}

.tgfaq-sidebar-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:8px 12px 18px;
  font-size:15px;
}

.tgfaq-sidebar-home{
  color:#222;
  font-weight:700;
  text-decoration:none;
}

.tgfaq-close-nav,
.tgfaq-mobile-nav-btn{
  display:none;
}

.tgfaq-topic-nav{
  display:flex;
  flex-direction:column;
  gap:3px;
  padding-right:8px;
}

.tgfaq-topic-children{
  padding-left:18px;
  display:flex;
  flex-direction:column;
  gap:3px;
}

.tgfaq-topic-link{
  appearance:none!important;
  -webkit-appearance:none!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  display:grid;
  grid-template-columns:20px minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
  width:100%;
  min-height:40px;
  text-align:left;
  padding:10px 12px!important;
  border-radius:9px!important;
  color:#343434!important;
  cursor:pointer;
  font:inherit;
  font-size:14px;
  line-height:1.35;
  box-sizing:border-box;
  transition:background-color .15s ease,color .15s ease;
}

.tgfaq-topic-link:hover,
.tgfaq-topic-link:focus-visible,
.tgfaq-topic-link.is-active{
  background:var(--tgfaq-hover)!important;
  color:#333!important;
}

.tgfaq-topic-link span,
.tgfaq-topic-link.is-active span{
  color:inherit!important;
}

.tgfaq-topic-link small{
  color:#8f8f8f!important;
  font-size:12px;
}

.tgfaq-topic-link.is-active small{
  color:#707070!important;
}

.tgfaq-folder-icon{
  width:18px;
  height:18px;
  color:#777;
}

.tgfaq-main{
  max-width:880px;
  width:100%;
  min-width:0;
  margin:0 auto;
  transition:max-width .24s ease;
}

.tgfaq-shell.is-context-open .tgfaq-main{
  max-width:760px;
}

.tgfaq-hero{
  padding:26px 0 30px;
}

.tgfaq-eyebrow{
  text-transform:uppercase;
  letter-spacing:.1em;
  font-size:12px;
  font-weight:700;
  color:var(--tgfaq-muted);
  margin:0 0 8px;
}

.tgfaq-hero h1{
  font-size:clamp(34px,5vw,52px);
  line-height:1.05;
  letter-spacing:-.03em;
  margin:0 0 14px;
}

.tgfaq-hero>p:not(.tgfaq-eyebrow){
  margin:0;
  color:var(--tgfaq-muted);
  font-size:17px;
}

.tgfaq-search{
  margin-top:26px;
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid #d9d9d9;
  border-radius:12px;
  padding:0 14px;
  background:#fff;
  box-sizing:border-box;
}

.tgfaq-search:focus-within{
  border-color:#bdbdbd;
  box-shadow:0 0 0 3px rgba(0,0,0,.035);
}

.tgfaq-search svg{
  width:20px;
  color:#777;
  flex:0 0 auto;
}

.tgfaq-search input{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  width:100%;
  padding:14px 0!important;
  font:inherit;
  background:transparent!important;
  color:#262626!important;
}

.tgfaq-list{
  border-top:1px solid var(--tgfaq-border);
}

.tgfaq-item{
  border-bottom:1px solid var(--tgfaq-border);
  padding:5px 0;
}

.tgfaq-question{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:100%!important;
  min-height:52px;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 28px;
  align-items:center;
  gap:18px;
  text-align:left!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:14px 16px!important;
  margin:0!important;
  border-radius:11px!important;
  cursor:pointer;
  font:inherit!important;
  font-weight:600!important;
  font-size:16px!important;
  line-height:1.42!important;
  color:#282828!important;
  box-sizing:border-box!important;
  transition:background-color .15s ease,color .15s ease;
}

.tgfaq-question:hover,
.tgfaq-question:focus-visible,
.tgfaq-question[aria-expanded="true"]{
  background:var(--tgfaq-hover)!important;
  color:#333!important;
}

.tgfaq-question-title{
  display:block;
  min-width:0;
  max-width:100%;
  white-space:normal;
  overflow-wrap:anywhere;
  color:inherit!important;
}

.tgfaq-plus{
  display:flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  font-size:23px;
  line-height:1;
  font-weight:300;
  transition:transform .2s ease;
  color:#777!important;
}

.tgfaq-question[aria-expanded="true"] .tgfaq-plus{
  transform:rotate(45deg);
}

.tgfaq-answer{
  padding:10px 46px 18px 16px;
  color:#424242;
  line-height:1.7;
}

.tgfaq-answer-inner>:first-child{margin-top:0}
.tgfaq-answer-inner>:last-child{margin-bottom:8px}

.tgfaq-context-link{
  appearance:none!important;
  border:0!important;
  background:transparent!important;
  color:#666!important;
  padding:4px 0!important;
  font:inherit!important;
  font-size:13px!important;
  cursor:pointer;
  text-decoration:none;
}

.tgfaq-context-link:hover{
  color:#222!important;
  text-decoration:underline;
}

.tgfaq-empty{
  padding:28px 16px;
  color:var(--tgfaq-muted);
}

.tgfaq-context{
  min-width:0;
  width:100%;
  height:calc(100vh - 48px);
  position:sticky;
  top:24px;
  align-self:start;
  background:var(--tgfaq-panel);
  border-left:1px solid var(--tgfaq-border);
  opacity:0;
  transform:translate3d(105%,0,0);
  visibility:hidden;
  pointer-events:none;
  transition:
    transform .34s cubic-bezier(.22,.8,.24,1),
    opacity .20s ease,
    visibility 0s linear .34s;
  will-change:transform;
  overflow:hidden;
  box-sizing:border-box;
}

.tgfaq-shell.is-context-open .tgfaq-context{
  opacity:1;
  transform:translate3d(0,0,0);
  visibility:visible;
  pointer-events:auto;
  transition:
    transform .34s cubic-bezier(.22,.8,.24,1),
    opacity .20s ease,
    visibility 0s linear 0s;
}

.tgfaq-context-head{
  height:52px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 4px 0 22px;
  border-bottom:1px solid var(--tgfaq-border);
  color:#777;
  font-size:13px;
  box-sizing:border-box;
}

.tgfaq-context-close{
  appearance:none!important;
  border:0!important;
  background:transparent!important;
  color:#555!important;
  width:42px;
  height:42px;
  padding:10px!important;
  border-radius:9px!important;
  cursor:pointer;
  box-shadow:none!important;
}

.tgfaq-context-close:hover{
  background:var(--tgfaq-hover)!important;
  color:#222!important;
}

.tgfaq-context-close svg{
  width:20px;
  height:20px;
}

.tgfaq-context-scroll{
  height:calc(100% - 52px);
  overflow:auto;
  padding:26px 24px 46px;
  box-sizing:border-box;
}

.tgfaq-context-article h2{
  margin:0 0 20px;
  font-size:clamp(23px,2.2vw,31px);
  line-height:1.18;
  letter-spacing:-.02em;
  color:#282828;
}

.tgfaq-context-eyebrow{
  margin:0 0 8px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:11px;
  font-weight:700;
  color:#8a8a8a;
}

.tgfaq-context-body{
  color:#444;
  line-height:1.72;
  font-size:15px;
}

.tgfaq-context-body>:first-child{margin-top:0}


.tgfaq-mobile-backdrop{
  display:none;
}

.tgfaq-ask{
  margin-top:50px;
  padding:24px;
  border:1px solid var(--tgfaq-border);
  border-radius:14px;
  background:var(--tgfaq-soft);
}

.tgfaq-ask h2{
  font-size:20px;
  margin:0 0 6px;
}

.tgfaq-ask p{
  margin:0;
  color:var(--tgfaq-muted);
}

.tgfaq-form{
  margin-top:18px;
}

.tgfaq-form textarea{
  width:100%;
  box-sizing:border-box;
  border:1px solid #d8d8d8;
  border-radius:10px;
  padding:12px 14px;
  font:inherit;
  resize:vertical;
  background:#fff;
  min-height:90px;
}

.tgfaq-form-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:10px;
}

.tgfaq-form button{
  border:0;
  border-radius:9px;
  background:#1f1f1f;
  color:#fff;
  padding:10px 16px;
  font:inherit;
  font-weight:600;
  cursor:pointer;
}

.tgfaq-form-status{
  font-size:13px;
  color:var(--tgfaq-muted);
}

.tgfaq-related details{
  border-bottom:1px solid var(--tgfaq-border);
  padding:12px 0;
}

.tgfaq-mobile-nav-btn{
  border:1px solid var(--tgfaq-border)!important;
  background:#fff!important;
  color:#333!important;
  border-radius:9px!important;
  padding:9px 12px!important;
  font:inherit!important;
  box-shadow:none!important;
}

.tgfaq-hp{
  position:absolute!important;
  left:-10000px!important;
  top:auto!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

.tgfaq-turnstile{
  margin:12px 0 2px;
  min-height:65px;
}

@media(max-width:1180px){
  .tgfaq-shell,
  .tgfaq-shell.is-context-open{
    grid-template-columns:230px minmax(0,1fr) minmax(300px,360px);
    column-gap:20px;
  }

  .tgfaq-shell:not(.is-context-open){
    grid-template-columns:230px minmax(0,1fr) 0;
  }
}

@media(max-width:900px){
  .tgfaq-shell,
  .tgfaq-shell.is-context-open{
    display:block;
    width:100%;
    max-width:none;
    padding:18px 16px 56px;
    overflow:visible;
  }

  .tgfaq-mobile-nav-btn{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-bottom:6px;
    position:sticky;
    top:8px;
    z-index:50;
  }

  .tgfaq-sidebar{
    position:fixed;
    z-index:100002;
    inset:0 auto 0 0;
    width:min(86vw,320px);
    height:100vh;
    background:#fff;
    border-right:1px solid var(--tgfaq-border);
    padding:16px 12px;
    transform:translateX(-105%);
    transition:transform .22s ease;
    box-shadow:10px 0 30px rgba(0,0,0,.08);
  }

  .tgfaq-sidebar.is-open{
    transform:translateX(0);
  }

  .tgfaq-close-nav{
    display:block;
    border:0!important;
    background:transparent!important;
    color:#444!important;
    font-size:26px;
    cursor:pointer;
  }

  .tgfaq-main,
  .tgfaq-shell.is-context-open .tgfaq-main{
    max-width:none;
  }

  .tgfaq-hero{
    padding-top:22px;
  }

  .tgfaq-context{
    position:fixed;
    z-index:100004;
    inset:0;
    width:100%;
    height:100dvh;
    max-width:none;
    border:0;
    opacity:0;
    transform:translateX(100%);
    pointer-events:none;
    background:#fff;
  }

  .tgfaq-shell.is-context-open .tgfaq-context{
    opacity:1;
    transform:translateX(0);
    pointer-events:auto;
  }

  .tgfaq-context-head{
    padding-left:18px;
  }

  .tgfaq-context-scroll{
    padding:24px 18px 40px;
  }

  .tgfaq-mobile-backdrop{
    display:none;
  }
}

@media(max-width:560px){
  .tgfaq-shell,
  .tgfaq-shell.is-context-open{
    padding-left:14px;
    padding-right:14px;
  }

  .tgfaq-hero h1{
    font-size:36px;
  }

  .tgfaq-hero>p:not(.tgfaq-eyebrow){
    font-size:15px;
  }

  .tgfaq-question{
    font-size:15px!important;
    padding:13px 12px!important;
    min-height:50px;
  }

  .tgfaq-answer{
    padding:8px 34px 16px 12px;
  }

  .tgfaq-ask{
    padding:18px;
  }

  .tgfaq-form-row{
    align-items:flex-start;
    flex-direction:column;
  }

  .tgfaq-form button{
    width:100%;
  }
}


/* v0.1.5 – smoother context motion */
@media(min-width:901px){
  .tgfaq-context-scroll{
    opacity:.86;
    transform:translateX(16px);
    transition:opacity .26s ease .06s,transform .34s cubic-bezier(.22,.8,.24,1) .03s;
  }

  .tgfaq-shell.is-context-open .tgfaq-context-scroll{
    opacity:1;
    transform:translateX(0);
  }
}

@media(max-width:900px){
  .tgfaq-context{
    transform:translate3d(100%,0,0);
    transition:
      transform .34s cubic-bezier(.22,.8,.24,1),
      opacity .18s ease,
      visibility 0s linear .34s;
  }

  .tgfaq-shell.is-context-open .tgfaq-context{
    transform:translate3d(0,0,0);
    transition:
      transform .34s cubic-bezier(.22,.8,.24,1),
      opacity .18s ease,
      visibility 0s linear 0s;
  }
}
