.mes_embedded_thought { background-color: rgba(0, 0, 0, 0); font-family: var(--SmartThemeEmColor); font-size: smaller; border-style: none; padding-top: 2px; padding-bottom: 2px; } .mes_embedded_thought_title { font-family: var(--mainFontFamily); text-align: center; font-size: smaller; color: var(--SmartThemeEmColor); margin: 10px 0; position: relative; display: flex; align-items: center; justify-content: center; } .mes_embedded_thought_title::before { content: ''; flex: 1; height: 1px; /* Line thickness */ background-image: linear-gradient(90deg, var(--transparent), var(--SmartThemeBodyColor)); opacity: 0.2; /* Line opacity */ margin-right: 10px; /* Spacing between line and text */ } .mes_embedded_thought_title::after { content: ''; flex: 1; height: 1px; /* Line thickness */ background-image: linear-gradient(90deg, var(--SmartThemeBodyColor), var(--transparent)); opacity: 0.2; /* Line opacity */ margin-left: 10px; /* Spacing between line and text */ }