/*
 * Inner pages adapter for index.iron_41cd design system (styles-new.button_huge_8ecb)
 * 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(.tertiary_47e3) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.tertiary-6f5b.steel-25ff {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.accordion_8f88 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.accordion_8f88 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.logo_outer_26b8 {
  flex: 0 0 100%;
  max-width: 100%;
}

.soft_ea95 {
  flex: 0 0 100%;
  max-width: 100%;
}

.tall_7253 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .tall_7253 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .soft_ea95 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.form-tiny-9ce9 { display: flex; }
.middle-a7ef { justify-content: space-between; }
.lower-8e96 { align-items: center; }
.steel-25ff { text-align: center; }

.wrapper-top-aadc { margin-right: 0.5rem; }
.block_cb8d { margin-right: 1rem; }
.breadcrumb-black-c447 { margin-top: 1rem; }
.mini-212b { margin-top: 1.5rem; }
.out_c29b { margin-bottom: 1rem; }
.surface_bottom_4311 { margin-bottom: 1.5rem; }
.first_6b2c { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.inner_cbd6 { margin-top: 1rem; margin-bottom: 1rem; }
.background-be65 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.icon_slow_5689 { max-width: 100%; height: auto; }

/* Links used in old footer */
.row_hot_04e0 { color: var(--text-primary); }
.purple_1940 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.soft_aab2 {
  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 */
.aside_570b { /* 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);
}

.aside_570b:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.solid_537c {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.solid_537c:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.notification_fresh_95eb {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.notification-gas-bc7a {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.notification-gas-bc7a::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;
}

.bright-423e {
  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);
}

.bright-423e h1 {
  margin-bottom: var(--spacing-sm);
}

.bright-423e p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.active-a582 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.warm-22cb {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.lower_0ae6 {
  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);
}

.video_wide_4c71 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.dirty_fb25 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.dirty_fb25 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.over_62cf img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.backdrop-5fdf {
  padding-bottom: var(--spacing-2xl);
}

.article-6d5d {
  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;
}

.label-brown-bc31 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.list-b4b8 a {
  color: var(--primary-color);
}

.list-b4b8.fn-active-4a65 {
  color: var(--text-secondary);
}

.list-b4b8:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.card-c846 {
  padding: var(--spacing-xl) 0;
}

.chip-1698 {
  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);
}

.chip-1698 h2 {
  margin-bottom: var(--spacing-sm);
}

.chip-1698 p {
  color: var(--text-secondary);
}

.title-full-4093 {
  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;
}

.title-full-4093 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.title-full-4093 h4 {
  margin-top: var(--spacing-sm);
}

.title-full-4093 p {
  color: var(--text-secondary);
}

.tag_small_ccc7 {
  padding: var(--spacing-xl) 0;
}

.silver_7f54 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.menu_prev_2b0f {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu_prev_2b0f a {
  color: var(--text-secondary);
}

.menu_prev_2b0f a:hover {
  color: var(--primary-color);
}

.avatar-dim-2f9f {
  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);
}

.footer-silver-7ee2 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.frame-white-c12e {
  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);
}

.frame-white-c12e:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.under-d51c { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.avatar-97a7 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: e16d */
.shadow-element-b6 {
  padding: 0.5rem;
  font-size: 14px;
  line-height: 1.1;
}
