/* Shared site layout – header, footer, base styles (edit once, used everywhere) */

:root {
    --lu-dark-blue:    #002855;
    --lu-bronze:       #875E2A;
    --lu-dark-grey:    #4D4D4D;
    --lu-black:        #000000;
    --lu-white:        #FFFFFF;
    --lu-pink:         #FAD1E0;
    --lu-light-blue:   #B0C4DE;
    --lu-light-green:  #C8E6C9;
    --lu-beige:        #F5F0EB;
    --lu-grey:         #E8E8E8;
    --lu-border:       #D4D4D4;
    --lu-bg-light:     #F9F7F4;
    --lu-link-hover:   #6B4A1F;
    --font-serif:      'EB Garamond', Georgia, 'Times New Roman', serif;
    --font-sans:       'Source Sans 3', Arial, Helvetica, sans-serif;
    --page-padding-x:  56px;
    --page-max-width:  1200px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Visible keyboard focus for interactive controls */
a:focus-visible,
button:focus-visible,
.nav-dropdown-trigger:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--lu-dark-blue);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: var(--font-sans);
    color: var(--lu-dark-grey);
    background-color: var(--lu-white);
    line-height: 1.6;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: var(--lu-bronze);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--lu-link-hover);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* Sticky site header – shrinks on scroll (compact uses fixed + spacer via nav.js) */
.site-header {
    --header-logo-smart: 96px;
    --header-logo-lu: 72px;
    --header-main-padding-y: 16px;
    --header-main-padding-x: 40px;
    --header-nav-size: 16px;
    position: sticky;
    top: 0;
    z-index: 1100;
    background-color: var(--lu-white);
    box-shadow: 0 0 0 transparent;
    transition: box-shadow 0.25s ease;
}

.site-header.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.site-header-spacer {
    display: none;
    width: 100%;
}

.site-header.is-compact {
    --header-logo-smart: 52px;
    --header-logo-lu: 40px;
    --header-main-padding-y: 0;
    --header-nav-size: 14px;
    box-shadow: 0 2px 12px rgba(0, 40, 85, 0.1);
}

.site-header.is-compact .logo {
    gap: 12px;
}

.site-header.is-compact .main-nav {
    gap: 24px;
}

.site-header.is-compact .main-nav a,
.site-header.is-compact .nav-dropdown-trigger {
    padding-bottom: 2px;
}

.site-header.is-compact .social-bar,
.site-header.is-compact .main-header,
.site-header.is-compact .logo-smart-geo-ai img,
.site-header.is-compact .logo-lu img {
    transition: none;
}

/* Header – social bar */
.social-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 8px 40px;
    background-color: var(--lu-white);
    border-bottom: 1px solid var(--lu-grey);
    max-height: 48px;
    overflow: hidden;
    opacity: 1;
    transition: max-height 0.25s ease, padding 0.25s ease, opacity 0.2s ease, border-color 0.25s ease;
}

.site-header.is-compact .social-bar {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
    opacity: 0;
    border-bottom-color: transparent;
    pointer-events: none;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    color: var(--lu-black);
    font-size: 16px;
    transition: color 0.2s;
}

.social-icons a:hover {
    color: var(--lu-bronze);
    text-decoration: none;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--lu-dark-grey);
}

.language-selector img {
    width: 20px;
    height: 14px;
}

/* Header – main navigation */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--header-main-padding-y) var(--header-main-padding-x);
    background-color: var(--lu-white);
    border-bottom: 2px solid var(--lu-grey);
    transition: padding 0.25s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo a:hover {
    text-decoration: none;
}

.logo-smart-geo-ai img {
    height: var(--header-logo-smart);
    width: auto;
    display: block;
    transition: height 0.25s ease;
}

.logo-lu {
    display: flex;
    align-items: center;
}

.logo-lu img {
    height: var(--header-logo-lu);
    width: auto;
    display: block;
    transition: height 0.25s ease;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    font-family: var(--font-sans);
    font-size: var(--header-nav-size);
    font-weight: 400;
    color: var(--lu-dark-grey);
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease, font-size 0.25s ease;
}

.main-nav a:hover {
    color: var(--lu-dark-blue);
    border-bottom-color: var(--lu-dark-blue);
    text-decoration: none;
}

