.publications-page .pubcats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px
}

@media (max-width: 1280px) {
    .publications-page .pubcats {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width: 680px) {
    .publications-page .pubcats {
        grid-template-columns: 1fr
    }
}

.publications-page .pcat {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .06)
}

.publications-page .pcat .icon {
    flex: 0 0 56px;
    height: 56px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #f1f5f9
}

.publications-page .pcat .icon svg {
    width: 28px;
    height: 28px;
    color: var(--brand)
}

.publications-page .pcat h3 {
    font-size: 1.1rem;
    color: #0b2e5c;
    margin: 2px 0 4px;
    font-weight: 800
}

.publications-page .pcat p {
    color: var(--muted);
    font-size: .95rem
}

.publications-page .pcat-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 8px;
    color: #475569;
    font-size: .9rem;
    flex-wrap: wrap
}

.publications-page .pcat-meta .count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border: 1px solid #e6eef3;
    border-radius: 999px;
    background: #fff;
    color: #0b2e5c;
    font-weight: 700
}

.publications-page .pcat .cta {
    margin-left: auto;
    white-space: nowrap
}

.publications-page .pcat .cta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #e6eef3;
    border-radius: 10px;
    background: #fff;
    color: #0b2e5c;
    font-weight: 700;
    text-decoration: none
}

.publications-page .pcat .cta a:hover {
    background: #f7fafc
}

.publications-page .section-title {
    font-weight: 800;
    color: #0b2e5c;
    margin: 26px 0 12px
}

.publications-page .section-sub {
    color: var(--muted);
    margin: -6px 0 14px
}

.publications-page .series-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px
}

@media (max-width: 1100px) {
    .publications-page .series-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width: 680px) {
    .publications-page .series-grid {
        grid-template-columns: 1fr
    }
}

.publications-page .series-card {
    background: #f8fafc;
    border: 1px solid #e6eef3;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    gap: 16px
}

.publications-page .series-card .cover {
    width: 76px;
    height: 104px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .08);
    flex-shrink: 0
}

.publications-page .series-card .cover img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.publications-page .series-card h4 {
    font-size: 1rem;
    color: #0b2e5c;
    margin: 2px 0 6px;
    font-weight: 800
}

.publications-page .series-card .stat {
    display: flex;
    gap: 10px;
    color: #64748b;
    font-size: .9rem
}

.publications-page .series-card .actions {
    margin-top: 10px
}

.publications-page .series-card .actions a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #e6eef3;
    border-radius: 10px;
    background: #fff;
    color: #0b2e5c;
    text-decoration: none
}

.publications-page .series-card .actions a:hover {
    background: #f1f5f9
}

.publications-page .year-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px
}

@media (max-width: 1280px) {
    .publications-page .year-grid {
        grid-template-columns: repeat(6, 1fr)
    }
}

@media (max-width: 900px) {
    .publications-page .year-grid {
        grid-template-columns: repeat(4, 1fr)
    }
}

@media (max-width: 560px) {
    .publications-page .year-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

.publications-page .year-grid a {
    display: grid;
    place-items: center;
    height: 44px;
    border: 1px solid #e6eef3;
    border-radius: 10px;
    background: #fff;
    font-weight: 700;
    color: #0b2e5c;
    text-decoration: none
}

.publications-page .year-grid a:hover {
    background: #f7fafc
}

.publications-page .empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    text-align: center;
}

.publications-page .empty-state .empty-icon {
    width: 48px;
    height: 48px;
    color: #94a3b8;
    margin-bottom: 16px;
}

.publications-page .empty-state p {
    font-size: 1rem;
    font-weight: 600;
    color: #475569;
    margin: 0;
}

/* Publications List Layout */
.publications-page .pubs {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 28px;
}

@media (max-width: 980px) {
    .publications-page .pubs {
        grid-template-columns: 1fr;
    }
}

.publications-page .p-left {
    align-self: start;
    position: sticky;
    top: 160px;
}

