:root {
    /* Color Palette - Sophisticated Cream & Gold */
    --c-primary: #2D2520;
    /* Deep charcoal/warm dark brown for headings */
    --c-secondary: #554C46;
    /* Warm grey-brown for body text */
    --c-accent: #B38E5D;
    /* Sophisticated warm bronze/gold for buttons and highlights */
    --c-accent-hover: #8E6D43;
    /* Deeper bronze/gold for interaction states */
    --c-bg: #FCFAF6;
    /* Ivory cream background */
    --c-bg-alt: #F5F1E6;
    /* Soft sand/beige for alternate section containers */
    --c-border: #E6DFD3;
    /* Muted warm border color */
    --c-text-muted: #8E837A;
    /* Muted warm taupe for labels and secondary text */

    /* Typography */
    --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Lora', Georgia, Cambria, serif;

    /* Spacing & Layout */
    --max-width: 1100px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;

    /* Effects & Borders */
    --radius: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 3px 0 rgba(45, 37, 32, 0.05);
    --shadow-md: 0 4px 12px -2px rgba(45, 37, 32, 0.08), 0 2px 6px -1px rgba(45, 37, 32, 0.04);
    --shadow-hover: 0 16px 24px -4px rgba(45, 37, 32, 0.12), 0 8px 12px -2px rgba(45, 37, 32, 0.06);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-sans);
    color: var(--c-secondary);
    line-height: 1.6;
    background-color: transparent; /* Let fixed background image show through */
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

strong,
b {
    font-weight: 700;
    color: var(--c-primary);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    color: var(--c-primary);
    line-height: 1.25;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: 1.25rem;
}

a {
    color: var(--c-accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--c-accent-hover);
}

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

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-lg) 0;
    background-color: rgba(252, 250, 246, 0.85); /* Semi-transparent ivory cream to let background artwork show through */
}

.section-alt {
    padding: var(--spacing-lg) 0;
    background-color: rgba(245, 241, 230, 0.85); /* Semi-transparent soft sand to let background artwork show through */
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    background-color: rgba(252, 250, 246, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--c-border);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--c-primary);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--c-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--c-accent);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--c-primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
    min-height: 550px;
    display: flex;
    align-items: center;
}

.hero-inner {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.hero-content-card {
    background-color: rgba(252, 250, 246, 0.8);
    /* Light transparent ivory cream tint to keep text readable */
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(230, 223, 211, 0.6);
    /* Soft border to define the card shape */
    box-shadow: var(--shadow-md);
    max-width: 100%; /* Spans the full width of the container */
}

.hero-content-card .mission {
    margin-bottom: 0;
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--c-primary);
    margin-bottom: var(--spacing-md);
    max-width: 100%; /* Let the header text occupy more horizontal space */
    letter-spacing: -0.02em;
}

.hero-text {
    max-width: 100%; /* Let the subheader/mission text occupy more horizontal space */
}

.mission {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--c-secondary);
    margin-bottom: var(--spacing-md);
}

.hero-visual {
    position: fixed; /* Fixed relative to the viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Takes full viewport height */
    z-index: -1; /* Sits behind everything */
    pointer-events: none;
}

.hero-visual img {
    position: absolute;
    top: -20%; /* Initial shift up */
    left: 0;
    width: 100%;
    height: 140%; /* Extra height to absorb translation without showing edges */
    object-fit: cover;
    object-position: center;
    opacity: 0.35;
    will-change: transform;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background-color: var(--c-bg-alt);
    border: 2px dashed var(--c-border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--c-text-muted);
    gap: 1rem;
}

/* Grids & Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
}

.card {
    background: #ffffff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

/* Lab Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

/* Lab Values Card Styles */
.value-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    height: 100%;
}

.value-card-header {
    margin-bottom: 0.5rem;
}

.value-card-header h3 {
    margin-bottom: 0;
    font-size: 1.35rem;
    line-height: 1.3;
    font-family: var(--font-serif);
    color: var(--c-primary);
    padding-right: 110px;
}

.value-card p {
    padding-right: 110px;
}

.value-image-link {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 95px;
    height: 95px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(179, 142, 93, 0.35);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    display: block;
    transition: var(--transition);
}

.value-image {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 95px;
    height: 95px;
    object-fit: cover;
    border-radius: 4px;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 16px rgba(45, 37, 32, 0.15);
    display: block;
    transition: var(--transition);
}

.value-image-link:hover {
    border-color: var(--c-accent);
    box-shadow: 0 0 15px rgba(179, 142, 93, 0.2);
}

.value-image-link:hover .value-image {
    transform: translate(-4px, 4px) scale(1.03);
    box-shadow: 0 10px 24px rgba(179, 142, 93, 0.25);
    border-color: #ffffff;
}

/* Research Areas - 1x3 Layout (1 Column, 3 Rows) */
.research-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.research-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
    padding: 2.5rem;
}

.research-card-content {
    flex: 1;
}

