/* =========================================
   NTUEE Papers of the Year
   ========================================= */

.paper-content {
    margin-left: clamp(15px, 3vw, 40px);
    margin-right: clamp(15px, 3vw, 40px);
}

.paper-year {
    margin-top: 42px;
}

.paper-year-title {
    position: relative;
    margin: 0 0 20px;
    padding: 12px 18px;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.4;
    color: #17365d;
    background: #f4f7fa;
    border-left: 5px solid #17365d;
}

.paper-table-wrap {
    margin-bottom: 48px;
    overflow-x: auto;
}

.paper-table {
    width: 100%;
}

.paper-table th {
    white-space: nowrap;
}

.paper-table td,
.paper-table th {
    vertical-align: middle;
}

.thesis-title {
    font-weight: 500;
    line-height: 1.65;
}

.authors {
    line-height: 1.7;
    white-space: nowrap;
}

.award-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
}

.best-paper {
    background: #e9eef5;
    color: #17365d;
}

.proceedings {
    background: #f1f1f1;
    color: #555;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* =========================================
   Mobile
   ========================================= */

@media (max-width: 767px) {

    .paper-year {
        margin-top: 32px;
    }

    .paper-year-title {
        font-size: 1.2rem;
        padding: 10px 14px;
    }

    .paper-table-wrap {
        margin-bottom: 36px;
    }

    .authors {
        white-space: normal;
    }

    .award-badge {
        font-size: 0.82rem;
    }
}