/* =========================================== */
/* TEMPLATE-CONTENT-2026-BUNDLE */
/* Generated: 2025-12-12T21:47:52.856Z */
/* Combines 3 CSS files for optimized loading */
/* =========================================== */

/* =========================================== */
/* 1. template/shared/css/content-progression-2026.css */
/* =========================================== */

/* =========================================== */
/* CONTENT PROGRESSION SYSTEM 2026 */
/* Award-winning visual flow indicators */
/* =========================================== */

:root {
  --section-indicator-size: 3rem;
  --section-connector-width: 2px;
  --section-connector-color: rgba(99, 102, 241, 0.3);
  --section-indicator-active: #6366f1;
  --section-indicator-inactive: rgba(99, 102, 241, 0.2);
  --reading-progress-height: 4px;
}

/* =========================================== */
/* SECTION INDICATORS */
/* =========================================== */

.main-content-section {
  position: relative;
  counter-reset: section-counter;
}

.main-content-section .section {
  position: relative;
  counter-increment: section-counter;
  padding-left: calc(var(--section-indicator-size) + 2rem);
}

.main-content-section .section::before {
  content: counter(section-counter, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-size: var(--section-indicator-size);
  font-weight: 700;
  line-height: 1;
  color: var(--section-indicator-inactive);
  transition: color 0.3s ease, transform 0.3s ease;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.05em;
  z-index: 1;
}

.main-content-section .section.scroll-reveal.revealed::before,
.main-content-section .section.scroll-fade.revealed::before {
  color: var(--section-indicator-active);
  transform: scale(1.05);
}

/* Section connector lines */
.main-content-section .section::after {
  content: '';
  position: absolute;
  left: calc(var(--section-indicator-size) / 2 - var(--section-connector-width) / 2);
  top: var(--section-indicator-size);
  bottom: calc(-1 * var(--spacing-lg));
  width: var(--section-connector-width);
  background: linear-gradient(
    to bottom,
    var(--section-connector-color) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.main-content-section .section.scroll-reveal.revealed::after,
.main-content-section .section.scroll-fade.revealed::after {
  opacity: 1;
}

/* Hide connector on last section */
.main-content-section .section:last-child::after {
  display: none;
}

/* =========================================== */
/* READING PROGRESS INDICATOR */
/* =========================================== */

.reading-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--reading-progress-height);
  background: rgba(0, 0, 0, 0.05);
  z-index: 999998;
  pointer-events: none;
}

.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

/* =========================================== */
/* SECTION NAVIGATION */
/* =========================================== */

.section-navigation {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.section-navigation.visible {
  opacity: 1;
  visibility: visible;
}

.section-nav-item {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--section-indicator-inactive);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.section-nav-item:hover {
  transform: scale(1.3);
  background: var(--section-indicator-active);
}

.section-nav-item.active {
  background: var(--section-indicator-active);
  transform: scale(1.2);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.section-nav-item::after {
  content: attr(data-section-title);
  position: absolute;
  right: calc(100% + 1rem);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.section-nav-item:hover::after {
  opacity: 1;
  visibility: visible;
}

/* =========================================== */
/* CONTENT FLOW INDICATORS */
/* =========================================== */

.content-flow-indicator {
  position: absolute;
  left: calc(var(--section-indicator-size) + 1rem);
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--section-indicator-active) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.section.scroll-reveal.revealed .content-flow-indicator,
.section.scroll-fade.revealed .content-flow-indicator {
  opacity: 0.3;
}

/* =========================================== */
/* RESPONSIVE ADJUSTMENTS */
/* =========================================== */

@media (max-width: 768px) {
  .main-content-section .section {
    padding-left: calc(var(--section-indicator-size) * 0.7 + 1rem);
  }
  
  .main-content-section .section::before {
    font-size: calc(var(--section-indicator-size) * 0.7);
  }
  
  .section-navigation {
    right: 1rem;
    gap: 0.5rem;
  }
  
  .section-nav-item {
    width: 10px;
    height: 10px;
  }
  
  .section-nav-item::after {
    display: none; /* Hide tooltips on mobile */
  }
}

@media (prefers-reduced-motion: reduce) {
  .main-content-section .section::before,
  .main-content-section .section::after,
  .section-nav-item,
  .reading-progress-bar {
    transition: none;
  }
}

/* =========================================== */
/* ACCESSIBILITY */
/* =========================================== */

.section-navigation[aria-hidden="true"] {
  display: none;
}

.section-nav-item:focus-visible {
  outline: 2px solid var(--section-indicator-active);
  outline-offset: 2px;
}



/* =========================================== */
/* 2. template/shared/css/main-content-hierarchy-2026.css */
/* =========================================== */

/* =========================================== */
/* MAIN CONTENT VISUAL HIERARCHY 2026 */
/* Award-winning typography scale and spacing */
/* =========================================== */

:root {
  /* Typography Scale - Modular Scale (1.333 ratio) */
  --h1-size: clamp(3rem, 8vw, 6rem);
  --h2-size: clamp(2.25rem, 6vw, 4.5rem);
  --h3-size: clamp(1.75rem, 4vw, 3rem);
  --h4-size: clamp(1.5rem, 3vw, 2.25rem);
  --h5-size: clamp(1.25rem, 2.5vw, 1.75rem);
  --h6-size: clamp(1.125rem, 2vw, 1.5rem);
  
  /* Line Heights - Optimized for readability */
  --h1-line-height: 1.1;
  --h2-line-height: 1.15;
  --h3-line-height: 1.2;
  --h4-line-height: 1.25;
  --h5-line-height: 1.3;
  --h6-line-height: 1.35;
  --body-line-height: 1.7;
  
  /* Letter Spacing - Refined for large headings */
  --h1-letter-spacing: -0.03em;
  --h2-letter-spacing: -0.02em;
  --h3-letter-spacing: -0.01em;
  --h4-letter-spacing: 0;
  --h5-letter-spacing: 0.01em;
  --h6-letter-spacing: 0.01em;
  
  /* Spacing Rhythm - 8px grid system */
  --spacing-rhythm: 0.5rem; /* 8px base unit */
  --spacing-xs: calc(var(--spacing-rhythm) * 0.5);   /* 4px */
  --spacing-sm: var(--spacing-rhythm);                /* 8px */
  --spacing-md: calc(var(--spacing-rhythm) * 2);      /* 16px */
  --spacing-lg: calc(var(--spacing-rhythm) * 3);      /* 24px */
  --spacing-xl: calc(var(--spacing-rhythm) * 4);      /* 32px */
  --spacing-2xl: calc(var(--spacing-rhythm) * 6);     /* 48px */
  --spacing-3xl: calc(var(--spacing-rhythm) * 8);     /* 64px */
  --spacing-4xl: calc(var(--spacing-rhythm) * 12);    /* 96px */
  
  /* Contrast Ratios - WCAG AAA compliant */
  --text-primary: #1a202c;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --text-contrast-ratio: 7.1; /* AAA compliant */
}

/* =========================================== */
/* MAIN CONTENT SECTION */
/* =========================================== */

#main-content-section {
  /* Enhanced spacing rhythm */
  --section-spacing-top: var(--spacing-3xl);
  --section-spacing-bottom: var(--spacing-2xl);
}

/* =========================================== */
/* HEADING HIERARCHY */
/* =========================================== */

#main-content-section h1,
#main-content-section .h1,
#main-content-section .section-title {
  font-size: var(--h1-size);
  line-height: var(--h1-line-height);
  letter-spacing: var(--h1-letter-spacing);
  font-weight: 700;
  margin-top: 0;
  margin-bottom: var(--spacing-xl);
  color: var(--text-primary);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#main-content-section h2,
#main-content-section .h2,
#main-content-section .underline-animated {
  font-size: var(--h2-size);
  line-height: var(--h2-line-height);
  letter-spacing: var(--h2-letter-spacing);
  font-weight: 700;
  margin-top: var(--spacing-3xl);
  margin-bottom: var(--spacing-lg);
  color: var(--text-primary);
}

#main-content-section h3,
#main-content-section .h3 {
  font-size: var(--h3-size);
  line-height: var(--h3-line-height);
  letter-spacing: var(--h3-letter-spacing);
  font-weight: 600;
  margin-top: var(--spacing-2xl);
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

#main-content-section h4,
#main-content-section .h4 {
  font-size: var(--h4-size);
  line-height: var(--h4-line-height);
  letter-spacing: var(--h4-letter-spacing);
  font-weight: 600;
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

#main-content-section h5,
#main-content-section .h5 {
  font-size: var(--h5-size);
  line-height: var(--h5-line-height);
  letter-spacing: var(--h5-letter-spacing);
  font-weight: 600;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

#main-content-section h6,
#main-content-section .h6 {
  font-size: var(--h6-size);
  line-height: var(--h6-line-height);
  letter-spacing: var(--h6-letter-spacing);
  font-weight: 600;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
  color: var(--text-secondary);
}

/* =========================================== */
/* LEAD TEXT & INTRODUCTIONS */
/* =========================================== */

#main-content-section .text-lead,
#main-content-section .lead,
#main-content-section .lead-text-dark {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  line-height: var(--body-line-height);
  font-weight: 400;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  color: var(--text-secondary);
  max-width: 65ch; /* Optimal reading width */
}

