/* Globals */
:root {
    --transition-fast: 0.3s ease;
    --transition-slow: 0.8s ease;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.2);
    --border-dim: 1px solid rgba(255, 255, 255, 0.2);
    --color-muted: #999;
    --color-hover-bg: rgba(255, 255, 255, 0.1);
    --green: #4CAF50;
    --orange: #FF9800;
    --red: #F44336; 
}

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

body {
    font-family: Consolas, 'Courier New', monospace;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

h1, h2 { font-size: 48px; margin-bottom: 15px; }
h3 { font-size: 32px; margin-bottom: 20px; }
h4 { font-size: 24px; margin-bottom: 15px; }

p { font-size: 20px; line-height: 1.8; color: #ccc; margin-bottom: 30px; }
p strong { display: inline-block; font-weight: 700; font-size: 22px; color: #fff; margin-bottom: 6px; }

a { color: #5865F2; text-decoration: none; transition: all var(--transition-fast); }
a:hover { text-decoration: underline; }

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-container { margin-bottom: 30px; transition: all var(--transition-fast); }
.logo { width: 400px; height: auto; transition: all var(--transition-fast); }
.hero-section.scrolled .logo { width: 200px; }

.dashboard-preview {
    max-width: 1200px;
    width: 90%;
    padding: 30px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-slow);
}
.dashboard-preview.visible { opacity: 1; transform: translateY(0); }
.dashboard-preview h2 { font-size: 28px; margin-bottom: 10px; }
.dashboard-preview p { font-size: 16px; line-height: 1.6; }

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Dashboard */
.dashboard-section { min-height: 100vh; }
body:not(:has(.hero-section)) .dashboard-section { padding-top: 80px; }

.dashboard-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-100%);
    transition: all var(--transition-fast);
}
.dashboard-header.visible,
body:not(:has(.hero-section)) .dashboard-header { opacity: 1; transform: translateY(0); }

.logo-small { height: 50px; flex-shrink: 0; text-decoration: none; }
.logo-small img { height: 100%; width: auto; }
.site-title { font-size: 18px; font-weight: bold; white-space: nowrap; margin-right: auto; text-decoration: none; }
.dashboard-content { max-width: 1200px; margin: 0 auto; padding: 60px 20px; }

/* Nav */
.nav-links { display: flex; align-items: center; }
.nav-item { position: relative; }
.nav-item > a { display: block; padding: 20px; font-size: 14px; color: #fff; text-decoration: none; transition: all var(--transition-fast); }
.nav-item > a:hover { background-color: var(--color-hover-bg); }

.dropdown {
    position: absolute;
    top: 100%; left: 0;
    min-width: 200px;
    background-color: rgba(0, 0, 0, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: 1001;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 12px 20px; font-size: 13px; color: #ccc; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.05); transition: all var(--transition-fast); }
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background-color: var(--color-hover-bg); color: #fff; padding-left: 25px; }

/* Content */
.content-section {
    margin-bottom: 2vh;
    padding: 50px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.content-section > img,
.content-section > p > img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 4px;
    border: var(--border-dim);
}
body:not(:has(.hero-section)) .content-section:first-child,
.content-section.visible { opacity: 1; transform: translateY(0); }
.content-section.fade-out { opacity: 0; transform: translateY(-50px); }

.boxed-section { border: 1px dotted rgba(255, 255, 255, 0.2); padding: 60px 40px; max-width: 1200px; margin: 0 auto; }

.link { font-weight: bold; }
.highlight { color: var(--green); font-weight: bold; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 25px; }
.grid--resources { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 4px;
    padding: 25px;
    color: #fff;
    transition: all var(--transition-fast);
}
.card:hover { background-color: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); transform: translateY(-5px); }
a.card { text-decoration: none; }
a.card:hover { text-decoration: none; }

/* Other card shit */
.card--meeting   { display: flex; flex-direction: column; height: 300px; }
.card--challenge { display: flex; flex-direction: column; min-height: 200px; }
.card--year      { display: flex; align-items: center; justify-content: center; text-align: center; }
.card--year h4   { font-size: 24px; margin: 0; color: var(--green); }
.card--year:hover, .card--resource:hover { border-color: var(--green); }
.card--resource  { display: flex; align-items: center; gap: 20px; }
.card--officer   { text-align: center; width: calc(25% - 23px); min-width: 180px; flex-shrink: 0; padding: 20px; }
/* committee hover only needs the delta from base .card:hover */
.card--committee { border-radius: 8px; padding: 30px; margin-bottom: 30px; }
.card--committee:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); }
.card--info      { margin-bottom: 20px; }

/* Idk i cant remove these without breaking it so i give up */
.officers-group { margin-bottom: 50px; }
.officers-group:last-child { margin-bottom: 0; }
.officers-grid { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; }
.role-title { font-size: 24px; color: var(--green); margin-bottom: 25px; font-weight: bold; }
.officer-image { width: 100%; aspect-ratio: 1; overflow: hidden; margin-bottom: 10px; border: 2px solid var(--card-border); }
.officer-image img { width: 100%; height: 100%; object-fit: cover; }
.officer-info h3 { font-size: clamp(12px, 2vw, 16px); margin-bottom: 5px; }
.officer-info p { margin: 0; font-size: 14px; color: var(--color-muted); }

/* Calendar*/
.calendar-container { margin-bottom: 10px; }
.calendar-container iframe { display: block; border-radius: 4px; }
.calendar-note { text-align: center; font-size: 16px; margin-top: 10px; }

/* Challenges */
.challenges-category { margin-bottom: 60px; }
.category-title { font-size: 32px; margin-bottom: 30px; color: var(--green); border-bottom: 2px solid rgba(255, 255, 255, 0.1); padding-bottom: 15px; }
.challenge-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; margin-bottom: 15px; }
.challenge-card-header h4 { font-size: 22px; margin: 0; flex: 1; }
.challenge-card-description { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; line-clamp: 3; overflow: hidden; }
.challenge-card-meta { margin-top: auto; padding-top: 15px; border-top: 1px solid var(--card-border); }
.meta-item { display: inline-block; }