.main-nav a.active {
    color: var(--lu-dark-blue);
    border-bottom-color: var(--lu-dark-blue);
}

.search-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--lu-dark-grey);
    cursor: pointer;
    transition: color 0.2s;
}

.search-btn:hover {
    color: var(--lu-dark-blue);
}

/* Site-wide search overlay */
.site-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 20px 20px;
}

.site-search-overlay[hidden] {
    display: none !important;
}

.site-search-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.site-search-dialog {
    position: relative;
    width: min(640px, 100%);
    max-height: calc(100vh - 100px);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.site-search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--lu-light-grey, #e5e5e5);
}

.site-search-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--lu-dark-blue);
}

.site-search-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--lu-dark-grey);
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
}

.site-search-close:hover {
    color: var(--lu-dark-blue);
}

.site-search-form {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--lu-light-grey, #e5e5e5);
}

.site-search-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--lu-light-grey, #ccc);
    border-radius: 4px;
    font-size: 1rem;
}

.site-search-input:focus {
    outline: 2px solid var(--lu-dark-blue);
    outline-offset: 1px;
}

.site-search-submit {
    background: var(--lu-dark-blue);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0 16px;
    cursor: pointer;
    font-size: 1rem;
}

.site-search-submit:hover {
    background: var(--lu-blue, #004b87);
}

.site-search-status {
    margin: 0;
    padding: 8px 20px 0;
    font-size: 0.875rem;
    color: var(--lu-dark-grey);
}

.site-search-results {
    list-style: none;
    margin: 0;
    padding: 8px 0 12px;
    overflow-y: auto;
    flex: 1;
}

.site-search-results li {
    margin: 0;
}

.site-search-results a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--lu-light-grey, #eee);
    transition: background 0.15s;
}

.site-search-results a:hover {
    background: rgba(0, 75, 135, 0.06);
}

.site-search-result-type {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lu-dark-blue);
    margin-bottom: 4px;
}

.site-search-result-title {
    display: block;
    font-size: 0.95rem;
    color: var(--lu-dark-grey);
    line-height: 1.35;
}

.site-search-result-meta {
    display: block;
    font-size: 0.8rem;
    color: #777;
    margin-top: 2px;
}

.site-search-more {
    padding: 12px 20px;
    font-size: 0.85rem;
    color: #777;
    font-style: italic;
}

body.site-search-open {
    overflow: hidden;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Full-width section hero above main content */
.section-hero {
    position: relative;
    width: 100%;
    min-height: 220px;
    height: clamp(200px, 28vh, 340px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: none;
}

.section-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 40, 85, 0.48);
}

.section-hero-title {
    position: relative;
    z-index: 2;
    color: var(--lu-white);
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 500;
    text-align: center;
    padding: 0 32px;
    margin: 0;
    line-height: 1.15;
    letter-spacing: 0.02em;
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.75),
        0 0 24px rgba(0, 0, 0, 0.4);
}

/* Home cover – same compact height as other tabs; center the logo graphic */
.section-hero.section-hero--home {
    height: clamp(200px, 28vh, 340px);
    min-height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--lu-bg-light);
}

.section-hero.section-hero--home .section-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center center;
}

.section-hero.section-hero--home .section-hero-overlay {
    display: none;
}

/* Shared content area defaults */
.content-area {
    max-width: var(--page-max-width);
    margin: 0 auto;
    padding: 48px var(--page-padding-x);
    min-height: 60vh;
    width: 100%;
    box-sizing: border-box;
}

.content-area h1 {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    color: var(--lu-dark-blue);
    margin-bottom: 16px;
    font-weight: 500;
}

.content-area h2 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--lu-dark-blue);
    margin: 40px 0 20px;
    font-weight: 500;
}

.content-area p {
    margin-bottom: 16px;
    line-height: 1.7;
}

/* Contact page */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.contact-info {
    background: var(--lu-bg-light);
    border-left: 4px solid var(--lu-bronze);
    padding: 28px 32px;
    border-radius: 4px;
}

.contact-info p {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.7;
}

.contact-info strong {
    color: var(--lu-dark-blue);
    font-weight: 600;
}

.contact-info a {
    color: var(--lu-bronze);
    font-weight: 500;
}

