/* Simple academic lab website styles */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

a {
    color: #0066cc;
}

a:hover {
    text-decoration: underline;
}

/* Header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
}

.brand {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
}

.brand-mark {
    display: none;
}

.brand strong {
    font-size: 1.5rem;
}

.brand small {
    display: block;
    font-size: 0.85rem;
    color: #666;
}

.site-nav {
    display: flex;
    gap: 20px;
}

.site-nav a {
    text-decoration: none;
    color: #666;
}

.site-nav a:hover,
.site-nav a.active {
    color: #0066cc;
}

.nav-toggle {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

/* Main content */
main {
    margin-bottom: 40px;
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: normal;
}

h2 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

p {
    margin-bottom: 10px;
    color: #555;
}

.lead {
    font-size: 1.05rem;
    margin-bottom: 20px;
}

/* Sections */
.section {
    margin-bottom: 30px;
}

/* Simple list (publications, funding) */
.simple-list {
    list-style: none;
}

.simple-list-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

/* Members */
.member-list {
    list-style: none;
}

.member-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.member-photo {
    width: 110px;
    flex-shrink: 0;
    object-fit: cover;
}

.member-info {
    flex: 1;
}

.member-role {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* News */
.news-list {
    list-style: none;
}

.news-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.news-date {
    font-size: 0.85rem;
    color: #666;
}

/* Contact */
.contact-info {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 5px;
}

/* Footer */
.site-footer {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #666;
}

/* Mobile */
@media (max-width: 600px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .site-nav {
        flex-wrap: wrap;
        gap: 10px;
    }
}