/* =========================
   Global
========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-size: 17px;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    background:
        linear-gradient(180deg, rgba(6, 18, 34, 0.90) 0%, rgba(7, 38, 54, 0.66) 44%, rgba(8, 67, 61, 0.82) 100%),
        url('figures/honolulu.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: #1d2a32;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 12% 18%, rgba(255,255,255,0.72) 0 1px, transparent 1.5px),
        radial-gradient(circle at 74% 12%, rgba(255,255,255,0.58) 0 1px, transparent 1.5px),
        radial-gradient(circle at 92% 36%, rgba(255,255,255,0.52) 0 1px, transparent 1.5px),
        radial-gradient(circle at 28% 62%, rgba(255,255,255,0.42) 0 1px, transparent 1.5px);
    background-size: 360px 260px, 420px 320px, 520px 380px, 460px 340px;
    opacity: 0.55;
    z-index: -1;
}

header {
    background: rgba(6, 21, 31, 0.84);
    color: white;
    text-align: center;
    padding: 0.9em 4vw 1.05em;
    border-bottom: 1px solid rgba(137, 221, 205, 0.28);
    backdrop-filter: blur(14px);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

header h1 {
    margin: 0;
    font-size: clamp(1.25rem, 2.4vw, 1.9rem);
    font-weight: 680;
    letter-spacing: 0;
}

header .logo {
    width: 64px;
    margin-bottom: 0;
}

/* Nav */
nav ul {
    list-style: none;
    padding: 0;
    margin: 14px 0 0 0;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

nav ul li a {
    display: inline-block;
    padding: 9px 15px;
    background-color: rgba(255,255,255,0.08);
    color: white;
    text-decoration: none;
    font-weight: 650;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.16);
    transition: all 0.25s ease;
    font-size: 0.95em;
}

nav ul li a.active {
    background-color: rgba(59, 212, 184, 0.20);
    border-color: rgba(59, 212, 184, 0.54);
}

nav ul li a:hover {
    background-color: rgba(255,255,255,0.16);
    transform: translateY(-2px);
}

/* Main */
main {
    margin: 28px auto 38px;
    width: min(1120px, 90%);
    background-color: rgba(250, 253, 252, 0.94);
    padding: clamp(22px, 3vw, 34px);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.44);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(8px);
}

section {
    margin-bottom: 2.0em;
}

section h2 {
    font-size: clamp(1.35em, 2.4vw, 1.9em);
    color: #072b35;
    border-bottom: 1px solid rgba(8, 91, 91, 0.22);
    padding-bottom: 0.45em;
    margin: 0 0 0.65em;
}

footer {
    text-align: center;
    padding: 1em 0;
    background-color: rgba(6, 21, 31, 0.88);
    color: white;
    border-top: 1px solid rgba(137, 221, 205, 0.22);
}

ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    margin-bottom: 0.5em;
}

a {
    color: #006b66;
    text-decoration: none;
    font-weight: 700;
}

a:hover {
    text-decoration: underline;
}

/* =========================
   Carousel
========================= */
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 2.0em;
}

.carousel-img {
    display: none;
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    object-position: 50% 30%;
    border-radius: 10px;
}

.carousel-img.active {
    display: block;
}

.arrow-left, .arrow-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.55);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1000;
    border-radius: 10px;
}

.arrow-left { left: 10px; }
.arrow-right { right: 10px; }

.arrow-left:hover, .arrow-right:hover {
    background-color: rgba(0, 0, 0, 0.82);
}

/* =========================
   Top page
========================= */
.hero {
    width: min(1180px, 92%);
    min-height: 470px;
    margin: 30px auto 0;
    padding: clamp(24px, 4vw, 42px);
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.72fr);
    gap: clamp(22px, 4vw, 48px);
    align-items: center;
    color: white;
    background:
        linear-gradient(110deg, rgba(3, 15, 27, 0.92), rgba(5, 43, 55, 0.76) 54%, rgba(4, 83, 79, 0.58)),
        url('figures/honolulu.jpg');
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 8px;
    box-shadow: 0 26px 80px rgba(0,0,0,0.30);
}

