body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #f4f4f4; /* Added a light background */
    color: #333; /* Darker default text color */
    line-height: 1.6; /* Improved readability */
}

header {
    background-color: #333;
    color: white;
    padding: 1em;
    text-align: center; /* Center header text */
}

nav {
    background-color: #ddd; /* Light background for navigation */
    padding: 0.5em 0;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block; /* To center the ul */
}

nav ul li {
    display: inline;
    margin: 0 15px; /* Increased spacing */
}

nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    color: blue; /* Example hover effect */
}

main {
    margin: 20px auto; /* Center the main content */
    max-width: 960px; /* Limit width for better readability */
    padding: 20px;
    background-color: white; /* White background for content area */
    border-radius: 8px; /* Optional rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    text-align: left; /* Default text alignment for main content */
}

h2, h3 {
    color: #333;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    text-align: left; /* Align headings left */
}

/* Styles for the dashboard event list */
#dashboard-event-list ul {
    list-style: none;
    padding: 0;
}

#dashboard-event-list li {
    margin-bottom: 10px;
}

#dashboard-event-list li a {
    text-decoration: none;
    color: blue;
    font-weight: bold;
}

#dashboard-event-list li span {
    font-style: italic;
    color: gray;
}

/* Styles for the event details page (you might need more here later) */
.event-details-container {
    text-align: left;
}

.event-details-container h2 {
    margin-top: 0;
}

.event-details-container p strong {
    font-weight: bold;
}

.event-details-container .description {
    margin-top: 15px;
    line-height: 1.6;
}

.event-details-container .tags {
    margin-top: 10px;
    font-style: italic;
    color: gray;
}

.event-link {
    cursor: pointer;
    text-decoration: underline;
    color: blue;
}

.event-title {
    font-weight: bold;
    color: #333;
}

#event-list li {
    margin-bottom: 8px; /* Add some spacing between events */
}

.container {
    /* You might have other container styles, keep them as needed */
    padding: 20px; /* Example padding for the main container */
}

.news-link {
    cursor: pointer; /* Indicate it's clickable for logged-in users */
    text-decoration: underline;
    color: blue;
}
.news-title {
    /* Style for when the link is not active (for non-logged-in users) */
    color: #333;
    font-weight: bold;
}