/* ==========================================================================
   Orensio Blog Main Stylesheet (Complete Self-Contained Design System)
   ========================================================================== */

/* 1. Google Fonts Direct Import */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* 2. CSS Custom Properties / Design Tokens */
:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', monospace, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas;
  
  --color-primary: #2464ec;
  --color-primary-hover: #1853db;
  --color-primary-dark: #0f3cb3;
  --color-primary-light: #eff6ff;
  --color-primary-border: #bfdbfe;
  
  --color-slate-950: #020617;
  --color-slate-900: #0f172a;
  --color-slate-800: #1e293b;
  --color-slate-700: #334155;
  --color-slate-600: #475569;
  --color-slate-500: #64748b;
  --color-slate-400: #94a3b8;
  --color-slate-300: #cbd5e1;
  --color-slate-200: #e2e8f0;
  --color-slate-100: #f1f5f9;
  --color-slate-50: #f8fafc;
  
  --color-emerald-600: #059669;
  --color-emerald-700: #047857;
  --color-emerald-50: #ecfdf5;
  --color-emerald-200: #a7f3d0;

  --color-blue-50: #eff6ff;
  --color-blue-100: #dbeafe;
  --color-blue-200: #bfdbfe;
  --color-blue-600: #2563eb;
  --color-blue-700: #1d4ed8;
  
  --header-height: 64px;
  --subnav-height: 52px;
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;
  --border-radius-xl: 20px;
  --border-radius-2xl: 24px;
  --border-radius-3xl: 32px;
}

/* 3. Reset & Global Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  color: var(--color-slate-900);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  background-color: #ffffff;
  color: var(--color-slate-900);
  font-family: var(--font-sans);
}

.orensio-main-content {
  flex: 1 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg, picture {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, textarea, select {
  font: inherit;
}

/* Container */
.orensio-container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .orensio-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .orensio-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* 4. Complete Utility Engine (Zero-Dependency Tailwind Subset) */

/* Display & Visibility */
.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }

@media (min-width: 640px) {
  .sm\:flex { display: flex; }
  .sm\:grid { display: grid; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:grid { display: grid; }
  .md\:hidden { display: none !important; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:grid { display: grid; }
  .lg\:hidden { display: none !important; }
}

/* Flexbox Layout */
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-grow { flex-grow: 1; }

@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
}

@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }
  .md\:justify-start { justify-content: flex-start; }
}

/* Spacing: Gaps */
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

@media (min-width: 640px) {
  .sm\:gap-8 { gap: 2rem; }
}

@media (min-width: 1024px) {
  .lg\:gap-12 { gap: 3rem; }
}

