/*
Theme Name: QB NCCSEC
Theme URI: https://qb.mingcha.run/
Author: Mingcha
Description: NCCSEC-style WordPress homepage template for qb.mingcha.run.
Version: 1.0.1
Text Domain: qb-nccsec
*/

@font-face {
  font-family: Inter;
  src: url("assets/fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ncc-blue: #1f63ff;
  --ncc-blue-dark: #0052d9;
  --ncc-ink: #191919;
  --ncc-muted: #86909c;
  --ncc-border: #e5e8ef;
  --ncc-bg: #f5f7fb;
  --ncc-footer: #030923;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0 !important;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ncc-ink);
  font-family: "PingFang SC", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.admin-bar .ncc-header {
  top: 32px;
}

a {
  color: inherit;
  text-decoration: none;
}

.ncc-page {
  min-height: 100vh;
  background: #fff;
}

.ncc-container {
  width: 1200px;
  max-width: calc(100% - 80px);
  margin: 0 auto;
}

.ncc-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 100px;
  background: #000;
}

.ncc-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ncc-logo img {
  width: 200px;
  height: auto;
  display: block;
}

.ncc-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.ncc-nav a {
  white-space: nowrap;
  opacity: .82;
  transition: color .2s ease, opacity .2s ease;
}

.ncc-nav a:hover,
.ncc-nav a.is-active {
  color: #fff;
  opacity: 1;
}

.ncc-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  height: 32px;
  margin-left: 28px;
  padding: 0 20px;
  border-radius: 2px;
  background: var(--ncc-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.ncc-hero {
  position: relative;
  height: 440px;
  overflow: hidden;
  background: #020822;
}

.ncc-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: nccSlide 12s infinite;
}

.ncc-hero__slide:nth-child(2) {
  animation-delay: 6s;
}

.ncc-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ncc-hero__content {
  position: relative;
  z-index: 3;
  height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.ncc-hero__title {
  margin: 0 0 14px;
  font-size: 46px;
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: 0;
}

.ncc-hero__en {
  margin: 0 0 8px;
  font-size: 29px;
  line-height: 1.28;
  font-weight: 500;
}

.ncc-hero__desc {
  margin: 0;
  font-size: 27px;
  line-height: 1.35;
  font-weight: 500;
}

.ncc-hero__button {
  position: relative;
  width: 146px;
  height: 59px;
  margin-top: 43px;
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  overflow: hidden;
}

.ncc-hero__button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, transparent 50%, rgba(255, 255, 255, .38) 50%);
  background-size: 210% 100%;
  background-position: right bottom;
  transition: background-position .8s ease;
}

.ncc-hero__button span {
  position: relative;
}

.ncc-hero__button:hover::before {
  background-position: left bottom;
}

.ncc-hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.ncc-hero__dots span {
  width: 32px;
  height: 2px;
  background: rgba(255, 255, 255, .46);
}

.ncc-hero__dots span:first-child {
  background: #fff;
}

@keyframes nccSlide {
  0%, 44% {
    opacity: 1;
  }
  50%, 94% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.ncc-main {
  padding: 54px 0 80px;
}

.ncc-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
}

.ncc-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 24px;
  margin-bottom: 20px;
}

.ncc-section-title__left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 600;
}

.ncc-section-title__bar {
  width: 4px;
  height: 18px;
  border-radius: 1px;
  background: var(--ncc-blue);
  box-shadow: 6px 0 0 rgba(31, 99, 255, .65);
}

.ncc-more {
  color: var(--ncc-blue-dark);
  font-size: 14px;
  font-weight: 600;
}

.ncc-table,
.ncc-rank {
  border: 1px solid var(--ncc-border);
  border-radius: 1px;
  background: #fff;
}

.ncc-table table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.ncc-table th {
  height: 65px;
  background: #fbfbfc;
  color: var(--ncc-muted);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}

.ncc-table th:first-child,
.ncc-table td:first-child {
  width: 64px;
  text-align: center;
}

.ncc-table th:nth-child(2) {
  width: 315px;
}

.ncc-table th:last-child {
  width: 190px;
}

.ncc-table td {
  height: 50px;
  border-top: 1px solid var(--ncc-border);
  color: #5f6672;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ncc-table tr:hover td {
  background: #e9f5ff;
}

.ncc-vuln-id,
.ncc-rank__score {
  color: var(--ncc-blue);
  font-weight: 600;
}

.ncc-hot {
  width: 22px;
  height: 22px;
  object-fit: contain;
  vertical-align: middle;
}

