/* dojo.be — style.css (blue theme) */

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

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 11pt;
    line-height: 1.7;
    color: #212121;
    background-color: #fff;
}

/* ==================== Header ==================== */

.header {
    background-color: #2e5c8a;
    padding: 60px 20px;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header h1 {
    color: #fff;
    font-size: 56pt;
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 1;
}

.header .year {
    color: rgba(255,255,255,0.6);
    font-size: 12pt;
    font-weight: 300;
    margin-top: 10px;
    letter-spacing: 1px;
}

/* Smaller header variant (subpages) */
.header.compact {
    min-height: 220px;
}

.header.compact h1 {
    font-size: 36pt;
}

/* ==================== Main content ==================== */

.content {
    max-width: 780px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

/* ==================== Language nav ==================== */

.lang-nav {
    text-align: center;
    margin-bottom: 28px;
    font-size: 10pt;
    color: #888;
}

.lang-nav a {
    color: #2e5c8a;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.lang-nav a:hover {
    border-bottom-color: #2e5c8a;
}

/* ==================== Typography ==================== */

h1.title {
    color: #2e5c8a;
    font-size: 28pt;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 4px;
}

h1.title .name {
    color: #000;
    font-weight: 700;
}

h2 {
    color: #2e5c8a;
    font-size: 17pt;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 36px;
    margin-bottom: 12px;
    border-bottom: 2px solid #2e5c8a;
    padding-bottom: 6px;
}

h2.subtitle {
    color: #444;
    font-weight: 400;
    font-size: 14pt;
    margin-top: 0;
    border: none;
    padding-bottom: 0;
}

p {
    margin: 12px 0;
    color: #222;
}

/* ==================== Links ==================== */

a {
    color: #1e4c6a;
    text-decoration: underline;
}

a:hover {
    color: #2e5c8a;
}

/* ==================== Blockquotes ==================== */

blockquote {
    margin: 20px 0;
    padding: 16px 24px;
    background: #f0f4f8;
    border-left: 4px solid #2e5c8a;
    font-style: italic;
    color: #333;
}

blockquote .attribution {
    font-style: normal;
    font-size: 10pt;
    color: #777;
    display: block;
    margin-top: 6px;
}

/* ==================== Back link (subpages) ==================== */

.back {
    display: inline-block;
    font-size: 10pt;
    color: #2e5c8a;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
    margin-bottom: 28px;
}

.back:hover {
    border-bottom-color: #2e5c8a;
}

/* ==================== Read more teaser ==================== */

.read-more {
    font-size: 10pt;
}

.read-more a {
    color: #2e5c8a;
    text-decoration: underline;
}

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

/* ==================== Tables ==================== */

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

td {
    padding: 12px;
    border: 1px solid #ddd;
    vertical-align: top;
}

td:first-child {
    font-weight: 700;
    color: #2e5c8a;
    width: 25%;
}

/* ==================== Timeline ==================== */

.timeline {
    margin: 20px 0;
}

.timeline p {
    line-height: 2;
}

.timeline-table {
    border-collapse: collapse;
    width: 100%;
    margin: 0;
}

.timeline-table td {
    border: none;
    padding: 2px 0;
    font-weight: 400;
    color: #222;
    width: auto;
}

.timeline-table td:first-child {
    white-space: nowrap;
    vertical-align: top;
    padding-right: 14px;
    font-weight: 700;
    color: #222;
    width: 1%;
}

/* ==================== Contact ==================== */

.contact {
    text-align: center;
    margin: 28px 0;
}

.contact a {
    color: #2e5c8a;
    font-size: 13pt;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.contact a:hover {
    border-bottom-color: #2e5c8a;
}

/* ==================== Links section ==================== */

.links {
    text-align: center;
    font-size: 10pt;
    color: #777;
    line-height: 2;
}

.links a {
    color: #2e5c8a;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.links a:hover {
    border-bottom-color: #2e5c8a;
}

/* ==================== Dividers ==================== */

.section-divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 36px auto;
    width: 40%;
}

.lang-divider {
    border: none;
    border-top: 2px solid #2e5c8a;
    margin: 48px auto;
    width: 50%;
    opacity: 0.3;
}

/* ==================== Inset box ==================== */

.inset-box {
    margin: 24px 0;
    padding: 20px 24px;
    background: #f0f4f8;
    border-left: 4px solid #2e5c8a;
    font-size: 10pt;
    color: #333;
}

.inset-box .inset-title {
    font-weight: 700;
    color: #2e5c8a;
    font-size: 11pt;
    margin-bottom: 4px;
}

.inset-box .inset-subtitle {
    font-style: italic;
    color: #555;
    margin-bottom: 10px;
}

.inset-box .inset-activities {
    margin-bottom: 10px;
    color: #444;
}

.inset-box .inset-thanks {
    border-top: 1px solid #ccd8e4;
    padding-top: 10px;
    color: #555;
}

/* ==================== Footer ==================== */

footer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #ddd;
    font-size: 10pt;
    color: #666;
    text-align: center;
}

footer a {
    color: #2e5c8a;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

footer a:hover {
    border-bottom-color: #2e5c8a;
}

/* ==================== Sidebar layout (new pages) ==================== */

body.has-sidebar {
    background: #fff;
}

.site-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 240px;
    flex-shrink: 0;
    background: #2e5c8a;
    color: #fff;
    padding: 36px 26px 28px;
    position: fixed;
    height: 100vh;
    top: 0;
    left: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.sidebar-brand {
    display: block;
    text-decoration: none;
    margin-bottom: 32px;
    border-bottom: none;
}

.sidebar-brand:hover {
    text-decoration: none;
}

.sidebar-image {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 14px;
}

.sidebar-logo {
    color: #fff;
    font-size: 16pt;
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 1.2;
    display: block;
    text-align: center;
}

.sidebar nav {
    flex-grow: 1;
}

.sidebar nav a {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    padding: 9px 0;
    font-size: 11pt;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    transition: color 0.2s, padding-left 0.2s;
    letter-spacing: 0.3px;
}

.sidebar nav a:hover {
    color: #fff;
    padding-left: 4px;
}

.sidebar nav a.active {
    color: #fff;
    font-weight: 700;
}

.sidebar-langs {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 10pt;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.5px;
}

.sidebar-langs strong {
    color: #fff;
    font-weight: 700;
}

.sidebar-langs a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.sidebar-langs a:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.4);
}