@media (max-width: 980px) {
    .publications-page .p-left {
        position: static;
    }
}

.publications-page .p-card {
    background: #fff;
    border: 1px solid #e6eef3;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
    padding: 16px;
}

.publications-page .p-title {
    font-weight: 800;
    color: #0b2e5c;
    margin-bottom: 12px;
}

.publications-page .p-note {
    font-size: .95rem;
    color: #475569;
    margin-bottom: 12px;
}

.publications-page .searchbar {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.publications-page .searchbar input {
    width: 100%;
    height: 40px;
    border: 1px solid #e6eef3;
    border-radius: 10px;
    padding: 0 12px;
    font: inherit;
}

.publications-page .searchbar button {
    height: 40px;
    padding: 0 14px;
    border: 1px solid #e6eef3;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

.publications-page .searchbar button:hover {
    background: #f7fafc;
}

.publications-page .filter-group {
    margin-top: 12px;
}

.publications-page .filter-group .ft-label {
    font-size: .9rem;
    color: #475569;
    margin-bottom: 8px;
}

.publications-page .chk {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
}

.publications-page .chk label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .95rem;
    color: #0b172a;
}

.publications-page .chk input {
    accent-color: var(--brand);
}

.publications-page .filter-select {
    width: 100%;
    height: 40px;
    padding: 0 32px 0 12px;
    border: 1px solid #e6eef3;
    border-radius: 8px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230b2e5c' d='M2 4l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 10px center;
    color: #0b2e5c;
    font-size: .9rem;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.publications-page .filter-select:focus {
    outline: none;
    border-color: var(--brand);
}

.publications-page .p-right {
    align-self: start;
}

.publications-page .catbar {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.publications-page .cat-select {
    flex: 1;
    max-width: 300px;
    height: 48px;
    padding: 0 40px 0 16px;
    border: 2px solid #e6eef3;
    border-radius: 12px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230b2e5c' d='M2 4l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 16px center;
    color: #0b2e5c;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.publications-page .cat-select:hover {
    border-color: #cbd5e1;
}

.publications-page .cat-select:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(7, 91, 94, 0.1);
}

.publications-page .more-btn {
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 16px;
    border: 1px solid #e6eef3;
    border-radius: 10px;
    background: #fff;
    color: #0b2e5c;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    white-space: nowrap;
}

.publications-page .more-btn:hover {
    background: #f7fafc;
}

.publications-page .count-row {
    color: #475569;
    margin-bottom: 10px;
    font-size: .95rem;
}

.publications-page .toolbar {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.publications-page .toolbar-left {
    display: flex;
    gap: 10px;
    align-items: center;
}

.publications-page .toolbar-right {
    display: flex;
    gap: 8px;
    align-items: center;
}

.publications-page .select {
    height: 42px;
    border: 1px solid #e6eef3;
    border-radius: 10px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230b2e5c' d='M2 4l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center;
    padding: 0 32px 0 14px;
    color: #0b2e5c;
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color .2s, box-shadow .2s;
}

.publications-page .select:hover {
    border-color: #cbd5e1;
}

.publications-page .select:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(var(--brand-rgb, 11, 46, 92), 0.1);
}

.publications-page .viewbtn {
    height: 38px;
    padding: 0 12px;
    border: 1px solid #e6eef3;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

.publications-page .viewbtn[aria-pressed="true"] {
    background: #f1f5f9;
}

.publications-page .pubs-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.publications-page .pubs-list.list {
    grid-template-columns: 1fr;
}

@media (max-width: 1280px) {
    .publications-page .pubs-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .publications-page .pubs-list {
        grid-template-columns: 1fr;
    }
}

.publications-page .pub {
    background: #fff;
    border: 1px solid #e6eef3;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .06);
    display: grid;
    grid-template-columns: 120px 1fr;
}

.publications-page .pub.grid {
    grid-template-columns: 1fr;
}

.publications-page .pub .cover {
    background: #f8fafc;
    display: grid;
    place-items: center;
    min-height: 100px;
}

.publications-page .pub .cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.publications-page .pub .body {
    padding: 14px;
}

.publications-page .pub .title {
    font-weight: 800;
    color: #0b2e5c;
    margin-bottom: 6px;
}

.publications-page .pub .excerpt {
    color: #475569;
    font-size: .95rem;
    margin-bottom: 10px;
}

.publications-page .pub .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #64748b;
    font-size: .9rem;
    margin-bottom: 10px;
}

.publications-page .pub .meta .dot:before {
    content: "·";
    margin: 0 6px;
    color: #cbd5e1;
}

.publications-page .ftype {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #e6eef3;
    background: #fff;
    color: #0b2e5c;
}

.publications-page .ftype[data-type="pdf"] {
    border-color: #ef4444;
    color: #991b1b;
    background: #fef2f2;
}

.publications-page .ftype[data-type="doc"],
.publications-page .ftype[data-type="docx"] {
    border-color: #3b82f6;
    color: #1e3a8a;
    background: #eff6ff;
}

.publications-page .ftype-badge {
    display: inline-flex;
    align-items: center;
    font-size: .75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    text-transform: uppercase;
}

.publications-page .ftype-badge[data-type="pdf"] {
    background: #fef2f2;
    color: #991b1b;
}

.publications-page .ftype-badge[data-type="doc"],
.publications-page .ftype-badge[data-type="docx"] {
    background: #eff6ff;
    color: #1e3a8a;
}

.publications-page .meta-item {
    color: #64748b;
    font-size: .9rem;
}

.publications-page .meta-item::before {
    content: "•";
    margin: 0 8px;
    color: #cbd5e1;
}

.publications-page .pub .actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.publications-page .pub .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #e6eef3;
    border-radius: 10px;
    background: #fff;
    color: #0b2e5c;
    font-weight: 700;
    text-decoration: none;
}

.publications-page .pub .btn:hover {
    background: #f7fafc;
}

.publications-page .pub .btn.primary {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.publications-page .hero-pub {
    display: flex;
    gap: 18px;
    align-items: stretch;
    background: #f8fafc;
    border: 1px solid #e6eef3;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 18px;
}

.publications-page .hero-pub .hp-cover {
    width: 140px;
    min-height: 180px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.publications-page .hero-pub .hp-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.publications-page .hero-pub .hp-body {
    flex: 1;
}

.publications-page .hero-pub .hp-title {
    font-weight: 800;
    font-size: 1.1rem;
    color: #0b2e5c;
}

.publications-page .hero-pub .hp-meta {
    display: flex;
    gap: 8px;
    color: #64748b;
    font-size: .92rem;
    margin: 6px 0 10px;
}

.publications-page .hero-pub .hp-excerpt {
    color: #475569;
    font-size: .95rem;
    line-height: 1.5;
}

.publications-page .hero-pub .hp-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

@media (max-width: 580px) {
    .publications-page .hero-pub {
        flex-direction: column;
    }

    .publications-page .hero-pub .hp-cover {
        width: 100%;
        height: 160px;
    }
}

/* Mobile overflow fixes */
.publications-page .p-card {
    overflow: hidden;
}

.publications-page .pubs>* {
    min-width: 0;
}

.publications-page .p-right {
    min-width: 0;
    overflow: hidden;
}

@media (max-width: 720px) {
    .publications-page .toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .publications-page .toolbar-left {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .publications-page .toolbar-right {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .publications-page .cat-select {
        max-width: 100%;
        width: 100%;
    }

    .publications-page .more-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .publications-page .select {
        flex: 1;
        min-width: 0;
    }

    .publications-page .searchbar {
        flex-direction: column;
    }

    .publications-page .searchbar input,
    .publications-page .searchbar button {
        width: 100%;
    }

    .publications-page .filter-select {
        max-width: 100%;
    }
}