/* ═══════════════════════════════════════════════════════════
   Hugo Academic-Style Layout
   Sidebar + Main Content, compact, information-dense
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Newsreader:ital,opsz,wght@0,6..72,300;0,6..72,400;0,6..72,500;0,6..72,600;0,6..72,700;1,6..72,400;1,6..72,500&display=swap');

/* ── Color Palette ──────────────────────────────────────────── */
:root {
    --bg-primary: #fdfeff;
    --bg-secondary: #f5f7fa;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(253, 254, 255, 0.8);
    --bg-hover: rgba(100, 150, 200, 0.15);
    --bg-sidebar: #f2f7fc;

    --text-primary: #2c2a25;
    --text-secondary: #6b6860;
    --text-muted: #a8a49c;

    --accent: #1e3a8a;
    --accent-hover: #172e6e;
    --accent-glow: rgba(30, 58, 138, 0.1);
    --accent-gradient: linear-gradient(135deg, #1e3a8a, #3b4fd8);

    --highlight: #3b4fd8;
    --success: #5a7a4c;
    --tag-bg: rgba(30, 58, 138, 0.08);
    --tag-border: rgba(30, 58, 138, 0.2);

    --border-color: rgba(180, 175, 165, 0.4);
    --border-strong: rgba(180, 175, 165, 0.7);

    --shadow-sm: 0 1px 3px rgba(44, 42, 37, 0.05);
    --shadow-md: 0 4px 20px rgba(44, 42, 37, 0.07);
    --shadow-lg: 0 8px 40px rgba(44, 42, 37, 0.09);
    --shadow-glow: 0 0 30px rgba(30, 58, 138, 0.08);

    --sidebar-width: 440px;
    --header-height: 0px;
    --radius: 10px;
    --radius-sm: 6px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ───────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection {
    background: var(--accent);
    color: #fff;
}

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

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

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

/* ═══════════════════════════════════════════════════════════
   Page Layout: Sidebar + Main
   ═══════════════════════════════════════════════════════════ */
.page-wrapper {
    display: flex;
    min-height: 100vh;
}

/* ── Sidebar ────────────────────────────────────────────── */
.sidebar {
    width: var(--sidebar-width);
    height: auto;
    position: relative;
    flex-shrink: 0;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    padding: 48px 28px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 10;
}

.sidebar-profile {
    margin-bottom: 16px;
}

.sidebar .profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-color);
    transition: border-color var(--transition), transform var(--transition-slow);
    margin: 0 auto 16px;
}

.sidebar .profile-img:hover {
    border-color: var(--accent);
    transform: scale(1.03);
}

.sidebar-name {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.sidebar-title {
    font-family: 'Newsreader', serif;
    font-size: 0.95rem;
    font-weight: 400;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 4px;
    line-height: 1.4;
}

.sidebar-affiliation {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* Sidebar Interests */
.sidebar-interests {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0 0 14px;
    line-height: 1.5;
    height: 3em;
    overflow: hidden;
}

.sidebar-interests .typed-text {
    color: var(--accent);
    font-weight: 600;
    border-right: 2px solid var(--accent);
    padding-right: 2px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* Sidebar Social */
.sidebar-social {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.sidebar-social a {
    width: auto;
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all var(--transition);
    white-space: nowrap;
}

.sidebar-social a:first-child {
    flex: 1;
}

.sidebar-social a i {
    font-size: 1rem;
}

.sidebar-social a:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-glow);
    transform: translateY(-2px);
}

/* Sidebar Buttons */
.sidebar-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 350px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
}

.sidebar-buttons .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.8rem;
    padding: 8px 16px;
}

/* Sidebar Nav */
.sidebar-nav {
    width: 100%;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-bottom: 20px;
}

