#Filters.news-filter-panel {
    margin-bottom: 28px;
}

#Filters .filters_buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 15px;
    overflow: visible;
}

#Filters .filters_buttons > li {
    float: none;
    margin: 0;
}

#Filters .filters_buttons > li.reset {
    margin-left: auto;
}

.news-filter-menu {
    position: relative;
}

.news-filter-menu > summary {
    display: block;
    padding: 5px 9px;
    border: 1px solid #e1e1e1;
    background: #fff;
    color: #626262;
    cursor: pointer;
    list-style: none;
}

.news-filter-menu > summary::-webkit-details-marker {
    display: none;
}

.news-filter-menu > summary:focus-visible,
#Filters .news-filter-options a:focus-visible {
    outline: 2px solid #2997d5;
    outline-offset: 2px;
}

.news-filter-menu[open] > summary {
    border-color: #2997d5;
    color: #1688cf;
}

#Filters .news-filter-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 100;
    display: none;
    width: min(360px, calc(100vw - 40px));
    max-height: 300px;
    margin: 0;
    padding: 6px;
    overflow-y: auto;
    border: 1px solid #e1e1e1;
    background: #fff;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .14);
    list-style: none;
}

#Filters .news-filter-menu[open] > .news-filter-options {
    display: block;
}

#Filters .news-filter-options li {
    float: none;
    width: auto;
    margin: 0;
}

#Filters .news-filter-options li a {
    display: block;
    padding: 7px 9px;
    color: #626262;
}

#Filters .news-filter-options li a:hover,
#Filters .news-filter-options li a[aria-current="page"] {
    background: #2997d5;
    color: #fff;
}

.news-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin: 14px 0 0;
    font-size: 13px;
}

.news-active-filters > span {
    font-weight: 700;
}

.news-active-filters > a {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #ddd;
    color: #626262;
}

.news-active-filters > a:hover {
    border-color: #2997d5;
    color: #1688cf;
}

.news-post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0 0 14px;
    font-size: 12px;
}

.news-post-tags > span {
    font-weight: 700;
}

.news-post-tags a,
.news-card-tags a,
.single-news-tags a {
    color: #1688cf;
}

.news-share-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.news-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    background: #fff;
}

.news-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #f0f0f0;
}

.news-card-placeholder--fallback {
    display: none;
}

.news-card-image--failed > a {
    display: none;
}

.news-card-image--failed .news-card-placeholder--fallback {
    display: grid;
}

.news-card-image > a,
.news-card-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.news-card-image img {
    object-fit: cover;
    transition: transform .25s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.025);
}

.news-card-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    color: #8b949e;
}

.news-card-placeholder i {
    font-size: 36px;
}

.news-featured-label {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    background: #2997d5;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.news-card-body {
    padding: 14px 16px 16px;
}

.news-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 10px;
    margin: 0 0 9px;
    color: #7b8289;
    font-size: 12px;
}

.news-card-category {
    color: #1688cf;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.news-card-categories {
    display: inline-flex;
    flex: 0 1 auto;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 7px;
    max-width: 100%;
}

.news-card-categories .news-card-category {
    display: inline;
}

.news-card-category--dependency {
    color: #80621f;
}

.single-news-categories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.single-news-categories > * {
    display: inline-flex;
    max-width: 100%;
    padding: 3px 8px;
    overflow: hidden;
    border-radius: 9999px;
    background: #edf6fb;
    color: #35617a;
    font-size: 12px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.single-news-categories > .single-news-dependency {
    background: #fff5df;
    color: #77591b;
}

.single-news-category-more {
    position: relative;
}

.single-news-category-more > summary {
    cursor: pointer;
    list-style: none;
}

.single-news-category-more > summary::-webkit-details-marker {
    display: none;
}

.single-news-category-overflow {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    width: max-content;
    max-width: min(320px, 85vw);
    padding: 8px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .14);
}

.single-news-category-overflow > * {
    padding: 3px 8px;
    border-radius: 9999px;
    background: #edf6fb;
    color: #35617a;
    font-size: 12px;
}

.news-post-categories {
    display: flex;
    float: none !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    width: auto !important;
    margin: 0 0 6px !important;
    clear: none !important;
}

.news-post-categories .news-post-dependency,
.news-post-categories .news-post-category-count {
    color: #777;
}

.news-card-byline a {
    color: #666;
    text-decoration: underline;
}

.news-card-title {
    margin: 0 0 9px;
    font-size: 20px;
    line-height: 1.25;
}

.news-card-title a {
    color: #222;
}

.news-card-excerpt {
    margin: 0 0 12px;
    color: #50565c;
    font-size: 14px;
    line-height: 1.55;
}

.news-card-tags,
.single-news-tags,
.single-news-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 10px 0;
    font-size: 12px;
}

.news-card-more {
    display: inline-block;
    margin-top: 5px;
    color: #1688cf;
    font-weight: 600;
}