.ncc-severity {
  display: inline-flex;
  width: 16px;
  height: 18px;
  margin-right: 10px;
  border-radius: 9px 9px 11px 11px;
  vertical-align: -4px;
  background: linear-gradient(180deg, #ffb02e, #ff7b00);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .35);
}

.ncc-severity.high {
  background: linear-gradient(180deg, #ff6a6a, #ff2f43);
}

.ncc-severity.low {
  background: linear-gradient(180deg, #4fd2ad, #20aa85);
}

.ncc-rank {
  min-height: 562px;
  padding: 18px 24px 16px;
}

.ncc-rank__head,
.ncc-rank__item {
  display: grid;
  grid-template-columns: 40px 1fr 70px;
  align-items: center;
}

.ncc-rank__head {
  height: 32px;
  color: var(--ncc-muted);
  font-size: 13px;
  font-weight: 600;
}

.ncc-rank__item {
  height: 50px;
  background: linear-gradient(90deg, rgba(31, 99, 255, .035), rgba(255,255,255,0));
  color: #4e5662;
  font-weight: 600;
}

.ncc-rank__badge {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #a8b1bd;
  background: #f1f4f8;
  font-size: 16px;
}

.ncc-rank__badge--gold {
  color: #fff;
  background: linear-gradient(180deg, #ffd869 0%, #ff9f22 100%);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .46);
  font-size: 13px;
  font-weight: 700;
}

.ncc-rank__badge img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.ncc-forum {
  margin-top: 44px;
}

.ncc-post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
}

.ncc-post-card {
  min-height: 142px;
  border: 1px solid var(--ncc-border);
  border-radius: 1px;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.ncc-post-card:hover {
  border-color: #c9d9ff;
  box-shadow: 0 8px 22px rgba(31, 99, 255, .08);
}

.ncc-post-card__body {
  padding: 24px 24px 16px;
  flex: 1;
}

.ncc-post-title {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.32;
  font-weight: 600;
}

.ncc-post-tag {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 2px;
  background: #e9f5ff;
  color: var(--ncc-blue);
  font-size: 13px;
  font-weight: 700;
}

.ncc-post-excerpt {
  margin: 0;
  color: #5f6672;
  font-size: 14px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ncc-post-meta {
  min-height: 36px;
  border-top: 1px solid var(--ncc-border);
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #98a1ad;
  font-size: 13px;
}

.ncc-post-author {
  color: #5f6672;
}

.ncc-post-stats {
  display: flex;
  gap: 16px;
}

.ncc-stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ncc-stat__icon {
  color: #b8c0cc;
  font-size: 12px;
}

.ncc-footer {
  background:
    radial-gradient(circle at 65% 0, rgba(31, 99, 255, .26), transparent 42%),
    linear-gradient(180deg, #050b2c 0%, var(--ncc-footer) 100%);
  color: rgba(255, 255, 255, .72);
  padding: 34px 0 42px;
}

.ncc-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.ncc-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, .78);
}

.ncc-footer__mail {
  color: rgba(255, 255, 255, .7);
}

.ncc-footer__qrs {
  display: flex;
  gap: 34px;
}

.ncc-footer__qr img {
  width: 70px;
  height: 70px;
  display: block;
  object-fit: cover;
}

.ncc-footer__qr span {
  display: block;
  margin-top: 8px;
  text-align: center;
  font-size: 13px;
}

.ncc-footer__copy {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .42);
}

.ncc-archive-hero {
  background: linear-gradient(135deg, #041038 0%, #061a64 58%, #0f55d8 100%);
  color: #fff;
  padding: 72px 0;
}

.ncc-archive-hero h1 {
  margin: 0 0 12px;
  font-size: 40px;
  line-height: 1.2;
}

.ncc-archive-hero p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
}

.ncc-archive-main {
  padding: 42px 0 80px;
  background: #fff;
}

.ncc-list {
  border: 1px solid var(--ncc-border);
  background: #fff;
}

.ncc-list__item {
  display: block;
  padding: 22px 26px;
  border-bottom: 1px solid var(--ncc-border);
}

.ncc-list__item:last-child {
  border-bottom: 0;
}

.ncc-list__item:hover {
  background: #f7fbff;
}

.ncc-list__title {
  margin: 0 0 10px;
  color: var(--ncc-ink);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
}

.ncc-list__meta,
.ncc-list__excerpt {
  color: var(--ncc-muted);
  font-size: 14px;
}

.ncc-list__excerpt {
  margin-top: 8px;
  line-height: 1.7;
}

.ncc-subhero {
  position: relative;
  height: 193px;
  overflow: hidden;
  background: #06133d;
  color: #fff;
}

.ncc-subhero--tall {
  height: 440px;
  background: #020919;
}

.ncc-subhero--tall .ncc-subhero__content {
  justify-content: center;
}

.ncc-subhero--tall h1 {
  font-size: 52px;
  margin-bottom: 16px;
}

.ncc-subhero--tall p {
  max-width: 620px;
  font-size: 20px;
  line-height: 1.45;
}

.ncc-subhero--rewards .ncc-subhero__image {
  top: 50%;
  right: auto;
  bottom: auto;
  width: auto;
  height: 100%;
  left: 50%;
  max-width: none;
  transform: translate(-750px, -50%);
}

.ncc-subhero--rewards h1 {
  width: 468px;
  height: 130px;
  margin: 0 0 12px;
  background: url("assets/img/rewards-title.png") no-repeat 0 0 / 100% 100%;
  color: transparent;
}

.ncc-subhero--tech .ncc-subhero__image,
.ncc-subhero--smes .ncc-subhero__image,
.ncc-subhero--vulns .ncc-subhero__image {
  object-fit: cover;
}

.ncc-subhero--vulns .ncc-subhero__image {
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  width: auto;
  min-width: 1658px;
  height: 100%;
  max-width: none;
  object-fit: contain;
  transform: translate(-1000px, -50%);
}

.ncc-subhero--smes .ncc-subhero__content::after {
  content: "•  常见问题知识库        •  专家深度解答        •  避坑指南分享";
  margin-top: 34px;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .2px;
  white-space: pre;
}

.ncc-subhero--certificate {
  height: 193px;
}

.ncc-subhero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ncc-subhero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ncc-subhero h1 {
  margin: 0 0 12px;
  font-size: 42px;
  line-height: 1.16;
  font-weight: 700;
}

.ncc-subhero p {
  margin: 0;
  font-size: 18px;
  color: rgba(255, 255, 255, .86);
}

.ncc-subhero__button,
.ncc-primary-button {
  width: 132px;
  height: 45px;
  margin-top: 26px;
  border: 1px solid rgba(255, 255, 255, .92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
}

.ncc-primary-button {
  margin: 40px auto 0;
  border: 0;
  background: var(--ncc-blue);
}

.ncc-vuln-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 283px;
  gap: 25px;
}

.ncc-list-search {
  width: 380px;
  height: 30px;
  border: 1px solid var(--ncc-border);
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: #b3bac5;
  font-size: 13px;
}

.ncc-table--archive th:first-child,
.ncc-table--archive td:first-child {
  width: 280px;
  text-align: left;
  padding-left: 14px;
}

.ncc-table--archive th:nth-child(2) {
  width: auto;
}

.ncc-pagination {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #606975;
}

.ncc-pagination b {
  color: var(--ncc-blue);
}

.ncc-award-side {
  border: 1px solid var(--ncc-border);
  border-radius: 2px;
  padding: 14px 12px;
}

.ncc-award-tier {
  min-height: 50px;
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: 106px 1fr;
  align-items: center;
  border-left: 0;
  border-bottom: 2px solid #4ed0b4;
  background: #f3fffb;
}

.ncc-award-tier strong {
  height: 50px;
  padding-left: 16px;
  display: flex;
  align-items: center;
  color: #21b58f;
  background: #ecfffb;
  font-size: 14px;
}

.ncc-award-tier span {
  height: 50px;
  padding-left: 13px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--ncc-blue);
  font-size: 13px;
  line-height: 1.45;
  background: #fbfbfc;
}

.ncc-award-tier--two {
  border-color: #ff922c;
  background: #fffaf0;
}

.ncc-award-tier--two strong {
  color: #f4a600;
  background: #fffcf0;
}

.ncc-award-tier--three {
  border-color: #ff2c2c;
  background: #fff4f5;
}

.ncc-award-tier--three strong {
  color: #ff3c52;
  background: #fff6f7;
}

.ncc-side-banner {
  height: 90px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 24px;
  border-radius: 2px;
  background: linear-gradient(135deg, #eff8ff, #dfefff);
  color: var(--ncc-blue);
  font-weight: 700;
  text-align: right;
}

.ncc-side-banner--vul {
  background: url("assets/img/vul-standards-bg.jpg") no-repeat center / cover;
}

.ncc-side-banner--cert {
  background: url("assets/img/cert-standards-bg.jpg") no-repeat center / cover;
}

.ncc-community-hero {
  position: relative;
  height: 440px;
  background: #020e28;
  overflow: hidden;
  color: #fff;
}

.ncc-community-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ncc-community-hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ncc-community-hero h1 {
  margin: 0 0 27px;
  font-size: 52px;
  font-weight: 600;
}

.ncc-community-hero p {
  margin: 0;
  font-size: 20px;
  text-transform: uppercase;
}

.ncc-login-panel {
  width: 350px;
  min-height: 280px;
  padding: 32px;
  border-radius: 4px;
  border: .5px solid rgba(117,159,255,.35);
  background: rgba(67, 86, 122, .4);
  backdrop-filter: blur(3px);
}

.ncc-login-panel strong {
  font-size: 20px;
}

.ncc-login-panel div {
  margin: 34px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  color: rgba(255,255,255,.75);
}

.ncc-login-panel small {
  display: block;
  margin-top: 6px;
}

.ncc-login-panel a {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ncc-blue);
  color: #fff;
  white-space: nowrap;
}

.ncc-community {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 22px;
  padding: 50px 0 90px;
}

.ncc-side-menu,
.ncc-tag-list,
.ncc-community-body {
  border: 1px solid var(--ncc-border);
  background: #fff;
}

.ncc-side-menu {
  height: 100px;
  padding: 18px;
  display: grid;
  gap: 18px;
}

.ncc-side-menu strong {
  color: var(--ncc-blue);
}

.ncc-community-side h2 {
  margin: 18px 0 14px;
  font-size: 20px;
}

.ncc-tag-list {
  padding: 24px 30px;
}

.ncc-tag-list div {
  height: 38px;
  display: flex;
  justify-content: space-between;
  color: #6f7782;
}

.ncc-forum-icons {
  padding: 24px 28px 18px;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  text-align: center;
}

.ncc-forum-icons span {
  width: 44px;
  height: 44px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef5ff;
  color: var(--ncc-blue);
  font-size: 24px;
}

.ncc-forum-icons p {
  margin: 0;
  font-size: 13px;
}

.ncc-forum-tabs {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 18px 28px 8px;
  border-top: 1px solid var(--ncc-border);
  font-weight: 700;
}

.ncc-forum-tabs .is-active {
  color: var(--ncc-blue);
}

.ncc-forum-tabs div {
  margin-left: auto;
  width: 214px;
  height: 32px;
  border: 1px solid var(--ncc-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  color: #b4bbc5;
  font-weight: 400;
}

.ncc-topic {
  padding: 18px 28px;
  border-bottom: 1px solid var(--ncc-border);
}

.ncc-topic h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.ncc-topic h2 span {
  margin-left: 8px;
  padding: 2px 5px;
  background: #e9f5ff;
  color: var(--ncc-blue);
  font-size: 12px;
}

.ncc-topic p {
  margin: 0 0 10px;
  color: #6f7782;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ncc-topic footer {
  display: flex;
  gap: 8px;
  color: #99a1ad;
  font-size: 13px;
}

.ncc-topic footer span {
  padding: 2px 6px;
  background: #f1f3f7;
}

.ncc-topic footer b {
  margin-left: auto;
  font-weight: 400;
}

.ncc-landing {
  padding: 70px 0 140px;
  text-align: center;
}

.ncc-support-title img {
  max-width: 420px;
  width: 100%;
}

.ncc-landing h2,
.ncc-about h2 {
  margin: 24px 0 24px;
  font-size: 28px;
}

.ncc-center-copy {
  max-width: 1060px;
  margin: 0 auto 34px;
  color: #404854;
  line-height: 1.8;
}

.ncc-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 30px 24px;
  border-radius: 6px;
  background: #f1f7ff;
}

.ncc-flow__item {
  padding: 0 16px;
}

.ncc-flow__item span {
  color: #3f4752;
  font-size: 22px;
}

.ncc-flow__item h3 {
  font-size: 16px;
}

.ncc-flow__item p {
  color: #7d8794;
  font-size: 13px;
}

.ncc-consult {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 22px;
  padding: 50px 0 120px;
}

.ncc-consult__side,
.ncc-consult__body {
  border: 1px solid var(--ncc-border);
}

.ncc-consult__side {
  height: 52px;
  padding: 16px;
  color: var(--ncc-blue);
}

.ncc-consult__body {
  padding: 22px;
}

.ncc-searchbar {
  height: 36px;
  border: 1px solid var(--ncc-border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: #b4bbc5;
}

.ncc-guide-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ncc-guide-card {
  position: relative;
  min-height: 165px;
  padding: 22px;
  border: 1px solid #eef1f5;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .04);
}

.ncc-guide-card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: transparent;
}

.ncc-guide-card__icon img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.ncc-guide-card__count {
  position: absolute;
  right: 22px;
  top: 22px;
  padding: 2px 10px;
  border-radius: 12px;
  background: #f0f2f5;
  color: #969da8;
}

.ncc-guide-card h2 {
  margin: 18px 0 8px;
  font-size: 18px;
}

.ncc-guide-card p {
  margin: 0;
  color: #8a93a0;
}

.ncc-rewards {
  padding: 34px 0 80px;
}

.ncc-filter {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 4px;
}

.ncc-filter strong {
  width: 80px;
  font-size: 16px;
  color: #101010;
}

.ncc-filter span {
  min-width: 70px;
  height: 28px;
  padding: 4px 14px 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  background: #f2f3f5;
  color: #101010;
  font-size: 14px;
  font-weight: 500;
}

.ncc-filter span.is-active {
  background: var(--ncc-blue);
  color: #fff;
}

.ncc-reward-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(282px, 1fr));
  gap: 24px;
}