/* =========================================== */
/* BODY TEXT */
/* =========================================== */

#main-content-section p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: var(--body-line-height);
  margin-top: 0;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
  max-width: 65ch; /* Optimal reading width */
}

#main-content-section .text-muted {
  color: var(--text-muted);
  font-size: clamp(0.875rem, 1.5vw, 1rem);
}

#main-content-section .text-small {
  font-size: clamp(0.75rem, 1.25vw, 0.875rem);
  line-height: 1.6;
}

/* =========================================== */
/* SPACING RHYTHM */
/* =========================================== */

#main-content-section .section {
  /* Asymmetric spacing - more space above headings */
  padding-top: var(--section-spacing-top);
  padding-bottom: var(--section-spacing-bottom);
}

#main-content-section .section:first-child {
  padding-top: var(--spacing-2xl);
}

#main-content-section .section:last-child {
  padding-bottom: var(--spacing-4xl);
}

/* Section dividers */
#main-content-section .section-divider {
  margin: var(--spacing-3xl) 0;
  border: none;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(99, 102, 241, 0.2) 50%,
    transparent 100%
  );
}

/* =========================================== */
/* VISUAL WEIGHT DISTRIBUTION */
/* =========================================== */

#main-content-section .card {
  margin-bottom: var(--spacing-xl);
}

