/* Admin Learning Hub — scoped to .ehub / .ehub-item so it doesn't fight your theme. */
.ehub, .ehub-item {
  --ehub-accent: #0078d4;
  --ehub-text: #1f2328;
  --ehub-muted: #5b6370;
  --ehub-line: #e3e6ea;
  --ehub-soft: #f4f6f9;
  --ehub-page: #f7f8fa;
  --ehub-card: #ffffff;
  --ehub-radius: 14px;
  --ehub-shadow: 0 1px 2px rgba(16,24,40,.06), 0 4px 14px rgba(16,24,40,.06);
  color: var(--ehub-text);
  font-size: 15px;
  line-height: 1.5;
}
.ehub *, .ehub-item * { box-sizing: border-box; }
.ehub svg, .ehub-item svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ehub, .ehub-launch { position: relative; }
/* Wide elements are sized and centred by hub.js (fitWide) so they never overflow the window. */
.ehub.ehub-wide, .ehub-launch.ehub-wide { max-width: 100%; margin-right: 0; }

/* ---------- banner ---------- */
.ehub-hero {
  position: relative; overflow: hidden; border-radius: 20px; color: #fff; margin-bottom: 28px;
  background: #0b1f3a var(--ehub-hero) center / cover no-repeat;
  box-shadow: 0 10px 30px rgba(10,26,51,.25);
}
.ehub-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,14,28,.82) 0%, rgba(6,14,28,.55) 45%, rgba(6,14,28,.15) 100%),
              linear-gradient(0deg, color-mix(in srgb, var(--ehub-hero-tint, #0b1f3a) 35%, transparent), transparent 60%);
}
.ehub-hero-inner { position: relative; padding: clamp(28px, 5vw, 56px) clamp(20px, 5vw, 56px) clamp(24px, 4vw, 40px); max-width: 860px; }
.ehub-hero-icon { display: inline-flex; width: 52px; height: 52px; border-radius: 14px; align-items: center; justify-content: center; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); margin-bottom: 14px; }
.ehub-hero-icon svg { width: 28px; height: 28px; }
.ehub .ehub-hero-title { margin: 0 0 8px; font-size: clamp(28px, 4.2vw, 46px); line-height: 1.1; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.ehub-hero-intro { margin: 0 0 22px; font-size: clamp(15px, 1.6vw, 18px); color: rgba(255,255,255,.88); max-width: 680px; }

/* search */
.ehub-search { position: relative; max-width: 720px; }
.ehub-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: #5b6370; }
.ehub .ehub-search input {
  width: 100%; height: 56px; margin: 0; border: 0; border-radius: 12px; padding: 0 18px 0 48px; font-size: 16.5px;
  background: #fff; color: var(--ehub-text); box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.ehub .ehub-search input:focus { outline: 3px solid color-mix(in srgb, var(--ehub-accent) 60%, #fff); outline-offset: 2px; }
.ehub-pop { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 12px; font-size: 13px; }
.ehub-pop > span { opacity: .8; margin-right: 2px; }
.ehub-hero .ehub-kw { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); color: #fff; backdrop-filter: blur(4px); }
.ehub-hero .ehub-kw:hover { background: rgba(255,255,255,.26); border-color: #fff; color: #fff; }
.ehub-stats { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 13.5px; color: rgba(255,255,255,.85); }
.ehub-stats b { color: #fff; font-size: 17px; margin-right: 4px; }
.ehub-prog { display: inline-flex; align-items: center; gap: 4px; }
.ehub-prog i { display: inline-block; width: 90px; height: 6px; border-radius: 3px; margin-left: 8px; background: linear-gradient(90deg, #6ee08a var(--p), rgba(255,255,255,.25) var(--p)); }
.ehub-plainsearch { margin-bottom: 20px; }
.ehub-plainsearch .ehub-stats { color: var(--ehub-muted); }
.ehub-plainsearch .ehub-stats b { color: var(--ehub-text); }
.ehub-plainsearch .ehub-search input { box-shadow: var(--ehub-shadow); border: 1px solid var(--ehub-line); }

/* chips */
.ehub .ehub-kw { border: 1px solid #d0d5dc; background: #fff; color: var(--ehub-text); border-radius: 999px; padding: 4px 12px; font-size: 12.5px; line-height: 1.4; cursor: pointer; margin: 0; }
.ehub .ehub-kw:hover { border-color: var(--ehub-accent); color: var(--ehub-accent); }
.ehub .ehub-kw-sm { font-size: 11.5px; padding: 2px 9px; }
.ehub-sec { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }

/* ---------- platform tiles ---------- */
.ehub-plats { margin-bottom: 30px; }
.ehub-plats .ehub-sec { margin-bottom: 12px; }
.ehub-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.ehub .ehub-tile {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 2px;
  min-height: 132px; padding: 14px 16px; margin: 0; border: 0; border-radius: var(--ehub-radius); overflow: hidden; cursor: pointer; text-align: left; color: #fff;
  background: #33475c var(--tile) center / cover no-repeat; box-shadow: var(--ehub-shadow); transition: transform .15s ease, box-shadow .15s ease;
}
.ehub .ehub-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.55) 100%); transition: background .15s; }
.ehub .ehub-tile > * { position: relative; }
.ehub .ehub-tile:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(16,24,40,.18); }
.ehub .ehub-tile:focus-visible { outline: 3px solid var(--ehub-accent); outline-offset: 2px; }
.ehub .ehub-tile.on { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--tint, var(--ehub-accent)), 0 10px 24px rgba(16,24,40,.2); }
.ehub .ehub-tile.is-soon { cursor: default; filter: grayscale(.55); opacity: .7; }
.ehub .ehub-tile.is-soon:hover { transform: none; }
.ehub-tile-icon { position: absolute !important; top: 14px; left: 16px; width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.18); backdrop-filter: blur(4px); }
.ehub-tile-icon svg { width: 22px; height: 22px; }
.ehub-tile-name { font-weight: 700; font-size: 15.5px; line-height: 1.25; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.ehub-tile-count { font-size: 12.5px; opacity: .9; }
.ehub-tile-desc { display: none; }
@media (min-width: 1100px) {
  .ehub .ehub-tile { min-height: 150px; }
  .ehub-tile-desc { display: block; font-size: 12px; line-height: 1.35; opacity: .85; margin-top: 4px; max-height: 0; overflow: hidden; transition: max-height .2s ease; }
  .ehub .ehub-tile:hover .ehub-tile-desc, .ehub .ehub-tile.on .ehub-tile-desc { max-height: 48px; }
}

/* ---------- toolbar ---------- */
.ehub-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; padding: 14px 16px; background: var(--ehub-card); border: 1px solid var(--ehub-line); border-radius: var(--ehub-radius); box-shadow: var(--ehub-shadow); }
.ehub-toolbar label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: var(--ehub-muted); margin: 0; text-transform: uppercase; letter-spacing: .03em; }
.ehub .ehub-toolbar select { height: 38px; min-width: 165px; border: 1px solid #cfd4db; border-radius: 8px; padding: 0 10px; background: #fff; color: var(--ehub-text); font-size: 14px; margin: 0; text-transform: none; letter-spacing: 0; font-weight: 400; }
.ehub-toolbar .ehub-check { flex-direction: row; align-items: center; gap: 6px; height: 38px; font-size: 14px; color: var(--ehub-text); text-transform: none; letter-spacing: 0; font-weight: 400; }
.ehub-active { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 12px 0 0; }
.ehub .ehub-pill { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 4px 8px 4px 12px; background: color-mix(in srgb, var(--ehub-accent) 12%, #fff); color: var(--ehub-accent); font-size: 13px; font-weight: 600; cursor: pointer; margin: 0; }
.ehub .ehub-pill svg { width: 13px; height: 13px; }
.ehub-count { display: flex; align-items: baseline; gap: 12px; margin: 24px 0 14px; }
.ehub-count > span { color: var(--ehub-muted); font-size: 13.5px; }

/* ---------- cards ---------- */
.ehub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.ehub-card { display: flex; flex-direction: column; background: var(--ehub-card); border: 1px solid var(--ehub-line); border-radius: var(--ehub-radius); overflow: hidden; box-shadow: var(--ehub-shadow); transition: transform .15s ease, box-shadow .15s ease; }
.ehub-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(16,24,40,.14); }
.ehub-card.is-featured { box-shadow: 0 0 0 2px color-mix(in srgb, var(--tint) 55%, #fff), var(--ehub-shadow); }
.ehub-card-band { position: relative; display: block; height: 118px; background: #33475c var(--band) center / cover no-repeat; color: #fff; text-decoration: none; }
.ehub-card-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,.55) 100%); }
.ehub-card-band > * { position: absolute; }
.ehub-band-plat { left: 14px; bottom: 11px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.ehub-band-icon { display: inline-flex; width: 28px; height: 28px; border-radius: 8px; align-items: center; justify-content: center; background: rgba(255,255,255,.2); backdrop-filter: blur(4px); }
.ehub-band-icon svg { width: 17px; height: 17px; }
.ehub-band-fmt { top: 12px; left: 14px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.92); color: #1f2328; }
.ehub-band-done { top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #2e9a3b; color: #fff; }
.ehub-band-done svg { width: 12px; height: 12px; stroke-width: 3; }
.ehub-band-done.ehub-feat { background: #f2b600; color: #1f2328; }
.ehub-card-body { display: flex; flex-direction: column; gap: 9px; padding: 14px 16px 16px; flex: 1; }
.ehub-card-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.ehub-tag { font-size: 11.5px; border-radius: 6px; padding: 2px 8px; background: var(--ehub-soft); color: var(--ehub-muted); }
.ehub-lvl-beginner { background: #e3f6e5; color: #11652a; }
.ehub-lvl-intermediate { background: #fff3cd; color: #7a5a00; }
.ehub-lvl-advanced { background: #fde7e9; color: #a4262c; }
.ehub-card h3 { margin: 0; font-size: 17.5px; line-height: 1.3; font-weight: 700; }
.ehub-card h3 a { color: inherit; text-decoration: none; }
.ehub-card h3 a:hover { color: var(--ehub-accent); }
.ehub-card p { margin: 0; color: var(--ehub-muted); font-size: 14px; }
.ehub-card-role, .ehub-role { display: flex; gap: 9px; align-items: flex-start; background: var(--ehub-soft); border-left: 3px solid var(--tint, var(--ehub-accent)); border-radius: 8px; padding: 8px 10px; font-size: 13.5px; }
.ehub-card-role svg { color: var(--tint, var(--ehub-accent)); margin-top: 2px; }
.ehub-card-role small, .ehub-role small { display: block; color: var(--ehub-muted); font-size: 12.5px; }
.ehub-card-kw { display: flex; flex-wrap: wrap; gap: 5px; }
.ehub-card-foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--ehub-muted); border-top: 1px solid var(--ehub-line); }
.ehub mark { background: #fff1a8; color: inherit; padding: 0 1px; border-radius: 2px; }
.ehub-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 48px 16px; color: var(--ehub-muted); text-align: center; background: var(--ehub-card); border: 1px dashed #cfd4db; border-radius: var(--ehub-radius); }
.ehub-empty svg { width: 28px; height: 28px; }

/* ---------- buttons ---------- */
.ehub .ehub-btn, .ehub-item .ehub-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: 8px; border: 1px solid #cfd4db; background: #fff; color: var(--ehub-text); font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1; margin: 0; }
.ehub .ehub-btn:hover, .ehub-item .ehub-btn:hover { border-color: var(--ehub-accent); color: var(--ehub-accent); }
.ehub .ehub-btn-primary, .ehub-item .ehub-btn-primary { background: var(--ehub-accent); border-color: var(--ehub-accent); color: #fff; }
.ehub .ehub-btn-primary:hover, .ehub-item .ehub-btn-primary:hover { color: #fff; filter: brightness(.92); }
.ehub .ehub-link { background: none; border: 0; padding: 0; color: var(--ehub-accent); text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; }
.ehub-item .ehub-done-btn.is-done { background: #e3f6e5; border-color: #9fd8a8; color: #11652a; }

/* ---------- item page ---------- */
.ehub-item { margin: 0 0 18px; }
.ehub-back { margin: 0 0 12px; font-size: 14px; }
.ehub-item-banner { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 150px; padding: 18px 20px; border-radius: var(--ehub-radius); margin-bottom: 12px; color: #fff; background: #33475c var(--ehub-hero) center / cover no-repeat; }
.ehub-item-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,14,28,.7), rgba(6,14,28,.2)); }
.ehub-item-banner > * { position: relative; }
.ehub-plat { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.ehub-plat-icon { display: inline-flex; width: 32px; height: 32px; border-radius: 9px; align-items: center; justify-content: center; background: rgba(255,255,255,.2); }
.ehub-plat-icon svg { width: 19px; height: 19px; }
.ehub-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.ehub-chip { font-size: 12.5px; border-radius: 999px; padding: 3px 10px; background: rgba(255,255,255,.9); color: #1f2328; }
.ehub-key { width: 14px; height: 14px; margin-top: 3px; border-radius: 50%; border: 2px solid var(--ehub-accent); flex: none; }
.ehub-launch { margin-top: 28px; }
.ehub-launch-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 14px; background: var(--ehub-soft); border: 1px solid var(--ehub-line); border-bottom: 0; border-radius: var(--ehub-radius) var(--ehub-radius) 0 0; }
.ehub-launch-bar span { display: flex; gap: 8px; flex-wrap: wrap; }
.ehub-keybar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 14px; background: #e8f5ec; border: 1px solid var(--ehub-line); border-bottom: 0; color: #11652a; font-size: 14px; }
.ehub-keybar code { font-size: 16px; font-weight: 700; letter-spacing: .06em; padding: 3px 8px; border-radius: 4px; background: #fff; color: #1f2328; border: 1px dashed #2e9a3b; }
.ehub-keybar small { flex-basis: 100%; color: inherit; opacity: .85; }
.ehub-item.ehub-dark .ehub-keybar { background: rgba(46,160,67,.14); color: #7ee2a0; border-color: #222733; }
.ehub-item.ehub-dark .ehub-keybar code { background: #0e1218; color: #e8eaf0; }
.ehub-frame { display: block; width: 100%; height: var(--ehub-embed-h, 85vh); min-height: 560px; border: 1px solid var(--ehub-line); border-radius: 0 0 var(--ehub-radius) var(--ehub-radius); background: #fff; }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .ehub.ehub-wide, .ehub-launch.ehub-wide { width: auto; max-width: 100%; margin-left: 0; }
  .ehub-hero { border-radius: 14px; }
  .ehub-pop .ehub-kw:nth-of-type(n+6) { display: none; }
  .ehub-stats { gap: 6px 16px; margin-top: 16px; }
  .ehub-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ehub .ehub-tile { min-height: 112px; padding: 12px; }
  .ehub-tile-icon { top: 12px; left: 12px; width: 32px; height: 32px; }
  .ehub-tile-name { font-size: 14px; }
  .ehub-toolbar label { flex: 1 1 140px; }
  .ehub .ehub-toolbar select { min-width: 0; width: 100%; }
  .ehub-grid { grid-template-columns: 1fr; }
  .ehub-frame { min-height: 480px; }
}
@media (prefers-reduced-motion: reduce) {
  .ehub .ehub-tile, .ehub-card { transition: none; }
  .ehub .ehub-tile:hover, .ehub-card:hover { transform: none; }
}

/* ======================================================================
   No byline on learning item pages (classic themes / older WordPress;
   block themes get the plugin's own template instead)
   ====================================================================== */
.single-ehub_item :is(.entry-meta, .posted-on, .byline, .cat-links, .tags-links, .comments-link, .entry-footer,
  .wp-block-post-author, .wp-block-post-author-name, .wp-block-post-date, .wp-block-post-terms, .wp-block-comments, .wp-block-post-navigation-link),
.single-ehub_item .wp-block-group:has(> .wp-block-post-author-name),
.single-ehub_item .wp-block-group:has(> .wp-block-post-terms) { display: none !important; }

/* ======================================================================
   Black theme — hub components (simulators inside iframes are untouched)
   ====================================================================== */
.ehub.ehub-dark, .ehub-item.ehub-dark {
  --ehub-text: #e8eaf0;
  --ehub-muted: #9aa3b2;
  --ehub-line: #262b36;
  --ehub-soft: #161a22;
  --ehub-page: #0b0d11;
  --ehub-card: #11151c;
  --ehub-shadow: 0 1px 2px rgba(0,0,0,.5), 0 8px 24px rgba(0,0,0,.35);
}
.ehub-dark .ehub-hero { box-shadow: 0 12px 40px rgba(0,0,0,.6); border: 1px solid #1d2230; }
.ehub-dark .ehub-search input { background: #0e1218; color: #e8eaf0; border: 1px solid #2c3342; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.ehub-dark .ehub-search input::placeholder { color: #7d8697; }
.ehub-dark .ehub-search svg { color: #7d8697; }
.ehub-dark .ehub-kw { background: #161a22; border-color: #2c3342; color: #d5d9e2; }
.ehub-dark .ehub-kw:hover { border-color: #4aa3ff; color: #8cc8ff; }
.ehub-dark .ehub-hero .ehub-kw { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.ehub-dark .ehub-sec, .ehub-dark .ehub-card h3, .ehub-dark .ehub-card h3 a { color: #f3f4f7; }
.ehub-dark .ehub-card h3 a:hover { color: #8cc8ff; }
.ehub-dark .ehub-card { border-color: #222733; }
.ehub-dark .ehub-card:hover { border-color: #33405a; box-shadow: 0 16px 40px rgba(0,0,0,.55); }
.ehub-dark .ehub-card-foot { border-top-color: #222733; }
.ehub-dark .ehub-toolbar select { background: #0e1218; color: #e8eaf0; border-color: #2c3342; }
.ehub-dark .ehub-toolbar select option { background: #11151c; color: #e8eaf0; }
.ehub-dark .ehub-toolbar .ehub-check { color: #d5d9e2; }
.ehub-dark .ehub-tag { background: #1a1f29; color: #aab3c2; }
.ehub-dark .ehub-lvl-beginner { background: rgba(46,160,67,.18); color: #7ee2a0; }
.ehub-dark .ehub-lvl-intermediate { background: rgba(255,185,0,.15); color: #f5cc5a; }
.ehub-dark .ehub-lvl-advanced { background: rgba(248,81,73,.16); color: #ff9a92; }
.ehub-dark .ehub-pill { background: rgba(74,163,255,.14); color: #8cc8ff; }
.ehub-dark .ehub-link { color: #8cc8ff; }
.ehub-dark mark { background: #5b4a00; color: #fff3b0; }
.ehub-dark .ehub-empty { border-color: #2c3342; }
.ehub-dark .ehub-tile.is-soon { opacity: .55; }
.ehub-dark.ehub .ehub-btn, .ehub-item.ehub-dark .ehub-btn { background: #161a22; border-color: #2c3342; color: #e8eaf0; }
.ehub-dark.ehub .ehub-btn:hover, .ehub-item.ehub-dark .ehub-btn:hover { border-color: #4aa3ff; color: #8cc8ff; }
.ehub-dark.ehub .ehub-btn-primary, .ehub-item.ehub-dark .ehub-btn-primary { background: var(--ehub-accent); border-color: var(--ehub-accent); color: #fff; }
.ehub-dark.ehub .ehub-btn-primary:hover, .ehub-item.ehub-dark .ehub-btn-primary:hover { color: #fff; filter: brightness(1.12); }
.ehub-item.ehub-dark .ehub-done-btn.is-done { background: rgba(46,160,67,.18); border-color: #2f7d45; color: #7ee2a0; }
.ehub-item.ehub-dark .ehub-role { background: #11151c; border: 1px solid #222733; border-left: 3px solid var(--ehub-accent); color: #e8eaf0; }
.ehub-item.ehub-dark .ehub-launch-bar { background: #11151c; border-color: #222733; color: #e8eaf0; }
.ehub-item.ehub-dark .ehub-frame { border-color: #222733; }
.ehub-item.ehub-dark .ehub-back a { color: #8cc8ff; }

/* ======================================================================
   Black theme — the rest of the page (header, footer, background, text)
   on hub and learning item pages. Works with block themes (via their
   colour presets) and most classic themes.
   ====================================================================== */
body.ehub-dark-page {
  --wp--preset--color--base: #0b0d11;
  --wp--preset--color--contrast: #e8eaf0;
  --wp--preset--color--accent-1: #8cc8ff;
  --wp--preset--color--accent-2: #161a22;
  --wp--preset--color--accent-3: #8cc8ff;
  --wp--preset--color--accent-4: #9aa3b2;
  --wp--preset--color--accent-5: #161a22;
  --wp--preset--color--accent-6: #262b36;
  background: #0b0d11 !important;
  color: #e8eaf0;
  color-scheme: dark;
}
body.ehub-dark-page :is(#page, .site, .site-content, .wp-site-blocks, header, footer, .site-header, .site-footer, main, article, .entry-content, .wp-block-template-part) {
  background-color: transparent;
  color: inherit;
}
body.ehub-dark-page :is(h1, h2, h3, h4, h5, h6, .wp-block-post-title, .wp-block-site-title, .site-title, .entry-title) { color: #f3f4f7; }
body.ehub-dark-page .site-title a, body.ehub-dark-page .wp-block-site-title a { color: #f3f4f7; }
body.ehub-dark-page :is(.entry-content, .wp-block-post-content) a:not(.ehub-btn) { color: #8cc8ff; }
body.ehub-dark-page :is(nav, .main-navigation, .wp-block-navigation) a { color: #d5d9e2; }
body.ehub-dark-page :is(nav, .main-navigation, .wp-block-navigation) a:hover { color: #ffffff; }
body.ehub-dark-page .wp-block-navigation__responsive-container.is-menu-open { background: #0b0d11 !important; color: #e8eaf0 !important; }
body.ehub-dark-page :is(.site-header, header.wp-block-template-part) { border-bottom: 1px solid #1d2230; }
body.ehub-dark-page :is(.site-footer, footer.wp-block-template-part) { border-top: 1px solid #1d2230; color: #9aa3b2; }
body.ehub-dark-page hr, body.ehub-dark-page .wp-block-separator { border-color: #262b36; color: #262b36; }
body.ehub-dark-page ::selection { background: #1f4f80; color: #fff; }
