/*
 * Inner pages adapter for index.caption-264f design system (styles-new.active-easy-d5f7)
 * 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(.mask_lite_cffe) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.card_a69c.paragraph_014a {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.content_west_5e76 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.content_west_5e76 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.fast-c0e2 {
  flex: 0 0 100%;
  max-width: 100%;
}

.accent-last-2f3a {
  flex: 0 0 100%;
  max-width: 100%;
}

.grid_1eaa {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .grid_1eaa {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .accent-last-2f3a {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.shadow_orange_aaad { display: flex; }
.logo_df3b { justify-content: space-between; }
.solid-8d24 { align-items: center; }
.paragraph_014a { text-align: center; }

.tall-3aad { margin-right: 0.5rem; }
.focused-b294 { margin-right: 1rem; }
.narrow-7b8a { margin-top: 1rem; }
.shadow_55ba { margin-top: 1.5rem; }
.clean_4f47 { margin-bottom: 1rem; }
.row-d449 { margin-bottom: 1.5rem; }
.row-ec5f { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.smooth_1b11 { margin-top: 1rem; margin-bottom: 1rem; }
.module-d7fc { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.layout_d7c7 { max-width: 100%; height: auto; }

/* Links used in old footer */
.button-active-baf4 { color: var(--text-primary); }
.widget_rough_597f { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.soft-0d1d {
  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 */
.tag_158b { /* 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);
}

.tag_158b:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.brown_d0bc {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.brown_d0bc:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.content-slow-4d48 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.sort-a024 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.sort-a024::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;
}

.header-0709 {
  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);
}

.header-0709 h1 {
  margin-bottom: var(--spacing-sm);
}

.header-0709 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.texture_919d {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.label_hovered_ff6f {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.outline-dim-8494 {
  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);
}

.slow-ff4c {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.slider-short-bfb9 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.slider-short-bfb9 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.sort-0d50 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.light-f9e3 {
  padding-bottom: var(--spacing-2xl);
}

.solid_99f9 {
  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;
}

.east_a013 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.hard-84aa a {
  color: var(--primary-color);
}

.hard-84aa.fn-active-bc61 {
  color: var(--text-secondary);
}

.hard-84aa:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.row_d8ac {
  padding: var(--spacing-xl) 0;
}

.thumbnail-active-9f9b {
  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);
}

.thumbnail-active-9f9b h2 {
  margin-bottom: var(--spacing-sm);
}

.thumbnail-active-9f9b p {
  color: var(--text-secondary);
}

.container_static_e53a {
  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;
}

.container_static_e53a h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.container_static_e53a h4 {
  margin-top: var(--spacing-sm);
}

.container_static_e53a p {
  color: var(--text-secondary);
}

.filter-dim-77c8 {
  padding: var(--spacing-xl) 0;
}

.medium-a676 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.list-active-49f3 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-active-49f3 a {
  color: var(--text-secondary);
}

.list-active-49f3 a:hover {
  color: var(--primary-color);
}

.hero-5401 {
  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);
}

.detail-3199 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.row_light_d971 {
  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);
}

.row_light_d971:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.north-360c { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.section_2970 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 21b1 */
.shadow-element-g1 {
  padding: 0.2rem;
  font-size: 11px;
  line-height: 1.3;
}
