/* ============================================
   AJER PUBLISHING - POLICIES PAGE STYLES
   Scoped strictly to the Policies page.
   ============================================ */

/* Directory Grid */
.policy-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

/* Directory Cards */
.policy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 24px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.policy-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-orange);
  border-color: var(--orange);
}

.policy-card-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--orange);
  transition: all 0.3s;
}

.policy-card:hover .policy-card-icon {
  background: var(--orange);
  color: white;
  transform: scale(1.05);
}

.policy-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 12px;
  line-height: 1.4;
}

.policy-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.btn-sm {
  padding: 10px 20px !important;
  font-size: 0.85rem !important;
  min-height: 40px !important;
  width: 100%;
  justify-content: center;
}

/* Full Policy Text Blocks */
.policy-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.policy-text-block {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 24px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.policy-text-block h2 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 8px;
  text-align: left;
}

.policy-meta {
  font-size: 0.85rem;
  color: var(--orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.policy-text-block h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-top: 24px;
  margin-bottom: 10px;
  text-align: left;
}

.policy-text-block p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
  .policy-directory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .policy-directory-grid {
    grid-template-columns: 1fr;
  }
  .policy-text-block {
    padding: 25px;
  }
  .policy-text-block h2 {
    font-size: 1.3rem;
  }
}