/*
 * Inner pages adapter for index.cold-1bb5 design system (styles-new.overlay_red_6555)
 * 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(.row-mini-7aaf) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.label-d340.photo-fast-f593 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.photo-stone-d43a {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.photo-stone-d43a > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.preview_current_61a7 {
  flex: 0 0 100%;
  max-width: 100%;
}

.active-purple-ce33 {
  flex: 0 0 100%;
  max-width: 100%;
}

.liquid-3f6a {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .liquid-3f6a {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .active-purple-ce33 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.warm-707c { display: flex; }
.stale_184b { justify-content: space-between; }
.tabs-fresh-7a30 { align-items: center; }
.photo-fast-f593 { text-align: center; }

.hero-fbdb { margin-right: 0.5rem; }
.module_west_de58 { margin-right: 1rem; }
.text_bright_2c40 { margin-top: 1rem; }
.content_thick_9825 { margin-top: 1.5rem; }
.main-bright-38ac { margin-bottom: 1rem; }
.dim-662a { margin-bottom: 1.5rem; }
.hero-red-11f3 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.input-warm-8305 { margin-top: 1rem; margin-bottom: 1rem; }
.aside_6706 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.component_cool_4174 { max-width: 100%; height: auto; }

/* Links used in old footer */
.hover_5913 { color: var(--text-primary); }
.pagination_pressed_0a00 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.huge_265e {
  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 */
.message_6019 { /* 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);
}

.message_6019:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.frame-a3e7 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.frame-a3e7:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.paper_4355 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.icon_bottom_57f1 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.icon_bottom_57f1::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;
}

.iron_1282 {
  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);
}

.iron_1282 h1 {
  margin-bottom: var(--spacing-sm);
}

.iron_1282 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.label_a9fc {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.gallery-bottom-ebcc {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.shadow_e758 {
  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);
}

.plasma-7dee {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.right-e716 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.right-e716 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.overlay-15aa img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.active-6e07 {
  padding-bottom: var(--spacing-2xl);
}

.aside-b7fd {
  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;
}

.wood_9326 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.liquid-436c a {
  color: var(--primary-color);
}

.liquid-436c.fn-active-a4a3 {
  color: var(--text-secondary);
}

.liquid-436c:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.simple-1814 {
  padding: var(--spacing-xl) 0;
}

.down-96fe {
  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);
}

.down-96fe h2 {
  margin-bottom: var(--spacing-sm);
}

.down-96fe p {
  color: var(--text-secondary);
}

.info_right_23f3 {
  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;
}

.info_right_23f3 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.info_right_23f3 h4 {
  margin-top: var(--spacing-sm);
}

.info_right_23f3 p {
  color: var(--text-secondary);
}

.container_201e {
  padding: var(--spacing-xl) 0;
}

.summary_advanced_5404 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.detail-4e35 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.detail-4e35 a {
  color: var(--text-secondary);
}

.detail-4e35 a:hover {
  color: var(--primary-color);
}

.message_motion_b621 {
  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);
}

.module_9910 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.grid_over_3e04 {
  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);
}

.grid_over_3e04:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.breadcrumb_37d6 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.title_glass_fc87 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 33c9 */
.shadow-element-i2 {
  padding: 0.4rem;
  font-size: 11px;
  line-height: 1.2;
}
