/* =========================================================
   GENERAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: #f5f6f7;
    color: #30353a;

    font-family:
        "Open Sans",
        Arial,
        Helvetica,
        sans-serif;

    font-size: 14px;
    line-height: 1.65;
}

/*body {
    background: #f5f6f7;
    color: #30353a;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 14px;
    line-height: 1.65;
}
*/

/* =========================================================
   MAIN STRUCTURE
   ========================================================= */

.site-wrapper {
    min-height: 100vh;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.sidebar {

    position: fixed;

    left: 0;
    top: 0;
    bottom: 0;

    width: 235px;

    background: #25313c;

    color: #ffffff;

    overflow-y: auto;
}


/* =========================================================
   PROFILE
   ========================================================= */

.profile {

    text-align: center;

    padding: 28px 18px 24px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.10);
}


.profile-photo {

    width: 82px;
    height: 82px;

    margin: 0 auto 14px;

    border-radius: 50%;

    background: #526270;

    display: flex;

    align-items: center;
    justify-content: center;

    color: white;

    font-size: 24px;
    font-weight: bold;
}


.profile-name {

    font-size: 19px;

    font-weight: 600;

    margin-bottom: 3px;
}


.profile-position {

    font-size: 12px;

    color: #c4ccd3;
}


.profile-affiliation {

    font-size: 11px;

    color: #aeb8c1;

    margin-top: 2px;
}


/* =========================================================
   MAIN MENU
   ========================================================= */

.main-menu {

    padding: 12px 0;
}


.main-menu a {

    display: block;

    padding: 7px 22px;

    color: #d7dde2;

    text-decoration: none;

    font-size: 13px;

    border-left: 3px solid transparent;
}


.main-menu a:hover {

    background:
        rgba(255, 255, 255, 0.06);

    color: #ffffff;
}


.main-menu a.active {

    background:
        rgba(255, 255, 255, 0.08);

    color: #ffffff;

    border-left-color: #aeb8c1;
}


/* =========================================================
   SIDEBAR SECTION
   ========================================================= */

.sidebar-section {

    border-top:
        1px solid rgba(255, 255, 255, 0.10);

    padding: 14px 0;
}


.sidebar-heading {

    padding:
        0 22px 7px;

    color: #8f9aa5;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 0.08em;
}


.sidebar-section a {

    display: block;

    padding:
        5px 22px;

    color: #cbd2d8;

    text-decoration: none;

    font-size: 12px;
}


.sidebar-section a:hover {

    background:
        rgba(255, 255, 255, 0.06);

    color: #ffffff;
}


.sidebar-bottom {

    border-top:
        1px solid rgba(255, 255, 255, 0.10);

    padding: 12px 0;
}


.sidebar-bottom a {

    display: block;

    padding: 6px 22px;

    color: #aeb8c1;

    text-decoration: none;

    font-size: 11px;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.main-content {

    margin-left: 235px;

    min-height: 100vh;

    display: flex;

    flex-direction: column;
}


.content-container {

    width: 100%;

    max-width: 1100px;

    margin: 0 auto;

    padding:
        38px 42px 50px;

    flex: 1;
}


/* =========================================================
   PAGE HEADER
   ========================================================= */

.page-header {

    padding-bottom: 15px;

    margin-bottom: 25px;

    border-bottom:
        1px solid #dfe3e6;
}


.page-header h1 {

    margin: 0;

    font-size: 27px;

    font-weight: 600;

    color: #28323b;
}


.page-header p {

    margin:
        3px 0 0;

    color: #6e7780;

    font-size: 14px;
}


/* =========================================================
   INTRODUCTION
   ========================================================= */

.intro-section {

    background: #ffffff;

    border:
        1px solid #e1e4e7;

    padding: 22px 24px;

    margin-bottom: 30px;
}


.intro-text {

    max-width: 850px;
}


.intro-text p {

    margin:
        0 0 12px;
}


.intro-text p:last-child {

    margin-bottom: 0;
}


/* =========================================================
   SECTION
   ========================================================= */

.section-block {

    margin-bottom: 30px;
}


.section-block h2 {

    font-size: 19px;

    font-weight: 600;

    color: #303942;

    margin:
        0 0 13px;

    padding-bottom: 7px;

    border-bottom:
        1px solid #e2e5e8;
}


/* =========================================================
   RESEARCH LIST
   ========================================================= */

.research-list {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 8px 30px;
}


.research-item {

    padding:
        8px 10px;

    background: #ffffff;

    border:
        1px solid #e2e5e8;

    font-size: 13px;
}


/* =========================================================
   ACTIVITY GRID
   ========================================================= */

.activity-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}


