/* Bolt Editorial Finance — frontend */
:root {
	--be-primary: #4563ea;
	--be-primary-dark: #3049c9;
	--be-ink: #18202f;
	--be-muted: #657083;
	--be-line: #e5e9f0;
	--be-soft: #f4f6fb;
	--be-lime: #dff46a;
	--be-peach: #ffd3b7;
	--be-white: #fff;
	--be-page-bg: #f5eff7;
	--be-radius-sm: 12px;
	--be-radius: 20px;
	--be-radius-lg: 32px;
	--be-shadow: 0 18px 55px rgba(24, 32, 47, .09);
	--be-container: 1180px;
}

.be-site,
.be-site button,
.be-site input,
.be-site textarea,
.be-site select {
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.be-site { margin: 0; color: var(--be-ink); background: var(--be-white); }
.be-site * { box-sizing: border-box; }
.be-site img { max-width: 100%; height: auto; }
.be-site a { color: inherit; text-decoration: none; }
.be-site h1, .be-site h2, .be-site h3, .be-site p { margin-top: 0; }
.be-site h1, .be-site h2, .be-site h3 { letter-spacing: -.035em; }

.be-container { width: min(calc(100% - 40px), var(--be-container)); margin-inline: auto; }
.be-container--narrow { width: min(calc(100% - 40px), 850px); }
.be-main { min-height: 60vh; }
.be-section { padding: 82px 0; }

.be-skip-link {
	position: fixed; left: 20px; top: -100px; z-index: 99999;
	background: var(--be-ink); color: #fff; padding: 12px 18px; border-radius: 8px;
}
.be-skip-link:focus { top: 20px; }

/* Header: marca a la izquierda y navegación en una sola fila. */
.be-header {
	position: relative; z-index: 1000; background: #fff; color: #202020;
	border-bottom: 1px solid #f1f1f1; font-family: Arial, sans-serif;
}
.be-site #site-header.be-header { position: relative; inset: auto; display: block; height: auto; min-height: 0; margin: 0; padding: 0; }
.be-footer__inner { width: min(calc(100% - 48px), 1464px); }
.be-header__inner { width: min(calc(100% - 48px), 1320px); min-height: 63px; padding: 0; display: flex; align-items: center; gap: 38px; }
.be-brand { flex: 0 1 auto; min-width: 0; max-width: 240px; margin-right: auto; line-height: 1; }
.be-brand__text { display: block; font-size: 40px; font-weight: 800; letter-spacing: -.065em; overflow-wrap: anywhere; }
.be-brand .custom-logo-link { display: block; margin: 0; padding: 0; line-height: 0; }
.be-brand .custom-logo { display: block; width: 180px; height: auto; max-width: 100%; max-height: 44px; margin: 0; padding: 0; object-fit: contain; object-position: left center; }
.be-nav { display: block; flex: 0 1 auto; min-width: 0; }
.be-nav__list, .be-nav__list ul { list-style: none; padding: 0; margin: 0; }
.be-nav__list { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px 48px; }
.be-nav__list > li { position: relative; margin: 0; padding: 0; }
.be-nav__list a { display: block; padding: 12px 0; font-size: 13px; font-weight: 500; letter-spacing: 1px; line-height: 1.5; text-transform: uppercase; }
.be-nav__list a:hover, .be-nav__list .current-menu-item > a { color: var(--be-primary); }
.be-nav__list .sub-menu { display: none; position: absolute; right: 0; top: 100%; z-index: 2; min-width: 230px; max-width: 300px; padding: 12px 20px; background: #fff; border: 1px solid var(--be-line); box-shadow: var(--be-shadow); }
.be-nav__list .sub-menu a { font-size: 13px; text-transform: none; letter-spacing: 0; overflow-wrap: anywhere; }
.be-nav__list li:hover > .sub-menu, .be-nav__list li:focus-within > .sub-menu { display: block; }
.be-header .be-menu-toggle, .be-header .be-search-toggle {
	appearance: none; border: 0; padding: 0; background: transparent; color: #202020;
	cursor: pointer; flex-shrink: 0; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 0;
}
.be-header .be-menu-toggle { display: none; }
.be-header .be-search-toggle { display: none; }
.be-header--enhanced .be-search-toggle { display: inline-flex; }
.be-menu-toggle__lines, .be-menu-toggle__lines::before, .be-menu-toggle__lines::after {
	display: block; width: 21px; height: 2px; background: currentColor; content: ""; transition: .2s ease;
}
.be-menu-toggle__lines { position: relative; }
.be-menu-toggle__lines::before { position: absolute; top: -6px; }
.be-menu-toggle__lines::after { position: absolute; top: 6px; }
.be-menu-toggle[aria-expanded="true"] .be-menu-toggle__lines { background: transparent; }
.be-menu-toggle[aria-expanded="true"] .be-menu-toggle__lines::before { top: 0; transform: rotate(45deg); }
.be-menu-toggle[aria-expanded="true"] .be-menu-toggle__lines::after { top: 0; transform: rotate(-45deg); }
.be-header .be-search-toggle:hover, .be-header .be-menu-toggle:hover { background: #f5f5f5; }
.be-search-toggle svg { fill: none; stroke: currentColor; stroke-width: 2.4; }
.be-search-panel { padding: 18px 0; border-top: 1px solid var(--be-line); }
.be-search-panel[hidden] { display: none !important; }
.be-search-panel .search-form { display: flex; gap: 10px; max-width: 760px; margin: auto; }
.be-search-panel label { flex: 1; min-width: 0; margin: 0; }
.be-search-panel .search-field { width: 100%; min-height: 48px; border: 1px solid var(--be-line); border-radius: 4px; padding: 0 16px; font-size: 16px; color: var(--be-ink); background: #fff; }
.be-search-panel .search-submit { border: 0; border-radius: 4px; background: #252525; color: #fff; padding: 0 20px; font-weight: 700; cursor: pointer; }
.be-site .screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; white-space: nowrap; }
.be-header a:focus-visible, .be-header button:focus-visible, .be-footer a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }

/* Hero */
.be-hero { position: relative; overflow: hidden; background: linear-gradient(145deg, #f3f5ff, #fff 65%); }
.be-hero::before, .be-hero::after { position: absolute; content: ""; border-radius: 50%; filter: blur(2px); }
.be-hero::before { width: 360px; height: 360px; right: -110px; top: -140px; background: rgba(69, 99, 234, .15); }
.be-hero::after { width: 190px; height: 190px; left: -80px; bottom: -90px; background: rgba(223, 244, 106, .45); }
.be-hero__content { position: relative; z-index: 1; text-align: center; padding: 100px 0 92px; }
.be-eyebrow, .be-kicker { display: inline-block; color: var(--be-primary); font-size: 12px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.be-hero h1 { max-width: 880px; margin: 16px auto 22px; font-size: clamp(44px, 7vw, 82px); line-height: .98; }
.be-hero p { max-width: 680px; margin: 0 auto; color: var(--be-muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.65; }
.be-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }
.be-pills a { display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border: 1px solid var(--be-line); border-radius: 999px; background: #fff; font-weight: 800; box-shadow: 0 8px 24px rgba(24,32,47,.05); transition: .2s ease; }
.be-pills a:hover { transform: translateY(-2px); border-color: var(--be-primary); color: var(--be-primary); }

/* Shared headings */
.be-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.be-section-heading h2 { margin: 7px 0 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; }
.be-text-link { color: var(--be-primary); font-weight: 850; white-space: nowrap; }

/* Discovery */
.be-discovery { background: #fff; }
.be-discovery__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.be-discovery-card { position: relative; min-height: 290px; display: flex; flex-direction: column; justify-content: end; overflow: hidden; padding: 34px; border-radius: var(--be-radius-lg); transition: transform .25s ease, box-shadow .25s ease; }
.be-discovery-card--1 { background: #dfe7ff; }
.be-discovery-card--2 { background: var(--be-lime); }
.be-discovery-card:hover { transform: translateY(-5px); box-shadow: var(--be-shadow); }
.be-discovery-card::before { position: absolute; width: 220px; height: 220px; content: ""; right: -55px; top: -65px; border: 45px solid rgba(255,255,255,.5); border-radius: 50%; }
.be-discovery-card__number { position: absolute; top: 30px; left: 34px; font-size: 14px; font-weight: 900; opacity: .55; }
.be-discovery-card h3 { margin-bottom: 9px; font-size: clamp(28px, 3vw, 40px); }
.be-discovery-card p { max-width: 480px; margin-bottom: 0; color: rgba(24,32,47,.72); font-size: 16px; line-height: 1.6; }
.be-round-arrow { position: absolute; right: 28px; bottom: 28px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--be-ink); color: #fff; font-size: 22px; }

/* Cards and news */
.be-news { background: var(--be-soft); }
.be-news-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr); gap: 24px; }
.be-news-grid__side { display: grid; gap: 14px; }
.be-card { min-width: 0; background: #fff; border-radius: var(--be-radius); overflow: hidden; }
.be-card__link { display: block; height: 100%; }
.be-card__media { overflow: hidden; background: linear-gradient(135deg, #dfe7ff, #edf1ff); }
.be-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.be-card__placeholder { aspect-ratio: 16/10; background: linear-gradient(135deg, #dfe7ff, #f6f7fb 48%, #dff46a); }
.be-card:hover .be-card__image { transform: scale(1.035); }
.be-card__body { padding: 24px; }
.be-card__title { margin: 8px 0 10px; font-size: 22px; line-height: 1.2; }
.be-card__excerpt { color: var(--be-muted); line-height: 1.6; }
.be-card__meta { color: var(--be-muted); font-size: 13px; font-weight: 700; }
.be-card--featured { box-shadow: var(--be-shadow); }
.be-card--featured .be-card__media { aspect-ratio: 16/9; }
.be-card--featured .be-card__body { padding: 30px; }
.be-card--featured .be-card__title { font-size: clamp(28px, 3vw, 40px); }
.be-card--compact { border: 1px solid var(--be-line); }
.be-card--compact .be-card__link { display: grid; grid-template-columns: 140px 1fr; align-items: stretch; }
.be-card--compact .be-card__media { min-height: 145px; }
.be-card--compact .be-card__body { padding: 18px; }
.be-card--compact .be-card__title { font-size: 18px; margin-bottom: 16px; }

/* Guide tabs */
.be-guides { background: #fff; }
.be-section-heading--guides { align-items: center; }
.be-tabs { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.be-tabs button { border: 1px solid var(--be-line); border-radius: 999px; padding: 10px 15px; color: var(--be-ink); background: #fff; font-weight: 800; cursor: pointer; }
.be-tabs button[aria-selected="true"] { border-color: var(--be-ink); color: #fff; background: var(--be-ink); }
.be-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.be-post-grid .be-card { border: 1px solid var(--be-line); transition: transform .25s ease, box-shadow .25s ease; }
.be-post-grid .be-card:hover { transform: translateY(-4px); box-shadow: var(--be-shadow); }
.be-post-grid .be-card__media { aspect-ratio: 16/10; }

/* CTA and ads */
.be-cta { padding: 30px 0 90px; }
.be-cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 35px; padding: 45px; border-radius: var(--be-radius-lg); background: var(--be-ink); color: #fff; }
.be-cta h2 { margin: 8px 0 0; max-width: 650px; font-size: clamp(30px, 4vw, 46px); }
.be-button { display: inline-flex; padding: 14px 21px; border-radius: 999px; background: var(--be-lime); color: var(--be-ink); font-weight: 900; white-space: nowrap; }

/* Single article */
.be-article__header { padding: 72px 0 45px; text-align: center; }
.be-article__header h1 { margin: 15px auto 22px; font-size: clamp(40px, 6vw, 70px); line-height: 1.04; }
.be-article__dek { color: var(--be-muted); font-size: 21px; line-height: 1.55; }
.be-article__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; color: var(--be-muted); font-size: 14px; }
.be-article__hero img { display: block; width: 100%; max-height: 690px; object-fit: cover; border-radius: var(--be-radius-lg); }
.be-article__layout { display: grid; grid-template-columns: minmax(0, 760px) 300px; justify-content: space-between; gap: 70px; padding-top: 60px; padding-bottom: 85px; }
.be-article__content { font-family: Georgia, Cambria, serif; font-size: 19px; line-height: 1.82; }
.be-article__content > * { max-width: 100%; }
.be-article__content h2, .be-article__content h3 { margin-top: 1.8em; font-family: Inter, ui-sans-serif, sans-serif; line-height: 1.2; }
.be-article__content h2 { font-size: 34px; }
.be-article__content h3 { font-size: 25px; }
.be-article__content a { color: var(--be-primary); text-decoration: underline; }
.be-article__content img { border-radius: var(--be-radius); }
.be-article__content table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; font-family: Inter, sans-serif; font-size: 15px; }
.be-article__content th, .be-article__content td { padding: 13px; border: 1px solid var(--be-line); }
.be-article__aside { align-self: start; position: sticky; top: 115px; }
.be-aside-box { padding: 24px; border-radius: var(--be-radius); background: var(--be-soft); }
.be-aside-box strong { font-size: 19px; }
.be-aside-box p { margin: 8px 0 0; color: var(--be-muted); line-height: 1.55; }
.be-related { background: var(--be-soft); }

/* Archives and pages */
.be-archive, .be-standard-page { padding: 70px 0 90px; }
.be-standard-page { background: var(--be-page-bg); }
.be-page-header { margin-bottom: 40px; }
.be-page-header h1, .be-page-content > h1 { margin: 10px 0 15px; font-size: clamp(40px, 6vw, 68px); }
.be-page-description { max-width: 700px; color: var(--be-muted); font-size: 18px; }
.be-standard-page .be-page-content { font-size: 18px; line-height: 1.75; }
.be-empty { padding: 60px 30px; text-align: center; background: var(--be-soft); border-radius: var(--be-radius); }
.navigation.pagination { margin-top: 45px; }
.nav-links { display: flex; justify-content: center; gap: 7px; }
.page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 10px; border: 1px solid var(--be-line); border-radius: 999px; }
.page-numbers.current { background: var(--be-ink); color: #fff; border-color: var(--be-ink); }

/* Footer: composición de dos filas con aviso inferior de ancho completo. */
.be-footer { padding: 48px 0 20px; background: #474747; color: #fff; font-family: Arial, sans-serif; font-size: 13px; line-height: 1.55; }
.be-footer__top { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.55); }
.be-footer__identity { min-width: 0; max-width: 350px; }
.be-footer__brand { display: inline-block; max-width: 100%; font-size: 44px; font-weight: 800; letter-spacing: -.065em; line-height: 1.1; color: #e2e2e2; overflow-wrap: anywhere; }
.be-footer__logo { display: block; width: auto; max-width: 160px; max-height: 56px; object-fit: contain; }
.be-footer__brand--fallback .be-footer__logo { filter: brightness(0) invert(1); opacity: .85; }
.be-footer p { margin: 0 0 10px; color: inherit; }
.be-footer .be-footer__byline { margin: 4px 0 0; font-size: 11px; font-weight: 600; }
.be-footer__menu, .be-footer__legal-menu { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 14px 44px; list-style: none; padding: 0; margin: 0; }
.be-footer__menu li, .be-footer__legal-menu li { margin: 0; padding: 0; }
.be-footer__menu a { display: inline-block; padding: 8px 0; font-size: 14px; font-weight: 700; }
.be-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.be-footer__details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; padding-top: 18px; }
.be-footer__contact { overflow-wrap: anywhere; }
.be-footer__legal { min-width: 0; text-align: right; }
.be-footer__legal-menu { gap: 4px 0; margin-bottom: 9px; }
.be-footer__legal-menu li { display: inline-flex; align-items: baseline; }
.be-footer__legal-menu li + li::before { content: "|"; margin: 0 5px; font-weight: 400; }
.be-footer__legal a { font-weight: 700; overflow-wrap: anywhere; }
.be-footer .be-footer__copyright { margin-bottom: 0; font-size: 13px; }
.be-footer__disclaimer { width: min(calc(100% - 40px),1500px); margin: 30px auto 0; padding: 0; text-align: center; font-size: 12px; font-style: italic; line-height: 1.5; overflow-wrap: anywhere; }
.be-footer .be-footer__disclaimer p { margin: 0; padding: 0; font: inherit; color: inherit; }

@media (max-width: 980px) {
	.be-header__inner { flex-wrap: wrap; min-height: 55px; gap: 0 12px; padding-block: 0; }
	.be-brand__text { font-size: 34px; }
	.be-brand .custom-logo { width: 160px; max-width: 100%; max-height: 38px; }
	.be-header--enhanced .be-menu-toggle { display: inline-flex; }
	.be-nav { order: 4; flex-basis: 100%; margin-top: 12px; border-top: 1px solid var(--be-line); }
	.be-header--enhanced .be-nav { display: none; }
	.be-header--enhanced .be-nav.is-open { display: block; }
	.be-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
	.be-nav__list a { padding: 12px 0; }
	.be-nav__list .sub-menu { display: block; position: static; min-width: 0; max-width: none; padding: 0 0 0 18px; border: 0; box-shadow: none; }
	.be-footer__menu { gap: 6px 24px; }
	.be-section { padding: 65px 0; }
	.be-news-grid { grid-template-columns: 1fr; }
	.be-news-grid__side { grid-template-columns: repeat(3, 1fr); }
	.be-card--compact .be-card__link { display: block; }
	.be-card--compact .be-card__media { aspect-ratio: 16/10; min-height: 0; }
	.be-article__layout { grid-template-columns: 1fr; gap: 30px; }
	.be-article__aside { position: static; }
}

@media (max-width: 720px) {
	.be-container, .be-container--narrow { width: min(calc(100% - 28px), var(--be-container)); }
	.be-header__inner, .be-footer__inner { width: calc(100% - 40px); }
	.be-header__inner { min-height: 55px; gap: 0 6px; }
	.be-brand { max-width: calc(100% - 104px); }
	.be-brand__text { font-size: 32px; }
	.be-brand .custom-logo { width: 150px; max-width: 100%; max-height: 36px; }
	.be-search-panel .search-submit { padding-inline: 14px; }
	.be-hero__content { padding: 70px 0 65px; }
	.be-hero h1 { font-size: clamp(41px, 13vw, 60px); }
	.be-pills { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -14px; padding: 0 14px 8px; }
	.be-pills a { white-space: nowrap; }
	.be-section-heading, .be-section-heading--guides { align-items: flex-start; flex-direction: column; }
	.be-discovery__grid, .be-post-grid, .be-news-grid__side { grid-template-columns: 1fr; }
	.be-discovery-card { min-height: 250px; padding: 26px; }
	.be-discovery-card__number { top: 25px; left: 26px; }
	.be-round-arrow { right: 22px; bottom: 22px; }
	.be-card--compact .be-card__link { display: grid; grid-template-columns: 120px 1fr; }
	.be-card--compact .be-card__media { min-height: 132px; }
	.be-card--compact .be-card__body { padding: 15px; }
	.be-tabs { justify-content: flex-start; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; padding-bottom: 5px; }
	.be-tabs button { white-space: nowrap; }
	.be-cta__inner { align-items: flex-start; flex-direction: column; padding: 30px; }
	.be-article__header { padding: 48px 0 32px; }
	.be-article__dek { font-size: 18px; }
	.be-article__hero { width: 100%; }
	.be-article__hero img { border-radius: 0; }
	.be-article__layout { padding-top: 38px; padding-bottom: 60px; }
	.be-article__content { font-size: 18px; }
	.be-footer { padding-top: 34px; }
	.be-footer__top { align-items: flex-start; flex-direction: column; gap: 22px; padding-bottom: 22px; }
	.be-footer__brand { font-size: 40px; }
	.be-footer__menu { justify-content: flex-start; gap: 6px 22px; }
	.be-footer__details { grid-template-columns: 1fr; gap: 18px; }
	.be-footer__contact--empty { display: none; }
	.be-footer__legal { text-align: left; }
	.be-footer__legal-menu { justify-content: flex-start; }
	.be-footer__disclaimer { margin-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
	.be-site *, .be-site *::before, .be-site *::after { scroll-behavior: auto !important; transition: none !important; }
}
