/* Font styles */
.font-bold { font-weight: bold; }
.font-400 { font-weight: 400; }
.font-500 { font-weight: 500; }
.font-600 { font-weight: 600; }
.font-700 { font-weight: 700; }
.font-800 { font-weight: 800; }
.font-900 { font-weight: 900; }
.font-regular { font-weight: normal; }
.font-inherit { font: inherit; }
.font-italic { font-style: italic; }






/* Text decoration */
.text-underline { text-decoration: underline; }
.text-no-underline { text-decoration: none; }






/* Text alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }






/* Vertical alignment */
.align-baseline { vertical-align: baseline; }
.align-top { vertical-align: top; }
.align-middle { vertical-align: middle; }
.align-bottom { vertical-align: bottom; }
.align-text-top { vertical-align: text-top; }
.align-text-bottom { vertical-align: text-bottom; }





/* 溢出和文本截断 */
/* ----------------------------------- 1行 overflow-hidden truncate ----------------------------------- */
/* ----------------------------------- 2行 overflow-hidden truncate-line truncate-2 ----------------------------------- */
/* ----------------------------------- 3行 overflow-hidden truncate-line truncate-3 ----------------------------------- */
.overflow-hidden { overflow: hidden; }
.truncate { text-overflow: ellipsis; white-space: nowrap; }
.break-word { word-break: break-word; }

.truncate-line {
  max-width: 100%;
  word-break: break-all;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.truncate-2 { -webkit-line-clamp: 2; }
.truncate-3 { -webkit-line-clamp: 3; }





/* Line height */
.line-height-1 { line-height: 1; }
.line-height-1-5 { line-height: 1.5; }






/* Flexbox utilities */
/* ---------------------------------- flex-center  flex-space-between  ---------------------------------- */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-column { flex-direction: column; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-baseline { align-items: baseline; }
.items-stretch { align-items: stretch; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-evenly { justify-content: space-evenly; }

.flex-center { display: flex; justify-content: center; align-items: center; }
.flex-start { display: flex; justify-content: flex-start; align-items: center; }
.flex-end { display: flex; justify-content: flex-end; align-items: center; }

.flex-space-between { display: flex; justify-content: space-between; align-items: center; }
.flex-space-around { display: flex; justify-content: space-around; align-items: center; }
.flex-space-evenly { display: flex; justify-content: space-evenly; align-items: center; }


/* Margins and padding */
.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.p-0 { padding: 0; }




/* Positioning */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.right-0 { right: 0; }
.left-0 { left: 0; }




/* Borders */
.border { border: 1px solid; }
.rounded-none { border-radius: 0; }
.rounded-circle { border-radius: 50%; }
.rounded { border-radius: 4px; }
.rounded-top { border-radius: 4px 4px 0 0; }
.rounded-right { border-radius: 0 4px 4px 0; }
.rounded-bottom { border-radius: 0 0 4px 4px; }
.rounded-left { border-radius: 4px 0 0 4px; }





/* Display */
.block { display: block; }
.none { display: none; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.table { display: table; }






/* Background */
.bg-transparent { background: transparent; }
.bg-unset { background: unset; }
.bg-none { background: none; }




