/* The InHype child styles set colours with !important on .page headings, spans and links.
   Scoped surface colours keep the newspaper cover, checkout and puzzle cards legible in both modes. */
:root{--dmx-navy:#05243a;--dmx-night:#061d30;--dmx-blue:#13415b;--dmx-ice:#d6e7ed;--dmx-gold:#f4cf77;--dmx-halo:radial-gradient(ellipse at 68% 12%,#194961 0%,#0b304b 48%,#042239 88%)}
html[data-dm-tone="light"]{--dm-bg:#f5f4ee;--dm-card:#fff;--dm-text:#102d40;--dm-sub:#465f70;--dm-line:#bfd0d4;--dm-head:#fcfcf8;--dm-invert:#113950;--dm-foot:#e4edf0;--dm-link:#124f70;--dm-logo:brightness(0) saturate(100%) invert(17%) sepia(43%) saturate(1057%) hue-rotate(157deg);color-scheme:light}
html[data-dm-tone="dark"]{--dm-bg:#05263f;--dm-card:#123951;--dm-text:#f2f6f7;--dm-sub:#bed3dd;--dm-line:#37576a;--dm-head:#05263e;--dm-invert:#fff;--dm-foot:#061e30;--dm-link:#c6e7f2;--dm-logo:brightness(0) invert(1);color-scheme:dark}
html[data-dm-tone] body.wp-theme-inhype{background:var(--dm-bg)!important;color:var(--dm-text)!important}
html[data-dm-tone] body.wp-theme-inhype :is(.content-block,.page-container,.container-page-item-title:not(.with-bg),.page-item-title-page,.content-block>.container,.sidebar,.post-content,.post-single-content,.footer-sidebar-wrapper,.footer-html-block,.custom-footer-area,.footer-sidebar-3){background:var(--dm-bg)!important;color:var(--dm-text)!important}
html[data-dm-tone] body.wp-theme-inhype :is(.footer-sidebar-wrapper,.custom-footer-area,.footer-html-block,.footer-sidebar-3,.footer-sidebar-3 .footer-widget){background:var(--dm-foot)!important;color:var(--dm-text)!important}
html[data-dm-tone] body.wp-theme-inhype :is(.footer-sidebar-3,.custom-footer-area,.footer-html-block) :is(a,span,p,small){color:var(--dm-sub)!important}
html[data-dm-tone] body.wp-theme-inhype .footer-sidebar-3 img[src*="typos"],html[data-dm-tone] body.wp-theme-inhype .typos-brands__logo img{filter:var(--dm-logo)!important}
html[data-dm-tone] body.wp-theme-inhype header.main-header,html[data-dm-tone] body.wp-theme-inhype header.main-header.fixed{background:var(--dm-head)!important;color:var(--dm-text)!important}
html[data-dm-tone] body.wp-theme-inhype header.main-header :is(.logo-link img,.burger-header .logo img){filter:var(--dm-logo)!important}
html[data-dm-tone] body.wp-theme-inhype header.main-header :is(.news-feed,.live-news,.search-toggle-btn,.social-icons-wrapper a,.lrm-login a,#weather-toggle,.dmx-head-icon){color:var(--dm-link)!important}
html[data-dm-tone] body.wp-theme-inhype header.main-header :is(.lrm-login,.search-toggle-wrapper,.weather-widget) svg :is(path,circle,line){stroke:var(--dm-link)!important}
html[data-dm-tone] body.wp-theme-inhype header.main-header .burger-icon span{background-color:var(--dm-link)!important}
html[data-dm-tone] body.wp-theme-inhype :is(.entry-content,.page-item-title-single,.blog-post-content,.inhype-post,.inhype-block-title,.page-container,.sidebar) :is(h1,h2,h3,h4,h5,h6,p,li,blockquote,figcaption):not(.dmx *,[class*="has-"][class*="-color"]){color:var(--dm-text)!important}
html[data-dm-tone] body.wp-theme-inhype :is(.entry-content,.page-container,.blog-post-content) :is(p>a,li>a):not(.dmx *,[class*="button"]){color:var(--dm-link)!important}
html[data-dm-tone] body.wp-theme-inhype :is(.post-title a,.page-title,.post-single-title,.inhype-block-title h2,.inhype-block-title h3):not(.dmx *){color:var(--dm-text)!important}
html[data-dm-tone] body.wp-theme-inhype :is(.post-date,.post-date time,.vcard,.post-author,.cat-title,.inhype-block-subtitle){color:var(--dm-sub)!important}
html[data-dm-tone] body.wp-theme-inhype :is(.inhype-post:not(.inhype-post-invert):not(.inhype-overlay-post),.inhype-postline-block-content,.post-details,.widget_search){background-color:var(--dm-card)!important;color:var(--dm-text)!important}
html[data-dm-tone] body.wp-theme-inhype :is(.inhype-post-invert,.inhype-overlay-post,.with-bg .col-overlay,.inhype-block-dark,.dmih-deck) {--dm-text:#fff;--dm-sub:#e2edf0;--dm-link:#fff}
html[data-dm-tone] body.wp-theme-inhype :is(.inhype-post-invert,.inhype-overlay-post,.with-bg .col-overlay) :is(.post-title,a,h1,h2,h3,h4,p,time){color:#fff!important}
html[data-dm-tone] body.wp-theme-inhype :is(.inhype-post-invert,.inhype-overlay-post) .post-details{background-color:transparent!important}
.dmx-head-tools{display:inline-flex!important;align-items:center;gap:3px;flex:none;vertical-align:middle;line-height:1;margin:0 3px;padding:0;position:relative}
body .dmx-head-tools .dmx-head-icon{box-sizing:border-box;display:inline-grid!important;place-items:center;float:none!important;min-width:0;width:34px!important;height:38px!important;margin:0!important;padding:0!important;position:static!important;border:0!important;border-radius:4px;background:transparent!important;color:var(--dm-link,#134765)!important;box-shadow:none!important;cursor:pointer}
.dmx-head-icon svg{display:block;width:21px;height:21px;stroke:currentColor!important;fill:none!important}
.dmx-head-icon[data-dmx-mode] svg{background:linear-gradient(to right,transparent 50%,currentColor 50%);border-radius:50%;background-clip:content-box;padding:2px}
body .dmx-head-tools .dmx-head-icon:hover{background:color-mix(in srgb,currentColor 12%,transparent)!important}
.dmx-head-tools :focus-visible,#dmx-appearance :focus-visible,.dmx-games :focus-visible,#dmx-foot-services :focus-visible,.dmx-network :focus-visible{outline:3px solid #d5982e!important;outline-offset:3px}
#dmx-appearance{box-sizing:border-box;background:linear-gradient(137deg,#123b56,#071e35 85%)!important;color:#f5f8fa!important;color-scheme:dark;width:min(590px,calc(100vw - 28px));max-height:calc(100dvh - 34px);overflow:auto;margin:auto;padding:clamp(24px,5vw,47px);border:1px solid #5b7c8e;border-radius:12px;box-shadow:0 30px 110px #0008;font:15px/1.5 system-ui,sans-serif}
#dmx-appearance:not([open]){display:none!important}
#dmx-appearance::backdrop,#dmx-news::backdrop{background:#041323b5;backdrop-filter:blur(6px)}
#dmx-appearance .dmx-mode-x{float:right;border:0;background:transparent;color:#fff;cursor:pointer;padding:7px}
#dmx-appearance .dmx-mode-brand img{display:block;width:85px;height:auto;filter:brightness(0) invert(1)}
#dmx-appearance h2{color:#fff!important;margin:23px 0 7px;font:700 clamp(32px,5vw,46px)/1.07 "DMX Reading",system-ui,sans-serif}
#dmx-appearance p,#dmx-appearance small,#dmx-appearance .dmx-mode-status{color:#c7dce5!important}
#dmx-appearance .dmx-mode-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:21px 0 15px}
#dmx-appearance [data-choice]{text-align:left;font:600 14px/1.4 system-ui,sans-serif;background:#14364f;border:1px solid #6b8797;color:#fff!important;padding:12px;border-radius:7px;cursor:pointer;min-width:0}
#dmx-appearance [data-choice][aria-pressed=true]{border:2px solid #f4cf77;background:#1a435c;padding:11px}
#dmx-appearance [data-choice] b,#dmx-appearance [data-choice] small{display:block;color:#f4f8fa!important}#dmx-appearance [data-choice] small{font-size:12px;font-weight:450;margin-top:3px}
#dmx-appearance .dmx-mode-sample{display:grid;align-content:center;gap:7px;height:79px;border-radius:3px;margin:0 0 10px;padding:12px;background:#f6f4eb;color:#224d66}
#dmx-appearance .dmx-mode-sample.dark{background:#061d30;color:#d9e8ed}
.dmx-mode-sample i{width:80%;height:4px;background:currentColor;opacity:.5}.dmx-mode-sample i:first-child{width:48%;height:12px;opacity:1}.dmx-mode-sample i:last-child{width:59%}
#dmx-appearance .dmx-mode-status{display:block;margin-top:12px;font-size:12px}
#dmx-foot-services{background:var(--dm-foot,#08283d)!important;color:var(--dm-text,#fff)!important;padding:clamp(24px,5vw,60px) max(16px,4vw);border-top:1px solid var(--dm-line,#406070);width:100%;text-align:left}
#dmx-foot-services>div{max-width:1180px;margin:auto}.dmx-foot-cards,.dmx-apps,.dmx-badges{display:flex;align-items:stretch;gap:14px}
#dmx-foot-services .dmx-foot-cards>a{flex:1;display:flex;gap:16px;align-items:center;text-align:left;background:var(--dm-card,#123950)!important;border:1px solid var(--dm-line,#536b7d);padding:clamp(16px,3vw,26px);border-radius:8px;color:var(--dm-text,#fff)!important;text-decoration:none}
#dmx-foot-services .dmx-foot-cards>a>span{display:grid;place-items:center;width:50px;height:50px;border-radius:6px;background:#e6c77e;color:#132e42!important}
#dmx-foot-services .dmx-foot-cards>a:nth-child(2)>span{background:#b4dce6;color:#102f47!important}
#dmx-foot-services .dmx-foot-cards>a>svg{margin-inline-start:auto;flex:none}
#dmx-foot-services :is(b,h2){color:var(--dm-text,#fff)!important}
#dmx-foot-services .dmx-foot-cards b{font:700 clamp(20px,3vw,29px)/1.15 "DMX Reading",system-ui,sans-serif;display:block}
#dmx-foot-services .dmx-foot-cards small,#dmx-foot-services .dmx-apps>div>span{font:500 13px/1.5 system-ui,sans-serif;color:var(--dm-sub,#c6dbe2)!important}
#dmx-foot-services .dmx-apps{margin-top:24px;padding-top:20px;border-top:1px solid var(--dm-line,#405c6b);justify-content:space-between;align-items:center}
#dmx-foot-services .dmx-apps:first-child{border-top:0;margin-top:0;padding-top:0}
#dmx-foot-services .dmx-apps h2{margin:5px 0 0;font:700 clamp(23px,3vw,35px)/1.1 "DMX Reading",system-ui,sans-serif}
#dmx-foot-services .dmx-store{display:flex;gap:10px;align-items:center;border:1px solid var(--dm-line,#667d89);border-radius:6px;padding:10px 15px;background:var(--dm-card,#143448)!important;color:var(--dm-text,#fff)!important;text-decoration:none}
#dmx-foot-services .dmx-store small,#dmx-foot-services .dmx-store b{display:block;color:inherit!important}#dmx-foot-services .dmx-store small{font:550 10px/1.4 system-ui,sans-serif}#dmx-foot-services .dmx-store b{font:700 19px/1.15 system-ui,sans-serif}
#dmx-foot-services a:hover{outline:2px solid #9a7734;outline-offset:2px}

@media(max-width:980px){.dmx-head-tools{gap:0}.dmx-head-icon svg{width:18px;height:18px}}
@media(max-width:720px){.dmx-foot-cards,.dmx-apps{flex-direction:column}.dmx-apps{align-items:flex-start!important}.dmx-badges{flex-wrap:wrap}}
@media(max-width:560px){.dmx-head-tools{margin:0 2px}.dmx-head-icon svg{width:17px;height:17px}#dmx-appearance .dmx-mode-choices{gap:7px}#dmx-appearance .dmx-mode-sample{height:60px}}
@media(max-width:335px){.dmx-badges{gap:5px}#dmx-foot-services .dmx-store{padding:8px}}
/* DropMedia positions the weather, account and feed controls with absolute pixel offsets.
   Use the existing row as a flex group so the added controls also fit in the sticky header. */
body.dmx-navigation.wp-theme-inhype header.main-header .col-md-12>.header-right:has(.dmx-head-tools){display:flex!important;position:relative!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:nowrap!important;gap:4px;padding:0!important;min-width:0;height:auto!important;line-height:1!important;white-space:nowrap}
body.dmx-navigation.wp-theme-inhype header.main-header .header-right:has(.dmx-head-tools)>:is(.weather-widget,.city-guide,.live-now,.header-right,.lrm-login,.search-toggle-wrapper,.dmx-head-tools){position:static!important;inset:auto!important;margin:0!important;float:none!important;transform:none!important;min-width:0;flex:0 0 auto}
body.dmx-navigation.wp-theme-inhype header.main-header .header-right:has(.dmx-head-tools)>.header-right{order:1;width:auto!important;height:auto!important;padding:0!important}
body.dmx-navigation.wp-theme-inhype header.main-header .header-right .news-feed{position:relative!important;inset:auto!important;margin:0 3px 0 7px!important;height:auto!important;width:auto!important;padding:0!important;line-height:1!important}
body.dmx-navigation.wp-theme-inhype header.main-header .header-right>.live-now{order:2;width:auto!important;padding:5px 8px!important;line-height:1.1!important}
body.dmx-navigation.wp-theme-inhype header.main-header .header-right>.weather-widget{order:3;width:30px!important;height:32px!important;padding:0!important}
body.dmx-navigation.wp-theme-inhype header.main-header #weather-toggle{width:30px!important;height:32px!important;margin:0!important;padding:2px!important}
body.dmx-navigation.wp-theme-inhype header.main-header #weather-toggle svg{width:25px!important;height:25px!important;position:static!important;transform:none!important}
body.dmx-navigation.wp-theme-inhype header.main-header .dmx-head-tools{order:4;align-self:center;gap:1px}
body.dmx-navigation.wp-theme-inhype header.main-header .header-right>.lrm-login{order:5}
body.dmx-navigation.wp-theme-inhype header.main-header .header-right>.search-toggle-wrapper{order:6}
body.dmx-navigation.wp-theme-inhype header.main-header .header-right :is(.lrm-login,.lrm-login>a,.search-toggle-wrapper,.search-toggle-btn){display:inline-flex!important;align-items:center!important;justify-content:center!important;position:static!important;inset:auto!important;margin:0!important;padding:0!important;width:30px!important;height:36px!important;line-height:1!important;min-width:0!important;transform:none!important}
body.dmx-navigation.wp-theme-inhype header.main-header .header-right :is(.lrm-login,.search-toggle-btn) svg{position:static!important;inset:auto!important;display:block!important;transform:none!important;margin:0!important;padding:0!important;width:23px!important;height:23px!important}
body.dmx-navigation.wp-theme-inhype header.main-header .header-right .dmx-head-icon{width:32px!important}
@media(max-width:1024px){
 body.dmx-navigation.wp-theme-inhype header.main-header>.container>.row>.col-md-12:has(.dmx-head-tools){display:grid!important;grid-template-columns:max-content minmax(0,1fr) max-content;align-content:center!important;align-items:center!important;gap:7px;flex-wrap:nowrap!important;height:58px!important;padding:0!important}
 body.dmx-navigation.wp-theme-inhype header.main-header .col-md-12>.header-left:has(.burger-icon){order:0!important;width:auto!important;min-width:29px;padding:0!important}
 body.dmx-navigation.wp-theme-inhype header.main-header .header-left .burger-icon{position:relative!important;inset:auto!important;margin:0!important;transform:none!important;width:30px!important}
 body.dmx-navigation.wp-theme-inhype header.main-header .col-md-12>.header-center:has(.logo-link){order:1!important;display:flex!important;align-items:center!important;width:auto!important;height:auto!important;min-width:0;padding:0!important}
 body.dmx-navigation.wp-theme-inhype header.main-header .header-center :is(.logo,.logo-link){position:static!important;inset:auto!important;transform:none!important;margin:0!important;padding:0!important;line-height:0!important;max-width:100%;height:auto!important}
 body.dmx-navigation.wp-theme-inhype header.main-header .header-center .logo-link img{position:static!important;inset:auto!important;transform:none!important;margin:0!important;padding:0!important;width:clamp(64px,21vw,115px)!important;height:auto!important;max-height:34px!important;max-width:100%!important;object-fit:contain}
 body.dmx-navigation.wp-theme-inhype header.main-header .col-md-12>.header-right:has(.dmx-head-tools){order:2!important;width:auto!important;gap:2px}
 body.dmx-navigation.wp-theme-inhype header.main-header .header-right .dmx-head-icon{width:28px!important}
 body.dmx-navigation.wp-theme-inhype:not(.admin-bar) header.main-header{top:0!important;margin-top:0!important}
}
@media(max-width:500px){
 body.dmx-navigation.wp-theme-inhype header.main-header>.container>.row>.col-md-12:has(.dmx-head-tools){gap:4px}
 body.dmx-navigation.wp-theme-inhype header.main-header .header-right :is(.lrm-login,.lrm-login>a,.search-toggle-wrapper,.search-toggle-btn){width:25px!important}
 body.dmx-navigation.wp-theme-inhype header.main-header .header-right .news-feed{font-size:clamp(14px,4vw,18px)!important}
 body.dmx-navigation.wp-theme-inhype header.main-header .header-right .dmx-head-icon{width:26px!important}
}
@media(max-width:1330px){
    body.wp-theme-inhype.dmx-navigation header.main-header.fixed{left:0!important;right:0!important;width:100%!important;min-width:0!important;max-width:100%!important;transform:none!important;margin-inline:0!important;box-sizing:border-box}
    body.wp-theme-inhype.dmx-navigation header.main-header.fixed>.container{width:100%!important;max-width:1200px!important;min-width:0!important}
}
