/*
 * Inner pages adapter for index.overlay-1ded design system (styles-new.tertiary_dynamic_7169)
 * 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(.tiny_3c35) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.shadow-9d6f.container-158f {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.gallery_e51f {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.gallery_e51f > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.yellow-481d {
  flex: 0 0 100%;
  max-width: 100%;
}

.header_8945 {
  flex: 0 0 100%;
  max-width: 100%;
}

.banner-light-f607 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .banner-light-f607 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .header_8945 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.pattern-d8b3 { display: flex; }
.tabs_0eab { justify-content: space-between; }
.popup_wood_e11a { align-items: center; }
.container-158f { text-align: center; }

.video-huge-ee4a { margin-right: 0.5rem; }
.mask_e168 { margin-right: 1rem; }
.feature-steel-8ea4 { margin-top: 1rem; }
.card_4ba6 { margin-top: 1.5rem; }
.overlay-18a5 { margin-bottom: 1rem; }
.focus_cool_2cbd { margin-bottom: 1.5rem; }
.motion_744b { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.title_pink_707a { margin-top: 1rem; margin-bottom: 1rem; }
.status-263e { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.card-03b3 { max-width: 100%; height: auto; }

/* Links used in old footer */
.overlay-tiny-d137 { color: var(--text-primary); }
.table-bf4d { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.carousel-aeb2 {
  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 */
.component_smooth_b885 { /* 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);
}

.component_smooth_b885:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.liquid_b146 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.liquid_b146:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.grid_240c {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.pattern_a69e {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.pattern_a69e::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;
}

.text-glass-916d {
  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);
}

.text-glass-916d h1 {
  margin-bottom: var(--spacing-sm);
}

.text-glass-916d p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.pagination_last_dd68 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.tall_3a94 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.iron_1d8c {
  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);
}

.yellow_3545 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.east_9490 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.east_9490 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.texture_0fdb img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.selected-e59b {
  padding-bottom: var(--spacing-2xl);
}

.lower-e141 {
  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;
}

.new_d95b {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.dim-aa13 a {
  color: var(--primary-color);
}

.dim-aa13.fn-active-55cd {
  color: var(--text-secondary);
}

.dim-aa13:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.pattern_in_226f {
  padding: var(--spacing-xl) 0;
}

.smooth-1816 {
  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);
}

.smooth-1816 h2 {
  margin-bottom: var(--spacing-sm);
}

.smooth-1816 p {
  color: var(--text-secondary);
}

.feature_ffa4 {
  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;
}

.feature_ffa4 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.feature_ffa4 h4 {
  margin-top: var(--spacing-sm);
}

.feature_ffa4 p {
  color: var(--text-secondary);
}

.section_3bc5 {
  padding: var(--spacing-xl) 0;
}

.paragraph_31ff {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.card-tiny-b9f3 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.card-tiny-b9f3 a {
  color: var(--text-secondary);
}

.card-tiny-b9f3 a:hover {
  color: var(--primary-color);
}

.solid_b5db {
  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);
}

.description-8a7f {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.tabs_c8f4 {
  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);
}

.tabs_c8f4:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.secondary-5f84 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.background_d53e { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: a729 */
.promo-block-u7 {
  padding: 0.2rem;
  font-size: 12px;
  line-height: 1.3;
}
