/*
 * Softcrony Blog overrides (WordPress-only).
 * Design logic is moved to functions.php using Tailwind classes.
 */

/* WordPress admin bar spacing */
body.admin-bar header {
  top: 32px;
}
@media (max-width: 782px) {
  body.admin-bar header {
    top: 46px;
  }
}

/* Post Content Typography (.sc-prose) */
.sc-prose h1, .sc-prose h2, .sc-prose h3, .sc-prose h4 {
  color: #0f172a;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-weight: 800;
}
.sc-prose p {
  margin-bottom: 1.25em;
  line-height: 1.7;
}
.sc-prose a {
  color: #e85d20;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sc-prose ul, .sc-prose ol {
  margin-bottom: 1.25em;
  padding-left: 1.5em;
}
.sc-prose li {
  margin-bottom: 0.5em;
}

/* Sidebar List Fixes */
.sc-wp-widgets ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sc-wp-widgets li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}
.sc-wp-widgets li:last-child {
  border-bottom: none;
}
.sc-wp-widgets li a {
  color: #1e293b;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.sc-wp-widgets li a:hover {
  color: #e85d20;
  padding-left: 4px;
}

/* Premium Pagination Styling */
.sc-wp-pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.sc-wp-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.15);
  color: #1e293b;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 14px;
}

.sc-wp-pagination .page-numbers:hover:not(.current) {
  border-color: #e85d20;
  color: #e85d20;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px -4px rgba(232, 93, 32, 0.2);
}

.sc-wp-pagination .page-numbers.current {
  background: #e85d20;
  color: #ffffff;
  border-color: #e85d20;
  box-shadow: 0 8px 20px -8px rgba(232, 93, 32, 0.4);
}

.sc-wp-pagination .page-numbers.next,
.sc-wp-pagination .page-numbers.prev {
  width: auto;
  padding: 0 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 11px;
  font-weight: 800;
}

.sc-wp-pagination .page-numbers.dots {
  border: none;
  background: transparent;
}

/* Category & Meta Links */
.sc-category-links a {
  color: #e85d20;
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.2s;
}
.sc-category-links a:hover {
  opacity: 0.8;
  text-decoration: underline;
}
