/* Blog: portada, listados y notas */
:root { --sky-dark: #225670; --olive-soft: #e8eedf; }

.crumbs { font-size: 0.85rem; color: var(--muted); padding-top: 28px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #b3a898; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.blog-head { padding: 28px 0 28px; }
.blog-head .eyebrow { color: var(--olive); margin-bottom: 12px; }
.blog-head h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); letter-spacing: -0.02em; }
.blog-head p { color: var(--muted); font-size: 1.1rem; max-width: 60ch; margin-top: 12px; }

/* Pestañas de sección */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tabs a {
  text-decoration: none; font-weight: 600; font-size: 0.92rem; padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
}
.tabs a:hover { color: var(--ink); border-color: #cfc4b3; }
.tabs a[aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tabs a.ghost { border-style: dashed; background: transparent; }

/* Portada de la nota (dibujo de color) */
.cover {
  position: relative; overflow: hidden; border-radius: 16px; color: #fff;
  background: linear-gradient(150deg, var(--c1, #b4532a), var(--c2, #8f3f1d));
  display: flex; align-items: flex-end; padding: 16px 18px; min-height: 150px;
}
.cover::before {
  content: attr(data-glyph); position: absolute; right: -6px; bottom: -34px;
  font-family: "Fraunces", serif; font-style: italic; font-weight: 600; font-size: 9rem; line-height: 1;
  color: rgba(255, 255, 255, 0.16); pointer-events: none;
}
.cover::after {
  content: ""; position: absolute; right: 28%; top: -40px; width: 120px; height: 120px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.14);
}
.cover span { position: relative; z-index: 1; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.92; }

/* Tarjetas de notas */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.post-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; }
.post-card .cover { transition: transform .25s; }
.post-card:hover .cover { transform: translateY(-3px); }
.post-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.post-kicker { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.post-kicker b { color: var(--terra); font-weight: 700; }
.post-card.neg .post-kicker b { color: var(--sky); }
.post-card h3 { font-size: 1.3rem; line-height: 1.2; }
.post-card p { color: var(--muted); font-size: 0.95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { font-size: 0.84rem; color: var(--muted); }
.post-card.is-hidden { display: none; }

/* Destacada */
.featured { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; padding: 16px 0 72px; align-items: start; }
.featured .post-card .cover { min-height: 320px; padding: 24px; }
.featured .post-card .cover::before { font-size: 16rem; bottom: -60px; }
.featured .post-card h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.featured .post-card p { -webkit-line-clamp: 4; font-size: 1.02rem; }
.side-list { display: grid; gap: 4px; }
.side-list h2 { font-size: 0.78rem; font-family: "Inter", sans-serif; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.side-item { display: grid; grid-template-columns: 84px 1fr; gap: 14px; text-decoration: none; padding: 12px 0; border-top: 1px solid var(--line); align-items: center; }
.side-item .cover { min-height: 84px; padding: 0; border-radius: 12px; }
.side-item .cover::before { font-size: 5rem; bottom: -20px; right: -2px; }
.side-item .cover::after, .side-item .cover span { display: none; }
.side-item h3 { font-size: 1.05rem; line-height: 1.25; }
.side-item:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.side-item small { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 4px; }

/* Bloques de la portada del blog */
.blk { padding: 0 0 72px; }
.blk-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 22px; }
.blk-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
.blk-head p { color: var(--muted); margin-top: 6px; max-width: 58ch; }
.blk-head a { font-weight: 600; color: var(--terra); text-underline-offset: 3px; }
.blk.negocios { background: #e4eef4; padding: 64px 0; margin-bottom: 72px; }
.blk.negocios .blk-head a { color: var(--sky-dark); }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.cat-chips a, .cat-chips button {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: inherit; font-size: 0.88rem; font-weight: 600;
  padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); cursor: pointer;
}
.cat-chips a:hover, .cat-chips button:hover { border-color: #cfc4b3; }
.cat-chips small { font-size: 0.75rem; color: var(--muted); font-weight: 600; }
.cat-chips .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c1); }
.cat-chips button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cat-chips button[aria-pressed="true"] small { color: #c9bfb1; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-block; text-decoration: none; font-size: 0.86rem; font-weight: 500; color: var(--ink); background: var(--sand); padding: 6px 12px; border-radius: 8px; }
.tag:hover { background: #e6d6bd; }
.tag::before { content: "#"; color: var(--muted); margin-right: 2px; }

.viajes-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; border: 1.5px dashed #b9c9a6; background: var(--olive-soft); border-radius: 22px; padding: 26px 30px; margin-bottom: 88px; }
.viajes-note h2 { font-size: 1.45rem; color: var(--olive); }
.viajes-note p { color: var(--muted); margin-top: 4px; max-width: 60ch; }
.viajes-note a { background: var(--olive); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 20px; border-radius: 999px; white-space: nowrap; }

/* Listados */
.list-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin: 8px 0 26px; }
.list-search { position: relative; flex: 1; max-width: 420px; min-width: 220px; }
.list-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.list-search input { width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); padding: 0 16px 0 40px; font: inherit; font-size: 0.95rem; outline: none; }
.list-search input:focus { border-color: var(--terra); box-shadow: 0 0 0 3px rgba(180, 83, 42, 0.12); }
.list-count { font-size: 0.9rem; color: var(--muted); }
.list-wrap { padding-bottom: 88px; }
.empty { display: none; text-align: center; padding: 40px 24px; border: 1.5px dashed var(--line); border-radius: 16px; color: var(--muted); grid-column: 1 / -1; }
.empty.show { display: block; }
.store-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: #f8ebe2; border-radius: 18px; padding: 18px 22px; margin-bottom: 26px; }
.store-band p { color: var(--terra-dark); font-weight: 600; }
.store-band p small { display: block; color: var(--muted); font-weight: 400; font-size: 0.88rem; }

/* Nota */
.post-head { max-width: 820px; padding: 24px 0 26px; }
.post-head .post-kicker { margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px 12px; }
.post-head .post-kicker a { text-decoration: none; }
.post-head .post-kicker a:hover { text-decoration: underline; }
.post-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.02em; line-height: 1.1; }
.post-head .lead { font-size: 1.2rem; color: var(--muted); margin-top: 16px; max-width: 62ch; }
.post-head .post-meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.post-head .post-meta span + span::before { content: "·"; margin-right: 14px; color: #b3a898; }
.post-cover { min-height: 240px; border-radius: 22px; padding: 24px 28px; }
.post-cover::before { font-size: 18rem; bottom: -70px; right: 20px; }

.post-layout { display: grid; grid-template-columns: minmax(0, 720px) 300px; gap: 56px; padding: 40px 0 72px; justify-content: space-between; }
.prose { font-size: 1.08rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.75rem; margin-top: 1.9em; scroll-margin-top: 190px; }
.prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.prose a { color: var(--terra-dark); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose strong { font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose ol { list-style: none; counter-reset: paso; padding-left: 0; }
.prose ol > li { counter-increment: paso; position: relative; padding-left: 48px; min-height: 34px; }
.prose ol > li::before {
  content: counter(paso); position: absolute; left: 0; top: 0.1em; width: 32px; height: 32px; border-radius: 50%;
  background: var(--ink); color: var(--bg); font-family: "Fraunces", serif; font-weight: 700; font-size: 0.95rem;
  display: grid; place-items: center; line-height: 1;
}
.prose ul li::marker { color: var(--terra); }
.prose .tip { background: var(--olive-soft); border-left: 4px solid var(--olive); border-radius: 0 14px 14px 0; padding: 16px 20px; font-size: 1rem; }
.prose .tip a { color: var(--olive); }
.prose .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.5; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: var(--bg); }
.prose tr:last-child td { border-bottom: 0; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }

.post-aside { display: flex; flex-direction: column; gap: 18px; }
.aside-sticky { position: sticky; top: 186px; display: flex; flex-direction: column; gap: 18px; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.box h2 { font-family: "Inter", sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 8px; counter-reset: toc; }
.toc li { counter-increment: toc; display: grid; grid-template-columns: 22px 1fr; font-size: 0.92rem; line-height: 1.4; }
.toc li::before { content: counter(toc); color: var(--terra); font-weight: 700; font-size: 0.85rem; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.box.store { background: #f8ebe2; border-color: #efd7c8; }
.box.store strong { display: block; font-family: "Fraunces", serif; font-size: 1.25rem; line-height: 1.2; }
.box.store p { color: var(--muted); font-size: 0.92rem; margin: 6px 0 14px; }
.box.store .soon { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: #fff; color: var(--terra-dark); padding: 3px 9px; border-radius: 999px; margin-bottom: 10px; }
.box .btn-line { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.92rem; text-decoration: none; color: #fff; background: var(--terra); padding: 10px 16px; border-radius: 999px; }
.box .btn-line:hover { background: var(--terra-dark); }
.box.hub { background: #e4eef4; border-color: #cfe0ea; }
.box.hub strong { display: block; font-family: "Fraunces", serif; font-size: 1.25rem; line-height: 1.2; }
.box.hub p { color: var(--muted); font-size: 0.92rem; margin: 6px 0 14px; }
.box.hub .btn-line { background: var(--sky); }
.box.hub .btn-line:hover { background: var(--sky-dark); }
.mini-list { list-style: none; display: grid; gap: 10px; }
.mini-list a { text-decoration: none; font-size: 0.93rem; font-weight: 500; line-height: 1.35; display: block; }
.mini-list a:hover { text-decoration: underline; }
.box .all { display: inline-block; margin-top: 12px; font-size: 0.88rem; font-weight: 600; color: var(--terra-dark); }

.related { border-top: 1px solid var(--line); padding: 56px 0 88px; }
.related h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: 22px; }

@media (max-width: 1000px) {
  .featured { grid-template-columns: 1fr; }
  .post-layout { grid-template-columns: 1fr; gap: 32px; }
  .aside-sticky { position: static; }
  .post-aside { order: 2; }
}
@media (max-width: 560px) {
  .featured .post-card .cover { min-height: 220px; }
  .post-cover { min-height: 170px; }
  .post-cover::before { font-size: 12rem; bottom: -46px; }
  .prose { font-size: 1.02rem; }
  .blk.negocios { padding: 48px 0; }
  .viajes-note { padding: 22px; }
}

/* ---------- Opinión: columnas y autores ---------- */
:root { --plum: #6b3f7d; --plum-soft: #f1e9f4; }
.post-card.op .post-kicker b { color: var(--plum); }
.post-card.op .cover::before { font-family: "Fraunces", serif; }
.blk-head a.op-link { color: var(--plum); }
.sec-title { font-size: 1.6rem; margin: 8px 0 18px; }

.avatar {
  display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(150deg, #8a5a9c, var(--plum)); color: #fff; font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.04em; object-fit: cover;
}
.avatar.xl { width: 84px; height: 84px; font-size: 1.5rem; }
.avatar.xxl { width: 140px; height: 140px; font-size: 2.6rem; font-family: "Fraunces", serif; }

.col-band { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; margin-bottom: 72px; }
.col-author {
  display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit;
  background: var(--plum-soft); border: 1px solid #e2d3e8; border-radius: 22px; padding: 26px;
}
.col-author .avatar { margin-bottom: 10px; }
.col-name { font-weight: 700; font-size: 1.05rem; }
.col-name small { display: block; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.col-title { font-family: "Fraunces", serif; font-style: italic; font-size: 1.9rem; line-height: 1.1; color: var(--plum); margin-top: 6px; }
.col-sub { color: var(--muted); font-size: 0.95rem; }
.col-more { margin-top: 10px; font-weight: 700; color: var(--plum); font-size: 0.92rem; }
.col-author:hover .col-more { text-decoration: underline; text-underline-offset: 3px; }
.col-list .post-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.col-empty {
  border: 1.5px dashed #d6c3de; border-radius: 22px; padding: 34px 28px; color: var(--muted);
  display: flex; flex-direction: column; justify-content: center; min-height: 100%; gap: 6px;
}
.col-empty strong { color: var(--ink); font-size: 1.2rem; font-family: "Fraunces", serif; }
.col-empty a { color: var(--plum); }

.byline { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.byline p { display: flex; flex-direction: column; }
.byline a { font-weight: 700; text-decoration: none; }
.byline a:hover { text-decoration: underline; }
.byline .post-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.post-head.op h1 { font-family: "Fraunces", serif; }
.post-head.op .lead { font-style: italic; }

.author-box {
  display: flex; gap: 20px; align-items: flex-start; margin-top: 40px; padding: 24px;
  background: var(--plum-soft); border-radius: 20px;
}
.author-box small { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.author-box h2 { font-size: 1.3rem; margin: 2px 0 6px; }
.author-box h2 a { text-decoration: none; }
.author-box p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.op-disclaimer { font-size: 0.82rem; color: var(--muted); margin-top: 14px; font-style: italic; }

.box.author-mini { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; background: var(--plum-soft); border-color: #e2d3e8; }
.box.author-mini small { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.box.author-mini strong { display: block; line-height: 1.25; }
.box.author-mini span:not(.avatar) { font-size: 0.85rem; color: var(--muted); }
.box.author-mini .btn-line { background: var(--plum); border-color: var(--plum); color: #fff; }
.author-box h2 a { color: var(--ink); }
.box.author-mini .btn-line { grid-column: 1 / -1; }

.author-hero { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: start; padding: 32px 0 48px; }
.author-hero .eyebrow { color: var(--plum); margin-bottom: 10px; }
.author-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.02em; line-height: 1.05; }
.col-line { margin-top: 10px; color: var(--muted); }
.col-line b { color: var(--plum); font-family: "Fraunces", serif; font-style: italic; font-size: 1.15rem; }
.author-bio { margin-top: 18px; display: grid; gap: 10px; max-width: 64ch; font-size: 1.05rem; }
.author-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.author-links a { font-weight: 600; color: var(--plum); border: 1px solid #d6c3de; border-radius: 999px; padding: 7px 16px; text-decoration: none; }

.draft-banner { background: #fff4d6; border: 1px solid #f0d58a; color: #6b5310; border-radius: 14px; padding: 12px 18px; margin-top: 18px; font-size: 0.95rem; }
.draft-banner code { background: rgba(0,0,0,.06); padding: 1px 6px; border-radius: 6px; }

@media (max-width: 860px) {
  .col-band { grid-template-columns: 1fr; }
  .author-hero { grid-template-columns: 1fr; gap: 20px; }
  .avatar.xxl { width: 104px; height: 104px; font-size: 2rem; }
  .author-box { flex-direction: column; }
}

/* ---------- Fotos: portada de tarjeta, foto principal y fotos en el texto ---------- */
.cover.has-photo { padding: 0; background: var(--c2); }
.cover.has-photo::before, .cover.has-photo::after { display: none; }
.cover.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover.has-photo span {
  position: absolute; left: 14px; bottom: 14px; z-index: 1; background: rgba(31, 26, 20, 0.62);
  padding: 4px 10px; border-radius: 999px; font-size: 0.68rem; backdrop-filter: blur(4px);
}
.side-item .cover.has-photo { min-height: 84px; }

.post-head.has-photo { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: center; }
.post-hero { margin: 0; }
.post-hero img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px;
  box-shadow: 0 18px 40px -22px rgba(31, 26, 20, 0.5);
}

.prose .post-figs { margin-top: 1.8em; margin-bottom: 0.4em; }
.prose .post-figs figure { margin: 0 auto; width: fit-content; max-width: 100%; }
.prose .post-figs img { width: auto; max-width: 100%; max-height: 460px; height: auto; border-radius: 16px; background: var(--sand); }
.prose .post-figs figcaption { max-width: 380px; }
.prose .post-figs figcaption { font-size: 0.86rem; color: var(--muted); line-height: 1.45; margin-top: 10px; padding-left: 12px; border-left: 2px solid var(--terra); }
.prose .post-figs.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.prose .post-figs.duo figure { width: auto; }
.prose .post-figs.duo img { width: 100%; max-height: none; }

@media (max-width: 860px) {
  .post-head.has-photo { grid-template-columns: 1fr; gap: 24px; }
  .post-hero { max-width: 340px; }
  .post-hero img { aspect-ratio: 1 / 1; }
}

/* ---------- Productos de la Tienda dentro de la nota ---------- */
.prose .note-prods { margin-top: 2.4em; background: #f8ebe2; border-radius: 20px; padding: 22px; }
.np-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin-bottom: 16px; }
.prose .np-head h2 { font-size: 1.3rem; margin: 0; }
.prose .np-head a { font-size: 0.9rem; font-weight: 700; color: var(--terra-dark); text-decoration: none; }
.prose .np-head a:hover { text-decoration: underline; }
.np-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.prose .np-item { display: flex; flex-direction: column; background: var(--surface); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--ink); border: 1px solid #efd7c8; transition: transform .2s, box-shadow .2s; }
.prose .np-item:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -16px rgba(31, 26, 20, .45); }
.np-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.np-media img, .np-media .cover { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; min-height: 0; padding: 0; object-fit: cover; }
.np-media .cover::before { font-size: 7rem; bottom: -24px; }
.np-ej { position: absolute; top: 8px; left: 8px; z-index: 1; background: rgba(255,255,255,.9); color: var(--muted); font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.np-info { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; line-height: 1.3; }
.np-info small { font-size: 0.7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.np-info strong { font-size: 0.95rem; font-weight: 600; }
.np-price { margin-top: 6px; font-weight: 700; color: var(--terra-dark); }
.np-price small { font-size: 0.72rem; color: var(--muted); letter-spacing: 0; }

/* ---------- Espacios de publicidad ---------- */
.ad { display: block; }
.ad-label { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #a39684; margin-bottom: 6px; }
.ad-body { display: flex; gap: 16px; align-items: center; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.ad-body img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; flex: none; }
.ad-txt { display: flex; flex-direction: column; gap: 4px; line-height: 1.35; }
.ad-txt strong { font-size: 1.02rem; }
.ad-txt span { color: var(--muted); font-size: 0.9rem; }
.ad-txt b { color: var(--terra-dark); font-size: 0.88rem; margin-top: 4px; }
.ad-body:hover b { text-decoration: underline; }
.ad-house .ad-body { background: repeating-linear-gradient(135deg, #fbf8f3 0 14px, #f6f0e6 14px 28px); border-style: dashed; border-color: #d9cdb9; }
.prose .ad-en-nota { margin: 2em 0 0.6em; }
.prose .ad-en-nota .ad-body { min-height: 96px; }
.prose a.ad-body { color: var(--ink); text-decoration: none; }
.ad-lateral .ad-body { flex-direction: column; align-items: flex-start; min-height: 220px; justify-content: center; }
.ad-lateral .ad-body img { width: 100%; height: auto; aspect-ratio: 4 / 3; }

/* ---------- Página Anunciá en Umarti ---------- */
.ad-formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 36px; }
.adf { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.adf b { font-family: "Fraunces", serif; font-size: 1.25rem; }
.adf p { color: var(--muted); margin-top: 6px; }
.ad-form { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; margin-bottom: 88px; max-width: 820px; }
.ad-form h2 { font-size: 1.5rem; margin-bottom: 18px; }
.ad-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.ad-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; font-weight: 600; }
.ad-grid .full { grid-column: 1 / -1; }
.ad-grid input, .ad-grid textarea { font: inherit; font-weight: 400; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; background: var(--bg); }
.ad-ok { margin-top: 14px; color: var(--olive); font-weight: 600; }
@media (max-width: 600px) { .ad-grid { grid-template-columns: 1fr; } .ad-body img { width: 84px; height: 70px; } }

/* ---------- Tarjetas parejas: todas las portadas con la misma proporción ---------- */
.post-card .cover { aspect-ratio: 16 / 10; min-height: 0; height: auto; }
.featured .post-card .cover { aspect-ratio: 16 / 10; min-height: 0; }
.post-card .cover.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.post-card .cover span, .side-item .cover.has-photo span {
  position: absolute; left: 12px; bottom: 12px; z-index: 1; background: rgba(31, 26, 20, 0.6); color: #fff;
  padding: 4px 10px; border-radius: 999px; font-size: 0.66rem; line-height: 1.3; letter-spacing: .1em; backdrop-filter: blur(4px);
}
.post-card .cover:not(.has-photo) span { background: rgba(255, 255, 255, 0.16); }
.side-item .cover.has-photo span { display: none; }
.side-item .cover.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ad-cabecera { margin: -6px 0 28px; }
.ad-fila { margin: 8px 0 36px; }
.ad-adsense ins, .ad-red > *:not(.ad-label) { display: block; }
