/* Base Variables */
:root {
    --primary-color: #18A558;
    --primary-hover: #0D7A40;
    --accent-gold: #F4C414;
    --accent-gold-dark: #C99800;
    --danger-color: #D7262B;
    --structural-black: #111111;
    --bg-color: #F2F2F2;
    --card-bg: #FFFFFF;
    --muted-text: #333333;
    --light-green: #D9F5E3;
    --light-gold: #FFF5CC;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--structural-black);
    background-color: var(--bg-color);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--structural-black);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--structural-black);
}
.logo {
    display: flex;
    align-items: center;
    gap: 0;
}
.logo a {
    display: flex;
    align-items: center;
}
.nav-logo {
    height: 45px;
    width: auto;
    display: block;
    border-radius: 4px;
    border: 2px solid var(--structural-black);
}
.site-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-left: 1rem;
    white-space: nowrap;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}
.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
}

.nav-links a.active {
    text-decoration: underline;
    text-underline-offset: 4px;
    color: var(--primary-color);
    font-weight: 700;
}

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

/* Nav menu wrapper (desktop) */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Hamburger toggle button */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.about-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}
.about-list li {
    background: var(--light-green);
    border: 1px solid rgba(17,17,17,0.12);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    color: var(--structural-black);
    line-height: 1.7;
}
.about-list strong {
    display: inline-block;
    width: 5rem;
    color: var(--primary-color);
}

/* Default list styles */
.container > ul:not(.about-list) {
    margin: 1rem 0 2rem 0;
    padding-left: 2rem;
}
.container > ul:not(.about-list) li {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--muted-text);
}
.container > ul:not(.about-list) strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Innovation Tracks */
.innovation-tracks h4 {
    color: var(--primary-color);
    margin-top: 1.75rem;
}

/* Innovation Tracks list formatting */
.innovation-tracks ul {
    margin: 0.75rem 0 1.25rem 0;
    padding-left: 2rem;
    list-style: disc;
}
.innovation-tracks ul li {
    margin-bottom: 0.6rem;
    line-height: 1.7;
    color: var(--muted-text);
}
.innovation-tracks ul li:last-child {
    margin-bottom: 0;
}

/* Deliverables dropdown styling */
.deliverables-dropdown {
    margin-top: 1rem;
}
.deliverables-dropdown summary {
    cursor: pointer;
    padding: 0.6rem 0.8rem;
    background-color: var(--light-gold);
    border: 1px solid rgba(17,17,17,0.08);
    border-radius: 6px;
    font-weight: 600;
    color: var(--structural-black);
}
.deliverables-dropdown .deliverables-content {
    padding: 1rem 1.25rem;
    background: var(--card-bg);
    border: 1px solid rgba(17,17,17,0.06);
    border-radius: 6px;
    margin-top: 0.75rem;
}
.deliverables-dropdown .deliverables-content ul {
    margin: 0.5rem 0 1rem 1.5rem;
    padding-left: 0.5rem;
    list-style: disc;
    color: var(--muted-text);
}
.deliverables-dropdown .deliverables-content ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Event Branding Gallery */
.branding-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}
.branding-logo-card {
    border: 1px solid rgba(17,17,17,0.1);
    border-radius: 8px;
    overflow: hidden;
    background: var(--card-bg);
    display: flex;
    flex-direction: column;
}
.branding-logo-preview {
    background-image: linear-gradient(45deg, #ddd 25%, transparent 25%),
                      linear-gradient(-45deg, #ddd 25%, transparent 25%),
                      linear-gradient(45deg, transparent 75%, #ddd 75%),
                      linear-gradient(-45deg, transparent 75%, #ddd 75%);
    background-size: 16px 16px;
    background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
    background-color: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    min-height: 120px;
}
.branding-logo-preview--dark {
    background-image: none;
    background-color: #1a1a2e;
}
.branding-favicon-preview {
    background-image: none;
    background-color: var(--bg-color);
}
.branding-logo-preview img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    display: block;
}
.branding-favicon-preview img {
    max-height: 64px;
    image-rendering: pixelated;
}
.branding-logo-info {
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}
.branding-logo-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--structural-black);
}
.branding-logo-downloads {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.branding-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.65rem;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.branding-download-btn:hover {
    background: var(--primary-color);
    color: #fff;
}
.branding-color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}
.branding-color-swatch {
    border: 1px solid rgba(17,17,17,0.1);
    border-radius: 8px;
    overflow: hidden;
    background: var(--card-bg);
}
.branding-color-block {
    height: 72px;
    background-color: var(--swatch-color);
}
.branding-color-meta {
    padding: 0.5rem 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.branding-color-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--structural-black);
    line-height: 1.3;
}
.branding-color-hex {
    font-size: 0.78rem;
    font-family: monospace;
    color: var(--muted-text);
    letter-spacing: 0.03em;
}