.activity-box {

    background: #ffffff;

    border:
        1px solid #e3e7ea;

    padding: 24px;
}

@media (max-width: 900px) {

    .activity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 600px) {

    .activity-grid {
        grid-template-columns: 1fr;
    }

    .publication-detail-header h1 {
        font-size: 28px;
    }

    .publication-detail-meta {
        margin-top: 20px;
    }

    .publication-detail-links {
        margin-top: 26px;
    }

    .publication-link {
        display: block;
    }

    .publication-link-label {
        display: block;
        margin-bottom: 2px;
    }

    .project-card,
    .teaching-card,
    .software-card {
        padding: 22px 20px;
    }

    .project-title,
    .teaching-title,
    .software-title {
        font-size: 21px;
    }

    .project-info>div,
    .teaching-info>div {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 12px 0;
    }

    .project-detail-header h1,
    .teaching-detail-header h1,
    .software-detail-header h1 {
        font-size: 28px;
    }

}

.activity-box h3 {

    font-size: 16px;

    margin:
        0 0 7px;

    font-weight: 600;
}


.activity-box p {

    font-size: 13px;

    color: #606970;

    margin:
        0 0 12px;
}


.activity-box a {

    font-size: 12px;

    color: #465d70;

    text-decoration: none;
}


.activity-box a:hover {

    text-decoration: underline;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {

    border-top:
        1px solid #dfe3e6;

    padding:
        13px 42px 18px;

    color: #7b838a;

    font-size: 11px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 800px) {

    .sidebar {

        position: relative;

        width: 100%;

        min-height: auto;
    }


    .main-content {

        margin-left: 0;
    }


    .content-container {

        padding:
            25px 20px 40px;
    }


    .research-list {

        grid-template-columns: 1fr;
    }


    .activity-grid {

        grid-template-columns: 1fr;
    }

}

/* =========================================================
   ADMIN DASHBOARD
   ========================================================= */

.admin-shell {
    min-height: 100vh;
    background: #f4f5f6;
}

.admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;

    width: 220px;

    background: #28343f;
    color: #ffffff;
}

.admin-brand {
    padding: 20px;

    border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.admin-brand strong {
    display: block;

    font-size: 14px;
    letter-spacing: .5px;
}

.admin-brand span {
    display: block;

    margin-top: 3px;

    color: #aeb8c0;

    font-size: 10px;
}

.admin-nav {
    padding: 12px 0;
}

.admin-nav a {
    display: block;

    padding: 8px 20px;

    color: #d9dfe4;

    text-decoration: none;

    font-size: 12px;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(255, 255, 255, .07);

    color: #ffffff;
}

.admin-nav-title {
    padding: 18px 20px 5px;

    color: #8e9ba5;

    font-size: 9px;

    letter-spacing: 1px;
}

.admin-nav-bottom {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 15px;

    border-top: 1px solid rgba(255, 255, 255, .10);

    padding-top: 8px;
}

.admin-nav-bottom a,
.admin-nav-bottom button {
    display: block;

    width: 100%;

    padding: 8px 20px;

    border: 0;

    background: transparent;

    color: #d9dfe4;

    text-align: left;

    text-decoration: none;

    font-size: 12px;

    cursor: pointer;
}

.admin-nav-bottom a:hover,
.admin-nav-bottom button:hover {
    background: rgba(255, 255, 255, .07);

    color: #ffffff;
}

.admin-main {
    min-height: 100vh;

    margin-left: 220px;
}

.admin-topbar {
    height: 50px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 25px;

    background: #ffffff;

    border-bottom: 1px solid #dfe3e6;

    color: #59636c;

    font-size: 12px;
}

.admin-content {
    max-width: 1200px;

    padding: 30px;
}

.admin-page-heading h1 {
    margin: 0;

    color: #28343f;

    font-size: 24px;

    font-weight: 500;
}

.admin-page-heading p {
    margin-top: 5px;

    color: #737c84;

    font-size: 12px;
}

.admin-stat-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;

    margin-top: 25px;
}

