/* page-news only */

.filter-btn {
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.filter-btn.active {
  background-color: #175B66;
  color: #ffffff;
  border-color: #175B66;
}

.delay-100 {
  transition-delay: 0.1s;
}

.page-numbers {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-numbers li {
  margin: 0;
}

.page-numbers a,
.page-numbers span {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.125rem;
  border: 1px solid #e5e7eb;
  color: #000000;
  transition: all 0.3s ease;
  text-decoration: none;
}

.page-numbers a:hover {
  background-color: #f9fafb;
  border-color: #175B66;
  color: #175B66;
}

.page-numbers .current {
  background-color: #175B66;
  color: #ffffff;
  border-color: #175B66;
  font-weight: 700;
}

.page-numbers .dots {
  border: none;
  width: 3rem;
  color: #9ca3af;
}

.page-numbers .prev,
.page-numbers .next {
  padding: 0;
  border: none;
  width: auto;
  height: auto;
}

.page-numbers .prev span,
.page-numbers .next span {
  width: 3rem;
  height: 3rem;
}

@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color: #000000 !important;
    background-color: #FFFFFF !important;
    background-image: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body,
  header,
  section,
  footer,
  main,
  div,
  a,
  nav {
    background-color: #FFFFFF !important;
  }

  .fade-in-section {
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: none !important;
  }

  #mobile-menu,
  #menu-btn,
  .filter-btn,
  .mt-20.flex.justify-center {
    display: none !important;
  }

  a {
    text-decoration: underline !important;
  }

  .news-item {
    border-bottom: 1px solid #000000 !important;
    display: block !important;
  }
}

/* page-news flat list */

.page-news-list-wrap {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.page-news-item {
  display: block;
  padding: 1.75rem 2.5rem;
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-news-item:last-child {
  border-bottom: none;
}

.page-news-item:hover {
  background: #fafafa;
}

.page-news-item-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.page-news-date {
  width: 140px;
  flex-shrink: 0;
  color: #000000;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.page-news-title {
  flex: 1 1 auto;
  color: #000000;
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.page-news-item:hover .page-news-title {
  color: #175B66;
}

.page-news-pagination {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
}

.page-news-pagination .page-numbers {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-news-pagination .page-numbers li {
  margin: 0;
}

.page-news-pagination .page-numbers a,
.page-news-pagination .page-numbers span {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  border-radius: 2px;
  color: #000000;
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-news-pagination .page-numbers a:hover {
  border-color: #175B66;
  color: #175B66;
  background: #fafafa;
}

.page-news-pagination .page-numbers .current {
  background: #175B66;
  border-color: #175B66;
  color: #ffffff;
  font-weight: 700;
}

.page-news-pagination .page-numbers .dots {
  border: none;
  width: auto;
  color: #9ca3af;
}

@media (max-width: 767px) {
  .page-news-item {
    padding: 1.25rem 1.25rem;
  }

  .page-news-item-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .page-news-date {
    width: auto;
    font-size: 0.95rem;
  }

  .page-news-title {
    font-size: 0.95rem;
    line-height: 1.8;
  }
}