/* =====================================================================
   Utilities
   ===================================================================== */
/* Spacing */
.mt-0 {
    margin-top: 0 !important;
}

.mt-2 {
    margin-top: var(--sp-2) !important;
}

.mt-4 {
    margin-top: var(--sp-4) !important;
}

.mt-6 {
    margin-top: var(--sp-6) !important;
}

.mt-8 {
    margin-top: var(--sp-8) !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-2 {
    margin-bottom: var(--sp-2) !important;
}

.mb-4 {
    margin-bottom: var(--sp-4) !important;
}

.mb-6 {
    margin-bottom: var(--sp-6) !important;
}

/* Text */
.text-muted {
    color: var(--ink-400) !important;
}

.text-sm {
    font-size: var(--fs-sm) !important;
}

.text-xs {
    font-size: var(--fs-xs) !important;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: var(--brand-500) !important;
}

.font-bold {
    font-weight: var(--fw-bold);
}

/* Display */
.d-flex {
    display: flex;
}

.d-block {
    display: block;
}

.d-none {
    display: none;
}

.flex-column {
    flex-direction: column;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.gap-2 {
    gap: var(--sp-2);
}

.gap-3 {
    gap: var(--sp-3);
}

.gap-4 {
    gap: var(--sp-4);
}

/* Width */
.w-full {
    width: 100%;
}

/* Misc */
.divider {
    height: 1px;
    background: var(--ink-100);
    border: 0;
    margin: var(--sp-6) 0;
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
