/*
 * Inner pages adapter for index.paragraph_dfdf design system (styles-new.border-smooth-b988)
 * 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(.soft-f9cd) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.first-db2d.table_basic_fc19 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.accent_over_2457 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.accent_over_2457 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.mini-5a0d {
  flex: 0 0 100%;
  max-width: 100%;
}

.gas_71be {
  flex: 0 0 100%;
  max-width: 100%;
}

.item_pressed_14bf {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .item_pressed_14bf {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .gas_71be {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.tag_dark_553b { display: flex; }
.middle-a8db { justify-content: space-between; }
.middle_536c { align-items: center; }
.table_basic_fc19 { text-align: center; }

.table_tall_90ca { margin-right: 0.5rem; }
.form_stale_5a38 { margin-right: 1rem; }
.bronze_fd90 { margin-top: 1rem; }
.section_active_661d { margin-top: 1.5rem; }
.article_21e3 { margin-bottom: 1rem; }
.layout-smooth-5849 { margin-bottom: 1.5rem; }
.button_89b1 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.section-hovered-0273 { margin-top: 1rem; margin-bottom: 1rem; }
.notification-blue-5d13 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.wide-813f { max-width: 100%; height: auto; }

/* Links used in old footer */
.hot_c0f8 { color: var(--text-primary); }
.popup_dynamic_0b82 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.pagination-green-8d95 {
  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 */
.summary-7b37 { /* 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);
}

.summary-7b37:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.focus_orange_8250 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.focus_orange_8250:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.fixed-5ef8 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.sidebar_bc89 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.sidebar_bc89::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;
}

.disabled_0067 {
  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);
}

.disabled_0067 h1 {
  margin-bottom: var(--spacing-sm);
}

.disabled_0067 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.carousel-f483 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.accordion-hovered-4f9e {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.icon-fd82 {
  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);
}

.image-0e0e {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.outer_8dfa h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.outer_8dfa p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.focus_bb53 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.message-8c3a {
  padding-bottom: var(--spacing-2xl);
}

.notice_2b7d {
  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;
}

.gallery-fluid-ce73 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.alert-soft-d328 a {
  color: var(--primary-color);
}

.alert-soft-d328.fn-active-ba24 {
  color: var(--text-secondary);
}

.alert-soft-d328:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.slider_clean_42b0 {
  padding: var(--spacing-xl) 0;
}

.header_2480 {
  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);
}

.header_2480 h2 {
  margin-bottom: var(--spacing-sm);
}

.header_2480 p {
  color: var(--text-secondary);
}

.overlay_41f6 {
  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;
}

.overlay_41f6 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.overlay_41f6 h4 {
  margin-top: var(--spacing-sm);
}

.overlay_41f6 p {
  color: var(--text-secondary);
}

.caption-current-353e {
  padding: var(--spacing-xl) 0;
}

.out_4fb1 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.sidebar-f0d3 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-f0d3 a {
  color: var(--text-secondary);
}

.sidebar-f0d3 a:hover {
  color: var(--primary-color);
}

.down-3f1a {
  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);
}

.notice_2e67 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.under-5b45 {
  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);
}

.under-5b45:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.hidden_under_a7a6 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.steel_fe23 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 5fc3 */
.shadow-element-t4 {
  padding: 0.4rem;
  font-size: 10px;
  line-height: 1.1;
}
