/* Blog: estilos del artboard Blog.dc.html + plantilla de artículo */
.pg-wabi { max-width: 46rem; margin-top: 40px; }
.pg-plan { gap: 0; padding: 22px; }
.pg-plan__price { margin: 8px 0 0; font-family: var(--font-display); font-weight: 700; font-variation-settings: "opsz" 12; font-size: 32px; line-height: 36px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pg-plan__per { margin: 2px 0 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.pg-plan__rule { align-self: stretch; height: 1px; margin: 18px 0; background: var(--line); }
.pg-plan .pg-list { align-self: stretch; gap: 10px; }
.pg-plan .pg-list li { font-size: 14px; line-height: 20px; }
.pg-plan .pg-list .hb-icon { margin-top: 1px; }
.pg-plan > .hb-btn { align-self: stretch; margin-top: auto; }
.pg-plan .pg-list { margin-bottom: 20px; }
.pg-calc { gap: 16px; padding: 28px; box-shadow: var(--shadow-float); }
.pg-calc .hb-seg { align-self: flex-start; }
.pg-calc__big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; }
.pg-calc__big span { font-family: var(--font-display); font-weight: 700; font-variation-settings: "opsz" 12; font-size: 56px; line-height: 60px; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.pg-calc__big small { font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.pg-calc__eq { align-self: stretch; gap: 16px; }
.pg-write { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; }
.pg-write__stage { box-sizing: border-box; width: 100%; padding-top: 27%; overflow: hidden; }
.pg-swatchset { display: flex; flex-direction: column; gap: 8px; }
.pg-swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.pg-sw { display: flex; flex-direction: column; gap: 4px; min-width: 76px; font-size: 13px; line-height: 18px; }
.pg-sw__chip { display: block; width: 100%; height: 40px; border: 1px solid var(--line); border-radius: var(--radius-md); }
.pg-sw b { font-weight: 600; }
.pg-sw small { font-size: 12px; line-height: 16px; color: var(--ink-subtle); font-variant-numeric: tabular-nums; }
.pg-agentdemo { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.pg-agentdemo__stage { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.pg-typedemo { display: flex; flex-direction: column; gap: 4px; }
.pg-type-a { font-family: var(--font-display); font-weight: 700; font-variation-settings: "opsz" 12; font-size: 32px; line-height: 36px; letter-spacing: -0.035em; }
.pg-type-b { margin-top: 12px !important; font-size: 16px; line-height: 24px; }
.pg-voicedemo { display: flex; flex-direction: column; gap: 8px; }
.pg-quote::before { content: ""; display: block; width: 28px; height: 1px; margin-bottom: 10px; background: var(--gold); }
.pg-quote { font-family: var(--font-display); font-weight: 700; font-variation-settings: "opsz" 12; font-size: 20px; line-height: 26px; letter-spacing: -0.02em; }
.pg-faqs { display: grid; gap: 12px; max-width: 56rem; }
.pg-faq > summary { padding-block: 14px; font-size: 15px; line-height: 22px; }
.pg-faq__a { margin: 0; padding: 0 16px 16px; font-size: 15px; line-height: 24px; color: var(--ink-muted); }
.pg-vs { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.pg-vs__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-vs__row + .pg-vs__row { border-top: 1px solid var(--line); }
.pg-vs__a, .pg-vs__b, .pg-vs__h { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 16px 24px; font-size: 15px; line-height: 24px; }
.pg-vs__h { padding-block: 14px; background: var(--surface-alt); font: 600 12px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.pg-vs__a { color: var(--ink-muted); }
.pg-vs__b { color: var(--ink); }
.pg-vs__row > :last-child { border-left: 1px solid var(--line); }
.pg-card--link { text-decoration: none; color: var(--ink); justify-content: space-between; }
.pg-sec--alt .pg-card--link, .pg-card--link { background: var(--clay-soft); border-color: transparent; }
.pg-card--link .pg-more { margin-top: auto; }
.pg-more { display: inline-flex; align-items: center; gap: 6px; font: 500 14px/20px var(--font-sans); color: var(--clay); }
.pg-more .hb-icon { width: 16px; height: 16px; }
.pg-flow { overflow-x: auto; scrollbar-width: none; }
.pg-flow .hb-canvas { width: 1152px; margin-inline: auto; }
.pg-flow .hb-node { height: 112px; }
.pg-flow .hb-node__type, .pg-flow .hb-node__text { margin-top: 0; }
.pg-flow .hb-node__type { margin-bottom: 8px; }
.pg-flow .hb-node__text { margin-top: 4px; }
.pg-form { gap: 20px; padding: 32px; }
.pg-form > .pg-grid { align-self: stretch; gap: 20px; }
.pg-form > .hb-field, .pg-form > .hb-alert { align-self: stretch; }
.pg-blog__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; }
.pg-blog__top .hb-tabs { flex: 1 1 28rem; justify-content: flex-end; border-bottom: 0; }
.pg-post { box-sizing: border-box; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.pg-post__thumb { position: relative; display: grid; place-items: center; aspect-ratio: 2 / 1; background: var(--surface-alt); }
.pg-post__thumb--clay { background: var(--clay-soft); }
.pg-post__thumb--ok { background: var(--success-soft); }
.pg-post__thumb--info { background: var(--info-soft); }
.pg-post__thumb--warn { background: var(--warning-soft); }
.pg-post__thumb .hb-badge { position: absolute; top: 16px; left: 16px; background: var(--surface); }
.pg-post__thumb .pg-icon { width: 64px; height: 64px; border-radius: var(--radius-lg); background: var(--surface); }
.pg-post__thumb .pg-icon .hb-icon { width: 28px; height: 28px; }
.pg-post__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px 24px 24px; }
.pg-post__body .pg-card__h { margin-top: 0; }
.pg-subscribe .hb-field { max-width: none; align-self: stretch; }
.pg-subscribe > .hb-btn, .pg-subscribe > .hb-alert { align-self: stretch; }
.pg-ui .hb-agentcard { box-shadow: var(--shadow-float); }
.pg-ui .hb-builder { box-shadow: var(--shadow-float); }
.pg-ui .hb-metric__value { font-size: 28px; line-height: 32px; }
@media (max-width: 40rem) {
  .pg-vs__row { grid-template-columns: minmax(0, 1fr); }
  .pg-vs__row > :last-child { border-left: 0; border-top: 1px dashed var(--line); }
  .pg-blog__top .hb-tabs { justify-content: flex-start; }
}

/* ---------- Tarjetas enlazadas y estados del listado ---------- */
.pg-post { position: relative; transition: border-color var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out); }
.pg-post:hover { border-color: var(--line-strong); }
.pg-post:focus-within { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.pg-post__link { color: inherit; text-decoration: none; }
.pg-post__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pg-post__link:focus-visible { outline: none; }
.pg-post__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pg-post--featured { grid-column: span 2; }
.pg-post--featured .pg-post__thumb { aspect-ratio: auto; min-height: 100%; }
@media (min-width: 68.75rem) {
  .pg-post--featured { flex-direction: row; }
  .pg-post--featured .pg-post__thumb { flex: 1 1 50%; }
  .pg-post--featured .pg-post__body { flex: 1 1 50%; justify-content: center; padding: 32px; }
  .pg-post--featured .pg-card__h { font-size: 26px; line-height: 32px; }
}
@media (max-width: 40rem) { .pg-post--featured { grid-column: auto; } }
.pg-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 40px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); }
.pg-empty[hidden] { display: none; }
.pg-pager { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }

/* ---------- Artículo ---------- */
.post-hero { padding-block: 64px 40px; }
.post-hero .pg-copy { gap: 20px; max-width: 52rem; }
.post-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; font: 500 14px/20px var(--font-sans); color: var(--ink-subtle); }
.post-crumbs a { color: var(--ink-muted); text-decoration: none; }
.post-crumbs a:hover { color: var(--clay); }
.post-crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.post-meta .hb-avatar { width: 32px; height: 32px; }
.post-author { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; }
.post-author img { width: 32px; height: 32px; border-radius: var(--radius-full); object-fit: cover; }
.post-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }
.post-cover { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 21 / 9; margin-top: 8px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface-alt); }
.post-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-cover .pg-icon { width: 88px; height: 88px; border-radius: var(--radius-xl); background: var(--surface); }
.post-cover .pg-icon .hb-icon { width: 36px; height: 36px; }
.post-cover--clay { background: var(--clay-soft); }
.post-cover--ok { background: var(--success-soft); }
.post-cover--info { background: var(--info-soft); }
.post-cover--warn { background: var(--warning-soft); }

.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: start; gap: 64px; padding-block: 24px 96px; }
.post-layout--solo { grid-template-columns: minmax(0, 1fr); }
.post-aside { position: sticky; top: 108px; display: flex; flex-direction: column; gap: 24px; }
.post-toc { display: flex; flex-direction: column; gap: 4px; padding: 0 0 0 16px; border-left: 1px solid var(--line); }
.post-toc__h { margin: 0 0 8px; font: 600 12px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-subtle); }
.post-toc a { display: block; padding: 4px 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); text-decoration: none; }
.post-toc a:hover, .post-toc a[aria-current="true"] { color: var(--clay); }
.post-toc a.is-h3 { padding-left: 12px; font-size: 13px; }
.post-share { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 68.74rem) {
  .post-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .post-aside { position: static; order: -1; }
  .post-toc { display: none; }
}

