.modal-slide-right .action-close:before {
    font-size: 40px;
    line-height: 32px;
    color: #000;
    content: '\e616';
    font-family: 'icons-blank-theme';
    margin: 0;
    vertical-align: top;
    display: inline-block;
    font-weight: 800;
}

.modal-slide-right {
    left: 50% !important;
    height: 100%;
    background-color: white;
    z-index: 10000;
}

@media only screen and (max-width: 1023px) {
    .modal-slide-right {
        left: 20% !important;
    }
    .modal-slide-right .action-close {
        padding: 0.5rem;
    }
}

.modal-slide-right header.modal-header {
    display: none !important;
}

.modal-slide-right .modal-content {
    position: relative;
    height: 100%;
    padding: 0 !important;
}

.modal-content-iframe {
    height: 100%;
    overflow-y: hidden;
}

/* ---- Modo AJAX: el contenido se pinta en el propio documento ---- */

.modal-content-iframe.is-ajax {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.enow-modal-post {
    padding: 2rem 2.5rem 3rem;
    max-width: 780px;
    margin: 0 auto;
}

@media only screen and (max-width: 767px) {
    .enow-modal-post {
        padding: 1.5rem 1.25rem 2.5rem;
    }
}

.enow-modal-post__categories {
    margin-bottom: 1rem;
}

.enow-modal-post__category {
    display: inline-block;
    background: #fdf0e3;
    color: #e8730c;
    border-radius: 999px;
    padding: 0.35rem 1rem;
    margin-right: 0.5rem;
    font-size: 1.4rem;
    text-decoration: none;
}

.enow-modal-post__title {
    font-size: 3rem;
    line-height: 1.2;
    margin: 0 0 1rem;
}

.enow-modal-post__date {
    color: #666;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.enow-modal-post__image {
    margin-bottom: 2rem;
}

.enow-modal-post__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.enow-modal-post__content img {
    max-width: 100%;
    height: auto;
}

.enow-modal-post__content h2,
.enow-modal-post__content h3 {
    margin-top: 2rem;
}

.enow-modal-post__permalink {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
}

/* Estilos para el spinner */
.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #ffeb3b;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Disable body scroll when modal is open */
body.no-scroll {
    overflow: hidden !important;
}