.admin-stat {
    padding: 18px;

    background: #ffffff;

    border: 1px solid #dfe3e6;
}

.admin-stat span {
    display: block;

    color: #737c84;

    font-size: 11px;
}

.admin-stat strong {
    display: block;

    margin-top: 5px;

    color: #28343f;

    font-size: 25px;

    font-weight: 500;
}

.admin-panel {
    margin-top: 22px;

    padding: 20px;

    background: #ffffff;

    border: 1px solid #dfe3e6;
}

.admin-panel h2 {
    margin: 0 0 15px;

    color: #28343f;

    font-size: 16px;

    font-weight: 500;
}

.admin-panel p {
    color: #626c74;

    font-size: 12px;

    line-height: 1.7;
}

.admin-actions {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 12px;
}

.admin-action {
    display: block;

    padding: 15px;

    border: 1px solid #dfe3e6;

    color: #28343f;

    text-decoration: none;
}

.admin-action:hover {
    background: #f7f8f9;
}

.admin-action strong {
    display: block;

    font-size: 12px;

    font-weight: 600;
}

.admin-action span {
    display: block;

    margin-top: 5px;

    color: #737c84;

    font-size: 11px;
}


/* Mobile */

@media (max-width: 800px) {

    .admin-sidebar {
        position: relative;

        width: 100%;
    }

    .admin-main {
        margin-left: 0;
    }

    .admin-nav-bottom {
        position: static;
    }

    .admin-stat-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .admin-actions {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   ADMIN LIST
   ========================================================= */

.admin-list-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 18px;
}

.admin-list-header h2 {
    margin: 0;

    font-size: 16px;

    font-weight: 500;

    color: #28343f;
}

.admin-button {
    display: inline-block;

    padding: 7px 12px;

    background: #28343f;

    border: 1px solid #28343f;

    color: #ffffff;

    text-decoration: none;

    font-size: 11px;
}

.admin-button:hover {
    background: #35434f;
}

.admin-empty {
    padding: 35px 20px;

    border: 1px dashed #d5dade;

    text-align: center;

    color: #737c84;

    font-size: 12px;
}

.admin-empty p {
    margin: 5px 0;
}

.admin-table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;

    border-collapse: collapse;

    font-size: 11px;
}

.admin-table th {
    padding: 10px;

    background: #f5f6f7;

    border: 1px solid #dfe3e6;

    color: #59636c;

    text-align: left;

    font-weight: 600;
}

.admin-table td {
    padding: 10px;

    border: 1px solid #dfe3e6;

    color: #59636c;

    vertical-align: top;
}

.admin-table td strong {
    color: #28343f;

    font-weight: 500;
}

.admin-table a {
    color: #365d7a;

    text-decoration: none;
}

.admin-table a:hover {
    text-decoration: underline;
}

/* =========================================================
   ADMIN FORMS
   ========================================================= */

.admin-form-group {
    margin-bottom: 20px;
}

.admin-form-group label {
    display: block;

    margin-bottom: 6px;

    color: #28343f;

    font-size: 12px;

    font-weight: 600;
}

.admin-form-group input,
.admin-form-group textarea,
.admin-form-group select {
    box-sizing: border-box;

    width: 100%;

    padding: 8px 10px;

    border: 1px solid #cfd5da;

    background: #ffffff;

    color: #28343f;

    font-family: inherit;

    font-size: 12px;
}

.admin-form-group textarea {
    resize: vertical;

    line-height: 1.6;
}

