/* Authors Hero */
.authors-hero {
    /*background: linear-gradient(45deg, rgba(0, 0, 0, .8), rgba(0, 0, 0, .5)), url('../images/authors.jpg');*/
    background: linear-gradient(45deg, #800000, #800000);
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    /* margin-bottom: 40px; */
    border-bottom: 2px solid var(--red);
    position: relative;
    overflow: hidden;
}

.authors-hero::before {
    content: "AUTHORS";
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-family: var(--serif);
    font-size: 100px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
}

.authors-hero-title {
    font-family: var(--serif);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.authors-hero-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 2px;
    /*background: var(--red);*/
    background: #dfdfdf;
}

.authors-hero-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
    max-width: 600px;
}

/* Authors Content */
.authors-content-section {
    padding: 30px 0 50px 0;
    background: var(--smoke);
}

.authors-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.authors-title {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--red);
    display: inline-block;
}

/* Alphabet Filter */
.alphabet-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 30px;
    padding: 15px;
    background: var(--smoke);
    border-radius: 6px;
    border: 1px solid var(--line);
    justify-content: center;
}

.alpha-btn {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid var(--line);
    color: var(--ink3);
    font-weight: 600;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.alpha-btn:hover {
    background: var(--red);
    color: white;
    border-color: var(--red);
}

.alpha-btn.active {
    background: var(--red);
    color: white;
    border-color: var(--red);
}

.alpha-btn.disabled {
    opacity: 0.3;
    pointer-events: none;
    background: #f0f0f0;
}

/* Authors Table */
.authors-table-container {
    margin-top: 20px;
}

.authors-table {
    width: 100%;
    border-collapse: collapse;
}

.authors-table thead {
    background: var(--smoke);
    border-bottom: 2px solid var(--red);
}

.authors-table th {
    padding: 15px 20px;
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    text-align: left;
}

.authors-table tbody tr {
    border-bottom: 1px solid var(--line);
    transition: background 0.2s;
}

.authors-table tbody tr:hover {
    background: rgba(200, 16, 46, 0.02);
}

.authors-table td {
    padding: 15px 20px;
    color: var(--ink3);
    font-size: 14px;
    line-height: 1.6;
    vertical-align: top;
}

.author-name {
    font-family: var(--serif);
    font-weight: 700 !important;
    color: var(--red);
    white-space: nowrap;
}

.author-affiliation {
    color: var(--ink3);
}

/* Letter Section */
.letter-section {
    margin-top: 40px;
}

.letter-header {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--line);
}

/* Authors Pagination */
.authors-pagination {
    margin-top: 20px;
    padding-top: 20px;
    /* border-top: 1px solid var(--line); */
}

.authors-pagination .pagination {
    margin-bottom: 0;
}

.authors-pagination .page-link {
    color: var(--ink3);
    border: 1px solid var(--line);
    padding: 8px 14px;
    font-size: 14px;
    transition: all 0.2s;
}

.authors-pagination .page-link:hover {
    background: var(--red);
    color: white;
    border-color: var(--red);
}

.authors-pagination .page-item.active .page-link {
    background: var(--red);
    border-color: var(--red);
    color: white;
}

.authors-pagination .page-item.disabled .page-link {
    color: var(--line);
    pointer-events: none;
}


/* Responsive */
@media (max-width: 768px) {
    .authors-card {
        padding: 25px;
    }

    .authors-hero::before {
        font-size: 70px;
    }

    .authors-table thead {
        display: none;
    }

    .authors-table tbody tr {
        display: block;
        padding: 15px;
        border: 1px solid var(--line);
        margin-bottom: 15px;
        border-radius: 6px;
    }

    .authors-table td {
        display: block;
        padding: 5px 0;
        border: none;
    }

    .authors-table td:first-child {
        font-weight: 600;
        color: var(--red);
        font-family: var(--serif);
        font-size: 16px;
    }

    .alpha-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .authors-pagination .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }

    .authors-pagination .page-link {
        padding: 6px 10px;
        font-size: 12px;
    }
}