/* Blog: índice, categorías y artículos */
.blog-hero { padding-bottom: 0; border-bottom: 0; }
.blog-hero h1 em { font-style: italic; color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.chips a { border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 14px; text-decoration: none; color: var(--muted); }
.chips a span { font-size: 12px; opacity: .7; margin-left: 4px; }
.chips a:hover { color: var(--ink); }
.chips a[aria-current] { border-color: var(--accent); color: var(--accent); font-weight: 500; }
.search { margin-top: 20px; max-width: 420px; }
.post[hidden] { display: none; }
/* Portadas de Wix: formato horizontal completo, sin recortar el texto de la imagen */
.posts .post img { height: auto; aspect-ratio: 16/9; background: var(--line); }

.share { max-width: 700px; margin: 56px auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
.share button { font: 500 14px var(--sans); color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.share button:hover { border-color: var(--accent); color: var(--accent); }

.feedback { max-width: 700px; margin: 56px auto 0; }
.feedback[hidden] { display: none; }
.rate { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.stars { display: inline-flex; gap: 4px; margin-top: 12px; }
.stars button { font-size: 34px; line-height: 1; padding: 4px; background: none; border: 0; cursor: pointer; color: var(--line); transition: color .15s, transform .15s; }
.stars button.on { color: #C9A227; }
.stars button:hover { transform: scale(1.12); }
.rate-info { font-size: 14px; color: var(--muted); margin-top: 8px; min-height: 1.4em; }
.comments { margin-top: 48px; }
.comments h2 { font-size: clamp(26px, 3vw, 32px); }
.comment-list { list-style: none; padding: 0; margin: 24px 0 0; }
.comment-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-list .c-head { font-size: 14px; color: var(--muted); }
.comment-list .c-head b { color: var(--ink); font-weight: 600; margin-right: 6px; }
.comment-list .c-text { margin-top: 6px; white-space: pre-line; }
.comment-list .c-empty { color: var(--muted); font-size: 15px; }
.comment-form { display: grid; gap: 14px; margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 24px; }
.comment-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.comment-form input, .comment-form textarea { font: 400 16px var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; width: 100%; }
.comment-form input:focus, .comment-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.comment-form .btn { justify-self: start; border: 0; cursor: pointer; }
.comment-form .btn:disabled { opacity: .6; }
.comment-form .hp { position: absolute; left: -9999px; }
.form-msg { font-size: 14px; color: var(--muted); }

.article-head { max-width: 780px; padding-top: 64px; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--accent); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 6px; }
.article-head h1 { font-size: clamp(34px, 5vw, 54px); margin: 18px 0 24px; }
.byline { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.byline img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.byline a { color: var(--ink); text-decoration: none; font-weight: 500; }
.cover { max-width: 980px; margin: 40px auto 0; }
.cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 4px; }

.article-body { max-width: 700px; margin: 48px auto 0; font-size: 18px; line-height: 1.75; }
.article-body > * + * { margin-top: 1.1em; }
.article-body h2 { font-size: clamp(26px, 3.2vw, 34px); margin-top: 1.8em; line-height: 1.2; }
.article-body h3 { font-size: 24px; margin-top: 1.6em; line-height: 1.25; }
.article-body h4 { font: 600 18px var(--sans); margin-top: 1.4em; }
.article-body a { color: var(--accent); text-underline-offset: 3px; }
.article-body ul, .article-body ol { padding-left: 1.4em; }
.article-body li + li { margin-top: .4em; }
.article-body blockquote { font: italic 400 24px/1.4 var(--serif); padding-left: 20px; border-left: 2px solid var(--accent); }
.article-body blockquote p + p { margin-top: .6em; }
.article-body figure { margin: 1.8em 0; }
.article-body figure img { width: 100%; height: auto; border-radius: 4px; }
.article-body figcaption, .article-body .caption { font-size: 14px; color: var(--muted); margin-top: 8px; text-align: center; }
.article-body .gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.article-body .gallery figure { margin: 0; }
.article-body .table { overflow-x: auto; }
.article-body table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.5; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.article-body th { background: var(--surface); font-weight: 600; }
.article-body pre { white-space: pre-wrap; font-size: 15px; background: var(--surface); border: 1px solid var(--line); padding: 16px; border-radius: 4px; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
@media (max-width: 600px) { .article-body { font-size: 17px; } .article-body blockquote { font-size: 21px; } }

.author-box { max-width: 700px; margin: 64px auto 0; display: flex; gap: 18px; align-items: flex-start; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: none; }
.author-box b { font: 400 20px var(--serif); }
.author-box p { font-size: 15px; color: var(--muted); margin-top: 4px; }
.author-box a { color: var(--accent); text-decoration: none; }

.post-cta { max-width: 700px; margin: 48px auto 96px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 36px; }
.post-cta h2 { font-size: clamp(26px, 3vw, 32px); margin: 12px 0; }
.post-cta p:not(.eyebrow) { color: var(--muted); }
.post-cta .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
@media (max-width: 600px) { .post-cta { padding: 24px; margin-bottom: 72px; } }
.related { border-top: 1px solid var(--line); }