/* Spacing: Vertical Child Spacing (.space-y-*) */
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-1\.5 > * + * { margin-top: 0.375rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-2\.5 > * + * { margin-top: 0.625rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

@media (min-width: 640px) {
  .sm\:space-y-12 > * + * { margin-top: 3rem; }
}

/* Spacing: Padding & Margins */
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-10 { padding-top: 2.5rem; }
.pt-12 { padding-top: 3rem; }
.pt-14 { padding-top: 3.5rem; }
.pt-16 { padding-top: 4rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-3 { padding-bottom: 0.75rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-12 { padding-bottom: 3rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.my-10 { margin-top: 2.5rem; margin-bottom: 2.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

@media (min-width: 640px) {
  .sm\:p-8 { padding: 2rem; }
  .sm\:p-10 { padding: 2.5rem; }
  .sm\:p-12 { padding: 3rem; }
  .sm\:py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .sm\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .sm\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .sm\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .sm\:pt-16 { padding-top: 4rem; }
}

@media (min-width: 768px) {
  .md\:pt-0 { padding-top: 0; }
  .md\:pl-8 { padding-left: 2rem; }
}

/* Grid Columns */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .md\:col-span-3 { grid-column: span 3 / span 3; }
  .md\:col-span-4 { grid-column: span 4 / span 4; }
  .md\:col-span-5 { grid-column: span 5 / span 5; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-6 { grid-column: span 6 / span 6; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
}

/* Typography & Font Sizes */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1.15; }
.text-6xl { font-size: 3.75rem; line-height: 1.1; }

@media (min-width: 640px) {
  .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
  .sm\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .sm\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1.15; }
}

@media (min-width: 1024px) {
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1.1; }
}

/* Font Weights */
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }
.font-sans { font-family: var(--font-sans); }
.font-mono { font-family: var(--font-mono); }

/* Text Alignment & Transformations */
.text-center { text-align: center; }
.text-left { text-align: left; }
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

@media (min-width: 768px) {
  .md\:text-left { text-align: left; }
}

/* Text Colors */
.text-slate-900 { color: var(--color-slate-900); }
.text-slate-800 { color: var(--color-slate-800); }
.text-slate-700 { color: var(--color-slate-700); }
.text-slate-600 { color: var(--color-slate-600); }
.text-slate-500 { color: var(--color-slate-500); }
.text-slate-400 { color: var(--color-slate-400); }
.text-slate-300 { color: var(--color-slate-300); }
.text-white { color: #ffffff; }
.text-blue-600 { color: var(--color-primary); }
.text-blue-700 { color: var(--color-primary-hover); }
.text-emerald-600 { color: var(--color-emerald-600); }
.text-emerald-700 { color: var(--color-emerald-700); }
.text-amber-400 { color: #fbbf24; }

.hover\:text-blue-600:hover { color: var(--color-primary); }
.hover\:text-blue-700:hover { color: var(--color-primary-hover); }

/* Background Colors */
.bg-white { background-color: #ffffff; }
.bg-white\/95 { background-color: rgba(255, 255, 255, 0.95); }
.bg-slate-50 { background-color: var(--color-slate-50); }
.bg-slate-100 { background-color: var(--color-slate-100); }
.bg-slate-200 { background-color: var(--color-slate-200); }
.bg-slate-900 { background-color: var(--color-slate-900); }
.bg-blue-50 { background-color: var(--color-blue-50); }
.bg-blue-100 { background-color: var(--color-blue-100); }
.bg-blue-500 { background-color: var(--color-primary); }
.bg-blue-600 { background-color: var(--color-primary); }
.bg-blue-700 { background-color: var(--color-primary-hover); }
.bg-\[\#2464ec\] { background-color: #2464ec; }
.bg-\[\#f0f4ff\] { background-color: #f0f4ff; }
.bg-\[\#090d16\] { background-color: #090d16 !important; }
.border-slate-800 { border-color: #1e293b !important; }
.text-blue-100 { color: #dbeafe; }
.text-blue-400 { color: #60a5fa; }
.hover\:text-blue-300:hover { color: #93c5fd; }
.hover\:text-white:hover { color: #ffffff !important; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.border-none { border: none !important; }
.bg-emerald-50 { background-color: var(--color-emerald-50); }
.bg-emerald-500 { background-color: var(--color-emerald-600); }

.hover\:bg-slate-50:hover { background-color: var(--color-slate-50); }
.hover\:bg-slate-100:hover { background-color: var(--color-slate-100); }
.hover\:bg-slate-800:hover { background-color: #1e293b; }
.hover\:bg-blue-50:hover { background-color: var(--color-blue-50); }
.hover\:bg-blue-100:hover { background-color: var(--color-blue-100); }
.hover\:bg-blue-700:hover { background-color: var(--color-primary-hover); }

/* Borders & Rounded Radii */
.border { border: 1px solid var(--color-slate-200); }
.border-b { border-bottom: 1px solid var(--color-slate-200); }
.border-t { border-top: 1px solid var(--color-slate-200); }
.border-l { border-left: 1px solid var(--color-slate-200); }
.border-slate-100 { border-color: var(--color-slate-100); }
.border-slate-200 { border-color: var(--color-slate-200); }
.border-slate-300 { border-color: var(--color-slate-300); }
.border-blue-200 { border-color: var(--color-blue-200); }
.border-emerald-200 { border-color: var(--color-emerald-200); }

@media (min-width: 768px) {
  .md\:border-t-0 { border-top: none; }
  .md\:border-l { border-left: 1px solid var(--color-slate-200); }
}

.rounded-md { border-radius: var(--border-radius-sm); }
.rounded-lg { border-radius: var(--border-radius-md); }
.rounded-xl { border-radius: var(--border-radius-lg); }
.rounded-2xl { border-radius: var(--border-radius-xl); }
.rounded-3xl { border-radius: var(--border-radius-2xl); }
.rounded-full { border-radius: 9999px; }

@media (min-width: 640px) {
  .sm\:rounded-2xl { border-radius: var(--border-radius-xl); }
  .sm\:rounded-3xl { border-radius: var(--border-radius-2xl); }
}

/* Sizing: Width, Height & Max-Width */
.w-2 { width: 0.5rem; }
.h-2 { height: 0.5rem; }
.w-3\.5 { width: 0.875rem; }
.h-3\.5 { height: 0.875rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.w-7 { width: 1.75rem; }
.h-7 { height: 1.75rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }
.w-28 { width: 7rem; }
.h-28 { height: 7rem; }
.w-36 { width: 9rem; }
.h-36 { height: 9rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-auto { height: auto; }
.h-16 { height: 4rem; }

@media (min-width: 640px) {
  .sm\:w-36 { width: 9rem; }
  .sm\:h-36 { height: 9rem; }
}

.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-none { max-width: none; }

/* Positioning & Shadows */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.top-28 { top: 7rem; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }
.pointer-events-none { pointer-events: none; }

.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); }

.transition-colors { transition-property: color, background-color, border-color; transition-duration: 0.15s; }
.transition-all { transition-property: all; transition-duration: 0.2s; }
.transition-transform { transition-property: transform; transition-duration: 0.2s; }

/* 5. Theme Components */

/* Top Announcement Bar */
.orensio-announcement-bar {
  background-color: #1853db;
  color: #ffffff;
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
  text-align: center;
  font-weight: 500;
  position: relative;
  z-index: 50;
}

.orensio-announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.orensio-announcement-link {
  font-weight: 700;
  text-decoration: underline;
  color: #ffffff;
  transition: opacity 0.2s ease;
}

.orensio-announcement-link:hover {
  opacity: 0.85;
}

/* Main Header */
.orensio-main-header {
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-slate-200);
  position: sticky;
  top: 0;
  z-index: 40;
}

.orensio-header-row {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.orensio-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.025em;
  color: var(--color-slate-900);
}

/* Desktop Navigation */
.orensio-desktop-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-slate-600);
}

@media (min-width: 1024px) {
  .orensio-desktop-nav {
    display: flex;
  }
}

.orensio-desktop-nav a {
  color: var(--color-slate-600);
  transition: color 0.15s ease;
}

.orensio-desktop-nav a:hover,
.orensio-desktop-nav a.active {
  color: var(--color-primary);
}

/* Header Action Buttons */
.orensio-header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .orensio-header-actions {
    display: flex;
  }
}

/* Mobile Toggle Button */
.orensio-mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: var(--color-slate-700);
  background-color: transparent;
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.orensio-mobile-menu-toggle:hover {
  background-color: var(--color-slate-100);
}

@media (min-width: 1024px) {
  .orensio-mobile-menu-toggle {
    display: none;
  }
}

.orensio-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--border-radius-md);
  box-shadow: 0 1px 3px rgba(36, 100, 236, 0.2);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
  line-height: 1.2;
}

.orensio-btn-primary:hover {
  background-color: var(--color-primary-hover);
  box-shadow: 0 4px 12px rgba(36, 100, 236, 0.3);
  transform: translateY(-1px);
}

.orensio-btn-primary:active {
  transform: scale(0.98);
}

.orensio-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  color: var(--color-slate-800) !important;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-slate-300);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  cursor: pointer;
  line-height: 1.2;
}

.orensio-btn-secondary:hover {
  background-color: var(--color-slate-50);
  border-color: var(--color-slate-400);
  color: var(--color-primary) !important;
}

/* Mobile Drawer */
.orensio-mobile-drawer {
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-slate-200);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.25s ease-out forwards;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Blog Sub-Navigation Slider */
.orensio-blog-subnav {
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-slate-200);
  position: relative;
  z-index: 30;
}

.orensio-subnav-inner {
  display: flex;
  align-items: center;
  height: var(--subnav-height);
  gap: 0.75rem;
}

.orensio-subnav-label-wrap {
  flex-shrink: 0;
  padding-right: 0.5rem;
  border-right: 1px solid var(--color-slate-200);
}

.orensio-subnav-label {
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--color-slate-900);
  transition: color 0.15s ease;
}

.orensio-subnav-label.active,
.orensio-subnav-label:hover {
  color: var(--color-primary);
}

.orensio-subnav-arrow {
  display: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-slate-100);
  border: 1px solid var(--color-slate-200);
  color: var(--color-slate-600);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.orensio-subnav-arrow:hover {
  background-color: #ffffff;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

@media (min-width: 1024px) {
  .orensio-subnav-arrow {
    display: flex;
  }
}

.orensio-subnav-track {
  flex: 1 1 auto;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.25rem 0;
}

.orensio-subnav-track::-webkit-scrollbar {
  display: none;
}

.orensio-category-pill-list {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.orensio-category-pill-item {
  display: inline-block;
}

.orensio-subnav-pill {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-slate-600);
  padding: 0.4rem 0.875rem;
  border-radius: 9999px;
  background-color: transparent;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.orensio-subnav-pill:hover {
  color: var(--color-primary);
  background-color: var(--color-slate-100);
}

.orensio-subnav-pill.active {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-border);
  font-weight: 700;
}

/* Subnav Search Form */
.orensio-subnav-search-wrap {
  flex-shrink: 0;
  margin-left: auto;
}

.orensio-subnav-search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.orensio-search-icon {
  position: absolute;
  left: 0.75rem;
  color: var(--color-slate-400);
  pointer-events: none;
}

.orensio-subnav-search-input {
  width: 140px;
  height: 36px;
  padding-left: 2.25rem;
  padding-right: 0.75rem;
  font-size: 0.8125rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-slate-200);
  background-color: var(--color-slate-50);
  color: var(--color-slate-800);
  transition: all 0.2s ease;
}

@media (min-width: 640px) {
  .orensio-subnav-search-input {
    width: 200px;
  }
}

.orensio-subnav-search-input:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(36, 100, 236, 0.15);
  width: 220px;
}

.orensio-subnav-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  height: 14px;
  width: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><line x1='18' y1='6' x2='6' y2='18'/><line x1='6' y1='6' x2='18' y2='18'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  margin-right: 0.25rem;
  opacity: 0.7;
}

.orensio-subnav-search-input::-webkit-search-cancel-button:hover {
  opacity: 1;
}

/* Hero Search Form (Used in Search Results & 404 Pages) */
.orensio-hero-search-wrap {
  width: 100%;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.5rem;
  position: relative;
}

.orensio-hero-search-form {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.orensio-hero-search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-slate-400);
  pointer-events: none;
  z-index: 2;
}

.orensio-hero-search-input {
  width: 100%;
  height: 52px;
  padding-left: 3.25rem !important; /* 52px clear of the icon - text will NEVER touch the search icon */
  padding-right: 3rem !important;   /* comfortable padding away from right border */
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-slate-900);
  background-color: #ffffff;
  border: 1.5px solid var(--color-slate-300);
  border-radius: var(--border-radius-xl);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  line-height: 1.5;
}

.orensio-hero-search-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(36, 100, 236, 0.15), 0 4px 12px rgba(36, 100, 236, 0.08);
}

