/* Trenchport help guide only. Does not replace the main website stylesheet. */

.help-page-title{
  padding-bottom:10px;
}

.help-title-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:22px;
}

.help-layout{
  width:min(1180px,100%);
  display:grid;
  grid-template-columns:235px minmax(0,1fr);
  gap:26px;
  align-items:start;
}

.help-nav{
  min-width:0;
}

.help-nav-sticky{
  position:sticky;
  top:22px;
  max-height:calc(100vh - 44px);
  overflow:auto;
  padding:17px;
  border:1px solid rgba(151,103,255,.25);
  border-radius:16px;
  background:linear-gradient(180deg,rgba(16,18,34,.96),rgba(8,9,18,.96));
  box-shadow:0 14px 36px rgba(0,0,0,.30);
}

.help-nav-kicker,
.help-card-label{
  color:#cdb6ff;
  font-family:'Orbitron',Arial,Helvetica,sans-serif;
  font-size:.69rem;
  font-weight:900;
  letter-spacing:.10em;
  text-transform:uppercase;
}

.help-nav-heading{
  margin:17px 0 7px;
  color:#edf0ff;
  font-family:'Orbitron',Arial,Helvetica,sans-serif;
  font-size:.76rem;
  font-weight:800;
}

.help-nav-heading:first-of-type{
  margin-top:13px;
}

.help-nav a{
  display:block;
  margin:3px 0;
  padding:7px 9px;
  border-radius:9px;
  color:#aeb7da;
  font-size:.84rem;
  text-decoration:none;
  transition:background .18s ease,color .18s ease,transform .18s ease;
}

.help-nav a:hover,
.help-nav a:focus-visible{
  background:rgba(139,66,255,.12);
  color:#fff;
  transform:translateX(2px);
}

.help-content{
  min-width:0;
}

.help-group{
  scroll-margin-top:18px;
  margin-bottom:36px;
}

.help-group-heading{
  margin:0 0 14px;
}

.help-group-heading h2{
  margin:5px 0 0;
  font-family:'Orbitron',Arial,Helvetica,sans-serif;
  font-size:clamp(1.45rem,2.8vw,2rem);
}

.help-card{
  scroll-margin-top:18px;
  display:grid;
  grid-template-columns:minmax(300px,390px) minmax(0,1fr);
  gap:23px;
  align-items:start;
  margin:0 0 18px;
  padding:20px;
  border:1px solid rgba(151,103,255,.24);
  border-radius:19px;
  background:
    radial-gradient(circle at 0 0,rgba(139,66,255,.08),transparent 35%),
    linear-gradient(180deg,rgba(14,16,31,.96),rgba(7,8,16,.97));
  box-shadow:0 0 25px rgba(0,0,0,.26),inset 0 0 0 1px rgba(255,255,255,.02);
}

.help-image-panel{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:310px;
  padding:14px;
  overflow:hidden;
  border:1px solid rgba(109,165,255,.22);
  border-radius:15px;
  background:#030408;
}

.help-image-panel img{
  display:block;
  width:100%;
  height:auto;
  max-height:344px;
  object-fit:contain;
}

.help-copy h3{
  margin:7px 0 10px;
  color:var(--text);
  font-family:'Orbitron',Arial,Helvetica,sans-serif;
  font-size:1.35rem;
}

.help-summary{
  margin:0 0 14px !important;
  color:#c0c8e6;
  line-height:1.65;
}

.help-list{
  display:grid;
  gap:8px;
  margin:0;
  padding:0;
  list-style:none;
}

.help-list li{
  position:relative;
  margin:0;
  padding:9px 11px 9px 28px;
  border-radius:10px;
  background:rgba(255,255,255,.026);
  color:#afb8da;
  line-height:1.5;
}

.help-list li::before{
  content:'›';
  position:absolute;
  left:12px;
  top:7px;
  color:#c48cff;
  font-weight:900;
}

.help-list strong{
  color:#f1efff;
}

.help-tip{
  margin:15px 0 0 !important;
  padding:11px 13px;
  border:1px solid rgba(240,135,45,.24);
  border-radius:11px;
  background:rgba(240,135,45,.055);
  color:#c9c4bc;
  line-height:1.55;
}

.help-tip strong{
  color:#ffbd7d;
}

.help-top-link{
  display:inline-block;
  margin-top:13px;
  color:#b9d1ff;
  font-size:.82rem;
  font-weight:800;
  text-decoration:none;
}

.help-finish-card{
  padding:24px;
  border:1px solid rgba(151,103,255,.28);
  border-radius:19px;
  background:linear-gradient(135deg,rgba(139,66,255,.10),rgba(35,109,255,.07));
}

.help-finish-card h2{
  margin:7px 0 10px;
  font-family:'Orbitron',Arial,Helvetica,sans-serif;
}

.help-finish-card p{
  color:#b8c0df;
}

@media (max-width:980px){
  .help-layout{
    grid-template-columns:1fr;
  }

  .help-nav-sticky{
    position:static;
    max-height:none;
  }

  .help-nav{
    position:sticky;
    top:0;
    z-index:20;
  }

  .help-nav-sticky{
    display:flex;
    gap:7px;
    align-items:center;
    overflow-x:auto;
    padding:11px;
    border-radius:13px;
    white-space:nowrap;
    backdrop-filter:blur(12px);
  }

  .help-nav-kicker,
  .help-nav-heading{
    display:none;
  }

  .help-nav a{
    flex:0 0 auto;
    margin:0;
    border:1px solid rgba(151,103,255,.20);
    background:rgba(255,255,255,.025);
  }
}

@media (max-width:780px){
  .help-card{
    grid-template-columns:1fr;
    padding:16px;
  }

  .help-image-panel{
    min-height:0;
  }

  .help-image-panel img{
    width:min(100%,420px);
  }
}

@media (max-width:520px){
  .help-title-actions,
  .help-title-actions .site-button{
    width:100%;
  }

  .help-card{
    padding:13px;
    border-radius:15px;
  }

  .help-copy h3{
    font-size:1.15rem;
  }

  .help-image-panel{
    padding:9px;
  }
}
