/* Show More Component Styles */

.budi-showmore {
    position: relative;
}

.budi-showmore__content {
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.budi-showmore__content.budi-showmore__content--collapsed {
    position: relative;
}

.budi-showmore__content--collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(transparent, var(--bs-body-bg, #fff));
    pointer-events: none;
}

.budi-showmore__toggle {
    margin-top: 16px;
    display: none;
}

.budi-showmore__button {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    text-decoration: underline;
    padding: 0;
    transition: color 0.2s ease-in-out;
    color: var(--neutral-black);
}

/* Hide toggle when not needed */
.budi-showmore--overflow .budi-showmore__toggle {
    display: block;
} 

.budi-showmore--no-overflow .budi-showmore__toggle {
    display: none;
} 

.budi-showmore--no-overflow .budi-showmore__content--collapsed::after {
    display: none;
}