/* Style the native WebKit search cancel button ("X" clear icon) */
.orensio-hero-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  height: 18px;
  width: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><line x1='18' y1='6' x2='6' y2='18'/><line x1='6' y1='6' x2='18' y2='18'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  margin-right: 0.75rem;
  opacity: 0.7;
  transition: opacity 0.15s ease;
}

.orensio-hero-search-input::-webkit-search-cancel-button:hover {
  opacity: 1;
}

/* Breadcrumbs */
.orensio-breadcrumbs {
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-slate-100);
  padding: 0.625rem 0;
  font-size: 0.75rem;
  color: var(--color-slate-500);
}

.orensio-breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  list-style: none;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.orensio-breadcrumb-item a {
  color: var(--color-slate-600);
  transition: color 0.15s ease;
}

.orensio-breadcrumb-item a:hover {
  color: var(--color-primary);
}

.orensio-breadcrumb-item.active {
  color: var(--color-slate-900);
  font-weight: 600;
}

.orensio-breadcrumb-separator {
  color: var(--color-slate-300);
  display: flex;
  align-items: center;
}

/* Post Cards */
.orensio-category-pill {
  display: inline-flex !important;
  align-self: flex-start !important;
  width: fit-content !important;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  border: 1px solid var(--color-primary-border);
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
  transition: background-color 0.15s ease;
}

