body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f1f5f9;
    color: #1f2937;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #1f2937;
    color: #eef2ff;
    text-align: center;
    padding: 2rem 1rem;
    width: 100%;
}

.content-wrapper {
    display: flex;
    flex: 1;
}

.sidebar {
    width: 220px;
    background-color: #0f172a;
    padding: 2rem 0;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    overflow-y: auto;
}

.sidebar-nav {
    padding: 0 1rem;
}

.sidebar-nav h3 {
    color: #eef2ff;
    margin: 0 0 1rem 0;
    font-size: 1rem;
    padding: 0 1rem;
}

.sidebar-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-nav li {
    margin-bottom: 0.5rem;
}

.sidebar-nav a {
    color: #cbd5e1;
    text-decoration: none;
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    transition: all 0.3s ease;
}

.sidebar-nav a:hover {
    background-color: #1f2937;
    color: #60a5fa;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

header .brand h1 {
    margin: 0;
    font-size: 2.2rem;
}

header .brand p {
    margin: 0.5rem 0 0;
    color: #cbd5e1;
}

header .brand a {
    color: #60a5fa;
    text-decoration: none;
}

main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

section {
    margin-bottom: 2rem;
}

section h2 {
    margin-top: 0;
    color: #0f172a;
}

.news p,
.members p {
    color: #475569;
}

#news-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.news-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.news-card time {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
}

.news-card p {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

.member-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.member-table th,
.member-table td {
    text-align: left;
    padding: 0.85rem 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.member-table th {
    background-color: #f8fafc;
    color: #0f172a;
    font-weight: 600;
}

.member-table tr:nth-child(even) {
    background-color: #f8fafc;
}

.news ul {
    padding-left: 1.2rem;
}

.news li {
    margin-bottom: 0.75rem;
}

a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.results-table th,
.results-table td {
    text-align: left;
    padding: 0.85rem 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.results-table th {
    background-color: #f8fafc;
    color: #0f172a;
    font-weight: 600;
}

.results-table tr:nth-child(even) {
    background-color: #f8fafc;
}

.results-table td:first-child {
    text-align: center;
    font-weight: 600;
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #111827;
    color: #d1d5db;
}

@media (max-width: 640px) {
    main {
        margin: 1rem;
        padding: 1.5rem;
    }
}