.challengedisplay { padding: 8px 16px; border-radius: 6px; text-transform: uppercase; font-weight: 700; font-size: 12px; letter-spacing: 0.5px; white-space: nowrap; border: 2px solid; }
.challengedisplay-source   { background: rgba(255,255,255,0.15); color: #e0e0e0; border-color: #9e9e9e; box-shadow: 0 0 20px rgba(255,255,255,0.2); }
.challengedisplay-easy     { background: rgba(76,175,80,0.15);   color: #4CAF50; border-color: #4CAF50; box-shadow: 0 0 20px rgba(76,175,80,0.2); }
.challengedisplay-medium   { background: rgba(255,152,0,0.15);   color: #FF9800; border-color: #FF9800; box-shadow: 0 0 20px rgba(255,152,0,0.2); }
.challengedisplay-hard     { background: rgba(244,67,54,0.15);   color: #F44336; border-color: #F44336; box-shadow: 0 0 20px rgba(244,67,54,0.2); }
.challengedisplay-category { background: rgba(33,150,243,0.15);  color: #2196F3; border-color: #2196F3; box-shadow: 0 0 20px rgba(33,150,243,0.2); }

.challenge-container { max-width: 900px; margin: 0 auto; padding: 40px 20px; }
.challenge-container h2 { font-size: 42px; margin-bottom: 20px; font-weight: 700; background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.challenge-meta { display: flex; gap: 15px; margin-bottom: 30px; align-items: center; }
.challenge-description { font-size: 18px; line-height: 1.8; margin-bottom: 40px; color: #fff; padding: 25px; background: rgba(255,255,255,0.03); border-left: 4px solid #4CAF50; border-radius: 6px; }
.challenge-note { font-size: 14px; color: var(--color-muted); margin-top: 15px; font-style: italic; }
.challenge-files, .challenge-controls { margin: 40px 0; text-align: center; }
.challenge-static-info { margin: 30px 0; padding: 20px; background-color: rgba(76,175,80,0.1); border: 1px solid rgba(76,175,80,0.3); border-radius: 4px; }
.challenge-info-box h3 { font-size: 20px; margin-bottom: 20px; color: var(--green); }

.info-row { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 16px; }
.info-row:last-child { border-bottom: none; }
.info-row span:first-child { color: var(--color-muted); font-weight: 600; }
.info-row span:last-child, .info-row a, .info-link { color: var(--green); font-family: 'Courier New', monospace; font-weight: 700; }
.info-row a, .info-link { text-decoration: none; transition: all var(--transition-fast); }
.info-row a:hover, .info-link:hover { color: #45a049; text-decoration: underline; }

.loading-spinner { width: 50px; height: 50px; border: 4px solid rgba(76,175,80,0.1); border-top: 4px solid #4CAF50; border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 20px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Markdown */
.codehilite { background: rgba(76,175,80,0.08); border: 1px solid rgba(76,175,80,0.4); border-left: 4px solid #4CAF50; border-radius: 6px; padding: 20px; overflow-x: auto; margin: 20px 0; box-shadow: 0 0 20px rgba(76,175,80,0.1); }
.codehilite pre { margin: 0; background: none; border: none; padding: 0; }

/* Mobile */
.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; margin-left: auto; }
.mobile-menu-toggle span { width: 25px; height: 3px; background-color: #fff; transition: all var(--transition-fast); }
.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* Meeting */
.meeting-header { margin-bottom: 10px; flex-shrink: 0; }
.meeting-header h4 { font-size: 22px; margin: 0; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3; max-height: 2.6em; word-break: break-word; }
.meeting-date { font-size: 14px; color: var(--color-muted); margin-bottom: 15px; flex-shrink: 0; }
.meeting-description { font-size: 15px; line-height: 1.6; color: #ccc; margin-bottom: 20px; flex: 1; }
.meeting-description p { margin: 0; font-size: 15px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 5; line-clamp: 3; -webkit-box-orient: vertical; text-overflow: ellipsis; word-break: break-word; }
.meeting-links { display: flex; flex-direction: column; gap: 8px; padding-top: 15px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px; flex-shrink: 0; }
.meeting-link { color: var(--green); text-decoration: none; transition: color var(--transition-fast); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card--meeting:hover .meeting-link { color: #fff; }

.video-container, .meeting-resources { margin: 40px 0; }
.video-container h3, .meeting-resources h3 { font-size: 24px; margin-bottom: 20px; }
.video-container iframe { border-radius: 4px; border: var(--border-dim); }
.resource-icon { font-size: 48px; flex-shrink: 0; }
.resource-text h4 { font-size: 18px; margin: 0 0 5px 0; color: var(--green); }
.resource-text p { font-size: 14px; margin: 0; color: var(--color-muted); }

/* Committees */
.committee-header { margin-bottom: 15px; }
.committee-title { font-size: 1.8em; color: #fff; margin: 0 0 10px 0; }
.committee-description { color: rgba(255, 255, 255, 0.7); font-size: 1.1em; margin-bottom: 25px; line-height: 1.6; }
.committee-members { display: flex; flex-wrap: wrap; gap: 20px; }
.committee-member { display: flex; align-items: center; gap: 12px; padding: 10px; background: rgba(255, 255, 255, 0.02); border-radius: 6px; transition: background var(--transition-fast); }
.committee-member:hover { background: rgba(255, 255, 255, 0.05); }
.member-avatar, .officer-image { border: 2px solid var(--card-border); }
.member-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.member-info { display: flex; flex-direction: column; gap: 4px; }
.member-name { font-weight: 600; color: #fff; font-size: 0.95em; }
.member-role { font-size: 0.85em; color: rgba(255, 255, 255, 0.6); text-transform: uppercase; letter-spacing: 0.5px; }

.challenge-hints { margin: 50px 0; }
.hint-block, .faq-block { margin-bottom: 15px; background: rgba(255, 255, 255, 0.02); border-radius: 10px; overflow: hidden; transition: all var(--transition-fast); }
.hint-block { border: 1px solid rgba(255, 152, 0, 0.2); }
.hint-block:hover { border-color: rgba(255, 152, 0, 0.4); box-shadow: 0 4px 20px rgba(255, 152, 0, 0.15); }

.dropdown-toggle { width: 100%; padding: 18px 25px; font-size: 16px; font-weight: 700; border: none; cursor: pointer; font-family: inherit; text-align: left; display: flex; justify-content: space-between; align-items: center; text-transform: uppercase; letter-spacing: 0.5px; transition: all var(--transition-fast); }
.dropdown-toggle::after { content: '▼'; font-size: 12px; transition: transform var(--transition-fast); }
.dropdown-toggle.active::after { transform: rotate(180deg); }

.hint-block .dropdown-toggle { background: linear-gradient(135deg, rgba(255,152,0,0.15) 0%, rgba(255,152,0,0.05) 100%); color: #FF9800; }
.hint-block .dropdown-toggle:hover { background: linear-gradient(135deg, rgba(255,152,0,0.25) 0%, rgba(255,152,0,0.15) 100%); color: #FFB74D; }

.dropdown-content { max-height: 0; overflow: hidden; padding: 0 1rem; transition: max-height 0.3s ease, padding 0.3s ease; }
.dropdown-content.active { max-height: 500px; padding: 0.5rem 1rem; }
.dropdown-content p { margin: 0; font-size: 16px; line-height: 1.8; color: #e0e0e0; }

.faq-block .dropdown-toggle { background: linear-gradient(135deg, rgba(33,150,243,0.15) 0%, rgba(33,150,243,0.05) 100%); color: #2196F3; font-weight: 600; text-transform: none; border-radius: 8px; }
.faq-block .dropdown-toggle:hover { background: linear-gradient(135deg, rgba(33,150,243,0.25) 0%, rgba(33,150,243,0.15) 100%); color: #64B5F6; }
.faq-block .dropdown-content { background: rgba(33,150,243,0.03); border-top: 1px solid rgba(33,150,243,0.2); border-radius: 0 0 8px 8px; padding: 0 20px; transition-duration: 0.4s; }
.faq-block .dropdown-content.active { padding: 0.5rem 20px; box-shadow: 0 4px 20px rgba(33,150,243,0.25); }
.faq-block .dropdown-content p { margin: 0 0 12px 0; line-height: 1.7; }
.faq-block .dropdown-content p:last-child { margin-bottom: 0; }
.faq-block .dropdown-content code { background: rgba(33,150,243,0.15); padding: 2px 8px; border-radius: 4px; font-family: 'Courier New', monospace; color: #2196F3; font-size: 14px; }
.faq-block .dropdown-content strong { font-weight: 700; color: #fff; }
.faq-block .dropdown-content em { color: #bbb; font-style: italic; }

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    border-radius: 8px;
    border: 2px solid;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-fast);
    background: linear-gradient(135deg, rgba(76,175,80,0.2) 0%, rgba(76,175,80,0.1) 100%);
    color: var(--green);
    border-color: var(--green);
    box-shadow: 0 4px 15px rgba(76,175,80,0.2);
}
.button:hover:not(:disabled) { transform: translateY(-3px); background: linear-gradient(135deg, rgba(76,175,80,0.3) 0%, rgba(76,175,80,0.2) 100%); box-shadow: 0 6px 25px rgba(76,175,80,0.4); text-decoration: none; }
.button:disabled { opacity: 0.5; cursor: not-allowed; }
.button-secondary { background: linear-gradient(135deg, rgba(33,150,243,0.2) 0%, rgba(33,150,243,0.1) 100%); color: #2196F3; border-color: #2196F3; box-shadow: 0 4px 15px rgba(33,150,243,0.2); }
.button-secondary:hover:not(:disabled) { background: linear-gradient(135deg, rgba(33,150,243,0.3) 0%, rgba(33,150,243,0.2) 100%); box-shadow: 0 6px 25px rgba(33,150,243,0.4); }
.button-danger { background: linear-gradient(135deg, rgba(244,67,54,0.2) 0%, rgba(244,67,54,0.1) 100%); color: var(--red); border-color: var(--red); box-shadow: 0 4px 15px rgba(244,67,54,0.2); }
.button-danger:hover:not(:disabled) { background: linear-gradient(135deg, rgba(244,67,54,0.3) 0%, rgba(244,67,54,0.2) 100%); box-shadow: 0 6px 25px rgba(244,67,54,0.4); }
.button-sm { padding: 8px 20px; font-size: 12px; letter-spacing: 0.5px; }
.button-lg { padding: 20px 60px; font-size: 18px; }
.button-full { width: 100%; }

/* Image List */
.imagelist { position: relative; width: 100%; max-width: 800px; margin: 30px auto 0; user-select: none; outline: none; }
.imagelist-track { overflow: hidden; border-radius: 4px; border: 1px solid var(--card-border); cursor: pointer; }
.imagelist-slides { display: flex; transition: transform 0.5s ease; }
.imagelist-slides img { width: 100%; flex-shrink: 0; display: block; border-radius: 4px; margin: 0 !important; border: none !important; max-height: 500px; object-fit: cover; object-position: center; }
.imagelist-btn { display: none; }
.imagelist-caption { text-align: center; padding: 10px 20px; font-size: 14px; color: var(--color-muted); background: var(--card-bg); border: 1px solid var(--card-border); border-top: none; border-radius: 0 0 4px 4px; min-height: 38px; transition: opacity var(--transition-fast); }
.imagelist-dots { text-align: center; padding: 12px 0 0; }
.imagelist-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin: 0 5px; cursor: pointer; background: rgba(255,255,255,0.2); border: 1px solid var(--card-border); transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast); }
.imagelist-dot.active { background: var(--green); border-color: var(--green); box-shadow: 0 0 8px rgba(76,175,80,0.5); transform: scale(1.3); }

/* Flag Submission */
.flag-submission { margin: 40px 0; }
.flag-input-row { display: flex; gap: 12px; }
.flag-input { flex: 1; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 8px; padding: 16px; color: #fff; font-family: 'Courier New', monospace; font-size: 14px; transition: border-color var(--transition-fast); }
.flag-input:focus { outline: none; border-color: var(--green); }
.flag-result { padding: 14px 20px; border-radius: 8px; margin-bottom: 12px; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.flag-correct   { background: rgba(76,175,80,0.15); border: 1px solid var(--green); color: var(--green); }
.flag-incorrect { background: rgba(244,67,54,0.15); border: 1px solid var(--red);   color: var(--red); }

/* Responsive */
@media (max-width: 1024px) {
    .dashboard-header { flex-wrap: wrap; padding: 15px 20px; }
    .mobile-menu-toggle { display: flex; }
    .nav-links { display: none; width: 100%; flex-direction: column; background-color: rgba(0,0,0,0.98); border-top: 1px solid rgba(255,255,255,0.1); margin-top: 15px; max-height: calc(100vh - 80px); overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; }
    .nav-links.active { display: flex; }
    .nav-links::-webkit-scrollbar { width: 6px; }
    .nav-links::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
    .nav-links::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 3px; }
    .nav-links::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.3); }
    .nav-item { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .nav-item > a { padding: 15px 20px; font-size: 16px; }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; background-color: rgba(255,255,255,0.02); border: none; border-top: 1px solid rgba(255,255,255,0.05); max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
    .nav-item.active .dropdown { max-height: 300px; }
    .dropdown a { padding: 12px 40px; font-size: 14px; }
    .dropdown a:hover { padding-left: 45px; }
}

@media (max-width: 768px) {
    .logo { width: 300px; }
    .logo-small img { height: 40px; }
    .site-title { font-size: 14px; }
    .content-section { padding: 40px 20px; margin-bottom: 10vh; }
    .content-section h2 { font-size: 32px; }
    .content-section p { font-size: 16px; }
    .boxed-section { padding: 40px 20px; }
    .category-title { font-size: 28px; }
    .challenge-meta { flex-direction: column; flex-wrap: wrap; }  /* deduplicated */
    .challenge-container { padding: 30px 15px; }
    .challenge-container h2 { font-size: 32px; }
    .challenge-description { font-size: 16px; padding: 20px; }
    .button, .button-secondary { width: 100%; padding: 14px 30px; font-size: 14px; }
    .info-row { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 0; }
    .dropdown-toggle { padding: 15px 20px; font-size: 14px; }
    .dropdown-content.active { padding: 20px; }
    .dropdown-content p { font-size: 15px; }
    .card--meeting { height: auto; min-height: 250px; }
    .meeting-description p { -webkit-line-clamp: 4; line-clamp: 4; }
    .video-container iframe { height: 300px; }
    .grid--resources { grid-template-columns: 1fr; }
    .committee-members { flex-direction: column; }
    .committee-member { width: 100%; }
    .card--committee { padding: 20px; }
    .imagelist-slides img { max-height: 300px; }
}

@media (max-width: 480px) {
    .logo { width: 250px; }
    .logo-small img { height: 35px; }
    .site-title { font-size: 12px; }
    .dashboard-header { padding: 12px 15px; }
    .content-section h2 { font-size: 24px; }
    .content-section p { font-size: 14px; }
}