/*
 * Inner pages adapter for index.mask_b1a7 design system (styles-new.photo-fe01)
 * 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(.main-wood-5549) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.backdrop_fresh_2442.disabled_hard_797f {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.thumbnail-left-b4a6 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.thumbnail-left-b4a6 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.label-down-0a6f {
  flex: 0 0 100%;
  max-width: 100%;
}

.chip_120c {
  flex: 0 0 100%;
  max-width: 100%;
}

.current-dd18 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .current-dd18 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .chip_120c {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.tag-25ff { display: flex; }
.menu-d12b { justify-content: space-between; }
.progress_small_7bf5 { align-items: center; }
.disabled_hard_797f { text-align: center; }

.container_pink_5b16 { margin-right: 0.5rem; }
.cold_bf39 { margin-right: 1rem; }
.hard_4d81 { margin-top: 1rem; }
.text-41f9 { margin-top: 1.5rem; }
.mask_8e45 { margin-bottom: 1rem; }
.logo_647a { margin-bottom: 1.5rem; }
.tabs_38a2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.tag-bright-54f3 { margin-top: 1rem; margin-bottom: 1rem; }
.module_bc21 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.badge-ef9e { max-width: 100%; height: auto; }

/* Links used in old footer */
.footer_fluid_d8b8 { color: var(--text-primary); }
.shadow_white_249c { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.down_86e0 {
  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 */
.icon-c07e { /* 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);
}

.icon-c07e:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.cold-d792 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.cold-d792:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.module_3a7c {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.overlay-wide-ec74 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.overlay-wide-ec74::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;
}

.menu_5ce9 {
  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);
}

.menu_5ce9 h1 {
  margin-bottom: var(--spacing-sm);
}

.menu_5ce9 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.hero-1a87 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.paragraph_ea7a {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.icon-7a00 {
  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);
}

.pattern-021c {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.feature-0722 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.feature-0722 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.pagination-upper-60ea img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.text-79d1 {
  padding-bottom: var(--spacing-2xl);
}

.article-west-4fe6 {
  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;
}

.outline_458b {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.thick-d561 a {
  color: var(--primary-color);
}

.thick-d561.fn-active-18cc {
  color: var(--text-secondary);
}

.thick-d561:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.short_12c3 {
  padding: var(--spacing-xl) 0;
}

.focus-liquid-d8f9 {
  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);
}

.focus-liquid-d8f9 h2 {
  margin-bottom: var(--spacing-sm);
}

.focus-liquid-d8f9 p {
  color: var(--text-secondary);
}

.detail-dynamic-9e9e {
  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;
}

.detail-dynamic-9e9e h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.detail-dynamic-9e9e h4 {
  margin-top: var(--spacing-sm);
}

.detail-dynamic-9e9e p {
  color: var(--text-secondary);
}

.silver-e92d {
  padding: var(--spacing-xl) 0;
}

.middle-461a {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.plasma_1dab {
  list-style: none;
  margin: 0;
  padding: 0;
}

.plasma_1dab a {
  color: var(--text-secondary);
}

.plasma_1dab a:hover {
  color: var(--primary-color);
}

.modal-tiny-c415 {
  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);
}

.video_eae6 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.hard-caae {
  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);
}

.hard-caae:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.dropdown_down_bf4b { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.icon-5866 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 9b7f */
.widget-item-a2 {
  padding: 0.4rem;
  font-size: 12px;
  line-height: 1.3;
}