.hero-copy h2 {
    margin: 0;
    max-width: 820px;
    font-size: clamp(2.35rem, 5.5vw, 4.45rem);
    line-height: 0.98;
    letter-spacing: 0;
    color: white;
    border: 0;
    padding: 0;
}

.hero-copy p {
    max-width: 680px;
    color: rgba(243, 251, 249, 0.90);
    font-size: 1.05em;
}

.eyebrow,
.section-kicker {
    margin: 0 0 8px;
    color: #00a99d;
    font-size: 0.76em;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #f5cf5a;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.hero-actions a {
    color: white;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(0, 169, 157, 0.24);
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.hero-actions a + a {
    background: rgba(255,255,255,0.12);
}

.hero-media {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.28);
    box-shadow: 0 28px 80px rgba(0,0,0,0.36);
    max-width: 460px;
    justify-self: end;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(0, 169, 157, 0.32), transparent 40%),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.14) 0 1px, transparent 1px 26px);
    mix-blend-mode: screen;
    opacity: 0.45;
}

.hero-media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 26px;
    align-items: center;
}

.hero-research-area {
    margin-top: 14px;
}

.hero-research-area img {
    display: block;
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    background: white;
    border: 1px solid rgba(255,255,255,0.24);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(0,0,0,0.28);
}

#intro .about-content {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 18px;
}

#intro .about-photo {
    width: 190px;
    height: 260px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.20);
}

#intro .about-photo-tall {
    object-fit: contain;
    object-position: center;
    background: rgba(6, 21, 31, 0.08);
}

#intro .about-text { flex: 1; }

#intro p {
    margin: 0;
    line-height: 1.65;
    font-size: 1em;
}

#lab-overview ul li {
    color: #12333a;
    font-weight: bold;
}

.signal-panel {
    display: grid;
    gap: 10px;
    padding: 16px;
    color: white;
    background:
        linear-gradient(135deg, rgba(5, 47, 70, 0.94), rgba(0, 112, 107, 0.88)),
        url('figures/belle2.jpeg');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(0,0,0,0.22);
}

.signal-panel span {
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,0.20);
    background: rgba(255,255,255,0.10);
    border-radius: 6px;
    font-weight: 800;
}

.feature-section {
    padding-top: 6px;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 20px 0;
}

.focus-grid li {
    padding: 16px;
    min-height: 110px;
    background: linear-gradient(180deg, #ffffff, #eef8f7);
    border: 1px solid rgba(8, 91, 91, 0.14);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(10, 45, 55, 0.10);
}

.focus-grid strong,
.focus-grid span {
    display: block;
}

.focus-grid span {
    margin-top: 8px;
    color: #48626a;
    font-size: 0.92em;
}

/* =========================
   News section
========================= */

.news-list{
    margin-top: 16px;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.news-list li{
    margin-bottom: 0;
    padding: 16px 16px 15px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(240,250,249,0.96));
    border: 1px solid rgba(8, 91, 91, 0.13);
    border-left: 5px solid #00a99d;
    border-radius: 8px;
    list-style: none;
    box-shadow: 0 14px 32px rgba(10, 45, 55, 0.10);
}

.news-list li:first-child {
    grid-column: 1 / -1;
    background:
        linear-gradient(100deg, rgba(6, 38, 54, 0.95), rgba(0, 112, 107, 0.86)),
        url('figures/topbs.png');
    background-size: cover;
    background-position: center;
    color: white;
    border-left-color: #f5cf5a;
}

.news-list li:first-child .news-date,
.news-list li:first-child a {
    color: #f5cf5a;
}

.news-date{
    display: block;
    font-weight: bold;
    color: #006b66;
    margin: 0 0 6px;
}

/* =========================
   Research page
========================= */
.research-lede {
    max-width: 820px;
    margin: 0 0 22px;
    color: #405962;
    font-size: 1.03em;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.research-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 360px;
    padding: 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(239,249,248,0.96));
    border: 1px solid rgba(8, 91, 91, 0.14);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(10, 45, 55, 0.10);
}

