body.up-editorial {
    --ed-bg: #090d11;
    --ed-panel: #101d26;
    --ed-text: #f7f5f1;
    --ed-muted: #bdcbd2;
    --ed-line: #30414b;
    --ed-cyan: #47d7ed;
    --ed-rose: #ff79b7;
    background: var(--ed-bg);
}
.up-editorial #Wrapper, .up-editorial #Header_wrapper, .up-editorial #Content {
    background: var(--ed-bg);
    color: var(--ed-text);
}
.up-editorial #Content { padding-top: 0; }
.up-editorial #Subheader {
    padding: clamp(32px, 5vw, 78px) 0 clamp(28px, 4vw, 58px);
    background: radial-gradient(ellipse at 75% -40%, #183741, transparent 65%), #0b151d;
    border-bottom: 1px solid var(--ed-line);
    text-align: start;
}
.up-editorial #Subheader .container,
.up-editorial .ued-shell, .up-editorial #up-ed-main .up-guias-editoriais {
    width: min(90%, 1200px);
    max-width: none;
    box-sizing: border-box;
    margin-inline: auto;
    padding-inline: 0;
}
.up-editorial #Subheader .column { width: 100%; margin: 0; }
.up-editorial #Subheader .title {
    float: none;
    width: auto;
    max-width: 24ch;
    font-family: inherit;
    font-size: clamp(36px, 4.6vw, 72px);
    font-weight: 650;
    line-height: 1.06;
    letter-spacing: -.052em;
    text-align: start;
    text-wrap: balance;
    color: var(--ed-text);
}
.up-editorial #Subheader ul.breadcrumbs {
    float: none;
    text-align: start;
    margin: 14px 0 0;
}
.up-editorial #Subheader ul.breadcrumbs :is(li,a) { color: var(--ed-muted); }
.up-editorial .up-ed-main { padding-bottom: clamp(48px, 7vw, 100px); }
.up-editorial.up-ed-collection .up-ed-main { padding-bottom: 0; }
.up-editorial .ued-shell { padding-top: clamp(24px, 3vw, 44px); }
.up-editorial #up-ed-main :is(.ued-filters,.ued-adjacent,.ued-byline,.ued-facts) a,
.up-editorial .ued-body a { color: var(--ed-cyan); }
.up-editorial #up-ed-main .up-guias-editoriais { margin-block: 0; padding-top: clamp(28px,4vw,50px); }
.up-editorial #up-ed-main :is(.up-guias-editoriais h2,.ued-body h2,.ued-body h3,.ued-body h4,.ued-body strong) { color: var(--ed-text); }
.up-editorial #up-ed-main .up-guias-editoriais a { color: var(--ed-muted); text-decoration: none; }
.up-editorial #up-ed-main .up-guias-editoriais a:hover { color: var(--ed-cyan); }
.ued-filters, .ued-byline, .ued-facts, .ued-adjacent { display: flex; gap: 12px 24px; align-items: center; flex-wrap: wrap; }
.ued-filters { margin-bottom: 24px; font-weight: 550; }
.ued-filters details { position: relative; }
.ued-filters summary { cursor: pointer; padding: 8px 0; color: var(--ed-muted); }
.ued-filters details > div {
    position: absolute; z-index: 3; inset-inline-start: 0;
    width: max-content; max-width: min(240px, 78vw); max-height: 260px; overflow: auto;
    padding: 12px 16px; background: var(--ed-panel); border: 1px solid var(--ed-line); border-radius: 4px;
}
.ued-filters details a { display: block; padding: 5px 0; }
.ued-filters details ul { list-style: none; margin: 0; }
.ued-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(16px, 2vw, 28px); }
.ued-grid .ued-card { margin: 0; min-width: 0; }
.ued-card > a {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; align-items: end; height: 100%; box-sizing: border-box;
    min-height: clamp(270px, 26vw, 380px); background: var(--ed-panel); border-radius: 4px;
}
.ued-card > a::after {
    content: ""; position: absolute; z-index: -1; inset: 0;
    background: linear-gradient(0deg,#081b26 2%,rgba(6,17,25,.94) 24%,rgba(6,17,25,.78) 43%,rgba(6,17,25,.03) 83%);
}
.ued-card .ued-cover { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ued-labels { padding: clamp(20px, 2.2vw, 32px); }
.up-editorial #up-ed-main .ued-category { color: var(--ed-rose); font: 600 13px/1.4 ui-monospace, monospace; }
.up-editorial #up-ed-main .ued-card h2 {
    color: var(--ed-text); font-family: inherit; font-size: clamp(19px, 1.6vw, 24px); font-weight: 620;
    line-height: 1.22; letter-spacing: -.035em; margin: 8px 0 10px; transition: color .2s;
}
.up-editorial .ued-card > a:hover, .up-editorial .ued-card > a:focus { text-decoration: none; }
.up-editorial #up-ed-main .ued-card > a:is(:hover,:focus-visible) h2 { color: var(--ed-cyan); }
.ued-meta, .ued-byline { color: var(--ed-muted); font-size: 14px; }
.ued-single .ued-byline { padding-bottom: 20px; }
.ued-feature { background: #101d26; text-align: center; margin: 0 0 clamp(24px,4vw,48px); border-radius: 4px; }
.ued-feature img { display: block; width: 100%; height: auto; max-height: min(68vh,620px); object-fit: contain; margin: auto; }
.ued-facts { padding: 20px 0; border-block: 1px solid var(--ed-line); margin-bottom: 32px; align-items: start; }
.ued-facts div { flex: 1 1 140px; }
.ued-facts small { display: block; color: var(--ed-rose); margin-bottom: 4px; }
.up-editorial .ued-body { color: var(--ed-muted); font-size: clamp(16px,1.3vw,19px); line-height: 1.7; overflow-wrap: anywhere; }
.up-editorial .ued-body .the_content .section_wrapper { max-width: 100%; padding-inline: 0 !important; }
.up-editorial .ued-body .the_content_wrapper { margin: 0; }
.up-ed-article .ued-body, .up-ed-article .ued-adjacent, .up-ed-article #comments { max-width: 74ch; margin-inline: auto; }
.ued-body :is(img,iframe,video) { max-width: 100%; }
.ued-body figure { max-width: 100%; margin-inline: auto; }
.up-editorial .ued-related, .up-editorial .ued-author, .up-editorial .ued-tags, .up-editorial .ued-share {
    margin: 32px auto 0; padding-top: 18px; border-top: 1px solid var(--ed-line);
}
.up-ed-article :is(.ued-related,.ued-author,.ued-tags,.ued-share) { max-width: 74ch; }
.up-editorial .ued-related h2 { color: var(--ed-text); font-size: 24px; }
.up-editorial :is(.ued-related,.ued-tags,.ued-author) a { color: var(--ed-cyan); }
.ued-adjacent { justify-content: space-between; border-top: 1px solid var(--ed-line); padding-top: 20px; margin-top: 40px; }
.ued-adjacent a { flex: 0 1 45%; }
.ued-shell .nav-links { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 36px; }
.ued-shell .page-numbers { color: var(--ed-text); padding: 6px 12px; border: 1px solid var(--ed-line); border-radius: 4px; }
.ued-shell .page-numbers.current { color: var(--ed-cyan); background: var(--ed-panel); }
@media (max-width: 980px) { .ued-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 640px) {
    .ued-grid { grid-template-columns: 1fr; }
    .up-editorial #Subheader .container, .up-editorial .ued-shell, .up-editorial #up-ed-main .up-guias-editoriais { width: 91%; padding-inline: 0 !important; }
    .ued-filters { gap: 6px 18px; }
    .ued-filters details:last-child > div { inset-inline: auto 0; }
    .ued-adjacent { align-items: start; flex-direction: column; }
}