.ncc-reward-card {
  position: relative;
  height: 350px;
  padding: 0 14px 28px;
  border: 1px solid #e5e8ef;
  border-radius: 2px;
  overflow: hidden;
  background: #fff;
  text-align: center;
  transition: box-shadow .3s;
}

.ncc-reward-card:hover {
  box-shadow: 0 4px 12.7px rgba(220, 223, 229, .54);
}

.ncc-reward-card__visual {
  height: 220px;
  display: grid;
  place-items: center;
}

.ncc-reward-card__visual img {
  width: 240px;
  height: 220px;
  object-fit: contain;
  transition: transform .3s;
}

.ncc-reward-card:hover .ncc-reward-card__visual img {
  transform: scale(1.05);
}

.ncc-reward-card__visual span {
  min-width: 150px;
  min-height: 86px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #50a5ff, #2c73ff);
  color: #fff;
  font-size: 42px;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(31, 99, 255, .16);
}

.ncc-reward-card__visual--cup span,
.ncc-reward-card__visual--bottle span,
.ncc-reward-card__visual--mug span {
  border-radius: 20px 20px 46px 46px;
  background: linear-gradient(135deg, #f8fbff, #111827);
  color: #fff;
}

.ncc-reward-card__visual--badge-red span {
  background: linear-gradient(135deg, #ffcf42, #d9122f);
}

.ncc-reward-card__visual--badge-blue span,
.ncc-reward-card__visual--watch span {
  border-radius: 50%;
}

.ncc-reward-card h2 {
  min-height: 38px;
  margin: 20px 0 17px;
  color: #000;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 600;
}

.ncc-reward-card p {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 14px;
  font-weight: 500;
}

.ncc-reward-card b {
  color: #0052d9;
  font-weight: 600;
}

.ncc-reward-card i {
  display: inline-block;
  width: 1px;
  height: 14px;
  margin: 0 18px;
  background: var(--ncc-border);
  vertical-align: -2px;
}

.ncc-reward-card__button {
  position: absolute;
  left: 50%;
  bottom: -44px;
  width: 238px;
  height: 40px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  background: #1f63ff;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: bottom .5s;
}

.ncc-reward-card:hover .ncc-reward-card__button {
  bottom: 40px;
}

.ncc-certs {
  padding: 54px 0 110px;
}

.ncc-cert-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 80px;
  gap: 34px;
  margin-bottom: 30px;
}

.ncc-cert-form span,
.ncc-cert-form button {
  height: 32px;
  border: 1px solid var(--ncc-border);
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: #b2bac6;
}

.ncc-cert-form span::first-letter {
  color: #ff4058;
}

.ncc-cert-form button {
  border: 0;
  justify-content: center;
  background: var(--ncc-blue);
  color: #fff;
}

.ncc-cert-table {
  border: 1px solid var(--ncc-border);
}

.ncc-cert-table__head,
.ncc-cert-table__row {
  display: grid;
  grid-template-columns: 200px 1fr 160px 180px 180px;
  min-height: 54px;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid var(--ncc-border);
}

.ncc-cert-table__head {
  background: #fbfbfc;
  color: var(--ncc-muted);
  font-weight: 700;
}

.ncc-article {
  padding: 70px 0 100px;
  color: #2b3d50;
  font-size: 16px;
  line-height: 1.85;
}

.ncc-article h2 {
  margin: 0 0 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ncc-border);
  font-size: 28px;
}