.news-card--compact .news-card-body {
    padding: 11px 13px 13px;
}

.news-card--compact .news-card-title {
    font-size: 16px;
    line-height: 1.35;
}

.news-card--compact .news-card-excerpt,
.news-card--compact .news-card-tags {
    display: none;
}

.news-pagination {
    clear: both;
    display: block;
    float: none;
    width: 100%;
    margin: 28px 0 10px;
}

.news-pagination .pager {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.news-pagination .pages {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.news-pagination .pages a,
.news-pagination .pages span {
    display: inline-flex;
    flex: 0 0 auto;
    min-width: 34px;
    height: 38px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    color: #444;
    line-height: 38px;
    text-decoration: none;
}

.news-pagination .pages a {
    background: #fff;
}

.news-pagination .pages a:hover {
    border-color: #2997d5;
    background: #2997d5;
    color: #fff;
}

.news-pagination .pages .active {
    border-color: #2997d5;
    background: #2997d5;
    color: #fff;
}

.news-pagination .pages .ellipsis {
    min-width: auto;
    border-color: transparent;
}

.news-pagination .prev_page,
.news-pagination .next_page {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #444;
}

.news-sidebar-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.news-sidebar-list li {
    margin: 0;
}

.sidebar .widget_categories ul.news-sidebar-categories {
    max-height: 420px;
    overflow-y: auto;
    padding: 0;
    background: transparent;
}

.sidebar .widget_categories .news-sidebar-categories > li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding: 3px 4px;
    border-bottom: 1px solid #e8ebee;
}

#Content .sidebar .widget_categories ul.news-sidebar-categories > li > a {
    display: inline-block;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    color: #444 !important;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
}

#Content .sidebar .widget_categories ul.news-sidebar-categories > li > a:hover {
    color: #1688cf;
}

.news-category-count {
    flex: 0 0 auto;
    color: #727b84;
    font-size: 12px;
}

.sidebar .widget_categories .news-sidebar-categories > li.news-category-child {
    padding-left: 16px;
}

.sidebar .Recent_posts ul li .photo {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 8px;
}

.sidebar .Recent_posts ul li .photo img {
    display: block;
    width: 100%;
    height: 100% !important;
    max-height: none;
    border-radius: 8px;
    object-fit: cover;
}

.sidebar .widget iframe {
    max-width: 100%;
}

.single-news-article {
    padding: 0 0 26px;
}

.single-news-header {
    margin: 0 0 22px;
}

.single-news-title {
    margin: 8px 0 12px;
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.15;
    color: #202a33;
}

.single-news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 18px;
    color: #757d84;
    font-size: 13px;
}

.single-news-meta a {
    color: #1688cf;
}

.single-news-excerpt {
    margin: 18px 0 0;
    color: #555d64;
    font-size: 18px;
    line-height: 1.55;
}

.single-news-featured-image {
    margin: 0 0 28px;
}

.single-news-featured-image img {
    display: block;
    width: 100%;
    max-height: 560px;
    object-fit: cover;
}

.single-news-content {
    color: #30363b;
    font-size: 17px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.single-news-content > :first-child {
    margin-top: 0;
}

.single-news-content img,
.single-news-content video,
.single-news-content iframe,
.single-news-content object {
    max-width: 100%;
}

.single-news-content img {
    height: auto;
}

.single-news-attachments {
    margin: 26px 0;
    padding: 16px 18px;
    border: 1px solid #e6e6e6;
    background: #fafafa;
}

.single-news-attachments h2,
.single-news-author h2 {
    margin: 0 0 12px;
    font-size: 18px;
}

.single-news-attachments ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.single-news-attachments li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #e6e6e6;
}

.single-news-attachments li:last-child {
    border-bottom: 0;
}

.single-news-pdf-preview {
    flex: 0 0 100%;
    margin: 18px 0;
    border: 1px solid #d9dee7;
    background: #f3f5f7;
}

.single-news-pdf-preview iframe {
    display: block;
    width: 100%;
    height: min(78vh, 900px);
    min-height: 520px;
    border: 0;
}

.single-news-attachments li > span {
    color: #737b82;
    font-size: 11px;
}

.single-news-attachments .single-news-media-unavailable {
    color: #9a3b3b;
    font-size: 13px;
}

.single-news-footer {
    margin: 26px 0;
    padding: 14px 0;
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
}

.single-news-share a,
.single-news-tags a {
    display: inline-block;
    padding: 5px 9px;
    border: 1px solid #e5e5e5;
    background: #fff;
}

.single-news-author {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 28px 0;
    padding: 18px;
    border: 1px solid #e8e8e8;
    background: #fafafa;
}

.single-news-author img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.single-news-author p {
    margin: 0;
    color: #656d74;
}

.related-news-section {
    margin: 34px 0 10px;
}

