/*
 * Inner pages adapter for index.frame-fbd5 design system (styles-new.item_20e8)
 * 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(.title_short_6b9d) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.link-next-299e.title_simple_eca7 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.hovered_2ee1 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.hovered_2ee1 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.frame-0780 {
  flex: 0 0 100%;
  max-width: 100%;
}

.picture-2ac2 {
  flex: 0 0 100%;
  max-width: 100%;
}

.overlay-e6bb {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .overlay-e6bb {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .picture-2ac2 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.icon_c7f6 { display: flex; }
.last_312f { justify-content: space-between; }
.detail-bronze-6350 { align-items: center; }
.title_simple_eca7 { text-align: center; }

.status-upper-1c40 { margin-right: 0.5rem; }
.detail-upper-6f60 { margin-right: 1rem; }
.photo-full-d81e { margin-top: 1rem; }
.panel-up-11eb { margin-top: 1.5rem; }
.filter_pressed_5830 { margin-bottom: 1rem; }
.section-5f10 { margin-bottom: 1.5rem; }
.selected_9dc1 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.red_f5a9 { margin-top: 1rem; margin-bottom: 1rem; }
.first_105c { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.tertiary_bf3d { max-width: 100%; height: auto; }

/* Links used in old footer */
.pattern_fluid_676e { color: var(--text-primary); }
.tall-6b30 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.box_f581 {
  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 */
.mini_c2ca { /* 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);
}

.mini_c2ca:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.soft-4e63 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.soft-4e63:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.feature-8218 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.paragraph_focused_52e7 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.paragraph_focused_52e7::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;
}

.medium_c681 {
  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);
}

.medium_c681 h1 {
  margin-bottom: var(--spacing-sm);
}

.medium_c681 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.blue-062e {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.breadcrumb_orange_9e89 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.status_5241 {
  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);
}

.in-9cf3 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.outer-3ad2 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.outer-3ad2 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.disabled_silver_5a20 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.video-light-7c54 {
  padding-bottom: var(--spacing-2xl);
}

.pattern-4eaa {
  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;
}

.silver-4b42 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.tooltip_upper_1bdf a {
  color: var(--primary-color);
}

.tooltip_upper_1bdf.fn-active-67df {
  color: var(--text-secondary);
}

.tooltip_upper_1bdf:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.texture-over-0290 {
  padding: var(--spacing-xl) 0;
}

.left_653c {
  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);
}

.left_653c h2 {
  margin-bottom: var(--spacing-sm);
}

.left_653c p {
  color: var(--text-secondary);
}

.article_first_2877 {
  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;
}

.article_first_2877 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.article_first_2877 h4 {
  margin-top: var(--spacing-sm);
}

.article_first_2877 p {
  color: var(--text-secondary);
}

.title_current_20f3 {
  padding: var(--spacing-xl) 0;
}

.modal-770d {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.texture-center-4800 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.texture-center-4800 a {
  color: var(--text-secondary);
}

.texture-center-4800 a:hover {
  color: var(--primary-color);
}

.list_1ee4 {
  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);
}

.thumbnail-c3ff {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.green_8caf {
  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);
}

.green_8caf:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.narrow-c60e { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tooltip_b189 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 0bf0 */
.promo-block-e3 {
  padding: 0.2rem;
  font-size: 10px;
  line-height: 1.1;
}