.ncc-article h3 {
  margin-top: 22px;
  font-size: 22px;
}

.ncc-rule-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
}

.ncc-rule-table th,
.ncc-rule-table td {
  border: 1px solid var(--ncc-border);
  padding: 12px 14px;
}

.ncc-rule-table th {
  background: #f7f9fc;
}

.ncc-article-certificate {
  display: block;
  width: 360px;
  max-width: 100%;
  margin: 34px auto 0;
}

.ncc-about {
  padding: 78px 0 180px;
}

.ncc-about h2 {
  text-align: center;
  font-size: 48px;
  font-weight: 500;
}

.ncc-about__row {
  margin-top: 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 120px;
  align-items: center;
}

.ncc-about h3 {
  display: inline-block;
  margin: 0 0 28px;
  padding-bottom: 18px;
  border-bottom: 5px solid var(--ncc-blue);
  font-size: 28px;
  font-weight: 500;
}

.ncc-about p {
  margin: 0;
  color: #777;
  font-size: 18px;
  line-height: 1.9;
}

.ncc-about img {
  width: 360px;
}

.ncc-vul-detail-hero {
  min-height: 193px;
  padding-top: 47px;
  background: url("assets/img/bg-banner-4.png") no-repeat center / cover;
  color: #fff;
}

.ncc-vul-detail-hero__title {
  display: flex;
  align-items: center;
  gap: 17px;
}