@media (min-width: 768px) and (max-width: 1199px) {
    #Subheader .column.one {
        float: none;
        width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
    }

    #Subheader .title {
        float: none;
        width: 100%;
        text-align: left;
    }

    #Subheader ul.breadcrumbs {
        display: flex;
        float: none;
        width: 100%;
        justify-content: flex-start;
        margin-top: 8px;
        text-align: left;
    }

    #Content .content_wrapper {
        padding: 0 14px;
        box-sizing: border-box;
    }

    #Content .sections_group,
    #Content .sidebar {
        float: none;
        width: 100%;
        margin: 0;
    }

    #Content .sections_group {
        padding: 0;
    }

    .related-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    #Subheader {
        padding: 22px 0;
    }

    #Subheader .container,
    #Content .content_wrapper {
        width: 100%;
        box-sizing: border-box;
    }

    #Subheader .column.one {
        padding: 0 16px;
        box-sizing: border-box;
    }

    #Subheader .title {
        float: none;
        width: 100%;
        margin: 0;
        text-align: left;
        font-size: clamp(24px, 7vw, 30px);
        line-height: 1.2;
    }

    #Subheader ul.breadcrumbs {
        display: flex !important;
        float: none;
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 4px 8px;
        margin: 8px 0 0;
        font-size: 13px;
        line-height: 1.4;
        text-align: left;
    }

    #Subheader .breadcrumbs li {
        float: none;
        margin: 0;
        white-space: nowrap;
    }

    #Content .content_wrapper {
        padding: 0 14px;
    }

    #Content .sections_group,
    #Content .sidebar {
        float: none;
        width: 100%;
        margin: 0;
    }

    #Content .sections_group {
        padding: 0;
    }

    #Filters.news-filter-panel {
        position: relative;
        z-index: 2;
        margin-bottom: 22px;
    }

    .related-news-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    #Filters .filters_buttons {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    #Filters .filters_buttons > li.label,
    #Filters .filters_buttons > li.reset {
        grid-column: 1 / -1;
    }

    #Filters .news-filter-menu,
    #Filters .news-filter-menu > summary {
        width: 100%;
        box-sizing: border-box;
    }

    #Filters .news-filter-menu > summary {
        min-height: 42px;
        padding: 10px;
    }

    #Filters .news-filter-options {
        width: min(360px, calc(100vw - 40px));
    }

    #Filters .filters_buttons > li.reset {
        margin-left: 0;
    }

    .timeline .post-item {
        margin: 0 0 22px;
        padding: 12px;
        overflow: hidden;
        border: 1px solid #e8ebee;
        border-radius: 10px;
        background: #fff;
        box-sizing: border-box;
    }

    .timeline .post-item .date_label {
        margin-bottom: 10px;
    }

    .timeline .post-item .image_frame,
    .timeline .post-item .post-desc-wrapper,
    .timeline .post-item .post-desc {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-left: 0;
        box-sizing: border-box;
    }

    .timeline .post-item .post-desc {
        padding: 14px 0 0;
    }

    .timeline .post-item .entry-title {
        font-size: clamp(21px, 6vw, 27px);
        line-height: 1.25;
    }

    .timeline .post-item .post-excerpt {
        font-size: 15px;
        line-height: 1.6;
    }

    .timeline .post-item .post-footer {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px 12px;
        padding: 10px;
        box-sizing: border-box;
    }

    .timeline .post-item .news-share-links {
        flex: 0 0 auto;
    }

    .sidebar .widget {
        margin-bottom: 24px;
    }

    .sidebar .widget iframe {
        width: 100%;
    }

    .sidebar .Recent_posts ul li .photo {
        flex: 0 0 64px;
        width: 64px;
        height: 64px;
    }

    .sidebar .Recent_posts ul li .photo img {
        width: 100%;
    }

    .single-news-article {
        padding-bottom: 18px;
    }

    .single-news-header {
        margin-bottom: 18px;
    }

    .single-news-meta {
        gap: 6px 12px;
        font-size: 12px;
    }

    .single-news-featured-image {
        margin-bottom: 20px;
    }

    .single-news-content {
        font-size: 16px;
        line-height: 1.7;
    }

    .single-news-attachments {
        margin: 20px 0;
        padding: 12px;
    }

    .single-news-pdf-preview iframe {
        height: 65vh;
        min-height: 360px;
    }

    .single-news-author {
        gap: 10px;
        margin: 22px 0;
        padding: 12px;
    }

    .single-news-author img {
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
    }

    .news-pagination {
        margin-top: 18px;
    }

    .news-pagination .pager {
        justify-content: flex-start;
        gap: 8px;
        padding: 0 8px 4px;
    }

    .news-pagination .pages {
        gap: 4px;
        justify-content: flex-start;
        padding: 0 4px;
    }

    .news-pagination .pages a,
    .news-pagination .pages span {
        min-width: 32px;
        height: 34px;
        padding: 0 7px;
        line-height: 34px;
    }
}
