/*
Theme Name: PIT Corporate
Theme URI:
Author: Last Data Inc.
Description: PIT Corporate Website Theme
Version: 2.0.0
Text Domain: new-thema
*/

/* ========== Screen Reader Text (Accessibility) ========== */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* ========== 404 Error Page ========== */
.error-page {
  padding: 80px 0 120px;
  background: #fff;
}

.error-page__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.error-page__content {
  text-align: center;
}

.error-page__message {
  font-size: 1rem;
  line-height: 2;
  color: #333;
  margin-bottom: 48px;
}

/* ========== Search Page ========== */
.search-page {
  padding: 60px 0 120px;
  background: #fff;
}

.search-page__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.search-page__query {
  font-size: 1rem;
  color: #333;
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e5e5;
}

.search-page__no-results {
  text-align: center;
  padding: 60px 0;
}

.search-page__message {
  font-size: 1rem;
  line-height: 2;
  color: #333;
  margin-bottom: 48px;
}

/* ========== Generic Page Content ========== */
.page-content {
  padding: 60px 0 120px;
  background: #fff;
}

.page-content__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-content__body {
  font-size: 1rem;
  line-height: 2;
  color: #333;
}

.page-content__body p {
  margin-bottom: 1.5em;
}

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

/* ========== WordPress Pagination Override ========== */
.news-pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.news-pagination .nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.875rem;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.news-pagination .nav-links .page-numbers.current {
  background-color: #0066CC;
  border-color: #0066CC;
  color: #fff;
}

.news-pagination .nav-links .page-numbers:hover {
  background-color: #f5f5f5;
}

.news-pagination .nav-links .page-numbers.current:hover {
  background-color: #0066CC;
}

/* ========== No Posts Message ========== */
.news-archive__no-posts {
  text-align: center;
  padding: 60px 0;
  font-size: 1rem;
  color: #666;
}