.orensio-category-pill:hover {
  background-color: #dbeafe;
}

/* Featured Hero Post Card */
.orensio-featured-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  background-color: #ffffff;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--border-radius-2xl);
  padding: 1.25rem;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

@media (min-width: 1024px) {
  .orensio-featured-card {
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    padding: 2rem;
    align-items: center;
  }
}

.orensio-featured-card:hover {
  box-shadow: 0 12px 30px -6px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.orensio-featured-thumb-wrap {
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: var(--color-slate-100);
  display: block;
}

.orensio-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.orensio-featured-card:hover .orensio-featured-img {
  transform: scale(1.03);
}

.orensio-featured-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.orensio-featured-title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-slate-900);
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .orensio-featured-title {
    font-size: 1.875rem;
  }
}

.orensio-featured-title a:hover {
  color: var(--color-primary);
}

.orensio-featured-excerpt {
  font-size: 0.875rem;
  color: var(--color-slate-600);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* 3-Column Posts Grid */
.orensio-posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .orensio-posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .orensio-posts-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* Standard Post Card */
.orensio-post-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.orensio-post-card:hover {
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
  border-color: var(--color-slate-300);
}

.orensio-card-thumb-wrap {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background-color: var(--color-slate-100);
  display: block;
}

.orensio-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.orensio-post-card:hover .orensio-card-img {
  transform: scale(1.04);
}

.orensio-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.orensio-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-slate-900);
  margin-top: 0.375rem;
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
  flex-grow: 1;
}

