.pch-editorial-hub,
.pch-editorial-single,
.pch-editorial-article-shell {
    --pch-editorial-bg: #0b101a;
    --pch-editorial-panel: #131c2b;
    --pch-editorial-hover: #192437;
    --pch-editorial-border: #2a394e;
    --pch-editorial-title: #f4f7fd;
    --pch-editorial-text: #b2c0d3;
    --pch-editorial-link: #7fe7ff;
    --pch-editorial-active: #213748;
    --pch-editorial-active-border: #52768a;
    --pch-editorial-gap: 20px;
    --pch-editorial-art-width: clamp(122px, 22vw, 185px);
}

html:has(> body.pch-editorial-article-shell),
html:has(.pch-editorial-single-v17) { background: #0b101a !important; }
html body.pch-editorial-article-shell,
html:has(.pch-editorial-single-v17) > body[class]:has(.pch-editorial-single-v17),
html:has(.pch-editorial-single-v17) > body.single-post[class]:has(.pch-editorial-single-v17),
html body:is(.pch-editorial-article-shell, :has(.pch-editorial-single-v17))
    :is(#pch-page-content, #page, #content, #primary, #main, .elementor-location-single,
        .site-content > .ast-container, .ast-article-single, .entry-content:has(.pch-editorial-single-v17)) {
    background: var(--pch-editorial-bg, #0b101a) !important;
    color: var(--pch-editorial-title, #f4f7fd);
}
body.pch-editorial-article-shell #pch-page-content.pch-article-canvas {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-block: 0 32px;
}

.pch-editorial-hub .pch-editorial-split,
.pch-editorial-single .pch-editorial-split {
    display: grid !important;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr) !important;
    gap: var(--pch-editorial-gap) !important;
    align-items: start;
}
.pch-editorial-hub .pch-editorial-main,
.pch-editorial-single .pch-editorial-main,
.pch-editorial-split > .pch-news-sidebar { min-width: 0; }
.pch-editorial-single .pch-editorial-main { display: flex; flex-direction: column; gap: 14px !important; }
.pch-editorial-split .pch-news-sidebar { position: static; gap: 12px !important; }
.pch-editorial-split .pch-news-side-card .elementor-heading-title { margin-bottom: 10px; }

.pch-editorial-article-shell .pch-editorial-single { background: var(--pch-editorial-bg) !important; }
.pch-editorial-single .crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 14px;
    color: var(--pch-editorial-text);
}
.pch-editorial-single .crumb a,
.pch-editorial-single .article a,
.pch-editorial-single .hub-related a { color: var(--pch-editorial-link) !important; }
.pch-editorial-single .hub-related .more { white-space: normal; overflow-wrap: anywhere; }
.pch-editorial-single .page-head {
    margin: 0;
    padding: clamp(15px, 2.3vw, 24px);
    border: 1px solid var(--pch-editorial-border);
    border-radius: 9px;
    background: linear-gradient(120deg,#20304a,var(--pch-editorial-panel) 75%) !important;
}
.pch-editorial-single .page-head :is(h1,.elementor-heading-title) {
    color: var(--pch-editorial-title) !important;
    font-size: clamp(27px, 3.2vw, 44px) !important;
    line-height: 1.16;
    margin-block: 6px;
}
.pch-editorial-single :is(.page-head,.panel.article) p { color: var(--pch-editorial-text); }
.pch-editorial-single .page-head .eyebrow { color: var(--pch-editorial-link); }
.pch-editorial-single .page-head .meta { margin: 0 0 8px; }
.pch-editorial-single .pch-news-detail-hero {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.pch-editorial-single .panel.article { overflow-wrap: anywhere; margin: 0; padding: 20px; border-radius: 8px; }
.pch-editorial-single .panel.article p + p { margin-top: 1em; }
.pch-editorial-article-shell #pch-page-content :is(.pch-native-header,.pch-native-footer,.pch-top,.pch-footer) { display: none !important; }

.pch-editorial-hub :is(.pch-editorial-news-tabs,.pch-editorial-guides-tabs) .e-n-tabs-heading {
    display: flex;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 7px;
    padding: 9px;
    background: var(--pch-editorial-panel);
    border: 1px solid var(--pch-editorial-border);
    border-radius: 8px;
}
.pch-editorial-hub :is(.pch-editorial-news-tabs,.pch-editorial-guides-tabs) .e-n-tab-title {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0;
    min-height: 38px;
    padding: 7px 12px;
    background: var(--pch-editorial-panel) !important;
    color: var(--pch-editorial-text) !important;
    border: 1px solid var(--pch-editorial-border) !important;
    border-radius: 5px;
    font: 750 13px/1.3 system-ui, sans-serif;
}
.pch-editorial-hub :is(.pch-editorial-news-tabs,.pch-editorial-guides-tabs) .e-n-tab-title-text {
    color: inherit !important;
}
.pch-editorial-hub :is(.pch-editorial-news-tabs,.pch-editorial-guides-tabs) .e-n-tab-title:is([aria-selected="true"],:hover) {
    background: var(--pch-editorial-active) !important;
    border-color: var(--pch-editorial-active-border) !important;
    color: var(--pch-editorial-link) !important;
}
.pch-editorial-hub :is(.pch-editorial-news-tabs,.pch-editorial-guides-tabs) .e-n-tabs-content { margin-top: 14px; }
.pch-editorial-hub .pch-editorial-main h2.elementor-heading-title {
    color: var(--pch-editorial-title) !important;
    font-size: clamp(20px,2.3vw,25px) !important;
    line-height: 1.2;
    margin-block: 0 10px;
}

.pch-editorial-hub :is(.pch-editorial-rows,.elementor-posts-container) { gap: 8px; }
.pch-editorial-hub .pch-editorial-rows { display: grid; }
.pch-editorial-hub :is(.pch-editorial-rows .pch-news-card,.pch-editorial-posts-main .elementor-post) {
    display: grid !important;
    grid-template-columns: var(--pch-editorial-art-width) minmax(0,1fr) !important;
    align-items: center !important;
    gap: 13px !important;
    padding: 9px !important;
    margin: 0 !important;
    min-width: 0;
    min-height: 121px;
    background: var(--pch-editorial-panel) !important;
    border: 1px solid var(--pch-editorial-border) !important;
    border-radius: 7px;
}
.pch-editorial-hub :is(.pch-editorial-rows .pch-news-card,.pch-editorial-posts-main .elementor-post):hover {
    background: var(--pch-editorial-hover) !important;
    border-color: var(--pch-editorial-active-border) !important;
}
.pch-editorial-hub :is(.pch-editorial-rows .pch-news-card > a:first-child,.pch-editorial-posts-main .elementor-post__thumbnail__link) {
    display: block !important;
    grid-area: 1 / 1 !important;
    height: auto !important;
    width: 100% !important;
    margin: 0 !important;
    overflow: hidden;
    border-radius: 5px;
    aspect-ratio: 16 / 9;
}
.pch-editorial-hub :is(.pch-editorial-rows .pch-news-card > a,.pch-editorial-posts-main .elementor-post__thumbnail__link) :is(img,.cover-placeholder,.elementor-post__thumbnail) {
    display: block;
    position: static !important;
    transform: none !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    object-fit: cover !important;
}
.pch-editorial-hub .elementor-post__thumbnail::after { content: none; }
.pch-editorial-hub :is(.pch-editorial-rows .pch-news-card > div,.pch-editorial-posts-main .elementor-post__text) {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    grid-area: 1 / 2 !important;
    gap: 5px;
    padding: 0 !important;
    margin: 0 !important;
    min-width: 0;
    overflow-wrap: anywhere;
}
.pch-editorial-hub :is(.elementor-post__title,.pch-news-card h3) {
    margin: 0 !important;
    font: 750 17px/1.24 system-ui, sans-serif !important;
    order: 0;
}
:is(.pch-editorial-hub,.pch-editorial-single) :is(.elementor-post__title,.elementor-post__title a,.pch-news-card h3,.pch-news-card h3 a) {
    color: var(--pch-editorial-title) !important;
    text-decoration: none;
}
.pch-editorial-hub :is(.elementor-post__excerpt,.pch-news-card p) { order: 1; margin: 0 !important; }
.pch-editorial-hub :is(.elementor-post__excerpt p,.pch-news-card p) {
    color: var(--pch-editorial-text) !important;
    font-size: 13px !important;
    line-height: 1.45;
    margin: 0 !important;
}
:is(.pch-editorial-hub,.pch-editorial-single) :is(.elementor-post__meta-data,.pch-news-card .pch-news-meta) {
    order: 2;
    color: var(--pch-editorial-text) !important;
    font-size: 11px !important;
    margin: 0 !important;
}
.pch-editorial-hub :is(.elementor-post__read-more,.pch-news-card .more) {
    order: 3;
    color: var(--pch-editorial-link) !important;
    font-size: 12px !important;
    font-weight: 750;
    margin: 0 !important;
}
.pch-editorial-posts-side .elementor-post { border-bottom: 1px solid var(--pch-editorial-border); padding: 0 0 9px; }
.pch-editorial-posts-side .elementor-post:last-child { border: 0; }
.pch-editorial-posts-side .elementor-post__title { font-size: 14px !important; line-height: 1.4; }
.pch-editorial-pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    list-style: none;
    margin: 14px 0 0;
}
.pch-editorial-pagination :is(a,span).page-numbers {
    display: inline-flex;
    padding: 5px 9px;
    align-items: center;
    min-height: 34px;
    border: 1px solid var(--pch-editorial-border);
    border-radius: 5px;
    background: var(--pch-editorial-panel);
    color: var(--pch-editorial-text);
}
.pch-editorial-pagination .current,.pch-editorial-pagination a:hover { color: var(--pch-editorial-link); }
.pch-editorial-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 10px;
    margin: 5px 0;
}
.pch-news-sidebar .pch-editorial-filters { display: grid; }
.pch-editorial-filters label {
    display: grid;
    gap: 4px;
    min-width: 0;
    color: var(--pch-editorial-text);
    font-size: 12px;
}
.pch-editorial-hub .pch-editorial-filters :is(input,select) {
    width: 100%;
    min-height: 38px;
    border: 1px solid var(--pch-editorial-border) !important;
    border-radius: 5px;
    background: var(--pch-editorial-panel) !important;
    color: var(--pch-editorial-title) !important;
    padding: 6px 9px;
}
.pch-editorial-filters .btn { min-height: 37px; }
.pch-editorial-ad img { display: block; width: 100%; height: auto; border-radius: 5px; }
.pch-editorial-ad .meta { margin: 0 0 6px; }
@media (max-width: 820px) {
    .pch-editorial-hub .pch-editorial-split,
    .pch-editorial-single .pch-editorial-split { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 550px) {
    .pch-editorial-hub { --pch-editorial-art-width: clamp(88px, 26vw, 125px); }
    .pch-editorial-hub :is(.pch-editorial-rows .pch-news-card,.pch-editorial-posts-main .elementor-post) { gap: 9px !important; min-height: 100px; }
    .pch-editorial-hub :is(.elementor-post__title,.pch-news-card h3) { font-size: 15px !important; }
    .pch-editorial-filters label { width: 100%; }
}
@media (min-width: 821px) {
    .pch-editorial-news-wide .pch-editorial-news-tabs .e-n-tabs-heading {
        width: calc(100% + (100% + var(--pch-editorial-gap)) / 3);
        max-width: none;
    }
    .pch-editorial-news-wide .pch-editorial-split > .pch-news-sidebar { margin-top: 68px; }
}