.research-card-feature {
    grid-column: 1 / -1;
    min-height: 260px;
    color: white;
    background:
        linear-gradient(110deg, rgba(5, 23, 38, 0.94), rgba(0, 112, 107, 0.78)),
        url('figures/collimator.jpeg');
    background-size: cover;
    background-position: center;
    border-color: rgba(255,255,255,0.18);
}

.research-card-image {
    width: 100%;
    height: 165px;
    object-fit: cover;
    object-position: center;
    border-radius: 6px;
    margin-bottom: 15px;
    border: 1px solid rgba(8, 91, 91, 0.12);
    background: #eef5f4;
}

.research-card-feature .research-card-image {
    height: 210px;
    object-fit: contain;
    background: rgba(0,0,0,0.42);
    border-color: rgba(255,255,255,0.18);
}

.research-card-image-pair {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 12px;
    margin-bottom: 15px;
}

.research-card-image-pair .research-card-image {
    margin-bottom: 0;
}

.research-card h3 {
    margin: 4px 0 10px;
    color: #092d37;
    font-size: 1.32em;
    line-height: 1.18;
}

.research-card p {
    margin: 0;
    color: #405962;
}

.research-note {
    margin-top: 10px;
    padding: 10px 12px;
    border-left: 3px solid rgba(245, 207, 90, 0.86);
    background: rgba(255,255,255,0.11);
    border-radius: 0 6px 6px 0;
    font-size: 0.92em;
}

.research-card-feature h3,
.research-card-feature p {
    color: white;
    max-width: 760px;
}

.research-date {
    color: #00877f;
    font-size: 0.75em;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.research-card-feature .research-date {
    color: #f5cf5a;
}

.research-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.research-links a {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    color: #006b66;
    background: rgba(0, 169, 157, 0.10);
    border: 1px solid rgba(0, 169, 157, 0.22);
    border-radius: 999px;
    font-size: 0.86em;
    line-height: 1.2;
}

.research-card-feature .research-links a {
    color: white;
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.24);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.gallery-grid figure {
    margin: 0;
    overflow: hidden;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(8, 91, 91, 0.14);
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(10, 45, 55, 0.10);
}

.gallery-grid img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.gallery-grid figcaption {
    padding: 10px 12px 12px;
    color: #12333a;
    font-size: 0.88em;
    font-weight: 750;
}

/* =========================
   Teaching page
========================= */
.teaching-course {
    margin-bottom: 22px;
    padding: 18px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(8, 91, 91, 0.14);
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(10, 45, 55, 0.10);
}

.teaching-course h3 {
    margin: 0 0 4px;
    color: #092d37;
    font-size: 1.32em;
}

.teaching-gallery,
.flyer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.teaching-gallery {
    grid-template-columns: minmax(0, 1fr);
    max-width: 680px;
}

.teaching-gallery figure {
    margin: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(8, 91, 91, 0.14);
    border-radius: 8px;
}

.teaching-gallery img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #fff;
}

.teaching-gallery figcaption {
    padding: 10px 12px 12px;
    color: #12333a;
    font-size: 0.88em;
    font-weight: 750;
}

.flyer-grid iframe {
    width: 100%;
    height: 400px;
    border: 1px solid rgba(8, 91, 91, 0.14);
    border-radius: 8px;
    background: white;
}

/* =========================
   Prospective page
========================= */
.prospective-hero {
    position: relative;
    min-height: 320px;
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(8, 91, 91, 0.14);
    box-shadow: 0 18px 44px rgba(10, 45, 55, 0.16);
}

.prospective-hero img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center;
}

.prospective-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 15, 27, 0.72), rgba(3, 15, 27, 0.16));
}

.prospective-hero div {
    position: absolute;
    left: clamp(20px, 4vw, 42px);
    bottom: clamp(20px, 4vw, 38px);
    z-index: 1;
    max-width: 680px;
}

