/* Recently Generated Pages Styles */
.psu-recent-pages {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.psu-recent-pages h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 0.8rem;
}

.psu-recent-pages h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
}

.psu-recent-pages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.psu-recent-page-card {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 1.2rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.psu-recent-page-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.psu-recent-page-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 7px 15px rgba(0, 0, 0, 0.2);
  border-color: rgba(0, 198, 255, 0.3);
}

.psu-recent-page-card:hover::before {
  transform: scaleX(1);
}

.psu-recent-page-card h4 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  line-height: 1.4;
}

.psu-recent-page-card h4 a {
  color: var(--light-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.psu-recent-page-card h4 a:hover {
  color: var(--primary-color);
}

.psu-recent-page-date {
  margin: 0;
  color: var(--muted-text);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .psu-recent-pages-grid {
    grid-template-columns: 1fr;
  }
  
  .psu-recent-page-card {
    padding: 1rem;
  }
  
  .psu-recent-page-card h4 {
    font-size: 1rem;
  }
}
