/*
 * Inner pages adapter for index.icon_full_d029 design system (styles-new.preview_south_f42d)
 * 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(.solid-044f) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.highlight-6433.aside_3002 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.backdrop-lite-7fd8 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.backdrop-lite-7fd8 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.middle-306a {
  flex: 0 0 100%;
  max-width: 100%;
}

.element_gold_7b32 {
  flex: 0 0 100%;
  max-width: 100%;
}

.element_green_16d2 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .element_green_16d2 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .element_gold_7b32 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.wood_9d21 { display: flex; }
.thick-e18f { justify-content: space-between; }
.tag_light_e3a1 { align-items: center; }
.aside_3002 { text-align: center; }

.narrow-b27a { margin-right: 0.5rem; }
.background-copper-ae0f { margin-right: 1rem; }
.video-paper-2577 { margin-top: 1rem; }
.aside_018a { margin-top: 1.5rem; }
.white_34f3 { margin-bottom: 1rem; }
.basic_8b0d { margin-bottom: 1.5rem; }
.widget-98d7 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.overlay-b563 { margin-top: 1rem; margin-bottom: 1rem; }
.accordion_out_2a23 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.upper_0dcb { max-width: 100%; height: auto; }

/* Links used in old footer */
.row-e51c { color: var(--text-primary); }
.blue-f973 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.header-4099 {
  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 */
.shade_bde0 { /* 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);
}

.shade_bde0:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.dynamic-5393 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.dynamic-5393:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.shadow-outer-bd58 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.tooltip_old_6f5c {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.tooltip_old_6f5c::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;
}

.bronze_0380 {
  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);
}

.bronze_0380 h1 {
  margin-bottom: var(--spacing-sm);
}

.bronze_0380 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.column-last-7f3d {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.lite-daf2 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.small-60df {
  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);
}

.pro-5471 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.header-inner-aaa7 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.header-inner-aaa7 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.description-hot-5703 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.border_selected_bfc0 {
  padding-bottom: var(--spacing-2xl);
}

.dark-92f9 {
  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;
}

.selected-4d37 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.thick_67f3 a {
  color: var(--primary-color);
}

.thick_67f3.fn-active-156a {
  color: var(--text-secondary);
}

.thick_67f3:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.selected-4c91 {
  padding: var(--spacing-xl) 0;
}

.thick_8024 {
  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);
}

.thick_8024 h2 {
  margin-bottom: var(--spacing-sm);
}

.thick_8024 p {
  color: var(--text-secondary);
}

.cold_8581 {
  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;
}

.cold_8581 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.cold_8581 h4 {
  margin-top: var(--spacing-sm);
}

.cold_8581 p {
  color: var(--text-secondary);
}

.menu_dark_195f {
  padding: var(--spacing-xl) 0;
}

.stone-42bc {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.alert-2ae3 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.alert-2ae3 a {
  color: var(--text-secondary);
}

.alert-2ae3 a:hover {
  color: var(--primary-color);
}

.video_4825 {
  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);
}

.accent-north-4a13 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.item_hard_191d {
  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);
}

.item_hard_191d:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.media-933f { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.simple_8094 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: d002 */
.shadow-element-x1 {
  padding: 0.2rem;
  font-size: 13px;
  line-height: 1.2;
}
