/*
 * Inner pages adapter for index.row-inner-7915 design system (styles-new.article-dim-35b5)
 * 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(.iron-dc93) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.component_f16d.dark_e691 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.label-bfc8 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.label-bfc8 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.panel-first-b265 {
  flex: 0 0 100%;
  max-width: 100%;
}

.mini-6d61 {
  flex: 0 0 100%;
  max-width: 100%;
}

.secondary_1964 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .secondary_1964 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .mini-6d61 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.background-c5d4 { display: flex; }
.bottom_aeb6 { justify-content: space-between; }
.upper_76d2 { align-items: center; }
.dark_e691 { text-align: center; }

.inner_2432 { margin-right: 0.5rem; }
.accordion-9ccc { margin-right: 1rem; }
.search-4a11 { margin-top: 1rem; }
.texture-b6c0 { margin-top: 1.5rem; }
.glass-848a { margin-bottom: 1rem; }
.cold-9e95 { margin-bottom: 1.5rem; }
.grid-hard-d085 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.video_af35 { margin-top: 1rem; margin-bottom: 1rem; }
.search-over-1ee6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.element-up-92cd { max-width: 100%; height: auto; }

/* Links used in old footer */
.texture-prev-49d1 { color: var(--text-primary); }
.texture-new-028e { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.out-e539 {
  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 */
.widget-2963 { /* 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);
}

.widget-2963:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.video_copper_840c {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.video_copper_840c:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.motion-239e {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.pressed_cec4 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.pressed_cec4::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;
}

.media_thick_b51b {
  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);
}

.media_thick_b51b h1 {
  margin-bottom: var(--spacing-sm);
}

.media_thick_b51b p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.accent-selected-a764 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.mini-d06f {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.gradient-selected-05e7 {
  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);
}

.media_0242 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.basic-c43a h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.basic-c43a p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.disabled-slow-5ec0 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.stone_9c5b {
  padding-bottom: var(--spacing-2xl);
}

.heading-cool-bed7 {
  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;
}

.info-c3c3 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.tertiary-e87f a {
  color: var(--primary-color);
}

.tertiary-e87f.fn-active-ed8e {
  color: var(--text-secondary);
}

.tertiary-e87f:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.header-fluid-83be {
  padding: var(--spacing-xl) 0;
}

.border-5121 {
  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);
}

.border-5121 h2 {
  margin-bottom: var(--spacing-sm);
}

.border-5121 p {
  color: var(--text-secondary);
}

.text_cool_937b {
  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;
}

.text_cool_937b h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.text_cool_937b h4 {
  margin-top: var(--spacing-sm);
}

.text_cool_937b p {
  color: var(--text-secondary);
}

.article_dark_5037 {
  padding: var(--spacing-xl) 0;
}

.chip_right_2364 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.status_selected_447a {
  list-style: none;
  margin: 0;
  padding: 0;
}

.status_selected_447a a {
  color: var(--text-secondary);
}

.status_selected_447a a:hover {
  color: var(--primary-color);
}

.fast_8343 {
  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);
}

.mask_0a86 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.picture_short_08b4 {
  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);
}

.picture_short_08b4:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.border_bottom_caae { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.avatar_outer_5301 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 6c63 */
.promo-block-k5 {
  padding: 0.2rem;
  font-size: 14px;
  line-height: 1.2;
}
