/* ==========================================================================
   Cerâmica Prado — Blog (v2) — específico de /blog
   Requer css/ds.css (base). Escopo: body.ds-body
   ========================================================================== */

/* Card de post (listagem) */
.ds-post-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--ds-line);
	border-radius: var(--ds-radius);
	overflow: hidden;
	height: 100%;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ds-post-card:hover { transform: translateY(-4px); border-color: rgba(255, 99, 0, .35); box-shadow: 0 26px 44px -30px rgba(28, 22, 17, .55); }
.ds-post-media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--ds-cream); border-bottom: 1px solid var(--ds-line); overflow: hidden; }
.ds-post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ds-post-card:hover .ds-post-media img { transform: scale(1.05); }
.ds-post-media-empty { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--ds-ink-soft); font-size: .9rem; }
.ds-post-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.ds-post-date { font-size: .82rem; color: var(--ds-ink-soft); margin-bottom: .5rem; }
.ds-post-title { font-size: 1.15rem; font-weight: 600; line-height: 1.3; margin: 0 0 .6rem; }
.ds-post-title a { color: var(--ds-ink); text-decoration: none; }
.ds-post-card:hover .ds-post-title a { color: var(--ds-orange); }
.ds-post-excerpt { font-size: .94rem; line-height: 1.6; color: var(--ds-ink-soft); margin: 0 0 1.25rem; }
.ds-post-more { margin-top: auto; font-weight: 600; font-size: .92rem; color: var(--ds-orange); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.ds-post-more:hover { color: var(--ds-orange-hover); }
.ds-post-more i { transition: transform .18s ease; }
.ds-post-more:hover i { transform: translate(2px, -2px); }

/* Matéria */
.ds-post-cover { width: 100%; height: auto; border-radius: var(--ds-radius-lg); margin-bottom: 2rem; display: block; }
.ds-post-content { font-size: 1.06rem; }

/* Aside "Mais posts" */
.ds-post-aside {
	position: sticky;
	top: 96px;
	background: var(--ds-cream);
	border: 1px solid var(--ds-line);
	border-radius: var(--ds-radius-lg);
	padding: 1.75rem;
}
.ds-post-aside-title { font-size: 1.3rem; font-weight: 600; margin: .6rem 0 1.25rem; }
.ds-post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.ds-post-mini { display: flex; gap: .85rem; text-decoration: none; align-items: center; }
.ds-post-mini-media { flex: none; width: 78px; height: 60px; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--ds-line); }
.ds-post-mini-media img { width: 100%; height: 100%; object-fit: cover; }
.ds-post-mini-body { min-width: 0; }
.ds-post-mini-title { display: block; font-size: .92rem; font-weight: 600; line-height: 1.3; color: var(--ds-ink); transition: color .18s ease; }
.ds-post-mini:hover .ds-post-mini-title { color: var(--ds-orange); }
.ds-post-mini-date { display: block; margin-top: .25rem; font-size: .78rem; color: var(--ds-ink-soft); }

@media (max-width: 991.98px) {
	.ds-post-aside { position: static; }
}