.admin-form-group input:focus,
.admin-form-group textarea:focus,
.admin-form-group select:focus {
    outline: none;

    border-color: #71808d;
}

.admin-form-group small {
    display: block;

    margin-top: 5px;

    color: #7b858d;

    font-size: 10px;
}

.admin-form-actions {
    display: flex;

    gap: 8px;

    padding-top: 10px;

    border-top: 1px solid #e1e4e7;
}

.admin-form-actions .admin-button {
    cursor: pointer;
}

.admin-button.secondary {
    background: #ffffff;

    border-color: #cfd5da;

    color: #4f5b64;
}

.admin-button.secondary:hover {
    background: #f5f6f7;
}

.admin-alert {
    margin-bottom: 18px;

    padding: 10px 12px;

    border: 1px solid #dfe3e6;

    font-size: 12px;
}

.admin-alert.success {
    background: #f4f7f5;

    color: #3f604d;
}

.admin-alert.error {
    background: #faf5f5;

    color: #8a4a4a;
}

.admin-delete-button {
    margin-left: 8px;

    padding: 0;

    border: 0;

    background: none;

    color: #8a4a4a;

    font-family: inherit;

    font-size: 11px;

    cursor: pointer;
}

.admin-delete-button:hover {
    text-decoration: underline;
}

/* =========================================================
   PUBLIC NEWS
   ========================================================= */

.news-list {
    max-width: 850px;
}

.news-item {
    padding: 20px 0;

    border-bottom: 1px solid #dfe3e6;
}

.news-item:first-child {
    padding-top: 0;
}

.news-item h2 {
    margin: 0;

    font-size: 18px;

    font-weight: 500;
}

.news-item h2 a {
    color: #28343f;

    text-decoration: none;
}

.news-item h2 a:hover {
    color: #365d7a;
}

.news-date {
    margin-top: 6px;

    color: #7a838a;

    font-size: 10px;
}

.news-item p {
    margin: 10px 0;

    color: #59636c;

    font-size: 12px;

    line-height: 1.7;
}

.news-item>a {
    color: #365d7a;

    font-size: 11px;

    text-decoration: none;
}

.news-item>a:hover {
    text-decoration: underline;
}

.news-detail {
    max-width: 850px;
}

.news-excerpt {
    margin: 20px 0;

    padding: 15px;

    background: #f5f6f7;

    border-left: 3px solid #71808d;

    color: #59636c;

    font-size: 13px;

    line-height: 1.7;
}

.news-content {
    color: #3f484f;

    font-size: 13px;

    line-height: 1.9;
}

.news-back {
    margin-top: 30px;

    padding-top: 15px;

    border-top: 1px solid #dfe3e6;
}

.news-back a {
    color: #365d7a;

    font-size: 11px;

    text-decoration: none;
}

/* =========================================================
   PUBLIC PUBLICATIONS
   ========================================================= */

.publication-list {
    max-width: 900px;
}

.publication-item {
    padding: 24px 0;

    border-bottom: 1px solid #dfe3e6;
}

.publication-item:first-child {
    padding-top: 0;
}

.publication-year {
    margin-bottom: 6px;
    color: #6f7880;
    font-size: 11px;
    font-weight: 600;
}

.publication-item h2 {
    margin: 0;

    font-size: 17px;

    line-height: 1.5;

    font-weight: 600;
}

.publication-item h2 a {
    color: #28343f;

    text-decoration: none;
}

.publication-item h2 a:hover {
    color: #365d7a;
}

.publication-authors {
    margin-top: 7px;

    color: #59636c;

    font-size: 12px;

    line-height: 1.6;
}

.publication-journal {
    margin-top: 4px;

    color: #6f7880;

    font-size: 11px;

    font-style: italic;
}

.publication-doi {
    margin-top: 5px;

    color: #7a838a;

    font-size: 10px;
}

.publication-detail {
    max-width: 900px;
}

.publication-detail-header {
    padding-bottom: 28px;
    border-bottom: 1px solid #e3e7ea;
}