/* Judging Criteria */
.judging-criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
.judging-criteria-card {
    background: var(--card-bg);
    border: 1px solid rgba(17,17,17,0.1);
    border-top: 4px solid var(--primary-color);
    border-radius: 6px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.judging-criteria-card--bonus {
    border-top-color: var(--accent-gold);
    background: var(--light-gold);
}
.judging-criteria-points {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}
.judging-criteria-card--bonus .judging-criteria-points {
    color: var(--accent-gold-dark);
}
.judging-criteria-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--structural-black);
}
.judging-criteria-desc {
    font-size: 0.8rem;
    color: var(--muted-text);
    line-height: 1.5;
}

/* Poster Guide */
.poster-guide-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(17,17,17,0.07);
}
.poster-guide-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.poster-guide-section h4 {
    margin-bottom: 0.5rem;
    color: var(--structural-black);
}
.poster-guide-section ul {
    margin: 0.5rem 0 0 1.5rem;
    padding-left: 0.5rem;
    list-style: disc;
    color: var(--muted-text);
}
.poster-guide-section ul li {
    margin-bottom: 0.45rem;
    line-height: 1.6;
}
.poster-guide-section ul ul {
    margin-top: 0.35rem;
    list-style: circle;
}
.poster-deadline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.75rem;
}
.poster-deadline-card {
    background: var(--light-green);
    border: 1px solid rgba(24,165,88,0.2);
    border-left: 4px solid var(--primary-color);
    border-radius: 6px;
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.poster-deadline-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color);
}
.poster-deadline-date {
    font-size: 1rem;
    font-weight: 700;
    color: var(--structural-black);
}
.poster-deadline-detail {
    font-size: 0.8rem;
    color: var(--muted-text);
    line-height: 1.4;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--card-bg);
    border: 2px solid var(--primary-color);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}
.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--light-green);
    color: var(--primary-hover);
    border-color: var(--primary-hover);
}

/* Layered Hero Section */
.hero {
    background-image: url('../assets/images/hero-background-only.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 6rem 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}
.hero-content {
    background-color: var(--card-bg);
    padding: 3rem 4rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(17,17,17,0.14);
    max-width: 900px;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(17,17,17,0.08);
}
.hero-brand-img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
}
.hero-tagline {
    font-size: 1.25rem;
    color: var(--structural-black);
    margin-bottom: 2rem;
    font-weight: 500;
}
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Layout Utilities */
.container {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}
.container h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--structural-black);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 1rem;
    text-align: center;
}
.container h3 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}
.container > p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--muted-text);
}
.bg-light { background-color: var(--light-green); }
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(17,17,17,0.06);
    border: 1px solid rgba(17,17,17,0.08);
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--structural-black);
}
.section-subtitle {
    text-align: center;
    color: var(--muted-text);
    margin-bottom: 3rem;
}