.post-body { max-width: var(--content-narrow); font-size: 18px; line-height: 1.75; color: var(--ink); text-wrap: pretty; }
.post-body > * { margin: 0; }
.post-body > * + * { margin-top: 1.1em; }
.post-body h2, .post-body h3, .post-body h4 { font-family: var(--font-display); font-weight: 700; font-variation-settings: "opsz" 12; letter-spacing: -0.025em; text-wrap: balance; scroll-margin-top: 108px; }
.post-body h2 { margin-top: 2em; font-size: 30px; line-height: 36px; }
.post-body h3 { margin-top: 1.6em; font-size: 22px; line-height: 28px; }
.post-body h4 { margin-top: 1.4em; font-size: 18px; line-height: 26px; }
.post-body h2 + *, .post-body h3 + *, .post-body h4 + * { margin-top: .6em; }
.post-body a { color: var(--clay); text-underline-offset: 3px; }
.post-body a:hover { color: var(--clay-hover); }
.post-body strong { font-weight: 600; }
.post-body ul, .post-body ol { padding-left: 1.4em; }
.post-body li + li { margin-top: .4em; }
.post-body li::marker { color: var(--clay); }
.post-body li > input[type="checkbox"] { margin-right: 8px; accent-color: var(--clay); }
.post-body blockquote { padding: 4px 0 4px 24px; border-left: 2px solid var(--gold); font-family: var(--font-display); font-weight: 700; font-variation-settings: "opsz" 12; font-size: 22px; line-height: 1.4; letter-spacing: -0.02em; color: var(--ink); }
.post-body blockquote p { margin: 0; }
.post-body hr { height: 1px; border: 0; background: var(--line); margin-block: 2.4em; }
.post-body code { padding: 2px 6px; border-radius: var(--radius-sm); background: var(--surface-alt); font-size: .86em; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.post-body pre { overflow-x: auto; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); font-size: 14px; line-height: 1.6; }
.post-body pre code { padding: 0; background: none; font-size: inherit; }
.post-body figure img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.post-body figcaption { margin-top: 10px; font-size: 14px; line-height: 20px; color: var(--ink-subtle); text-align: center; }
.post-body .post-table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.post-body table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.post-body th { padding: 12px 16px; background: var(--surface-alt); font: 600 12px/16px var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); text-align: left; }
.post-body td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.post-body mark { background: var(--warning-soft); color: inherit; padding: 0 3px; border-radius: 3px; }
.post-body details { padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.post-body summary { cursor: pointer; font-weight: 500; }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); max-width: var(--content-narrow); }
.post-tags a { text-decoration: none; }
.post-draft { margin-bottom: 24px; }
@media (max-width: 40rem) {
  .post-body { font-size: 17px; }
  .post-body h2 { font-size: 26px; line-height: 32px; }
  .post-cover { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); }
}
/* Enlaces "Sigue con Holabi" (final de cada artículo y de cada tema) */
.post-next { display: grid; gap: 4px; margin-top: 40px; }
.post-next__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.post-next__a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .15s ease; }
.post-next__a:hover { border-color: var(--line-strong); }
.post-next__a:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.post-next__a b { font-weight: 600; font-size: 15px; line-height: 22px; }
.post-next__a span { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