.research-card-content h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
    line-height: 1.3;
    font-family: var(--font-serif);
    color: var(--c-primary);
}

.research-card-content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--c-secondary);
    line-height: 1.6;
}

.research-image-link {
    flex-shrink: 0;
    width: 125px;
    height: 125px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(179, 142, 93, 0.35);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    display: block;
    position: relative;
    transition: var(--transition);
    margin-top: 8px;
    margin-left: 8px; /* space for offset image to bleed left */
}

.research-image {
    position: absolute;
    top: -8px;
    left: -8px; /* offset to the left */
    width: 125px;
    height: 125px;
    object-fit: cover;
    border-radius: 4px;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 16px rgba(45, 37, 32, 0.15);
    display: block;
    transition: var(--transition);
}

.research-image-link:hover {
    border-color: var(--c-accent);
    box-shadow: 0 0 15px rgba(179, 142, 93, 0.2);
}

.research-image-link:hover .research-image {
    transform: translate(4px, 4px) scale(1.03); /* aligns back into the frame */
    box-shadow: 0 10px 24px rgba(179, 142, 93, 0.25);
    border-color: #ffffff;
}

/* People Section */
.pi-section {
    margin-bottom: var(--spacing-md);
}

.pi-card {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.avatar-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    background-color: var(--c-bg-alt);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text-muted);
    margin-bottom: 1rem;
    border: 1px solid var(--c-border);
}

.avatar-placeholder.large {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    margin-bottom: 0;
    border-radius: 50%;
}

.pi-avatar {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid var(--c-accent);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.pi-avatar:hover {
    transform: scale(1.02);
    border-color: var(--c-accent-hover);
    box-shadow: var(--shadow-hover);
}

.role {
    color: var(--c-accent);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.bio {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links.small {
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--c-border);
}

.team-heading {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--c-border);
}

.person-card {
    text-align: center;
}

.person-card .avatar-placeholder {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
}

.person-card.join-card {
    border: 1px dashed var(--c-accent);
    background-color: rgba(179, 142, 93, 0.03);
}

.person-card.join-card:hover {
    border-style: solid;
    background-color: rgba(179, 142, 93, 0.08);
}

.person-card.join-card .avatar-placeholder {
    background-color: rgba(179, 142, 93, 0.1);
    color: var(--c-accent);
    border: 1px dashed var(--c-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Publications */
.publications-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.search-wrapper {
    position: relative;
    flex: 1;
    min-width: 280px;
    max-width: 500px;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--c-text-muted);
    pointer-events: none;
    transition: var(--transition);
}

#pub-search {
    width: 100%;
    padding: 0.65rem 1rem 0.65rem 2.5rem;
    font-size: 0.95rem;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background-color: #ffffff;
    color: var(--c-primary);
    transition: var(--transition);
    outline: none;
    font-family: var(--font-sans);
}

#pub-search:focus {
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px rgba(179, 142, 93, 0.15);
}

#pub-search:focus+.search-icon {
    color: var(--c-accent);
}

.pub-count {
    font-size: 0.9rem;
    color: var(--c-text-muted);
    font-weight: 500;
}

.pub-year-group {
    margin-bottom: 3rem;
    position: relative;
}

.pub-year-group:last-child {
    margin-bottom: 0;
}

.pub-year-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--c-border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pub-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.pub-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--c-border);
    transition: var(--transition);
}

.pub-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pub-item:hover {
    border-bottom-color: rgba(2, 132, 199, 0.3);
}

.pub-item:hover .pub-title a {
    color: var(--c-accent);
}

.pub-content {
    flex: 1;
}

.pub-title {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.pub-title a {
    color: var(--c-primary);
    text-decoration: none;
    transition: var(--transition);
}

.pub-title a:hover {
    color: var(--c-accent-hover);
}

.pub-authors {
    font-size: 0.95rem;
    color: var(--c-secondary);
    margin-bottom: 0.25rem;
}

.pub-authors strong {
    color: var(--c-primary);
    font-weight: 600;
}

.pub-venue {
    font-size: 0.9rem;
    color: var(--c-text-muted);
    font-style: italic;
}

.pub-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 0.25rem;
}

.pill {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--c-accent);
    background-color: rgba(179, 142, 93, 0.08);
    border-radius: 9999px;
    border: 1px solid transparent;
    transition: var(--transition);
    cursor: pointer;
}

.pill:hover {
    background-color: var(--c-accent);
    color: white;
}

.citations-pill {
    background-color: rgba(142, 131, 122, 0.08);
    color: var(--c-text-muted);
    cursor: default;
}

.citations-pill:hover {
    background-color: rgba(142, 131, 122, 0.08);
    color: var(--c-text-muted);
}

/* Empty & Error States */
.pub-empty,
.pub-error {
    text-align: center;
    padding: 3rem 1.5rem;
    border: 1px dashed var(--c-border);
    border-radius: var(--radius-lg);
    background-color: var(--c-bg-alt);
    color: var(--c-text-muted);
    width: 100%;
}