/* Profile Cards (Staff) */
.profile-grid { gap: 3rem; }
.profile-card {
    text-align: center;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(17,17,17,0.08);
    box-shadow: 0 4px 12px rgba(17,17,17,0.06);
}
.avatar {
    width: 150px;
    height: 150px;
    background-color: var(--light-green);
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    border: 4px solid var(--structural-black);
    box-shadow: 0 4px 10px rgba(17,17,17,0.08);
}
.profile-card .role {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}
.profile-card .bio {
    margin-top: 1rem;
    text-align: left;
    white-space: pre-wrap;
    color: var(--muted-text);
    line-height: 1.6;
    font-size: 0.95rem;
}
.social-links {
    margin-top: 1rem;
    font-size: 0.85rem;
}
.social-links a {
    color: var(--primary-color);
    text-decoration: none;
}
.social-links a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Team Cards */
.team-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 2px 4px rgba(17,17,17,0.06);
}
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--accent-gold);
    color: var(--structural-black);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 1rem;
}
.award-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--accent-gold);
    color: var(--structural-black);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 0.5rem;
}
.member-list {
    list-style-type: none;
    padding: 0;
    margin-top: 0.5rem;
}
.member-list li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}
.member-role {
    font-size: 0.78rem;
    color: var(--primary-color);
    font-weight: 600;
}
.member-details {
    font-size: 0.8rem;
    color: var(--muted-text);
}
.affil-link {
    color: var(--muted-text);
    text-decoration: underline;
    text-decoration-color: #bbb;
    text-underline-offset: 2px;
}
.affil-link:hover {
    color: var(--primary-color);
    text-decoration-color: var(--primary-color);
}

/* Institution Map */
.institution-map-wrap {
    margin: 2rem 0;
    text-align: center;
}
.institution-map {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(17,17,17,0.10);
}

/* Teams Preview — index page cards */
.teams-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.team-preview-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(17,17,17,0.08);
    text-decoration: none;
    color: inherit;
    border: 1px solid #e0e0e0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.team-preview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(17,17,17,0.15);
}
.team-preview-bg {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.team-preview-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.team-preview-bg-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
}
.team-preview-body {
    padding: 1rem 1.1rem 0.5rem;
    flex: 1;
}
.team-preview-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--structural-black);
    margin: 0 0 0.4rem 0;
}
.team-preview-awards {
    margin-bottom: 0.5rem;
}
.team-preview-members {
    list-style: none;
    padding: 0;
    margin: 0.25rem 0 0 0;
    font-size: 0.85rem;
    color: var(--muted-text);
}
.team-preview-members li {
    padding: 0.1rem 0;
}
.team-preview-members li::before {
    content: "›";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.35rem;
}
.team-preview-cta {
    padding: 0.6rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    border-top: 1px solid #f0f0f0;
    transition: background 0.15s ease;
}
.team-preview-card:hover .team-preview-cta {
    background: var(--light-green);
}

