/*
Theme Name: Indus Valley Publishers WP
Theme URI: https://example.com/
Author: OpenAI
Author URI: https://openai.com/
Description: Custom WordPress theme converted from the provided Indus Valley Publishers HTML/PHP website, with blog support and the same overall visual design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: indusvalleypublishers-wp
*/

img {
  max-width: 100%;
  height: auto;
}

.wp-caption,
.gallery-caption,
.bypostauthor,
.sticky {
  display: block;
}

.blog-page,
.single-post-page,
.archive-page,
.search-page,
.error-page {
  padding: 80px 0;
}

.blog-page .post-card,
.archive-page .post-card,
.search-page .post-card {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  height: 100%;
  box-shadow: 0 12px 40px rgba(0,0,0,.05);
}

.blog-page .post-card .content,
.archive-page .post-card .content,
.search-page .post-card .content {
  padding: 24px;
}

.blog-page .post-card h2,
.archive-page .post-card h2,
.search-page .post-card h2 {
  font-size: 28px;
  line-height: 1.25;
  margin-bottom: 12px;
}

.blog-page .post-card h2 a,
.archive-page .post-card h2 a,
.search-page .post-card h2 a,
.single-post-page .entry-title a {
  color: inherit;
  text-decoration: none;
}

.blog-page .post-meta,
.archive-page .post-meta,
.search-page .post-meta,
.single-post-page .post-meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 14px;
}

.blog-page .read-more,
.archive-page .read-more,
.search-page .read-more,
.pagination .page-numbers.current,
.pagination .page-numbers:hover,
.search-form button,
.comment-form input[type="submit"] {
  background: #cc1f1f;
  color: #fff;
  border: none;
  border-radius: 999px;
  display: inline-block;
  padding: 12px 22px;
  text-decoration: none;
}

.pagination {
  margin-top: 40px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pagination .page-numbers {
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 999px;
  padding: 10px 18px;
  text-decoration: none;
  color: #111;
}

.single-post-page .entry-header,
.page-default .entry-header,
.archive-page .archive-header,
.search-page .archive-header,
.error-page .archive-header {
  margin-bottom: 30px;
}

.single-post-page .featured-image {
  margin-bottom: 25px;
}

.single-post-page .entry-content,
.page-default .entry-content {
  font-size: 18px;
  line-height: 1.8;
}

.single-post-page .entry-content h2,
.single-post-page .entry-content h3,
.page-default .entry-content h2,
.page-default .entry-content h3 {
  margin-top: 28px;
}

.widget-area .widget,
.single-post-page .post-sidebar-box {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 24px;
  background: #fff;
  margin-bottom: 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,.05);
}

.widget-area ul,
.single-post-page .post-sidebar-box ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.widget-area li,
.single-post-page .post-sidebar-box li {
  margin-bottom: 10px;
}

.widget-area li:last-child,
.single-post-page .post-sidebar-box li:last-child {
  margin-bottom: 0;
}

.search-form {
  display: flex;
  gap: 12px;
}

.search-form input[type="search"] {
  width: 100%;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 999px;
  padding: 12px 18px;
}

.comments-area {
  margin-top: 50px;
}

.comments-area .comment-list {
  list-style: none;
  padding-left: 0;
}

.comments-area .comment-body {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
}

.ivp-alert {
  margin: 20px 0;
  padding: 14px 18px;
  border-radius: 10px;
}

.ivp-alert-success {
  background: #e8f7ec;
  color: #146c2e;
}

.ivp-alert-error {
  background: #fdeceb;
  color: #9f1d1d;
}
