/**
 * portfolio-single.css
 * Styling definitions for the unified Portfolio & Case Study details page.
 * Implements the 5-Part Evidence Framework, Telemetry Metrics Dashboard,
 * Sticky Specs Sidebar, Visual Gallery Slider & Full-Screen Lightbox.
 *
 * STRICT COLOR RULE: Charcoal (#262523) is ONLY used for text and button backgrounds,
 * NEVER for container, section, or card backgrounds.
 * Surfaces use Stark White (#FFFFFF), Warm Ivory (#F5F2EC), and subtle ambient tones.
 *
 * @package Srushti_Theme
 */

.single-portfolio-wrapper {
  background-color: var(--color-void);
  font-family: var(--font-body);
  color: var(--text-secondary);
  overflow-x: hidden;
}

/* ─────────────────────────────────────────────
   1. SPLIT HERO SECTION WITH AMBIENT SPACE ACCENT
   ───────────────────────────────────────────── */
.portfolio-hero-section {
  position: relative;
  overflow: hidden;
  background-color: var(--color-midnight);
  padding: 140px 0 60px;
  border-bottom: 1px solid var(--color-border-subtle);
  z-index: 1;
}

.hero-container-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-12);
  align-items: center;
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-study-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 850;
  color: var(--color-brand-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: var(--space-2);
}

.case-study-hero-title-main {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-primary);
  margin-top: var(--space-2);
  margin-bottom: var(--space-5);
  letter-spacing: -0.02em;
}

.hero-client-meta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.hero-client-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background-color: var(--color-surface-2);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-subtle);
}

.hero-client-badge .badge-label {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 900;
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
  border-right: 1.5px solid var(--color-brand-red);
  padding-right: var(--space-2);
}

.hero-client-badge .badge-value {
  font-size: 13.5px;
  font-weight: 750;
  color: var(--text-primary);
}

.hero-highlight-metric-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(183, 45, 49, 0.08);
  color: var(--color-brand-red);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 850;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(183, 45, 49, 0.2);
  letter-spacing: -0.01em;
}

.hero-year-badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--color-surface-2);
  color: var(--text-tertiary);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-subtle);
}

/* Featured Mockup / Hero Image */
.hero-image-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.case-study-hero-image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  box-shadow: 0 16px 40px rgba(38, 37, 35, 0.05);
  background-color: var(--color-surface-2);
  width: 100%;
  max-width: 480px;
  aspect-ratio: 16/10;
}

.case-study-hero-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-study-hero-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--text-tertiary);
  background: var(--color-surface-2);
}

/* Ambient space background pattern and light glow */
.header-space-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(198, 161, 91, 0.12) 0%, transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(183, 45, 49, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 70% 30% at 50% -5%, rgba(38, 37, 35, 0.03) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 120%, rgba(183, 45, 49, 0.10) 0%, rgba(198, 161, 91, 0.05) 45%, transparent 75%),
    linear-gradient(180deg, #FFFFFF 0%, #FAF8F4 55%, var(--color-warm-ivory) 100%);
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.header-stars {
  display: none !important;
}

.header-glow-core {
  position: absolute;
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, var(--color-brand-red-glow) 0%, transparent 80%);
  filter: blur(30px);
}

/* ─────────────────────────────────────────────
   2. VISUAL GALLERY INLINE SLIDER
   ───────────────────────────────────────────── */
.portfolio-hero-image-wrap {
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.featured-image-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  box-shadow: 0 10px 30px rgba(38, 37, 35, 0.03);
  background-color: var(--color-surface-2);
}

.srushti-gallery-slider-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.srushti-gallery-slider-container {
  overflow: hidden;
  width: 100%;
}

.srushti-gallery-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.srushti-gallery-slide {
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  background-color: var(--color-surface-2);
}

.srushti-gallery-slide a {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.srushti-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease-out);
}

.srushti-gallery-slide:hover .srushti-gallery-img {
  transform: scale(1.02);
}

.srushti-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(38, 37, 35, 0.1);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(38, 37, 35, 0.08);
}

.srushti-slider-btn:hover {
  background: var(--color-brand-red);
  color: #FFFFFF;
  border-color: var(--color-brand-red);
  box-shadow: 0 4px 16px rgba(183, 45, 49, 0.3);
}

