.guide-page{
  background:#0b0b0b;
  color:#e8e8e8;
}

.guide-hero{
  margin:0 16px;
  border-radius:10px;
  overflow:hidden;
  background:#111;
}
.guide-hero img{
  width:100%;
  height: 260px;
  object-fit: cover;
  display:block;
}

.guide-shell{
  padding: 14px 16px 30px;
}

.guide-breadcrumb{
  color:#b9b9b9;
  font-size:13px;
  display:flex;
  align-items:center;
  gap:8px;
  margin: 10px 0 6px;
}
.guide-breadcrumb .pin{
  width:18px;
  height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:rgba(255,106,0,.18);
  color: var(--knight-orange);
  font-weight:800;
}

.guide-link{
  color:#d8d8d8;
  text-decoration:none;
}
.guide-link:hover{
  color: var(--knight-orange);
  text-decoration:underline;
}

.guide-breadcrumb .crumb{
  color:#d8d8d8;
  text-decoration:none;
}
.guide-breadcrumb .crumb:hover{
  color: var(--knight-orange);
  text-decoration:underline;
}
.guide-breadcrumb .crumb-static{
  color:#cfcfcf;
}

.article-strip{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 10px 0 14px;
}
.article-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius:10px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.06);
  color:#eaeaea;
  text-decoration:none;
  font-weight:800;
  font-size:12px;
}
.article-btn:hover{
  border-color: rgba(255,106,0,.45);
  color:#fff;
}

.article-img-btn{
  width: 190px;
  height: 110px;
  border-radius:12px;
  overflow:hidden;
  position:relative;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.06);
  text-decoration:none;
  display:block;
}
.article-img-btn img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter: saturate(1.05);
}
.article-img-btn .cap{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:8px 10px;
  color:#fff;
  font-weight:900;
  font-size:12px;
  background: linear-gradient(0deg, rgba(0,0,0,.75), rgba(0,0,0,0));
}
.article-img-btn:hover{
  border-color: rgba(255,106,0,.45);
}

.guide-main{
  display:grid;
  grid-template-columns: 240px 1fr;
  gap:16px;
  margin-top:14px;
}

.guide-side{
  position: sticky;
  top: 14px;
  align-self:start;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.side-hero{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.06);
  border-radius:12px;
  overflow:hidden;
}
.side-hero img{
  width:100%;
  height: 120px;
  object-fit:cover;
  display:block;
}
.side-block{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.06);
  border-radius:12px;
  padding:12px;
}
.side-block-title{
  font-size:14px;
  font-weight:900;
  margin-bottom: 10px;
  display:flex;
  align-items:center;
  gap:8px;
}
.catalogue-vertical{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.catalogue-v-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 9px;
  border-radius:10px;
  color:#eaeaea;
  text-decoration:none;
  font-size:12px;
  font-weight:800;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.06);
}
.catalogue-v-item:hover{
  border-color: rgba(255,106,0,.45);
}
.catalogue-v-item.active{
  background: rgba(255,106,0,.18);
  border-color: rgba(255,106,0,.30);
}
.catalogue-v-item .count{
  font-size:12px;
  color:#cfcfcf;
  opacity:.85;
  white-space:nowrap;
}
.nav-list a{
  display:block;
  padding:7px 8px;
  border-radius:9px;
  color:#d8d8d8;
  text-decoration:none;
  font-size:13px;
  font-weight:600;
}
.nav-list a:hover{
  background: rgba(255,106,0,.10);
  color:#fff;
}
.nav-list a.active{
  background: rgba(255,106,0,.18);
  color:#fff;
}

.guide-content{
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
  border-radius:12px;
  padding:14px 14px 4px;
}

