/*
 * Inner pages adapter for index.sidebar-orange-8e6e design system (styles-new.sort_f145)
 * 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(.slow_730f) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.notice-1615.badge_f9e7 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.gradient-d58f {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.gradient-d58f > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.hover-up-8625 {
  flex: 0 0 100%;
  max-width: 100%;
}

.mask_south_f000 {
  flex: 0 0 100%;
  max-width: 100%;
}

.preview-ed1b {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .preview-ed1b {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .mask_south_f000 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.over_35c1 { display: flex; }
.slider_5378 { justify-content: space-between; }
.box-hovered-0ba6 { align-items: center; }
.badge_f9e7 { text-align: center; }

.module_pro_6dc1 { margin-right: 0.5rem; }
.hero_wood_6b51 { margin-right: 1rem; }
.highlight_iron_72d1 { margin-top: 1rem; }
.surface-2b54 { margin-top: 1.5rem; }
.text-next-3187 { margin-bottom: 1rem; }
.badge_166b { margin-bottom: 1.5rem; }
.down-facb { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.link_a1c0 { margin-top: 1rem; margin-bottom: 1rem; }
.logo_1d0c { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.form_pink_ac5d { max-width: 100%; height: auto; }

/* Links used in old footer */
.carousel-a6c0 { color: var(--text-primary); }
.filter-green-c8df { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.south-a523 {
  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 */
.modal-last-8a24 { /* 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);
}

.modal-last-8a24:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.item-7f58 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.item-7f58:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.menu-middle-0784 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.blue-c64f {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.blue-c64f::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;
}

.sort_9e8d {
  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);
}

.sort_9e8d h1 {
  margin-bottom: var(--spacing-sm);
}

.sort_9e8d p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.right_7d29 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.text_under_7f92 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.hovered_a5b1 {
  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);
}

.tooltip_pink_a565 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.large_5f8c h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.large_5f8c p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.nav-5f87 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.block_70ef {
  padding-bottom: var(--spacing-2xl);
}

.medium_210d {
  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;
}

.column-solid-2e08 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.mask_focused_0b39 a {
  color: var(--primary-color);
}

.mask_focused_0b39.fn-active-40ab {
  color: var(--text-secondary);
}

.mask_focused_0b39:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.modal-780e {
  padding: var(--spacing-xl) 0;
}

.narrow_ec46 {
  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);
}

.narrow_ec46 h2 {
  margin-bottom: var(--spacing-sm);
}

.narrow_ec46 p {
  color: var(--text-secondary);
}

.text_b399 {
  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;
}

.text_b399 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.text_b399 h4 {
  margin-top: var(--spacing-sm);
}

.text_b399 p {
  color: var(--text-secondary);
}

.status_focused_0b11 {
  padding: var(--spacing-xl) 0;
}

.description_orange_34d5 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.shade_604d {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shade_604d a {
  color: var(--text-secondary);
}

.shade_604d a:hover {
  color: var(--primary-color);
}

.steel-723a {
  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);
}

.element_short_26cb {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.sidebar-pink-a7ab {
  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);
}

.sidebar-pink-a7ab:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.caption-clean-3e8d { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.lower-ad9a { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: b38d */
.widget-item-x5 {
  padding: 0.5rem;
  font-size: 13px;
  line-height: 1.3;
}
