.storyblok-paragraph {
  margin: 1rem 0;
  line-height: 1.6;
  color: #374151;
}

.storyblok-heading {
  margin: 1.5rem 0 1rem 0;
  font-weight: 600;
  line-height: 1.3;
  color: #111827;
}

.storyblok-h1 {
  font-size: 2.25rem;
  margin-top: 2rem;
}

.storyblok-h2 {
  font-size: 1.875rem;
  margin-top: 1.75rem;
}

.storyblok-h3 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
}

.storyblok-h4 {
  font-size: 1.25rem;
  margin-top: 1.25rem;
}

.storyblok-h5 {
  font-size: 1.125rem;
  margin-top: 1.125rem;
}

.storyblok-h6 {
  font-size: 1rem;
  margin-top: 1rem;
}

.storyblok-strong {
  font-weight: 600;
  color: #111827;
}

.storyblok-em {
  font-style: italic;
  color: #374151;
}

.storyblok-underline {
  text-decoration: underline;
  text-decoration-color: #3b82f6;
}

.storyblok-link {
  color: #3b82f6;
  text-decoration: underline;
  text-decoration-color: #3b82f6;
  transition: color 0.2s ease;
}

.storyblok-link:hover {
  color: #1d4ed8;
  text-decoration-color: #1d4ed8;
}

.storyblok-blockquote {
  border-left: 4px solid #3b82f6;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #6b7280;
  background-color: #f9fafb;
  padding: 1rem 1.5rem;
  border-radius: 0.375rem;
}

.storyblok-hr {
  border: none;
  border-top: 2px solid #e5e7eb;
  margin: 2rem 0;
}

.storyblok-code-block {
  background-color: #1f2937;
  color: #f9fafb;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 1rem 0;
}

.storyblok-code {
  background-color: #f3f4f6;
  color: #1f2937;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.875rem;
}

.storyblok-image {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1rem 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.storyblok-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  border-radius: 0.375rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  background-color: #3b82f6;
  color: white;
}

.storyblok-button:hover {
  background-color: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.storyblok-button.secondary {
  background-color: #6b7280;
}

.storyblok-button.secondary:hover {
  background-color: #4b5563;
}

.storyblok-button.outline {
  background-color: transparent;
  border-color: #3b82f6;
  color: #3b82f6;
}

.storyblok-button.outline:hover {
  background-color: #3b82f6;
  color: white;
}

.storyblok-list {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.storyblok-list.storyblok-ordered-list {
  list-style-type: decimal;
}

.storyblok-list:not(.storyblok-ordered-list) {
  list-style-type: disc;
}

.storyblok-list-item {
  margin: 0.5rem 0;
  line-height: 1.6;
  color: #374151;
}

.storyblok-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background-color: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.storyblok-th {
  background-color: #f9fafb;
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: #111827;
  border-bottom: 2px solid #e5e7eb;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.storyblok-td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  color: #374151;
  line-height: 1.5;
}

.storyblok-tr:hover {
  background-color: #f9fafb;
}

.storyblok-tr:last-child .storyblok-td {
  border-bottom: none;
}

.storyblok-figure {
  margin: 1.5rem 0;
  text-align: center;
}

.storyblok-caption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
  font-style: italic;
}

.storyblok-alert {
  padding: 1rem;
  border-radius: 0.5rem;
  margin: 1rem 0;
  border-left: 4px solid;
}

.storyblok-alert.info {
  background-color: #eff6ff;
  border-left-color: #3b82f6;
  color: #1e40af;
}

.storyblok-alert.success {
  background-color: #f0fdf4;
  border-left-color: #22c55e;
  color: #15803d;
}

.storyblok-alert.warning {
  background-color: #fffbeb;
  border-left-color: #f59e0b;
  color: #a16207;
}

.storyblok-alert.error {
  background-color: #fef2f2;
  border-left-color: #ef4444;
  color: #b91c1c;
}

.storyblok-form {
  margin: 1.5rem 0;
}

.storyblok-input,
.storyblok-textarea,
.storyblok-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  transition: border-color 0.2s ease;
}

.storyblok-input:focus,
.storyblok-textarea:focus,
.storyblok-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.storyblok-textarea {
  resize: vertical;
  min-height: 6rem;
}

.storyblok-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #374151;
  font-size: 0.875rem;
}

.storyblok-checkbox,
.storyblok-radio {
  margin-right: 0.5rem;
}

.storyblok-grid {
  display: grid;
  gap: 1rem;
  margin: 1rem 0;
}

.storyblok-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.storyblok-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.storyblok-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
  .storyblok-grid.cols-2,
  .storyblok-grid.cols-3,
  .storyblok-grid.cols-4 {
    grid-template-columns: 1fr;
  }

  .storyblok-table {
    font-size: 0.75rem;
  }

  .storyblok-th,
  .storyblok-td {
    padding: 0.5rem 0.75rem;
  }
}