.srushti-slider-prev {
  left: var(--space-4);
}

.srushti-slider-next {
  right: var(--space-4);
}

.srushti-slider-dots {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.srushti-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid rgba(38, 37, 35, 0.15);
}

.srushti-slider-dot.active {
  width: 20px;
  border-radius: 4px;
  background: var(--color-brand-red);
  border-color: var(--color-brand-red);
}

/* ─────────────────────────────────────────────
   3. TWO-COLUMN DASHBOARD GRID (5-PART FRAMEWORK + SPECS)
   ───────────────────────────────────────────── */
.main-dashboard-grid {
  display: grid;
  grid-template-columns: 2.15fr 0.85fr;
  gap: var(--space-12);
  padding: var(--space-12) 0;
  align-items: start;
}

.dashboard-main-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.dashboard-narrative-section {
  background: var(--color-surface-1);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-10);
  box-shadow: 0 4px 16px rgba(38, 37, 35, 0.02);
}

.dashboard-narrative-section .section-badge {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  color: var(--color-brand-red);
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}

.dashboard-section-title {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 850;
  color: var(--text-primary);
  line-height: 1.25;
  margin-top: 0;
  margin-bottom: var(--space-4);
  letter-spacing: -0.015em;
}

.dashboard-body-text {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0;
}

/* 5-Part distinctive card styling */
.overview-card {
  border-left: 4px solid var(--color-brand-red) !important;
  background-color: var(--color-surface-1) !important;
}

.challenge-card {
  border-left: 4px solid var(--color-brand-red) !important;
  background-color: var(--color-surface-1) !important;
}

.insight-card {
  border-left: 4px solid var(--color-brand-gold) !important;
  background-color: var(--color-surface-1) !important;
}

.solution-card {
  border-left: 4px solid var(--color-border-subtle) !important;
  background-color: var(--color-surface-2) !important;
}

.execution-card {
  border-left: 4px solid var(--color-border-subtle) !important;
  background-color: var(--color-surface-1) !important;
}

.entry-content {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.entry-content p {
  margin-bottom: var(--space-4);
}

/* ─────────────────────────────────────────────
   4. TELEMETRY RESULTS PANEL
   ───────────────────────────────────────────── */
.results-telemetry-section {
  border-color: rgba(183, 45, 49, 0.2) !important;
  border-left: 4px solid var(--color-brand-red) !important;
  box-shadow: 0 8px 30px rgba(183, 45, 49, 0.03);
  background-color: var(--color-surface-1) !important;
}

.telemetry-dashboard-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.telemetry-metric-row {
  display: grid;
  grid-template-columns: 0.35fr 1.65fr;
  gap: var(--space-6);
  padding: var(--space-5) var(--space-6);
  background-color: var(--color-surface-2);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  align-items: center;
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease;
}

.telemetry-metric-row:hover {
  transform: translateX(4px);
  border-color: var(--color-brand-red);
}

.telemetry-value-col {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.metric-big-num {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 900;
  color: var(--color-brand-red);
  line-height: 1;
  letter-spacing: -0.02em;
}

.telemetry-desc-col {
  display: flex;
  align-items: center;
}

.metric-desc-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  font-weight: 700;
  margin: 0;
}

/* ─────────────────────────────────────────────
   5. STICKY SIDEBAR & SPECS CARD
   ───────────────────────────────────────────── */
.dashboard-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  position: sticky;
  top: 110px;
}

.specs-sidebar-card {
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  background: var(--color-surface-1) !important;
  border: 1px solid var(--color-border-subtle) !important;
  box-shadow: 0 6px 24px rgba(38, 37, 35, 0.03) !important;
}

.specs-sidebar-card .sidebar-card-title {
  font-size: 13.5px;
  font-weight: 850;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0;
  margin-bottom: var(--space-6);
  border-bottom: 2px solid var(--color-brand-red);
  padding-bottom: var(--space-2);
  display: inline-block;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-6);
}

