/* News Denver Frontend Styles */
:root {
    --news-denver-wenge: #5A4B4E;
    --news-denver-wine: #6B313B;
    --news-denver-gunmetal: #2A3A41;
    --news-denver-jet: #3E353B;
    --news-denver-eggplant: #52333A;
}

/* Main container */
#news {
    max-width: 100%;
    margin: 0 auto;
}

.news-header {
    margin-bottom: 30px;
}


/* News list */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

/* News item */
.news-item {
    display: block;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.news-item:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.news-source {
    font-size: 0.85em;
    font-weight: 600;
    color: var(--news-denver-gunmetal);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-headline {
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
    margin: 0 0 10px 0;
}

.news-time {
    font-size: 0.85em;
    color: #666;
    margin: 0;
}

/* Show more button */
.show-more-btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 12px 24px;
    background: var(--news-denver-gunmetal);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.show-more-btn:hover {
    background: var(--news-denver-jet);
}

.show-more-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Modal for YouTube videos */
.news-denver-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.news-denver-modal-content {
    position: relative;
    margin: 5% auto;
    width: 90%;
    max-width: 800px;
}

.news-denver-modal-close {
    position: absolute;
    right: -30px;
    top: -30px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.news-denver-modal-close:hover {
    color: #ccc;
}

#news-denver-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

#news-denver-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Widget styles */
.widget .news-list {
    gap: 15px;
}

.widget .news-item {
    padding: 15px;
}

.widget .news-headline {
    font-size: 1em;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .news-title {
        font-size: 1.5em;
    }
    
    .news-item {
        padding: 15px;
    }
    
    .news-headline {
        font-size: 1em;
    }
    
    .news-source,
    .news-time {
        font-size: 0.8em;
    }
    
    .show-more-btn {
        font-size: 14px;
    }
}
