.news-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.news-item {
    background: #0c6400;
    margin-bottom: 20px;
    padding: 20px;
}

.news-header h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.4em;
    font-weight: 600;
}

.news-title, .news-title strong {
    margin: 0 0 15px 0;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.news-body {
    margin-top: 10px;
}

.news-meta {
    font-size: 0.9em;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #fff;
}

.news-meta .author {
    font-weight: 500;
    color: orange;
}

.news-meta .channel {
    color: yellow;
}

.news-meta .channel-link {
    color: yellow;
    text-decoration: none;
    font-weight: 500;
}

.news-meta .channel-link:hover {
    text-decoration: underline;
    color: #ffff99;
}

.news-meta .channel {
    color: orange;
}

.news-meta .date {
    color: orange;
}

.news-content {
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Discord content formatting */
.news-content strong {
    font-weight: bold;
}

.news-content em {
    font-style: italic;
}

.news-content u {
    text-decoration: underline;
}

.news-content del {
    text-decoration: line-through;
    opacity: 0.7;
}

.news-content code {
    color: black;
    background-color: #f4f4f4;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    border: 1px solid #e1e1e1;
}

.news-content pre {
    color: black;
    background-color: #f4f4f4;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 10px 0;
    border: 1px solid #e1e1e1;
}

.news-content pre code {
    background: none;
    padding: 0;
    border: none;
}

/* Discord mentions */
.discord-channel {
background-color: #5865f2;
    color: white !important;
    padding: 0px 6px;
    border-radius: 3px;
    font-size: 0.9em;
    font-weight: bold;
    display: inline-block;
    text-decoration: none !important;
}

.discord-channel:hover {
    background-color: #4752c4;
    color: white !important;
    text-decoration: none;
}

.discord-user {
    color: orange;
    border-radius: 3px;
    font-size: 0.9em;
    font-weight: bold;
    display: inline-block;
}

.discord-role {
    background-color: #f23f43;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
    font-weight: bold;
    display: inline-block;
}

/* Links */
.news-content a {
    text-decoration: none;
}

.news-content a:hover {
    text-decoration: underline;
}

.news-footer {
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

.news-footer .discord-link {
    color: #7289da;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.news-footer .discord-link:hover {
    color: #5b6eae;
    text-decoration: underline;
}

.news-pagination {
    text-align: center;
    margin-top: 30px;
    padding: 20px 0;
}

.news-pagination .btn {
    display: inline-block;
    padding: 12px 24px;
    margin: 0 10px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.news-pagination .btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,123,255,0.3);
}

.news-pagination .btn:active {
    transform: translateY(0);
}

.page-info {
    margin: 0 20px;
    font-weight: 500;
    display: inline-block;
    padding: 12px 0;
}

.no-news {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 1.1em;
}

.no-news p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-container {
        padding: 15px;
    }
    
    .news-item {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .news-header h3 {
        font-size: 1.2em;
    }
    
    .news-pagination .btn {
        padding: 10px 16px;
        margin: 5px;
        display: block;
        width: 120px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .page-info {
        display: block;
        margin: 15px 0;
    }
}

/* Loading state */
.news-loading {
    text-align: center;
    padding: 40px;
}

.news-loading::after {
    content: "";
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    display: inline-block;
    animation: spin 1s linear infinite;
}

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