/* JBXQT News Post Template - Front styles */

body.single-post .jbxqt-npt-wrap {
  max-width: 1320px;
  margin: 28px auto;
  padding: 0 18px;
}

body.single-post .jbxqt-npt-shell {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: start;
}

body.single-post .jbxqt-npt-article,
body.single-post .jbxqt-npt-panel {
  background: linear-gradient(140deg, #0f2a63 0%, #102a58 55%, #10284f 100%);
  border: 1px solid rgba(116, 159, 255, 0.22);
  border-radius: 22px;
  box-shadow: 0 20px 46px rgba(2, 11, 36, 0.35);
}

body.single-post .jbxqt-npt-article {
  color: #d7e3ff;
  overflow: hidden;
}

body.single-post .jbxqt-npt-header,
body.single-post .jbxqt-npt-content {
  padding: 28px 26px;
}

body.single-post .jbxqt-npt-title {
  margin: 0;
  color: #f3f8ff;
  font-size: clamp(2.05rem, 3.2vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
}

body.single-post .jbxqt-npt-date {
  margin: 14px 0 12px;
  color: #9db2de;
  font-size: 1.45rem;
  font-weight: 500;
}

body.single-post .jbxqt-npt-author-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(8, 18, 45, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.single-post .jbxqt-npt-author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 2px solid rgba(45, 223, 186, 0.48);
}

body.single-post .jbxqt-npt-author-name {
  color: #e6f3ff;
  font-size: 1.12rem;
  font-weight: 700;
}

body.single-post .jbxqt-npt-featured-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b1736;
}

body.single-post .jbxqt-npt-featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.single-post .jbxqt-npt-content {
  color: #cedbf5;
  font-size: 1.33rem;
  line-height: 1.72;
}

body.single-post .jbxqt-npt-content > *:first-child {
  margin-top: 0;
}

body.single-post .jbxqt-npt-content h2,
body.single-post .jbxqt-npt-content h3,
body.single-post .jbxqt-npt-content h4 {
  color: #f2f8ff;
  line-height: 1.2;
}

body.single-post .jbxqt-npt-content a {
  color: #2edfb9;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.single-post .jbxqt-npt-sidebar {
  display: grid;
  gap: 16px;
}

body.single-post .jbxqt-npt-panel {
  padding: 16px;
}

body.single-post .jbxqt-npt-panel-title {
  margin: 0 0 12px;
  color: #f1f7ff;
  font-size: 1.28rem;
  letter-spacing: -0.01em;
}

body.single-post .jbxqt-npt-recent-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

body.single-post .jbxqt-npt-recent-item {
  margin: 0;
}

body.single-post .jbxqt-npt-recent-link {
  display: grid;
  gap: 10px;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 12, 33, 0.34);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

body.single-post .jbxqt-npt-recent-link:hover {
  transform: translateY(-1px);
  border-color: rgba(46, 223, 185, 0.46);
  background: rgba(14, 28, 65, 0.72);
}

body.single-post .jbxqt-npt-recent-thumb-wrap {
  display: block;
  width: 112px;
  aspect-ratio: 16 / 10;
  border-radius: 9px;
  overflow: hidden;
  background: #0a1738;
}

body.single-post .jbxqt-npt-recent-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.single-post .jbxqt-npt-recent-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #90a6d3;
  font-size: 0.78rem;
  font-weight: 600;
}

body.single-post .jbxqt-npt-recent-meta {
  display: grid;
  gap: 3px;
}

body.single-post .jbxqt-npt-recent-date {
  color: #8fa6d6;
  font-size: 0.86rem;
  line-height: 1.2;
}

body.single-post .jbxqt-npt-recent-title {
  color: #ecf3ff;
  font-size: 1rem;
  line-height: 1.28;
  font-weight: 700;
}

body.single-post .jbxqt-npt-banner-link,
body.single-post .jbxqt-npt-banner-static {
  display: block;
}

body.single-post .jbxqt-npt-banner-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  display: block;
}

body.single-post .jbxqt-npt-empty {
  margin: 0;
  color: #a9bddf;
  font-size: 0.96rem;
}

@media (max-width: 1140px) {
  body.single-post .jbxqt-npt-shell {
    grid-template-columns: 1fr;
  }

  body.single-post .jbxqt-npt-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.single-post .jbxqt-npt-wrap {
    margin: 14px auto;
    padding: 0 10px;
  }

  body.single-post .jbxqt-npt-header,
  body.single-post .jbxqt-npt-content {
    padding: 20px 16px;
  }

  body.single-post .jbxqt-npt-date {
    font-size: 1.12rem;
  }

  body.single-post .jbxqt-npt-content {
    font-size: 1.16rem;
    line-height: 1.64;
  }

  body.single-post .jbxqt-npt-sidebar {
    grid-template-columns: 1fr;
  }

  body.single-post .jbxqt-npt-recent-link {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  body.single-post .jbxqt-npt-recent-thumb-wrap {
    width: 96px;
  }
}
