.dx-home {
    --dx-card-media-radius: 8px;
    --dx-m-accent: #c91525;
    --dx-m-line: #eef0f4;
    --dx-m-tint: #f6f7f9;
    background: #f5f6f8;
    color: #222;
}
.dx-home :is(.dx-layout, .dx-wrap) {
    width: calc(100% - 2 * var(--dx-card-space));
}
.dx-home .dx-layout .dx-wrap { width: 100%; }
.dx-home .dx-layout {
    box-sizing: border-box;
    margin-bottom: var(--dx-card-space);
    padding: 14px;
    border-radius: var(--dx-card-radius);
    background: #fff;
    box-shadow: var(--dx-card-shadow, 0 2px 10px rgba(15, 23, 42, .05), 0 0 0 1px rgba(15, 23, 42, .04));
}
.dx-home .dx-layout-inner > :is(.dx-wrap, .dx-multi-row) { margin-block: 0; }
.dx-home .dx-layout:has(> .dx-layout-inner > :is(.dx-image-show, .dx-image-carousel)) { padding: 0; }
.dx-home .dx-layout:has(> .dx-layout-inner > :is(.dx-img-row, .dx-img-row2, .dx-multi-row)) { padding: 4px; }
.dx-home .dx-layout:has(> .dx-layout-inner > .dx-multi-row:has(> .dx-multi-row-title)) { padding: 10px 12px; }
.dx-home .dx-layout:has(> .dx-layout-inner > :is(.dx-img-row, .dx-img-row2, .dx-multi-row:not(:has(> .dx-multi-row-title))).dx-wide-banners) { padding: 2px 4px; }
.dx-home .dx-image-show,
.dx-home .dx-image-show img { border-radius: var(--dx-card-radius); }

/* Saved desktop heights should not clip a stack of mobile cards or lists. */
.dx-home .dx-layout-fixed { height: auto !important; overflow: visible; }
.dx-home .dx-layout-fixed > .dx-layout-inner { height: auto; overflow: visible; }
.dx-home .dx-cc-child-layout {
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
}
.dx-home .dx-layout-fixed .dx-layout-inner :is(.dx-image-show, .dx-image-show > a, .dx-img-row, .dx-img-row2, .dx-img-row ul, .dx-img-row2 ul, .dx-img-row li, .dx-img-row2 li, .dx-img-row li > a, .dx-img-row2 li > a, .dx-multi-row, .dx-multi-row-viewport, .dx-multi-row-track, .dx-multi-row-group, .dx-multi-row-item) {
    height: auto;
}
.dx-home .dx-layout-fixed .dx-layout-inner :is(.dx-image-show, .dx-img-row, .dx-img-row2, .dx-multi-row-item) img {
    width: 100%;
    max-height: none;
}
.dx-home .dx-layout-fixed .dx-layout-inner :is(.dx-img-row ul, .dx-img-row2 ul, .dx-multi-row-group) {
    grid-template-rows: none;
}

/* Section title: keep single-line auto-fitted headline + 2x2 pill sub-links. */
.dx-home .dx-sec-title { padding: 2px 0 0; border-bottom: 0; }
.dx-home .dx-sec-main {
    font-size: var(--dx-sec-fit-size, min(var(--dx-sec-main-size, 30px), clamp(1.375rem, 6vw, 1.75rem)));
    margin-bottom: 12px;
    letter-spacing: normal;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dx-home .dx-sec-subs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.dx-home .dx-sec-subs li { display: flex; border-top: 0; }
.dx-home .dx-sec-subs li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--dx-m-tint);
    color: #444;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: normal;
    text-align: center;
    transition: background .18s, color .18s;
}
.dx-home .dx-sec-subs li a:is(:hover, :focus-visible, :active) {
    background: #fdf2f2;
    color: var(--dx-m-accent);
}

