:root { color-scheme:light; }
:root[data-adtg-theme="dark"] { color-scheme:dark; }
body { transition:background-color .45s ease,color .45s ease; }
.site-header,.wp-site-blocks>header,header.site-header,header#masthead,.kubio-header { transition:background-color .45s ease,color .45s ease,border-color .45s ease; }
.adtg-homepage,.adtg-articles,.adtg-group-page,.adtg-group-values,.adtg-professional,.adtg-group-discord,.adtg-article-page,.adtg-article-entry,.adtg-article-toc,.adtg-random-sidebar,.adtg-value-card,.adtg-post-card { transition:background-color .48s ease,color .48s ease,border-color .48s ease,box-shadow .48s ease; }
.adtg-theme-nav { align-items:center; display:flex!important; flex-wrap:wrap; gap:12px; justify-content:flex-end; }
.adtg-theme-toggle { align-items:center; background:rgba(255,255,255,.78); border:1px solid rgba(107,75,178,.45); border-radius:999px; box-shadow:0 4px 14px rgba(40,24,78,.1); color:#322743; cursor:pointer; display:inline-flex; flex:0 0 auto; font:inherit; font-size:.78rem; font-weight:700; line-height:1; gap:7px; justify-content:center; min-height:38px; padding:7px 12px; transition:background .25s ease,color .25s ease,border-color .25s ease,box-shadow .25s ease,transform .25s ease; }
.adtg-theme-toggle:hover { background:#fff; border-color:#7956d8; box-shadow:0 0 0 4px rgba(125,88,224,.12),0 7px 18px rgba(40,24,78,.15); transform:translateY(-1px); }
.adtg-theme-toggle:focus-visible { outline:3px solid #6b57d9; outline-offset:3px; }
.adtg-theme-toggle__icon { align-items:center; color:#6946cb; display:inline-flex; height:18px; justify-content:center; width:18px; }
.adtg-theme-toggle__icon svg { fill:none; height:18px; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.8; width:18px; }
.adtg-theme-toggle--floating { bottom:18px; position:fixed; right:18px; z-index:1000; }
.adtg-theme-toggle--floating { background:#fff; }
[data-adtg-theme="dark"] .adtg-theme-toggle { background:rgba(35,29,51,.92); border-color:rgba(191,160,255,.55); box-shadow:0 5px 18px rgba(0,0,0,.24); color:#f5efff; }
[data-adtg-theme="dark"] .adtg-theme-toggle:hover { background:#302747; border-color:#c6a4ff; box-shadow:0 0 0 4px rgba(160,120,255,.17),0 8px 20px rgba(0,0,0,.28); }
[data-adtg-theme="dark"] .adtg-theme-toggle__icon { color:#d0a8ff; }
[data-adtg-theme="dark"] .site-header,[data-adtg-theme="dark"] .wp-site-blocks>header,[data-adtg-theme="dark"] header.site-header,[data-adtg-theme="dark"] header#masthead,[data-adtg-theme="dark"] .kubio-header { background-color:#171321; border-color:#30283b; color:#f6f1fb; }
[data-adtg-theme="dark"] header nav a,[data-adtg-theme="dark"] .site-menu a,[data-adtg-theme="dark"] .wp-block-navigation a { color:#f0eaf8; }
[data-adtg-theme="dark"] .site-submenu { background:#211a2d; border-color:#40354f; }
[data-adtg-theme="dark"] .site-submenu a { color:#f0eaf8; }
.adtg-theme-transitioning::after { animation:adtg-theme-wave .82s cubic-bezier(.2,.75,.25,1) both; background:radial-gradient(circle at var(--adtg-transition-x,92%) var(--adtg-transition-y,8%),rgba(167,124,255,.34),rgba(101,77,162,.13) 28%,rgba(255,255,255,.08) 48%,transparent 72%); content:""; inset:0; pointer-events:none; position:fixed; z-index:99999; }
@keyframes adtg-theme-wave { 0% { clip-path:circle(0 at var(--adtg-transition-x,92%) var(--adtg-transition-y,8%)); opacity:1; } 72% { opacity:.9; } 100% { clip-path:circle(150vmax at var(--adtg-transition-x,92%) var(--adtg-transition-y,8%)); opacity:0; } }
@media(max-width:760px) { .adtg-theme-nav { gap:8px; } .adtg-theme-toggle { min-height:36px; padding:7px 10px; } }
@media(prefers-reduced-motion:reduce) { body,.site-header,.wp-site-blocks>header,header.site-header,header#masthead,.kubio-header,.adtg-homepage,.adtg-articles,.adtg-group-page,.adtg-group-values,.adtg-professional,.adtg-group-discord,.adtg-article-page,.adtg-article-entry,.adtg-article-toc,.adtg-random-sidebar,.adtg-value-card,.adtg-post-card,.adtg-theme-toggle { transition-duration:.01ms!important; } .adtg-theme-transitioning::after { animation:none!important; display:none; } }

[data-adtg-theme="dark"] body { background-color:#100e18!important; color:#f0ebf7!important; }


/* Flowing underline for the live WordPress menu, including menu items added later in WordPress. */
.adtg-theme-nav a:not(.adtg-theme-toggle) { position:relative; text-decoration:none; }
.adtg-theme-nav a:not(.adtg-theme-toggle)::after { background:linear-gradient(90deg,#7855db,#42c9f0,#b85bda,#7855db); background-size:220% 100%; border-radius:99px; bottom:-5px; content:""; height:2px; left:0; position:absolute; transform:scaleX(0); transform-origin:left center; transition:transform .28s ease; width:100%; }
.adtg-theme-nav a:not(.adtg-theme-toggle):hover::after,.adtg-theme-nav a:not(.adtg-theme-toggle):focus-visible::after { animation:adtg-menu-flow 2s linear infinite; transform:scaleX(1); }
.adtg-theme-toggle__icon { transition:transform .35s ease; }
.adtg-theme-transitioning .adtg-theme-toggle__icon { animation:adtg-mode-spin .7s cubic-bezier(.2,.8,.3,1); }
@keyframes adtg-menu-flow { to { background-position:220% 0; } }
@keyframes adtg-mode-spin { from { transform:rotate(-100deg) scale(.75); } to { transform:rotate(0) scale(1); } }
@media(prefers-reduced-motion:reduce) { .adtg-theme-nav a:not(.adtg-theme-toggle)::after,.adtg-theme-toggle__icon { animation:none!important; transition-duration:.01ms!important; } }
