/*
Theme Name: Master Mind 5.0
Theme URI: https://mindtattoos.com
Description: A hand-built WordPress Bootstrap 5 theme by Chris J
Version: 4.51
Author: Chris James
Author URI: https://mindtattoos.com
Tags: Responsive, Bootstrap 5, jQuery Scroll + GSAP
License: Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
License URI: http://creativecommons.org/licenses/by-sa/3.0/
*/

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.2/font/bootstrap-icons.min.css");
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url("https://use.typekit.net/tsn6hxk.css");

/* Wordpress Admin Bar login */
.logged-in .fixed-top {
  top: 30px;
}

:root{
  --bg:#070A0F;
  --sterile:#f7f7f7;
  --ink:#E9EEF5;
  --muted:rgba(233,238,245,.65);
  --line:rgba(233,238,245,.12);
  --linevert:#5f9eaa;
  --ember:#e75f25;
  --burn: #b10e0e;
  --cold:#4AA3FF;
  --ice: #5f9eaa;
  --dark:#121212; /* FIXED */
  --solarii-cyan: #62b9c9;
  --solarii-bg: #eef2f5; /* Light gray base from image */
  --header-drk: #515860;
}

*,
*:after,
*:before {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}

:target {
  scroll-margin-top: 120px;
}

html {
  scroll-behavior: smooth;
}

body { 
--site-bg: var(--sterile); --site-text: var(--dark);
color: var(--site-text); 
font-family: "Roboto", "Arial Narrow", Arial, sans-serif; 
background-color: var(--site-bg); 
background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
background-size: 40px 40px;
transition: background-color .6s ease, color .6s ease; 
}

.pt-60 {
    margin-top: 60px;
}
.pt-80 {
    margin-top: 80px;
}

ul#menu-main li {
  padding: 0 .5em;
  text-transform: uppercase;
  font-family: 'alternate-gothic-atf';
  font-weight: bold;
  letter-spacing: 2px;
}

body.home{
  --site-bg: var(--bg);
  --site-text: var(--ink);
  background-image: none;
}

body.home.home-light{
  --site-bg: var(--sterile);
  --site-text: var(--dark);
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

body.home.home-light ul#menu-main-1 li a{
  color: var(--dark);
}

body.home.home-light ul#menu-main-1 li a:hover{
  color: var(--ice);
}
body:not(.home) ul#menu-main li a,
body:not(.home) ul#menu-main-1 li a{
  color: var(--dark);
}

body:not(.home) ul#menu-main li a:hover,
body:not(.home) ul#menu-main-1 li a:hover{
  color: var(--burn);
}
body.home.home-light .navbar-toggler{
  border-color: rgba(18,18,18,.18);
}
body.home.home-light .navbar-toggler-icon,
body:not(.home) .navbar-toggler-icon{
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2818,18,18,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.bg-white {
  --bs-bg-opacity: 1;
  background-color: rgb(255 255 255 / 30%) !important;
}

/* Video Home */

video.main-video {
  max-width: 100%;
  margin-top: 80px;
}

 /* Body edits end  */
.font-system,
.section-title,
.kicker,
.meta,
.blog-nav-link,
.sci-fi-metadata {

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  text-rendering: optimizeLegibility;
}
.sci-fi-metadata,
.access-logs,
.timestamp {
  font-variant-numeric: tabular-nums;
}
h1 {
	color: var(--header-drk);
	text-transform: uppercase;
}

h2, h3, h4, h5 {
	color: var(--header-drk);
}

div#blogger {
    padding: 1.5em 0 3em 0;
}

#blogger h2, h3 {
  font-family: "alternate-gothic-atf", "axia-stencil", "Alternate Gothic", Arial, sans-serif;
  font-weight: bold;
  color: var(--header-drk);
  text-transform: uppercase;
  margin: 2.5rem 0 1.5rem 0;
}

#blogger li {
 margin-bottom:1.5em;
}

/* New Typewriter */
.hero-text-container {
  position: relative;
  width: 80%;           /* or max-width: 600px; etc */
  margin: 0 auto;
  overflow: hidden;     /* optional safety */
}

.sci-fi-heading {
  margin: 0;
  line-height: 1.2;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--header-drk);
}

.cursor {
  position: absolute;
  color: var(--solarii-cyan);
  font-weight: bold;
  opacity: 0;
  pointer-events: none;
  /* will be moved via GSAP */
}