.contact-info a:hover {
    color: var(--lu-link-hover);
    text-decoration: underline;
}

/* Research Projects page */
.research-projects-intro {
    margin-bottom: 32px;
}

.research-project-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 20px;
}

.research-project-card {
    display: block;
    border: 1px solid var(--lu-border);
    border-radius: 6px;
    background: var(--lu-white);
    padding: 24px 28px;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.research-project-card:hover {
    border-color: var(--lu-dark-blue);
    box-shadow: 0 6px 20px rgba(0, 40, 85, 0.08);
    transform: translateY(-1px);
    text-decoration: none;
    color: inherit;
}

.research-project-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.research-project-card-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--lu-dark-blue);
    margin: 0;
    font-weight: 500;
}

.research-project-card:hover .research-project-card-title {
    color: var(--lu-bronze);
}

.research-project-card-subtitle {
    font-size: 1.05rem;
    color: var(--lu-dark-grey);
    line-height: 1.45;
    margin: 0 0 12px;
}

.research-project-card-excerpt {
    font-size: 0.95rem;
    color: var(--lu-dark-grey);
    line-height: 1.6;
    margin: 0 0 12px;
}

.research-project-card-meta {
    font-size: 0.85rem;
    color: #777;
    margin: 0 0 12px;
}

.research-project-card-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--lu-bronze);
}

.research-project-card:hover .research-project-card-more {
    color: var(--lu-dark-blue);
}

.research-project-back {
    margin: 0 0 24px;
}

.research-project-back a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--lu-bronze);
}

.research-project-back a:hover {
    color: var(--lu-dark-blue);
}

.research-project {
    border: 1px solid var(--lu-border);
    border-radius: 6px;
    background: var(--lu-white);
    padding: 32px;
    margin-bottom: 32px;
}

.research-project-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--lu-grey);
}

.content-area .research-project-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--lu-dark-blue);
    margin: 0 0 8px;
}

.research-project-subtitle {
    font-size: 1.15rem;
    color: var(--lu-dark-grey);
    line-height: 1.5;
    margin: 0;
}

.research-project-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px 24px;
    margin-bottom: 28px;
    padding: 20px;
    background: var(--lu-bg-light);
    border-left: 4px solid var(--lu-bronze);
    border-radius: 4px;
}

.research-project-meta-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lu-bronze);
    margin-bottom: 4px;
}

.research-project-meta-value {
    display: block;
    font-size: 0.95rem;
    color: var(--lu-dark-grey);
    line-height: 1.4;
}

.research-project-body h2,
.research-project-sdgs h2,
.research-project-body h3,
.research-project-sdgs h3 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--lu-dark-blue);
    margin: 0 0 12px;
    font-weight: 600;
}

.research-project-body {
    margin-bottom: 28px;
}

.research-project-body p:last-child {
    margin-bottom: 0;
}

.research-project-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px 24px;
    margin: 0 0 28px;
    padding: 20px 0;
    border-top: 1px solid var(--lu-grey);
    border-bottom: 1px solid var(--lu-grey);
}

.research-project-detail {
    margin: 0;
}

.research-project-detail dt {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lu-bronze);
    margin-bottom: 4px;
}

.research-project-detail dd {
    margin: 0;
    font-size: 0.95rem;
    color: var(--lu-dark-grey);
}