.publication-detail-header h1 {
    max-width: 850px;
    margin: 0;
    font-size: 36px;
    line-height: 1.25;
    font-weight: 600;
    color: #28343f;
}

.publication-detail-meta {
    margin-top: 24px;
    color: #59636c;
}

.publication-detail-authors {
    margin-top: 10px;

    color: #4f5961;

    font-size: 14px;

    line-height: 1.7;
}

.publication-detail-journal {
    margin-top: 5px;

    color: #6f7880;

    font-size: 13px;

    font-style: italic;
}

.publication-detail-year {
    margin-top: 5px;

    color: #7a838a;

    font-size: 12px;

    font-weight: 600;
}

.publication-abstract {
    margin-top: 30px;

    padding-top: 20px;

    border-top: 1px solid #dfe3e6;
}

.publication-abstract h2 {
    margin: 0 0 10px;

    font-size: 14px;

    font-weight: 600;

    color: #28343f;
}

.publication-abstract p {
    margin: 0;

    color: #4f5961;

    font-size: 12px;

    line-height: 1.8;
}

.publication-link {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.6;
}

.publication-detail-links {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #e3e7ea;
}

.publication-link-label {
    min-width: 90px;
    font-size: 11px;
    font-weight: 600;
    color: #7a838a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.publication-link a {
    color: #365d7a;

    text-decoration: none;
}

.publication-link a:hover {
    text-decoration: underline;
}

.publication-back {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e3e7ea;
}


.publication-back a {
    font-size: 14px;
    text-decoration: none;
}


.publication-back a:hover {
    text-decoration: underline;
}

.admin-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.admin-form-group small {
    display: block;
    margin-top: 5px;
    color: #7a838a;
    font-size: 10px;
    line-height: 1.5;
}

/* =========================================
   PUBLIC PROJECTS
   ========================================= */

.project-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}


.project-card {
    padding: 28px 30px;
    border: 1px solid #e3e7ea;
    background: #ffffff;
    transition: border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.project-card:hover {
    border-color: #c8d0d6;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}


.project-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}


.project-period {
    font-size: 13px;
    font-weight: 600;
    color: #6b747c;
    letter-spacing: 0.02em;
}


.project-featured {
    display: inline-block;
    padding: 4px 9px;
    border: 1px solid #d8dee3;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


.project-title {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.35;
    font-weight: 600;
}


.project-title a {
    color: inherit;
    text-decoration: none;
}


.project-title a:hover {
    text-decoration: underline;
}


.project-summary {
    max-width: 780px;
    margin: 0 0 18px;
    color: #555f67;
    font-size: 15px;
    line-height: 1.7;
}


.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 22px;
    font-size: 13px;
    color: #707981;
}


.project-status {
    font-weight: 600;
    color: #4d5962;
}


.project-card-footer {
    padding-top: 18px;
    border-top: 1px solid #edf0f2;
}


.project-link {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}


.project-link:hover {
    text-decoration: underline;
}


.empty-state {
    padding: 40px 0;
    color: #707981;
}

/* =========================================
   PROJECT DETAIL
   ========================================= */

.project-detail {
    max-width: 900px;
}


.project-detail-header {
    padding-bottom: 28px;
    border-bottom: 1px solid #e3e7ea;
}


.project-detail-header .project-period {
    margin-bottom: 10px;
}


.project-detail-header h1 {
    max-width: 850px;
    margin: 0 0 18px;
    font-size: 36px;
    line-height: 1.25;
    font-weight: 600;
}


.project-detail-intro {
    margin: 30px 0 36px;
    max-width: 800px;
    font-size: 18px;
    line-height: 1.75;
    color: #4f5961;
}


.project-detail-section {
    margin-top: 40px;
}


.project-detail-section h2 {
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e3e7ea;
    font-size: 20px;
    font-weight: 600;
}


.project-detail-content {
    max-width: 800px;
    font-size: 15px;
    line-height: 1.8;
    color: #424b52;
}


.project-info {
    margin: 0;
}


.project-info>div {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid #edf0f2;
}


.project-info dt {
    font-size: 13px;
    font-weight: 600;
    color: #707981;
}


.project-info dd {
    margin: 0;
    font-size: 14px;
    color: #30383e;
}


.project-external-link {
    margin-top: 36px;
}


.project-external-link a {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}


.project-external-link a:hover {
    text-decoration: underline;
}


.project-back {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e3e7ea;
}


.project-back a {
    font-size: 14px;
    text-decoration: none;
}


.project-back a:hover {
    text-decoration: underline;
}

.project-card-image {
    margin: -28px -30px 24px;
    overflow: hidden;
    height: auto;
}


.project-card-image img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
}


