@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Barlow:wght@300;400;500&family=JetBrains+Mono:wght@400;500&display=swap');



/* =================================================================

   1. TOKENS & THEMES

   ================================================================= */

:root, html[data-theme="light"], html[data-bs-theme="light"] {

  --blue: #0099e6; --blue2: #007ab8; --blue-lt: #33b3f5;

  --gold: #b8922e; --gold-lt: #c9a84c; --green: #22c55e; --red: #ef4444;

  --fd: 'Barlow Condensed', sans-serif; --fb: 'Barlow', sans-serif; --fm: 'JetBrains Mono', monospace;

  /**/--max: 1200px; --pad: clamp(18px,4.5vw,64px); --sec: clamp(60px,8vw,104px);



  /* Light Theme */

  --bg: #e8ecf2; --bg2: #f2f5f9; --bg3: #d8e0ec;

  --surface: #ffffff; --surface2: #edf1f6;

  --border: rgba(0,0,0,0.10); --border2: rgba(0,0,0,0.22);

  --text: #4a5568; --text2: #1e2533; --heading: #0b0e14;

  --muted: #6b7a92; --faint: #c8cfe0;

  --card: #ffffff; --card2: #edf1f7;

  --img-f: brightness(0.95) saturate(1); 

  --img-f2: brightness(1.05) saturate(1.1);

  --overlay-gradient: linear-gradient(to top, rgba(232, 236, 242, 0.8) 0%, transparent 100%);

  color-scheme: light;

}



html[data-theme="dark"], html[data-bs-theme="dark"] {

  /* Dark Theme */

  --bg: #0c0e12; --bg2: #10131a; --bg3: #161b24;

  --surface: #1a2030; --surface2: #1e2638;

  --border: rgba(255,255,255,0.07); --border2: rgba(255,255,255,0.13);

  --text: #8a94a8; --text2: #bdc5d4; --heading: #e8ecf4;

  --muted: #404858; --faint: #252d3a;

  --card: #10131a; --card2: #141820;

  --img-f: brightness(0.32) saturate(0.5); 

  --img-f2: brightness(0.5) saturate(0.7);

  --overlay-gradient: linear-gradient(to top, rgba(8, 10, 14, 0.96) 0%, rgba(8, 10, 14, 0.2) 55%, transparent 100%);

  color-scheme: dark;

}



/* ── 2. BASE RESET ── */

*, *::before, *::after { box-sizing: border-box; }

body {

  background-color: var(--bg); color: var(--text);

  font-family: var(--fb); font-size: 15px; line-height: 1.7; font-weight: 300;

  overflow-x: hidden; transition: background-color .25s, color .25s;

}



/* ── 3. HERO & HEADLINES ── */

.jpr-h1 { font-family: var(--fd) !important; font-size: clamp(52px,7vw,96px) !important; font-weight: 800 !important; text-transform: uppercase; line-height: .95; color: var(--heading) !important; }

.eyebrow { display: flex; align-items: center; gap: 10px; font-family: var(--fm); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--blue) !important; }

.eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--blue); flex-shrink: 0; }



/* ── 4. THE SIDEBAR PANEL (SIDE-BY-SIDE FIX) ── */

/* Force the Hero Section to use Flexbox to keep the panel on the right */

.jpr-hero .container {

    display: flex !important;

    flex-direction: row !important;

    justify-content: space-between !important;

    align-items: stretch !important;

    gap: 40px;

}



/* The Left Column (Text area) */

.jpr-hero-content { flex: 1; }



/* The Right Column (Studio Status Area) */

.jpr-hero-panel { 

  background-color: var(--bg2) !important; 

  border-left: 1px solid var(--border); 

  display: flex !important; 

  flex-direction: column !important; 

  width: 380px !important; /* Force the specific width from your design */

  flex-shrink: 0;

}

.jpr-panel-hd { background-color: var(--surface) !important; padding: 20px 24px; border-bottom: 1px solid var(--border); }

.jpr-panel-status { display: flex; align-items: center; gap: 8px; font-family: var(--fd); font-size: 15px; font-weight: 700; color: var(--heading) !important; }



/* Fact Row Repair */

.jpr-fact { background-color: transparent !important; padding: 18px 24px; border-bottom: 1px solid var(--border); display: flex !important; flex-direction: row !important; }

.jpr-fact-num { font-family: var(--fd) !important; font-size: 30px !important; font-weight: 800 !important; color: var(--heading) !important; flex: 0 0 65px !important; }

.jpr-fact-lbl { font-family: var(--fm); font-size: 9px; text-transform: uppercase; color: var(--muted) !important; display: block; }

.jpr-fact-detail { font-size: 12px; color: var(--text) !important; line-height: 1.4; }



/* ── 5. CARDS & ADAPTIVE IMAGES ── */

.jpr-img-wrap img, .jpr-ind img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-f); transition: all .4s; }

.jpr-img-overlay, .jpr-ind-body { position: absolute; inset: 0; background: var(--overlay-gradient) !important; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px 26px; }



/* ── 6. BUTTONS ── */

.btn-jpr { background: var(--blue) !important; color: #fff !important; padding: 13px 28px; font-family: var(--fd); font-weight: 700; text-transform: uppercase; border: none; clip-path: polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,8px 100%,0 calc(100% - 8px)); display: inline-flex !important; }



/* ── 7. UTILITIES ── */

.jpr-sdot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 5px rgba(34,197,94,.7); animation: blink 2s infinite; display: inline-block; }

@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }



/* =================================================================

   8. BARRIO & BOOTSTRAP KILL SWITCHES (The "Nuke" Overrides)

   ================================================================= */



/* --- A. FORCE FONT & WEIGHT CONTROL --- */

h1, h2, h3, .h1, .h2, .h3 { font-family: var(--fd) !important; color: var(--heading) !important; font-weight: 800 !important; text-transform: uppercase; }

p, body, .field-content { font-family: var(--fb) !important; color: var(--text) !important; font-weight: 300 !important; }



/* --- B. GRID & CONTAINER NUKE --- */

/* This forces Barrio's rows to stop wrapping columns unless on mobile */

@media (min-width: 992px) {

    .row { display: flex !important; flex-wrap: nowrap !important; }

    .col-lg-8 { width: 66% !important; }

    .col-lg-4 { width: 33% !important; }

}



.container, .container-fluid, .layout-container {

    max-width: var(--max) !important;

    width: 100% !important;

    margin: 0 auto !important;

    padding-left: var(--pad) !important;

    padding-right: var(--pad) !important;

}



/* --- C. STRIP REGION PADDING --- */

#block-bootstrap-barrio-content, .region-content, .node__content { padding: 0 !important; margin: 0 !important; }



/* --- D. LIGHT MODE COLOR CORRECTION --- */

html[data-bs-theme="light"] [style*="color:white"],

html[data-bs-theme="light"] [style*="color:#fff"] { color: var(--heading) !important; }

/************************************************/

[data-theme] h1[style], 
[data-theme] h2[style] {
  color: var(--heading) !important;
}


