/* Ajustes Headcore sobre o build original (marcelahakan.com.br) */

/* ---------- Home: grade de artigos (1, 2 ou 3 posts) ---------- */
.hc-blog-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.hc-blog-grid[data-count="loading"] { min-height: 22rem; }
.hc-blog-grid[data-count="1"] { max-width: 26rem; margin-inline: auto; }
@media (min-width: 768px) {
  .hc-blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hc-blog-grid[data-count="1"] { grid-template-columns: minmax(0, 1fr); }
  .hc-blog-grid[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 52rem; margin-inline: auto; }
}

/* ---------- Post: capa ---------- */
.hc-cover {
  display: block;
  width: auto !important;
  max-width: 100%;
  max-height: min(75vh, 680px);
  margin-inline: auto;
  object-fit: contain !important;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(14, 46, 87, 0.10);
}

/* ---------- Post: tipografia do artigo ---------- */
.hc-article {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: #4A4A4A;
  overflow-wrap: break-word;
}
.hc-article > * + * { margin-top: 1.15em; }

.hc-article p.lead {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  line-height: 1.6;
  font-weight: 500;
  color: #0E2E57;
}

.hc-article h2,
.hc-article h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  color: #0E2E57;
  letter-spacing: -0.005em;
}
.hc-article h2 {
  font-size: clamp(1.75rem, 1.35rem + 1.3vw, 2.25rem);
  line-height: 1.2;
  margin-top: 2.6rem;
  padding-top: 2.2rem;
  border-top: 1px solid #E8E4DE;
}
.hc-article h2::before {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  margin-bottom: 1rem;
  background: #C4A265;
}
.hc-article h3 {
  font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.6rem);
  line-height: 1.3;
  margin-top: 2rem;
}
.hc-article h2 + *,
.hc-article h3 + * { margin-top: 0.6em; }

.hc-article strong { color: #0E2E57; font-weight: 600; }
.hc-article em { font-style: italic; }
.hc-article a { color: #A8864A; text-decoration: underline; text-underline-offset: 3px; }
.hc-article a:hover { color: #0E2E57; }

.hc-article ul,
.hc-article ol { padding-left: 1.5em; }
.hc-article ul { list-style: none; }
.hc-article ul > li { position: relative; }
.hc-article ul > li::before {
  content: '';
  position: absolute;
  left: -1.1em;
  top: 0.78em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C4A265;
}
.hc-article ol { list-style: decimal; }
.hc-article ol > li::marker { color: #C4A265; font-weight: 600; }
.hc-article li + li { margin-top: 0.55em; }
.hc-article li > p { margin: 0; }

.hc-article blockquote {
  margin-block: 2rem;
  padding: 1.4rem 1.6rem;
  border-left: 3px solid #C4A265;
  border-radius: 0 14px 14px 0;
  background: #F9F7F4;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.5;
  font-style: italic;
  color: #0E2E57;
}
.hc-article blockquote p { margin: 0; }
.hc-article blockquote p + p { margin-top: 0.6em; }

.hc-article img { max-width: 100%; height: auto; border-radius: 12px; margin-inline: auto; }
.hc-article hr { border: 0; border-top: 1px solid #E8E4DE; margin-block: 2.5rem; }

@media (max-width: 640px) {
  .hc-article { font-size: 1rem; line-height: 1.8; }
  .hc-article p.lead { font-size: 1.25rem; }
  .hc-article h2 { margin-top: 2rem; padding-top: 1.8rem; }
  .hc-article blockquote { font-size: 1.2rem; padding: 1.1rem 1.2rem; margin-inline: 0; }
}

/* ---------- Cards de post (home e /blog): capas verticais recortadas pelo topo ---------- */
a[href^="/blog/"] .aspect-video img { object-position: 50% 15%; }
