/*
 * Inner pages adapter for index.texture-8b0c design system (styles-new.focus_smooth_467b)
 * 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(.right-97cc) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.primary_d8a8.accordion_b1fb {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.message-out-526b {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.message-out-526b > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.fixed-c3b4 {
  flex: 0 0 100%;
  max-width: 100%;
}

.title-8ea0 {
  flex: 0 0 100%;
  max-width: 100%;
}

.dirty_ee92 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .dirty_ee92 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .title-8ea0 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.primary_brown_8474 { display: flex; }
.selected-1146 { justify-content: space-between; }
.sort_2cd5 { align-items: center; }
.accordion_b1fb { text-align: center; }

.banner_6cc3 { margin-right: 0.5rem; }
.tooltip_e448 { margin-right: 1rem; }
.surface-stone-e39d { margin-top: 1rem; }
.highlight_d92a { margin-top: 1.5rem; }
.texture-5dd9 { margin-bottom: 1rem; }
.breadcrumb-649c { margin-bottom: 1.5rem; }
.background-ffb3 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.primary_large_3b43 { margin-top: 1rem; margin-bottom: 1rem; }
.nav_up_da2a { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.focus-pressed-a093 { max-width: 100%; height: auto; }

/* Links used in old footer */
.dirty-4a10 { color: var(--text-primary); }
.preview_c497 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.widget_bright_1432 {
  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 */
.plasma-61cf { /* 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);
}

.plasma-61cf:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.icon_2f3e {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.icon_2f3e:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.mask-medium-99c5 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.button-a5ae {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.button-a5ae::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;
}

.tooltip_current_060b {
  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);
}

.tooltip_current_060b h1 {
  margin-bottom: var(--spacing-sm);
}

.tooltip_current_060b p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.white-82ca {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.slider_95ac {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.grid_03f4 {
  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);
}

.alert_f665 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.container_d4f2 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.container_d4f2 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.picture_selected_ecab img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.complex_c26b {
  padding-bottom: var(--spacing-2xl);
}

.background_last_3433 {
  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;
}

.pattern_red_45e1 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.focused-1139 a {
  color: var(--primary-color);
}

.focused-1139.fn-active-8870 {
  color: var(--text-secondary);
}

.focused-1139:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.aside-hard-53d8 {
  padding: var(--spacing-xl) 0;
}

.advanced-3713 {
  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);
}

.advanced-3713 h2 {
  margin-bottom: var(--spacing-sm);
}

.advanced-3713 p {
  color: var(--text-secondary);
}

.detail-e4d6 {
  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;
}

.detail-e4d6 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.detail-e4d6 h4 {
  margin-top: var(--spacing-sm);
}

.detail-e4d6 p {
  color: var(--text-secondary);
}

.carousel-last-1d9d {
  padding: var(--spacing-xl) 0;
}

.background_hard_75df {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.small_f119 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.small_f119 a {
  color: var(--text-secondary);
}

.small_f119 a:hover {
  color: var(--primary-color);
}

.grid_dirty_dc8a {
  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);
}

.label-middle-28c3 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.active-33a2 {
  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);
}

.active-33a2:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.modal_0c92 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.image_stone_cf71 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: bf5b */
.ghost-box-p0 {
  padding: 0.2rem;
  font-size: 13px;
  line-height: 1.3;
}