/* Teams List — full-width stacked rows */
.teams-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.team-card-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    padding: 0;
}
.team-col-identity {
    width: 220px;
    flex-shrink: 0;
    padding: 1.5rem;
    border-right: 1px solid #e8e8e8;
}
.team-col-members {
    flex: 1;
    padding: 1.5rem;
    border-right: 1px solid #e8e8e8;
    min-width: 0;
}
.team-col-files {
    width: 260px;
    flex-shrink: 0;
    padding: 1.5rem;
    border-right: 1px solid #e8e8e8;
}
.team-col-plan {
    width: 260px;
    flex-shrink: 0;
    padding: 1.5rem;
}
.team-name {
    font-size: 1.15rem;
    margin: 0 0 0.25rem 0;
    color: var(--primary-color);
}
.team-goal {
    font-size: 0.8rem;
    color: var(--muted-text);
    line-height: 1.5;
    margin-top: 0.75rem;
    font-style: italic;
}
.team-theme-song {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.82rem;
    background: var(--light-gold);
    border-left: 3px solid var(--accent-gold);
    border-radius: 0 4px 4px 0;
    padding: 0.5rem 0.6rem;
}
.theme-song-player {
    width: 100%;
    height: 36px;
}
.theme-song-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.theme-song-label {
    font-weight: 700;
    color: var(--muted-text);
}
.theme-song-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}
.theme-song-link:hover {
    text-decoration: underline;
}
.theme-song-link i {
    font-size: 0.85rem;
}
.theme-song-artist {
    color: var(--muted-text);
    font-style: italic;
}
.research-question {
    font-size: 0.85rem;
    color: var(--muted-text);
    line-height: 1.5;
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: var(--light-green);
    border-left: 3px solid var(--primary-color);
    border-radius: 0 4px 4px 0;
}
.team-plan-dropdown {
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
}
.team-plan-dropdown > summary {
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--structural-black);
    background: var(--bg-color);
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    user-select: none;
}
.team-plan-dropdown > summary i {
    color: var(--primary-color);
    font-size: 0.75rem;
}
.team-plan-dropdown > summary::after {
    content: "▾";
    margin-left: auto;
    font-size: 0.7rem;
    color: #aaa;
    transition: transform 0.2s ease;
}
.team-plan-dropdown[open] > summary::after {
    transform: rotate(-180deg);
}
.team-milestones {
    margin: 0;
    padding: 0.6rem 0.75rem;
    list-style: none;
    font-size: 0.78rem;
    color: var(--muted-text);
    line-height: 1.6;
    background: var(--card-bg);
}
.milestone-item {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}
.milestone-label {
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--light-green);
    border: 1px solid var(--primary-color);
    border-radius: 3px;
    padding: 0.05rem 0.35rem;
    min-width: 2.2rem;
    text-align: center;
}
.milestone-label--complete {
    color: var(--primary-color);
    background: var(--light-green);
    border-color: var(--primary-color);
}
.milestone-label--working {
    color: #7a5c00;
    background: var(--light-gold);
    border-color: var(--accent-gold-dark);
}
.milestone-label--pending {
    color: #1a56b0;
    background: #e8f0fe;
    border-color: #4285f4;
}
.milestone-text {
    flex: 1;
}
.milestone-updated {
    font-size: 0.7rem;
    color: #888;
    margin: 0.4rem 0.75rem 0.2rem;
    font-style: italic;
}
.team-tech-list {
    margin: 0;
    padding: 0.6rem 0.75rem;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    background: var(--card-bg);
}
.tech-chip {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    background: var(--light-green);
    color: var(--primary-hover);
    border-radius: 12px;
    font-size: 0.73rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}
a.tech-chip:hover {
    background: var(--primary-color);
    color: #fff;
}
.team-permalink {
    font-size: 0.75rem;
    color: #111111;
    margin-left: 0.4rem;
    vertical-align: middle;
    text-decoration: none;
    transition: color 0.15s ease;
}
.team-permalink:hover {
    color: var(--primary-color);
}
.btn-secondary.github-link-btn,
.resource-link.github-link-btn {
    background-color: #111111;
    color: #ffffff;
    border-color: #111111;
}
.btn-secondary.github-link-btn:hover,
.resource-link.github-link-btn:hover {
    background-color: #333333;
    color: #ffffff;
    border-color: #333333;
}
.btn-secondary.github-link-btn i,
.resource-link.github-link-btn i {
    color: #ffffff;
}
.team-share-btn {
    font-size: 0.75rem;
    color: #111111;
    margin-left: 0.4rem;
    vertical-align: middle;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.15s ease;
    line-height: 1;
}
.team-share-btn:hover {
    color: var(--primary-color);
}
.team-col-heading {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    margin: 0 0 0.75rem 0;
    font-weight: 600;
}
.member-list-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.member-chip {
    flex: 1 1 180px;
    background: var(--bg-color);
    border-radius: 6px;
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    line-height: 1.4;
}
@media (max-width: 768px) {
    .team-card-row {
        flex-direction: column;
    }
    .team-col-identity,
    .team-col-members,
    .team-col-files,
    .team-col-plan {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
        padding: 1rem 1.25rem;
    }
    .team-col-files,
    .team-col-plan {
        border-bottom: none;
    }
}

/* Team Technology Usage — resources.html */
.team-tech-section {
    margin-bottom: 2rem;
}
.team-tech-section-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--light-green);
}
.team-tech-team-link {
    color: var(--primary-color);
    text-decoration: none;
}
.team-tech-team-link:hover {
    text-decoration: underline;
}
.team-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.75rem;
}
.tech-resource-card {
    background: var(--card-bg);
    border: 1px solid #e8e8e8;
    border-left: 3px solid var(--primary-color);
    border-radius: 6px;
    padding: 0.75rem 1rem;
}
.tech-resource-header {
    margin-bottom: 0.35rem;
}
.tech-resource-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--structural-black);
    text-decoration: none;
}
a.tech-resource-name:hover {
    color: var(--primary-color);
}
.tech-resource-desc {
    font-size: 0.78rem;
    color: var(--muted-text);
    line-height: 1.5;
    margin: 0;
}

