/*
 * Inner pages adapter for index.heading-advanced-e35f design system (styles-new.border-2c1f)
 * 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(.feature-white-52ee) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.small_5166.red_1d40 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.info-west-8a16 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.info-west-8a16 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.surface_south_8297 {
  flex: 0 0 100%;
  max-width: 100%;
}

.active-50ba {
  flex: 0 0 100%;
  max-width: 100%;
}

.outline_bf69 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .outline_bf69 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .active-50ba {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.frame-north-df56 { display: flex; }
.shadow-advanced-de20 { justify-content: space-between; }
.gold_dafd { align-items: center; }
.red_1d40 { text-align: center; }

.soft_210f { margin-right: 0.5rem; }
.hidden_paper_79c4 { margin-right: 1rem; }
.header_pro_e3ec { margin-top: 1rem; }
.bronze_6833 { margin-top: 1.5rem; }
.lower-f309 { margin-bottom: 1rem; }
.card_0cd1 { margin-bottom: 1.5rem; }
.frame-dim-a8e8 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.input-up-020e { margin-top: 1rem; margin-bottom: 1rem; }
.active_a222 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.plasma_0fbf { max-width: 100%; height: auto; }

/* Links used in old footer */
.prev_1852 { color: var(--text-primary); }
.notification-down-ad29 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.summary-abaa {
  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 */
.background-7ad7 { /* 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);
}

.background-7ad7:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.pagination-outer-85c2 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.pagination-outer-85c2:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.container_red_34ec {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.outline_9af7 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.outline_9af7::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;
}

.icon-black-ab4a {
  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);
}

.icon-black-ab4a h1 {
  margin-bottom: var(--spacing-sm);
}

.icon-black-ab4a p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.widget_cold_0843 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.liquid-233b {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.container-92ba {
  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);
}

.nav-13ff {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.bright_82df h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.bright_82df p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.column-dim-f7f5 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.active_current_95c0 {
  padding-bottom: var(--spacing-2xl);
}

.texture_2416 {
  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;
}

.fixed-3ac9 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.secondary_4739 a {
  color: var(--primary-color);
}

.secondary_4739.fn-active-0298 {
  color: var(--text-secondary);
}

.secondary_4739:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.box_short_4c45 {
  padding: var(--spacing-xl) 0;
}

.surface-gold-e5d3 {
  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);
}

.surface-gold-e5d3 h2 {
  margin-bottom: var(--spacing-sm);
}

.surface-gold-e5d3 p {
  color: var(--text-secondary);
}

.paragraph_52f2 {
  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;
}

.paragraph_52f2 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.paragraph_52f2 h4 {
  margin-top: var(--spacing-sm);
}

.paragraph_52f2 p {
  color: var(--text-secondary);
}

.first-0858 {
  padding: var(--spacing-xl) 0;
}

.column-3a28 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.blue_2a8c {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blue_2a8c a {
  color: var(--text-secondary);
}

.blue_2a8c a:hover {
  color: var(--primary-color);
}

.slider-glass-8f06 {
  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);
}

.notice_6789 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.outline_b887 {
  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);
}

.outline_b887:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.liquid_79ff { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.frame-d3eb { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 4417 */
.promo-block-n9 {
  padding: 0.3rem;
  font-size: 12px;
  line-height: 1.2;
}
