/* ===== PAGE BACKGROUND ===== */
.pdf-page-bg {
  background: #f4f7fb;
  min-height: 100vh;
}

/* ===== HEADER ===== */
.pdf-heading {
  font-weight: 700;
  color: #1e293b;
}

.pdf-subheading {
  color: #64748b;
}

/* ===== SEARCH ===== */
.pdf-search {
  border-radius: 30px;
  padding: 12px 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* ===== CARD ===== */
.pdf-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  height: 100%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Hover */
.pdf-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* ===== TOP BAR ===== */
.pdf-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.pdf-icon {
  font-size: 22px;
}

.pdf-views {
  font-size: 13px;
  color: #64748b;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 20px;
}

/* ===== TITLE ===== */
.pdf-title {
  font-weight: 600;
  margin-bottom: 8px;
  color: #0f172a;
}

/* ===== DESC ===== */
.pdf-desc {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 15px;
}

/* ===== BUTTON ===== */
.pdf-btn {
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4e73df, #36b9cc);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.pdf-btn:hover {
  transform: scale(1.03);
  background: linear-gradient(135deg, #2e59d9, #2ca8b8);
}

/* ===== ANIMATION ===== */
.pdf-item {
  animation: fadeUp 0.5s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Container Background (Optional - makes cards pop) */
.pdf-page-bg {
  background-color: #f8f9fc;
  padding: 40px 0;
}

/* THE MAIN CARD */
.pdf-card {
  background: linear-gradient(135deg, #4e73df 0%, #22b1c4 100%);
  border-radius: 20px;
  padding: 30px;
  color: #ffffff;
  position: relative;
  overflow: hidden; /* Clips the circle effect */
  border: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* THE CIRCULAR ACCENT (Glassmorphism effect) */
.pdf-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  top: -40px;
  right: -40px;
  z-index: 0;
}

/* HEADER SECTION (Icon & Views) */
.pdf-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  z-index: 1;
}

/* Fix for WordPress Emojis */
.pdf-icon img.emoji,
.pdf-views img.emoji {
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
  vertical-align: middle;
}

.pdf-views {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
}

/* TITLE */
.pdf-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  z-index: 1;
  color: #ffffff;
  letter-spacing: -0.5px;
}

/* DESCRIPTION */
.pdf-desc {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 25px;
  z-index: 1;
  font-weight: 400;
}

/* THE BUTTON (Glass Style) */
.pdf-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 12px 20px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s ease;
  z-index: 1;
  margin-top: auto; /* Pushes button to bottom */
  backdrop-filter: blur(4px);
}

.pdf-btn:hover {
  background: #ffffff;
  color: #4e73df !important;
  transform: scale(1.02);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* HOVER EFFECT ON ENTIRE CARD */
.pdf-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 15px 35px rgba(78, 115, 223, 0.3);
}
