/*
 * Inner pages adapter for index.tag_first_d27e design system (styles-new.focused_46f3)
 * 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(.pattern_f379) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.tertiary_dim_9976.sort-rough-e9b5 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.text-green-a4d1 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.text-green-a4d1 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.hidden-2ac6 {
  flex: 0 0 100%;
  max-width: 100%;
}

.hovered_5e81 {
  flex: 0 0 100%;
  max-width: 100%;
}

.highlight-e139 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .highlight-e139 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .hovered_5e81 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.avatar_082b { display: flex; }
.video_prev_86c3 { justify-content: space-between; }
.dim-4092 { align-items: center; }
.sort-rough-e9b5 { text-align: center; }

.hidden-left-ee47 { margin-right: 0.5rem; }
.frame-fluid-5fbb { margin-right: 1rem; }
.huge-387e { margin-top: 1rem; }
.card-new-f782 { margin-top: 1.5rem; }
.first_723b { margin-bottom: 1rem; }
.light_018a { margin-bottom: 1.5rem; }
.shade-d8ca { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.card-c869 { margin-top: 1rem; margin-bottom: 1rem; }
.pattern-7a5b { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.pink_9302 { max-width: 100%; height: auto; }

/* Links used in old footer */
.east-9926 { color: var(--text-primary); }
.sort-2681 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.image-8b9b {
  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 */
.card_0fb2 { /* 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);
}

.card_0fb2:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.hover-0577 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.hover-0577:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.detail-71cb {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.info-steel-ae78 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.info-steel-ae78::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;
}

.paragraph-west-885f {
  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);
}

.paragraph-west-885f h1 {
  margin-bottom: var(--spacing-sm);
}

.paragraph-west-885f p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.message_bronze_c216 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.short-3449 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.header-d270 {
  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);
}

.black_3f7e {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.purple_2964 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.purple_2964 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.under_cc18 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.element-7ff1 {
  padding-bottom: var(--spacing-2xl);
}

.filter_current_1233 {
  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;
}

.dim_a1fd {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.gradient_black_539d a {
  color: var(--primary-color);
}

.gradient_black_539d.fn-active-4868 {
  color: var(--text-secondary);
}

.gradient_black_539d:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.full_0678 {
  padding: var(--spacing-xl) 0;
}

.hidden_first_0606 {
  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);
}

.hidden_first_0606 h2 {
  margin-bottom: var(--spacing-sm);
}

.hidden_first_0606 p {
  color: var(--text-secondary);
}

.component-current-c677 {
  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;
}

.component-current-c677 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.component-current-c677 h4 {
  margin-top: var(--spacing-sm);
}

.component-current-c677 p {
  color: var(--text-secondary);
}

.main_clean_984d {
  padding: var(--spacing-xl) 0;
}

.small-7169 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.tertiary_last_593c {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tertiary_last_593c a {
  color: var(--text-secondary);
}

.tertiary_last_593c a:hover {
  color: var(--primary-color);
}

.chip-8e82 {
  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);
}

.summary_8c09 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.gradient_b704 {
  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);
}

.gradient_b704:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.info_bbac { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.chip_north_c056 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 2a0a */
.promo-block-t2 {
  padding: 0.1rem;
  font-size: 10px;
  line-height: 1.1;
}
