/*
 * Inner pages adapter for index.layout-4908 design system (styles-new.frame_df53)
 * 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(.short_8374) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.huge-4336.border_hot_2ef0 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.sort-590c {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.sort-590c > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.liquid_cdba {
  flex: 0 0 100%;
  max-width: 100%;
}

.column_wood_163c {
  flex: 0 0 100%;
  max-width: 100%;
}

.photo-6efc {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .photo-6efc {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .column_wood_163c {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.thumbnail_0914 { display: flex; }
.sidebar-4199 { justify-content: space-between; }
.video-advanced-c57b { align-items: center; }
.border_hot_2ef0 { text-align: center; }

.content-left-22e7 { margin-right: 0.5rem; }
.chip-purple-8a1c { margin-right: 1rem; }
.warm-8019 { margin-top: 1rem; }
.caption-lite-0faf { margin-top: 1.5rem; }
.breadcrumb_prev_16a3 { margin-bottom: 1rem; }
.focus-825c { margin-bottom: 1.5rem; }
.notice_over_d573 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.north_671c { margin-top: 1rem; margin-bottom: 1rem; }
.main-fc52 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.section_64f8 { max-width: 100%; height: auto; }

/* Links used in old footer */
.button-soft-e4ed { color: var(--text-primary); }
.tiny_0321 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.wood-aba9 {
  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 */
.basic_7bef { /* 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);
}

.basic_7bef:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.green-3084 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.green-3084:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.pro_9bf6 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.gradient_01c7 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.gradient_01c7::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-gas-d75d {
  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-gas-d75d h1 {
  margin-bottom: var(--spacing-sm);
}

.paragraph-gas-d75d p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.hard_2470 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.article-2974 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.text-89b8 {
  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);
}

.paragraph_brown_f805 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.box-d5b1 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.box-d5b1 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.easy_8cb2 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.current-f931 {
  padding-bottom: var(--spacing-2xl);
}

.link_huge_1cd0 {
  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;
}

.under_3105 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.header-solid-a482 a {
  color: var(--primary-color);
}

.header-solid-a482.fn-active-9238 {
  color: var(--text-secondary);
}

.header-solid-a482:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.hover_new_fbc1 {
  padding: var(--spacing-xl) 0;
}

.section_44ef {
  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);
}

.section_44ef h2 {
  margin-bottom: var(--spacing-sm);
}

.section_44ef p {
  color: var(--text-secondary);
}

.up-5d65 {
  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;
}

.up-5d65 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.up-5d65 h4 {
  margin-top: var(--spacing-sm);
}

.up-5d65 p {
  color: var(--text-secondary);
}

.secondary_5140 {
  padding: var(--spacing-xl) 0;
}

.heading_middle_5640 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.layout_b58d {
  list-style: none;
  margin: 0;
  padding: 0;
}

.layout_b58d a {
  color: var(--text-secondary);
}

.layout_b58d a:hover {
  color: var(--primary-color);
}

.brown_1ae8 {
  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);
}

.middle_69c3 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.nav_e1b9 {
  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);
}

.nav_e1b9:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.grid_2c42 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.filter-over-6a79 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 7e34 */
.widget-item-o2 {
  padding: 0.3rem;
  font-size: 13px;
  line-height: 1.3;
}