.sidebar-nav a {
    display: block;
    padding: 7px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    text-align: left;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.sidebar-nav a.active {
    font-weight: 600;
    border-left: 3px solid var(--accent);
    padding-left: 9px;
}

/* Sidebar Education */
.sidebar-section {
    width: 100%;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    text-align: left;
}

.sidebar-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.06em;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.sidebar-edu-list {
    list-style: none;
}

.sidebar-edu-item {
    display: flex;
    gap: 10px;
    align-items: start;
    margin-bottom: 14px;
    font-size: 0.82rem;
    line-height: 1.4;
}

.sidebar-edu-item:last-child {
    margin-bottom: 0;
}

.sidebar-edu-item i {
    color: var(--accent);
    font-size: 0.85rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.sidebar-edu-info strong {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.82rem;
}

.sidebar-edu-info span {
    color: var(--text-secondary);
    font-size: 0.78rem;
}

.sidebar-edu-info .edu-years {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-strong);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
}

/* ═══════════════════════════════════════════════════════════
   Main Content
   ═══════════════════════════════════════════════════════════ */
.main-content {
    flex: 1;
    min-width: 0;
    padding: 48px 48px 32px;
    max-width: 900px;
    margin: 0 auto;
}

/* ── Section Headers ────────────────────────────────────── */
.section {
    padding: 0 0 48px;
    position: relative;
}

.section:first-child {
    padding-top: 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-top: 16px;
}

.section-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.section-header .line {
    flex: 1;
    height: 1px;
    background: var(--border-strong);
}

.section-number {
    display: none;
}

/* ── About / Bio ────────────────────────────────────────── */
.about-section {
    padding-bottom: 40px;
}

.about-section .about-heading {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.about-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 100%;
}

.about-text a {
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}

.about-text a:hover {
    border-bottom-color: var(--accent);
}

.about-contact {
    display: flex;
    gap: 24px;
    margin-top: 14px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    align-items: center;
}

.about-contact i {
    color: var(--accent);
    margin-right: 6px;
    font-size: 0.85rem;
}

.about-contact a {
    font-weight: 500;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    font-size: 0.78rem;
    font-weight: 500;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    margin-top: 0;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* ═══════════════════════════════════════════════════════════
   News Section
   ═══════════════════════════════════════════════════════════ */
.news-list {
    display: flex;
    flex-direction: column;
}

.news-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px;
    padding: 6px 0;
    border-bottom: 1px solid var(--border-color);
    align-items: baseline;
    transition: background var(--transition);
}

.news-row:first-child {
    border-top: 1px solid var(--border-color);
}

.news-row:hover {
    background: var(--bg-hover);
    padding-left: 10px;
    padding-right: 10px;
    margin-left: -10px;
    margin-right: -10px;
    border-radius: var(--radius-sm);
}

.news-date {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.news-text {
    font-size: 0.88rem;
    color: #6b6860;
    line-height: 1.5;
}

.news-text b {
    color: var(--text-primary);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   Publications
   ═══════════════════════════════════════════════════════════ */

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 5px 14px;
    font-size: 0.78rem;
    font-weight: 500;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
    font-family: 'Inter', sans-serif;
}

.filter-tab:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
}

.filter-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* Publication Cards */
.pub-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pub-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: all var(--transition);
    backdrop-filter: blur(10px);
    align-items: start;
}



.pub-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.pub-card-img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: contain;
    background: #fff;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    transition: opacity var(--transition);
}

.pub-card:hover .pub-card-img {
    opacity: 0.85;
}

.pub-card-body h3 {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 6px;
    margin-top: 0;
    letter-spacing: -0.01em;
}

.pub-title-row {
    margin-bottom: 6px;
    line-height: 1.5;
}

.pub-title-row .pub-venue {
    display: inline-flex;
    vertical-align: middle;
    margin-right: 6px;
    margin-bottom: 0;
}

.pub-title-row h3 {
    display: inline;
    margin-bottom: 0;
}

.pub-title-row .pub-venue {
    flex-shrink: 0;
    margin-bottom: 0;
}

.pub-title-row h3 {
    margin-bottom: 0;
}

.pub-venue {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0;
}

.pub-venue-tag {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    background: var(--tag-bg);
    border: 1px solid var(--tag-border);
    color: var(--accent);
    letter-spacing: 0.03em;
}

.pub-venue-tag.highlight {
    background: rgba(139, 0, 0, 0.12);
    border-color: rgba(139, 0, 0, 0.3);
    color: #8B0000;
}

.pub-authors {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.5;
}

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

.pub-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pub-link {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 0;
    border-bottom: 1px solid transparent;
}

.pub-link:hover {
    border-bottom-color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════
   Experience Timeline
   ═══════════════════════════════════════════════════════════ */
.timeline {
    position: relative;
    padding-left: 28px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: var(--border-strong);
}

.timeline-item {
    position: relative;
    padding-bottom: 24px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 6px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--accent);
    z-index: 1;
    transition: background var(--transition);
}