.research-project-status {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.research-project-status--active {
    background: var(--lu-light-green);
    color: #2e6b32;
}

.research-project-status--completed {
    background: var(--lu-grey);
    color: var(--lu-dark-grey);
}

.research-project-status--planned {
    background: var(--lu-light-blue);
    color: var(--lu-dark-blue);
}

.research-project-sdgs-intro {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.research-project-sdg-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.research-project-sdg {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 4px;
    color: var(--lu-white);
    min-height: 72px;
}

.research-project-sdg-number {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    opacity: 0.95;
}

.research-project-sdg-name {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
}

.research-project-sdg--1 { background: #E5243B; }
.research-project-sdg--2 { background: #DDA63A; }
.research-project-sdg--6 { background: #26BDE2; }
.research-project-sdg--15 { background: #56C02B; }

/* Teaching page */
.teaching-intro {
    margin-bottom: 32px;
}

.teaching-course-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 20px;
}

.teaching-course {
    border: 1px solid var(--lu-border);
    border-radius: 6px;
    background: var(--lu-white);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.teaching-course[open] {
    border-color: var(--lu-dark-blue);
    box-shadow: 0 6px 20px rgba(0, 40, 85, 0.08);
}

.teaching-course-summary {
    list-style: none;
    cursor: pointer;
}

.teaching-course-summary::-webkit-details-marker {
    display: none;
}

.teaching-course-summary-inner {
    padding: 24px 28px;
    transition: background 0.2s;
}

.teaching-course-summary:hover .teaching-course-summary-inner {
    background: rgba(0, 75, 135, 0.04);
}

.teaching-course-summary-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.teaching-course-toggle-icon {
    flex-shrink: 0;
    color: var(--lu-bronze);
    font-size: 1rem;
    margin-top: 6px;
    transition: transform 0.2s;
}

.teaching-course[open] .teaching-course-toggle-icon {
    transform: rotate(180deg);
}

.content-area .teaching-course-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--lu-dark-blue);
    margin: 0;
    font-weight: 500;
}

.teaching-course-summary:hover .teaching-course-title,
.teaching-course[open] .teaching-course-title {
    color: var(--lu-bronze);
}

.teaching-course-code {
    font-size: 1rem;
    font-weight: 600;
    color: var(--lu-bronze);
    margin: 0 0 8px;
}

.teaching-course-summary-meta {
    font-size: 0.85rem;
    color: #777;
    margin: 0 0 12px;
}

.teaching-course-summary-excerpt {
    font-size: 0.95rem;
    color: var(--lu-dark-grey);
    line-height: 1.6;
    margin: 0 0 12px;
}

.teaching-course-summary-hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--lu-bronze);
}

.teaching-course[open] .teaching-course-summary-hint {
    display: none;
}

.teaching-course-panel {
    padding: 0 28px 28px;
    border-top: 1px solid var(--lu-grey);
}

.teaching-course-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px 24px;
    margin: 24px 0 28px;
    padding: 20px;
    background: var(--lu-bg-light);
    border-left: 4px solid var(--lu-bronze);
    border-radius: 4px;
}

.teaching-course-meta-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lu-bronze);
    margin-bottom: 4px;
}

.teaching-course-meta-value {
    display: block;
    font-size: 0.95rem;
    color: var(--lu-dark-grey);
    line-height: 1.4;
}

.teaching-course-section {
    margin-bottom: 28px;
}

.teaching-course-section:last-child {
    margin-bottom: 0;
}

.teaching-course-section h3 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--lu-dark-blue);
    margin: 0 0 12px;
    font-weight: 600;
}

.teaching-course-section p:last-child {
    margin-bottom: 0;
}

.teaching-course-literature {
    margin: 12px 0 0;
    padding-left: 1.25rem;
}

.teaching-course-literature li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.teaching-course-literature li:last-child {
    margin-bottom: 0;
}

/* Team page */
.team-profile-header {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 36px;
    align-items: flex-start;
}

.team-profile-main,
.team-profile-contact {
    margin: 0;
    padding: 0;
}

.team-profile-main {
    flex: 0 1 auto;
    max-width: 420px;
}

.team-profile-contact {
    flex: 1 1 400px;
    min-width: 320px;
    max-width: 520px;
    margin-left: auto;
}

.team-profile-photo {
    width: 200px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 2px;
    display: block;
    margin: 0;
}

.content-area h2.team-profile-name {
    margin: 0 0 8px;
    color: var(--lu-black);
    font-size: 1.75rem;
    line-height: 1.2;
}

.content-area h2.team-profile-name a {
    color: var(--lu-black);
    text-decoration: none;
}

.content-area h2.team-profile-name a:hover {
    color: var(--lu-bronze);
    text-decoration: underline;
}

.content-area h1.team-profile-name {
    margin: 0 0 8px;
    color: var(--lu-black);
    font-size: 1.75rem;
    line-height: 1.2;
    font-weight: 500;
}

.team-profile {
    margin-bottom: 40px;
}

.team-profile-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--lu-dark-grey);
    margin: 0 0 12px;
    line-height: 1.4;
}