.metadata-block-container {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Very subtle line */
    padding-bottom: 10px;
    margin-bottom: 15px;
}
/* Add 'glitch-flicker 0.2s 3' to your H1 animation property to make it pop! */

/* The Image Container */
.featured-image-container {
    position: relative;
    overflow: hidden;
    display: block;
    cursor: crosshair; /* Gives it that 'targeting' feel */
}

/* The Image itself - starts slightly 'Off-line' */
.featured-image-container img {
    filter: grayscale(30%) contrast(110%);
    transition: filter 0.4s ease;
}

/* The Overlay - Hidden by default */
.featured-image-container::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.3) 50%
    );
    background-size: 100% 4px;
    z-index: 2;
    pointer-events: none;
    opacity: 0; /* Hidden */
    transition: opacity 0.3s ease;
}

/* THE TRIGGER: Activation on Hover */
.featured-image-container:hover img {
    filter: grayscale(0%) contrast(130%) brightness(1.1);
}

.featured-image-container:hover::before {
    opacity: 1;
    animation: crt-flicker 0.1s infinite;
}

/* The glitchy flicker animation */
@keyframes crt-flicker {
    0% { opacity: 0.6; }
    50% { opacity: 0.8; }
    100% { opacity: 0.7; }
}

/* Font roles (swap to your real font-face once installed) */
.font-system {
  font-family: "Alternate Gothic", "Oswald", "Arial Narrow", Arial, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.font-authority{
  font-family: "axia-stencil", "Alternate Gothic",  Arial, sans-serif;
  font-weight: 900;
  font-style: normal;
  color: var(--ice);
  letter-spacing: .08em;
  text-transform: uppercase;
  /* clamp(MIN, PREFERRED, MAX) */
  font-size: clamp(1.5rem, 4vw, 2.25rem); 
  line-height: 1.1;
  word-wrap: break-word; /* Prevents "RETRIBUTION" from breaking the box on tiny phones */
}

.hazard-divider {
  height: 10px;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(0,0,0,0.1) 10px,
    rgba(0,0,0,0.1) 20px
  );
}

.hazard-box {
  position: relative;
  z-index: 0;
}

.hazard-box::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 10px; /* border thickness */
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(0,0,0,0.1) 10px,
    rgba(0,0,0,0.1) 20px
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.sterile {
	background-color: var(--sterile);
}

blockquote {
    margin: 0 0 1rem;
    padding: .5em 1em;
    background: #f8f9fa;
    border-left: #515860 5px solid;
    font-size: 1.5em;
    font-style: italic;
}
.entry-content.blockquote p {
    line-height: 1;
    margin-bottom: 1rem;
}

ul.socials {
  padding: 0;
  list-style: none;
}
ul.subs {
    list-style: none;
}
ul.post-categories {
    padding: 0;
    list-style-type: none;
}
/* HERO */
.hero {
  position: relative;
  min-height: 87vh;
  display: grid;
  place-items: end start;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(1200px 700px at 70% 20%, rgba(74,163,255,.18), transparent 60%),
    radial-gradient(900px 500px at 30% 80%, rgba(255,106,43,.12), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.85));
  }

/* Replace this with your real hero image: style="background-image:url(...)" on .hero-media */
.hero-media{
  position:absolute; inset:0;
  background: url('retribution.png') center/cover no-repeat;
  filter: saturate(.95) contrast(1.05) brightness(.72);
/* transform: scale(1.03); */
  opacity: .55;
  pointer-events:none;
}

/* IMAGE LAYER */
 .hero-image{
  position: absolute;
  inset: 0;
  background: url('/wp-content/uploads/2026/03/Hand.png') center / cover no-repeat;
  z-index: 0;
}

/* VIDEO LAYER */
.hero-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}
.hero-video.is-loaded{ opacity: 1; }

a {
  color: var(--solarii-cyan);
  text-decoration: none;
}
a:hover {
  color: var(--burn);
  text-decoration: underline;
}

/* OVERLAY */
.hero-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28); /* slightly stronger for text safety */
  z-index: 2;
}

.hero-content{
  z-index: 2;
}

