/* /blog/css/blog.css */

/* ===== Listado (index) ===== */
.vc-blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .08);
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease;
}

.vc-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, .1);
  color: inherit;
}

.vc-blog-card-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
}

.vc-blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vc-blog-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}

.vc-blog-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin: .35rem 0 0;
  color: #000;
}

.vc-blog-card-desc {
  font-size: .9rem;
  color: #5f6b7a;
  line-height: 1.45;
  margin: 0;
  flex: 1;
}

.vc-blog-card-date {
  font-size: .8rem;
  color: #8a94a3;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ===== Artículo individual ===== */
.vc-blog-article {
  padding: 3rem 0 4rem;
  max-width: 100%;
}

.vc-blog-meta-top {
  font-size: .85rem;
  color: #5f6b7a;
  text-transform: uppercase;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
}

.vc-blog-meta-sep {
  opacity: .5;
}

.vc-blog-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 900px;
  margin-bottom: 1rem;
}

.vc-blog-lead {
  font-size: 1.15rem;
  color: #5f6b7a;
  line-height: 1.55;
  max-width: 780px;
  margin-bottom: 2rem;
}

.vc-blog-hero-media {
  border-radius: 1.25rem;
  overflow: hidden;
  background: #000;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .35);
  margin-bottom: 2.5rem;
  max-width: 1000px;
}

.vc-blog-hero-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.vc-blog-content {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #232427;
}

.vc-blog-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  color: #000;
}

.vc-blog-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 1.75rem;
  margin-bottom: .75rem;
  color: #000;
}

.vc-blog-content p {
  margin-bottom: 1.25rem;
}

.vc-blog-content ul,
.vc-blog-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.vc-blog-content li {
  margin-bottom: .5rem;
}

.vc-blog-content a {
  color: #332876;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.vc-blog-content strong {
  font-weight: 700;
}

.vc-blog-content code {
  background: rgba(51, 40, 118, .08);
  padding: .15rem .4rem;
  border-radius: .3rem;
  font-size: .92em;
}

.vc-blog-quote {
  border-left: 4px solid #332876;
  padding: .5rem 0 .5rem 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #5f6b7a;
}

.vc-blog-figure {
  margin: 2rem 0;
}

.vc-blog-img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, .25);
  display: block;
}

.vc-blog-figure figcaption {
  font-size: .85rem;
  color: #8a94a3;
  text-align: center;
  margin-top: .6rem;
}

.vc-blog-cta {
  max-width: 720px;
  background: #f7f7fb;
  border: 1px solid rgba(51, 40, 118, .12);
  border-radius: 1.25rem;
  padding: 2rem;
  margin-top: 3rem;
  text-align: center;
}

.vc-blog-cta h3 {
  font-weight: 700;
  margin-bottom: .5rem;
}

.vc-blog-cta p {
  color: #5f6b7a;
  margin-bottom: 1.25rem;
}

.vc-blog-back {
  max-width: 720px;
  margin-top: 2rem;
}

.vc-blog-back a {
  color: #332876;
  font-weight: 600;
  text-decoration: none;
}

.vc-blog-back a:hover {
  text-decoration: underline;
}

@media (max-width: 575.98px) {
  .vc-blog-content {
    font-size: 1rem;
  }
  .vc-blog-cta {
    padding: 1.5rem;
  }
}


.vc-blog-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .4rem .85rem;
  border-radius: 999px;
  background: #e30613;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1;
}