#main-content-section .card:last-child {
  margin-bottom: 0;
}

#main-content-section .card-body {
  padding: var(--spacing-xl);
}

#main-content-section .card-body h3,
#main-content-section .card-body h4 {
  margin-top: 0;
}

#main-content-section .card-body h3 + p,
#main-content-section .card-body h4 + p {
  margin-top: var(--spacing-md);
}

/* =========================================== */
/* CONTRAST ENHANCEMENTS */
/* =========================================== */

#main-content-section {
  /* Ensure WCAG AAA contrast */
  color: var(--text-primary);
}

#main-content-section strong,
#main-content-section b {
  font-weight: 600;
  color: var(--text-primary);
}

#main-content-section a {
  color: #6366f1;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

#main-content-section a:hover {
  color: #4f46e5;
  text-decoration: underline;
}

/* =========================================== */
/* GOLDEN RATIO SPACING */
/* =========================================== */

#main-content-section .section > .row:first-child {
  margin-top: var(--spacing-2xl);
}

#main-content-section .section > .row:last-child {
  margin-bottom: var(--spacing-2xl);
}

/* Golden ratio spacing for featured sections */
#main-content-section .section.section-pattern {
  padding-top: calc(var(--spacing-3xl) * 1.618);
  padding-bottom: calc(var(--spacing-2xl) * 1.618);
}

/* =========================================== */
/* RESPONSIVE ADJUSTMENTS */
/* =========================================== */

@media (max-width: 768px) {
  #main-content-section .section {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
  }
  
  #main-content-section .section.section-pattern {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
  }
  
  #main-content-section .card-body {
    padding: var(--spacing-lg);
  }
  
  #main-content-section h1,
  #main-content-section .h1,
  #main-content-section .section-title {
    margin-bottom: var(--spacing-lg);
  }
  
  #main-content-section h2,
  #main-content-section .h2 {
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-md);
  }
}

@media (min-width: 1200px) {
  /* Larger screens get more dramatic spacing */
  #main-content-section .section {
    padding-top: calc(var(--spacing-3xl) * 1.2);
    padding-bottom: calc(var(--spacing-2xl) * 1.2);
  }
  
  #main-content-section .section.section-pattern {
    padding-top: calc(var(--spacing-3xl) * 1.618 * 1.2);
    padding-bottom: calc(var(--spacing-2xl) * 1.618 * 1.2);
  }
}

/* =========================================== */
/* ACCESSIBILITY */
/* =========================================== */

@media (prefers-contrast: high) {
  #main-content-section {
    --text-primary: #000000;
    --text-secondary: #333333;
    --text-muted: #666666;
  }
  
  #main-content-section h1,
  #main-content-section h2,
  #main-content-section h3,
  #main-content-section h4,
  #main-content-section h5,
  #main-content-section h6 {
    font-weight: 800;
  }
}

