/*
 * Inner pages adapter for index.in_221e design system (styles-new.layout_under_c646)
 * 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(.picture-short-e6f0) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.section-4ac5.iron-7c2d {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.texture_71ee {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.texture_71ee > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.label-old-52b1 {
  flex: 0 0 100%;
  max-width: 100%;
}

.badge-36dc {
  flex: 0 0 100%;
  max-width: 100%;
}

.photo_soft_7b80 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .photo_soft_7b80 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .badge-36dc {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.huge_0f53 { display: flex; }
.slow-4413 { justify-content: space-between; }
.right_7ab5 { align-items: center; }
.iron-7c2d { text-align: center; }

.section-gas-294a { margin-right: 0.5rem; }
.purple-8417 { margin-right: 1rem; }
.box_a047 { margin-top: 1rem; }
.aside-black-0b97 { margin-top: 1.5rem; }
.popup-9de2 { margin-bottom: 1rem; }
.small_a805 { margin-bottom: 1.5rem; }
.dirty_8e0a { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.overlay_huge_2151 { margin-top: 1rem; margin-bottom: 1rem; }
.texture-96f7 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.focus_simple_5551 { max-width: 100%; height: auto; }

/* Links used in old footer */
.iron_9a45 { color: var(--text-primary); }
.summary_old_bd4f { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.notification-749f {
  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 */
.alert-wide-8f5b { /* 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);
}

.alert-wide-8f5b:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.down_c6db {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.down_c6db:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.silver-9e6a {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.slow-02a8 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.slow-02a8::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;
}

.search-wood-9329 {
  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);
}

.search-wood-9329 h1 {
  margin-bottom: var(--spacing-sm);
}

.search-wood-9329 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.column_advanced_ab48 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.lower-0a3c {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.notice-319f {
  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);
}

.label-6229 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.overlay-4a10 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.overlay-4a10 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.icon-wood-9973 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.alert_new_419a {
  padding-bottom: var(--spacing-2xl);
}

.icon-advanced-1d17 {
  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;
}

.new-2750 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.article-9ad0 a {
  color: var(--primary-color);
}

.article-9ad0.fn-active-6000 {
  color: var(--text-secondary);
}

.article-9ad0:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.simple_30ad {
  padding: var(--spacing-xl) 0;
}

.rough_0eed {
  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);
}

.rough_0eed h2 {
  margin-bottom: var(--spacing-sm);
}

.rough_0eed p {
  color: var(--text-secondary);
}

.description_2359 {
  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;
}

.description_2359 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.description_2359 h4 {
  margin-top: var(--spacing-sm);
}

.description_2359 p {
  color: var(--text-secondary);
}

.text-59ef {
  padding: var(--spacing-xl) 0;
}

.item-9c9d {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.alert_brown_a632 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.alert_brown_a632 a {
  color: var(--text-secondary);
}

.alert_brown_a632 a:hover {
  color: var(--primary-color);
}

.yellow-a9e9 {
  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);
}

.grid_5d57 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.last-dce3 {
  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);
}

.last-dce3:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.chip_prev_d2f5 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.block-961f { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 117b */
.widget-item-t6 {
  padding: 0.2rem;
  font-size: 12px;
  line-height: 1.0;
}
