<template>
  <div>
    <p class="title">{{ title }}</p>
    <div class="line"></div>
    <div class="item" v-html="text"></div>
  </div>
</template>

<script>
export default {
  props: {
    title: String,
    text: String,
  },
};
</script>

<style lang="scss" scoped>

.title {
  height: 50px;
  font-size: 35px;
  font-family: Proxima Nova;
  font-weight: bold;
  color: #00213B;
  text-align: center;
  line-height: 50px;
}
.line {
  width: 99px;
  height: 4px;
  background: #e90000;
  margin: 15px auto;
}

:deep(.item) {
  font-size: 18px;
  font-family: Proxima Nova;
  line-height: 30px;
  ol{
    padding-left: 40px;
    list-style: decimal;
  }
  ul{
    padding-left: 40px;
    list-style: disc;
  }
  p{
    word-wrap:break-word;
  }
}
</style>
