/* ===== Blog Detail page (single post with sidebar) ===== */
.post-detail-wrap {
  flex: 1 1 850px;
  max-width: 850px;
}

.post-detail p {
  margin-bottom: 24px;
}

.post-detail h2 {
  font-size: 30px;
  font-weight: 500;
  line-height: 36px;
  letter-spacing: normal;
  margin-top: 12px;
  margin-bottom: 20px;
}

.post-detail-image {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  margin-bottom: 28px;
}

/* Quote block */
.post-quote {
  margin: 0 0 28px;
  background: var(--color-software-dark);
  border-radius: 20px;
  padding: 35px 40px;
}

.post-quote-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.post-quote-icon {
  flex-shrink: 0;
}

.post-quote p {
  color: #ffffff;
  font-size: 18px;
  line-height: 27.9px;
  font-style: normal;
  margin: 0;
}

.post-quote-divider {
  display: block;
  width: 100%;
  height: 1px;
  margin: 24px 0;
  border: none;
}

.post-quote-author {
  color: #ffffff;
}

.post-quote-author strong {
  color: #ffffff;
  font-weight: 600;
}

/* Two-image grid */
.post-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
  margin-bottom: 28px;
}

.post-image-grid img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

/* Tags + Share footer */
.post-detail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(2, 8, 66, 0.1);
}

.post-tags,
.post-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.post-tags .label,
.post-share .label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-text-title);
  margin-right: 4px;
}

.post-tags .label svg,
.post-share .label svg {
  color: var(--color-software-primary);
}

.post-tags a {
  color: var(--color-text-paragraph);
  font-size: 16px;
  border: 1px solid rgba(2, 8, 66, 0.1);
  border-radius: 30px;
  padding: 6px 18px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.post-tags a:hover {
  background: var(--color-software-primary);
  color: #ffffff;
  border-color: var(--color-software-primary);
}

.post-share-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-share-links a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(2, 8, 66, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-title);
  transition: background 0.2s ease, color 0.2s ease;
}

.post-share-links a:hover {
  background: var(--color-software-primary);
  color: #ffffff;
  border-color: var(--color-software-primary);
}

/* ===== Comments ===== */
.comments-area {
  margin-top: 60px;
}

.comments-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 35px;
}

.comment-list,
.comment-children {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-children {
  padding-left: 50px;
}

.comment-body {
  display: flex;
  gap: 20px;
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(2, 8, 66, 0.1);
}

.comment-avatar {
  width: 100px;
  height: 100px;
  object-fit: cover;
  flex-shrink: 0;
}

.comment-content h4 {
  font-size: 18px;
  margin-bottom: 6px;
}

.comment-date {
  display: block;
  font-size: 14px;
  color: var(--color-text-paragraph);
  margin-bottom: 12px;
}

.comment-content p {
  margin-bottom: 14px;
}

.comment-reply-link {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text-title);
  text-decoration: none;
}

.comment-reply-link:hover {
  color: var(--color-software-primary);
  text-decoration: underline;
}

/* Comment form */
.comment-respond h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
}

.comment-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.comment-form input[type="text"],
.comment-form textarea {
  width: 100%;
  border: 1px solid rgb(220, 226, 225);
  border-radius: 10px;
  padding: 12px 18px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text-title);
  background: #ffffff;
}

.comment-form textarea {
  height: 148px;
  resize: vertical;
  margin-bottom: 16px;
}

.comment-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-paragraph);
  margin-bottom: 24px;
}

.comment-form-consent input {
  margin-top: 4px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .post-detail h2 {
    font-size: 24px;
    line-height: 30px;
  }

  .post-quote {
    padding: 24px 20px;
  }

  .post-quote-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .post-quote-icon {
    width: 48px;
    height: 48px;
  }

  .post-image-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .post-image-grid img {
    height: 220px;
  }

  .post-detail-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .comment-body {
    gap: 14px;
  }

  .comment-avatar {
    width: 60px;
    height: 60px;
  }

  .comment-children {
    padding-left: 20px;
  }

  .comment-form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