.prospective-hero h2 {
    margin: 0;
    color: white;
    border: 0;
    padding: 0;
    font-size: clamp(2rem, 5vw, 3.5rem);
}

/* =========================
   Biography
========================= */
.bio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.bio-photo {
    width: min(520px, 100%);
    border-radius: 15px;
    margin-bottom: 6px;
}

.bio-details {
    width: 100%;
    max-width: 860px;
    text-align: left;
    line-height: 1.65;
}

.bio-details ul {
    list-style: none;
    padding: 0;
}

/* =========================
   Past members cards
========================= */
.member-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.member {
    background: rgba(255,255,255,0.86);          /* Currentとトーン統一 */
    border: 1px solid rgba(0,0,0,0.08);
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.10);
    text-align: center;
}

/* =========================
   Tags
========================= */
.tag{
    display:inline-flex;
    align-items:center;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.10);
    background: rgba(255,255,255,0.95);
    white-space: nowrap;
}

/* Color accents */
.tag-top  { border-color: rgba(0,110,255,0.28); }
.tag-klm  { border-color: rgba(255,140,0,0.28); }
.tag-beam { border-color: rgba(0,160,120,0.28); }
.tag-elec { border-color: rgba(140,90,255,0.28); }
.tag-pi   { border-color: rgba(20,20,20,0.24); }
.tag-note { border-color: rgba(120,120,120,0.28); }

/* =========================
   Members page (readability-first)
========================= */
.members-hero {
    margin-bottom: 22px;
    padding: 24px;
    color: white;
    background:
        linear-gradient(110deg, rgba(5, 23, 38, 0.94), rgba(0, 112, 107, 0.76)),
        url('figures/belle2.jpeg');
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(10, 45, 55, 0.16);
}

.members-hero h2 {
    color: white;
    border: 0;
    padding: 0;
    margin-bottom: 8px;
}

.members-hero p:last-child {
    max-width: 760px;
    margin: 0;
    color: rgba(245, 252, 250, 0.88);
}

.members .members-wrap{
    display: grid;
    grid-template-columns: 1fr; /* 1カラム */
    gap: 18px;
}

.members-panel{
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(8, 91, 91, 0.14);
    border-radius: 8px;
    padding: 18px 18px 14px;
    box-shadow: 0 14px 34px rgba(10, 45, 55, 0.10);
    backdrop-filter: blur(6px);
}

.members-panel h3{
    margin: 0 0 12px 0;
    font-size: 1.35em;   /* ← section h2 と同じスケール */
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #0c5f5a;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(12,95,90,0.22);
}

/* Table wrapper */
.people-table-wrap{
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
}

/* Table */
.member-table{
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed; /* 長文でも列が暴れない */
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: 8px;
    overflow: hidden;
}

/* （任意）列幅を固定したい場合：thにclassを付けた時だけ効く */
.member-table .w-name  { width: 24%; }
.member-table .w-role  { width: 24%; }
.member-table .w-theme { width: 22%; }
.member-table .w-note  { width: 30%; }

.member-table thead th{
    text-align: left;
    padding: 12px 12px;
    font-size: 13px;
    font-weight: 800;
    color: #0c5f5a;
    background: rgba(245, 250, 250, 1);
    border-bottom: 2px solid rgba(12,95,90,0.20);
    position: sticky;
    top: 0;
    z-index: 1;
    white-space: nowrap;
}

.member-table tbody td{
    padding: 12px 12px;
    font-size: 13.5px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    vertical-align: top;

    /* 長文対策 */
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.member-table tbody tr:nth-child(even){
    background: rgba(0,0,0,0.02);
}

.member-table tbody tr:hover{
    background: rgba(12,95,90,0.06);
}

.member-table .col-name{
    font-weight: 800;
    font-size: 14px;
}

/* Tags inside table */
.member-table .tag{
    margin: 2px 6px 2px 0;
}

/* Mentor note */
.mentor-note{
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed rgba(0,0,0,0.16);
    color: #444;
    font-size: 13px;
}

/* ===== Past Members: match Current Members panel style ===== */
.past-panel{
  margin-top: 14px;
}

/* Past members list inside panel: look like rows */
#past-members .member-list{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}

#past-members .member{
  text-align: left;
  padding: 14px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: none; /* panel側に影があるので、カード影は消す */
}