.team-profile-role {
    display: inline-block;
    background: var(--lu-dark-blue);
    color: var(--lu-white);
    padding: 8px 14px;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 16px;
    line-height: 1.4;
}

.team-profile-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.team-profile-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--lu-dark-blue);
    color: var(--lu-white);
    font-size: 16px;
    text-decoration: none;
}

.team-profile-social a:hover {
    background: var(--lu-bronze);
    color: var(--lu-white);
    text-decoration: none;
}

.team-profile-social a.team-profile-social-logo {
    background: var(--lu-white);
    border: 1px solid rgba(0, 40, 85, 0.12);
    padding: 0;
}

.team-profile-social a.team-profile-social-logo img {
    width: 22px;
    height: 22px;
    display: block;
}

.team-profile-social a.team-profile-social-logo--scholar {
    background: var(--lu-white);
}

.team-profile-social a.team-profile-social-logo--scholar:hover {
    background: var(--lu-bronze);
}

.team-profile-social a.team-profile-social-logo--orcid {
    background: transparent;
    border: none;
}

.team-profile-social a.team-profile-social-logo--lu {
    background: var(--lu-white);
}

.team-profile-social a.team-profile-social-logo:hover {
    background: var(--lu-bronze);
    border-color: var(--lu-bronze);
}

.team-profile-social a.team-profile-social-logo--orcid:hover {
    background: transparent;
    border: none;
    opacity: 0.9;
}

.team-profile-contact h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--lu-black);
}

.team-profile-affiliations {
    margin: 0 0 14px;
}

.team-profile-affiliations p {
    margin: 0 0 8px;
    padding: 0;
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
    list-style: none;
}

.team-profile-affiliations p:last-child {
    margin-bottom: 0;
}

.team-profile-affiliations p.team-profile-affiliation-gap {
    margin-top: 10px;
}

.team-profile-contact-details {
    margin: 14px 0 0;
    padding-top: 0;
}

.team-profile-contact-details .team-profile-contact-detail {
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
}

.team-profile-contact-details .team-profile-contact-detail:last-child {
    margin-bottom: 0;
}

.team-profile-contact-details a {
    color: var(--lu-bronze);
}

.team-profile-contact p {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}

.team-profile-contact a {
    color: var(--lu-bronze);
}

.team-profile-bio p {
    margin-bottom: 16px;
    line-height: 1.8;
    text-align: justify;
}

.team-profile-bio p:last-child {
    margin-bottom: 0;
}

.person-profile-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--lu-border);
}

.person-profile-panel h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--lu-dark-blue);
    margin: 0 0 12px;
    font-weight: 500;
}

.person-profile-panel ul {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 14px;
    line-height: 1.65;
    color: var(--lu-dark-grey);
}

.person-profile-panel li {
    margin-bottom: 6px;
}

.person-profile-panel li:last-child {
    margin-bottom: 0;
}

.team-lab-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 28px;
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--lu-border);
}

.team-lab-head-link {
    display: flex;
    align-items: center;
    gap: 20px;
    color: inherit;
    text-decoration: none;
}

.team-lab-head-link:hover .team-lab-head-name {
    color: var(--lu-bronze);
    text-decoration: underline;
}

.team-lab-head-photo {
    width: 88px;
    height: auto;
    border-radius: 4px;
    display: block;
}

.team-lab-head-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--lu-dark-blue);
}

.team-lab-head-role {
    margin: 0;
    font-size: 1rem;
    color: var(--lu-dark-grey);
}

.team-table-member-name a {
    color: var(--lu-dark-blue);
    font-weight: 600;
    text-decoration: none;
}

.team-table-member-name a:hover {
    color: var(--lu-bronze);
    text-decoration: underline;
}

.team-table--members .team-table-name,
.team-table--advisory .team-table-name {
    width: 220px;
    font-weight: 600;
    color: var(--lu-dark-blue);
    vertical-align: top;
}

.team-table--members .team-table-member-photo,
.team-table--advisory .team-table-member-photo {
    display: block;
    width: 100%;
    max-width: 180px;
    height: auto;
    margin: 0 0 12px;
    border-radius: 4px;
}

