:root {
    --pub-blue: #0d3d73;
    --pub-blue-dark: #072f5f;
    --pub-accent: #0677c8;
    --pub-bg: #f3f7fb;
    --pub-white: #ffffff;
    --pub-border: #d5e1eb;
    --pub-text: #063367;
    --pub-muted: #70859a;
}

.pub-page,
.pub-page *,
.pub-page *::before,
.pub-page *::after {
    box-sizing: border-box;
}

.pub-page {
    background: var(--pub-bg);
    font-family: "Open Sans", Arial, sans-serif;
}

.pub-container {
    width: calc(100% - 40px);
    max-width: 1450px;
    margin: 0 auto;
}


/* HERO */

.pub-hero {
    padding: 52px 0 50px;
    background: var(--pub-blue);
    color: #fff;
}

.pub-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #53c4ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.pub-hero h1 {
    margin: 0;
    color: #fff;
    font-size: 38px;
    font-weight: 700;
}

.pub-hero p {
    max-width: 720px;
    margin: 13px 0 0;
    color: rgba(255,255,255,.92);
    font-size: 13px;
    line-height: 1.65;
}


/* CONTENT */

.pub-content {
    padding: 48px 0 70px;
}


/* HEADING */

.pub-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.pub-small-label {
    display: block;
    margin-bottom: 6px;
    color: #0d79c7;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.pub-heading h2 {
    margin: 0;
    color: var(--pub-text);
    font-size: 25px;
    font-weight: 700;
}

.pub-line {
    width: 50px;
    height: 3px;
    margin-top: 9px;
    background: #0d81d5;
}

.pub-count {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border: 1px solid var(--pub-border);
    border-radius: 20px;
    background: #fff;
    color: #536b80;
    font-size: 9px;
}


/* FILTER */

.pub-filter-card {
    padding: 14px;
    border: 1px solid var(--pub-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(11,50,100,.04);
}

.pub-filter-form {
    display: grid;
    grid-template-columns: minmax(0,1fr) 210px 90px;
    gap: 10px;
}

.pub-search-box,
.pub-select-box {
    position: relative;
}

.pub-search-box i,
.pub-select-box i {
    position: absolute;
    top: 50%;
    left: 14px;
    z-index: 2;
    transform: translateY(-50%);
    color: #7a90a6;
    font-size: 11px;
}

.pub-search-box input,
.pub-select-box select {
    width: 100%;
    height: 43px;
    border: 1px solid #cad8e5;
    border-radius: 7px;
    outline: none;
    background: #fff;
    color: #51697e;
    font-size: 10.5px;
}

.pub-search-box input {
    padding: 0 14px 0 39px;
}

.pub-select-box select {
    padding: 0 35px 0 39px;
}

.pub-search-box input:focus,
.pub-select-box select:focus {
    border-color: #0c70ba;
}

.pub-search-btn {
    border: 0;
    border-radius: 7px;
    background: var(--pub-blue);
    color: #fff;
    font-size: 9.5px;
    font-weight: 800;
}

.pub-search-btn:hover {
    background: var(--pub-blue-dark);
}


/* LIST */

.pub-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-top: 22px;
}


/* ITEM */

.pub-item {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 15px 17px;
    border: 1px solid var(--pub-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(11,50,100,.025);
}

.pub-item:hover {
    border-color: #bed0df;
}

.pub-item-left {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.pub-file-icon {
    width: 50px;
    height: 50px;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #edf5fb;
    color: #e73535;
    font-size: 21px;
}

.pub-item-info {
    min-width: 0;
}

.pub-item-info h3 {
    margin: 0;
    color: var(--pub-text);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
}

.pub-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-top: 7px;
}

.pub-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #778a9d;
    font-size: 8.5px;
}

.pub-meta i {
    color: #7f94a9;
}

.pub-type {
    padding: 3px 7px;
    border-radius: 4px;
    background: #edf3f8;
    color: #0d467b !important;
    font-weight: 800;
}

.pub-item-info p {
    max-width: 900px;
    margin: 7px 0 0;
    color: #718497;
    font-size: 9px;
    line-height: 1.5;
}


/* ACTIONS */

.pub-actions {
    display: flex;
    flex-shrink: 0;
    gap: 7px;
}

.pub-btn {
    min-height: 37px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 13px;
    border-radius: 7px;
    text-decoration: none;
    font-size: 9px;
    font-weight: 800;
}

.pub-btn-view {
    background: var(--pub-blue);
    color: #fff;
}

.pub-btn-view:hover {
    background: var(--pub-blue-dark);
    color: #fff;
}

.pub-btn-download {
    border: 1px solid #c9d7e4;
    background: #fff;
    color: var(--pub-text);
}

.pub-btn-download:hover {
    background: #f4f8fb;
    color: var(--pub-text);
}


/* EMPTY */

.pub-empty {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--pub-border);
    border-radius: 12px;
    background: #fff;
    text-align: center;
}

.pub-empty i {
    margin-bottom: 13px;
    color: #7890a6;
    font-size: 28px;
}

.pub-empty h3 {
    margin: 0;
    color: var(--pub-text);
    font-size: 16px;
}

.pub-empty p {
    margin: 7px 0 0;
    color: var(--pub-muted);
    font-size: 10px;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .pub-filter-form {
        grid-template-columns: 1fr 180px;
    }

    .pub-search-btn {
        grid-column: 1 / -1;
        min-height: 42px;
    }

}

@media (max-width: 700px) {

    .pub-container {
        width: calc(100% - 24px);
    }

    .pub-hero {
        padding: 34px 0;
    }

    .pub-hero h1 {
        font-size: 27px;
    }

    .pub-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .pub-filter-form {
        grid-template-columns: 1fr;
    }

    .pub-search-btn {
        grid-column: auto;
        min-height: 42px;
    }

    .pub-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .pub-actions {
        width: 100%;
    }

    .pub-btn {
        flex: 1;
    }

}