<template>
  <h2 class="section-header" :class="{ 'section-header--emphasized': emphasized }">
    {{ label }}
  </h2>
</template>

<script setup lang="ts">
defineProps<{
  label: string
  emphasized?: boolean
}>()
</script>

<style scoped>
.section-header {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-on-gradient);
  margin: 0;
  padding: var(--spacing-sm) 0;
}

.section-header--emphasized {
  font-size: 1.1rem;
  font-weight: 800;
}
</style>