.project-card-image a {
    display: block;
}


.project-card-image img {
    transition: transform 0.25s ease;
}


.project-card:hover .project-card-image img {
    transform: scale(1.02);
}

.project-detail-image {
    margin-bottom: 32px;
    overflow: hidden;
}


.project-detail-image img {
    display: block;
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

/* =========================================
   PUBLIC TEACHING
   ========================================= */

.teaching-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}


.teaching-card {
    padding: 28px 30px;
    border: 1px solid #e3e7ea;
    background: #ffffff;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.teaching-card:hover {
    border-color: #c8d0d6;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}


.teaching-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}


.teaching-code {
    font-size: 13px;
    font-weight: 600;
    color: #6b747c;
    letter-spacing: 0.04em;
}


.teaching-featured {
    display: inline-block;
    padding: 4px 9px;
    border: 1px solid #d8dee3;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


.teaching-title {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.35;
    font-weight: 600;
}


.teaching-title a {
    color: inherit;
    text-decoration: none;
}


.teaching-title a:hover {
    text-decoration: underline;
}


.teaching-summary {
    max-width: 780px;
    margin: 0 0 18px;
    color: #555f67;
    font-size: 15px;
    line-height: 1.7;
}


.teaching-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 22px;
    font-size: 13px;
    color: #707981;
}


.teaching-card-footer {
    padding-top: 18px;
    border-top: 1px solid #edf0f2;
}


.teaching-link {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}


.teaching-link:hover {
    text-decoration: underline;
}

/* =========================================
   TEACHING DETAIL
   ========================================= */

.teaching-detail {
    max-width: 900px;
}


.teaching-detail-header {
    padding-bottom: 28px;
    border-bottom: 1px solid #e3e7ea;
}


.teaching-detail-header .teaching-code {
    margin-bottom: 10px;
}


.teaching-detail-header h1 {
    max-width: 850px;
    margin: 0 0 18px;
    font-size: 36px;
    line-height: 1.25;
    font-weight: 600;
}


.teaching-detail-intro {
    max-width: 800px;
    margin: 30px 0 36px;
    font-size: 18px;
    line-height: 1.75;
    color: #4f5961;
}


.teaching-detail-section {
    margin-top: 40px;
}


.teaching-detail-section h2 {
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e3e7ea;
    font-size: 20px;
    font-weight: 600;
}


.teaching-detail-content {
    max-width: 800px;
    font-size: 15px;
    line-height: 1.8;
    color: #424b52;
}


.teaching-info {
    margin: 0;
}


.teaching-info>div {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid #edf0f2;
}


.teaching-info dt {
    font-size: 13px;
    font-weight: 600;
    color: #707981;
}


.teaching-info dd {
    margin: 0;
    font-size: 14px;
    color: #30383e;
}


.teaching-external-link {
    margin-top: 36px;
}


.teaching-external-link a {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}


.teaching-external-link a:hover {
    text-decoration: underline;
}


.teaching-back {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e3e7ea;
}


.teaching-back a {
    font-size: 14px;
    text-decoration: none;
}


.teaching-back a:hover {
    text-decoration: underline;
}

/* =========================================
   TEACHING YEAR GROUPS
   ========================================= */

.teaching-year {
    margin-bottom: 48px;
}


.teaching-year-title {
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e3e7ea;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
}


.teaching-year:last-child {
    margin-bottom: 0;
}

/* =========================================
   PUBLIC SOFTWARE
   ========================================= */

