/*
 * Inner pages adapter for index.outline_29c0 design system (styles-new.notification-dim-2afa)
 * 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(.upper_a420) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.chip-b485.list-0d1a {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.under_6c04 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.under_6c04 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.south_c0e6 {
  flex: 0 0 100%;
  max-width: 100%;
}

.sort-23b1 {
  flex: 0 0 100%;
  max-width: 100%;
}

.in_d68a {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .in_d68a {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .sort-23b1 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.orange-905a { display: flex; }
.nav-complex-9c00 { justify-content: space-between; }
.tag_in_5fbf { align-items: center; }
.list-0d1a { text-align: center; }

.first_797e { margin-right: 0.5rem; }
.disabled-7895 { margin-right: 1rem; }
.popup-d46f { margin-top: 1rem; }
.feature_orange_e6dd { margin-top: 1.5rem; }
.texture_c672 { margin-bottom: 1rem; }
.text_9427 { margin-bottom: 1.5rem; }
.hard-dd96 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.description-selected-1518 { margin-top: 1rem; margin-bottom: 1rem; }
.advanced-219e { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.thumbnail_orange_691e { max-width: 100%; height: auto; }

/* Links used in old footer */
.icon_3bde { color: var(--text-primary); }
.banner_985c { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.button-cold-a1e3 {
  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 */
.panel-fbe4 { /* 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);
}

.panel-fbe4:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.stone_b22d {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.stone_b22d:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.highlight-7a07 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.purple_c6d0 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.purple_c6d0::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;
}

.badge-d96b {
  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);
}

.badge-d96b h1 {
  margin-bottom: var(--spacing-sm);
}

.badge-d96b p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.stale-171d {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.pattern_dynamic_ac99 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.glass-7713 {
  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);
}

.box_8e7d {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.badge-narrow-1deb h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.badge-narrow-1deb p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.hot-3356 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.title_08d7 {
  padding-bottom: var(--spacing-2xl);
}

.tabs-motion-2934 {
  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;
}

.black_1e52 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.photo_0be2 a {
  color: var(--primary-color);
}

.photo_0be2.fn-active-ebdd {
  color: var(--text-secondary);
}

.photo_0be2:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.carousel_34d2 {
  padding: var(--spacing-xl) 0;
}

.blue-c84f {
  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);
}

.blue-c84f h2 {
  margin-bottom: var(--spacing-sm);
}

.blue-c84f p {
  color: var(--text-secondary);
}

.hover-127d {
  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;
}

.hover-127d h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.hover-127d h4 {
  margin-top: var(--spacing-sm);
}

.hover-127d p {
  color: var(--text-secondary);
}

.advanced-3aec {
  padding: var(--spacing-xl) 0;
}

.disabled-middle-7bd6 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.west-0059 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.west-0059 a {
  color: var(--text-secondary);
}

.west-0059 a:hover {
  color: var(--primary-color);
}

.tag-0db4 {
  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);
}

.pattern_bronze_a6b3 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.surface_advanced_aa75 {
  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);
}

.surface_advanced_aa75:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.down_bbbc { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.element-hot-5705 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 80f7 */
.widget-item-h4 {
  padding: 0.1rem;
  font-size: 13px;
  line-height: 1.3;
}
