/*
 * Inner pages adapter for index.glass-02d3 design system (styles-new.backdrop_2b05)
 * Purpose: keep legacy inner-page HTML (row/col/utilities) working while matching modern palette.
 */

/* Hide legacy header blocks once we inject the modern header into inner pages */
body > header:not(.logo_pro_5c09) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.gallery-hovered-a98b.paper_3f3b {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.glass_5910 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.glass_5910 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.dim-124e {
  flex: 0 0 100%;
  max-width: 100%;
}

.inner_58ed {
  flex: 0 0 100%;
  max-width: 100%;
}

.small_2368 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .small_2368 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .inner_58ed {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.input_complex_4f5f { display: flex; }
.bottom-c492 { justify-content: space-between; }
.pagination-slow-d5ee { align-items: center; }
.paper_3f3b { text-align: center; }

.sidebar-3c53 { margin-right: 0.5rem; }
.red_82a4 { margin-right: 1rem; }
.gradient-d47c { margin-top: 1rem; }
.action_9675 { margin-top: 1.5rem; }
.article-active-9724 { margin-bottom: 1rem; }
.slider-light-8260 { margin-bottom: 1.5rem; }
.thumbnail-west-a215 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.rough-f42f { margin-top: 1rem; margin-bottom: 1rem; }
.component_a04f { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.feature-selected-bd9c { max-width: 100%; height: auto; }

/* Links used in old footer */
.frame-steel-3737 { color: var(--text-primary); }
.solid_1e83 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.yellow-54dd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

/* Map legacy variants to modern system */
.primary-0f88 { /* treat as primary */
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--bg-primary);
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
}

.primary-0f88:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.sidebar-fixed-6a5e {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.sidebar-fixed-6a5e:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.north-417a {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.shadow-advanced-db6c {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.shadow-advanced-db6c::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.18) 0%, transparent 70%);
  filter: blur(1px);
  pointer-events: none;
}

.main_23cd {
  background: rgba(26, 36, 66, 0.65);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
}

.main_23cd h1 {
  margin-bottom: var(--spacing-sm);
}

.main_23cd p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.hard_76ad {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.video-091d {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.preview-ae93 {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  background: rgba(10, 14, 39, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
}

.status-6fda {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.widget_dim_00e6 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.widget_dim_00e6 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.title_dark_e527 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.thumbnail-plasma-63fc {
  padding-bottom: var(--spacing-2xl);
}

.purple_aaef {
  background: rgba(10, 14, 39, 0.55);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: var(--spacing-sm) 0;
}

.gallery_last_b8b0 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.first_5576 a {
  color: var(--primary-color);
}

.first_5576.fn-active-d1f9 {
  color: var(--text-secondary);
}

.first_5576:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.pressed_81f6 {
  padding: var(--spacing-xl) 0;
}

.heading_pink_d731 {
  background: rgba(26, 36, 66, 0.65);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
}

.heading_pink_d731 h2 {
  margin-bottom: var(--spacing-sm);
}

.heading_pink_d731 p {
  color: var(--text-secondary);
}

.tertiary-down-3d72 {
  background: rgba(10, 14, 39, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  margin: var(--spacing-md) 0;
}

.tertiary-down-3d72 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.tertiary-down-3d72 h4 {
  margin-top: var(--spacing-sm);
}

.tertiary-down-3d72 p {
  color: var(--text-secondary);
}

.simple_435d {
  padding: var(--spacing-xl) 0;
}

.solid-afe1 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.text_f96b {
  list-style: none;
  margin: 0;
  padding: 0;
}

.text_f96b a {
  color: var(--text-secondary);
}

.text_f96b a:hover {
  color: var(--primary-color);
}

.simple_48e3 {
  background: rgba(10, 14, 39, 0.55);
  border: 1px solid rgba(0, 212, 170, 0.25);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
}

.gallery_center_e196 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.layout-cool-e49f {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.layout-cool-e49f:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.carousel_520a { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.preview_c6c9 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 64d3 */
.phantom-card-m4 {
  padding: 0.4rem;
  font-size: 12px;
  line-height: 1.3;
}
