.hp-news-shell {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hp-news-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    flex-direction: column;
}

.hp-news-search-wrap {
    position: relative;
    width: 100%;
    max-width: 360px;
}

.hp-news-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #002e6d;
    font-size: 13px;
}

.hp-news-search-input {
    width: 100%;
    height: 35px;
    border: 1px solid #002e6d;
    padding: 0 12px 0 36px;
    color: #002e6d;
    font-family: inherit;
    background: #ffffff;
    outline: none;
    border-radius:0px;
}

.hp-news-search-input:focus {
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2), 0 2px 3px rgba(0, 0, 0, .05) !important;
    background-color: #f5f5f5;
}

.hp-news-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.hp-news-toolbar-search {
    margin-left: auto;
}

.hp-news-toolbar-label {
    color: #002B66 ;
    font-family: "Monserrat-SemiBold", Arial, sans-serif;
    font-size: 13px;
}

.hp-news-filter-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.hp-news-chip {
    padding: 5px 14px !important;
    margin: 0 !important;
    min-width: auto !important;
    font-family: "Monserrat-SemiBold", Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    cursor: pointer;
    border-radius: 20px !important;
    border: 1px solid #009BDE !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    background: white !important;
    color: #009BDE !important;
}

.hp-news-chip:hover {
    text-decoration: none;
}

.hp-news-chip.is-active {
    background-color: #009BDE !important;
    color: white !important;
    box-shadow: none !important;
    transform: none !important;
}

.hp-news-content {
    padding: 1rem;
    border: none;
    background: white;
}

.hp-news-grid {
    display: flex;
    flex-direction: column;
    border: 1px solid #e6e6e6;
    border-radius: 0px;
    overflow: hidden;
}

.hp-news-item {
    background: #fff;
    border-bottom: 1px solid #e6e6e6;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.hp-news-item:last-child {
    border-bottom: none;
}

.hp-news-item-main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.hp-news-item-content {
    min-width: 0;
    text-align: left;
}

.hp-news-item-actions {
    flex: 0 0 auto;
}

.hp-news-item-title {
    margin: 0 0 4px 0;
    color: #002B66;
    font-size: 17px;
    line-height: 1.2;
    font-family: "Monserrat-SemiBold", Arial, sans-serif;
    font-weight: 600;
    text-align: left;
}

.hp-news-item-desc {
    margin: 0;
    color: #000;
    font-size: 11px;
    font-style: italic;
    line-height: 1.3;
    font-family: "Monserrat-medium", Arial, sans-serif;
    text-align: left;
}

