:root {
  --bg: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --primary: #b91c1c;
  --primary-soft: #fef2f2;
  --radius: 10px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

.page {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: 8px 10px 14px;
}

.hero {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}

.hero-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 8px;
}

.hero-text {
  min-width: 0;
}

.hero h1 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: #111827;
}

.hero p {
  margin: 4px 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.35;
}

.ipch-bolsa-iframe-wrap {
  width: 100%;
  margin: 0;
  padding: 0;
}

#ipch-bolsa-iframe {
  width: 100%;
  min-height: 800px;
  border: 0;
  display: block;
  background: transparent;
}

@media (max-width: 640px) {
  .page {
    padding: 8px 8px 12px;
  }

  #ipch-bolsa-iframe {
    min-height: 640px;
  }
}
