/* ── 배지 체계 ──────────────────────────────────────────────
   Top Tier    top-tier-badge          수상/등급
   학회·저널   venue-badge             중립 회색, 배경 역할
   연구 분야   area-badge area-*       _data/areas.yml 에 정의된 5개, 분야별 색
   세부 주제   topic-badge             외곽선만, 자유 어휘
   Abstract/Link 는 태그가 아니라 클릭 동작이므로 알약 모양 외곽선으로 구분 */

/* 제목 위 한 줄: 등급 배지 + 학회·저널 배지만 박스로 둔다.
   나머지 분류는 아래 #키워드 줄로 내려서 시선을 분산시키지 않는다. */
.venue-badge,
.top-tier-badge,
.featured-badge {
    display: inline-block;
    padding: 2px 10px;
    margin: 0 4px 4px 0;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 600;
    line-height: 1.6;
}

/* 학회·저널: 중립 */
.venue-badge { background: #E2E8F0; color: #334155; }

/* 논문 제목이 곧 링크. 기본 모양은 제목 그대로 두고 hover 에서만 표시 */
.publication-title a {
    color: inherit;
    text-decoration: none;
}
.publication-title a:hover {
    text-decoration: underline;
}

/* ── 키워드 줄 ─────────────────────────────────────────────
   분야와 세부 주제를 #해시태그 형태로 나열한다.
   분야만 색을 입혀 목록을 훑을 때 계열이 눈에 들어오게 한다. */
.publication-keywords {
    margin-top: 6px;
    font-size: 0.85em;
    line-height: 1.9;
}

.publication-keywords .kw {
    margin-right: 12px;
    white-space: nowrap;
}

.kw-area  { font-weight: 600; }
.kw-topic { color: #64748B; }

.kw-memcentric { color: #7C3AED; }  /* Memory-Centric */
.kw-memsystem  { color: #2563EB; }  /* Memory System  */
.kw-ai         { color: #DB2777; }  /* AI Accel       */
.kw-noc        { color: #0D9488; }  /* NoC            */
.kw-soc        { color: #64748B; }  /* SoC Design     */

/* Abstract: 클릭 가능한 동작이므로 알약 모양으로 구분 */
.abstract-badge {
    display: inline-block;
    padding: 1px 12px;
    font-size: 0.95em;
    font-weight: 600;
    line-height: 1.6;
    background: transparent;
    border: 1px solid #16A34A;
    color: #16A34A;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.abstract-badge:hover { background: #16A34A; color: #fff; }
        .publication-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 20px;
        }
        .publication-content {
            flex: 1;
        }
        .publication-image {
            flex: 0 0 300px;
            margin-left: 20px;
        }
        .publication-image img {
            max-width: 100%;
        }
        .publication-title {
            font-size: 1.5em; /* 글자 크기를 원래대로 유지 */
            font-weight: bold;
            color: black; /* 검은색으로 변경 */
            text-decoration: none; /* 밑줄 제거 */
            font-family: 'Arial', sans-serif; /* 글자체를 International Journals / Conferences와 동일하게 설정 */
        }
        .publication-authors {
            font-size: 1.1em;
            color: #666;
        }
        .publication-info {
            font-size: 1.1em; /* 논문 출처 정보의 글자 크기 */
            color: #666;
            margin-bottom: 10px;
        }
        .large-title {
            font-size: 2em; /* 제목의 크기를 키움 */
            font-weight: bold;
            margin-top: 20px;
            margin-bottom: 20px;
            font-family: 'Arial', sans-serif; /* 글자체를 설정 */
        }
        .divider {
            border-bottom: 1px solid #ddd;
            margin-bottom: 20px;
        }
        .modal {
            display: none;
            position: fixed;
            z-index: 1;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgb(0,0,0);
            background-color: rgba(0,0,0,0.4);
            padding-top: 60px;
        }
        .modal-content {
            background-color: #fefefe;
            margin: 5% auto;
            padding: 20px;
            border: 1px solid #888;
            width: 80%;
        }
        .close {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
        }
        .close:hover,
        .close:focus {
            color: black;
            text-decoration: none;
            cursor: pointer;
        }

        .collapsible {
        background-color: white; /* Background color white */
        color: black; /* Text color black */
        cursor: pointer;
        padding: 10px 20px;
        width: 100%;
        border: 2px solid #ccc; /* Light grey border */
        text-align: left;
        outline: none;
        font-size: 26px; /* Double the size assuming the original was 16px */
        font-weight: bold; /* Bold text */
        transition: background-color 0.4s ease;
        margin-bottom: 20px;
        
    }

    .collapsible-content {
    display: none;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    }
    .collapsible:hover {
        background-color: #f9f9f9; /* Slight change on hover for feedback */
    }
    .collapsible:after {
        content: '\002B'; /* Plus sign */
        color: black;
        font-weight: bold;
        float: right;
        margin-left: 5px;
        font-size: 32px; /* Ensure the plus sign matches text size */
    }
    .collapsible.active:after {
        content: '\2212'; /* Minus sign for when active/open */
    }

    /* 수상/등급 (공통 배지 규격은 위 배지 체계 블록에 있음) */
    .top-tier-badge {
    background: #F59E0B;
    color: #fff;
    }

    /* 저널 선정 우수논문. Top Tier 와 같은 계열의 따뜻한 색으로 두되 한 단계 진하게 */
    .featured-badge {
    background: #B45309;
    color: #fff;
    }