/* Team Images */
.team-image-link {
    display: block;
    margin-top: 0.5rem;
    border-radius: 6px;
    overflow: hidden;
    line-height: 0;
}
.team-image {
    width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    transition: opacity 0.2s ease;
}
.team-image:hover {
    opacity: 0.88;
}

/* Resource Links */
.resource-link {
    display: block;
    margin-bottom: 0.5rem;
    text-align: left;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border: 1px solid rgba(17,17,17,0.12);
    background-color: var(--card-bg);
    color: var(--structural-black);
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.resource-link:hover {
    background-color: var(--light-gold);
    border-color: var(--accent-gold-dark);
}
.resource-link i {
    width: 20px;
    text-align: center;
    margin-right: 5px;
}

/* Schedule Block Layout */
.schedule-block {
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(17,17,17,0.07);
    margin-bottom: 2rem;
    overflow: hidden;
    border: 1px solid rgba(17,17,17,0.12);
}
.schedule-block.session-past {
    opacity: 0.72;
    border-color: rgba(17,17,17,0.07);
}
.schedule-block.session-past .schedule-header {
    background-color: #f0f0f0;
}
.schedule-theme-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.session-toggle-btn {
    background: none;
    border: 1px solid rgba(17,17,17,0.2);
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-text);
    transition: background 0.15s ease, color 0.15s ease;
    flex-shrink: 0;
}
.session-toggle-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}
.schedule-header {
    background-color: var(--light-gold);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--accent-gold);
}
.schedule-datetime {
    display: flex;
    flex-direction: column;
}
.schedule-datetime .date {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--accent-gold-dark);
}
.schedule-datetime .time {
    font-size: 0.9rem;
    color: var(--structural-black);
}
.schedule-theme {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.schedule-theme h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--structural-black);
}
.btn-zoom {
    background-color: var(--primary-color);
    color: var(--card-bg);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    transition: background-color 0.2s ease;
}
.btn-zoom:hover {
    background-color: var(--primary-hover);
}
.schedule-events {
    padding: 1.5rem;
}
.event-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed rgba(17,17,17,0.12);
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.event-item:hover {
    background-color: var(--light-green);
    transform: translateY(-1px);
}
.event-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.session-summary-dropdown {
    margin-top: 1rem;
    border-top: 1px solid #e8e8e8;
    padding-top: 0.75rem;
}
.session-summary-dropdown > summary {
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    user-select: none;
}
.session-summary-dropdown > summary::before {
    content: "▶";
    font-size: 0.65rem;
    transition: transform 0.2s ease;
}
.session-summary-dropdown[open] > summary::before {
    transform: rotate(90deg);
}
.session-summary-body {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--muted-text);
    line-height: 1.6;
    padding-left: 0.5rem;
}
.session-summary-body ul {
    padding-left: 1.25rem;
    margin: 0.5rem 0 0 0;
}
.session-summary-body li {
    margin-bottom: 0.4rem;
}
.event-name {
    margin-bottom: 0.5rem;
    color: var(--structural-black);
}
.event-type {
    font-size: 0.85rem;
    color: var(--muted-text);
    font-weight: normal;
}
.event-desc {
    font-size: 0.95rem;
    color: var(--structural-black);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.event-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.link-item {
    font-size: 0.85rem;
    text-decoration: none;
    color: var(--structural-black);
    background-color: var(--light-gold);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    transition: background-color 0.2s ease;
}
.link-item:hover {
    background-color: var(--accent-gold-dark);
    color: var(--card-bg);
}
.link-item i {
    margin-right: 4px;
}
button.copy-link-btn {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.alert {
    background-color: var(--danger-color);
    color: var(--card-bg);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    border: 1px solid var(--structural-black);
}

/* Resources Toolbar — search + jump nav */
.resources-toolbar {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0 2rem;
    padding: 1.25rem;
    background: var(--card-bg);
    border: 1px solid rgba(17,17,17,0.08);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(17,17,17,0.05);
}
.resources-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.resources-search-icon {
    position: absolute;
    left: 0.85rem;
    color: var(--muted-text);
    font-size: 0.9rem;
    pointer-events: none;
}
.resources-search-input {
    width: 100%;
    padding: 0.65rem 2.5rem 0.65rem 2.25rem;
    border: 1px solid rgba(17,17,17,0.15);
    border-radius: 6px;
    font-family: var(--font-family);
    font-size: 0.95rem;
    color: var(--structural-black);
    background: var(--bg-color);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.resources-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(24,165,88,0.12);
}
.resources-search-clear {
    position: absolute;
    right: 0.6rem;
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted-text);
    font-size: 0.85rem;
    padding: 0.25rem;
    border-radius: 50%;
    transition: color 0.2s ease, background 0.2s ease;
}
.resources-search-clear:hover {
    color: var(--structural-black);
    background: rgba(17,17,17,0.06);
}
.resources-jump-nav {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.resources-jump-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--muted-text);
    white-space: nowrap;
    padding-top: 0.3rem;
}
.resources-jump-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.resources-jump-link {
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--primary-color);
    background: var(--light-green);
    border: 1px solid rgba(24,165,88,0.25);
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}
.resources-jump-link:hover {
    background: var(--primary-color);
    color: var(--card-bg);
}
.resources-jump-category {
    background: var(--light-gold);
    color: var(--accent-gold-dark);
    border-color: rgba(199,152,0,0.25);
}
.resources-jump-category:hover {
    background: var(--accent-gold-dark);
    color: var(--card-bg);
}
.search-no-results {
    padding: 1rem;
    color: var(--muted-text);
    font-style: italic;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .resources-jump-nav { flex-direction: column; gap: 0.4rem; }
}

