@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700&family=Montserrat:wght@700&display=swap');

:root {
    --bg-color: #0b1120;
    --card-bg: #1e293b;
    --text-main: #f8fafc;
    --text-sub: #94a3b8;
    --accent: #06b6d4;
    --accent-glow: rgba(6, 182, 212, 0.3);
    --filter-height: 42px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/*
  ========================================
  Header & Navigation
  ========================================
*/
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(11, 17, 32, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.menu-toggle {
    display: none !important;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo span {
    color: var(--accent);
}

nav ul {
    display: flex;
    gap: 20px;
}

nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-sub);
}

nav a:hover,
nav a.active {
    color: var(--accent);
}

/*
  ========================================
  Common Layouts & Components
  ========================================
*/
.container {
    max-width: 85%;
    margin: 0 auto;
    padding: 80px 0;
}

.page-header {
    height: 40vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    background-image: url('images/common/hero_bg.jpg');
}

.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(19, 24, 37, 0.079), var(--bg-color));
}

.page-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 50px;
    font-weight: bold;
    margin-top: 20px;
    font-size: 0.9rem;
    text-align: center;
}

.btn:hover {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 15px var(--accent-glow);
}

section {
    max-width: 100%;
    margin: 0 auto;
    padding: 100px 10%;
    position: relative;
}

.section-dark {
    background-color: var(--bg-color);
}

.section-light {
    background-color: #0f172a;
}

.section-head {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.2rem;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    display: inline-block;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin: 15px auto 0;
}

.section-subtitle {
    color: var(--text-sub);
    margin-top: 15px;
    font-size: 1rem;
}

/*
  ========================================
  Home Page
  ========================================
*/
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(11, 17, 32, 0.6), rgba(11, 17, 32, 0.9)),
        url('images/common/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 0 20px;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 1s forwards 0.5s;
}

.hero p {
    opacity: 0;
    animation: fadeUp 1s forwards 0.8s;
}

.hero .btn {
    opacity: 0;
    animation: fadeUp 1s forwards 1.1s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }

    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

.home-research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-sub);
    margin-bottom: 20px;
}

.activity-banner {
    display: flex;
    align-items: center;
    gap: 50px;
    background: linear-gradient(90deg, #1e293b 0%, rgba(30, 41, 59, 0.5) 100%);
    border-radius: 20px;
    padding: 50px;
    overflow: hidden;
    position: relative;
}

.ab-content {
    flex: 1;
    z-index: 2;
}

.ab-img {
    width: 800px;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.news-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.news-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    background-size: cover;
    background-position: center;
}

.news-body {
    padding: 20px;
}

.news-date {
    font-size: 0.8rem;
    color: var(--accent);
    display: block;
    margin-bottom: 5px;
}

.news-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.6;
}


/*
  ========================================
  Research Page (PC Layout)
  ========================================
*/
.research-section {
    max-width: 85%;
    margin: 0 auto;
    padding: 80px 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.research-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding: 25px;
    margin-bottom: 0;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.3s, border-color 0.3s, opacity 0.8s ease-out;
}

.research-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.research-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 旧レイアウトの反転配置を無効化 */
.research-item:nth-child(even) {
    flex-direction: column;
}

.research-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    display: block;
}

.research-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    display: block;
}

.research-img:hover img {
    transform: scale(1.05);
}

.research-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.research-cat {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
    font-size: 0.85rem;
}

.research-head {
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    line-height: 1.3;
}

.research-content .btn {
    margin-top: auto;
    align-self: flex-start;
}

.tech-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.tech-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/*
  ========================================
  News List Page
  ========================================
*/
.news-list-item {
    display: flex;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.news-list-item:hover {
    background: rgba(255, 255, 255, 0.02);
    padding-left: 15px;
    border-color: var(--accent);
}

.nl-date {
    min-width: 120px;
    color: var(--accent);
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

.nl-content {
    flex: 1;
}

.nl-cat {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    margin-right: 10px;
    font-weight: bold;
    vertical-align: middle;
    color: #0b1120;
    background: #cbd5e1;
}

.cat-paper {
    background-color: var(--accent);
}

.cat-award {
    background-color: #f59e0b;
}

.cat-event {
    background-color: #10b981;
}

.nl-title {
    font-weight: 500;
    font-size: 1.1rem;
    vertical-align: middle;
    color: #f8fafc;
    transition: 0.3s;
}

.news-list-item:hover .nl-title {
    color: var(--accent);
}

/*
  ========================================
  News Archive Page (Grid & Pagination)
  ========================================
*/

.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

/* --- アーカイブ用カード（トップページの .news-card と区別） --- */
.archive-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.archive-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* 画像エリア (16:9) */
.archive-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #334155;
}

.archive-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    display: block;
}

.archive-card:hover .archive-thumb img {
    transform: scale(1.05);
}