.orensio-card-title a {
  transition: color 0.15s ease;
}

.orensio-card-title a:hover {
  color: var(--color-primary);
}

/* Card Meta Row */
.orensio-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-slate-500);
  flex-wrap: wrap;
  font-weight: 500;
}

.orensio-author-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--color-slate-800);
  font-weight: 600;
  transition: color 0.15s ease;
}

.orensio-author-meta:hover {
  color: var(--color-primary);
}

.orensio-author-avatar {
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--color-slate-200);
}

.orensio-meta-dot {
  color: var(--color-slate-300);
}

.orensio-thumb-placeholder {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1853db 0%, #2464ec 50%, #1e40af 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #ffffff;
  padding: 2rem;
}

.orensio-placeholder-logo {
  width: 52px;
  height: 52px;
  opacity: 0.9;
}

.orensio-placeholder-badge {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
}

/* Circular Numbered Pagination */
.orensio-pagination-wrapper {
  display: flex;
  justify-content: center;
}

.orensio-pagination {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.orensio-page-item a,
.orensio-page-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-slate-600);
  border: 1px solid var(--color-slate-200);
  background-color: #ffffff;
  transition: all 0.15s ease;
}

.orensio-page-item a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: var(--color-primary-light);
}

.orensio-page-item.active span,
.orensio-page-item span.current {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(36, 100, 236, 0.3);
}

.orensio-page-item span.dots {
  border-color: transparent;
  background-color: transparent;
  color: var(--color-slate-400);
}

/* Exit-Intent Conversion Modal */
.orensio-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.orensio-popup-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease-out;
}

