/*
 * KSP Guidebooks & Question Banks Custom Stylesheet
 */

.ksp-guidebooks-wrapper {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1e293b;
  background-color: #f8fafc;
  min-height: 85vh;
}

/* Hero Section */
.gb-hero {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  overflow: hidden;
  border-radius: 16px;
  border-bottom: 5px solid #0f766e;
}

.gb-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 10% 20%, rgba(13, 148, 136, 0.15) 0%, rgba(13, 148, 136, 0) 50%);
  pointer-events: none;
}

.gb-hero .lead {
  color: #94a3b8;
  max-width: 800px;
  margin: 0 auto;
}

/* Filter Tab buttons */
.gb-tabs-wrapper .filter-btn {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border-width: 1.5px;
}

.gb-tabs-wrapper .filter-btn.active-tab {
  background-color: #0f766e !important;
  border-color: #0f766e !important;
  color: #fff !important;
  box-shadow: 0 10px 15px -3px rgba(15, 118, 110, 0.3);
}

/* Card Styling */
.gb-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

.gb-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02) !important;
}

/* Card Content typography */
.gb-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.95rem;
  color: #0f172a !important;
  line-height: 1.4;
  height: 4.2em;
  /* Ensure uniform title height */
}

.gb-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 4.5em;
  line-height: 1.5;
  color: #64748b;
}

/* Teal colors */
.text-teal {
  color: #0f766e;
}

.btn-teal {
  background-color: #0f766e;
  border-color: #0f766e;
  transition: all 0.2s ease;
}

.btn-teal:hover {
  background-color: #115e59;
  border-color: #115e59;
  transform: translateY(-1px);
}