.specs-table tr {
  border-bottom: 1px solid var(--color-border-subtle);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table th {
  text-align: left;
  padding: var(--space-3) 0;
  font-size: 11px;
  font-weight: 850;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.specs-table td {
  text-align: right;
  padding: var(--space-3) 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.specs-results-box {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-bottom: var(--space-6);
  text-align: center;
}

.specs-results-box .results-label {
  display: block;
  font-size: 9.5px;
  font-weight: 850;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-1);
}

.specs-results-box .results-value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: var(--color-brand-red);
  line-height: 1.2;
}

.sidebar-cta-action {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-subtle);
}

.sidebar-cta-pitch {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
}

.sidebar-discuss-btn {
  width: 100%;
  justify-content: center;
  background-color: var(--color-brand-red) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(183, 45, 49, 0.2);
  transition: all 0.3s var(--ease-out);
}

.sidebar-discuss-btn:hover {
  background-color: var(--color-brand-red-bright) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(183, 45, 49, 0.3);
}

/* ─────────────────────────────────────────────
   6. POST NAVIGATION LINKS
   ───────────────────────────────────────────── */
.post-navigation {
  margin-top: var(--space-4);
}

.post-navigation .nav-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.post-navigation .nav-link-box {
  display: block;
  padding: var(--space-5);
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  background: var(--color-surface-1);
}

.post-navigation .nav-link-box:hover {
  transform: translateY(-2px);
  border-color: var(--color-brand-red);
  box-shadow: 0 8px 24px rgba(38, 37, 35, 0.04);
}

.post-navigation .nav-prev-link-wrap {
  text-align: left;
}

.post-navigation .nav-next-link-wrap {
  text-align: right;
}

.post-navigation .nav-direction {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
  margin-bottom: var(--space-1.5);
}

.post-navigation .nav-next-link-wrap .nav-direction {
  justify-content: flex-end;
}

.post-navigation .nav-title {
  font-size: 14.5px;
  font-weight: 750;
  color: var(--text-primary);
  line-height: 1.3;
  transition: color 0.2s ease;
}

.post-navigation .nav-link-box:hover .nav-title {
  color: var(--color-brand-red);
}

/* ─────────────────────────────────────────────
   7. RELATED WORK / MORE CASE STUDIES LIST
   ───────────────────────────────────────────── */
.case-study-other-stories-section {
  padding: var(--space-16) 0;
  background-color: var(--color-void);
  border-top: 1px solid var(--color-border-subtle);
}

.other-stories-title {
  font-size: 26px;
  font-weight: 850;
  color: var(--text-primary);
  margin-top: 0;
  margin-bottom: var(--space-10);
  letter-spacing: -0.02em;
}

.case-study-stat-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #FFFFFF;
  color: var(--color-brand-red);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 850;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(183, 45, 49, 0.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  z-index: 2;
}

/* Card items in Explore More Selected Work */
.case-study-other-stories-section .portfolio-grid-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: var(--space-8);
}

.case-study-other-stories-section .portfolio-item-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  background: var(--color-surface-1) !important;
  border: 1px solid var(--color-border-subtle) !important;
  box-shadow: 0 6px 24px rgba(38, 37, 35, 0.02) !important;
}

.case-study-other-stories-section .portfolio-item-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-brand-red) !important;
  box-shadow: 0 16px 36px rgba(38, 37, 35, 0.05) !important;
}

.case-study-other-stories-section .portfolio-card-thumb-wrap {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-border-subtle);
}

.case-study-other-stories-section .portfolio-card-thumb-wrap .badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 2;
  background: var(--color-surface-1) !important;
  color: var(--color-brand-red) !important;
  border: 1px solid rgba(183, 45, 49, 0.2) !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 10px rgba(38, 37, 35, 0.05) !important;
  padding: 5px 12px !important;
  border-radius: 4px;
}

.case-study-other-stories-section .portfolio-card-img-fit {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease-out);
}

.case-study-other-stories-section .portfolio-item-card:hover .portfolio-card-img-fit {
  transform: scale(1.03);
}

.case-study-other-stories-section .portfolio-card-footer {
  padding: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  background: var(--color-surface-1);
}

.case-study-other-stories-section .portfolio-card-text-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-study-other-stories-section .portfolio-card-client-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
}

.case-study-other-stories-section .portfolio-card-client-name {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.case-study-other-stories-section .portfolio-card-client-name a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.25s ease;
}

.case-study-other-stories-section .portfolio-card-client-name a:hover {
  color: var(--color-brand-red);
}

