/*
 * Inner pages adapter for index.wrapper_wood_b0bf design system (styles-new.media-ab7d)
 * 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(.sidebar-d1cf) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.layout_a6c5.south_4f5d {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.chip_f5a9 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.chip_f5a9 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.title_690a {
  flex: 0 0 100%;
  max-width: 100%;
}

.wide_04d9 {
  flex: 0 0 100%;
  max-width: 100%;
}

.huge_be8f {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .huge_be8f {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .wide_04d9 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.huge_a25c { display: flex; }
.frame-6f9f { justify-content: space-between; }
.shade_narrow_3b0f { align-items: center; }
.south_4f5d { text-align: center; }

.sort-static-8cf1 { margin-right: 0.5rem; }
.fast-b4e6 { margin-right: 1rem; }
.paragraph_203c { margin-top: 1rem; }
.center-2945 { margin-top: 1.5rem; }
.smooth_a224 { margin-bottom: 1rem; }
.widget_yellow_72a7 { margin-bottom: 1.5rem; }
.cold_eff8 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.header-1649 { margin-top: 1rem; margin-bottom: 1rem; }
.avatar-97c5 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.footer-narrow-78fc { max-width: 100%; height: auto; }

/* Links used in old footer */
.section_hard_f2c7 { color: var(--text-primary); }
.narrow_5218 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.notice_rough_3639 {
  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 */
.advanced_2a15 { /* 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);
}

.advanced_2a15:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.background_brown_a529 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.background_brown_a529:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.south-e18a {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.highlight_d4e1 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.highlight_d4e1::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;
}

.iron-f756 {
  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);
}

.iron-f756 h1 {
  margin-bottom: var(--spacing-sm);
}

.iron-f756 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.fresh_5eac {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.slow_34f6 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.shade-d6b6 {
  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);
}

.aside-3192 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.slider_short_e4e0 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.slider_short_e4e0 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.icon_20c3 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.hard-5011 {
  padding-bottom: var(--spacing-2xl);
}

.info_c6bb {
  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;
}

.picture_c463 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.under_564f a {
  color: var(--primary-color);
}

.under_564f.fn-active-26a3 {
  color: var(--text-secondary);
}

.under_564f:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.menu-fcda {
  padding: var(--spacing-xl) 0;
}

.glass_4d39 {
  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);
}

.glass_4d39 h2 {
  margin-bottom: var(--spacing-sm);
}

.glass_4d39 p {
  color: var(--text-secondary);
}

.main_d3f9 {
  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_d3f9 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.main_d3f9 h4 {
  margin-top: var(--spacing-sm);
}

.main_d3f9 p {
  color: var(--text-secondary);
}

.medium_27ff {
  padding: var(--spacing-xl) 0;
}

.aside-325a {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.menu-pink-3eb3 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-pink-3eb3 a {
  color: var(--text-secondary);
}

.menu-pink-3eb3 a:hover {
  color: var(--primary-color);
}

.box-inner-f731 {
  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);
}

.preview_bottom_01a7 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.light-07b8 {
  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);
}

.light-07b8:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.small_8e8a { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.lite-33b5 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 476b */
.ghost-box-r3 {
  padding: 0.5rem;
  font-size: 13px;
  line-height: 1.3;
}
