/*
 * Inner pages adapter for index.border-rough-b9fb design system (styles-new.description_2ded)
 * 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(.huge_4017) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.card-c0f8.background_6beb {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.footer-2372 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.footer-2372 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.hidden-up-e75e {
  flex: 0 0 100%;
  max-width: 100%;
}

.liquid_48c1 {
  flex: 0 0 100%;
  max-width: 100%;
}

.blue_d8ee {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .blue_d8ee {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .liquid_48c1 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.block_copper_7e88 { display: flex; }
.green_f929 { justify-content: space-between; }
.right_0089 { align-items: center; }
.background_6beb { text-align: center; }

.pink_230d { margin-right: 0.5rem; }
.column_bottom_673b { margin-right: 1rem; }
.west_92e1 { margin-top: 1rem; }
.notice_mini_3a80 { margin-top: 1.5rem; }
.section-blue-b18c { margin-bottom: 1rem; }
.filter-focused-1a06 { margin-bottom: 1.5rem; }
.component-new-779b { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.article-soft-8490 { margin-top: 1rem; margin-bottom: 1rem; }
.thumbnail-small-0fff { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.breadcrumb-1e12 { max-width: 100%; height: auto; }

/* Links used in old footer */
.texture-old-6118 { color: var(--text-primary); }
.frame-de77 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.soft-7e74 {
  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 */
.article-middle-5c62 { /* 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);
}

.article-middle-5c62:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.thick_d42e {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.thick_d42e:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.dark-d19c {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.menu-down-5d1f {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.menu-down-5d1f::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;
}

.bronze-7df6 {
  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);
}

.bronze-7df6 h1 {
  margin-bottom: var(--spacing-sm);
}

.bronze-7df6 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.pagination_paper_2b11 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.hard_c1ba {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.accordion-3f4d {
  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);
}

.sidebar-25d1 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.picture-db66 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.picture-db66 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.carousel-east-1d58 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.label_9b31 {
  padding-bottom: var(--spacing-2xl);
}

.carousel_85c6 {
  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;
}

.accent-d838 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.caption-3b0e a {
  color: var(--primary-color);
}

.caption-3b0e.fn-active-9dee {
  color: var(--text-secondary);
}

.caption-3b0e:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.rough_205e {
  padding: var(--spacing-xl) 0;
}

.video-efdc {
  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);
}

.video-efdc h2 {
  margin-bottom: var(--spacing-sm);
}

.video-efdc p {
  color: var(--text-secondary);
}

.disabled-slow-2391 {
  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;
}

.disabled-slow-2391 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.disabled-slow-2391 h4 {
  margin-top: var(--spacing-sm);
}

.disabled-slow-2391 p {
  color: var(--text-secondary);
}

.item-a65b {
  padding: var(--spacing-xl) 0;
}

.status-5d46 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.button_accb {
  list-style: none;
  margin: 0;
  padding: 0;
}

.button_accb a {
  color: var(--text-secondary);
}

.button_accb a:hover {
  color: var(--primary-color);
}

.media_rough_2d02 {
  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);
}

.list_silver_878f {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.highlight-simple-1072 {
  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);
}

.highlight-simple-1072:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.simple_ed19 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.yellow-b69d { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 8d32 */
.widget-item-i8 {
  padding: 0.4rem;
  font-size: 12px;
  line-height: 1.2;
}
