/* 
Overset Grid Symposium - Modernized 2026
Original Color Palette Preserved:
- Dark blue: #2c2a7a
- Link blue: #33c
- Light grey: #aeb0b3
- Ochre: #a45425
- Dark red: #a53b3d
- Background grey: #444
*/

/* CSS Custom Properties for easier maintenance */
:root {
    --color-dark-blue: #2c2a7a;
    --color-link-blue: #33c;
    --color-ochre: #a45425;
    --color-dark-red: #a53b3d;
    --color-grey-bg: #444;
    --color-border: #336;
    --color-text: #212121;
    
    --max-width: 800px;
    --max-width-wide: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
}

/* Modern CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Base Styles */
body {
    background: linear-gradient(to bottom, var(--color-grey-bg) 0%, #555 100%);
    color: var(--color-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Lucida Grande", "Lucida Sans", "Trebuchet MS", Verdana, sans-serif;
    font-size: clamp(0.875rem, 0.8rem + 0.4vw, 1rem);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: clamp(1rem, 3vw, 2rem) auto;
    background-color: #fff;
    border: 5px solid var(--color-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Main Content */
.main-content {
    padding: clamp(1rem, 4vw, 2.5rem) clamp(1.25rem, 5vw, 2.75rem);
}

/* Logo Container */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-md) 0;
}

.logo-container img {
    width: clamp(150px, 40vw, 250px);
    height: auto;
}

/* Typography */
h1 {
    font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem);
    font-weight: 600;
    color: var(--color-dark-red);
    letter-spacing: 0.04em;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

h2 {
    font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.625rem);
    font-weight: 600;
    color: var(--color-dark-red);
    letter-spacing: 0.04em;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

/* Intro Section */
.intro-section {
    margin-bottom: var(--spacing-xl);
}

.intro-section > p {
    margin-bottom: var(--spacing-md);
    text-align: left;
}

/* Goals List */
.goals-list {
    list-style-position: outside;
    padding-left: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.goals-list li {
    margin-top: 0.6em;
    margin-bottom: 0.6em;
    line-height: 1.5;
}

/* Symposia Section */
.symposia-section {
    margin-bottom: var(--spacing-lg);
}

.symposia-list {
    list-style: none;
    padding: 0;
}

.symposia-list li {
    padding: 0.75rem 0;
    border-bottom: 1px dotted #ccc;
    line-height: 1.5;
}

.symposia-list li a {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    margin: -0.25rem -0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.symposia-list li a:hover,
.symposia-list li a:focus {
    background-color: #f8e6ef;
    text-decoration: underline;
}

.symposia-list li:last-child {
    border-bottom: none;
}

.symposia-list .featured-year {
    font-weight: bold;
    font-size: clamp(0.875rem, 0.85rem + 0.3vw, 1rem);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Links */
a {
    color: var(--color-link-blue);
    text-decoration: underline;
    transition: color 0.2s ease;
}

a:hover,
a:focus {
    color: var(--color-link-blue);
    text-decoration: underline;
}

a:focus {
    outline: 2px solid var(--color-link-blue);
    outline-offset: 2px;
}

/* Footer */
.footer {
    display: flex;
    justify-content: flex-end;
    padding: var(--spacing-sm) clamp(1.25rem, 5vw, 2.75rem);
    margin-top: var(--spacing-lg);
    border-top: 1px solid #ddd;
}

.footer .update {
    font-size: clamp(0.75rem, 0.7rem + 0.2vw, 0.875rem);
    color: #555;
    font-weight: 400;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .container {
        margin: 2rem auto;
    }
    
    .symposia-list li {
        padding: 0.85rem 0;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .container {
        max-width: var(--max-width-wide);
    }
    
    .main-content {
        padding: 2.5rem 3.5rem;
    }
}

/* Mobile-First Adjustments */
@media (max-width: 767px) {
    .container {
        border-width: 3px;
        margin: 0.5rem;
    }
    
    h1 {
        margin-top: var(--spacing-md);
    }
    
    h2 {
        margin-top: var(--spacing-lg);
    }
    
    .goals-list {
        padding-left: 1.25rem;
    }
    
    .footer {
        justify-content: center;
        text-align: center;
    }
}

/* Print Styles */
@media print {
    .container {
        border: none;
        box-shadow: none;
        max-width: 100%;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