.timeline-item:hover::before {
    background: var(--accent);
}

.timeline-date {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}

.timeline-org {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.timeline-role {
    font-size: 0.85rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.timeline-detail {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.5;
}

.timeline-detail a {
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.timeline-detail a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.timeline-role a {
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.timeline-role a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════
   Academic Service
   ═══════════════════════════════════════════════════════════ */
.service-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.service-category {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--accent);
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: 14px;
    position: relative;
}

.service-list li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.service-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.service-tag {
    display: inline-block;
    padding: 5px 14px;
    font-size: 0.8rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.service-tag:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

.service-table {
    display: flex;
    flex-direction: column;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 7px 0;
    border-bottom: 1px solid var(--border-color);
    align-items: baseline;
}

.service-row:first-child {
    border-top: 1px solid var(--border-color);
}

.service-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.service-years {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════
   Awards
   ═══════════════════════════════════════════════════════════ */
.awards-flex {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.award-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.82rem;
    transition: all var(--transition);
}

.award-pill:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

.award-pill .award-icon {
    font-size: 0.85rem;
}

.award-pill .award-name {
    font-weight: 600;
    color: var(--text-primary);
}

.award-pill .award-detail {
    color: var(--text-muted);
    font-size: 0.78rem;
}

/* ═══════════════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════════════ */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: end;
}

.footer-brand {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-contact {
    text-align: right;
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-contact a {
    font-weight: 600;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    backdrop-filter: blur(10px);
    z-index: 100;
    font-size: 0.95rem;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--accent-gradient);
    z-index: 999;
    transition: width 0.1s linear;
    width: 0%;
}

/* ═══════════════════════════════════════════════════════════
   Scroll Animations
   ═══════════════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger>* {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.stagger.visible>*:nth-child(1) {
    transition-delay: 0.03s;
}

.stagger.visible>*:nth-child(2) {
    transition-delay: 0.06s;
}

.stagger.visible>*:nth-child(3) {
    transition-delay: 0.09s;
}

.stagger.visible>*:nth-child(4) {
    transition-delay: 0.12s;
}

.stagger.visible>*:nth-child(5) {
    transition-delay: 0.15s;
}

.stagger.visible>*:nth-child(6) {
    transition-delay: 0.18s;
}

.stagger.visible>*:nth-child(7) {
    transition-delay: 0.21s;
}

.stagger.visible>*:nth-child(8) {
    transition-delay: 0.24s;
}

.stagger.visible>*:nth-child(9) {
    transition-delay: 0.27s;
}

.stagger.visible>*:nth-child(10) {
    transition-delay: 0.3s;
}

.stagger.visible>*:nth-child(11) {
    transition-delay: 0.33s;
}

.stagger.visible>*:nth-child(12) {
    transition-delay: 0.36s;
}

.stagger.visible>* {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   Mobile
   ═══════════════════════════════════════════════════════════ */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 0 16px;
    align-items: center;
    justify-content: space-between;
}

.mobile-header .logo {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

/* Hide old nav */
nav {
    display: none;
}

/* ═══════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    :root {
        --sidebar-width: 440px;
    }

    .main-content {
        padding: 40px 32px 24px;
    }

    .pub-card {
        grid-template-columns: 150px 1fr;
    }
}

@media (max-width: 768px) {
    .page-wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        min-height: auto;
        position: relative;
        padding: 32px 24px 24px;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .sidebar .profile-img {
        width: 140px;
        height: 140px;
    }

    .sidebar-name {
        font-size: 1.3rem;
    }

    .sidebar-nav {
        display: none;
    }

    .mobile-header {
        display: flex;
    }

    .sidebar {
        padding-top: 72px;
    }

    .main-content {
        padding: 32px 20px 24px;
    }

    .status-badge {
        display: none;
    }

    .pub-card {
        grid-template-columns: 1fr;
    }

    .pub-card-img {
        aspect-ratio: 2.5/1;
        max-height: 180px;
    }

    .about-section .about-heading {
        font-size: 1.7rem;
    }

    .section {
        padding-bottom: 36px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-contact {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .about-section .about-heading {
        font-size: 1.4rem;
    }

    .section-header h2 {
        font-size: 1.15rem;
    }

    .sidebar .profile-img {
        width: 120px;
        height: 120px;
    }
}