.team-table--members .team-table-member-name,
.team-table--advisory .team-table-member-name {
    margin: 0 0 8px;
    font-weight: 600;
    color: var(--lu-dark-blue);
}

.team-table--members .team-table-member-affiliation,
.team-table--members .team-table-member-email,
.team-table--advisory .team-table-member-affiliation,
.team-table--advisory .team-table-member-email {
    margin: 0 0 6px;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: var(--lu-dark-grey);
}

.team-table--members .team-table-member-email,
.team-table--advisory .team-table-member-email {
    margin-bottom: 0;
}

.team-table--members .team-table-description .team-table-member-email,
.team-table--advisory .team-table-description .team-table-member-email {
    margin-bottom: 12px;
}

.team-table--members .team-table-member-email a,
.team-table--advisory .team-table-member-email a {
    color: var(--lu-bronze);
    font-weight: 500;
}

.team-table--members .team-table-description p,
.team-table--advisory .team-table-description p {
    margin: 0 0 12px;
    line-height: 1.7;
    text-align: left;
}

.team-table--members .team-table-description p:last-child,
.team-table--advisory .team-table-description p:last-child {
    margin-bottom: 0;
}

/* Partners page */
.partners-funders {
    margin-top: 40px;
}

.partners-funders h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--lu-dark-blue);
    margin: 0 0 16px;
    font-weight: 500;
}

.partners-funders ul {
    margin: 0;
    padding-left: 1.4rem;
    color: var(--lu-dark-grey);
    line-height: 1.8;
}

.partners-funders li {
    margin-bottom: 6px;
}

.contact-form-panel {
    background: var(--lu-bg-light);
    border-top: 4px solid var(--lu-bronze);
    border-radius: 4px;
    padding: 24px 28px;
    color: var(--lu-dark-grey);
    box-shadow: 0 2px 12px rgba(0, 40, 85, 0.06);
    align-self: start;
    width: 100%;
}

.contact-form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--lu-dark-blue);
    margin: 0 0 6px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.contact-form-intro {
    font-size: 14px;
    color: var(--lu-dark-grey);
    margin-bottom: 18px;
    line-height: 1.5;
}

.contact-form-status {
    display: none;
    padding: 10px 14px;
    border-radius: 4px;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.5;
}

.contact-form-status.is-visible {
    display: block;
}

.contact-form-status--success {
    background: var(--lu-light-green);
    border: 1px solid #a5d6a7;
    color: var(--lu-dark-blue);
}

.contact-form-status--error {
    background: var(--lu-pink);
    border: 1px solid #f48fb1;
    color: var(--lu-dark-blue);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form-field label {
    font-size: 14px;
    font-weight: 600;
    color: var(--lu-dark-blue);
    letter-spacing: 0.02em;
}

.contact-form-field input,
.contact-form-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--lu-border);
    border-radius: 6px;
    background: var(--lu-white);
    color: var(--lu-dark-grey);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder {
    color: #9a9a9a;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
    outline: none;
    border-color: var(--lu-bronze);
    box-shadow: 0 0 0 3px rgba(135, 94, 42, 0.25);
}

.contact-form-field textarea {
    min-height: 110px;
    resize: vertical;
}

.contact-form-field input.is-invalid,
.contact-form-field textarea.is-invalid {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.2);
}

.contact-form-honey {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form-submit {
    width: 100%;
    padding: 12px 20px;
    margin-top: 2px;
    border: none;
    border-radius: 6px;
    background: var(--lu-bronze);
    color: var(--lu-white);
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.contact-form-submit:hover {
    background: var(--lu-link-hover);
}

.contact-form-submit:focus-visible {
    outline: 2px solid var(--lu-dark-blue);
    outline-offset: 2px;
}

.contact-form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Home page */
.home-pillars {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.home-pillar {
    background: var(--lu-bg-light);
    border-radius: 8px;
    padding: 28px 24px;
    text-align: center;
    border-top: 4px solid var(--lu-bronze);
    box-shadow: 0 2px 12px rgba(0, 40, 85, 0.06);
    min-height: 100%;
}

.home-pillar--vision {
    background: #eef3f9;
    border-top-color: var(--lu-dark-blue);
}

.home-pillar--impact {
    background: #f3f7f0;
    border-top-color: #5a7a4a;
}

.home-pillar--values {
    background: #faf6f0;
    border-top-color: var(--lu-bronze);
}

.home-pillar-icon {
    font-size: 2rem;
    color: var(--lu-bronze);
    margin-bottom: 14px;
}

.home-pillar--vision .home-pillar-icon {
    color: var(--lu-dark-blue);
}

.home-pillar--impact .home-pillar-icon {
    color: #5a7a4a;
}

.home-pillar h2 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--lu-dark-blue);
    margin: 0 0 12px;
    font-weight: 500;
}

.home-pillar p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--lu-dark-grey);
    margin: 0;
    text-align: left;
}

