/* =========================================================================
   TIQI — Blog listing, single post, 404, and comments styling.
   Loaded on blog/archive/single-post/404 pages (see functions.php enqueue).
   ========================================================================= */

/* ---------------------------------------------------------------------
   Entry content typography — the actual post body text
   --------------------------------------------------------------------- */
.tiqi-entry-content {
  font-size: 1.05rem;
  line-height: 1.75;
}
.tiqi-entry-content p {
  margin-bottom: 1.25rem;
}
.tiqi-entry-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.tiqi-entry-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  font-size: 1.25rem;
}
.tiqi-entry-content ul,
.tiqi-entry-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}
.tiqi-entry-content li {
  margin-bottom: 0.4rem;
}
.tiqi-entry-content blockquote {
  border-left: 3px solid var(--tiqi-primary);
  padding: 0.5rem 0 0.5rem 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #555;
}
.tiqi-entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1rem 0;
}
.tiqi-entry-content a {
  color: var(--tiqi-primary);
  text-decoration: underline;
}
.tiqi-entry-content a:hover {
  color: var(--tiqi-accent);
}

/* ---------------------------------------------------------------------
   Search form (get_search_form() default markup)
   --------------------------------------------------------------------- */
.search-form {
  display: flex;
  gap: 0.5rem;
  max-width: 28rem;
  margin: 0 auto;
}
.search-form .search-field {
  flex: 1 1 auto;
  border: 1px solid #ddd;
  border-radius: 0.35rem;
  padding: 0.6rem 0.85rem;
}
.search-form .search-submit {
  background-color: var(--tiqi-primary);
  color: #fff;
  border: none;
  border-radius: 0.35rem;
  padding: 0.6rem 1.25rem;
  font-weight: 600;
}
.search-form .search-submit:hover {
  background-color: var(--tiqi-accent-hover);
}

/* ---------------------------------------------------------------------
   Comments
   --------------------------------------------------------------------- */
.comment-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}
.comment-list .comment {
  border-bottom: 1px solid #eee;
  padding: 1.25rem 0;
}
.comment-author .fn {
  font-weight: 600;
  font-style: normal;
}
.comment-metadata {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 0.5rem;
}
.comment-content p {
  margin-bottom: 0.5rem;
}
.comment-reply-link {
  font-size: 0.85rem;
  color: var(--tiqi-primary);
}

#respond {
  margin-top: 2rem;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 0.35rem;
  padding: 0.6rem 0.85rem;
  margin-bottom: 1rem;
}
.comment-form .form-submit input {
  background-color: var(--tiqi-primary);
  color: #fff;
  border: none;
  border-radius: 0.35rem;
  padding: 0.65rem 1.5rem;
  font-weight: 600;
}
.comment-form .form-submit input:hover {
  background-color: var(--tiqi-accent-hover);
}
