.news-grid {
  columns: 3;
  column-gap: 1.5rem;
}
.news-card {
  background: rgba(26,18,8,0.06); border: 1px solid rgba(201,146,42,0.2);
  padding: 2rem; position: relative; transition: all 0.3s ease;
  display: flex; flex-direction: column;
  break-inside: avoid;
  margin-bottom: 1.5rem;
}
.news-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 0; background: var(--blood); transition: height 0.3s ease;
}
.news-card:hover::before { height: 100%; }
.news-card:hover { border-color: rgba(139,26,26,0.4); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.15); }
.news-card-title {
  font-family: 'Cinzel', serif; font-size: 1.1rem; font-weight: 600;
  color: var(--ink); margin-bottom: 0.5rem;
  word-wrap: break-word; overflow-wrap: break-word;
}
.news-card-img {
  margin-bottom: 0.75rem; overflow: hidden;
}
.news-card-img img {
  width: 100%; height: auto; display: block;
  border: 1px solid rgba(201,146,42,0.1);
}
.news-card-date {
  font-size: 0.75rem; color: var(--ink-light);
  margin-bottom: 0.75rem; font-style: italic; flex-shrink: 0;
}
.news-card-author {
  font-size: 0.8rem; color: var(--ink-light);
  margin-bottom: 0.75rem; flex-shrink: 0;
  opacity: 0.7;
}
.news-card-author i { margin-right: 0.3rem; }
.news-card-text {
  color: var(--ink-light); line-height: 1.7; font-size: 0.95rem;
  word-wrap: break-word; overflow-wrap: break-word;
  flex: 1;
}
.news-pinned {
  display: inline-block;
  font-family: 'Cinzel', serif; font-size: 0.6rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blood); margin-bottom: 0.5rem; flex-shrink: 0;
}
.news-empty, .news-loading {
  text-align: center; padding: 3rem;
  color: var(--ink-light); font-style: italic;
  break-inside: avoid;
}
.news-pagination {
  display: flex; gap: 0.4rem; justify-content: center;
  margin-top: 2rem;
}
.news-page-btn {
  font-family: 'Cinzel', serif; font-size: 0.8rem;
  padding: 0.5rem 1rem;
  background: transparent; border: 1px solid rgba(201,146,42,0.2);
  color: var(--ink-light); cursor: pointer;
  transition: all 0.3s;
}
.news-page-btn:hover:not([disabled]) { border-color: var(--gold); color: var(--ink); }
.news-page-btn.active { background: rgba(201,146,42,0.15); border-color: var(--gold); color: var(--ink); }
.news-page-btn[disabled] { opacity: 0.3; cursor: default; }

/* News card footer: likes + comments */
.news-card-footer {
  display: flex; align-items: center; gap: 1rem;
  margin-top: 1rem; padding-top: 0.75rem;
  border-top: 1px solid rgba(201,146,42,0.2);
}
.news-like-btn, .news-comment-btn {
  background: none; border: none; cursor: pointer;
  color: var(--ink-light); font-size: 0.85rem;
  display: flex; align-items: center; gap: 0.3rem;
  font-family: 'Crimson Pro', serif; transition: color 0.3s;
  padding: 0.2rem 0;
}
.news-like-btn:hover { color: var(--blood); }
.news-like-btn--active { color: var(--blood); font-weight: 600; }
.news-like-btn i { font-size: 1rem; }
.news-comment-btn {
  margin-left: 0.5rem;
  font-size: 0.85rem;
}
.news-comment-btn i { font-size: 1rem; }
.news-comment-btn:hover { color: var(--gold); }
.news-open-btn {
  margin-left: auto; background: none; border: 1px solid rgba(201,146,42,0.3);
  color: var(--ink-light); font-family: 'Cinzel', serif; font-size: 0.65rem;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.8rem;
  cursor: pointer; transition: all 0.3s;
}
.news-open-btn:hover { border-color: var(--gold); color: var(--gold); }

/* News detail modal — parchment style like news cards */
.modal-news-detail {
  max-width: 650px; max-height: 85vh; overflow-y: auto;
  background: var(--parchment) !important;
  border: 1px solid rgba(201,146,42,0.3);
  color: var(--ink);
}
.modal-news-detail * {
  color: var(--ink);
}
.modal-news-detail .modal-close {
  color: rgba(26,18,8,0.3) !important;
}
.modal-news-detail .modal-close:hover {
  color: var(--blood) !important;
}
.modal-news-detail .news-detail-title {
  font-family: 'Cinzel', serif; font-size: 1.3rem;
  color: var(--ink) !important; margin-bottom: 0.5rem;
  font-weight: 900; text-align: left;
}
.news-detail-img { margin-bottom: 1rem; overflow: hidden; border: 1px solid rgba(201,146,42,0.15); }
.news-detail-img img { width: 100%; height: auto; display: block; }
.news-detail-text {
  color: var(--ink-light); line-height: 1.7; font-size: 1rem;
  margin-bottom: 1.5rem;
}
.news-detail-divider {
  height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.5rem 0;
}

