.acf-read-more {
    --read-more-lines: 15;
}

.acf-read-more__content {
    overflow: hidden;

    transition:
        max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.acf-read-more__button {
    display: none;
    align-items: center;

    margin-top: 14px;
    padding: 0;

    border: 0;
    background: transparent;

    color: inherit;
    font: inherit;
    font-weight: 600;

    cursor: pointer;

    text-decoration: underline;
    text-underline-offset: 4px;
    
    float: right;
}

@media (max-width: 767px) {

    .acf-read-more.has-overflow .acf-read-more__button {
        display: inline-flex;
    }
}

@media (min-width: 768px) {

    .acf-read-more__content {
        max-height: none !important;
        overflow: visible;
        transition: none;
    }

    .acf-read-more__button {
        display: none !important;
    }
}

/* Respeta usuarios que prefieren menos animaciones */
@media (prefers-reduced-motion: reduce) {

    .acf-read-more__content {
        transition: none;
    }
}