/* Only the native InHype canvas receives night colours. Elementor keeps its authored sections. */
html[data-dm-tone=dark] body.dmx-native-theme {
    --dm-surface-light:color-mix(in srgb,var(--dm-card) 87%,var(--dm-sub));
    --dm-quiet:color-mix(in srgb,var(--dm-sub) 86%,var(--dm-card));
    background:var(--dm-bg)!important; color:var(--dm-text)!important;
}
html[data-dm-tone=dark] body.dmx-native-theme :is(.content-block,.page-container,.post-container,.post-container-bottom,.blog-post-single>.post-content,.post-content-wrapper,.page-item-title-page,.after-post-widget) {
    background-color:var(--dm-bg)!important; color:var(--dm-text)!important;
}
html[data-dm-tone=dark] body.dmx-native-theme :is(.page-item-title-page .page-title,.container-page-item-title.without-bg .page-title,.inhype-block-title h3,.inhype-block-title h4,.blog-post-related-wrapper>h5,.post-sidebar .widgettitle,.comment-reply-title,.comments-title) {color:var(--dm-text)!important}
html[data-dm-tone=dark] body.dmx-native-theme :is(.inhype-block-title,.widgettitle,.comment-reply-title)::after {border-color:var(--dm-link)!important}
html[data-dm-tone=dark] body.dmx-native-theme .post-content .entry-content,
html[data-dm-tone=dark] body.dmx-native-theme .entry-content :is(p,li,blockquote,figcaption,h2,h3,h4,h5,h6,strong):not(.dmx *,[class*="has-"][class*="-color"],.inhype-post *,.elementor *) {color:var(--dm-text)!important}
html[data-dm-tone=dark] body.dmx-native-theme .entry-content :is(p,li)>a:not(.dmx *,.inhype-post *,[class*="button"]) {color:var(--dm-link)!important}
html[data-dm-tone=dark] body.dmx-native-theme :is(.post-sidebar.sidebar,.page-sidebar.sidebar) {color:var(--dm-text)!important; background-color:transparent!important}
html[data-dm-tone=dark] body.dmx-native-theme :is(.inhype-grid-post,.inhype-list-post,.inhype-text-post,.inhype-shortline-post,.post-sidebar .template-text,.post-sidebar .template-text-inside,.blog-post-related-wrapper .inhype-post-details,.after-post-widget .inhype-grid-post .inhype-post-details) {
    background:var(--dm-card)!important; border-color:var(--dm-line)!important; color:var(--dm-text)!important;
}
html[data-dm-tone=dark] body.dmx-native-theme :is(.inhype-post,.post-sidebar,.after-post-widget) :is(.post-title,.post-title a) {color:var(--dm-text)!important}
html[data-dm-tone=dark] body.dmx-native-theme #post-sidebar .post-title {border-color:var(--dm-line)!important}
html[data-dm-tone=dark] body.dmx-native-theme #post-sidebar .post-title a {color:var(--dm-text)!important}
html[data-dm-tone=dark] body.dmx-native-theme #post-sidebar .post-title a:is(:hover,:focus-visible),
html[data-dm-tone=dark] body.dmx-native-theme #post-sidebar .post-title a::before {color:var(--dm-link)!important}
html[data-dm-tone=dark] body.dmx-native-theme #post-sidebar .post-date {color:var(--dm-sub)!important}
html[data-dm-tone=dark] body.dmx-native-theme .inhype-post :is(.post-date,time,.vcard,.post-author,.post-author a,.post-excerpt,.post-excerpt p,.post-description,.post-description p) {color:var(--dm-sub)!important}
html[data-dm-tone=dark] body.dmx-native-theme .inhype-post .post-categories a {background:var(--dm-card)!important; border-color:var(--dm-line)!important}
html[data-dm-tone=dark] body.dmx-native-theme .inhype-post .post-categories .cat-title {color:var(--dm-link)!important; background:transparent!important}
html[data-dm-tone=dark] body.dmx-native-theme :is(.inhype-overlay-post,.inhype-post-invert) :is(.post-title,.post-title a,.post-excerpt,.post-excerpt p,.post-date time) {color:#f5f5ee!important}
html[data-dm-tone=dark] body.dmx-native-theme :is(.inhype-post,.post-sidebar,.after-post-widget) .post-title a:is(:hover,:focus-visible),
html[data-dm-tone=dark] body.dmx-native-theme .inhype-post:focus-within .post-title a {color:var(--dm-link)!important}
html[data-dm-tone=dark] body.dmx-native-theme :is(.tagcloud a,.post-tags a,.tags-list a,.tags-links a,a[rel~="tag"]:not(.post-categories a)) {
    background:var(--dm-card)!important; color:var(--dm-link)!important; border-color:color-mix(in srgb,var(--dm-link) 55%,var(--dm-card))!important;
}
html[data-dm-tone=dark] body.dmx-native-theme :is(.tagcloud,.post-tags,.tags-links,.tags-list) a:is(:hover,:focus-visible),
html[data-dm-tone=dark] body.dmx-native-theme .post-sidebar a[rel~="tag"]:is(:hover,:focus-visible) {background:var(--dm-link)!important; color:#102d40!important}
html[data-dm-tone=dark] body.dmx-native-theme .inhype-social-share-fixed .post-social-wrapper .post-social {background:var(--dm-card)!important}
html[data-dm-tone=dark] body.dmx-native-theme .inhype-social-share-fixed .post-social-wrapper .post-social a {background:var(--dm-surface-light)!important; color:var(--dm-text)!important}
html[data-dm-tone=dark] body.dmx-native-theme .inhype-social-share-fixed .post-social-wrapper .post-social a:is(:hover,:focus-visible) {background:var(--dm-link)!important; color:#143249!important}
html[data-dm-tone=dark] body.dmx-native-theme .inhype-social-share-fixed .post-social a svg {fill:currentColor!important}
html[data-dm-tone=dark] body.dmx-native-theme :is(#newsfeedburger,.newsfeed-sidebar,.feed-sidebar,.inhype-postline-block) {background-color:var(--dm-card)!important; color:var(--dm-text)!important}
html[data-dm-tone=dark] body.dmx-native-theme :is(#newsfeedburger,.newsfeed-sidebar,.feed-sidebar,.inhype-postline-block) a:is(:hover,:focus-visible) {color:var(--dm-link)!important}
html[data-dm-tone=dark] body.dmx-native-theme .btn-load-more {background:var(--dm-card)!important; color:var(--dm-text)!important; border-color:var(--dm-line)!important}
html[data-dm-tone=dark] body.dmx-native-theme .btn-load-more:is(:hover,:focus-visible) {color:var(--dm-link)!important}

/* Tint the publication's advertising mounts. Embedded creatives manage their own pixels. */
html[data-dm-tone=dark] body.dmx-native-theme :is(.code-block:has(ins.adsbygoogle),.inhype-textwidget:has(ins.adsbygoogle),.mlborder-sidebar,.ad-desktop,.ad-mobile,.inhype-advertising,.ad-slot,.code-block[style*="repeating-linear-gradient"],div[style*="repeating-linear-gradient"]:has(ins.adsbygoogle)) {
    background-color:var(--dm-surface-light)!important;
    background-image:repeating-linear-gradient(0deg,transparent 0 4px,color-mix(in srgb,var(--dm-sub) 9%,transparent) 4px 5px)!important;
    border-color:var(--dm-line)!important;
}

html[data-dm-tone=dark] body.dmx-native-theme .inhype-subscribe-block>div,
html[data-dm-tone=dark] body.dmx-native-theme .comments-form-wrapper :is(textarea,input:not([type=submit]):not([type=checkbox])) {
    background:var(--dm-card)!important; border-color:var(--dm-surface-light)!important; color:var(--dm-text)!important;
}
html[data-dm-tone=dark] body.dmx-native-theme :is(.inhype-subscribe-block,.comments-form-wrapper,.comment-list) :is(h3,h4,p,label,small,.comment-metadata,.comment-notes) {color:var(--dm-sub)!important}
html[data-dm-tone=dark] body.dmx-native-theme .inhype-subscribe-block :is(h4,strong),
html[data-dm-tone=dark] body.dmx-native-theme .comments-form-wrapper .comment-reply-title {color:var(--dm-text)!important}
html[data-dm-tone=dark] body.dmx-native-theme .inhype-subscribe-block input[type=email] {background:var(--dm-bg)!important; color:var(--dm-text)!important; border-color:var(--dm-line)!important}
html[data-dm-tone=dark] body.dmx-native-theme :is(.inhype-subscribe-block,.comments-form-wrapper) :is(textarea,input)::placeholder {color:var(--dm-sub)!important; opacity:1}
html[data-dm-tone=dark] body.dmx-native-theme :is(.inhype-subscribe-block,.comments-form-wrapper) :is(button[type=submit],input[type=submit]) {color:#123047!important; background:var(--dm-link)!important; border-color:var(--dm-link)!important}
html[data-dm-tone=dark] body.dmx-native-theme :is(.comment-list,.comments-form-wrapper) a {color:var(--dm-link)!important}
html[data-dm-tone=dark] body .dmx.dmx-network {background:linear-gradient(125deg,var(--dm-surface-light,var(--dm-card)),var(--dm-card))!important; border-color:var(--dm-line)!important}
html[data-dm-tone=dark] body .dmx.dmx-network :is(h2,.dmx-wire-story b,.dmx-wire-story a) {color:var(--dm-text)!important}
html[data-dm-tone=dark] body .dmx.dmx-network :is(.dmx-network-head p,.dmx-outlet>p,.dmx-wire-story time) {color:var(--dm-sub)!important}
html[data-dm-tone=dark] body .dmx.dmx-network :is(.dmx-net-kicker,.dmx-source-site,.dmx-wire-story a:hover,.dmx-wire-story a:focus-visible) {color:var(--dm-link)!important}
html[data-dm-tone=dark] body .dmx.dmx-network .dmx-network-nav button {background:var(--dm-link)!important;color:var(--dmx-gate-button-ink,#112b38)!important;border:0;border-radius:50%}
html[data-dm-tone=dark] body .dmx-bookmark .dmx-link {color:var(--dmx-gate-button-ink,#112b38)!important;background:var(--dm-link)!important;border-color:transparent!important}

/* Native header controls retain their glyph, size and layout. */
html[data-dm-tone=dark] body.dmx-native-theme header.main-header {background:var(--dm-bg)!important}
html[data-dm-tone=dark] body.dmx-native-theme header.main-header.fixed {background:color-mix(in srgb,var(--dm-bg) 85%,#38657b)!important}
html[data-dm-tone=dark] body.dmx-native-theme header.main-header .header-center .logo-link img {filter:brightness(0) invert(1)!important}
html[data-dm-tone=dark] body.dmx-native-theme header.main-header :is(.header-left .social-icons-wrapper a,.header-right .news-feed,.header-right .search-toggle-btn svg,.header-right #weather-toggle) {color:var(--dm-text)!important}
html[data-dm-tone=dark] body.dmx-native-theme header.main-header .header-right :is(#weather-toggle,.lrm-login) svg :is(path,circle,line,polyline) {stroke:var(--dm-text)!important}
html[data-dm-tone=dark] body.dmx-native-theme header.main-header .header-right .lrm-login svg :is(path,circle) {fill:none!important}
html[data-dm-tone=dark] body.dmx-native-theme header.main-header .header-left .burger-icon span {background-color:var(--dm-text)!important}
html[data-dm-tone=dark] body.dmx-native-theme header.main-header .header-right .live-now {color:#f6f5f0!important; background:#813039!important}
html[data-dm-tone=dark] body.dmx-native-theme :is(.footer-sidebar-wrapper,.footer-html-block,.custom-footer-area,.footer-sidebar-3,.footer-sidebar) {
    background-color:color-mix(in srgb,var(--dm-bg) 85%,#031524)!important; color:var(--dm-text)!important;
}
html[data-dm-tone=dark] body.dmx-native-theme :is(.footer-sidebar,.custom-footer-area,.footer-html-block,.footer-sidebar-3) :is(p,a,span,small):not(#dmx-foot-services *) {color:var(--dm-sub)!important}
html[data-dm-tone=dark] body.dmx-native-theme :is(.footer-sidebar,.custom-footer-area,.footer-html-block,.footer-sidebar-3) :is(a:hover,a:focus-visible) {color:var(--dm-link)!important}
html[data-dm-tone=dark] body.dmx-native-theme :is(.footer-sidebar,.custom-footer-area,.footer-html-block,.footer-sidebar-3) :is(h2,h3,h4,b) {color:var(--dm-text)!important}
html[data-dm-tone=dark] body.dmx-native-theme :is(.footer-sidebar-3 img[src*="typos"],.typos-brands__logo img) {filter:brightness(0) invert(.9)!important}

/* Section accents, share row and tag cloud in the original article template. */
html[data-dm-tone=dark] body.dmx-native-theme :is(#post-sidebar,#page-sidebar,.sidebar) :is(.widgettitle,.widget-title,.wp-block-heading,.widgettitle a) {
    color:var(--dm-text)!important;-webkit-text-fill-color:currentColor!important;
}
html[data-dm-tone=dark] body.dmx-native-theme :is(#post-sidebar,#page-sidebar,.sidebar,.after-post-widget,.shortcode-block,.post-content-wrapper) :is(.widgettitle,.widget-title,.wp-block-heading,.inhype-block-title h3,.inhype-block-title h4,.comment-reply-title)::after,
html[data-dm-tone=dark] body.dmx-native-theme :is(#post-sidebar,#page-sidebar,.sidebar,.after-post-widget,.shortcode-block,.post-content-wrapper) :is(.widgettitle,.widget-title,.wp-block-heading,.inhype-block-title h3,.inhype-block-title h4,.comment-reply-title)::before {
    background-color:var(--dm-link)!important;border-color:var(--dm-link)!important;color:var(--dm-link)!important;
}
html[data-dm-tone=dark] body.dmx-native-theme.single-post :is(.blog-post-related-wrapper>h5,.comments-title,.comment-reply-title)::after,
html[data-dm-tone=dark] body.dmx-native-theme.single-post :is(.blog-post-related-wrapper>h5,.comments-title,.comment-reply-title)::before {background-color:var(--dm-link)!important;border-color:var(--dm-link)!important;color:var(--dm-link)!important}
html[data-dm-tone=dark] body.dmx-native-theme.single-post :is(.post-tags-wrapper,.inhype-post.inhype-post-bottom .post-details-bottom.post-details-bottom-single) {
    background:var(--dm-card)!important;color:var(--dm-text)!important;border-color:var(--dm-line)!important;
}
html[data-dm-tone=dark] body.dmx-native-theme.single-post .blog-post-single :is(.post-tags-wrapper,.inhype-post-bottom) :is(.tags,.post-info-share,.post-social-wrapper,.post-social-title,.post-social-frame,.post-social) {
    background:transparent!important;color:var(--dm-text)!important;border-color:var(--dm-line)!important;
}
html[data-dm-tone=dark] body.dmx-native-theme.single-post .blog-post-single .tags a,
html[data-dm-tone=dark] body.dmx-native-theme.single-post .blog-post-single .tags a::before,
html[data-dm-tone=dark] body.dmx-native-theme.single-post .inhype-post-bottom :is(.post-social a,.post-social-title-text) {color:var(--dm-link)!important;-webkit-text-fill-color:currentColor!important}
html[data-dm-tone=dark] body.dmx-native-theme.single-post .inhype-post-bottom .post-social a svg,
html[data-dm-tone=dark] body.dmx-native-theme.single-post .inhype-post-bottom .post-social a svg path {fill:currentColor!important}
html[data-dm-tone=dark] body.dmx-native-theme.single-post .inhype-post-bottom .post-social a {background:transparent!important}
html[data-dm-tone=dark] body.dmx-native-theme.single-post .blog-post-single :is(.tags a,.post-social a):is(:hover,:focus-visible),
html[data-dm-tone=dark] body.dmx-native-theme .entry-content :is(p,li,blockquote)>a:not(.dmx *,.inhype-post *,[class*="button"]):is(:hover,:focus-visible) {
    color:var(--dm-text)!important;text-decoration:underline!important;text-underline-offset:.16em;
}
html[data-dm-tone=dark] body.dmx-native-theme :is(.blog-post-related-wrapper,.after-post-widget,.post-sidebar) .inhype-post .post-title a:is(:hover,:focus-visible),
html[data-dm-tone=dark] body.dmx-native-theme .dmx-network .dmx-wire-story a:is(:hover,:focus-visible) b {color:var(--dm-link)!important;text-decoration:underline!important;text-underline-offset:.15em}
html[data-dm-tone=dark] body.dmx-native-theme.single-post .entry-content a.wp-block-button__link,
html[data-dm-tone=dark] body.dmx-native-theme.single-post :is(.post-container,.after-post-widget) .btn-load-more,
html[data-dm-tone=dark] body.dmx-native-theme.single-post .comments-form-wrapper :is(.submit,button[type=submit],input[type=submit]) {background:var(--dm-link)!important;color:var(--dmx-gate-button-ink,#112b38)!important;border-color:transparent!important}
