/*
 * Inner pages adapter for index.element_dark_95ae design system (styles-new.background-fresh-bd77)
 * 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(.primary-slow-bb38) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.last_36e6.photo_basic_755f {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.shade_plasma_2320 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.shade_plasma_2320 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.photo-huge-050a {
  flex: 0 0 100%;
  max-width: 100%;
}

.table-e072 {
  flex: 0 0 100%;
  max-width: 100%;
}

.element_iron_623b {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .element_iron_623b {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .table-e072 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.up_9eba { display: flex; }
.complex-94be { justify-content: space-between; }
.hero_next_3063 { align-items: center; }
.photo_basic_755f { text-align: center; }

.mini-d1ac { margin-right: 0.5rem; }
.wide-18ee { margin-right: 1rem; }
.container-basic-05d3 { margin-top: 1rem; }
.nav_c43d { margin-top: 1.5rem; }
.label_pink_4b16 { margin-bottom: 1rem; }
.west_84c0 { margin-bottom: 1.5rem; }
.photo-c2b7 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.wrapper-eb4e { margin-top: 1rem; margin-bottom: 1rem; }
.under_e7d2 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.label_prev_0726 { max-width: 100%; height: auto; }

/* Links used in old footer */
.top_db3a { color: var(--text-primary); }
.input_cold_f640 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.filter-in-c1e2 {
  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 */
.east_ddf6 { /* 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);
}

.east_ddf6:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.gradient-hard-e612 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.gradient-hard-e612:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.header-middle-80d5 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.soft-387f {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.soft-387f::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;
}

.breadcrumb-liquid-0839 {
  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);
}

.breadcrumb-liquid-0839 h1 {
  margin-bottom: var(--spacing-sm);
}

.breadcrumb-liquid-0839 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.list-042a {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.pagination_0ea1 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.video-d636 {
  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_slow_73c7 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.hot_ea0c h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.hot_ea0c p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.avatar-current-9c2a img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.sidebar-f91e {
  padding-bottom: var(--spacing-2xl);
}

.pro-85e7 {
  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;
}

.inner-0a88 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.brown_b10c a {
  color: var(--primary-color);
}

.brown_b10c.fn-active-31af {
  color: var(--text-secondary);
}

.brown_b10c:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.form_pink_a300 {
  padding: var(--spacing-xl) 0;
}

.accordion-626d {
  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);
}

.accordion-626d h2 {
  margin-bottom: var(--spacing-sm);
}

.accordion-626d p {
  color: var(--text-secondary);
}

.tooltip-upper-4942 {
  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;
}

.tooltip-upper-4942 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.tooltip-upper-4942 h4 {
  margin-top: var(--spacing-sm);
}

.tooltip-upper-4942 p {
  color: var(--text-secondary);
}

.highlight_south_1585 {
  padding: var(--spacing-xl) 0;
}

.panel-84d5 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.advanced_2a1f {
  list-style: none;
  margin: 0;
  padding: 0;
}

.advanced_2a1f a {
  color: var(--text-secondary);
}

.advanced_2a1f a:hover {
  color: var(--primary-color);
}

.dim-ce8c {
  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);
}

.down-aef0 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.right-b986 {
  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);
}

.right-b986:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.hot_15ed { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.center_cec4 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: e382 */
.ghost-box-a5 {
  padding: 0.4rem;
  font-size: 10px;
  line-height: 1.0;
}
