/*
 * Inner pages adapter for index.static_78ef design system (styles-new.header_motion_9e5f)
 * 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(.photo-old-7794) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.main_8067.header-7abe {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.list_9d43 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.list_9d43 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.focus_4d8c {
  flex: 0 0 100%;
  max-width: 100%;
}

.thumbnail_fe9e {
  flex: 0 0 100%;
  max-width: 100%;
}

.huge-5fa8 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .huge-5fa8 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .thumbnail_fe9e {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.huge_e441 { display: flex; }
.banner_c517 { justify-content: space-between; }
.small_1d9b { align-items: center; }
.header-7abe { text-align: center; }

.heading_2c25 { margin-right: 0.5rem; }
.huge-9146 { margin-right: 1rem; }
.mini-8735 { margin-top: 1rem; }
.selected-7f6c { margin-top: 1.5rem; }
.short_28b7 { margin-bottom: 1rem; }
.hard_d990 { margin-bottom: 1.5rem; }
.tabs_stone_3553 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.breadcrumb-33dc { margin-top: 1rem; margin-bottom: 1rem; }
.dropdown_easy_4bbd { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.east-0018 { max-width: 100%; height: auto; }

/* Links used in old footer */
.message-out-4d21 { color: var(--text-primary); }
.icon_full_638e { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.nav-3851 {
  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 */
.pagination_cool_88b8 { /* 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);
}

.pagination_cool_88b8:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.pagination_pressed_26f7 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.pagination_pressed_26f7:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.wide-5d35 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.widget_39c4 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.widget_39c4::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;
}

.paper-8264 {
  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);
}

.paper-8264 h1 {
  margin-bottom: var(--spacing-sm);
}

.paper-8264 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.full_e149 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.status_f158 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.in_0f3c {
  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);
}

.gas_c4f2 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.next_c9a8 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.next_c9a8 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.chip_cb66 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.icon_silver_10b9 {
  padding-bottom: var(--spacing-2xl);
}

.grid_4be1 {
  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;
}

.alert-101a {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.disabled-stone-4b70 a {
  color: var(--primary-color);
}

.disabled-stone-4b70.fn-active-f2f3 {
  color: var(--text-secondary);
}

.disabled-stone-4b70:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.section-2788 {
  padding: var(--spacing-xl) 0;
}

.slider_8210 {
  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);
}

.slider_8210 h2 {
  margin-bottom: var(--spacing-sm);
}

.slider_8210 p {
  color: var(--text-secondary);
}

.main_1994 {
  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;
}

.main_1994 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.main_1994 h4 {
  margin-top: var(--spacing-sm);
}

.main_1994 p {
  color: var(--text-secondary);
}

.preview_be20 {
  padding: var(--spacing-xl) 0;
}

.video-7617 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.hover_full_5c95 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hover_full_5c95 a {
  color: var(--text-secondary);
}

.hover_full_5c95 a:hover {
  color: var(--primary-color);
}

.pink_0f01 {
  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);
}

.over-716d {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.pattern-current-c4b1 {
  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);
}

.pattern-current-c4b1:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.info-adb3 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.cold_9100 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 6b1a */
.widget-item-t4 {
  padding: 0.4rem;
  font-size: 14px;
  line-height: 1.3;
}