.pub-error {
    border-color: #fca5a5;
    background-color: #fef2f2;
    color: #991b1b;
}

.error-details {
    font-family: monospace;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    color: #dc2626;
}

/* Skeleton Loading Shimmer State */
.pub-loading {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.skeleton-year {
    height: 1.75rem;
    width: 100px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius);
}

.skeleton-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--c-border);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.skeleton-line {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-line.title {
    height: 1.25rem;
    width: 70%;
}

.skeleton-line.authors {
    height: 0.95rem;
    width: 40%;
}

.skeleton-line.venue {
    height: 0.95rem;
    width: 55%;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Join Us / Contact & Open Positions */
.contact-box {
    background-color: #ffffff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
}

.join-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    text-align: left;
}

.join-inquiries p {
    margin-bottom: 1rem;
}

.join-intro {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--c-secondary);
}

.contact-details {
    margin-top: 0.5rem;
}

.location-logo {
    margin-top: 1rem;
}

.location-logo img {
    max-height: 120px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: var(--transition);
}

.location-logo img:hover {
    opacity: 1;
}

.join-inquiries h2,
.join-contact h2 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-family: var(--font-serif);
    color: var(--c-primary);
    border-bottom: 2px solid var(--c-accent);
    padding-bottom: 0.25rem;
    display: inline-block;
}

.position-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.position-card-item {
    background-color: var(--c-bg-alt);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 1.25rem;
    transition: var(--transition);
}

.position-card-item:hover {
    background-color: var(--c-bg);
    border-color: var(--c-accent);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.position-card-item h4 {
    font-size: 1rem;
    color: var(--c-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
}

.position-card-item p {
    font-size: 0.88rem;
    color: var(--c-secondary);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.position-status {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--c-accent);
    background-color: rgba(179, 142, 93, 0.1);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
}

.position-placeholder-card {
    background-color: var(--c-bg-alt);
    border: 1px dashed var(--c-accent);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.position-placeholder-card:hover {
    background-color: rgba(179, 142, 93, 0.05);
    box-shadow: var(--shadow-sm);
}

.position-placeholder-icon {
    margin-bottom: 1rem;
    color: var(--c-accent);
}

.position-placeholder-card h4 {
    font-size: 1.1rem;
    color: var(--c-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
}

.position-placeholder-card p {
    font-size: 0.9rem;
    color: var(--c-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

.placeholder-note {
    font-size: 0.85rem;
    color: var(--c-text-muted);
    font-style: italic;
    border-top: 1px solid var(--c-border);
    padding-top: 1rem;
    margin-top: 1.25rem !important;
}

.status-upcoming {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--c-text-muted);
    background-color: rgba(142, 131, 122, 0.15);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.02em;
}

.status-live {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    background-color: var(--c-accent);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.02em;
    transition: var(--transition);
}

.status-live:hover {
    background-color: var(--c-accent-hover);
    color: #ffffff;
}

/* Funding & Support Banner */
.funding-container {
    text-align: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.funding-heading {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-text-muted);
    margin-bottom: 2rem;
    font-family: var(--font-sans);
}

.funding-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.funding-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 165px;
    padding: 1.25rem;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    background-color: #ffffff; /* White background to cleanly blend logo backgrounds */
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    opacity: 0.85;
}

.funding-logo img {
    max-height: 100%;
    max-width: 290px;
    object-fit: contain;
}

.funding-logo:hover {
    opacity: 1;
    border-color: var(--c-accent);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

/* News Section */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    gap: 2rem;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.news-date {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--c-accent);
    min-width: 120px;
    flex-shrink: 0;
    padding-top: 0.25rem;
}

.news-content {
    flex: 1;
}

.news-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--c-primary);
}

.news-content p {
    font-size: 0.95rem;
    color: var(--c-secondary);
    line-height: 1.6;
}

.news-content a {
    color: var(--c-accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.news-content a:hover {
    color: var(--c-accent-hover);
}

@media (max-width: 600px) {
    .news-item {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1.25rem;
    }

    .news-date {
        min-width: auto;
    }
}

/* Footer */
footer {
    background-color: var(--c-primary);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-note {
    font-size: 0.85rem;
    color: var(--c-text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid var(--c-border);
        padding: 1rem;
        box-shadow: var(--shadow-sm);
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        padding: 5rem 0;
        min-height: auto;
    }

    .hero-content-card {
        padding: 1.5rem;
        background-color: rgba(252, 250, 246, 0.12);
        /* Extremely transparent on mobile for aesthetics */
    }

    .pi-card {
        flex-direction: column;
        text-align: center;
    }

    .pub-item {
        flex-direction: column;
    }

    .join-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .values-grid,
    .research-grid {
        grid-template-columns: 1fr;
    }

    .value-card,
    .research-card {
        padding: 1.5rem;
    }

    .research-card {
        flex-direction: column;
        gap: 1.5rem;
    }

    .value-image-link {
        top: 1.5rem;
        right: 1.5rem;
    }
}