/* ===========
   READ MORE COMPONENT
============== */

.gs-readmore {
    position: relative;
}

.gs-readmore__content {
    overflow: hidden;
    padding: 20px 20px 30px 20px;
    border-radius: var(--radius-sm);
    background: #f7f7f7;
    position: relative;
    transition: max-height 0.4s ease;
}

.gs-readmore__content p {
    margin-bottom: var(--space-md);
    line-height: 1.7;
    text-align: justify;
    color: var(--color-text-cafe);
}

.gs-readmore:not(.is-expanded)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 80px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgb(255 255 255 / 0%) 0%, rgb(255 255 255 / 90%) 40%, #ffffff 100%);
}

.gs-readmore__toggle {
    position: absolute;
    right: 20px;
    bottom: 20px;
    background: #f1c7c700;
    border: none;
    color: var(--color-primario);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    cursor: pointer;
    z-index: 2;
}

.gs-readmore.is-expanded::after {
    display: none;
}