/* テキストエリア */
.archive-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
}

.archive-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

/* 日付 */
.archive-date {
    color: var(--text-sub);
    font-size: 0.85rem;
    font-family: 'Montserrat', sans-serif;
}

/* カテゴリラベル（既存の .nl-cat を再利用しつつ調整） */
.archive-cat {
    display: inline-block;
    padding: 3px 10px;
    background-color: #cbd5e1;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #0b1120;
}

/* 色定義（既存があればそれを使用、なければここで定義） */
.cat-paper {
    background-color: var(--accent) !important;
}

.cat-award {
    background-color: #f59e0b !important;
}

.cat-event {
    background-color: #10b981 !important;
}

.cat-other {
    background-color: #cbd5e1 !important;
}

/* タイトル */
.archive-title {
    margin-bottom: 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.5;
    color: #f8fafc;
}

/* --- ページネーション --- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    color: var(--text-sub);
    cursor: pointer;
    transition: 0.3s;
}

.page-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.page-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #0b1120;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: transparent;
}

@media (max-width: 768px) {
    .archive-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/*
  ========================================
  Achievements Page
  ========================================
*/
.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-bottom: 60px;
    padding: 0 20px;
}

.select-wrapper {
    position: relative;
    display: inline-block;
    height: var(--filter-height);
}

#year-filter {
    appearance: none;
    -webkit-appearance: none;
    background-color: #334155;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
    padding: 0 40px 0 15px;
    line-height: var(--filter-height);
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

#year-filter:hover {
    border-color: var(--accent);
    background-color: #475569;
}

#year-filter:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.3);
}

.select-wrapper::after {
    content: '▼';
    font-size: 0.7rem;
    color: var(--accent);
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.filter-btn {
    border: none;
    background: #94a3b8;
    color: #0f172a;
    height: var(--filter-height);
    min-width: 80px;
    padding: 0 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    vertical-align: middle;
}

.filter-btn:hover {
    opacity: 0.9;
    background: #cbd5e1;
}

.filter-btn.active {
    background: #475569;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.year-heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.achieve-list {
    list-style: none;
    padding: 0;
}

.achieve-item {
    margin-bottom: 25px;
    padding: 15px 0 15px 20px;
    border-left: 3px solid #334155;
    transition: 0.3s;
    position: relative;
}

.achieve-item:hover {
    border-left-color: var(--accent);
    background: rgba(255, 255, 255, 0.02);
}

.cat-label {
    display: inline-block;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0b1120;
    background: #cbd5e1;
}

.tag-paper {
    background: var(--accent);
    color: #0b1120;
}

.tag-intl {
    background: #a78bfa;
    color: #0b1120;
}

.tag-dom {
    background: #34d399;
    color: #0b1120;
}

.tag-award {
    background: #facc15;
    color: #0b1120;
}

.tag-other {
    background: #94a3b8;
    color: #0b1120;
}

.item-title {
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
    line-height: 1.4;
}

.item-meta {
    color: var(--text-sub);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 5px;
    line-height: 1.6;
}

.paper-link-group {
    margin-top: 8px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.paper-link {
    color: var(--accent);
    text-decoration: none;
    border: 1px solid var(--accent);
    padding: 2px 10px;
    border-radius: 4px;
    transition: 0.3s;
    font-weight: bold;
}

.paper-link:hover {
    background: var(--accent);
    color: #0b1120;
}

.doi-text {
    color: #64748b;
    font-family: monospace;
    font-size: 0.85rem;
}

.hide {
    display: none !important;
}

/*
  ========================================
  Members Page
  ========================================
*/
.group-title {
    margin-top: 60px;
    margin-bottom: 30px;
    padding-left: 15px;
    border-left: 4px solid var(--accent);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: #fff;
}

.sub-group-title {
    margin-top: 40px;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 3px solid rgba(6, 182, 212, 0.5);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    color: #e2e8f0;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 350px);
    justify-content: left;
    gap: 15px 15px;
}

.staff-card {
    display: flex;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.staff-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.staff-img {
    width: 120px;
    aspect-ratio: 3 / 4;
    height: auto;
    object-fit: cover;
    background: #334155;
}

.staff-info {
    padding: 25px;
    flex: 1;
}

.staff-role {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.staff-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 5px 0 10px;
}

.staff-desc {
    font-size: 0.9rem;
    color: var(--text-sub);
}

.student-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 180px);
    justify-content: left;
    gap: 15px 15px;
}

.student-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    padding: 20px 10px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.student-card:hover {
    background: var(--card-bg);
    border-color: var(--accent);
    transform: translateY(-5px);
}

.student-img {
    width: 120px;
    aspect-ratio: 3 / 4;
    height: auto;
    margin-bottom: 8px;
    background-color: #334155;
    border: 2px solid var(--accent);
    border-radius: 6px;
    object-fit: cover;
}

.student-grade {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: bold;
    display: block;
    background: rgba(6, 182, 212, 0.1);
    padding: 2px 10px;
    border-radius: 10px;
}

.student-name {
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.4;
}

/*
  ========================================
  Activities Page
  ========================================
*/
.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 80px;
}