.kicker{
  color: var(--muted);
  font-size: .85rem;
  border-left: 2px solid var(--linevert);
  padding-left: .75rem;
  margin-bottom: 1.25rem;
}

    .doctrine-date{
      font-size: clamp(1.1rem, 2.1vw, 1.6rem);
      margin: 0 0 .35rem 0;
      color: rgba(233,238,245,.92);
    }

    .doctrine-line{
      font-size: clamp(1.0rem, 1.8vw, 1.35rem);
      margin: 0 0 1.4rem 0;
      color: rgba(233,238,245,.82);
    }

    .series-mark{
      margin-top: .25rem;
      font-size: clamp(1.6rem, 3.2vw, 2.6rem);
      line-height: 1;
    }

    .cta-link{
      display:inline-flex;
      gap:.6rem;
      align-items:center;
      text-decoration:none;
      color: var(--ink);
      border: 1px solid var(--line);
      padding: .75rem 1rem;
      border-radius: 0.9rem;
      background: rgba(0,0,0,.28);
      transition: transform .12s ease, border-color .12s ease, background .12s ease;
    }
    .cta-link:hover{
      transform: translateY(-1px);
      border-color: rgba(233,238,245,.22);
      background: rgba(0,0,0,.40);
    }

    /* SECTIONS */
    .section{
      padding: 4rem 0;
      border-bottom: 1px solid var(--line);
    }

    .section-title{
      font-size: .85rem;
      color: var(--muted);
      margin-bottom: 1.25rem;
    }

    .spine-card{
      border: 1px solid var(--line);
      border-radius: 1.25rem;
      background: rgba(255,255,255,.02);
      padding: 1.5rem;
      height: 100%;
    }

    .meta{
      color: var(--muted);
      font-size: .85rem;
      margin-top: .75rem;
    }

    .actions a{
      text-decoration:none;
      color: var(--ink);
      border-bottom: 1px solid rgba(233,238,245,.22);
      padding-bottom: .15rem;
      margin-right: 1rem;
    }
    .actions a:hover{
      border-bottom-color: rgba(255,106,43,.55);
    }

    /* INTEL ACCESS */
    .intel-box{
      border: 1px solid var(--line);
      border-radius: 1.25rem;
      padding: 1.5rem;
      background: rgba(0,0,0,.22);
    }

    .form-control{
      background: rgba(0,0,0,.35);
      border: 1px solid var(--line);
      color: var(--ink);
      border-radius: .9rem;
    }
    .form-control:focus{
      background: rgba(0,0,0,.45);
      border-color: rgba(74,163,255,.35);
      box-shadow: none;
      color: var(--ink);
    }

    .btn-signal{
      border-radius: .9rem;
      border: 1px solid var(--line);
      background: rgba(255,255,255,.03);
      color: var(--ink);
      padding: .7rem 1rem;
    }
    .btn-signal:hover{
      border-color: rgba(233,238,245,.22);
      background: rgba(255,255,255,.05);
    }

    .micro{
      color: var(--muted);
      font-size: .85rem;
      margin-top: .75rem;
    }

    /* Covert confirmation (inline) */
    .intel-confirm{
      display:none;
      border-top: 1px solid var(--line);
      margin-top: 1.25rem;
      padding-top: 1.25rem;
    }

    .clearance{
      color: rgba(233,238,245,.72);
      font-size: .85rem;
      margin-top: .5rem;
    }

    /* FOOTER + [REDACTED] pseudo-link */
    footer{
      padding: 2.5rem 0;
      color: var(--header-drk);
    }

    .redacted-wrap{
      display:flex;
      align-items:center;
      gap:1rem;
      padding-top: 1rem;
      border-top: 1px solid var(--line);
      margin-top: 1rem;
    }

    /* Element contains only hidden text; pseudo-element supplies the visible token */
    .redacted-link{
      display:inline-block;
      position:relative;
      padding: .15rem .35rem;
      border-radius: .5rem;
      border: 1px solid transparent;
      background: transparent;
      cursor: pointer;

      /* make the actual text invisible without removing accessibility */
      font-size: 0;
      line-height: 1;
      user-select:none;

      opacity: .72;
    }
    .redacted-link::before{
      content: "[REDACTED]";
      font-size: .85rem;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: rgba(233,238,245,.38);
      text-decoration: none;
    }
    .redacted-link:hover{
      opacity: .85;
      border-color: rgba(233,238,245,.10);
    }
    .redacted-link:focus-visible{
      outline: none;
      border-color: rgba(74,163,255,.25);
      opacity: .95;
    }

    .redacted-reveal{
      display:none;
      color: rgba(233,238,245,.78);
      font-size: .95rem;
    }
    .redacted-reveal small{
      display:block;
      margin-top: .25rem;
      color: rgba(233,238,245,.40);
      letter-spacing: .06em;
      text-transform: uppercase;
    }

    .revealed .redacted-reveal{
      display:block;
    }

