.educational-drawer-category-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #c2410c;
  background-color: #ffedd5;
}

.educational-drawer-loading-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 0;
}

.educational-drawer-loading-spinner {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  border-bottom: 2px solid #2563eb;
  animation: educational-drawer-spin 1s linear infinite;
}

@keyframes educational-drawer-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.educational-drawer-error {
  text-align: center;
  padding: 2rem 1.25rem;
}

.educational-drawer-error-message {
  margin-bottom: 1rem;
  color: #dc2626;
}

.educational-drawer-error-close-button {
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #e5e7eb;
  transition: background-color 0.2s ease;
}

.educational-drawer-error-close-button:hover {
  background-color: #d1d5db;
}

.educational-filter-category-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.educational-filter-category-btn--active {
  color: #2563eb;
  background-color: #eff6ff;
  border-color: #dbeafe;
}

.educational-filter-category-btn--inactive {
  color: #374151;
  background-color: #ffffff;
}

.educational-filter-category-btn--inactive:hover {
  background-color: #f9fafb;
}

.educational-filter-category-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.educational-filter-category-icon {
  font-size: 1.25rem;
}

.educational-filter-category-label {
  font-size: 1rem;
  font-weight: 500;
}

.educational-preview-loading-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.educational-preview-loading-spinner {
  width: 2rem;
  height: 2rem;
  border: 4px solid #3b82f6;
  border-top-color: transparent;
  border-radius: 9999px;
  animation: educational-preview-spin 1s linear infinite;
}

@keyframes educational-preview-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.article-tags .tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    background: var(--blue-light);
    color: var(--blue-darker);
    font-weight: 500;
}

.category-card {
    transition: all 0.2s ease-in-out;
}
.category-card.active {
    background-color: var(--blue);
    color: white;
}

.article-content p {
    margin-bottom: 1rem;
}
.article-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.article-content ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.article-content li {
    margin-bottom: 0.5rem;
}