.news-section {
    background-color: #1C1C1C;
    color: #F1F1F1;
    padding: 20px;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.news-section h2 {
    text-align: center;
    font-family: 'Impact', sans-serif;
    color: #FFCC00;
    text-shadow: 0 0 5px #FFCC00, 0 0 10px #FF9900;
    margin-bottom: 20px;
}

.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.news-card {
    background-color: #2A2A2A;
    border: 1px solid #333;
    padding: 15px;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.8);
}

.news-card h3 {
    font-size: 18px;
    color: #FFCC00;
    margin-bottom: 10px;
}

.news-card p {
    font-size: 14px;
    color: #DDD;
}

.news-card button {
    background-color: #FFCC00;
    color: #1C1C1C;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.news-card button:hover {
    background-color: #FFC107;
}

/* NEW: Scrollable RSS feed content */
#rssFeedContent {
    max-height: 75px; /* Fixed height for the RSS feed content */
    overflow-y: auto; /* Enable vertical scrolling */
    padding: 10px; /* Add padding for readability */
    background-color: #2A2A2A; /* Match the card background */
    border-radius: 8px; /* Rounded corners for consistency */
    border: 1px solid #333; /* Optional: Add a border for a clean look */
    color: #DDD; /* Text color for readability */
    font-size: 14px; /* Match the text size with other content */
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
}

.modal-content {
    position: relative;
    margin: 5% auto;
    background-color: #1C1C1C;
    width: 80%;
    height: 80%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.8);
    color: #FFF;
}

.modal-content h2 {
    padding: 10px;
    text-align: center;
    font-family: 'Impact', sans-serif;
    color: #FFCC00;
}

.modal-content .close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #FFF;
    font-size: 24px;
    cursor: pointer;
}

.modal-content iframe {
    width: 100%; /* Ensure the iframe fits the container */
    height: 100%; /* Adjust the height dynamically */
    transform: scale(1); /* Scale down the content */
    transform-origin: top left; /* Ensure scaling starts at the top-left corner */
}

@media (max-width: 1080px) {
    .modal-content iframe {
        transform: scale(1); /* Further reduce scale for smaller screens */
}