/* STATUS LINE (system label) */
.status{
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: baseline;
}
.status .break {
  flex-basis: 100%;
  height: 0;
}
.status .label{ color: rgba(233,238,245,.62); }
.status .value{
  font-weight: 600;
  letter-spacing: .10em;
  color: rgba(233,238,245,.92);
}

.navbar-brand img {
    height: 30px;
    width: auto;
}

.navbar-toggler {
  border-color: rgba(255,255,255,.25);
  transition: border-color .45s ease;
}

body.home.home-light .navbar-toggler{
  border-color: rgba(18,18,18,.18);
}

ul#menu-main li {
    padding: 0 .5em;
	text-transform: uppercase;
}


body.home.home-light ul#menu-main li a {
    color: red;
}

body.home.home-light ul#menu-main li a:hover{
    color: var(--ice);
}

.navbar {
	background: transparent;
    border-color: transparent;
}

.navbar-glass {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* Type cursor */
    .cursor{
      display:inline-block;
      width: .55ch;
      margin-left: .15rem;
      border-left: 2px solid rgba(233,238,245,.55);
      height: 1em;
      transform: translateY(.12em);
      animation: blink 1s step-end infinite;
      opacity: .9;
    }
    @keyframes blink{ 50% { opacity: 0; } }
    .cursor.done{ opacity: 0; animation: none; }
/* Optional: stop cursor blinking once typing finishes (we'll toggle this class in JS) */
.cursor.done{
  opacity: 0;
  animation: none;
}

.solarii-ig {
  display:inline-block;
  position:relative;
}

.ig-icon{
  width:36px;
  height:36px;
  fill:#5f9EAA;
  transition:transform .2s ease;
}

.solarii-ig:hover .ig-icon{
  animation: ig-glitch .35s steps(2,end) infinite;
}

.solarii-social {
  --solarii-colour: #5f9eaa;
  --glitch-red: rgba(255, 60, 90, 0.75);
  --glitch-cyan: rgba(120, 255, 255, 0.85);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  position: relative;
  text-decoration: none;
}

.ig-glitch {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 32px;
}

.ig-glitch svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: var(--solarii-colour);
  transition: transform 0.18s ease, opacity 0.18s ease, filter 0.18s ease;
  will-change: transform, opacity, filter;
}

.ig-base {
  z-index: 3;
  filter: drop-shadow(0 0 6px rgba(95, 158, 170, 0.18));
}

.ig-ghost {
  opacity: 0;
  pointer-events: none;
}

.ig-ghost-1 {
  z-index: 1;
  fill: var(--glitch-red);
}

.ig-ghost-2 {
  z-index: 2;
  fill: var(--glitch-cyan);
}

/* subtle idle feel */
.solarii-social:hover .ig-base {
  animation: solarii-instagram-base 0.45s steps(2, end) infinite;
  filter:
    drop-shadow(0 0 8px rgba(95, 158, 170, 0.4))
    drop-shadow(0 0 14px rgba(95, 158, 170, 0.18));
}

.solarii-social:hover .ig-ghost-1 {
  opacity: 0.75;
  animation: solarii-instagram-red 0.22s steps(2, end) infinite;
}

.solarii-social:hover .ig-ghost-2 {
  opacity: 0.8;
  animation: solarii-instagram-cyan 0.22s steps(2, end) infinite;
}

/* optional outer interference flicker */
.solarii-social::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(95, 158, 170, 0);
  opacity: 0;
  pointer-events: none;
}

.solarii-social:hover::after {
  opacity: 1;
  border-color: rgba(95, 158, 170, 0.22);
  animation: solarii-frame-flicker 0.35s linear infinite;
}

@keyframes solarii-instagram-base {
  0%   { transform: translate(0, 0) skewX(0deg); }
  20%  { transform: translate(-1px, 1px) skewX(-1deg); }
  40%  { transform: translate(1px, -1px) skewX(1deg); }
  60%  { transform: translate(-1px, 0) skewX(0deg); }
  80%  { transform: translate(1px, 1px) skewX(-1deg); }
  100% { transform: translate(0, 0) skewX(0deg); }
}

@keyframes solarii-instagram-red {
  0%   { transform: translate(0, 0); clip-path: inset(0 0 0 0); }
  25%  { transform: translate(2px, 0); clip-path: inset(8% 0 48% 0); }
  50%  { transform: translate(-2px, 1px); clip-path: inset(40% 0 12% 0); }
  75%  { transform: translate(1px, -1px); clip-path: inset(65% 0 5% 0); }
  100% { transform: translate(0, 0); clip-path: inset(0 0 0 0); }
}