.dx-home :is(.dx-sec-subs li a, .dx-nc-list li a em, .dx-nc-notice span, .dx-nc-text_list .dx-nc-items li, .dx-nc-item-body > a, .dx-cc-news li > a:last-child, .dx-cc-links-items span, .dx-zc-vt, .dx-zc-bottom, .dx-dc-top-list li a, .dx-dc-bcard-title, .dx-vf-cap, .dx-fl-list a, .dx-fb-main) {
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Unified mobile card headings (retaining configured inline title colors). */
.dx-home :is(.dx-nc-block-title, .dx-cc-heading, .dx-zone-hd, .dx-dc-lhd, .dx-as-hd, .dx-vf-hd, .dx-fl-hd) {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 12px;
    padding: 0 0 10px;
    border-bottom: 1px solid var(--dx-m-line);
    letter-spacing: 0;
}
.dx-home :is(.dx-nc-block-title, .dx-cc-heading, .dx-vf-hd) { justify-content: space-between; }
.dx-home :is(.dx-zone-hd, .dx-dc-lhd) { justify-content: flex-start; }
.dx-home :is(.dx-nc-block-title, .dx-cc-heading, .dx-zone-hd, .dx-dc-lhd, .dx-as-hd, .dx-vf-hd, .dx-fl-hd)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 40px;
    height: 2px;
    background: var(--dx-m-accent);
    pointer-events: none;
}

/* News carousel */
.dx-home .dx-nc { gap: 14px; }
.dx-home .dx-nc-headline {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
    color: #1a1d24;
    white-space: normal !important;
    overflow-wrap: anywhere;
}
.dx-home .dx-nc-list li a {
    padding: 10px 0;
    border-bottom: 1px solid var(--dx-m-line);
    gap: 8px;
}
.dx-home .dx-nc-list li:last-child a { border-bottom: 0; }
.dx-home .dx-nc-list li a::before {
    content: "";
    flex: 0 0 5px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--dx-m-accent);
}
.dx-home .dx-nc-list li a em { font-size: 14.5px; line-height: 1.5; }
.dx-home .dx-nc-list li.dx-nc-redli { border-bottom: 0; }
.dx-home .dx-nc-notice {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--dx-m-tint);
}

/* News combo */
.dx-home .dx-news-combo {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px;
}
.dx-home .dx-nc-block + .dx-nc-block {
    padding-top: 14px;
    border-top: 1px solid var(--dx-m-line);
}
.dx-home .dx-nc-items li:not(.dx-nc-ranked),
.dx-home .dx-nc-ranked {
    padding: 10px 0;
    border-bottom: 1px solid var(--dx-m-line);
}
.dx-home .dx-nc-items li:last-child { border-bottom: 0; }
.dx-home .dx-nc-text_list .dx-nc-items li:before { border-radius: 50%; }
.dx-home .dx-nc-item-body > a { max-height: none; font-size: 14.5px; line-height: 1.55; }
.dx-home .dx-nc-text_list .dx-nc-item-body > a { max-width: 100%; }
.dx-home .dx-nc-image_list .dx-nc-items { grid-template-columns: minmax(0, 1fr); }
.dx-home .dx-nc-feature-img,
.dx-home .dx-nc-thumb { border-radius: 6px; }

/* Column container */
.dx-home .dx-column-container { gap: 16px; }
.dx-home .dx-cc-column { padding: 0; border-radius: 8px; }
.dx-home .dx-cc-column[style*="--cc-col-bg:#"] { padding: 12px; }
.dx-home .dx-cc-news li { padding: 10px 0; border-bottom: 1px solid var(--dx-m-line); }
.dx-home .dx-cc-news li:last-child { border-bottom: 0; }
.dx-home .dx-cc-thumb,
.dx-home .dx-cc-feature-image { border-radius: 6px; }
.dx-home .dx-cc-quick .dx-cc-links-items { grid-template-columns: repeat(min(3, var(--cc-per-row)), minmax(0, 1fr)); }
.dx-home .dx-cc-links-items a { min-height: 44px; }
.dx-home .dx-cc-links-items :is(i, img) { flex-basis: min(var(--cc-icon-size), 32px); width: min(var(--cc-icon-size), 32px); }

