/*
 * Inner pages adapter for index.nav-upper-7ca3 design system (styles-new.iron_af00)
 * 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(.text_e29c) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.stone_8d78.heading-slow-a88f {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.active-silver-dcd7 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.active-silver-dcd7 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.selected-bbbf {
  flex: 0 0 100%;
  max-width: 100%;
}

.pattern-dim-ef4c {
  flex: 0 0 100%;
  max-width: 100%;
}

.container_18ae {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .container_18ae {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .pattern-dim-ef4c {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.highlight-d7b0 { display: flex; }
.feature-full-8602 { justify-content: space-between; }
.aside_d5ad { align-items: center; }
.heading-slow-a88f { text-align: center; }

.status-dd8a { margin-right: 0.5rem; }
.thumbnail_pro_a22c { margin-right: 1rem; }
.motion_9912 { margin-top: 1rem; }
.element-2070 { margin-top: 1.5rem; }
.gradient_773d { margin-bottom: 1rem; }
.highlight-west-84fe { margin-bottom: 1.5rem; }
.wide-755a { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.dynamic-254c { margin-top: 1rem; margin-bottom: 1rem; }
.hidden_3e5a { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.module-9128 { max-width: 100%; height: auto; }

/* Links used in old footer */
.shade-4536 { color: var(--text-primary); }
.clean-bc7c { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.row-bb04 {
  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 */
.hero_85e3 { /* 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);
}

.hero_85e3:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.popup-9dd5 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.popup-9dd5:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.accent_ee81 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.feature_prev_7d8c {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.feature_prev_7d8c::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;
}

.search_last_ee25 {
  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);
}

.search_last_ee25 h1 {
  margin-bottom: var(--spacing-sm);
}

.search_last_ee25 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.avatar_8808 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.title-lower-a166 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.full-2442 {
  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);
}

.thumbnail_c806 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.header_a14f h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.header_a14f p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.highlight_tiny_16ef img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.stale_3d2a {
  padding-bottom: var(--spacing-2xl);
}

.description-8ece {
  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;
}

.preview-bronze-60c9 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.thick_cc44 a {
  color: var(--primary-color);
}

.thick_cc44.fn-active-5f0b {
  color: var(--text-secondary);
}

.thick_cc44:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.disabled_703a {
  padding: var(--spacing-xl) 0;
}

.avatar_green_a89f {
  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);
}

.avatar_green_a89f h2 {
  margin-bottom: var(--spacing-sm);
}

.avatar_green_a89f p {
  color: var(--text-secondary);
}

.menu-ccac {
  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;
}

.menu-ccac h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.menu-ccac h4 {
  margin-top: var(--spacing-sm);
}

.menu-ccac p {
  color: var(--text-secondary);
}

.copper_8f46 {
  padding: var(--spacing-xl) 0;
}

.up_63ff {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.soft_9e8e {
  list-style: none;
  margin: 0;
  padding: 0;
}

.soft_9e8e a {
  color: var(--text-secondary);
}

.soft_9e8e a:hover {
  color: var(--primary-color);
}

.fixed-ffee {
  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);
}

.title-red-b34c {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.main-1752 {
  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);
}

.main-1752:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.item-fixed-75c5 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.lite_5b5e { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 5d76 */
.phantom-card-q4 {
  padding: 0.4rem;
  font-size: 13px;
  line-height: 1.2;
}
