/*
 * Inner pages adapter for index.article_old_a1e4 design system (styles-new.glass_9d84)
 * 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(.carousel_68ef) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.large-5ea1.content_bottom_517d {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.menu_9832 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.menu_9832 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.carousel_e86f {
  flex: 0 0 100%;
  max-width: 100%;
}

.bottom-1037 {
  flex: 0 0 100%;
  max-width: 100%;
}

.main-purple-7912 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .main-purple-7912 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .bottom-1037 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.chip_dim_bc42 { display: flex; }
.highlight-481c { justify-content: space-between; }
.silver-b973 { align-items: center; }
.content_bottom_517d { text-align: center; }

.dim-795b { margin-right: 0.5rem; }
.row_d78c { margin-right: 1rem; }
.right-7a42 { margin-top: 1rem; }
.tabs-complex-2f9f { margin-top: 1.5rem; }
.lite_6e9d { margin-bottom: 1rem; }
.header_gold_3dfe { margin-bottom: 1.5rem; }
.fast_23d7 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.form-bc13 { margin-top: 1rem; margin-bottom: 1rem; }
.mask_outer_accb { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.footer-out-f9ea { max-width: 100%; height: auto; }

/* Links used in old footer */
.slider_light_efd4 { color: var(--text-primary); }
.pressed_30b8 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.tag-92f3 {
  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 */
.layout-b11d { /* 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);
}

.layout-b11d:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.title-hovered-e3e1 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.title-hovered-e3e1:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.smooth-5d58 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.layout_smooth_981c {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.layout_smooth_981c::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;
}

.heading-0393 {
  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);
}

.heading-0393 h1 {
  margin-bottom: var(--spacing-sm);
}

.heading-0393 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.dirty-8e90 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.table_4123 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.icon_c024 {
  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);
}

.form_2e8e {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.border-thick-34d5 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.border-thick-34d5 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.menu_current_0fdc img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.accordion_right_8174 {
  padding-bottom: var(--spacing-2xl);
}

.container-9d32 {
  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;
}

.prev-07e6 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.sort-beb8 a {
  color: var(--primary-color);
}

.sort-beb8.fn-active-4626 {
  color: var(--text-secondary);
}

.sort-beb8:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.tertiary-orange-5a82 {
  padding: var(--spacing-xl) 0;
}

.thumbnail-2c37 {
  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);
}

.thumbnail-2c37 h2 {
  margin-bottom: var(--spacing-sm);
}

.thumbnail-2c37 p {
  color: var(--text-secondary);
}

.bottom_5b35 {
  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;
}

.bottom_5b35 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.bottom_5b35 h4 {
  margin-top: var(--spacing-sm);
}

.bottom_5b35 p {
  color: var(--text-secondary);
}

.short_a524 {
  padding: var(--spacing-xl) 0;
}

.prev_a14c {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.pressed_f1ae {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pressed_f1ae a {
  color: var(--text-secondary);
}

.pressed_f1ae a:hover {
  color: var(--primary-color);
}

.brown-3b19 {
  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);
}

.modal-thick-a222 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.modal_last_54fa {
  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);
}

.modal_last_54fa:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.form-cool-03ed { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.center_a167 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 365f */
.phantom-card-p5 {
  padding: 0.1rem;
  font-size: 13px;
  line-height: 1.0;
}