.activity-item:nth-child(even) {
    flex-direction: row-reverse;
}

.act-img {
    flex: 1;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.act-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.act-content {
    flex: 1;
    padding-top: 10px;
}

.act-date {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--accent);
}

.act-title {
    margin-bottom: 20px;
    font-size: 1.8rem;
    line-height: 1.3;
}

.act-text {
    color: var(--text-sub);
    margin-bottom: 20px;
}

/*
  ========================================
  Footer
  ========================================
*/
footer {
    background: #020617;
    padding: 50px 10%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

footer p {
    color: var(--text-sub);
    font-size: 0.8rem;
}

/*
  ========================================
  Mobile / Responsive
  ========================================
  Note: Must be placed at the end of file
*/
@media (max-width: 768px) {

    header {
        justify-content: space-between !important;
        padding: 15px 25px !important;
    }

    /* 2. ボタンを表示（3本線の土台） */
    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: transparent;
        border: none;
        padding: 0;
        z-index: 1001;
    }

    /* 3本線の色と太さ */
    .menu-toggle span {
        width: 100%;
        height: 2px;
        background-color: var(--accent);
        transition: 0.3s;
    }

    /* 3. 右から出てくるメニュー本体 */
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 100px;
        background: rgba(11, 17, 32, 0.98);
        z-index: 1000;
        transition: 0.4s ease-in-out;
        backdrop-filter: blur(10px);
    }

    nav.open {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 5px;
        width: 100%;
        text-align: center;
        padding: 0;
        margin: 0;
    }

    nav a {
        font-size: 1.2rem;
        display: block;
        padding: 12px 0;
        width: 100%;
    }

    /* 4. アニメーション（三本線が×になる） */
    .menu-toggle.open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* --- Section Spacing --- */
    section,
    .container {
        max-width: 95%;
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 2rem;
        padding: 0 10px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 0.85rem !important;
        padding: 0 10px;
        margin-bottom: 20px !important;
    }

    /* --- Research Mobile Layout --- */

    .research-section {
        max-width: 95%;
        padding: 40px 20px;
        grid-template-columns: 1fr;
    }

    .research-item {
        flex-direction: column !important;
        margin-bottom: 0;
        padding-bottom: 25px;
    }

    .research-item:nth-child(even) {
        flex-direction: column !important;
        transform: none;
    }

    /* コンテンツの順序並べ替え (Cat > Title > Img > Desc) */
    .research-content {
        display: contents;
    }

    .research-cat {
        order: 1;
        font-size: 0.8rem;
        margin-bottom: 5px;
    }

    .research-head {
        order: 2;
        font-size: 1.5rem;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .research-img {
        order: 3;
        width: 100%;
        margin-bottom: 15px;
    }

    .research-content p {
        order: 4;
        margin-bottom: 10px !important;
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .tech-list {
        order: 5;
        margin-bottom: 10px;
    }

    .research-content .btn {
        order: 6;
        align-self: flex-start;
        width: fit-content;
        margin-top: 0;
    }

    /* --- Activities Mobile --- */
    .activity-banner {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .ab-img {
        width: 100%;
        height: 180px;
    }

    .activity-item,
    .activity-item:nth-child(even) {
        flex-direction: column;
    }

    /* --- News Mobile --- */
    .news-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .nl-date {
        font-size: 0.85rem;
        opacity: 0.8;
    }

    /* --- Members Mobile --- */
    .student-grid {
        display: block;
    }

    .student-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 15px;
        max-width: 100%;
        margin: 0;
        padding: 12px 10px;
        background: transparent;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0;
    }

    .student-img {
        display: none;
    }

    .student-grade {
        flex-shrink: 0;
        min-width: 45px;
        text-align: center;
    }

    .student-card:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.05);
    }

    /* --- Achievements Filter Mobile --- */
    .filter-container {
        gap: 8px;
        padding: 0 10px;
    }

    .select-wrapper {
        width: 100%;
        margin-bottom: 5px;
        order: -1;
    }

    #year-filter {
        width: 100%;
        padding: 0;
        text-align: center;
    }

    .select-wrapper::after {
        right: 20px;
    }

    .filter-btn {
        flex: 1 1 30%;
        max-width: 48%;
        min-width: auto;
        padding: 0 10px;
        font-size: 0.8rem;
    }

    .filter-btn[data-cat="all"] {
        flex: 0 0 auto;
        min-width: 60px;
    }
}