/* Resources Grid & Cards */
.resources-by-category {
    margin-top: 2rem;
}

.category-section {
    margin-bottom: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--card-bg);
}

.category-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s ease;
}

.category-toggle:hover {
    background-color: var(--bg-color);
}

.category-toggle.active {
    background-color: #f9f9f9;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    border-bottom: 3px solid var(--primary-color);
}

.category-header h2 {
    font-size: 1.25rem;
    color: var(--structural-black);
    margin: 0;
    flex-grow: 1;
}

.category-header i {
    font-size: 1.1rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    margin-left: 0.75rem;
}

.category-toggle.active .category-header i {
    transform: rotate(180deg);
}

.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.category-content.open {
    max-height: 10000px;
}

.category-resources-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

.resource-list-item {
    background-color: var(--card-bg);
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.resource-list-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(24, 165, 88, 0.15);
    transform: translateX(4px);
}

.resource-list-content {
    flex: 1;
    margin-right: 1.5rem;
}

.resource-list-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.resource-list-header i {
    font-size: 1.25rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.resource-title-link {
    text-decoration: none;
    color: inherit;
    flex-grow: 1;
}

.resource-title-link h3 {
    font-size: 1.1rem;
    color: var(--structural-black);
    margin: 0;
    font-weight: 600;
    transition: color 0.2s ease;
}

.resource-list-item:hover .resource-title-link h3 {
    color: var(--primary-color);
}

.resource-list-header h3 {
    font-size: 1.1rem;
    color: var(--structural-black);
    margin: 0;
    font-weight: 600;
}

.resource-list-description {
    color: var(--muted-text);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.resource-list-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.resource-list-link:hover {
    color: var(--primary-hover);
}

.resource-list-link i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.resource-list-item:hover .resource-list-link i {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .resource-list-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .resource-list-content {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .resource-list-link {
        width: 100%;
    }
    
    .category-header {
        padding: 1rem;
    }
    
    .category-header h2 {
        font-size: 1.1rem;
    }
}

/* Session Resources */
.session-resources {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2rem;
}

.session-block {
    background-color: var(--card-bg);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 6px rgba(17, 17, 17, 0.08);
}

.session-header {
    margin-bottom: 1.5rem;
}

.session-header h3 {
    font-size: 1.25rem;
    color: var(--structural-black);
    margin-bottom: 0.5rem;
}

.session-date {
    color: var(--muted-text);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.session-label {
    display: inline-block;
    background-color: var(--light-green);
    color: var(--structural-black);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.event-resources {
    margin-bottom: 1.25rem;
}

.event-resources:last-child {
    margin-bottom: 0;
}

.event-resources h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.resource-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.resource-link-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background-color: var(--bg-color);
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    text-decoration: none;
    color: var(--structural-black);
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.resource-link-item:hover {
    background-color: var(--light-green);
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.resource-link-item i:first-child {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.resource-link-item span {
    flex-grow: 1;
}

.resource-link-item i:last-child {
    font-size: 0.75rem !important;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.resource-link-item:hover i:last-child {
    opacity: 1;
}

/* Page layout with sidebar */
.page-layout {
    display: flex;
    align-items: flex-start;
}
.page-main {
    flex: 1;
    min-width: 0;
}
.page-sidebar-col {
    width: 260px;
    flex-shrink: 0;
    padding: 2rem 1rem;
    position: sticky;
    top: 73px;
    align-self: flex-start;
}

@media (max-width: 768px) {
    .page-layout { flex-direction: column; }
    .page-sidebar-col {
        width: 100%;
        position: static;
        padding: 1.5rem 5%;
    }
}

/* Sponsors Bar — logo-focused horizontal strip */
.sponsors-bar {
    background: var(--card-bg);
    border-top: 3px solid var(--primary-color);
    border-bottom: 1px solid rgba(17,17,17,0.07);
    padding: 2rem 5%;
}
.sponsors-bar-heading {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted-text);
    margin-bottom: 1.5rem;
}
.sponsors-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1.5rem;
}
.sponsor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}
.sponsor-card-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    border-radius: 10px;
    border: 1px solid transparent;
    text-decoration: none;
    min-width: 120px;
    min-height: 88px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.sponsor-card-link:hover {
    border-color: rgba(17,17,17,0.1);
    box-shadow: 0 6px 18px rgba(17,17,17,0.08);
    background: var(--bg-color);
}
.sponsor-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}
.sponsor-logo {
    height: 60px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.25s ease, transform 0.25s ease;
}
.sponsor-card-link:hover .sponsor-logo {
    filter: grayscale(0%);
    transform: scale(1.05);
}
.sponsor-name-fallback {
    display: none;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--structural-black);
    text-align: center;
    max-width: 140px;
    line-height: 1.3;
}
.sponsor-grants {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    justify-content: center;
}
.sponsor-grant-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--light-gold);
    border: 1px solid rgba(199,152,0,0.2);
    border-radius: 20px;
    padding: 0.15rem 0.55rem;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent-gold-dark);
    white-space: nowrap;
}
.grant-logo {
    height: 14px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .sponsors-logos { gap: 0.4rem 1rem; }
    .sponsor-card-link { min-width: 90px; min-height: 70px; padding: 0.6rem 0.85rem; }
    .sponsor-logo-wrap { height: 46px; }
    .sponsor-logo { height: 46px; max-width: 120px; }
}

