.pkp_brand_footer {
    display: none;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f0f5fa;
    font-family: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
    padding: 2rem 1.5rem;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.container {
    max-width: 1000px;
    width: 100%;
    background: white;
    border-radius: 2rem;
    box-shadow: 0 20px 40px -12px rgba(0, 20, 30, 0.2);
    padding: 2rem 2rem 2.5rem;
    transition: all 0.2s ease;
}

/* header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #eef3f8;
    padding-bottom: 1.2rem;
}

.header h1 {
    font-weight: 600;
    font-size: 1.9rem;
    letter-spacing: -0.3px;
    color: #0b2a3b;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.header h1 i {
    color: #2a6f97;
    font-size: 2rem;
}

.meta-badge {
    background: #e6eff6;
    padding: 0.45rem 1.2rem;
    border-radius: 40px;
    color: #1a4b66;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #cbdde9;
}

.meta-badge i {
    font-size: 0.9rem;
    color: #2a6f97;
}

/* card list — one per line */
.card-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.25rem;
}

.article-card {
    background: #ffffff;
    border-radius: 1.2rem;
    padding: 1.2rem 1.5rem 1.2rem 1.5rem;
    border: 1px solid #e6edf4;
    box-shadow: 0 3px 10px rgba(0, 20, 30, 0.04);
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.2rem 1.8rem;
}

.article-card:hover {
    background: #fafdff;
    border-color: #bed6e8;
    box-shadow: 0 8px 18px rgba(18, 52, 77, 0.08);
}

/* left: ID badge */
.article-id {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dde9f3;
    color: #124263;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.25rem 0.9rem;
    border-radius: 30px;
    border: 1px solid #b8d0e3;
    white-space: nowrap;
    min-width: 70px;
    letter-spacing: 0.2px;
}

.article-id i {
    margin-right: 6px;
    font-size: 0.75rem;
    color: #2a6f97;
}

/* middle: title + authors in a vertical stack */
.article-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0; /* prevent overflow */
}

.article-title {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    color: #0c2d41;
    word-break: break-word;
}

.article-authors {
    font-size: 0.9rem;
    color: #2a4c63;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.2rem 0.4rem;
}

.article-authors i {
    margin-right: 0.3rem;
    color: #3b799e;
    font-size: 0.8rem;
}

/* right: PDF button */
.card-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
}

.pdf-btn {
    background: #1d5b7a;
    border: none;
    color: white;
    font-weight: 500;
    padding: 0.45rem 1.3rem;
    border-radius: 40px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    border: 1px solid #1a4f6b;
    box-shadow: 0 2px 6px rgba(0, 40, 60, 0.08);
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.pdf-btn i {
    font-size: 1rem;
    color: #b8def5;
}

.pdf-btn:hover {
    background: #124a63;
    transform: scale(0.97);
    box-shadow: 0 4px 10px rgba(0, 40, 60, 0.15);
}

.pdf-btn:active {
    background: #0d3b50;
    transform: scale(0.94);
}

.pdf-btn:focus-visible {
    outline: 2px solid #8bc1e0;
    outline-offset: 2px;
}

/* toast notification */
.toast-message {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: #0b2f42;
    color: #f0f9ff;
    padding: 0.8rem 2rem;
    border-radius: 60px;
    font-weight: 500;
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.25);
    border: 1px solid #3b7f9e;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(4px);
    background: rgba(8, 38, 55, 0.92);
}

.toast-message.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.toast-message i {
    color: #93d0f0;
    font-size: 1.2rem;
}

.footer-note {
    margin-top: 2.5rem;
    font-size: 0.85rem;
    text-align: center;
    color: #4a6f87;
    border-top: 1px solid #dde9f2;
    padding-top: 1.8rem;
    letter-spacing: 0.2px;
}

.footer-note i {
    color: #2f7ca3;
    margin-right: 0.4rem;
}

/* responsive: stack on small screens */
@media (max-width: 720px) {
    body { padding: 0.8rem; }
    .container { padding: 1.2rem; }
    .header h1 { font-size: 1.5rem; }

    .article-card {
        grid-template-columns: 1fr;
        gap: 0.6rem;
        padding: 1.2rem 1rem;
    }

    .article-id {
        align-self: flex-start;
        min-width: auto;
        font-size: 0.8rem;
    }

    .card-actions {
        justify-content: flex-start;
        margin-top: 0.2rem;
    }

    .pdf-btn {
        padding: 0.4rem 1.2rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .article-title { font-size: 0.95rem; }
    .article-authors { font-size: 0.8rem; }
}