/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

/* Serif fonts for headings */
h1, h2, h3, h4, h5, h6 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 600;
}

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

/* Compact Header */
header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0;
}

.site-title a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-title a:hover {
    color: #2c3e73;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
}

nav a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
    color: #1a1a2e;
}

/* Main Content */
main {
    padding: 2rem 0;
}

/* Modular Card System */
.module-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.module {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
}

.module:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Module Sizes */
.module-full {
    grid-column: span 12;
}

.module-half {
    grid-column: span 6;
}

.module-third {
    grid-column: span 4;
}

/* Module Headers */
.module h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
    border-bottom: 2px solid #2c3e73;
    padding-bottom: 0.5rem;
}

.module h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #1a1a2e;
}

.module p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.7;
}

/* Read More Links */
.read-more {
    display: inline-block;
    color: #2c3e73;
    font-weight: 600;
    text-decoration: none;
    margin-top: 0.5rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #1a2647;
}

.read-more::after {
    content: " →";
}

/* Team Mini Bios */
.team-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.team-mini {
    text-align: center;
}

.team-mini a {
    text-decoration: none;
    color: inherit;
}

.team-mini a:hover h4 {
    color: #2c3e73;
}

.team-mini img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.75rem;
    border: 3px solid #f0f0f0;
    transition: border-color 0.3s ease;
}

.team-mini a:hover img {
    border-color: #2c3e73;
}

.team-mini h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #1a1a2e;
}

.team-mini .role {
    font-size: 0.85rem;
    color: #2c3e73;
    margin-bottom: 0.5rem;
}

.team-mini p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

/* Featured Items */
.featured-item {
    border-left: 4px solid #2c3e73;
    padding-left: 1rem;
}

.featured-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.featured-item .meta {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 0.75rem;
}

.featured-item .outlet,
.featured-item .venue {
    font-style: italic;
    color: #2c3e73;
    margin-bottom: 0.5rem;
}

/* Event Module */
.event-date {
    display: inline-block;
    background: #2c3e73;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.event-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.event-details {
    font-size: 0.9rem;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    background: #2c3e73;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #1a2647;
}

.btn-outline {
    background: transparent;
    border: 2px solid #2c3e73;
    color: #2c3e73;
}

.btn-outline:hover {
    background: #2c3e73;
    color: #fff;
}

/* Standard Pages */
section {
    background: #fff;
    border-radius: 8px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1a1a2e;
}

section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
    margin-top: 2rem;
}

section h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #1a1a2e;
}

section p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

section ul {
    margin: 1.5rem 0 1.5rem 2rem;
}

section li {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

/* Team Grid (full page) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    text-align: center;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    transition: opacity 0.3s ease;
}

.team-member a:hover img {
    opacity: 0.8;
}

.team-member h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.team-member .role {
    color: #2c3e73;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Publications List */
.publication {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

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

.publication h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.publication .authors {
    color: #666;
    margin-bottom: 0.5rem;
}

.publication .venue {
    font-style: italic;
    color: #2c3e73;
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background: #1a1a2e;
    color: #a8b2d1;
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
}

footer p {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .module-half,
    .module-third {
        grid-column: span 12;
    }

    section {
        padding: 2rem 1.5rem;
    }

    .site-title {
        font-size: 1rem;
        text-align: center;
    }
}