.maintext-title{
  font-size:18px;
  font-weight:900;
  text-align:center;
  margin: 6px 0 10px;
}
.maintext-meta{
  text-align:center;
  color:#9e9e9e;
  font-size:12px;
  margin-bottom: 12px;
}
.maintext-meta .sep{
  margin: 0 10px;
  opacity:.7;
}
.maintext-shell{
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
  border-radius:12px;
  padding:14px;
}
.maintext-content{
  color:#cfcfcf;
  line-height:1.65;
}
.maintext-content h1,.maintext-content h2,.maintext-content h3{
  color:#fff;
}
.maintext-content .article-gen-img{
  max-width:100%;
  height:auto;
  border-radius:10px;
}
/* Article → HTML: first title (#) only — left, orange bar, not centered */
.maintext-content .article-gen-h1{
  color:#fff;
  text-align: left;
  font-weight: 800;
  line-height: 1.3;
  border-left: 4px solid var(--knight-orange);
  padding-left: 12px;
  margin: 0.35em 0 0.55em;
  font-size: 1.35rem;
  box-sizing: border-box;
}
/* ## / ### — same as before (centered, no bar) */
.maintext-content .article-gen-h2,
.maintext-content .article-gen-h3{
  color:#fff;
  text-align: center;
  font-weight: 800;
  line-height: 1.3;
  margin: 1.1em 0 0.6em;
}
.maintext-content .article-gen-h2{ font-size: 1.2rem; }
.maintext-content .article-gen-h3{ font-size: 1.08rem; }

.mt-catalogue{
  margin: 12px 0 14px;
  padding: 12px 12px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.04);
}
.mt-catalogue-head{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom: 10px;
}
.mt-catalogue-icon{
  width:26px;
  height:26px;
  border-radius:7px;
  background: rgba(255,106,0,.18);
  color: var(--knight-orange);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
}
.mt-catalogue-title{
  font-weight:900;
  letter-spacing: .2px;
}
.mt-catalogue-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
.mt-cat-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 10px;
  border-radius:10px;
  text-decoration:none;
  color:#eaeaea;
  border:1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.05);
}
.mt-cat-item:hover{
  border-color: rgba(255,106,0,.45);
}
.mt-cat-item.active{
  border-color: rgba(255,106,0,.45);
  box-shadow: 0 0 0 1px rgba(255,106,0,.18) inset;
}
.mt-cat-name{
  font-size:12px;
  font-weight:800;
  line-height:1.2;
}
.mt-cat-badge{
  font-size:11px;
  font-weight:900;
  color: var(--knight-orange);
  white-space:nowrap;
}
.mt-catalogue-more{
  text-align:center;
  margin-top: 10px;
}
.mt-expand{
  border:0;
  background: transparent;
  color:#cfcfcf;
  font-weight:800;
  text-decoration: underline;
  cursor:pointer;
}
.mt-expand:hover{
  color:#fff;
}
.is-hidden{
  display:none !important;
}

.mt-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-top: 16px;
  padding-bottom: 10px;
  flex-wrap: wrap;
}
.mt-page{
  color:#eaeaea;
  text-decoration:none;
  font-weight:800;
  padding: 6px 8px;
  border-radius: 8px;
}
.mt-page:hover{
  color: var(--knight-orange);
}
.mt-page.active{
  border: 1px solid rgba(255,106,0,.65);
  color:#fff;
}
.mt-page-arrow{
  color:#cfcfcf;
  text-decoration:none;
  font-weight:900;
  padding: 6px 6px;
}
.mt-page-arrow:hover{
  color: var(--knight-orange);
}
.mt-page-arrow.disabled{
  opacity:.35;
  cursor: default;
}
.mt-page-total{
  margin-left: 8px;
  color:#cfcfcf;
  font-size: 12px;
  font-weight:700;
}

@media (max-width: 768px){
  .mt-catalogue-grid{ grid-template-columns: 1fr; }
}
.guide-section{
  padding: 10px 4px 16px;
  border-bottom: 1px solid rgba(255,106,0,.22);
}
.guide-section:last-child{
  border-bottom: 0;
}
.guide-section h2{
  font-size:16px;
  font-weight:900;
  margin:0 0 8px;
  color:#fff;
}
.guide-section p{
  color:#c9c9c9;
  line-height:1.55;
  margin:0;
}

@media (max-width: 980px){
  .guide-main{ grid-template-columns: 1fr; }
  .guide-side{ position: static; }
}

