/*
 * Inner pages adapter for index.nav_wide_cf12 design system (styles-new.left-15d7)
 * 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(.table_1792) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.content_1a54.soft_1539 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.element_rough_5cbb {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.element_rough_5cbb > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.last-5861 {
  flex: 0 0 100%;
  max-width: 100%;
}

.box-0777 {
  flex: 0 0 100%;
  max-width: 100%;
}

.photo_gas_c31c {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .photo_gas_c31c {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .box-0777 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.pink_10cd { display: flex; }
.heading_middle_b770 { justify-content: space-between; }
.summary_wood_b354 { align-items: center; }
.soft_1539 { text-align: center; }

.media_4007 { margin-right: 0.5rem; }
.overlay_a681 { margin-right: 1rem; }
.focus_ca51 { margin-top: 1rem; }
.layout_f094 { margin-top: 1.5rem; }
.hard_3c40 { margin-bottom: 1rem; }
.highlight_dark_d4bb { margin-bottom: 1.5rem; }
.top_56e1 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.pink_08c3 { margin-top: 1rem; margin-bottom: 1rem; }
.focus-4048 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.blue-73d0 { max-width: 100%; height: auto; }

/* Links used in old footer */
.pattern_9264 { color: var(--text-primary); }
.hover_pressed_6d5e { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.row_2fce {
  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 */
.popup-f606 { /* 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);
}

.popup-f606:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.footer_focused_ba82 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.footer_focused_ba82:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.primary-warm-3bad {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.highlight-brown-b5da {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.highlight-brown-b5da::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;
}

.sidebar-inner-9e0c {
  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);
}

.sidebar-inner-9e0c h1 {
  margin-bottom: var(--spacing-sm);
}

.sidebar-inner-9e0c p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.block_silver_90e9 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.brown-f90a {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.dropdown_pressed_9b0c {
  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);
}

.banner-e96e {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.warm_37bf h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.warm_37bf p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.top-8b0f img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.status_smooth_19af {
  padding-bottom: var(--spacing-2xl);
}

.under-98f7 {
  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;
}

.overlay_north_ddf3 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.feature-cold-be34 a {
  color: var(--primary-color);
}

.feature-cold-be34.fn-active-bc32 {
  color: var(--text-secondary);
}

.feature-cold-be34:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.widget_clean_ca67 {
  padding: var(--spacing-xl) 0;
}

.wood-823c {
  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);
}

.wood-823c h2 {
  margin-bottom: var(--spacing-sm);
}

.wood-823c p {
  color: var(--text-secondary);
}

.disabled-medium-cfb1 {
  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;
}

.disabled-medium-cfb1 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.disabled-medium-cfb1 h4 {
  margin-top: var(--spacing-sm);
}

.disabled-medium-cfb1 p {
  color: var(--text-secondary);
}

.surface_9dcd {
  padding: var(--spacing-xl) 0;
}

.pattern-1b91 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.paper_895f {
  list-style: none;
  margin: 0;
  padding: 0;
}

.paper_895f a {
  color: var(--text-secondary);
}

.paper_895f a:hover {
  color: var(--primary-color);
}

.list_wood_2d93 {
  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);
}

.bright-8030 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.narrow-8bb2 {
  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);
}

.narrow-8bb2:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.fluid_9141 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.north_df38 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 4391 */
.widget-item-b1 {
  padding: 0.2rem;
  font-size: 10px;
  line-height: 1.1;
}
