/*
 * Inner pages adapter for index.surface-f8fc design system (styles-new.gas_086b)
 * 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(.plasma-4b60) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.image_928e.texture-a557 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.section_8d1f {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.section_8d1f > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.carousel_east_5079 {
  flex: 0 0 100%;
  max-width: 100%;
}

.text_slow_88ee {
  flex: 0 0 100%;
  max-width: 100%;
}

.detail_blue_32e0 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .detail_blue_32e0 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .text_slow_88ee {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.wrapper_a6ea { display: flex; }
.inner_4d40 { justify-content: space-between; }
.list_42df { align-items: center; }
.texture-a557 { text-align: center; }

.lower-c6f5 { margin-right: 0.5rem; }
.message-soft-638a { margin-right: 1rem; }
.accordion_98a8 { margin-top: 1rem; }
.tiny-872c { margin-top: 1.5rem; }
.chip_warm_840e { margin-bottom: 1rem; }
.disabled_dynamic_2822 { margin-bottom: 1.5rem; }
.huge_e508 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.aside_motion_d5ea { margin-top: 1rem; margin-bottom: 1rem; }
.list_simple_4019 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.hidden-outer-d526 { max-width: 100%; height: auto; }

/* Links used in old footer */
.button-large-e740 { color: var(--text-primary); }
.active-b7c0 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.inner_80c0 {
  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 */
.tag_full_2f7e { /* 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);
}

.tag_full_2f7e:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.article_6ac7 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.article_6ac7:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.media_new_2cf1 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.hero_a1e6 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.hero_a1e6::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;
}

.active-7d72 {
  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);
}

.active-7d72 h1 {
  margin-bottom: var(--spacing-sm);
}

.active-7d72 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.picture-b915 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.block-fixed-62a2 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.medium_5054 {
  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);
}

.badge-7dab {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.input_stone_cf11 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.input_stone_cf11 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.notification-e8de img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.button-0e5d {
  padding-bottom: var(--spacing-2xl);
}

.card-aaf8 {
  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;
}

.highlight_motion_b4d7 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.right_e703 a {
  color: var(--primary-color);
}

.right_e703.fn-active-f4f9 {
  color: var(--text-secondary);
}

.right_e703:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.dirty_cac1 {
  padding: var(--spacing-xl) 0;
}

.steel_a764 {
  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);
}

.steel_a764 h2 {
  margin-bottom: var(--spacing-sm);
}

.steel_a764 p {
  color: var(--text-secondary);
}

.chip-steel-e165 {
  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;
}

.chip-steel-e165 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.chip-steel-e165 h4 {
  margin-top: var(--spacing-sm);
}

.chip-steel-e165 p {
  color: var(--text-secondary);
}

.solid_e5d8 {
  padding: var(--spacing-xl) 0;
}

.basic-16f8 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.selected_bcad {
  list-style: none;
  margin: 0;
  padding: 0;
}

.selected_bcad a {
  color: var(--text-secondary);
}

.selected_bcad a:hover {
  color: var(--primary-color);
}

.progress_solid_b38c {
  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-tiny-0f9e {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.title-north-96b0 {
  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);
}

.title-north-96b0:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.grid-in-f6b5 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav_outer_ca13 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 9a8d */
.ghost-box-z6 {
  padding: 0.1rem;
  font-size: 10px;
  line-height: 1.1;
}