.software-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}


.software-card {
    padding: 28px 30px;
    border: 1px solid #e3e7ea;
    background: #ffffff;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.software-card:hover {
    border-color: #c8d0d6;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}


.software-title {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.35;
    font-weight: 600;
}


.software-title a {
    color: inherit;
    text-decoration: none;
}


.software-title a:hover {
    text-decoration: underline;
}


.software-summary {
    max-width: 800px;
    margin: 0 0 18px;
    color: #555f67;
    font-size: 15px;
    line-height: 1.7;
}


.software-link {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}


.software-link:hover {
    text-decoration: underline;
}

/* =========================================
   SOFTWARE DETAIL
   ========================================= */

.software-detail {
    max-width: 900px;
}


.software-detail-header {
    padding-bottom: 28px;
    border-bottom: 1px solid #e3e7ea;
}


.software-detail-header h1 {
    margin: 0;
    font-size: 36px;
    line-height: 1.25;
    font-weight: 600;
}


.software-detail-intro {
    max-width: 800px;
    margin: 30px 0 36px;
    font-size: 18px;
    line-height: 1.75;
    color: #4f5961;
}


.software-detail-section {
    margin-top: 40px;
}


.software-detail-section h2 {
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e3e7ea;
    font-size: 20px;
    font-weight: 600;
}


.software-detail-content {
    max-width: 800px;
    font-size: 15px;
    line-height: 1.8;
    color: #424b52;
}


.software-external-link {
    margin-top: 36px;
}


.software-external-link a {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}


.software-external-link a:hover {
    text-decoration: underline;
}


.software-back {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e3e7ea;
}


.software-back a {
    font-size: 14px;
    text-decoration: none;
}


.software-back a:hover {
    text-decoration: underline;
}

.home-project-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.home-project-item {
    padding: 20px 22px;
    background: #ffffff;
    border: 1px solid #e3e7ea;
}

.home-project-period {
    margin-bottom: 5px;
    color: #7a838a;
    font-size: 11px;
    font-weight: 600;
}

.home-project-item h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 600;
}

.home-project-item h3 a {
    color: #28343f;
    text-decoration: none;
}

.home-project-item h3 a:hover {
    text-decoration: underline;
}

.home-project-item p {
    max-width: 800px;
    margin: 0 0 12px;
    color: #59636c;
    font-size: 13px;
    line-height: 1.7;
}

.home-project-link {
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.home-project-link:hover {
    text-decoration: underline;
}

.home-publication-list {
    display: flex;
    flex-direction: column;
}

.home-publication-item {
    padding: 20px 0;
    border-bottom: 1px solid #dfe3e6;
}

.home-publication-item:first-child {
    padding-top: 0;
}

.home-publication-year {
    margin-bottom: 5px;
    color: #6f7880;
    font-size: 11px;
    font-weight: 600;
}

.home-publication-item h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 600;
}

.home-publication-item h3 a {
    color: #28343f;
    text-decoration: none;
}

.home-publication-item h3 a:hover {
    color: #365d7a;
}

.home-publication-authors {
    margin: 7px 0 0;
    color: #59636c;
    font-size: 12px;
    line-height: 1.6;
}

.home-publication-journal {
    margin: 4px 0 10px;
    color: #6f7880;
    font-size: 11px;
    font-style: italic;
}

.home-publication-link {
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.home-publication-link:hover {
    text-decoration: underline;
}

.home-project-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 5px;
}

.home-project-period {
    color: #6f7880;
    font-size: 11px;
    font-weight: 600;
}

.home-project-status {
    padding: 2px 7px;
    border: 1px solid #dfe3e6;
    color: #6f7880;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.home-section-more {
    margin-top: 20px;
    text-align: right;
}

.home-section-more a {
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.home-section-more a:hover {
    text-decoration: underline;
}

.home-publication-item {
    padding: 22px 0;
    border-bottom: 1px solid #dfe3e6;
}

.home-publication-item:first-child {
    padding-top: 0;
}

.home-publication-item:last-child {
    border-bottom: none;
}