/*
 * Inner pages adapter for index.popup_pressed_51fb design system (styles-new.sidebar-solid-5eb5)
 * 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(.lite-515e) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.frame-f1de.dropdown-clean-5128 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.article_next_0282 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.article_next_0282 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.form_black_495b {
  flex: 0 0 100%;
  max-width: 100%;
}

.hard-7a45 {
  flex: 0 0 100%;
  max-width: 100%;
}

.description_5d46 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .description_5d46 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .hard-7a45 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.backdrop_16aa { display: flex; }
.short-9327 { justify-content: space-between; }
.shadow_48cb { align-items: center; }
.dropdown-clean-5128 { text-align: center; }

.backdrop-stale-b82a { margin-right: 0.5rem; }
.picture_b3dc { margin-right: 1rem; }
.pagination-clean-961f { margin-top: 1rem; }
.layout_26e2 { margin-top: 1.5rem; }
.nav_wood_b63b { margin-bottom: 1rem; }
.border_fluid_9a62 { margin-bottom: 1.5rem; }
.easy_eaaa { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.header_liquid_5ffd { margin-top: 1rem; margin-bottom: 1rem; }
.light_657e { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.detail_dim_c3ef { max-width: 100%; height: auto; }

/* Links used in old footer */
.tertiary-7ef5 { color: var(--text-primary); }
.static_2c9d { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.surface-pro-c9f2 {
  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 */
.smooth-af41 { /* 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);
}

.smooth-af41:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.outline_e387 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.outline_e387:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.carousel-73e1 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.next_2618 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.next_2618::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;
}

.grid_south_2273 {
  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);
}

.grid_south_2273 h1 {
  margin-bottom: var(--spacing-sm);
}

.grid_south_2273 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.fixed-04f1 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.orange-9320 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.plasma-e999 {
  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);
}

.hover_97cb {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.pressed-3140 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.pressed-3140 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.form_slow_b7bc img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.photo_dynamic_49aa {
  padding-bottom: var(--spacing-2xl);
}

.border_inner_f700 {
  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;
}

.lower-828b {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.pro_2066 a {
  color: var(--primary-color);
}

.pro_2066.fn-active-7721 {
  color: var(--text-secondary);
}

.pro_2066:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.avatar-old-2613 {
  padding: var(--spacing-xl) 0;
}

.footer_large_44d2 {
  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);
}

.footer_large_44d2 h2 {
  margin-bottom: var(--spacing-sm);
}

.footer_large_44d2 p {
  color: var(--text-secondary);
}

.smooth_95bf {
  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;
}

.smooth_95bf h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.smooth_95bf h4 {
  margin-top: var(--spacing-sm);
}

.smooth_95bf p {
  color: var(--text-secondary);
}

.light_061e {
  padding: var(--spacing-xl) 0;
}

.hover_edc6 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.list_gas_a958 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list_gas_a958 a {
  color: var(--text-secondary);
}

.list_gas_a958 a:hover {
  color: var(--primary-color);
}

.gradient_c087 {
  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);
}

.detail_8817 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.first_ae11 {
  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);
}

.first_ae11:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.pro-bde4 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.down_6b30 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 5b87 */
.promo-block-k7 {
  padding: 0.2rem;
  font-size: 12px;
  line-height: 1.2;
}
