/* xprimehub.hair — single post + comments (with sidebar layout) */

.vm-single-page #main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px 30px;
}

.vm-single-page .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  border-left: 4px solid #7c5cfc;
  padding: 12px 16px;
  font-size: 0.85rem;
  margin: 16px 0 20px;
  background: rgba(255, 255, 255, 0.03);
}

.vm-single-page .breadcrumb a {
  color: var(--text-muted, #a0a0b0);
  text-decoration: none;
}

.vm-single-page .breadcrumb a:hover {
  color: var(--accent-light, #a78bfa);
}

.vm-single-page .post-layout {
  padding-bottom: 30px;
}

.wp-dle-single-post.post-content {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 0 20px 30px;
  background: rgba(255, 255, 255, 0.02);
}

.wp-dle-single-post .post-header {
  margin-bottom: 12px;
  padding: 20px 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wp-dle-single-post .post-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin: 0 0 15px;
  word-break: break-word;
}

.wp-dle-single-post .post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}

.wp-dle-single-post .post-date {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted, #a0a0b0);
  font-size: 0.85rem;
}

.wp-dle-single-post .post-date svg {
  width: 16px;
  height: 16px;
}

.wp-dle-single-post .post-categories a,
.wp-dle-single-post .category-tag {
  background: rgba(233, 30, 140, 0.1) !important;
  color: #e91e8c !important;
  border: 1px solid rgba(233, 30, 140, 0.3) !important;
  padding: 4px 12px !important;
  border-radius: 20px !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

.wp-dle-single-post .page-body {
  color: var(--text-secondary, #a0a0b0);
  line-height: 1.8;
  font-size: 0.95rem;
  padding-top: 8px;
}

.wp-dle-single-post .page-body p {
  margin: 0 0 15px;
}

.wp-dle-single-post .page-body img,
.wp-dle-single-post .page-body iframe {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

.wp-dle-single-post .page-body h2,
.wp-dle-single-post .page-body h3,
.wp-dle-single-post .page-body h4,
.wp-dle-single-post .page-body h5 {
  color: #fff;
  margin: 20px 0 12px;
  line-height: 1.35;
}

.wp-dle-single-post .post-tags-section {
  margin: 28px 0 12px;
  padding: 18px 20px 16px;
  background: linear-gradient(135deg, rgba(124, 92, 252, 0.1) 0%, rgba(255, 0, 128, 0.06) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid #7c5cfc;
  border-radius: 12px;
}

.wp-dle-single-post .post-tags-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wp-dle-single-post .post-tags-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(124, 92, 252, 0.2);
  color: #a78bfa;
  flex-shrink: 0;
}

.wp-dle-single-post .post-tags-icon svg {
  width: 16px;
  height: 16px;
}

.wp-dle-single-post .post-tags-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.wp-dle-single-post .post-tags-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 10px;
  line-height: 1.35;
}

.wp-dle-single-post .post-tags-list .tag,
.wp-dle-single-post .post-tags-list a.tag,
.wp-dle-single-post .post-tags-list a.tag-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 12px;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.3;
  color: #dce2f0 !important;
  text-decoration: none !important;
  text-transform: capitalize;
  text-align: center;
  word-break: break-word;
  background: rgba(18, 18, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-dle-single-post .post-tags-list .tag:hover,
.wp-dle-single-post .post-tags-list a.tag:hover,
.wp-dle-single-post .post-tags-list a.tag-box:hover {
  color: #fff !important;
  background: rgba(124, 92, 252, 0.22);
  border-color: rgba(167, 139, 250, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(124, 92, 252, 0.2);
}

.wp-dle-single-post .post-tags-list .tag:nth-child(4n+1) {
  border-color: rgba(255, 0, 128, 0.28);
  background: rgba(255, 0, 128, 0.07);
}

.wp-dle-single-post .post-tags-list .tag:nth-child(4n+2) {
  border-color: rgba(0, 212, 255, 0.28);
  background: rgba(0, 212, 255, 0.07);
}

.wp-dle-single-post .post-tags-list .tag:nth-child(4n+3) {
  border-color: rgba(255, 215, 0, 0.28);
  background: rgba(255, 215, 0, 0.07);
}

.wp-dle-single-post .post-tags-list .tag:nth-child(4n) {
  border-color: rgba(124, 92, 252, 0.28);
  background: rgba(124, 92, 252, 0.07);
}

.vm-comments-wrap {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.vm-comments-wrap .comments-area {
  padding: 0;
}

.vm-comments-wrap .comments-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 20px 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
}

.vm-comments-wrap .comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vm-comments-wrap .comment-body {
  position: relative;
  padding-left: 85px;
  min-height: 95px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vm-comments-wrap .comment-author {
  position: absolute;
  top: 0;
  left: 0;
  width: 65px;
}

.vm-comments-wrap .comment-author .avatar {
  display: block;
  border-radius: 8px;
}

.vm-comments-wrap .comment-author .fn {
  position: absolute;
  left: 85px;
  top: -4px;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.vm-comments-wrap .comment-metadata {
  padding-top: 12px;
  font-size: 12px;
  color: #999;
}

.vm-comments-wrap .comment-content {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.vm-comments-wrap .reply {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 12px;
}

.vm-comments-wrap .reply a {
  color: #999;
  text-decoration: none;
}

.vm-comments-wrap .comment-respond {
  margin-top: 8px;
}

.vm-comments-wrap .comment-reply-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.vm-comments-wrap textarea,
.vm-comments-wrap input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  margin-bottom: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
}

.vm-comments-wrap textarea {
  min-height: 140px;
  resize: vertical;
}

.vm-comments-wrap .submit {
  padding: 12px 24px;
  background: var(--accent, #7c5cfc);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.vm-comments-wrap .submit:hover {
  filter: brightness(1.08);
}

@media (max-width: 768px) {
  .wp-dle-single-post.post-content {
    padding: 0 14px 20px;
    border-radius: 12px;
  }

  .wp-dle-single-post .post-title {
    font-size: 1.2rem;
  }

  .wp-dle-single-post .post-tags-section {
    padding: 14px 14px 12px;
    margin-top: 20px;
  }

  .wp-dle-single-post .post-tags-list {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
  }

  .wp-dle-single-post .post-tags-list .tag,
  .wp-dle-single-post .post-tags-list a.tag,
  .wp-dle-single-post .post-tags-list a.tag-box {
    min-height: 42px;
    font-size: 0.72rem;
    padding: 8px 10px;
  }

  .vm-comments-wrap .comment-body {
    padding-left: 65px;
    min-height: 80px;
  }

  .vm-comments-wrap .comment-author {
    width: 50px;
  }

  .vm-comments-wrap .comment-author .fn {
    left: 65px;
    white-space: normal;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .vm-single-page #main-content {
    padding-left: 10px;
    padding-right: 10px;
  }

  .wp-dle-single-post .post-categories {
    display: none;
  }

  .vm-single-page .breadcrumb {
    display: none;
  }
}
