/*
Theme Name: Clinica Cha Blog
Theme URI: https://chacentro.com.br/blog
Author: Clinica Cha
Author URI: https://chacentro.com.br/
Description: Lightweight custom theme for the Clinica Cha blog, aligned with the static site visual language.
Version: 0.1.1
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: clinica-cha-blog
*/

:root {
  --cha-content-width: 760px;
}

body.blog,
body.archive,
body.single-post {
  background: #f7f3ef;
}

.cha-blog-main {
  min-height: 60vh;
}

.cha-blog-hero {
  padding: 4rem 0 2rem;
}

.cha-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.cha-blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cha-blog-card .blog22_item-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cha-blog-card .text-size-regular {
  flex-grow: 1;
}

.cha-blog-article {
  max-width: var(--cha-content-width);
  margin: 0 auto;
}

.cha-blog-article .w-richtext,
.cha-blog-article .cha-post-content {
  font-family: "Mulish", sans-serif;
  line-height: 1.75;
}

.cha-blog-article .cha-post-content p,
.cha-blog-article .cha-post-content li {
  margin-bottom: 1rem;
}

.cha-blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.cha-blog-empty {
  padding: 2rem;
  border: 1px solid rgba(22, 22, 22, 0.08);
  background: rgba(255, 255, 255, 0.8);
}

@media screen and (max-width: 767px) {
  .cha-blog-hero {
    padding-top: 2.5rem;
  }
}