.case-study-other-stories-section .portfolio-view-site-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 750;
  text-transform: uppercase;
  color: var(--color-brand-red);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: gap 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

.case-study-other-stories-section .portfolio-view-site-link:hover {
  color: var(--color-brand-red-bright);
  gap: 10px;
}

/* ─────────────────────────────────────────────
   8. SIMPLE FINAL OUTREACH CTA
   ───────────────────────────────────────────── */
.case-study-bottom-cta {
  margin-top: var(--space-6);
  margin-bottom: var(--space-16);
}

.case-study-banner-cta-simple {
  text-align: center;
  background-color: var(--color-surface-1);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-10) var(--space-8);
  box-shadow: 0 6px 24px rgba(38, 37, 35, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.case-study-banner-cta-simple .cta-title {
  font-size: clamp(22px, 3.2vw, 28px);
  font-weight: 850;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.02em;
}

.case-study-banner-cta-simple .cta-subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 0 var(--space-3);
}

.case-study-banner-cta-simple .simple-cta-btn {
  background-color: var(--color-brand-red) !important;
  color: #FFFFFF !important;
  border-color: var(--color-brand-red) !important;
  padding: 12px 32px !important;
  box-shadow: 0 4px 12px rgba(183, 45, 49, 0.2);
  transition: all 0.3s var(--ease-out);
}

.case-study-banner-cta-simple .simple-cta-btn:hover {
  background-color: var(--color-brand-red-bright) !important;
  border-color: var(--color-brand-red-bright) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(183, 45, 49, 0.3);
}

/* ─────────────────────────────────────────────
   9. FULL-SCREEN LIGHTBOX MODAL
   ───────────────────────────────────────────── */
.srushti-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: rgba(38, 37, 35, 0.96);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  overflow: hidden;
}

.srushti-lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.srushti-lightbox-close {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 28px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  z-index: 100010;
  transition: all 0.25s ease;
}

.srushti-lightbox-close:hover {
  background: var(--color-brand-red);
  color: #FFFFFF;
  border-color: var(--color-brand-red);
}

.srushti-lightbox-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.srushti-lightbox-slider-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.srushti-lightbox-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.srushti-lightbox-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
}

.srushti-lightbox-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  display: block;
}

.srushti-lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100005;
  transition: all 0.25s ease;
}

.srushti-lightbox-btn:hover {
  background: var(--color-brand-red);
  color: #FFFFFF;
  border-color: var(--color-brand-red);
  box-shadow: 0 4px 15px rgba(183, 45, 49, 0.4);
}

.srushti-lightbox-prev {
  left: -70px;
}

.srushti-lightbox-next {
  right: -70px;
}

.srushti-lightbox-caption {
  margin-top: var(--space-4);
  color: #FFFFFF;
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 550;
  text-align: center;
  min-height: 20px;
  letter-spacing: 0.01em;
}

.srushti-lightbox-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-4);
}

.srushti-lightbox-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.srushti-lightbox-dot.active {
  width: 18px;
  border-radius: 4px;
  background: var(--color-brand-red);
}

/* ─────────────────────────────────────────────
   10. RESPONSIVE MEDIA QUERIES
   ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-container-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .case-study-hero-image-frame {
    max-width: 100%;
  }

  .main-dashboard-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .dashboard-sidebar-col {
    position: static;
  }

  .specs-sidebar-card {
    max-width: 100%;
  }

  .srushti-lightbox-prev {
    left: var(--space-4);
  }

  .srushti-lightbox-next {
    right: var(--space-4);
  }
}

@media (max-width: 768px) {
  .portfolio-hero-section {
    padding-top: 110px;
    padding-bottom: var(--space-8);
  }

  .case-study-hero-title-main {
    font-size: 26px;
  }

  .dashboard-narrative-section {
    padding: var(--space-6) var(--space-6);
  }

  .telemetry-metric-row {
    grid-template-columns: 1fr;
    gap: var(--space-2);
    text-align: center;
  }

  .telemetry-value-col {
    justify-content: center;
  }

  .post-navigation .nav-links-grid {
    grid-template-columns: 1fr;
  }

  .srushti-lightbox-content {
    height: 60vh;
  }

  .srushti-lightbox-close {
    top: 15px;
    right: 15px;
  }
}