/* Custom overrides for BiPage theme */

/* Pagination - centered, square buttons, clear theme */
.pagination-area {
  text-align: center;
  margin-top: 30px;
}
.pagination-area .pagination {
  display: inline-flex;
  justify-content: center;
  gap: 6px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}
.pagination-area .pagination li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 2px solid #ddd;
  border-radius: 0;
  color: #333;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  background: #fff;
  transition: all 0.25s ease;
}
.pagination-area .pagination li a:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}
.pagination-area .pagination li.active a {
  background: #e53935;
  color: #fff;
  border-color: #e53935;
}

/* View All link in section headers */
.view-all-link {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.view-all-link:hover {
  color: #f7941d;
  text-decoration: none;
}

/* Post content formatting */
.post-content p {
  margin-bottom: 18px;
  line-height: 1.8;
  font-size: 16px;
}
.post-content h2 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 22px;
  font-weight: 600;
}
.post-content h3 {
  margin-top: 25px;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
}
.post-content ul,
.post-content ol {
  margin-bottom: 18px;
  padding-left: 25px;
  list-style: disc;
}
.post-content ol {
  list-style: decimal;
}
.post-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}
.post-content blockquote {
  border-left: 4px solid #e53935;
  padding: 12px 20px;
  margin: 20px 0;
  background: #f9f9f9;
  font-style: italic;
}
.post-content a {
  color: #1a73e8;
  text-decoration: underline;
}
.post-content a:hover {
  color: #e53935;
}
.post-content img {
  max-width: 100%;
  height: auto;
  margin: 15px 0;
}
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.post-content table th,
.post-content table td {
  border: 1px solid #ddd;
  padding: 10px 12px;
  text-align: left;
}
.post-content table th {
  background: #f5f5f5;
  font-weight: 600;
}

/* Source attribution in post meta */
.post-info-dark .fa-globe,
.post-info-dark .fa-calendar {
  margin-right: 3px;
}
.post-info-dark {
  font-weight: 600;
}

/* Post summary in cards */
.position-relative > p,
.media-body > p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin-top: 5px;
}
