/*
Theme Name: Beta Capital
Theme URI: https://betacapital.cl
Author: Beta Capital
Description: Tema barebone sin diseño: imprime la navbar y el footer (patrones sincronizados «BC - Navbar» y «BC - Footer») y el contenido. El diseño vive en los snippets BC (tokens, fuentes y shell).
Version: 0.1.0
Requires at least: 6.3
Requires PHP: 7.4
License: Proprietary
Text Domain: betacapital
*/

/* Solo páginas internas (entradas, páginas sin secciones propias, archivos y 404).
   La portada y las páginas hechas con secciones `.bc-` no usan estas reglas.
   Consume los tokens de «BC - Core Global CSS» (docs/tokens.md); el valor de respaldo de cada var() permite que el tema funcione sin ellos. */
.bc-main:focus { outline: none; }
.bc-page { padding: clamp(32px, 6vh, 72px) 0 clamp(64px, 10vh, 120px); }
.bc-page-container { width: min(var(--bc-container, 1220px), 100% - 2 * var(--bc-gutter, 24px)); margin: 0 auto; }
.bc-page__title { font-family: var(--bc-font-display, "Inter", system-ui, sans-serif); font-weight: 700; font-size: var(--bc-fs-h1, clamp(2rem, 1rem + 1.875vw, 3.25rem)); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 clamp(24px, 4vh, 48px); text-wrap: balance; }
.bc-page__meta { font-family: var(--bc-font-ui, "Inter", system-ui, sans-serif); font-size: var(--bc-fs-small, .875rem); color: var(--bc-ink-light-2, #3F546C); margin: -16px 0 32px; }
.bc-page__content { max-width: 72ch; font-size: var(--bc-fs-lead, 1.0625rem); line-height: 1.7; }
.bc-page__content > * + * { margin-top: 1.1em; }
.bc-page__content h2, .bc-page__content h3 { font-family: var(--bc-font-display, "Inter", system-ui, sans-serif); line-height: 1.12; margin-top: 1.8em; }
.bc-page__content a { color: var(--bc-navy, #112A46); text-underline-offset: .15em; }
.bc-page__content img, .bc-page__content video, .bc-page__content iframe { max-width: 100%; height: auto; }
.bc-page__list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(20px, 3vh, 32px); max-width: 72ch; }
.bc-page__item h2 { font-family: var(--bc-font-display, "Inter", system-ui, sans-serif); font-size: var(--bc-fs-h3, 1.25rem); line-height: 1.2; margin: 0 0 8px; }
.bc-page__item h2 a { color: inherit; text-decoration: none; }
.bc-page__item h2 a:hover, .bc-page__item h2 a:focus-visible { text-decoration: underline; }
.bc-page__item p { margin: 0; color: var(--bc-ink-light-2, #3F546C); }
.bc-page__nav { margin-top: 48px; font-family: var(--bc-font-ui, "Inter", system-ui, sans-serif); }
.bc-page__nav .nav-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