.hp-news-item-meta {
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hp-news-iconbox {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    background: #eef4fb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hp-news-iconbox-list {
    margin-top: 2px;
}

.hp-news-fa-icon {
    color: #0f4c91;
    font-size: 18px;
}

.hp-news-thumb {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 6px;
    cursor: zoom-in;
}
.hp-news-thumb.is-link {
    cursor: pointer;
}

.hp-news-item.type-pdf .hp-news-fa-icon { color: #e53935; }
.hp-news-item.type-xlsx .hp-news-fa-icon { color: #2e7d32; }
.hp-news-item.type-docx .hp-news-fa-icon { color: #1565c0; }
.hp-news-item.type-pptx .hp-news-fa-icon { color: #ef6c00; }
.hp-news-item.type-web .hp-news-fa-icon { color: #5c6bc0; }
.hp-news-item.type-image .hp-news-fa-icon { color: #00acc1; }
.hp-news-item.type-txt .hp-news-fa-icon { color: #6c7a89; }

.hp-news-item.type-pdf .hp-news-iconbox { background: #fbe9e8; }
.hp-news-item.type-xlsx .hp-news-iconbox { background: #e8f5e9; }
.hp-news-item.type-docx .hp-news-iconbox { background: #e8f1fd; }
.hp-news-item.type-pptx .hp-news-iconbox { background: #fff1e8; }
.hp-news-item.type-web .hp-news-iconbox { background: #eeefff; }
.hp-news-item.type-image .hp-news-iconbox { background: #e5f8fa; }
.hp-news-item.type-txt .hp-news-iconbox { background: #eff3f7; }

.hp-news-type-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 25px;
    height: 10px;
    border-radius: 999px;
    background: transparent;
    color: #777;
    font-size: 9px;
    font-family: "Monserrat-Bold", Arial, sans-serif;
    padding: 0px;
}

.hp-news-card-action {
    color: #009BDE;
    font-family: "Monserrat-Bold", Arial, sans-serif;
    font-size: 12px;
    text-decoration: none;
}

.hp-news-btn-action {
    border: 1px solid #009BDE;
    border-radius: 8px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #ffffff;
    min-width: 120px;
    height: 30px;
}

.hp-news-card-action:hover,
.hp-news-card-action:focus {
    color: #fff;
    background-color: #009BDE;
    text-decoration: none;
}

.hp-news-empty {
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #7f90a6;
    gap: 10px;
    font-family: "Monserrat-SemiBold", Arial, sans-serif;
}

.hp-news-empty-icon {
    font-size: 44px;
    color: #b5c3d6;
}

.hp-news-footer {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #e0e7f1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.hp-news-results-meta {
    color: #002B66;
    font-family: "Monserrat-Medium", Arial, sans-serif;
    font-size: 12px;
}

#newsPager .k-pager-wrap,
#newsPager.k-pager-wrap {
    border: none;
    background: transparent;
    padding: 0;
}

#newsPager .k-link.k-state-selected,
#newsPager .k-link.k-selected {
    background: #0f4c91;
    border-color: #0f4c91;
}

.hp-news-no-scroll {
    overflow: hidden;
}

.hp-news-zoom-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
}

.hp-news-zoom-modal.is-open {
    display: block;
}

.hp-news-zoom-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 18, 35, 0.78);
}

.hp-news-zoom-panel {
    position: relative;
    width: min(92vw, 980px);
    height: min(88vh, 760px);
    margin: 4vh auto;
    background: #fff;
    border-radius: 0.25rem;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hp-news-zoom-header {
    height: 50px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e6ecf5;
    background: #002b50 ;
}

.hp-news-zoom-title {
    color: #fff;
    font-family: "Monserrat-SemiBold", Arial, sans-serif;
    font-size: 13px;
    padding-right: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hp-news-zoom-controls {
    display: inline-flex;
    gap: 8px;
}

.hp-news-zoom-btn {
    width: 32px;
    height: 32px;
    border: 2px solid #fff;
    border-radius: 15px;
    background: #002E6D;
    color: #fff;
    cursor: pointer;
}

.hp-news-zoom-btn:hover {
    border-color: #002E6D;
    background: #FFF;
    color: #002E6D;
}

.hp-news-zoom-viewport {
    flex: 1;
    background: #f2f6fc;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.hp-news-zoom-image {
    max-width: 100%;
    max-height: 100%;
    transform-origin: center center;
    transition: transform 0.15s ease-out;
    border-radius: 8px;
    box-shadow: 0 6px 14px rgba(8, 35, 72, 0.18);
}

.k-pager {
    padding: 0;
    border-width: 0px;
    border-style: none;
    box-sizing: border-box;
    outline: 0;
    font-family: Roboto, "Helvetica Neue", sans-serif;
    font-size: 14px;
    line-height: 2;
    white-space: nowrap;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    cursor: default;
    flex: 0 0 auto;
    color: #002B66;
    background-color: transparent;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.k-button-flat-primary {
    color: inherit;
}

@media (max-width: 991px) {
    .hp-news-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .hp-news-item-actions {
        width: 100%;
    }

    .hp-news-btn-action {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .hp-news-head {
        flex-direction: column;
    }

    .hp-news-search-wrap {
        max-width: 100%;
    }

    .hp-news-toolbar-search {
        margin-left: 0;
        width: 100%;
    }

    .hp-news-item-content,
    .hp-news-item-title,
    .hp-news-item-desc {
        text-align: center;
    }

    .hp-news-item-meta {
        justify-content: center;
    }

    .hp-news-item-title { font-size: 18px; }

    .hp-news-zoom-panel {
        width: 96vw;
        height: 90vh;
        margin: 3vh auto;
    }
}

@media (max-height: 700px) {
    .hp-news-content {
        padding: 0.5rem;
    }

    .hp-news-toolbar-label {
        font-size: 12px;
    }

    .hp-news-chip {
        padding: 4px 10px !important;
        font-size: 11px !important;
    }

    .hp-news-search-input {
        height: 30px;
        padding: 0 10px 0 32px;
    }

    .hp-news-item {
        padding: 6px 12px;
        gap: 8px;
    }

    .hp-news-item-title {
        font-size: 15px;
    }

    .hp-news-item-desc {
        font-size: 10px;
    }

    .hp-news-iconbox {
        width: 30px;
        height: 30px;
    }

    .hp-news-fa-icon {
        font-size: 15px;
    }

    .hp-news-thumb {
        width: 28px;
        height: 28px;
    }

    .hp-news-card-action {
        font-size: 11px;
    }

    .hp-news-btn-action {
        padding: 6px 12px;
        min-width: 100px;
        height: 26px;
    }

    .hp-news-zoom-header {
        height: 44px;
    }

    .hp-news-zoom-title {
        font-size: 12px;
    }

    .hp-news-zoom-btn {
        width: 28px;
        height: 28px;
    }
}