@keyframes solarii-instagram-cyan {
  0%   { transform: translate(0, 0); clip-path: inset(0 0 0 0); }
  25%  { transform: translate(-2px, 0); clip-path: inset(12% 0 42% 0); }
  50%  { transform: translate(2px, -1px); clip-path: inset(52% 0 8% 0); }
  75%  { transform: translate(-1px, 1px); clip-path: inset(28% 0 22% 0); }
  100% { transform: translate(0, 0); clip-path: inset(0 0 0 0); }
}

@keyframes solarii-frame-flicker {
  0%   { opacity: 0.15; transform: scale(1); }
  25%  { opacity: 0.45; transform: scale(1.02); }
  50%  { opacity: 0.12; transform: scale(0.99); }
  75%  { opacity: 0.35; transform: scale(1.01); }
  100% { opacity: 0.18; transform: scale(1); }
}

.solarii-social:hover .ig-glitch {
  animation: solarii-flicker 0.12s linear infinite;
}

@keyframes solarii-flicker {
  0% { opacity: 1; }
  10% { opacity: 0.92; }
  20% { opacity: 1; }
  30% { opacity: 0.86; }
  40% { opacity: 1; }
  50% { opacity: 0.95; }
  60% { opacity: 1; }
  100% { opacity: 1; }
}

.solarii-hud{
    position:relative;
    display:inline-block;
}

/* subtle glow like a monitor */
.solarii-hud svg{
    filter:
        drop-shadow(0 0 3px rgba(95,158,170,0.6))
        drop-shadow(0 0 8px rgba(95,158,170,0.25));
}

/* scanline overlay */
.solarii-hud::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;

    background:
        repeating-linear-gradient(
            to bottom,
            rgba(255,255,255,0.03) 0px,
            rgba(255,255,255,0.03) 1px,
            transparent 2px,
            transparent 4px
        );

    opacity:.35;
    mix-blend-mode:overlay;
}

/* faint CRT flicker */
.solarii-hud::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:rgba(255,255,255,0.02);
    animation: solarii-flicker 4s infinite;
}

@keyframes solarii-flicker{
    0%{opacity:.08}
    5%{opacity:.12}
    10%{opacity:.06}
    25%{opacity:.1}
    50%{opacity:.07}
    75%{opacity:.11}
    100%{opacity:.08}
}

/* Post Edits */
.text-cyan { color: var(--solarii-cyan) !important; }
.border-cyan { border-color: var(--solarii-cyan) !important; }

.tracking-widest { letter-spacing: 0.2em; }
.x-small { font-size: 0.7rem; font-weight: 700; }

/* Glass Effect */
.status-card, .observation-window {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
	text-transform: uppercase;
}

/* Biometric Badge */
.bg-cyan-outline {
    border: 1px solid var(--solarii-cyan);
    background: rgba(0, 242, 255, 0.1);
    color: var(--solarii-cyan);
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%); /* Slight slant */
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Custom Scan Brackets */
.text-cyan { color: var(--solarii-cyan) !important; }
.border-cyan { border-color: var(--solarii-cyan) !important; }

.tracking-widest { letter-spacing: 0.2em; }
.x-small { font-size: 0.7rem; font-weight: 700; }

/* Glass Effect */
.status-card, .observation-window {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Biometric Badge */
.bg-cyan-outline {
    border: 1px solid var(--solarii-cyan);
    background: rgba(0, 242, 255, 0.1);
    color: var(--solarii-cyan);
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%); /* Slight slant */
    padding-left: 20px !important;
    padding-right: 20px !important;
}
.bg-cyan-solid {
    border: 1px solid var(--solarii-cyan);
    background: var(--solarii-cyan);
    color: white;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%); /* Slight slant */
    padding-left: 20px !important;
    padding-right: 20px !important;
}
.bg-cyan-solid a {
    border: 1px solid var(--solarii-cyan);
    background: var(--solarii-cyan);
    color: white;
}
.bg-cyan-solid a:hover {
    color: white;
}

.bg-black-outline {
    border: 1px solid var(--header-drk);
    background: var(--header-drk);
    color: white;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%); /* Slight slant */
    padding-left: 20px !important;
    padding-right: 20px !important;
}
/* Custom Scan Brackets */
.scan-bracket {
    width: 40px;
    height: 40px;
    border-top: 2px solid var(--solarii-cyan);
    border-left: 2px solid var(--solarii-cyan);
}