.home-pillar ul {
    text-align: left;
    margin: 8px 0 0;
    padding-left: 18px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--lu-dark-grey);
}

.home-pillar li {
    margin-bottom: 4px;
}

.home-feed {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.home-section-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--lu-dark-blue);
    margin: 0 0 24px;
    font-weight: 500;
}

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.home-news-card {
    background: var(--lu-white);
    border: 1px solid var(--lu-border);
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    height: 100%;
}

.home-news-card:hover {
    box-shadow: 0 6px 20px rgba(0, 40, 85, 0.1);
    transform: translateY(-2px);
}

.home-news-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.home-news-card a:hover {
    text-decoration: none;
    color: inherit;
}

.home-news-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    object-position: center center;
    background: var(--lu-grey);
}

.home-news-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-news-card h3 {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    color: var(--lu-dark-blue);
    margin: 0 0 10px;
    line-height: 1.4;
}

.home-news-card p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--lu-dark-grey);
    margin: 0;
    flex: 1;
}

.home-news-card-date {
    font-size: 12px;
    font-weight: 600;
    color: var(--lu-bronze);
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* News page – Smart-Geo-AI cards */
.news-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 0;
}

.news-item {
    background: var(--lu-bg-light);
    border-left: 4px solid var(--lu-bronze);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.news-item:hover {
    box-shadow: 0 4px 12px rgba(0, 40, 85, 0.15);
    transform: translateX(4px);
}

.news-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-item-card {
    display: grid;
    grid-template-columns: minmax(200px, 280px) 1fr;
    gap: 0;
    align-items: stretch;
}

.news-item-media {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lu-grey);
    padding: 10px;
    min-height: 160px;
    border-radius: 4px 0 0 4px;
}

.news-item-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 240px;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.news-item-content {
    padding: 20px 24px;
}

.news-item-meta,
.news-article-meta {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 13px;
    color: var(--lu-dark-grey);
}

.news-item-meta li,
.news-article-meta li {
    margin: 0;
}

.news-meta--stacked {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 4px;
}

.news-item h3 {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    color: var(--lu-dark-blue);
    margin: 0 0 8px;
    font-weight: 600;
    line-height: 1.35;
}

.news-item a:hover h3 {
    color: var(--lu-bronze);
}

.news-preview {
    font-size: 14px;
    color: var(--lu-dark-grey);
    line-height: 1.6;
    margin: 0;
}

.read-more-btn {
    display: inline-block;
    margin-top: 14px;
    padding: 8px 14px;
    background-color: var(--lu-dark-blue);
    color: var(--lu-white);
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.news-item:hover .read-more-btn {
    background-color: var(--lu-bronze);
    color: var(--lu-white);
}

.news-article-page {
    max-width: 900px;
}

.news-article-back {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}

.news-article-figure {
    margin: 0 0 28px;
}

.news-article-image {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center center;
    border-radius: 4px;
    background: var(--lu-grey);
}

.news-article .article-content p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.policy-agenda-summary p {
    font-size: 1.05rem;
    line-height: 1.75;
}

.policy-agenda-events-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--lu-dark-blue);
    margin: 36px 0 16px;
    font-weight: 500;
}

.policy-agenda-events {
    display: grid;
    gap: 18px;
}

.policy-agenda-event {
    padding: 18px 20px;
    background: var(--lu-bg-light);
    border-left: 4px solid var(--lu-bronze);
    border-radius: 4px;
}

.policy-agenda-event h3 {
    font-size: 1rem;
    color: var(--lu-dark-blue);
    margin: 0 0 8px;
    line-height: 1.45;
}