/* Comments in detail modal */
.news-comments-title {
  font-family: 'Cinzel', serif; font-size: 0.9rem;
  color: var(--ink); margin-bottom: 1rem; font-weight: 600;
}
.news-comments-title i { margin-right: 0.3rem; color: var(--gold); }
.news-comments-list { margin-bottom: 1.5rem; }
.news-comments-empty {
  text-align: center; padding: 1.5rem;
  color: var(--ink-light); font-style: italic; font-size: 0.9rem;
  opacity: 0.5;
}
.news-comment {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(201,146,42,0.12);
}
.news-comment:last-child { border-bottom: none; }
.news-comment-header {
  display: flex; align-items: baseline; gap: 0.5rem;
  margin-bottom: 0.3rem;
}
.news-comment-nick {
  font-family: 'Cinzel', serif; font-size: 0.8rem;
  color: var(--blood); letter-spacing: 0.05em; font-weight: 600;
}
.news-comment-date {
  font-size: 0.7rem; color: var(--ink-light); font-style: italic;
  opacity: 0.5;
}
.news-comment-text {
  color: var(--ink); font-size: 0.9rem; line-height: 1.6;
}

/* Comment form in detail modal — parchment style like news card */
.modal-news-detail .news-comment-form { margin-top: 1rem; }
.modal-news-detail .news-comment-form .form-group label {
  font-family: 'Cinzel', serif; font-size: 0.7rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-light) !important; margin-bottom: 0.3rem;
}
.modal-news-detail .news-comment-form .form-group input,
.modal-news-detail .news-comment-form .form-group textarea {
  width: 100%; padding: 0.7rem 1rem;
  background: rgba(26,18,8,0.06) !important;
  border: 1px solid rgba(201,146,42,0.2) !important;
  color: var(--ink) !important;
  font-family: 'Crimson Pro', serif; font-size: 1rem;
  outline: none; transition: border-color 0.3s;
}
.modal-news-detail .news-comment-form .form-group input:focus,
.modal-news-detail .news-comment-form .form-group textarea:focus {
  border-color: var(--gold) !important;
  background: rgba(26,18,8,0.1) !important;
}
.modal-news-detail .news-comment-form .form-group input::placeholder,
.modal-news-detail .news-comment-form .form-group textarea::placeholder {
  color: var(--ink-light) !important; opacity: 0.35;
}
.modal-news-detail .news-comment-form .form-group select option { background: var(--parchment) !important; color: var(--ink) !important; }
.modal-news-detail .news-comment-form .form-group textarea { min-height: 80px; resize: vertical; }
.modal-news-detail .news-comment-form .form-checkbox {
  display: flex; align-items: center; gap: 0.6rem;
}
.modal-news-detail .news-comment-form .form-checkbox input[type="checkbox"] {
  width: auto; accent-color: var(--gold); cursor: pointer;
}
.modal-news-detail .news-comment-form .form-checkbox label {
  color: var(--ink-light); font-size: 0.8rem;
}
.modal-news-detail .news-comment-form .form-checkbox label a {
  color: var(--blood); text-decoration: underline;
  text-decoration-color: rgba(139,26,26,0.3);
}
.modal-news-detail .news-comment-form .form-checkbox label a:hover {
  color: #b02020; text-decoration-color: #b02020;
}
.modal-news-detail .news-comment-form .form-msg {
  color: var(--ink); text-align: center; margin-top: 0.5rem;
  min-height: 1.2rem; font-size: 0.9rem;
}
.modal-news-detail .news-comment-form .btn-primary {
  width: 100%; text-align: center;
}

.news-detail-loading, .news-detail-error {
  text-align: center; padding: 3rem; color: var(--ink-light); font-style: italic;
}
.news-detail-body {
  padding: 0.5rem;
}
.news-detail-body .news-pinned {
  color: var(--blood);
}
.news-detail-body .news-card-author {
  color: var(--ink-light);
  opacity: 0.7;
}
.news-detail-body .news-card-date {
  color: var(--ink-light);
}

/* Comment admin delete */
.news-comment-admin {
  margin-left: auto; display: flex; align-items: center; gap: 0.3rem;
}
.news-comment-admin .btn { padding: 0.15rem 0.4rem; font-size: 0.6rem; }

/* Comment actions: like + report */
.news-comment-actions {
  display: flex; align-items: center; gap: 0.75rem;
  margin-top: 0.4rem;
}
.comment-like-btn, .comment-report-btn {
  background: none; border: none; cursor: pointer;
  color: var(--ink-light); font-size: 0.8rem;
  display: flex; align-items: center; gap: 0.25rem;
  font-family: 'Crimson Pro', serif; transition: color 0.3s;
  padding: 0.15rem 0; opacity: 0.5;
}
.comment-like-btn:hover { color: var(--blood); opacity: 1; }
.comment-like-btn--active { color: var(--blood); opacity: 1; font-weight: 600; }
.comment-like-btn i, .comment-report-btn i { font-size: 0.9rem; }
.comment-report-btn {
  margin-left: auto; color: var(--blood); opacity: 0.35;
}
.comment-report-btn:hover { opacity: 0.9; }

@media (max-width: 900px) {
  .news-grid { columns: 2; }
}
@media (max-width: 600px) {
  .news-grid { columns: 1; }
}
