/* ===== Invent + Discover: dark neon look for the blog (Cubic theme) ===== */
:root{
  --id-bg:#05060A; --id-card:#10131A; --id-ink:#F4F5F7;
  --id-ink2:rgba(244,245,247,.72); --id-line:rgba(255,255,255,.12);
  --id-neon:#A58BFF; --id-neon2:#4DD8FF;
}
/* 1. Dark background everywhere */
html,body,#page,.site,.site-header,#masthead,.site-content,#content,#primary,#secondary,
.content-area,.widget-area,.site-footer,#colophon{background:var(--id-bg)!important;color:var(--id-ink)!important}
/* 2. Text inside posts and pages */
.entry-content p,.entry-content li,.entry-meta,.entry-footer,.widget{color:var(--id-ink2)!important}
.entry-content h1,.entry-content h2,.entry-content h3,.page-title,.widget-title{color:#fff!important}
/* 3. Links inside the site only (not the WordPress bar at the top) */
#page a{color:var(--id-neon)}
#page a:hover{color:var(--id-neon2);text-shadow:0 0 10px rgba(77,216,255,.6)}
.entry-title a,#page .entry-title a{color:#fff!important}
/* 4. Post tiles keep Cubic's own layout; only a neon glow on hover */
.blog article.hentry:hover,.archive article.hentry:hover{box-shadow:inset 0 0 0 2px var(--id-neon),0 0 24px rgba(165,139,255,.45)}
/* 5. Form buttons only (the menu button is left alone) */
input[type=submit],.search-submit,.wp-block-button__link{background:var(--id-neon)!important;color:#0D0820!important;
  border:0!important;border-radius:999px!important}
input[type=text],input[type=email],input[type=search],textarea{background:var(--id-card)!important;color:var(--id-ink)!important;border:1px solid var(--id-line)!important}
pre,code{background:#0B0D13!important;color:#d6ccff!important}
/* 6. INVENT + DISCOVER logo (works with the Code Snippet) */
.site-title a.id-logo{color:#fff!important;text-decoration:none!important;font-weight:700!important;
  letter-spacing:.04em;display:inline-flex;align-items:center;white-space:nowrap}
.id-logo .id-plus{display:inline-grid;place-items:center;width:1.15em;height:1.15em;margin:0 .3em;
  border-radius:.3em;background:#A58BFF;color:#0D0820!important;font-size:.9em;line-height:1;
  box-shadow:0 0 14px rgba(165,139,255,.7)}
#page .entry-meta a,#page .posted-on a{color:#fff!important;text-shadow:0 1px 6px rgba(0,0,0,.6)}
/* 7. Space between post tiles, with rounded corners like the main site's cards */
.blog .hentry,.archive .hentry,.search-results .hentry{
  clip-path:inset(10px round 18px);   /* trims 10px off every side and rounds the corners */
  transition:filter .25s}
/* a thin light edge on every tile, which turns into a purple glow on hover */
.blog .hentry::after,.archive .hentry::after,.search-results .hentry::after{
  content:"";position:absolute;inset:10px;border-radius:18px;pointer-events:none;z-index:3;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.14);transition:box-shadow .25s}
.blog .hentry:hover::after,.archive .hentry:hover::after,.search-results .hentry:hover::after{
  box-shadow:inset 0 0 0 2px #A58BFF,inset 0 0 28px rgba(165,139,255,.45)}
.blog .hentry:hover,.archive .hentry:hover,.search-results .hentry:hover{filter:brightness(1.08)}
/* matching gap at the left and right edges of the screen */
.blog .site-main,.archive .site-main,.search-results .site-main{padding:0 10px}
/* 8. Dark fade behind tile titles, and a little more room at the bottom */
.blog .entry-header,.archive .entry-header,.search-results .entry-header{
  padding-bottom:26px!important;z-index:2;
  background:linear-gradient(to top,rgba(5,6,10,.85),rgba(5,6,10,.45) 60%,transparent)}
/* 9. Hide the burger menu (top right) */
.sidebar-toggle,.menu-toggle{display:none!important}