/* Promo module */
.dx-home .dx-promo-module { padding: 16px; border-radius: 10px; }
.dx-home .dx-promo-title { font-size: clamp(20px, 5.5vw, 26px); text-align: center; }
.dx-home .dx-promo-mobile-br { display: inline; }
.dx-home .dx-promo-subtitle { font-size: 16px; }
.dx-home .dx-promo-cards { grid-template-columns: minmax(0, 1fr); }
.dx-home .dx-promo-cards article {
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, .06);
}

/* Zone group & custom panel */
.dx-home .dx-zone-col,
.dx-home .dx-zone-col.dx-zone-custom {
    margin: 0 0 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--dx-m-line);
}
.dx-home .dx-zone-col:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}
.dx-home .dx-zc-ads { gap: 10px; }
.dx-home .dx-zc-ads img { border-radius: var(--dx-card-media-radius); }
.dx-home .dx-zc-banner {
    padding: 9px 12px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-bottom: 0;
    background: linear-gradient(90deg, #c91525, #e13f38);
    color: #fff;
    font-size: clamp(18px, 5vw, 24px);
    letter-spacing: .12em;
}
.dx-home .dx-zc-quick {
    gap: 1px;
    border-radius: 8px;
    overflow: hidden;
    background: #f3d6d8;
}
.dx-home .dx-zc-quick > * {
    padding: 10px 8px;
    border-left: 0;
    background: #fff5f5;
    font-size: 14px;
}
.dx-home .dx-zc-quick > .dx-zc-quick-image { padding: 0; background: transparent; }
.dx-home .dx-zc-subs { gap: 6px; margin-bottom: 10px; }
.dx-home .dx-zc-subs li {
    flex: 1 1 calc(33.33% - 6px);
    border-left: 0;
}
.dx-home .dx-zc-subs li a {
    padding: 7px 6px;
    border-radius: 6px;
    background: var(--dx-m-tint);
    font-size: 13px;
    line-height: 1.4;
}
.dx-home .dx-zc-items {
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fb;
}
.dx-home .dx-zc-items li a.dx-zc-item {
    padding: 10px 12px;
    border-bottom-color: var(--dx-m-line);
}
.dx-home .dx-zc-ico {
    flex-basis: min(32%, 108px);
    width: min(32%, 108px);
    border-radius: 6px;
}
.dx-home .dx-zone-rich .dx-zc-ico { flex-basis: 56px; width: 56px; }
.dx-home .dx-zc-fa { width: 40px; flex-basis: 40px; font-size: 20px; }
.dx-home .dx-zc-bottom {
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff5f5;
    font-size: 14px;
    letter-spacing: .06em;
}
.dx-home .dx-txt-list li a {
    padding: 10px 0;
    border-bottom: 1px solid var(--dx-m-line);
    font-size: 14.5px;
    line-height: 1.55;
}
.dx-home .dx-txt-list li:last-child a { border-bottom: 0; }
.dx-home .dx-zone-group .dx-txt-list li a,
.dx-home .dx-rank-list li a { height: auto; min-width: 0; }
.dx-home :is(.dx-zone-group .dx-txt-list, .dx-rank-list) li a span {
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
}
.dx-home :is(.dx-zone-group .dx-txt-list, .dx-txt-list, .dx-dot-list) li a::before {
    border-radius: 50%;
    background: var(--dx-m-accent);
}
.dx-home .dx-rank-list {
    padding: 6px 12px;
    border-radius: 8px;
    background: #f8f9fb;
}
.dx-home .dx-rank-list li {
    padding: 9px 0;
    border-bottom: 1px solid var(--dx-m-line);
}
.dx-home .dx-rank-list li:last-child { border-bottom: 0; }
.dx-home .dx-rank-list li i {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 4px;
    background: #e5e7eb;
    color: #555;
    font-size: 12px;
    font-weight: 700;
}
.dx-home .dx-rank-list li i.dx-hot { background: var(--dx-m-accent); color: #fff; }

/* Triple zone */
.dx-home .dx-triple { gap: 12px; }
.dx-home .dx-tri-col {
    border-radius: 8px;
    overflow: hidden;
    border-color: var(--dx-m-line);
}
.dx-home .dx-panel-hd { padding: 10px 12px; }
.dx-home .dx-panel-hd span { line-height: 1.4; }

/* Dual column (articles + experts) */
.dx-home :is(.dx-dc, .dx-dc-top, .dx-dc-bottom) { flex-direction: column; gap: 14px; }
.dx-home :is(.dx-dc-left, .dx-dc-right) { flex: 0 1 auto; min-width: 0; padding: 0; border: 0; }
.dx-home .dx-dc-top {
    padding: 12px;
    border-radius: 8px;
    background: #f8f9fb;
    margin-bottom: 14px;
}
.dx-home .dx-dc-top-img { width: 100%; aspect-ratio: 16 / 9; border-radius: 6px; }
.dx-home .dx-dc-bcard {
    padding: 12px;
    border-radius: 8px;
    background: #f8f9fb;
}
.dx-home .dx-dc-bcard-img { height: auto; aspect-ratio: 4 / 3; align-self: flex-start; border-radius: 6px; }
.dx-home .dx-dc-rhd {
    padding: 10px 12px;
    border-radius: 8px;
    background: #fdf2f2;
    font-size: 17px;
}
.dx-home .dx-dc-eview { overflow: visible; }
.dx-home .dx-dc-etrack { position: static; animation: none; }
.dx-home .dx-dc-etrack li[aria-hidden="true"] { display: none; }
.dx-home .dx-dc-exp { border-radius: 8px; border-color: var(--dx-m-line); }
.dx-home .dx-dc-exp-ava { flex-basis: min(36%, 140px); width: min(36%, 140px); }

/* Tab topic */
.dx-home .dx-topic-v2 .dx-tab-hd { border-bottom-color: var(--dx-m-line); scrollbar-width: thin; }
.dx-home .dx-topic-v2 .dx-tab {
    flex: 0 0 auto;
    min-width: 84px;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 15px;
}
.dx-home .dx-topic-v2 .dx-tab-panel { padding: 14px 0 4px; border-bottom: 0; }
.dx-home .dx-topic-v2 .dx-topic-feature { padding: 12px; border-radius: 8px; }
.dx-home .dx-topic-v2 .dx-topic-list li { border-bottom-color: var(--dx-m-line); }

/* Image grids & horizontal carousels */
.dx-home .dx-img-row ul {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}
.dx-home .dx-img-row2 ul {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}
@media (max-width: 640px) {
    .dx-home :is(.dx-img-row, .dx-img-row2).dx-wide-banners ul,
    .dx-home .dx-multi-row.dx-wide-banners:not(.is-scrolling) .dx-multi-row-group,
    .dx-home .dx-zc-ads.dx-wide-banners,
    .dx-home .dx-cc-card-grid.dx-wide-banners {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }
    .dx-home .dx-multi-row.is-scrolling.dx-wide-banners .dx-multi-row-item {
        flex-basis: min(86%, 320px);
    }
}
.dx-home :is(.dx-img-row, .dx-img-row2).dx-wide-banners li,
.dx-home .dx-multi-row.dx-wide-banners .dx-multi-row-item {
    border-radius: var(--dx-card-media-radius);
    overflow: hidden;
}
.dx-home .dx-multi-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.dx-home .dx-multi-row .dx-multi-row-title { display: block; min-width: 0; margin: 0; padding: 0; }
.dx-home .dx-multi-row .dx-multi-row-title span {
    writing-mode: horizontal-tb;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 1em;
}
.dx-home .dx-multi-row:not(.is-scrolling) .dx-multi-row-group {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr));
    gap: 6px;
}
.dx-home :is(.dx-as-clip, .dx-multi-row.is-scrolling .dx-multi-row-viewport) {
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}
.dx-home :is(.dx-as-track, .dx-multi-row.is-scrolling .dx-multi-row-track) {
    width: 100%;
    animation: none;
}
.dx-home .dx-as-card { flex-basis: min(70%, 220px); scroll-snap-align: start; }
.dx-home .dx-multi-row.is-scrolling .dx-multi-row-group {
    display: flex;
    flex-basis: 100%;
    gap: 8px;
    padding-right: 0;
}
.dx-home .dx-multi-row.is-scrolling .dx-multi-row-item { flex: 0 0 min(65%, 220px); scroll-snap-align: start; }
.dx-home :is(.dx-as-card, .dx-multi-row-group)[aria-hidden="true"] { display: none; }

