/* ============================================================
   Publications — academic list
   Prefix: .v16-pub-
   ============================================================ */

.v16-pub-hero {
    padding: clamp(18px, 2.8vw, 30px) 0 clamp(22px, 3.2vw, 36px);
    background: linear-gradient(
        135deg,
        rgba(10, 54, 82, 0.97) 0%,
        rgba(0, 88, 128, 0.92) 38%,
        rgba(14, 62, 96, 0.94) 62%,
        rgba(10, 54, 82, 0.98) 100%
    );
}

.v16-pub-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 760px;
}

.v16-pub-hero .v16-inner-hero__content {
    gap: 10px;
}

.v16-pub-hero .v16-breadcrumb {
    margin-bottom: 0;
}

.v16-pub-hero h1 {
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    line-height: 1.12;
}

.v16-pub-hero__search {
    width: 100%;
    max-width: 520px;
    margin-top: 8px;
}

.v16-pub-hero__search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 0 8px 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.7);
}

.v16-pub-hero__search-field:focus-within {
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.v16-pub-hero__search-field input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 11px 0;
    font: inherit;
    font-size: 0.9rem;
    color: #fff;
    outline: none;
}

.v16-pub-hero__search-field input::placeholder {
    color: rgba(255, 255, 255, 0.52);
}

.v16-pub-hero__search-field input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.v16-pub-hero__clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
}

.v16-pub-hero__clear:hover,
.v16-pub-hero__clear:focus-visible {
    background: rgba(255, 255, 255, 0.22);
}

.v16-pub-hero__count {
    margin: 4px 0 0;
    font-size: 0.9rem;
    color: rgba(228, 244, 255, 0.72);
}

.v16-pub-hero__count strong {
    color: #fff;
    font-weight: 700;
}

.v16-pub-page {
    padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 88px);
}

.v16-pub-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(24px) saturate(158%);
    -webkit-backdrop-filter: blur(24px) saturate(158%);
    box-shadow:
        0 28px 72px rgba(10, 54, 82, 0.09),
        0 6px 20px rgba(10, 54, 82, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    overflow: hidden;
}

.v16-pub-row {
    display: grid;
    grid-template-columns: 8.5rem minmax(0, 1fr) auto;
    gap: clamp(12px, 2vw, 28px);
    align-items: start;
    padding: clamp(20px, 2.8vw, 28px) clamp(20px, 3vw, 32px);
    border-bottom: 1px solid rgba(10, 54, 82, 0.06);
}

.v16-pub-row:last-child {
    border-bottom: 0;
}

.v16-pub-row__meta time {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(10, 54, 82, 0.52);
    white-space: nowrap;
}

.v16-pub-row__title {
    margin: 0;
    font-family: "Cormorant Garamond", "Noto Serif Georgian", Georgia, serif;
    font-size: clamp(1.18rem, 1.8vw, 1.42rem);
    font-weight: 600;
    line-height: 1.32;
    color: #0a3652;
    letter-spacing: -0.01em;
}

.v16-pub-row__authors {
    margin: 8px 0 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: rgba(10, 54, 82, 0.68);
    font-style: italic;
}

.v16-pub-row__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 102, 142, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(232, 246, 252, 0.72));
    color: var(--tma-teal, #00668e);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.v16-pub-row__link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.v16-pub-row__link:hover,
.v16-pub-row__link:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(0, 102, 142, 0.38);
    box-shadow: 0 10px 22px rgba(0, 102, 142, 0.14);
    color: #0a3652;
}

.v16-pub-empty {
    text-align: center;
    padding: clamp(40px, 6vw, 72px) 20px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.76);
}

.v16-pub-empty__icon {
    display: inline-flex;
    color: var(--tma-teal, #00668e);
    margin-bottom: 12px;
}

.v16-pub-empty h2 {
    margin: 0 0 8px;
    font-size: 1.3rem;
    color: #0a3652;
}

.v16-pub-empty p {
    margin: 0;
    color: rgba(10, 54, 82, 0.62);
}

.v16-pub-empty__reset {
    margin-top: 16px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid rgba(0, 102, 142, 0.22);
    background: rgba(255, 255, 255, 0.88);
    color: var(--tma-teal, #00668e);
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
}

.v16-pub-empty--filter {
    margin-bottom: 20px;
}

.v16-pub-row[hidden] {
    display: none;
}

.v16-pub-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.v16-pub-pagination__btn {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid rgba(10, 54, 82, 0.1);
    background: rgba(255, 255, 255, 0.8);
    color: #0a3652;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
}

.v16-pub-pagination__btn.is-active,
.v16-pub-pagination__btn:hover {
    background: linear-gradient(135deg, rgba(0, 104, 142, 0.96), rgba(10, 54, 82, 0.94));
    color: #fff;
    border-color: transparent;
}

.v16-pub-pagination__ellipsis {
    color: rgba(10, 54, 82, 0.4);
}

@media (max-width: 760px) {
    .v16-pub-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        padding: 20px 18px;
    }

    .v16-pub-row__link {
        justify-content: center;
        width: 100%;
    }
}