/* Sponsors Sidebar */
.sponsors-sidebar {
    background: var(--card-bg);
    border: 1px solid rgba(17,17,17,0.08);
    border-radius: 8px;
    border-top: 3px solid var(--primary-color);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.sponsors-sidebar-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted-text);
    margin-bottom: 1rem;
}
.sponsors-sidebar-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.sponsors-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}
.sponsors-sidebar-logo {
    height: 36px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}
.sponsors-sidebar-link:hover .sponsors-sidebar-logo {
    opacity: 1;
}
.sponsors-sidebar-name {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--structural-black);
    line-height: 1.3;
}
.sponsors-sidebar-agencies {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-left: 1rem;
    border-left: 2px solid var(--light-gold);
}
.sponsors-sidebar-agency {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.sponsors-sidebar-agency-logo {
    height: 20px;
    width: auto;
    max-width: 40px;
    object-fit: contain;
    flex-shrink: 0;
}
.sponsors-sidebar-agency-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.sponsors-sidebar-agency-name {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--structural-black);
    line-height: 1.2;
}
.sponsors-sidebar-agency-meta {
    font-size: 0.65rem;
    color: var(--muted-text);
}
.sponsors-sidebar-divider {
    border: none;
    border-top: 1px solid rgba(17,17,17,0.08);
    margin: 0.85rem 0;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--structural-black);
    color: var(--card-bg);
    border-top: 4px solid var(--primary-color);
}