.ncc-vul-detail-hero__title h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.35;
  font-weight: 600;
}

.ncc-vul-detail-level {
  width: 83px;
  height: 35px;
  flex: 0 0 auto;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #ff8400;
  font-weight: 600;
}

.ncc-vul-detail-level--high {
  color: #f44;
}

.ncc-vul-detail-level--low {
  color: #39b69b;
}

.ncc-vul-detail-meta {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.ncc-vul-detail-meta div {
  min-height: 48px;
  padding-right: 30px;
  border-right: 1px solid rgba(255, 255, 255, .24);
}

.ncc-vul-detail-meta div:last-child {
  border-right: 0;
}

.ncc-vul-detail-meta span,
.ncc-vul-detail-meta strong {
  display: block;
  font-size: 14px;
  font-weight: 400;
}

.ncc-vul-detail-meta span {
  margin-bottom: 7px;
}

.ncc-vul-detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 283px;
  gap: 24px;
  padding: 36px 0 113px;
}

.ncc-vul-detail-main {
  min-height: 445px;
  border: 1px solid var(--ncc-border);
  padding: 36px;
}

.ncc-vul-detail-section {
  padding-bottom: 24px;
  margin-bottom: 29px;
  border-bottom: 1px solid var(--ncc-border);
}

.ncc-vul-detail-section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.ncc-vul-detail-section h2,
.ncc-vul-side-card h2 {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  color: #101010;
  font-size: 20px;
  font-weight: 500;
}

