/* Blog «Consejos» de ruraviva. Solo se carga en vistas de blog. */
.rv-blog #masthead, .rv-blog #colophon { display: none !important; }

.rv-post__narrow { max-width: 760px; }
.rv-post__hero .rv-eyebrow a { color: inherit; text-decoration: none; }
.rv-post__hero .rv-eyebrow a:hover { text-decoration: underline; text-underline-offset: 4px; }
.rv-post__hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.08; letter-spacing: -.03em; }
.rv-post__meta { margin: 0; color: var(--rv-muted); font-size: .98rem; }

.rv-post__image { margin: clamp(32px, 5vw, 56px) auto 0; max-width: 960px; }
.rv-post__image img { display: block; width: 100%; height: auto; border-radius: var(--rv-radius); box-shadow: var(--rv-shadow); }

.rv-post__content { padding: clamp(40px, 6vw, 70px) 0 10px; color: var(--rv-ink); font-size: 1.12rem; line-height: 1.8; }
.rv-post__content > * { margin-top: 0; margin-bottom: 1.25em; }
.rv-post__content h2 { margin: 2.2em 0 .7em; font-size: clamp(1.55rem, 2.6vw, 2.05rem); line-height: 1.2; }
.rv-post__content h3 { margin: 1.8em 0 .6em; font-size: 1.35rem; }
.rv-post__content ul, .rv-post__content ol { padding-left: 1.3em; }
.rv-post__content li + li { margin-top: .45em; }
.rv-post__content li::marker { color: var(--rv-clay); }
.rv-post__content a { color: var(--rv-forest); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.rv-post__content strong { color: var(--rv-forest-deep); }
.rv-post__content blockquote { margin-left: 0; padding: 14px 20px; border-left: 4px solid var(--rv-clay); background: var(--rv-white); border-radius: 0 12px 12px 0; }
.rv-post__content hr { margin: 2.6em 0; border: 0; border-top: 1px solid rgba(122,46,20,.18); }
.rv-post__content img { max-width: 100%; height: auto; border-radius: 14px; }
.rv-post__content .rv-sources, .rv-post__content .rv-sources + ul { font-size: .95rem; color: var(--rv-muted); }

.rv-post-cta { margin: clamp(36px, 5vw, 56px) 0 0; padding: clamp(28px, 4vw, 42px); border-radius: var(--rv-radius); background: var(--rv-sage); }
.rv-post-cta h2 { margin: 0 0 10px; font-size: clamp(1.5rem, 2.6vw, 1.95rem); }
.rv-post-cta p { margin: 0 0 22px; color: var(--rv-ink); line-height: 1.7; }
.rv-post-cta .rv-eyebrow { margin-bottom: 10px; }

.rv-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.rv-post-nav a { display: block; padding: 18px 20px; border-radius: 16px; background: var(--rv-white); color: var(--rv-forest-deep); font-weight: 650; line-height: 1.4; text-decoration: none; box-shadow: 0 8px 30px rgba(91,39,24,.08); }
.rv-post-nav a span { display: block; margin-bottom: 4px; color: var(--rv-clay); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rv-post-nav a:hover, .rv-post-nav a:focus-visible { transform: translateY(-2px); }
.rv-post-nav__next { grid-column: 2; text-align: right; }
.rv-post__back { margin: 34px 0 clamp(60px, 8vw, 95px); }

.rv-blog-list__body { padding: clamp(50px, 7vw, 90px) 0; }
.rv-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.rv-post-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--rv-radius); background: var(--rv-white); box-shadow: 0 8px 30px rgba(91,39,24,.08); }
.rv-post-card__media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.rv-post-card__body { display: flex; flex: 1; flex-direction: column; padding: 26px 28px 28px; }
.rv-post-card__date { margin: 0 0 8px; color: var(--rv-muted); font-size: .85rem; }
.rv-post-card__title { margin: 0 0 12px; font-size: 1.4rem; line-height: 1.25; }
.rv-post-card__title a { color: var(--rv-forest-deep); text-decoration: none; }
.rv-post-card__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.rv-post-card__excerpt { margin: 0 0 18px; color: var(--rv-muted); line-height: 1.65; }
.rv-post-card .rv-card__more { margin-top: auto; }
.rv-blog-empty { max-width: 680px; color: var(--rv-muted); font-size: 1.1rem; line-height: 1.7; }

.rv-pagination { margin-top: 44px; }
.rv-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rv-pagination a, .rv-pagination span { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 14px; border-radius: 999px; background: var(--rv-white); color: var(--rv-forest); font-weight: 700; text-decoration: none; }
.rv-pagination .current { background: var(--rv-forest); color: var(--rv-white); }

@media (max-width: 900px) {
  .rv-post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .rv-post-grid { grid-template-columns: 1fr; }
  .rv-post-nav { grid-template-columns: 1fr; }
  .rv-post-nav__next { grid-column: 1; text-align: left; }
  .rv-post-cta .rv-actions .rv-button { width: 100%; }
  .rv-post__content { font-size: 1.06rem; }
}
