/*
 * Inner pages adapter for index.carousel-orange-21dc design system (styles-new.mask-9ba4)
 * 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(.narrow_854e) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.black-3d1e.picture-26d1 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.widget-cool-5c0a {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.widget-cool-5c0a > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.texture_513e {
  flex: 0 0 100%;
  max-width: 100%;
}

.input_new_a818 {
  flex: 0 0 100%;
  max-width: 100%;
}

.outline_simple_e576 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .outline_simple_e576 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .input_new_a818 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.hovered_6356 { display: flex; }
.tabs_45ef { justify-content: space-between; }
.new-c68d { align-items: center; }
.picture-26d1 { text-align: center; }

.orange_432b { margin-right: 0.5rem; }
.tag_active_9e25 { margin-right: 1rem; }
.summary_purple_600e { margin-top: 1rem; }
.light_c121 { margin-top: 1.5rem; }
.link-active-0f97 { margin-bottom: 1rem; }
.pattern-next-ff38 { margin-bottom: 1.5rem; }
.logo-complex-74f0 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.modal_2275 { margin-top: 1rem; margin-bottom: 1rem; }
.notice-rough-ecb9 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.basic-5023 { max-width: 100%; height: auto; }

/* Links used in old footer */
.focused-322e { color: var(--text-primary); }
.photo_7ff0 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.thumbnail_hard_c4c9 {
  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 */
.active_344e { /* 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);
}

.active_344e:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.description_aa16 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.description_aa16:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.medium-1de6 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.aside_04c7 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.aside_04c7::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;
}

.gas-b113 {
  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);
}

.gas-b113 h1 {
  margin-bottom: var(--spacing-sm);
}

.gas-b113 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.link_medium_0103 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.yellow_5e97 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.up_cf37 {
  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);
}

.menu-f50c {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.heading_static_8c41 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.heading_static_8c41 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.grid-25b3 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.progress-clean-cb69 {
  padding-bottom: var(--spacing-2xl);
}

.progress_rough_570a {
  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;
}

.link-5f59 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.section_382d a {
  color: var(--primary-color);
}

.section_382d.fn-active-c498 {
  color: var(--text-secondary);
}

.section_382d:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.detail_warm_14de {
  padding: var(--spacing-xl) 0;
}

.message_3b8c {
  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);
}

.message_3b8c h2 {
  margin-bottom: var(--spacing-sm);
}

.message_3b8c p {
  color: var(--text-secondary);
}

.search-paper-7696 {
  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;
}

.search-paper-7696 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.search-paper-7696 h4 {
  margin-top: var(--spacing-sm);
}

.search-paper-7696 p {
  color: var(--text-secondary);
}

.frame-dynamic-c54e {
  padding: var(--spacing-xl) 0;
}

.west_36e2 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.lite-60e4 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lite-60e4 a {
  color: var(--text-secondary);
}

.lite-60e4 a:hover {
  color: var(--primary-color);
}

.middle_2017 {
  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);
}

.fixed_dac6 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.overlay_f67c {
  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);
}

.overlay_f67c:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.frame_ee6d { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.basic-376e { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 1487 */
.shadow-element-b8 {
  padding: 0.3rem;
  font-size: 14px;
  line-height: 1.1;
}
