:root{--lx-reader-bg:#f1f2f5;--lx-reader-card:#fff;--lx-reader-text:#20242b;--lx-reader-muted:#596273;--lx-reader-border:#e0e3e8;color-scheme:light}
html[data-lx-theme="dark"]{--lx-reader-bg:#0d1016;--lx-reader-card:#171d27;--lx-reader-text:#edf1f7;--lx-reader-muted:#b8c2d2;--lx-reader-border:#354052;color-scheme:dark}
/* The event artwork already supplies its own dark palette in both reader modes. */
#cm-content .loruxtv-calendar-netflix{color-scheme:only light}
.lx-compact-header{gap:12px}
.lx-compact-header .lx-socials{display:flex!important;flex:0 0 auto;gap:4px;align-items:center}
.lx-compact-header .lx-socials a{display:inline-flex!important;align-items:center;justify-content:center;width:24px;min-width:24px;height:40px;padding:0!important;line-height:1;border-radius:4px;color:#fff!important}
.lx-compact-header .lx-socials a:hover{background:#ffffff20}
.lx-compact-header .lx-socials a:focus-visible,.lx-theme-toggle:focus-visible{outline:3px solid #ffcc58;outline-offset:3px}
.lx-compact-header .lx-socials br{display:none!important}
.lx-compact-header .lx-socials svg{display:block!important;width:19px;height:19px;flex:0 0 19px;fill:currentColor}
.lx-theme-toggle{position:fixed;right:18px;bottom:calc(78px + env(safe-area-inset-bottom,0px));z-index:10000;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:104px;padding:10px 14px;border:1px solid #bfc7d3!important;border-radius:24px;background:#fff!important;color:#20242b!important;font:700 14px/1.2 Arial,Helvetica,sans-serif!important;box-shadow:0 4px 18px #0002;cursor:pointer;white-space:nowrap}
.lx-theme-toggle[hidden]{display:none!important}
.lx-theme-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 19px}
.lx-theme-toggle [data-lx-theme-icon="sun"]{display:none}
html[data-lx-theme="dark"] .lx-theme-toggle{background:#232c3a!important;border-color:#59677f!important;color:#fff!important}
html[data-lx-theme="dark"] .lx-theme-toggle [data-lx-theme-icon="sun"]{display:block}
html[data-lx-theme="dark"] .lx-theme-toggle [data-lx-theme-icon="moon"]{display:none}
#site-footer a.lx-footer-social{display:inline-flex;align-items:center;gap:8px}
#site-footer .lx-footer-social svg{width:17px;height:17px;flex:0 0 17px;fill:currentColor}
html[data-lx-theme="dark"] body{background:var(--lx-reader-bg)!important;color:var(--lx-reader-text)!important}
html[data-lx-theme="dark"] #cm-content .cm-featured-posts,
html[data-lx-theme="dark"] #cm-content .cm-post-content,
html[data-lx-theme="dark"] #cm-content .widget,
html[data-lx-theme="dark"] #cm-primary>article,
html[data-lx-theme="dark"] #cm-content .lorux-related-card,
html[data-lx-theme="dark"] #cm-content .cm-comments,
html[data-lx-theme="dark"] #cm-content .comment-respond{background:var(--lx-reader-card)!important;color:var(--lx-reader-text)!important;border-color:var(--lx-reader-border)!important}
html[data-lx-theme="dark"] #cm-content :is(h1,h2,h3,h4,h5,h6),
html[data-lx-theme="dark"] #cm-content .cm-entry-title a,
html[data-lx-theme="dark"] #cm-content .lorux-related-post-title a{color:var(--lx-reader-text)!important}
html[data-lx-theme="dark"] #cm-content .cm-posts .cm-post,
html[data-lx-theme="dark"] #cm-content .lorux-related{border-color:var(--lx-reader-border)!important}
html[data-lx-theme="dark"] #cm-content :is(.cm-entry-summary,.cm-entry-content,.entry-content){color:#d6deea!important}
html[data-lx-theme="dark"] #cm-content :is(.cm-entry-summary,.cm-entry-content,.entry-content) :is(p,li,blockquote,figcaption){color:inherit!important}
html[data-lx-theme="dark"] #cm-content :is(.cm-entry-summary,.cm-entry-content,.entry-content) a{color:#ff9da6!important;text-decoration:underline}
html[data-lx-theme="dark"] #cm-content :is(.cm-below-entry-meta,.cm-below-entry-meta a,.cm-entry-meta,.cm-entry-meta a,.lorux-related-category){color:var(--lx-reader-muted)!important}
html[data-lx-theme="dark"] #cm-content :is(.lorux-f1-nav,.lorux-calcio-nav) a{background:#222b3a!important;color:#e8edf5!important;border-color:#526078!important}
html[data-lx-theme="dark"] #cm-content :is(table,th,td){background:var(--lx-reader-card)!important;color:var(--lx-reader-text)!important;border-color:var(--lx-reader-border)!important}
html[data-lx-theme="dark"] #cm-content :is(input,textarea,select){background:#111722;color:var(--lx-reader-text);border-color:#59677f}
html[data-lx-theme="dark"] #cm-content :is(.page-numbers,.cm-pagination){color:var(--lx-reader-text);border-color:var(--lx-reader-border)}
@media(max-width:767px){
 .lx-compact-header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;column-gap:12px;row-gap:0;padding:10px 14px 4px}
 .lx-compact-header .lx-brand{grid-row:1;grid-column:1;min-width:0}
 .lx-compact-header .lx-brand img{max-width:100%}
 .lx-compact-header .lx-live{grid-row:1;grid-column:2}
 .lx-compact-header .lx-menu-mobile{grid-row:1;grid-column:3;display:block}
 .lx-compact-header .lx-menu-mobile>summary{min-width:32px;min-height:44px;display:flex;align-items:center;justify-content:center}
 .lx-compact-header .lx-socials{grid-row:2;grid-column:1/-1;display:flex!important;justify-content:space-between;width:100%;margin-top:6px;padding-top:2px;border-top:1px solid #ffffff20;gap:6px}
 .lx-compact-header .lx-socials a{width:36px;min-width:24px;height:44px}
 .lx-compact-header .lx-socials svg{width:21px;height:21px;flex-basis:21px}
 .lx-menu-mobile[open] nav{top:100%!important}
 .lx-theme-toggle{right:12px;bottom:calc(78px + env(safe-area-inset-bottom,0px))}
}

/* Keep the approved homepage menu spacing on every public template. */
@media (min-width:768px){
 .lx-compact-header>nav>ul.menu-desktop{justify-content:space-between!important;gap:10px!important}
}

/* These two pages need a dark canvas for the original transparent logos. */
body:is(.page-id-375,.page-id-803){background:#0d1016!important;color:#edf1f7!important;color-scheme:only light}
body:is(.page-id-375,.page-id-803) #cm-primary article,
body:is(.page-id-375,.page-id-803) #cm-primary .cm-entry-summary{background:transparent!important;color:#d6deea!important;border-color:#354052!important}
body:is(.page-id-375,.page-id-803) #cm-content :is(h1,h2,h3,h4,h5,h6){color:#edf1f7!important}
body:is(.page-id-375,.page-id-803) #cm-primary .cm-entry-summary :is(p,li,blockquote,figcaption){color:inherit!important}
body:is(.page-id-375,.page-id-803) #cm-primary .cm-entry-summary a:not(.wp-block-button__link){color:#ff9da6!important}
body:is(.page-id-375,.page-id-803) #cm-primary .wp-block-button__link{background:#d9090b!important;color:#fff!important}
body.page-id-803 #cm-primary .wpforms-container :is(.wpforms-field-label,.wpforms-field-label-inline,legend,label){color:#edf1f7!important}
body.page-id-803 #cm-primary .wpforms-container :is(.wpforms-field-description,.wpforms-field-sublabel){color:#b8c2d2!important}
body.page-id-803 #cm-primary .wpforms-container :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),textarea,select){background:#fcfcfc!important;color:#20242b!important;border-color:#8e9bb0!important;caret-color:#20242b}
body.page-id-803 #cm-primary .wpforms-container :is(input,textarea)::placeholder{color:#596273!important;opacity:1}
body.page-id-803 #cm-primary .wpforms-container :is(input,textarea,select):focus-visible{outline:3px solid #ffcc58;outline-offset:2px}
body.page-id-803 #cm-primary .wpforms-container :is(label.wpforms-error,em.wpforms-error,.wpforms-error){color:#ffb5b5!important}
