/* Publication View */
.publication-page-title {
    font-size: 24px;
    font-weight: 700;
    color: #03213E;
    margin-bottom: 16px;
}

.publication-filter-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.pub-tab {
    padding: 8px 24px;
    border-radius: 20px;
    border: 2px solid #E87722;
    background: transparent;
    color: #E87722;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s;
}

.pub-tab.active,
.pub-tab:hover {
    background: #E87722;
    color: #fff;
}

.publication-year-group {
    margin-bottom: 12px;
    background: #F2F7FC;
    border-radius: 0;
}

.publication-year-group:nth-child(even) {
    background: transparent;
    border-radius: 0;
}

.publication-year-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    user-select: none;
}

.publication-year-header:hover {
    opacity: 0.85;
}

.publication-year-title {
    font-size: 28px;
    font-weight: 700;
    color: #0857C3;
}

.publication-chevron {
    width: 48px;
    height: 48px;
    color: #66788A;
    background: #fff;
    border-radius: 50%;
    padding: 12px;
    transition: transform .3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.publication-year-group:nth-child(even) .publication-chevron {
    background: #E8ECF0;
}

.publication-year-header.expanded .publication-chevron {
    transform: rotate(180deg);
}

.publication-year-content {
    padding: 0 20px 16px;
}

.publication-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #E8ECF0;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: box-shadow .2s;
}

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

.publication-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.publication-item-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    color: #8898A8;
}

.publication-item-info {
    flex: 1;
    min-width: 0;
}

.publication-item-title {
    font-size: 15px;
    font-weight: 600;
    color: #03213E;
    margin-bottom: 2px;
}

.publication-item-meta {
    font-size: 13px;
    color: #8898A8;
}

.publication-item-download {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E87722;
    border-radius: 8px;
    margin-left: 12px;
}

.publication-item-download:hover {
    background: #FFF3EB;
    color: #E87722;
}

.publication-header-section {
    margin-bottom: 8px;
    margin-top: -16px;
}

.publication-pagination .page-link {
    color: #03213E;
    border: 1px solid #E8ECF0;
    border-radius: 8px !important;
    margin: 0 3px;
    min-width: 40px;
    text-align: center;
}

.publication-pagination .page-item.active .page-link {
    background: #E87722;
    border-color: #E87722;
    color: #fff;
}

.publication-pagination .page-item.disabled .page-link {
    color: #ccc;
}

.pub-page-select {
    cursor: pointer;
    white-space: nowrap;
}

.static-bg-header {
    padding: 0px !important;
    height: 200px;
    color: #ffffff;
    background-position: right center;
    background-size: cover;
}

@media (max-width: 769px) {
    .publication-page-title {
        font-size: 20px;
    }

    .publication-item {
        padding: 12px 14px;
    }

    .publication-item-title {
        font-size: 14px;
    }

    .mobile-category-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        background: #FEF2EA;
        margin: 0 -15px 16px;
        padding: 24px 20px;
    }
    .mobile-category-wrapper .text-category {
        margin-bottom: 0;
        color: #E87722;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        white-space: nowrap;
    }
    .mobile-category-wrapper .dropdown {
        width: 100%;
        display: block !important;
    }

    .mobile-category-wrapper .btn-custom {
        border-radius: 8px !important;
    }

    .container.py-5.mb-5 {
        padding-top: 0 !important;
        margin-bottom: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }
    .publicationList {
        margin-left: -15px;
        margin-right: -15px;
    }

    .publication-pagination {
        padding-right: 10px;
    }

    .publication-header-section {
        margin-top: 0;
    }
}

@media (min-width: 770px) {
    .mobile-category-wrapper {
        display: none !important;
    }
}