/* Photo carousel & media radii */
.dx-home .dx-image-carousel,
.dx-home .dx-layout-fixed > .dx-layout-inner > .dx-image-carousel { height: auto; }
.dx-home .dx-layout-fixed > .dx-layout-inner > .dx-image-carousel .dx-carousel {
    height: auto;
    aspect-ratio: 16 / 9;
}
.dx-home .dx-carousel { border-radius: var(--dx-card-media-radius); touch-action: pan-y pinch-zoom; }
.dx-home .dx-image-carousel .dx-carousel { border-radius: var(--dx-card-radius); }
.dx-home .dx-carousel .dx-carousel-slide img { object-fit: contain; }
.dx-home .dx-carousel .dx-carousel-arrow { width: 44px; height: 48px; }
.dx-home :is(.dx-vf-media, .dx-img-row li, .dx-img-row2 li, .dx-multi-row .dx-multi-row-item img,
    .dx-topic-media, .dx-cc-image img, .dx-cc-card-grid article, .dx-promo-hero-media, .dx-dc-exp-ava) {
    border-radius: var(--dx-card-media-radius);
}

/* Video show */
.dx-home .dx-vf-list { flex-direction: column; gap: 14px; padding-bottom: 0; border-bottom: 0; }
.dx-home .dx-vf-item {
    border: 1px solid var(--dx-m-line);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.dx-home .dx-vf-item:not(:last-child) { padding: 0; margin: 0; }
.dx-home .dx-vf-item .dx-vf-media { border-radius: 0; }
.dx-home .dx-vf-cap {
    margin: 0;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: normal;
    text-align: center;
}
.dx-home .dx-vf-play { width: 44px; height: 44px; touch-action: manipulation; }

/* Footer */
.dx-home .dx-footer { background: transparent; }
.dx-home .dx-footer-inner {
    padding: 18px 14px;
    border-radius: var(--dx-card-radius);
    background: #fff;
    box-shadow: var(--dx-card-shadow, 0 2px 10px rgba(15, 23, 42, .05), 0 0 0 1px rgba(15, 23, 42, .04));
}
.dx-home .dx-fl-line { display: none; }
.dx-home .dx-fl-list { gap: 8px; margin-bottom: 20px; }
.dx-home .dx-fl-list a {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 6px;
    background: var(--dx-m-tint);
    font-size: 13px;
    color: #444;
}
.dx-home .dx-fb-main { margin-right: 0; }
.dx-home .dx-fb-nav { font-size: 13px; line-height: 1.9; }
.dx-home .dx-fb-nav i { margin: 0 8px; color: #ccc; }
.dx-home .dx-fb-copy,
.dx-home .dx-fb-record { font-size: 12.5px; color: #777; }
.dx-home .dx-fb-qr {
    position: static;
    transform: none;
    margin: 18px auto 0;
    padding: 4px;
    box-sizing: content-box;
    border-radius: 8px;
    border-color: #e5e7eb;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .05);
}
