/* assets/css/main.css — Additional / Admin styles */

/* =========================================================
   ADMIN BAR FIX
   ========================================================= */
@media screen and (min-width: 783px) {
  body.admin-bar { padding-top: 0; }
}

/* =========================================================
   COMMENTS
   ========================================================= */
.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comment-body {
  background: var(--bg-body);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.comment-author img {
  border-radius: 50%;
  width: 36px;
  height: 36px;
}

.comment-author .fn {
  font-weight: 700;
  font-size: 0.875rem;
}

.comment-metadata {
  font-size: 0.75rem;
  color: var(--text-meta);
  margin-bottom: 8px;
}

.comment-content p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.comment-reply-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 8px;
  display: inline-block;
}

/* =========================================================
   COMMENT FORM
   ========================================================= */
.comment-form-wrap {
  margin-top: 32px;
}

.comment-form-wrap h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.comment-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-secondary);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-body);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.875rem;
  margin-bottom: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--accent);
}

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

.comment-form .submit {
  padding: 10px 24px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.comment-form .submit:hover { background: var(--accent-hover); }

/* =========================================================
   WIDGETS
   ========================================================= */
.sidebar-widget ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-widget ul li a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.2s;
}

.sidebar-widget ul li a:hover { color: var(--accent); }

/* =========================================================
   GUTENBERG BLOCKS OVERRIDE
   ========================================================= */
.wp-block-image img {
  border-radius: var(--radius-sm);
}

.wp-block-quote {
  border-left: 3px solid var(--accent);
  padding: 12px 20px;
  background: var(--bg-body);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* =========================================================
   PRINT
   ========================================================= */
@media print {
  #masthead, .header-actions, .slider-controls, .pagination, #colophon { display: none !important; }
  .post-card { box-shadow: none; border: 1px solid #ccc; }
}
