html {
  margin-top: 0 !important;
}

/* Page News Styles */
.page-news-main {
  margin-bottom: 32px;
}

.page-news-container {
  max-width: 800px;
  margin: 0 auto;
}

.page-news-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
  background: linear-gradient(135deg, #22c468 0%, #1aa855 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;

  @media (max-width: 768px) {
    font-size: 2rem;
    margin-bottom: 32px;
  }

  @media (max-width: 480px) {
    font-size: 1.75rem;
    margin-bottom: 24px;
  }
}

.page-news-list-wrapper {
  width: 100%;
}

.page-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news-item {
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.2s ease;

  &:last-child {
    border-bottom: none;
  }

  &:hover {
    background-color: #f9f9f9;
  }
}

.page-news-item-link {
  display: flex;
  align-items: flex-start;
  padding: 20px 0;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;

  &:hover {
    opacity: 0.8;
  }

  @media (max-width: 768px) {
    flex-direction: column;
    gap: 10px;
    padding: 16px 0;
  }

  @media (max-width: 480px) {
    padding: 14px 0;
    gap: 8px;
  }
}

.page-news-category {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  min-width: 70px;
  text-align: center;
  background: #22c468;
  padding: 4px 12px;
  border-radius: 4px;
  flex-shrink: 0;

  @media (max-width: 768px) {
    align-self: flex-start;
    font-size: 0.8rem;
    padding: 5px 12px;
    min-width: 60px;
  }

  @media (max-width: 480px) {
    font-size: 0.75rem;
    padding: 4px 10px;
    min-width: 55px;
  }
}

.page-news-date {
  font-size: 0.9rem;
  color: #111111;
  min-width: 100px;
  flex-shrink: 0;

  @media (max-width: 768px) {
    min-width: auto;
    font-size: 0.85rem;
  }

  @media (max-width: 480px) {
    font-size: 0.8rem;
  }
}

.page-news-text {
  color: #111111;
  flex: 1;
  text-align: left;
  font-size: 1rem;
  line-height: 1.6;

  @media (max-width: 768px) {
    font-size: 0.95rem;
  }

  @media (max-width: 480px) {
    font-size: 0.9rem;
  }
}

.page-news-empty {
  text-align: center;
  padding: 60px 20px;
  color: #666;

  p {
    font-size: 1rem;
    margin: 0;
  }
}

.page-numbers {
  width: 100%;
  height: 40px;
  border: none;
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;

  li {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 4px;

    span,
    a {
      display: block;
      min-width: 40px;
      height: 40px;
      margin: 0;
      padding: 0 8px;
      transition: color 0.3s ease;
    }

    a:hover {
      color: #22c468;
    }

    &:has(.current) {
      background-color: #22c468;
      background-color: #22c468;
      border-color: #22c468;
      font-weight: 600;
    }

    .current {
      color: #fff;
    }
  }
}