@media (prefers-reduced-motion: reduce) {
  #main-content-section * {
    transition: none !important;
    animation: none !important;
  }
}



/* =========================================== */
/* 3. template/shared/css/reading-time-2026.css */
/* =========================================== */

/* =========================================== */
/* READING TIME ESTIMATES 2026 */
/* Award-winning reading time display */
/* =========================================== */

:root {
  --reading-time-color: #6366f1;
  --reading-time-bg: rgba(99, 102, 241, 0.1);
  --reading-time-border-radius: 8px;
  --reading-time-font-size: 0.875rem;
}

/* =========================================== */
/* READING TIME BADGE */
/* =========================================== */

.reading-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--reading-time-bg);
  border-radius: var(--reading-time-border-radius);
  font-size: var(--reading-time-font-size);
  font-weight: 600;
  color: var(--reading-time-color);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.reading-time-badge:hover {
  background: rgba(99, 102, 241, 0.15);
  transform: translateY(-2px);
}

.reading-time-badge i {
  font-size: 1rem;
}

.reading-time-badge .reading-time-value {
  font-weight: 700;
}

.reading-time-badge .reading-time-label {
  opacity: 0.8;
}

/* =========================================== */
/* READING TIME INLINE */
/* =========================================== */

.reading-time-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: #718096;
  margin-left: 0.5rem;
}

.reading-time-inline i {
  font-size: 0.75rem;
}

/* =========================================== */
/* READING TIME PROGRESS */
/* =========================================== */

.reading-time-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(0, 0, 0, 0.05);
  z-index: 999997;
  pointer-events: none;
}

.reading-time-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.reading-time-progress-label {
  display: none !important;
  position: fixed;
  top: 10px;
  right: 20px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 999998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.reading-time-progress-label.visible {
  display: none !important;
  opacity: 0;
  visibility: hidden;
}

/* =========================================== */
/* SECTION READING TIME */
/* =========================================== */

#main-content-section .section-reading-time {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #718096;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  z-index: 10;
}

#main-content-section .section-reading-time i {
  font-size: 0.625rem;
}

/* =========================================== */
/* READING TIME SUMMARY */
/* =========================================== */

.reading-time-summary {
  background: rgba(99, 102, 241, 0.05);
  border-left: 3px solid var(--reading-time-color);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.reading-time-summary-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--reading-time-color);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.reading-time-summary-content {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9375rem;
  color: #4a5568;
}

.reading-time-summary-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reading-time-summary-item i {
  color: var(--reading-time-color);
  font-size: 1rem;
}

.reading-time-summary-item .value {
  font-weight: 700;
  color: var(--reading-time-color);
}

/* =========================================== */
/* READING TIME TOOLTIP */
/* =========================================== */

.reading-time-tooltip {
  position: relative;
  display: inline-block;
}

.reading-time-tooltip:hover .reading-time-tooltip-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(-5px);
}

.reading-time-tooltip-content {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: 1000;
}

.reading-time-tooltip-content::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(0, 0, 0, 0.9);
}

/* =========================================== */
/* RESPONSIVE ADJUSTMENTS */
/* =========================================== */

@media (max-width: 768px) {
  .reading-time-badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }
  
  .reading-time-progress-label {
    top: 5px;
    right: 10px;
    font-size: 0.625rem;
    padding: 0.375rem 0.75rem;
  }
  
  #main-content-section .section-reading-time {
    position: static;
    margin-bottom: 1rem;
  }
  
  .reading-time-summary-content {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* =========================================== */
/* ACCESSIBILITY */
/* =========================================== */

.reading-time-badge[aria-label] {
  cursor: help;
}

@media (prefers-reduced-motion: reduce) {
  .reading-time-badge,
  .reading-time-progress-bar,
  .reading-time-tooltip-content {
    transition: none;
  }
}

/* =========================================== */
/* HIDE ALL READING TIME INDICATORS */
/* User requested removal - all reading time displays hidden */
/* =========================================== */

.reading-time,
.reading-time-badge,
.reading-time-inline,
.scroll-reading-time,
.reading-time-progress-label,
.section-reading-time,
.reading-time-summary,
.reading-time-tooltip,
.reading-time-tooltip-content,
[class*="reading-time"],
[class*="reading-time"] * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  pointer-events: none !important;
}



