/*
 * Inner pages adapter for index.description-baaf design system (styles-new.sort-stone-7422)
 * 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(.chip_dark_10fa) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.focus_new_a4ce.shadow-3a00 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.dim_f4c6 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.dim_f4c6 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.thumbnail_yellow_3f59 {
  flex: 0 0 100%;
  max-width: 100%;
}

.blue-9c0e {
  flex: 0 0 100%;
  max-width: 100%;
}

.sort-fresh-5f76 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .sort-fresh-5f76 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .blue-9c0e {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.pink-a5bb { display: flex; }
.stone-5529 { justify-content: space-between; }
.filter_eb5e { align-items: center; }
.shadow-3a00 { text-align: center; }

.pro-f6ae { margin-right: 0.5rem; }
.module-prev-c6a9 { margin-right: 1rem; }
.label-glass-e7e6 { margin-top: 1rem; }
.hidden-pink-ac6c { margin-top: 1.5rem; }
.active_6664 { margin-bottom: 1rem; }
.hero_paper_8d41 { margin-bottom: 1.5rem; }
.progress_pressed_c103 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.list-b7d6 { margin-top: 1rem; margin-bottom: 1rem; }
.layout_current_d4fd { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.container_old_40ea { max-width: 100%; height: auto; }

/* Links used in old footer */
.tabs-hard-4821 { color: var(--text-primary); }
.pressed-8096 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.dynamic-8cb9 {
  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 */
.notice_fast_6ed9 { /* 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);
}

.notice_fast_6ed9:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.old-91f9 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.old-91f9:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.soft_dcda {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.pagination_77c0 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.pagination_77c0::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;
}

.hero-fixed-3c93 {
  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);
}

.hero-fixed-3c93 h1 {
  margin-bottom: var(--spacing-sm);
}

.hero-fixed-3c93 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.image_paper_e1af {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.paper_4026 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.main-dee1 {
  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);
}

.grid_mini_ad32 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.hover-4046 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.hover-4046 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.block_fluid_6218 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.huge-fe76 {
  padding-bottom: var(--spacing-2xl);
}

.dropdown-aafa {
  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;
}

.layout_large_e32b {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.blue-d5d9 a {
  color: var(--primary-color);
}

.blue-d5d9.fn-active-6cba {
  color: var(--text-secondary);
}

.blue-d5d9:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.avatar-79f6 {
  padding: var(--spacing-xl) 0;
}

.mask-smooth-ee6d {
  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);
}

.mask-smooth-ee6d h2 {
  margin-bottom: var(--spacing-sm);
}

.mask-smooth-ee6d p {
  color: var(--text-secondary);
}

.medium-5d67 {
  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;
}

.medium-5d67 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.medium-5d67 h4 {
  margin-top: var(--spacing-sm);
}

.medium-5d67 p {
  color: var(--text-secondary);
}

.bottom-18c9 {
  padding: var(--spacing-xl) 0;
}

.nav-b116 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.box_61fa {
  list-style: none;
  margin: 0;
  padding: 0;
}

.box_61fa a {
  color: var(--text-secondary);
}

.box_61fa a:hover {
  color: var(--primary-color);
}

.video_up_1ae0 {
  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);
}

.sidebar-641a {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.gallery-warm-af68 {
  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);
}

.gallery-warm-af68:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.video-dirty-46b7 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.center-b818 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 92d3 */
.phantom-card-f6 {
  padding: 0.3rem;
  font-size: 12px;
  line-height: 1.3;
}