.scan-bracket {
    width: 40px;
    height: 40px;
    border-top: 2px solid var(--solarii-cyan);
    border-left: 2px solid var(--solarii-cyan);
}

.status-card.p-3 {
    background: #f5f5f5;
}

/* Status Dot Animation */
.status-dot {
    width: 8px;
    height: 8px;
    background: var(--solarii-cyan);
    border-radius: 50%;
    display: inline-block;
}
.status-dot.loading {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.postthumb {
    overflow: hidden;
}

.post_image {
  height:150px;
  background-position:center;
  -webkit-transition: all .5s ease;
  -moz-transition: all .5s ease;
  -ms-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
} 

.post_image:hover {  
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -o-transform: scale(1.2);
  -ms-transform: scale(1.2); /* IE 9 */ 
  transform: scale(1.2);
} 

/* The 'REC' Dot Pulse */
/* Optional: Makes the REC dot pulse for extra immersion */
.rec-dot {
    animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* The System Boot Flicker */
#scifi-clock {
    display: inline-block;
    animation: boot-flicker 1.5s ease-out forwards;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

@keyframes pulse-red {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

@keyframes boot-flicker {
    0% { opacity: 0; transform: translateX(-5px); filter: blur(2px); }
    10% { opacity: 0.5; filter: blur(0px); }
    15% { opacity: 0.2; }
    20% { opacity: 0.8; transform: translateX(2px); }
    30% { opacity: 0.4; }
    45% { opacity: 1; transform: translateX(0); }
    100% { opacity: 1; }
}

/* Target the metadata panel specifically */
.sci-fi-metadata, 
.sci-fi-metadata span, 
.sci-fi-metadata div {
    font-family: 'Monospace', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* Make the values slightly brighter than the labels for hierarchy */
.sci-fi-metadata span {
    color: #fff;
    font-weight: bold;
}

/* The Link Styling */
.actions a {
    position: relative;
    display: inline-block;
    color: #fff; /* Or your preferred bright accent */
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    transition: color 0.3s ease;
}

/* The Animated Line */
.actions a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--solarii-cyan); /* Use your brand color here */
    transform-origin: bottom right;
    transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

/* The Hover State */
.actions a:hover {
    color: var(--solarii-cyan);
}

.actions a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
/* The unified footer area */
.card-footer-zone {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  margin-top: auto; /* The heavy lifter for alignment */
}

/* Your 'Access Data' styling */
.access-link {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 2px;
  position: relative;
  transition: all 0.3s ease;
}

.access-link:hover {
  color: var(--solarii-cyan); /* Or your preferred glow color */
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
}

.blog-nav-link {
    text-decoration: none;
    color: var(--muted);
    font-family: 'Monospace', sans-serif;
    padding: 5px 15px;
    position: relative;
    transition: all 0.3s ease;
}

/* Creating the [ ] brackets on hover */
.blog-nav-link::before, .blog-nav-link::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 100%;
    border: 1px solid var(--solarii-cyan);
    opacity: 0;
    transition: all 0.2s ease;
}

.blog-nav-link::before {
    left: 0;
    border-right: none;
    top: 0;
}

.blog-nav-link::after {
    right: 0;
    border-left: none;
    top: 0;
}

.blog-nav-link:hover {
    color: #fff;
    letter-spacing: 2px;
}

.blog-nav-link:hover::before, .blog-nav-link:hover::after {
    opacity: 1;
}

.entry-content,
.post-content,
.article-body {
    max-width: 680px;
}

.entry-content p{
  line-height:1.7;
  margin-bottom:1.35rem;
}

.lead {
  font-size:1.25rem;
  color:rgba(0,0,0,.88);
}

.article-body {
    padding: 2rem;
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(0,0,0,0.06);
    backdrop-filter: blur(4px);
}

.sidebar-serial {
    position: fixed;
    top: 50%;
    left: 20px; /* Adjust based on your margin */
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left center;
    
    font-family: 'Monospace', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.5rem;
    color: rgba(0, 0, 0, 0.15); /* Subtle on light grid */
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none; /* User can click "through" it */
    z-index: 0;
}

/* Mirror it on the right if you want total symmetry */
.sidebar-serial-right {
    position: fixed;
    top: 50%;
    right: -40px; /* Offset for rotation */
    transform: translateY(-50%) rotate(90deg);
    transform-origin: right center;
    
    font-family: 'Monospace', monospace;
    font-size: 0.7rem;
    color: rgba(0, 0, 0, 0.1);
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    pointer-events: none;
}

/* Identity tweaks */
.system-divider{
  height:1px;
  background:linear-gradient(
    to right,
    transparent,
    rgba(0,0,0,.15),
    transparent
  );
  margin:1.5rem 0;
}

.scan-frame{
  position: relative;
}

.scan-frame::before,
.scan-frame::after{
  content:"";
  position:absolute;
  width:32px;
  height:32px;
  pointer-events:none;
  z-index:2;
}

.scan-frame::before{
  top:-8px;
  left:-8px;
  border-top:2px solid rgba(95,158,170,.65);
  border-left:2px solid rgba(95,158,170,.65);
}

.scan-frame::after{
  bottom:-8px;
  right:-8px;
  border-bottom:2px solid rgba(95,158,170,.65);
  border-right:2px solid rgba(95,158,170,.65);
}

.scan-frame-full{
  position: relative;
}

.scan-corner{
  position:absolute;
  width:28px;
  height:28px;
  z-index:2;
  pointer-events:none;
}

.scan-tl{
  top:-6px;
  left:-6px;
  border-top:2px solid rgba(95,158,170,.7);
  border-left:2px solid rgba(95,158,170,.7);
}

.scan-tr{
  top:-6px;
  right:-6px;
  border-top:2px solid rgba(95,158,170,.7);
  border-right:2px solid rgba(95,158,170,.7);
}

.scan-bl{
  bottom:-6px;
  left:-6px;
  border-bottom:2px solid rgba(95,158,170,.7);
  border-left:2px solid rgba(95,158,170,.7);
}

.scan-br{
  bottom:-6px;
  right:-6px;
  border-bottom:2px solid rgba(95,158,170,.7);
  border-right:2px solid rgba(95,158,170,.7);
}
/* Category Page */
.archive-thumb{
  width:100%;
  min-height:300px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(95,158,170,.04);
  border: 1px solid rgba(95,158,170,.16);
  position:relative;
  overflow:hidden;
}

.archive-thumb-redacted{
  color: rgba(0,0,0,.45);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .78rem;
}

.archive-thumb-redacted span{
  position:relative;
  display:inline-block;
}

.archive-thumb-redacted span::before,
.archive-thumb-redacted span::after{
  content:"";
  position:absolute;
  top:50%;
  width:24px;
  height:1px;
  background: rgba(95,158,170,.35);
}

.archive-thumb-redacted span::before{
  right:100%;
  margin-right:12px;
}

.archive-thumb-redacted span::after{
  left:100%;
  margin-left:12px;
}
.archive-meta-panel{
  border-top: 1px solid rgba(0,0,0,.06);
  min-height: 132px;
}

.navigation.pagination{
  margin-top: 2rem;
}

.navigation.pagination .nav-links{
  display:flex;
  justify-content:center;
  gap:.75rem;
  flex-wrap:wrap;
}

.navigation.pagination a,
.navigation.pagination span{
  text-decoration:none;
  font-family: 'Monospace', sans-serif;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.82rem;
  padding:.6rem .9rem;
  border:1px solid rgba(95,158,170,.18);
  color: var(--dark);
  background: rgba(255,255,255,.45);
}

.navigation.pagination a:hover{
  color: var(--ice);
  border-color: rgba(95,158,170,.35);
}

.navigation.pagination .current{
  color: #fff;
  background: var(--ice);
  border-color: var(--ice);
}

.archive-meta-panel{
  display:flex;
  flex-direction:column;
  min-height:110px;
}

.archive-action{
  margin-top:auto;
  display:flex;
  justify-content:flex-end;
  padding-top:.75rem;
}

.access-file-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:.4rem .9rem;

  font-size:.72rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  text-decoration:none;

  color:#fff;
  background: var(--header-drk);

  border:1px solid rgba(0,0,0,.15);

  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);

  transition: all .25s ease;
}

