/*
 * Inner pages adapter for index.chip_stone_59b5 design system (styles-new.sidebar_static_102c)
 * 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(.article_large_dcc0) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.gold-2e67.middle_b31f {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.dark-4b74 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.dark-4b74 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.wood-1d47 {
  flex: 0 0 100%;
  max-width: 100%;
}

.pink-3065 {
  flex: 0 0 100%;
  max-width: 100%;
}

.text_9272 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .text_9272 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .pink-3065 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.medium_750d { display: flex; }
.active_9ff0 { justify-content: space-between; }
.article_pressed_dce6 { align-items: center; }
.middle_b31f { text-align: center; }

.motion-b565 { margin-right: 0.5rem; }
.background_720a { margin-right: 1rem; }
.block-clean-bf24 { margin-top: 1rem; }
.thumbnail_1b95 { margin-top: 1.5rem; }
.preview_motion_63cf { margin-bottom: 1rem; }
.item_up_18a3 { margin-bottom: 1.5rem; }
.form-adb5 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.sidebar_lower_c267 { margin-top: 1rem; margin-bottom: 1rem; }
.east_953e { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.white-2102 { max-width: 100%; height: auto; }

/* Links used in old footer */
.message_first_db3b { color: var(--text-primary); }
.full-bffa { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.card-07ed {
  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 */
.caption-f8d7 { /* 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);
}

.caption-f8d7:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.new_a771 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.new_a771:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.label-motion-3b7a {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.complex-0e3f {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.complex-0e3f::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;
}

.bottom-e865 {
  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);
}

.bottom-e865 h1 {
  margin-bottom: var(--spacing-sm);
}

.bottom-e865 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.rough_d8d3 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.gas_a301 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.hero_pressed_e443 {
  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);
}

.backdrop-8b65 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.highlight-b5a9 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.highlight-b5a9 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.carousel-last-55da img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.upper-4118 {
  padding-bottom: var(--spacing-2xl);
}

.focused-8bf5 {
  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;
}

.lite-e41a {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.left-10cc a {
  color: var(--primary-color);
}

.left-10cc.fn-active-d520 {
  color: var(--text-secondary);
}

.left-10cc:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.text_inner_ac3d {
  padding: var(--spacing-xl) 0;
}

.main_629e {
  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);
}

.main_629e h2 {
  margin-bottom: var(--spacing-sm);
}

.main_629e p {
  color: var(--text-secondary);
}

.breadcrumb-slow-1b7e {
  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;
}

.breadcrumb-slow-1b7e h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.breadcrumb-slow-1b7e h4 {
  margin-top: var(--spacing-sm);
}

.breadcrumb-slow-1b7e p {
  color: var(--text-secondary);
}

.shade_0022 {
  padding: var(--spacing-xl) 0;
}

.east_7123 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.orange-a99e {
  list-style: none;
  margin: 0;
  padding: 0;
}

.orange-a99e a {
  color: var(--text-secondary);
}

.orange-a99e a:hover {
  color: var(--primary-color);
}

.north-e6b5 {
  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);
}

.widget_fresh_8bba {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.tertiary_f0a0 {
  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);
}

.tertiary_f0a0:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.icon_fluid_285f { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.element-brown-16a4 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: fb68 */
.widget-item-l3 {
  padding: 0.2rem;
  font-size: 14px;
  line-height: 1.0;
}
