.jms-slider-container {
    position: relative;
    max-width: 800px;
    margin: 20px auto;
    overflow: hidden;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    font-family: sans-serif;
}

.jms-wrapper {
    position: relative;
    min-height: 300px; /* Adjust based on content */
}

.jms-slide {
    display: none;
    padding: 20px;
    animation: fadeIn 0.5s ease-in-out;
    text-align: center;
}

.jms-slide.active {
    display: block;
}

.jms-slide img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
    max-height: 300px;
    object-fit: cover;
}

.jms-content h3 {
    margin-top: 0;
    color: #333;
}

.jms-content p {
    color: #666;
    line-height: 1.6;
}

.jms-controls {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    background: #eee;
}

.jms-controls button {
    padding: 8px 16px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.jms-controls button:hover {
    background: #005177;
}

.jms-loading {
    padding: 20px;
    text-align: center;
    color: #888;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