.access-file-btn:hover{
  background: var(--solarii-cyan);
  border-color: var(--solarii-cyan);
  color:#fff;
}

/* Breadcrumbs */

/* Target the current page in the breadcrumb trail */
#breadcrumbs {
    text-transform: uppercase;
}
/*#breadcrumbs .breadcrumb_last {
    color: var(--solarii-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5); /* Subtle cyber glow */
    position: relative;
}*/

/* Optional: Add a small 'pulse' dot before the current page name 
#breadcrumbs .breadcrumb_last::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--solarii-cyan);
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    animation: breadcrumb-pulse 2s infinite;
}

@keyframes breadcrumb-pulse {
    0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.7); }
    70% { transform: scale(1.2); opacity: 0.7; box-shadow: 0 0 0 6px rgba(0, 255, 255, 0); }
    100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(0, 255, 255, 0); }
}*/
/* Contact Form Output */
/* Container for the input to ensure the clip-path doesn't cut off text */
.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 15px;
}

/* Styling the actual input */
.wpcf7-form-control.wpcf7-text, 
.wpcf7-form-control.wpcf7-textarea,
.form-control {
    display: block;
    width: 100%;
    background-color: #3e444c; /* Matches your 'Elevated' dark grey */
    color: #fff;
    border: none; /* We remove the real border because clip-path kills it */
    padding: 10px 25px;
}

