.custom-logo-link { 
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.custom-logo,
.custom-logo-link img {
  width: auto !important;
  max-width: 100%;
  display: inline-block;
}

@media (max-width: 768px) {
  .custom-logo,
  .custom-logo-link img {
    height: 40px !important;
  }
}

.logo-wrap-overflow-fix { overflow: visible !important; }

.banner img {
  width: 100%;         
  height: auto;        
  display: block;      
}

.banner {
  width: 100%;
  overflow: hidden;   
}

@media (max-width: 768px) {
  .banner img {
    max-height: 250px; 
    object-fit: cover; 
  }
}

/* ============================================
   KHU VỰC BÌNH LUẬN
 
============================================ */

/* --- Form: nhãn --- */
.comment-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #374151;
  margin-bottom: 0.35rem;
}

.comment-form .required {
  color: #ef4444;
}

/* --- Form: ô nhập --- */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background: #fff;
  font-size: 1rem;
  color: #111827;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.comment-form textarea {
  resize: vertical;
  min-height: 140px;
}

.comment-form p {
  margin-bottom: 1rem;
}

/* 3 ô Tên / Email / Website xếp cạnh nhau trên desktop */
@media (min-width: 768px) {
  .comment-form .comment-form-author,
  .comment-form .comment-form-email {
    display: inline-block;
    width: calc(50% - 0.5rem);
    vertical-align: top;
  }
  .comment-form .comment-form-author { margin-right: 1rem; }
}

/* --- Dòng "Đăng nhập với tên..." --- */
.comment-form .logged-in-as {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.comment-form .logged-in-as a {
  color: #16a34a;
  text-decoration: underline;
}

.comment-form .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.comment-form .comment-form-cookies-consent input {
  margin-top: 0.25rem;
}

.comment-form .comment-form-cookies-consent label {
  display: inline;
  font-weight: 400;
  margin: 0;
}

/* --- Nút gửi --- */
.comment-form input[type="submit"],
.comment-form .submit {
  display: inline-block;
  width: auto;
  background: #16a34a;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.comment-form input[type="submit"]:hover {
  background: #15803d;
}

.comment-form input[type="submit"]:active {
  transform: scale(0.98);
}

/* --- Danh sách bình luận --- */
.comment-list {
  list-style: none;
  padding: 0;
}

.comment-list .comment {
  margin-bottom: 1.25rem;
}

.comment-list .comment-body {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
}

.comment-list .comment-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: #111827;
}

.comment-list .comment-author .avatar {
  border-radius: 9999px;
  width: 44px;
  height: 44px;
}

.comment-list .comment-author .says {
  display: none;
}

.comment-list .comment-metadata {
  font-size: 0.8rem;
  margin: 0.25rem 0 0.75rem 3.5rem;
}

.comment-list .comment-metadata a {
  color: #9ca3af;
  text-decoration: none;
}

.comment-list .comment-content {
  color: #374151;
  line-height: 1.7;
}

.comment-list .comment-content p {
  margin-bottom: 0.5rem;
}

.comment-list .reply {
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

.comment-list .reply a {
  color: #16a34a;
  font-weight: 600;
  text-decoration: none;
}

.comment-list .reply a:hover {
  color: #dc2626;
}

/* Bình luận trả lời lồng nhau */
.comment-list .children {
  list-style: none;
  margin: 1rem 0 0 2rem;
  padding: 0;
}

/* Bình luận đang chờ duyệt */
.comment-awaiting-moderation {
  display: block;
  font-size: 0.85rem;
  font-style: italic;
  color: #d97706;
  margin-top: 0.5rem;
}

body,
.font-sans {
  font-family: 'Be Vietnam Pro', ui-sans-serif, system-ui, sans-serif;
}