.sidebar-content {
    flex: 1;
    margin-left: 240px;
    min-width: 0;
}

/* In-content page header (replaces the giant blue block on sidebar pages) */
.page-header {
    padding: 56px 24px 28px;
    text-align: center;
    border-bottom: 1px solid #e8edf2;
    margin: 0 auto;
    max-width: 780px;
}

.page-header h1 {
    color: #2e5c8a;
    font-size: 28pt;
    font-weight: 300;
    letter-spacing: 1.5px;
    line-height: 1.2;
}

.page-header .subtitle {
    color: #777;
    font-size: 12pt;
    margin-top: 10px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Mobile: sidebar becomes top bar */
@media (max-width: 768px) {
    .site-wrapper {
        flex-direction: column;
    }
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        padding: 20px 24px 16px;
        flex-direction: column;
    }
    .sidebar-content {
        margin-left: 0;
    }
    .sidebar-brand {
        margin-bottom: 14px;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    .sidebar-image {
        margin-bottom: 8px;
    }
    .sidebar-logo {
        font-size: 14pt;
    }
    .sidebar nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0 18px;
        flex-grow: 0;
    }
    .sidebar nav a {
        border-bottom: none;
        padding: 4px 0;
        font-size: 10.5pt;
    }
    .sidebar nav a:hover {
        padding-left: 0;
    }
    .sidebar-langs {
        margin-top: 14px;
        padding-top: 12px;
        text-align: center;
    }
    .page-header {
        padding: 36px 20px 20px;
    }
    .page-header h1 {
        font-size: 22pt;
    }
}

/* ==================== Responsive ==================== */

@media (max-width: 479px) {
    h1.title { font-size: 22pt; }
    h2 { font-size: 15pt; }
    body { font-size: 12pt; }
    .header h1 { font-size: 36pt; }
    .header { min-height: 220px; padding: 30px 20px; }
    .header.compact h1 { font-size: 24pt; }
    .header.compact { min-height: 180px; }
}

@media (min-width: 480px) and (max-width: 767px) {
    h1.title { font-size: 25pt; }
    h2 { font-size: 16pt; }
    .header h1 { font-size: 42pt; }
    .header { min-height: 260px; }
}