@media (max-width: 768px) {
    /* Navbar — hamburger menu */
    .site-title { font-size: 0.9rem; }
    .nav-toggle { display: flex; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--structural-black);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 5% 1.5rem;
        border-top: 2px solid var(--primary-color);
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }
    .nav-menu.open { display: flex; }
    .nav-links { flex-direction: column; gap: 0; width: 100%; }
    .nav-links li a {
        display: block;
        padding: 0.85rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        font-size: 1rem;
    }
    .nav-links li:last-child a { border-bottom: none; }
    .nav-register { margin-top: 1.25rem; text-align: center; display: block; }

    /* Hero */
    .hero { padding: 4rem 5%; min-height: 40vh; }
    .hero-content { padding: 2rem 1.5rem; border-radius: 12px; }
    .hero-tagline { font-size: 1rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary { width: 100%; text-align: center; }

    /* Typography */
    .container { padding: 2.5rem 5%; }
    .container h2 { font-size: 1.75rem; }
    .container h3 { font-size: 1.2rem; }

    /* About list */
    .about-list strong { width: auto; display: block; margin-bottom: 0.2rem; }

    /* Profile cards */
    .profile-card .bio { white-space: normal; }

    /* Schedule */
    .schedule-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .schedule-theme { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .btn-zoom { width: 100%; text-align: center; display: block; }
}

/* Past Events */
.past-event-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: var(--muted-text);
    padding: 1.5rem 1rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    gap: 0.4rem;
}
.past-event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    color: var(--muted-text);
}
.past-event-year {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}
.past-event-name {
    font-size: 0.9rem;
    font-weight: 600;
}
.past-event-link {
    font-size: 0.78rem;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

/* Free Student AI Resources */
.free-ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
.free-ai-card {
    background: var(--card-bg);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.free-ai-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}
.free-ai-card-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--structural-black);
    text-decoration: none;
}
.free-ai-card-title:hover {
    color: var(--primary-color);
}
.free-ai-badges {
    display: flex;
    gap: 0.3rem;
    flex-shrink: 0;
    align-items: center;
}
.free-ai-edu-badge,
.free-ai-api-badge {
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 3px;
    padding: 0.1rem 0.4rem;
    white-space: nowrap;
}
.free-ai-edu-badge {
    color: #fff;
    background: var(--primary-color);
}
.free-ai-api-badge--yes {
    color: #fff;
    background: #18A558;
}
.free-ai-api-badge--partial {
    color: #7a5c00;
    background: var(--light-gold);
    border: 1px solid var(--accent-gold-dark);
}
.free-ai-api-badge--no {
    color: #fff;
    background: var(--danger-color);
}
.free-ai-card-desc {
    font-size: 0.82rem;
    color: var(--muted-text);
    margin: 0;
    line-height: 1.5;
}
.free-ai-detail {
    font-size: 0.78rem;
    color: var(--muted-text);
    background: var(--bg-color);
    border-radius: 4px;
    padding: 0.4rem 0.6rem;
    line-height: 1.5;
}
.free-ai-label {
    font-weight: 700;
    color: var(--primary-color);
}
.free-ai-more {
    margin-top: 0.1rem;
}
.free-ai-more-summary {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    list-style: none;
    padding: 0.2rem 0;
}
.free-ai-more-summary::-webkit-details-marker { display: none; }
.free-ai-more[open] .free-ai-more-summary {
    margin-bottom: 0.4rem;
}
.free-ai-footer-note {
    font-size: 0.75rem;
    color: #999;
    font-style: italic;
    margin-top: 1rem;
}
