/* Global Styles */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

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

/* Header */
header {
    background-color: #333;
    color: white;
    padding: 1rem;
}

.logo a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Main Content */
main {
    min-height: calc(100vh - 120px);
}

h1, h2, h3 {
    color: #333;
}

h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Discussion */
.content {
    flex: 2;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.date {
    color: #666;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.teaser {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.discussion {
    margin-top: 2rem;
}

.statement {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.statement:last-child {
    border-bottom: none;
}

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

/* Sidebar */
aside {
    flex: 1;
    margin-left: 20px;
}

.sidebar-box {
    background-color: white;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.sidebar-box h2 {
    margin-top: 0;
    font-size: 1.2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.sidebar-box ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.sidebar-box li {
    margin-bottom: 5px;
}

/* Audio Box */
.audio-box {
    background-color: #f9f9f9;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    border-left: 4px solid #007bff;
}

.audio-box h2 {
    margin-top: 0;
    color: #007bff;
}

.audio-box a {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 3px;
    margin-top: 10px;
}

.audio-box a:hover {
    background-color: #0056b3;
}

/* Thinkers Table */
.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f0f0f0;
    border-radius: 5px;
}

.filter {
    display: flex;
    flex-direction: column;
}

.filter label {
    margin-bottom: 5px;
    font-weight: bold;
}

.filter select, .filter input {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    min-width: 200px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: white;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f2f2f2;
    font-weight: bold;
}

tr:hover {
    background-color: #f5f5f5;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

footer a {
    color: #ddd;
}

/* Responsive Layout */
@media (min-width: 768px) {
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .container {
        display: flex;
        flex-wrap: wrap;
    }
    
    .content {
        flex: 2;
        margin-right: 20px;
    }
    
    aside {
        flex: 1;
    }
}

@media (max-width: 767px) {
    header {
        text-align: center;
    }
    
    nav ul {
        justify-content: center;
        margin-top: 1rem;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .container {
        flex-direction: column;
    }
    
    aside {
        margin-left: 0;
        margin-top: 20px;
    }
    
    .filter-container {
        flex-direction: column;
    }
    
    .filter select, .filter input {
        width: 100%;
    }
    
    table {
        display: block;
        overflow-x: auto;
    }
}