.orensio-popup-card {
  position: relative;
  z-index: 101;
  width: 100%;
  max-width: 860px;
  background: linear-gradient(135deg, #090d16 0%, #0f1d3a 60%, #1e3a8a 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-2xl);
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(36, 100, 236, 0.2);
  animation: popIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  color: #ffffff;
}

@media (min-width: 768px) {
  .orensio-popup-card {
    padding: 2.5rem 3rem;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.92) translateY(15px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.orensio-popup-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.orensio-popup-close-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.orensio-popup-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .orensio-popup-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.orensio-popup-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 16px rgba(36, 100, 236, 0.4);
  transition: all 0.2s ease;
  cursor: pointer;
}

.orensio-popup-cta-btn:hover {
  background-color: var(--color-primary-hover);
  box-shadow: 0 6px 24px rgba(36, 100, 236, 0.5);
  transform: translateY(-2px);
}

.orensio-popup-mini-window {
  background-color: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Reading Progress Bar */
.orensio-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background-color: var(--color-primary);
  z-index: 60;
  width: 0%;
  transition: width 0.1s linear;
}

/* ==========================================================================
   Blog Hero Banner (Soft Lavender Background)
   ========================================================================== */
.orensio-blog-hero {
  background-color: #f0f4ff !important;
  border-bottom: 1px solid #e2e8f0;
  padding: 3.5rem 1rem;
  text-align: center;
}

/* ==========================================================================
   Pre-Footer Blue CTA Banner (Exact Homepage Design)
   ========================================================================== */
.orensio-prefooter-cta {
  background-color: #2464ec !important;
  color: #ffffff;
  padding: 4.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.orensio-prefooter-inner {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.orensio-prefooter-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

@media (min-width: 640px) {
  .orensio-prefooter-title {
    font-size: 3.25rem;
  }
}

.orensio-prefooter-desc {
  font-size: 1rem;
  color: #dbeafe;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

.orensio-prefooter-form-wrapper {
  width: 100%;
  max-width: 520px;
  margin: 0.5rem auto 0;
}

.orensio-prefooter-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background-color: #ffffff;
  padding: 0.4rem;
  border-radius: 1rem;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
  .orensio-prefooter-form {
    flex-direction: row;
    align-items: center;
  }
}

.orensio-prefooter-input-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex: 1 1 auto;
  padding: 0.5rem 0.75rem;
}

.orensio-prefooter-input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 0.9375rem;
  color: #0f172a;
  outline: none;
  font-weight: 500;
}

.orensio-prefooter-submit-btn {
  background-color: #0f172a;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.875rem;
  padding: 0.8rem 1.35rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}

.orensio-prefooter-submit-btn:hover {
  background-color: #1e293b;
}

.orensio-prefooter-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #dbeafe;
  font-weight: 500;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* ==========================================================================
   Exact Homepage Footer (Dark Obsidian SaaS Theme)
   ========================================================================== */
.orensio-homepage-footer {
  background-color: #090d16 !important;
  color: #94a3b8 !important;
  border-top: 1px solid #1e293b;
  padding: 4.5rem 1rem 3rem;
  font-family: var(--font-sans);
}

.orensio-footer-grid-5col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 640px) {
  .orensio-footer-grid-5col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .orensio-footer-grid-5col {
    grid-template-columns: 2.3fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

.orensio-footer-col-brand {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .orensio-footer-col-brand {
    grid-column: span 1;
  }
}

.orensio-footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.orensio-footer-brand-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.orensio-footer-bio {
  font-size: 0.8125rem;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 320px;
}

.orensio-footer-capacity {
  font-size: 0.75rem;
  color: #64748b;
  font-family: var(--font-mono);
}

.orensio-footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.orensio-footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.orensio-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.orensio-footer-links a {
  font-size: 0.8125rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease;
}

.orensio-footer-links a:hover {
  color: #ffffff;
}

.orensio-footer-highlight {
  color: #60a5fa !important;
  font-weight: 700 !important;
}

.orensio-footer-bottom-bar {
  border-top: 1px solid #1e293b;
  padding-top: 2rem;
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  color: #64748b;
}

@media (min-width: 640px) {
  .orensio-footer-bottom-bar {
    flex-direction: row;
  }
}

.orensio-footer-sub-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.orensio-footer-email {
  color: #60a5fa;
  text-decoration: none;
}

.orensio-footer-email:hover {
  color: #93c5fd;
}
