/*
 * Inner pages adapter for index.backdrop_1c76 design system (styles-new.under-9d8f)
 * 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(.hero-dc58) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.gallery_short_915a.dynamic_6ecf {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.link_next_2b9f {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.link_next_2b9f > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.paper-7dae {
  flex: 0 0 100%;
  max-width: 100%;
}

.notification_a8b6 {
  flex: 0 0 100%;
  max-width: 100%;
}

.up-c03d {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .up-c03d {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .notification_a8b6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.button_stale_e78f { display: flex; }
.gold-b570 { justify-content: space-between; }
.caption-hard-f972 { align-items: center; }
.dynamic_6ecf { text-align: center; }

.caption-3329 { margin-right: 0.5rem; }
.pagination_steel_c50a { margin-right: 1rem; }
.tertiary_under_72e0 { margin-top: 1rem; }
.simple_8a18 { margin-top: 1.5rem; }
.feature-blue-4717 { margin-bottom: 1rem; }
.grid-fast-3223 { margin-bottom: 1.5rem; }
.accent-blue-bc1e { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.paragraph_c647 { margin-top: 1rem; margin-bottom: 1rem; }
.detail_3518 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.small_5735 { max-width: 100%; height: auto; }

/* Links used in old footer */
.next-efc9 { color: var(--text-primary); }
.main_clean_dc5a { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.gallery_79d9 {
  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 */
.complex_6a3e { /* 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);
}

.complex_6a3e:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.bottom-f25a {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.bottom-f25a:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.block_ea1b {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.thick-2f17 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.thick-2f17::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;
}

.shadow_2399 {
  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);
}

.shadow_2399 h1 {
  margin-bottom: var(--spacing-sm);
}

.shadow_2399 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.accordion_focused_40ee {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.purple_ac2c {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.module_steel_685c {
  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);
}

.element-6c54 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.sidebar_silver_b22d h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.sidebar_silver_b22d p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.column-2d4b img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.module_777d {
  padding-bottom: var(--spacing-2xl);
}

.hard_7e17 {
  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;
}

.copper_5cc4 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.title-4169 a {
  color: var(--primary-color);
}

.title-4169.fn-active-840e {
  color: var(--text-secondary);
}

.title-4169:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.thick_b4bc {
  padding: var(--spacing-xl) 0;
}

.dropdown_red_d999 {
  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);
}

.dropdown_red_d999 h2 {
  margin-bottom: var(--spacing-sm);
}

.dropdown_red_d999 p {
  color: var(--text-secondary);
}

.dark-3873 {
  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;
}

.dark-3873 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.dark-3873 h4 {
  margin-top: var(--spacing-sm);
}

.dark-3873 p {
  color: var(--text-secondary);
}

.backdrop_gold_3134 {
  padding: var(--spacing-xl) 0;
}

.right-eb8a {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.column_858a {
  list-style: none;
  margin: 0;
  padding: 0;
}

.column_858a a {
  color: var(--text-secondary);
}

.column_858a a:hover {
  color: var(--primary-color);
}

.aside_inner_2580 {
  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);
}

.background-9f90 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.stone-ea86 {
  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);
}

.stone-ea86:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.texture-tiny-3171 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.section_593c { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 0b41 */
.ghost-box-f6 {
  padding: 0.3rem;
  font-size: 13px;
  line-height: 1.3;
}
