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

body {
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: #222;
    background: #fdfdfd;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a { color: #1a5276; text-decoration: none; }
a:hover { text-decoration: underline; }

.hero-banner {
    position: relative;
    overflow: hidden;
    background: #1a237e;
}
.hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/background.jpg") center center / cover no-repeat;
    opacity: 0.22;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}
.hero-banner > * {
    position: relative;
    z-index: 1;
}

.site-header {
    background: transparent;
    color: #fff;
    padding: 2.5rem 1rem 2rem;
    text-align: center;
}
.site-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
}
.header-icon {
    width: 1.6em;
    height: 1.6em;
    vertical-align: middle;
}
.site-header .subtitle {
    font-size: 1rem;
    opacity: 0.9;
}
.site-header .venue {
    margin-top: 0.6rem;
    font-size: 0.95rem;
    opacity: 0.85;
}

nav {
    background: rgba(26, 35, 126, 0.5);
    text-align: center;
    padding: 0;
}
nav a {
    display: inline-block;
    color: #e8eaf6;
    padding: 0.75rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s;
}
nav a:hover, nav a.active {
    background: rgba(255,255,255,0.15);
    text-decoration: none;
}

main {
    max-width: 860px;
    margin: 2rem auto;
    padding: 0 1.2rem 3rem;
    flex: 1;
}

h2 {
    font-size: 1.45rem;
    color: #1a237e;
    margin: 2rem 0 0.8rem;
    padding-bottom: 0.3rem;
    border-bottom: 2px solid #c5cae9;
}

h3 {
    font-size: 1.15rem;
    color: #283593;
    margin: 1.5rem 0 0.5rem;
}

p { margin-bottom: 1rem; }

ul, ol {
    margin: 0 0 1rem 1.5rem;
}
li { margin-bottom: 0.35rem; }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
}
th, td {
    text-align: left;
    padding: 0.6rem 0.8rem;
    border: 1px solid #ddd;
}
th {
    background: #e8eaf6;
    font-weight: 600;
    color: #1a237e;
}
tr:nth-child(even) { background: #f9f9fb; }

.person-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    margin: 1rem 0 1.5rem;
}
.person-card {
    background: #f5f6fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 1rem;
}
.person-card strong { display: block; color: #1a237e; }
.person-card .affiliation { font-size: 0.9rem; color: #555; }
.person-card a { font-size: 0.85rem; }
.person-bio-text {
    font-size: 0.85rem;
    margin-top: 0.4rem;
    color: #555;
}

.dates-box {
    background: #e8eaf6;
    border-left: 4px solid #1a237e;
    padding: 1rem 1.2rem;
    border-radius: 4px;
    margin: 1rem 0 1.5rem;
}
.dates-box p {
    margin-bottom: 0.3rem;
}

footer {
    text-align: center;
    padding: 1.5rem 1rem;
    font-size: 0.85rem;
    color: #777;
    border-top: 1px solid #eee;
    margin-top: 2rem;
}

@media (max-width: 600px) {
    .site-header h1 { font-size: 1.3rem; }
    nav a { padding: 0.6rem 0.7rem; font-size: 0.82rem; }
    main { padding: 0 0.8rem 2rem; }
    .person-grid { grid-template-columns: 1fr; }
}
