/* Slider Container */
.nhd-slider-container {
    max-width: 100%;
    position: relative;
    margin: 20px 0;
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Slides */
.nhd-slide {
    display: none;
    padding: 20px;
    text-align: center;
    animation: nhd-fade 1.5s;
}

.nhd-slide img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    max-height: 400px;
    object-fit: cover;
}

.nhd-content h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.5em;
}

.nhd-content .nhd-summary {
    color: #666;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 15px;
}

.nhd-read-more {
    display: inline-block;
    padding: 10px 20px;
    background: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.nhd-read-more:hover {
    background: #34495e;
}

/* Navigation */
.nhd-prev,
.nhd-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
}

.nhd-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.nhd-prev:hover,
.nhd-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Animation */
@keyframes nhd-fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* Admin Widget Styles */
.nhd-news-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.nhd-news-item:last-child {
    border-bottom: none;
}

.nhd-news-item h4 {
    margin: 0 0 5px;
}