/* Focus state to make it interactive */
.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-textarea:focus {
    outline: none;
    background-color: #4e555e;
    box-shadow: -5px 0px 0px var(--solarii-cyan); /* Fakes a thicker left border on focus */
}
/* CF7 Message Boxes */
.wpcf7-response-output {
    border: 1px solid var(--solarii-cyan) !important;
    background: rgba(0, 255, 255, 0.05) !important;
    color: var(--solarii-cyan) !important;
    font-family: 'Monospace', sans-serif;
    text-transform: uppercase;
    padding: 15px !important;
    clip-path: polygon(2% 0, 100% 0, 98% 100%, 0% 100%); /* Matches your inputs */
}

/* If there's an error, make it red/orange */
.wpcf7-mail-sent-ng, .wpcf7-validation-errors {
    border-color: #ff4444 !important;
    color: #ff4444 !important;
    background: rgba(255, 68, 68, 0.1) !important;
}

/* Footer */

.footer-main {
  border-top: 1px solid rgba(0,0,0,0.08);
  margin-top: 4rem;
	letter-spacing: 0.08em;
}

/* Modal */
.intel-modal-content {
  background: #111;
  border: 1px solid #333;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.intel-modal-content .modal-body {
  padding: 1.5rem;
}

.intel-modal-content .modal-header {
  padding: 1.25rem 1.5rem 0.5rem;
}

#intelModal .btn-close {
  filter: invert(1) grayscale(100%);
  opacity: .9;
}

#intelModal .btn-close:hover {
  opacity: 1;
}

#intelSelectedBook {
  color: #8FE3FF; /* or your cyan */
  letter-spacing: .05em;
}

/* Access Box */
.solarii-locked {
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(0,0,0,0.85), rgba(0,0,0,0.95));
    position: relative;
}

/* Teaser stays readable */
.solarii-teaser {
    margin-bottom: 1.5rem;
    color: #ccc;
}

/* Divider line */
.solarii-denied {
    border-top: 1px dashed rgba(255,255,255,0.15);
    padding-top: 1.5rem;
}

/* Header */
.denied-header {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #ff3b3b;
    font-size: 1.2rem;
}

/* Subline */
.denied-sub {
    margin-top: 0.3rem;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    color: #999;
    text-transform: uppercase;
}

/* Body text */
.denied-body {
    margin-top: 0.8rem;
    color: #bbb;
    font-size: 0.95rem;
}

/* CTA */
.denied-actions {
    margin-top: 1.2rem;
}

/* Custom button */
.btn-solarii {
    background: transparent;
    border: 1px solid #ff3b3b;
    color: #ff3b3b;
    padding: 0.5rem 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.btn-solarii:hover {
    background: #ff3b3b;
    color: #000;
}

.solarii-locked::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.02),
        rgba(255,255,255,0.02) 1px,
        transparent 1px,
        transparent 3px
    );
    pointer-events: none;
}
input, textarea {
    margin: 0 0 10px 0;
}

/* Blog Single Edits */
.archive-overlay.font-system {
    position: absolute;
    background: var(--header-drk);
    top: 10px;
    padding: 3px 10px;
    color: white;
}

.single-entry .postthumb {
  position: relative;
}

.entry-clearance-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,0.9);
  padding: 6px 10px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.entry-title {
  text-transform: uppercase;
  line-height: 1.2;
}

.entry-standfirst {
  max-width: 850px;
  color: #5b6470;
  font-size: 1.15rem;
}

.restricted-entry-panel {
  background: #f3f5f7;
  border-left: 4px solid #7a8794;
}

.related-files a {
  text-decoration: none;
}

.related-files a:hover {
  text-decoration: underline;
}
