body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header, .smart-group-header, .standard-header {
    background-color: #003366;
    color: #ffffff;
    padding: 1.5rem 1rem;
}

.smart-group-header, .standard-header {
    position: relative;
    overflow: hidden;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.header-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header-text h1,
.header-text p {
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.header-text h1 {
    margin-bottom: 0.2rem;
}

.smart-group-header .lab-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    width: auto;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.smart-group-header .lab-logo img {
    width: auto;
    height: 100px;
    object-fit: contain;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.header-images {
    display: flex;
    gap: 10px;
    align-items: center;
}

.header-images img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

header h1, header p {
    color: #ffffff;
    margin: 0;
}

header h1 {
    margin-bottom: 0.5rem;
}

nav {
    background-color: #004080;
    padding: 0.5rem;
}

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

nav ul li {
    margin: 0 10px;
}

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

main {
    flex: 1;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

main > h2:first-child,
main > section:first-child > h2:first-child {
    margin-top: 0;
}

footer {
    background-color: #f4f4f4;
    text-align: center;
    padding: 1rem;
    margin-top: auto;
}

h1, h2, h3, h4 {
    color: #003366;
}

a {
    color: #0066cc;
}

ul {
    padding-left: 20px;
}

.students-list {
    padding-left: 0;
    margin-top: 0.5rem;
}

.students-list li {
    list-style-type: none;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 3px solid #003366;
}

.students-list li strong {
    font-size: 1em;
    color: #003366;
    display: block;
    margin-bottom: 0.2rem;
}

.students-list li p {
    margin: 0;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .smart-group-header .lab-logo {
        position: static;
        transform: none;
        margin-top: 1rem;
    }

    .smart-group-header .lab-logo img {
        width: 150px;
        height: 80px;
    }

    .header-text {
        margin-bottom: 1rem;
    }

    .header-images, .smart-group-header .lab-logo {
        margin-top: 1rem;
    }

    .header-images img {
        width: 60px;
        height: 60px;
    }
}

.footer-logo {
  width: 20px;
  height: auto;
}

.students-list.compact li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.students-list.compact li strong {
    margin-bottom: 0.1rem;
}

.students-list.compact li p {
    margin-bottom: 0.1rem;
}

.co-supervised {
    font-style: italic;
    font-size: 0.9em;
    color: #666;
}

.italic {
    font-style: italic;
}