.policy-agenda-event-meta {
    font-size: 13px;
    color: var(--lu-dark-grey);
    margin: 0 0 10px;
}

.policy-agenda-event ul {
    margin: 0;
    padding-left: 1.2em;
    color: var(--lu-dark-grey);
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .news-item-card {
        grid-template-columns: 1fr;
    }

    .news-item-media {
        min-height: 180px;
        border-radius: 4px 4px 0 0;
    }
}

.home-load-more {
    display: block;
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 4px;
    background: var(--lu-dark-blue);
    color: var(--lu-white);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.home-load-more:hover {
    background: #003d7a;
    color: var(--lu-white);
    text-decoration: none;
}

.home-events-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.home-event-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 0;
    border: 1px solid var(--lu-border);
    border-radius: 6px;
    overflow: hidden;
    background: var(--lu-white);
}

.home-event-date {
    background: var(--lu-light-blue);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    text-align: center;
    color: var(--lu-dark-blue);
}

.home-event-day {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.home-event-month {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 4px;
}

.home-event-year {
    font-size: 12px;
    margin-top: 2px;
    opacity: 0.85;
}

.home-event-body {
    padding: 14px 16px;
}

.home-event-body h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--lu-dark-blue);
    margin: 0 0 8px;
    line-height: 1.35;
}

.home-event-body p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--lu-dark-grey);
    margin: 0 0 8px;
}

.home-event-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--lu-bronze);
}

.home-event-link:hover {
    color: var(--lu-link-hover);
}

.home-all-events {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 4px;
    background: var(--lu-dark-blue);
    color: var(--lu-white);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.home-all-events:hover {
    background: #003d7a;
    color: var(--lu-white);
    text-decoration: none;
}

.home-empty {
    font-size: 14px;
    color: var(--lu-dark-grey);
    font-style: italic;
    padding: 16px 0;
}

@media (max-width: 1024px) {
    .home-pillars {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Footer */
.site-footer {
    border-top: 2px solid var(--lu-bronze);
    background-color: var(--lu-bg-light);
    color: var(--lu-dark-grey);
    padding: 18px 0 16px;
}

.footer-inner {
    max-width: var(--page-max-width);
    margin: 0 auto;
    padding: 0 var(--page-padding-x);
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-social {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 0;
}

.footer-social a {
    color: var(--lu-dark-grey);
    font-size: 17px;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: var(--lu-bronze);
    text-decoration: none;
}

.footer-divider {
    border: none;
    border-top: 1px solid var(--lu-border);
    margin: 4px 0;
}

.footer-copyright,
.footer-cookie {
    font-size: 12px;
    line-height: 1.2;
    color: var(--lu-dark-grey);
    margin: 0;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 20px;
    margin: 0;
}

.footer-copyright a,
.footer-cookie a,
.footer-legal-links a {
    color: var(--lu-bronze);
    text-decoration: underline;
}

.footer-copyright a:hover,
.footer-cookie a:hover,
.footer-legal-links a:hover {
    color: var(--lu-link-hover);
    text-decoration: underline;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background-color: var(--lu-bronze);
    color: var(--lu-white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s;
    z-index: 999;
}

.back-to-top:hover {
    background-color: var(--lu-link-hover);
}

@media (max-width: 768px) {
    :root {
        --page-padding-x: 24px;
    }

    .site-header {
        --header-main-padding-x: 16px;
    }

    .social-bar {
        padding: 8px 16px;
    }

    .site-header.is-compact .main-header {
        flex-direction: row;
        gap: 8px;
        padding-top: 0;
        padding-bottom: 0;
    }

    .main-header {
        flex-direction: column;
        gap: 16px;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .content-area {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .team-profile-header {
        flex-direction: column;
        gap: 24px;
    }

    .team-profile-main,
    .team-profile-contact {
        max-width: none;
    }

    .person-profile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-lab-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .team-table--advisory .team-table-name {
        width: auto;
    }

    .site-footer {
        padding-top: 20px;
        padding-bottom: 16px;
    }

    .footer-social {
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 0;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .contact-form-panel {
        padding: 20px 18px;
    }

    .home-pillars {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .home-feed {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .home-news-grid {
        grid-template-columns: 1fr;
    }
}
