/*
 * Inner pages adapter for index.module-huge-013c design system (styles-new.tertiary_advanced_d30c)
 * 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_c857) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.detail-eac1.info-2a4f {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.yellow-529d {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.yellow-529d > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.form_1b06 {
  flex: 0 0 100%;
  max-width: 100%;
}

.fast-1e11 {
  flex: 0 0 100%;
  max-width: 100%;
}

.tooltip_2309 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .tooltip_2309 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .fast-1e11 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.main-83f8 { display: flex; }
.status_6b36 { justify-content: space-between; }
.carousel-static-28f1 { align-items: center; }
.info-2a4f { text-align: center; }

.bronze_0636 { margin-right: 0.5rem; }
.out_a343 { margin-right: 1rem; }
.liquid_5a76 { margin-top: 1rem; }
.fresh_72c1 { margin-top: 1.5rem; }
.tall-9b82 { margin-bottom: 1rem; }
.over-2152 { margin-bottom: 1.5rem; }
.shadow_96bb { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.widget-glass-bbcf { margin-top: 1rem; margin-bottom: 1rem; }
.lite-6ca6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.progress-814e { max-width: 100%; height: auto; }

/* Links used in old footer */
.footer-49b9 { color: var(--text-primary); }
.list-cool-69c2 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.card-3242 {
  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 */
.brown_2773 { /* 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);
}

.brown_2773:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.hero_3f7a {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.hero_3f7a:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.filter_f240 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.panel_b5a4 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.panel_b5a4::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;
}

.full-3ed8 {
  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);
}

.full-3ed8 h1 {
  margin-bottom: var(--spacing-sm);
}

.full-3ed8 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.info-0b48 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.title-outer-32a9 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.red_efed {
  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);
}

.warm_c86d {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.solid_95b8 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.solid_95b8 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.content_warm_ae51 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.item_fresh_515b {
  padding-bottom: var(--spacing-2xl);
}

.secondary-308c {
  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;
}

.article_22aa {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.accent_fdbf a {
  color: var(--primary-color);
}

.accent_fdbf.fn-active-9c18 {
  color: var(--text-secondary);
}

.accent_fdbf:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.overlay-6dfc {
  padding: var(--spacing-xl) 0;
}

.input_3afd {
  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);
}

.input_3afd h2 {
  margin-bottom: var(--spacing-sm);
}

.input_3afd p {
  color: var(--text-secondary);
}

.sidebar-tall-328a {
  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;
}

.sidebar-tall-328a h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.sidebar-tall-328a h4 {
  margin-top: var(--spacing-sm);
}

.sidebar-tall-328a p {
  color: var(--text-secondary);
}

.item-white-949c {
  padding: var(--spacing-xl) 0;
}

.dirty_4299 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.white_0d23 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.white_0d23 a {
  color: var(--text-secondary);
}

.white_0d23 a:hover {
  color: var(--primary-color);
}

.background_298d {
  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_54b4 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.slow-018d {
  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);
}

.slow-018d:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.last-7f9a { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.small_199c { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 405b */
.ghost-box-i9 {
  padding: 0.3rem;
  font-size: 11px;
  line-height: 1.1;
}
