/* Container for the entire shortcode output */
.eisp-container {
    position: relative;
    width: 100%;
}

/* Container for the button and trigger */
.eisp-footer-actions {
    text-align: center;
    padding-top: 20px;
}

/* The scroll trigger is an invisible element at the bottom */
.eisp-scroll-trigger {
    height: 50px;
    width: 100%;
}

/*
 * "LOAD MORE" BUTTON STYLES
 */
.eisp-load-more-button {
    background-color: #1E6A92; /* Main dark blue from your palette */
    color: #ffffff;
    border: 2px solid #1E6A92;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.eisp-load-more-button:hover {
    background-color: #A4C6D8; /* Lighter blue from your palette */
    color: #1E6A92;
    border-color: #A4C6D8;
}

/* Style for when the button is disabled during loading */
.eisp-load-more-button:disabled {
    background-color: #cccccc;
    border-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    transform: none;
}


/*
 * SKELETON LOADER STYLES (In-list method)
 */

li.eisp-skeleton-li {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 2em;
}

li.eisp-skeleton-li:hover {
    transform: none !important;
    box-shadow: none !important;
}

.eisp-skeleton-item {
    background-color: #EAF1F5;
    border-radius: 5px;
    padding: 15px;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.eisp-skeleton-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: eisp-shimmer 1.5s infinite;
}

@keyframes eisp-shimmer {
    100% {
        transform: translateX(100%);
    }
}

.eisp-skeleton-image {
    height: 280px;
    background-color: #A4C6D8;
    border-radius: 4px;
}

.eisp-skeleton-text {
    height: 18px;
    margin-top: 15px;
    background-color: #A4C6D8;
    border-radius: 4px;
}

.eisp-skeleton-text.short {
    width: 65%;
}