.ncc-vul-detail-section h2 span,
.ncc-vul-side-card h2 span {
  width: 4px;
  height: 18px;
  margin-right: 8px;
  background: #1f63ff;
  box-shadow: 5px 0 0 rgba(31, 99, 255, .65);
}

.ncc-vul-detail-section div {
  color: #000;
  font-size: 14px;
  line-height: 1.9;
}

.ncc-vul-side-card {
  border: 1px solid var(--ncc-border);
  border-radius: 2px;
  padding: 19px;
  margin-bottom: 24px;
}

.ncc-vul-cvss {
  display: block;
  color: #191919;
  font-size: 32px;
  line-height: 1;
  font-weight: 500;
}

.ncc-vul-scorebar {
  height: 10px;
  margin: 10px 0 25px;
  border-radius: 8px;
  background: #e9edf5;
  overflow: hidden;
}

.ncc-vul-scorebar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #1f63ff;
}

.ncc-vul-cvss-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 22px;
}

.ncc-vul-cvss-grid span {
  display: block;
  margin-bottom: 4px;
  color: var(--ncc-muted);
}

.ncc-vul-cvss-grid b {
  height: 36px;
  display: flex;
  align-items: center;
  border-left: 2px solid #1f63ff;
  background: #f2f3f5;
  padding-left: 15px;
  font-weight: 400;
}

.ncc-vul-timeline div {
  position: relative;
  padding-left: 28px;
  color: #86909c;
}

.ncc-vul-timeline i {
  position: absolute;
  left: 0;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #1f63ff;
}

.ncc-vul-timeline time,
.ncc-vul-timeline strong {
  display: block;
  font-weight: 400;
}

.ncc-vul-timeline strong {
  margin-top: 6px;
  color: #101010;
}

