.rmt-content {
    position: relative;
}

.rmt-visible-content {
    position: relative;
}

.rmt-fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 80%);
    pointer-events: none;
    z-index: 1;
}

.rmt-hidden-content {
    overflow: hidden;
}

.rmt-button-wrapper {
    text-align: center;
    margin: 20px 0;
}

.rmt-toggle-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border: 2px solid #0073aa;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
    position: relative;
    z-index: 2;
}

.rmt-toggle-button:hover {
    background-color: #005a87;
    color: #fff;
}

.rmt-toggle-button:focus {
    outline: 2px solid #005a87;
    outline-offset: 2px;
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    .rmt-fade-overlay {
        background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 80%);
    }
}

/* Adjust for dark background sites */
body.dark-theme .rmt-fade-overlay,
body.has-dark-background .rmt-fade-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 80%);
}