/*
 * Inner pages adapter for index.image_049b design system (styles-new.breadcrumb_red_d48a)
 * 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(.fresh-82aa) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.highlight_complex_9ede.summary_paper_13fe {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.article_6cef {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.article_6cef > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.fresh-0713 {
  flex: 0 0 100%;
  max-width: 100%;
}

.input-17ca {
  flex: 0 0 100%;
  max-width: 100%;
}

.texture_yellow_d488 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .texture_yellow_d488 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .input-17ca {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.main_fluid_2b60 { display: flex; }
.box_73fc { justify-content: space-between; }
.surface-rough-6510 { align-items: center; }
.summary_paper_13fe { text-align: center; }

.accent-34e9 { margin-right: 0.5rem; }
.simple_c603 { margin-right: 1rem; }
.mini_50eb { margin-top: 1rem; }
.article-68c7 { margin-top: 1.5rem; }
.item_ea01 { margin-bottom: 1rem; }
.narrow-ea4c { margin-bottom: 1.5rem; }
.easy-7d85 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.pressed-f867 { margin-top: 1rem; margin-bottom: 1rem; }
.text-plasma-4a9a { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.box_hot_a804 { max-width: 100%; height: auto; }

/* Links used in old footer */
.badge-right-99bb { color: var(--text-primary); }
.clean_4670 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.huge_53b5 {
  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 */
.down_87b4 { /* 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);
}

.down_87b4:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.content_ba5c {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.content_ba5c:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.active-5984 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.picture-small-c635 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.picture-small-c635::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;
}

.menu-tiny-56db {
  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);
}

.menu-tiny-56db h1 {
  margin-bottom: var(--spacing-sm);
}

.menu-tiny-56db p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.gradient_full_6d71 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.light-2a2d {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.gold_6a15 {
  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);
}

.image_narrow_8a54 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.media-8f75 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.media-8f75 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.full_53a9 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.avatar_wide_5396 {
  padding-bottom: var(--spacing-2xl);
}

.video-e214 {
  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;
}

.hover_copper_7fb7 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.wood_e24f a {
  color: var(--primary-color);
}

.wood_e24f.fn-active-1ecf {
  color: var(--text-secondary);
}

.wood_e24f:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.stale_ca69 {
  padding: var(--spacing-xl) 0;
}

.info-51e0 {
  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);
}

.info-51e0 h2 {
  margin-bottom: var(--spacing-sm);
}

.info-51e0 p {
  color: var(--text-secondary);
}

.center-2dea {
  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;
}

.center-2dea h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.center-2dea h4 {
  margin-top: var(--spacing-sm);
}

.center-2dea p {
  color: var(--text-secondary);
}

.dynamic_f086 {
  padding: var(--spacing-xl) 0;
}

.main_pink_3a73 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.fresh_4707 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fresh_4707 a {
  color: var(--text-secondary);
}

.fresh_4707 a:hover {
  color: var(--primary-color);
}

.pattern_purple_288c {
  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);
}

.purple-031b {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.detail_1a40 {
  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);
}

.detail_1a40:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.module-small-f205 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.media-bcaa { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: c8d7 */
.promo-block-m4 {
  padding: 0.3rem;
  font-size: 13px;
  line-height: 1.1;
}