.ncc-form-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 213px;
  gap: 16px;
  padding: 28px 0 80px;
}

.ncc-topic-shell {
  grid-template-columns: minmax(0, 1fr);
}

.ncc-front-form {
  min-width: 0;
}

.ncc-form-block {
  margin-bottom: 24px;
  padding: 36px 32px;
  border: 1px solid var(--ncc-border);
  border-radius: 2px;
  background: #fff;
}

.ncc-form-block h1,
.ncc-form-block h2,
.ncc-form-login-required h1 {
  margin: 0 0 26px;
  color: #000;
  font-size: 18px;
  font-weight: 500;
}

.ncc-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 28px;
}

.ncc-submit-form label {
  display: block;
}

.ncc-submit-form label span {
  display: block;
  margin-bottom: 8px;
  color: #101010;
  font-weight: 500;
}

.ncc-submit-form input,
.ncc-submit-form select,
.ncc-submit-form textarea {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--ncc-border);
  border-radius: 2px;
  padding: 8px 12px;
  background: #fff;
  color: #101010;
  font: inherit;
}

.ncc-submit-form textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.7;
}

.ncc-form-wide {
  margin-bottom: 22px;
}

.ncc-form-title-row input {
  border-width: 0 0 1px;
  padding-left: 0;
}

.ncc-form-actions {
  display: flex;
  align-items: center;
  gap: 48px;
}

.ncc-form-actions button,
.ncc-form-actions a,
.ncc-form-login-required a {
  width: 132px;
  height: 44px;
  border: 0;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1f63ff;
  color: #fff;
  cursor: pointer;
}

.ncc-form-actions a {
  border: 1px solid var(--ncc-border);
  background: #fff;
  color: #101010;
}

.ncc-front-form-side {
  padding-top: 64px;
}

.ncc-front-form-side {
  align-self: start;
  border: 1px solid var(--ncc-border);
  border-radius: 2px;
  padding: 36px 22px 28px 32px;
}

.ncc-front-form-side h2 {
  margin: 0 0 18px;
  color: #1f63ff;
  font-size: 16px;
  font-weight: 500;
}

.ncc-front-form-side p,
.ncc-front-form-side li {
  color: #86909c;
  font-size: 14px;
  line-height: 1.8;
}

.ncc-front-form-side ul {
  padding-left: 18px;
}

.ncc-form-notice,
.ncc-form-login-required {
  margin-bottom: 24px;
  padding: 24px 32px;
  border: 1px solid #c9d9ff;
  background: #f7fbff;
}

.ncc-form-login-required p {
  margin: 0 0 22px;
  color: #606975;
}

@media (min-width: 901px) and (max-width: 1280px) {
  .ncc-container {
    max-width: calc(100% - 80px);
  }

  .ncc-logo img {
    width: 180px;
  }

  .ncc-nav {
    gap: 22px;
    font-size: 15px;
  }

  .ncc-login {
    min-width: 84px;
    margin-left: 18px;
    padding: 0 16px;
  }
}

@media (min-width: 1920px) {
  .ncc-container {
    width: 1200px;
  }
}