/* =========================
   Mobile
========================= */
@media (max-width: 900px) {
    body { font-size: 16px; }

    body::before {
        opacity: 0.38;
    }

    header .header-content{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    nav ul{
        flex-direction: row;
        gap: 8px;
    }

    nav ul li a {
        padding: 8px 12px;
        font-size: 0.88em;
    }

    main{
        width: 92%;
        padding: 18px;
        border-radius: 8px;
        margin-top: 18px;
    }

    .hero {
        width: 92%;
        min-height: auto;
        grid-template-columns: 1fr;
        margin-top: 24px;
        gap: 20px;
    }

    .hero-copy h2 {
        font-size: clamp(2.1rem, 12vw, 3.2rem);
        line-height: 1.02;
    }

    .hero-media img {
        aspect-ratio: 16 / 10;
        max-height: 260px;
        object-position: 50% 42%;
    }

    .hero-media {
        max-width: none;
        justify-self: stretch;
    }

    .split-section {
        grid-template-columns: 1fr;
    }

    #intro .about-content{
        flex-direction: column;
        align-items: stretch;
    }

    #intro .about-photo{
        width: min(100%, 280px);
        height: auto;
        aspect-ratio: auto;
        margin-bottom: 0;
        align-self: center;
    }

    .focus-grid,
    .news-list,
    .research-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .news-list li:first-child,
    .research-card-feature {
        grid-column: auto;
    }

    .research-card,
    .research-card-feature {
        min-height: auto;
    }

    .research-card-image,
    .research-card-feature .research-card-image {
        height: 190px;
        object-fit: cover;
    }

    .research-card-image-pair {
        grid-template-columns: 1fr;
    }

    .gallery-grid img {
        height: 210px;
    }

    .prospective-hero,
    .prospective-hero img {
        min-height: 250px;
        height: 250px;
    }

    .teaching-gallery,
    .flyer-grid {
        grid-template-columns: 1fr;
    }

    .member-list{
        grid-template-columns: 1fr;
    }

    section h2{ font-size: 1.2em; }

    .members-hero {
        padding: 18px;
    }

    .members-panel {
        padding: 14px;
    }

    .people-table-wrap {
        overflow-x: visible;
    }

    .member-table,
    .member-table thead,
    .member-table tbody,
    .member-table tr,
    .member-table th,
    .member-table td {
        display: block;
        width: 100%;
    }

    .member-table {
        border: 0;
        background: transparent;
    }

    .member-table thead {
        display: none;
    }

    .member-table tbody tr {
        margin-bottom: 12px;
        padding: 14px;
        background: rgba(255,255,255,0.98);
        border: 1px solid rgba(8, 91, 91, 0.14);
        border-radius: 8px;
        box-shadow: 0 10px 24px rgba(10, 45, 55, 0.08);
    }

    .member-table tbody td {
        display: grid;
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 10px;
        padding: 6px 0;
        border-bottom: 0;
        font-size: 0.94em;
    }

    .member-table tbody td:empty {
        display: none;
    }

    .member-table tbody td .tag {
        width: fit-content;
        max-width: 100%;
    }

    .member-table tbody td::before {
        color: #006b66;
        font-size: 0.74em;
        font-weight: 850;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .member-table tbody td:nth-child(1)::before { content: "Name"; }
    .member-table tbody td:nth-child(2)::before { content: "Role"; }
    .member-table tbody td:nth-child(3)::before { content: "Theme"; }
    .member-table tbody td:nth-child(4)::before { content: "Note"; }

    .member-table .col-name {
        font-size: 1.05em;
    }
}
