/*
  Theme Name: TechyHost Tailwind
  Theme URI: https://github.com/tailpress/tailpress
  Author: Pirtpal Infotech
  Author URI: https://tailpress.io
  Description: A WordPress theme made with TailPress.
  Version: 0.1.0
  License: MIT
  License URI: https://github.com/tailpress/tailpress/blob/master/LICENSE
  Text Domain: techyhost_tailwind
*/

div#wpadminbar {
  position: fixed !important;
}

html {
  scroll-behavior: smooth !important;
}

.post-content {
  max-width: 770px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: var(--font-inter, Inter, sans-serif);
  font-size: var(--text-base);
  line-height: var(--text-base--line-height);
  color: var(--color-dark-4);
}

.post-content h2 {
  font-size: var(--text-heading-4);
  line-height: var(--text-heading-4--line-height);
  font-weight: var(--font-weight-bold);
  color: var(--color-dark);
  margin: 2.5rem 0 1rem;
  border-bottom: 1px solid var(--color-gray-3);
  padding-bottom: 0.5rem;
  scroll-margin-top: 80px;
}

.post-content p {
  margin-bottom: 1.25rem;
  font-size: var(--text-base);
  line-height: var(--text-base--line-height);
  color: var(--color-dark-4);
}

.post-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-dark-4);
}

.post-content li {
  margin-bottom: 0.5rem;
  font-size: var(--text-base);
}

.post-content a {
  color: var(--color-teal-dark);
  font-weight: var(--font-weight-medium);
  text-decoration: underline;
  transition: color 0.2s var(--ease-in-out);
}

.post-content a:hover {
  color: var(--color-dark);
}

.post-content img {
  width: 100%;
  border-radius: var(--radius-2xl);
  margin: 1.5rem 0;
  box-shadow: var(--drop-shadow-1);
}

.post-content strong {
  font-weight: var(--font-weight-semibold);
  color: var(--color-dark);
}

.wp-post-loop-image {
  min-height: 250px;
  max-height: 250px;
  object-fit: cover;
}

/* Pagination wrapper */
.pagination {
  margin-top: 2.5rem; /* mt-10 */
  display: flex;
  justify-content: center;
}

/* Hide the extra heading visually but keep for screen readers */
.navigation .screen-reader-text {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

/* Links container */
.navigation .nav-links {
  display: inline-flex;
  gap: 0.5rem; /* spacing between items */
  align-items: center;
  flex-wrap: wrap;
}

/* Basic page-number pill */
.navigation .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 36px;
  padding: 0 12px;
  font-size: 0.875rem; /* text-sm */
  line-height: 1;
  border-radius: 9999px; /* pill */
  text-decoration: none;
  background: transparent;
  color: #0f172a; /* dark text */
  border: 1px solid transparent;
  transition: transform .12s ease, background-color .12s ease, color .12s ease;
  cursor: pointer;
}

/* Hover / focus state */
.navigation .page-numbers:hover,
.navigation .page-numbers:focus {
  transform: translateY(-2px);
  text-decoration: none;
  outline: none;
}

/* Focus visible for keyboard users */
.navigation .page-numbers:focus-visible {
  box-shadow: 0 0 0 4px rgba(59,130,246,0.12); /* subtle blue ring */
  border-color: rgba(59,130,246,0.25);
}

/* Current page */
.navigation .page-numbers.current {
  background: linear-gradient(90deg, rgba(59,130,246,0.12), rgba(99,102,241,0.06));
  color: #0b1220;
  font-weight: 700;
  border: 1px solid rgba(11,17,32,0.06);
  transform: none;
  pointer-events: none;
}

/* Dots */
.navigation .page-numbers.dots {
  pointer-events: none;
  min-width: 24px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6b7280; /* gray-500 */
  font-size: 1.125rem;
}

/* Next / Prev links styling */
.navigation .next.page-numbers,
.navigation .prev.page-numbers {
  background: rgba(59,130,246,0.06); /* subtle blue tint */
  color: #2563eb;
  font-weight: 600;
  border: 1px solid rgba(59,130,246,0.12);
}

/* Disabled state (if you add one) */
.navigation .page-numbers.disabled,
.navigation .page-numbers[aria-disabled="true"] {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

/* Responsive: increase spacing on wider screens */
@media (min-width: 1024px) {
  .navigation .nav-links { gap: 0.75rem; }
  .navigation .page-numbers { min-width: 46px; height: 42px; font-size: 1rem; }
}

/* Utility: ensure images or inline elements in the pills don't overflow */
.navigation .page-numbers img { max-height: 100%; max-width: 100%; display: block; }


/* optional extra styling if you want finer control */
.breadcrumb ol { list-style: none; margin: 0; padding: 0; }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb .breadcrumb-sep { color: #CBD5E1; margin: 0 0.5rem; font-weight: 600; }
.breadcrumb a { color: #2563eb; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-dark);
  text-decoration: none;
}