@media (max-width: 900px) {
  html,
  body {
    overflow-x: hidden;
  }

  body.admin-bar .ncc-header {
    top: 46px;
  }

  .ncc-container {
    max-width: calc(100% - 32px);
  }

  .ncc-header {
    height: auto;
    min-height: 76px;
  }

  .ncc-header__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 12px 0;
  }

  .ncc-logo img {
    width: 168px;
  }

  .ncc-nav {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    font-size: 14px;
  }

  .ncc-nav::-webkit-scrollbar {
    display: none;
  }

  .ncc-login {
    margin-left: 0;
    height: 30px;
    min-width: 86px;
  }

  .ncc-hero,
  .ncc-hero__content {
    height: 360px;
  }

  .ncc-hero__title {
    font-size: 34px;
  }

  .ncc-hero__en,
  .ncc-hero__desc {
    font-size: 20px;
  }

  .ncc-subhero,
  .ncc-subhero--tall,
  .ncc-community-hero {
    height: 320px;
  }

  .ncc-subhero__content {
    padding-top: 48px;
  }

  .ncc-subhero--rewards .ncc-subhero__image {
    width: 100%;
    left: 0;
    transform: none;
    object-position: 56% center;
  }

  .ncc-subhero--tech .ncc-subhero__image,
  .ncc-subhero--smes .ncc-subhero__image,
  .ncc-subhero--vulns .ncc-subhero__image {
    object-position: 62% center;
  }

  .ncc-subhero--rewards h1 {
    width: 320px;
    height: 89px;
  }

  .ncc-top-grid,
  .ncc-post-grid,
  .ncc-vuln-layout,
  .ncc-community,
  .ncc-consult,
  .ncc-about__row {
    grid-template-columns: 1fr;
  }

  .ncc-subhero h1,
  .ncc-community-hero h1,
  .ncc-about h2 {
    font-size: 32px;
  }

  .ncc-community-hero__inner {
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
    padding-top: 42px;
  }

  .ncc-login-panel {
    width: 100%;
    min-height: 220px;
  }

  .ncc-forum-icons,
  .ncc-guide-grid,
  .ncc-reward-grid,
  .ncc-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .ncc-cert-form,
  .ncc-cert-table__head,
  .ncc-cert-table__row {
    grid-template-columns: 1fr;
  }

  .ncc-list-search {
    display: none;
  }

  .ncc-section-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .ncc-table {
    overflow-x: auto;
  }

  .ncc-table table {
    min-width: 820px;
  }

  .ncc-rank {
    min-height: auto;
  }

  .ncc-filter {
    align-items: flex-start;
    height: auto;
    flex-wrap: wrap;
    gap: 12px;
  }

  .ncc-filter strong {
    width: 100%;
  }

  .ncc-reward-card {
    height: 330px;
  }

  .ncc-reward-card__visual {
    height: 190px;
  }

  .ncc-reward-card__visual img {
    max-width: 220px;
    max-height: 190px;
  }

  .ncc-cert-form {
    gap: 14px;
  }

  .ncc-cert-table__head,
  .ncc-cert-table__row {
    height: auto;
    gap: 6px;
    padding: 14px;
  }

  .ncc-about {
    padding: 54px 0 90px;
  }

  .ncc-about__row {
    gap: 42px;
    margin-top: 46px;
  }

  .ncc-about img {
    width: min(320px, 100%);
  }

  .ncc-footer__inner {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .ncc-container {
    max-width: calc(100% - 28px);
  }

  .ncc-header__inner {
    gap: 10px;
  }

  .ncc-nav {
    gap: 12px;
    font-size: 13px;
  }

  .ncc-hero,
  .ncc-hero__content,
  .ncc-subhero,
  .ncc-subhero--tall,
  .ncc-community-hero {
    height: 300px;
  }

  .ncc-hero__content,
  .ncc-subhero__content,
  .ncc-community-hero__inner {
    padding-top: 68px;
  }

  .ncc-hero__title,
  .ncc-subhero--tall h1,
  .ncc-subhero h1,
  .ncc-community-hero h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .ncc-hero__en,
  .ncc-hero__desc,
  .ncc-subhero p,
  .ncc-subhero--tall p,
  .ncc-community-hero p {
    font-size: 14px;
    line-height: 1.65;
  }

  .ncc-subhero--rewards h1 {
    width: 250px;
    height: 69px;
  }

  .ncc-subhero__button,
  .ncc-primary-button {
    width: 116px;
    height: 38px;
    margin-top: 18px;
  }

  .ncc-archive-main,
  .ncc-community,
  .ncc-consult,
  .ncc-rewards,
  .ncc-certs {
    padding-top: 28px;
    padding-bottom: 58px;
  }

  .ncc-section-title__left {
    font-size: 18px;
  }

  .ncc-forum-icons,
  .ncc-guide-grid,
  .ncc-reward-grid,
  .ncc-flow {
    grid-template-columns: 1fr;
  }

  .ncc-community-side,
  .ncc-community-body,
  .ncc-consult__side,
  .ncc-consult__body,
  .ncc-award-side {
    min-width: 0;
  }

  .ncc-forum-tabs {
    flex-wrap: wrap;
    height: auto;
    gap: 12px;
    padding: 14px;
  }

  .ncc-forum-tabs div {
    width: 100%;
    margin-left: 0;
  }

  .ncc-topic footer {
    flex-wrap: wrap;
  }

  .ncc-topic footer b {
    width: 100%;
    margin-left: 0;
  }

  .ncc-flow {
    padding: 20px;
    gap: 18px;
  }

  .ncc-reward-grid {
    gap: 18px;
  }

  .ncc-reward-card {
    width: 100%;
    height: 330px;
  }

  .ncc-filter span {
    min-width: 0;
  }

  .ncc-cert-form {
    grid-template-columns: 1fr;
  }

  .ncc-rule-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .ncc-footer {
    padding: 34px 0 40px;
  }

  .ncc-footer__links {
    flex-wrap: wrap;
    gap: 14px;
  }
}
