.rm-content-wrapper {
    position: relative;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

/* Expanded state overrides max-height to show all content */
.is-expanded .rm-content-wrapper {
    max-height: 5000px !important;
}

/* Gradient fade at the bottom when collapsed */
.rm-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.is-expanded .rm-fade {
    opacity: 0;
}

.rm-button-container {
    margin-top: 15px;
    text-align: left;
}

.rm-toggle-btn {
    background-color: #000000;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 10px 24px;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    display: inline-block;
    border-radius: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.rm-toggle-btn:hover {
    background-color: #333333;
    color: #ffffff;
}
