/* ==========================================================================
   EBLAW - Listado de Casos de Éxito / Blog
   ========================================================================== */

.blog-list-wrapper {
  --eb-text: #1f2430;
  --eb-text-light: #6b7280;
  --eb-orange: #e0862b;
  --eb-orange-dark: #c96f16;
  --eb-border: #e2e6ea;
  --eb-title-hover: #c96f16;
  --eb-font: 'Poppins', 'Inter', 'Segoe UI', Arial, sans-serif;

  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 0;
  font-family: var(--eb-font);
  color: var(--eb-text);
}

/* ---------- Card ---------- */

.blog-list-wrapper .blog-card {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  padding: 36px 40px;
  margin-bottom: 28px;
  background: #ffffff;
  border: 1px solid var(--eb-border);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(29, 45, 68, 0.04);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-list-wrapper .blog-card:last-child {
  margin-bottom: 0;
}

.blog-list-wrapper .blog-card:hover {
  border-color: #d5dae0;
  box-shadow: 0 6px 24px rgba(29, 45, 68, 0.08);
}

/* ---------- Thumbnail ---------- */

.blog-list-wrapper .blog-card__thumb {
  flex: 0 0 260px;
  width: 260px;
  height: 175px;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  background: #f2f2f2;
}

.blog-list-wrapper .blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.blog-list-wrapper .blog-card__thumb:hover img {
  transform: scale(1.04);
}

/* ---------- Body ---------- */

.blog-list-wrapper .blog-card__body {
  flex: 1;
  min-width: 0;
}

.blog-list-wrapper .blog-card__title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
}

.blog-list-wrapper .blog-card__title a {
  color: var(--eb-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-list-wrapper .blog-card__title a:hover {
  color: var(--eb-title-hover);
}

/* ---------- Meta row ---------- */

.blog-list-wrapper .blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--eb-text-light);
}

.blog-list-wrapper .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.blog-list-wrapper .meta-item svg {
  width: 13px;
  height: 13px;
  fill: var(--eb-orange);
  flex-shrink: 0;
}

.blog-list-wrapper .meta-cat {
  color: var(--eb-orange-dark);
  font-weight: 600;
}

/* ---------- Excerpt ---------- */

.blog-list-wrapper .blog-card__excerpt {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.65;
  color: #4a4f58;
}

/* ---------- Button ---------- */

.blog-list-wrapper .blog-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1.5px solid var(--eb-orange);
  border-radius: 4px;
  color: var(--eb-orange-dark);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.blog-list-wrapper .blog-card__btn span {
  transition: transform 0.2s ease;
}

.blog-list-wrapper .blog-card__btn:hover {
  background: var(--eb-orange);
  color: #ffffff;
}

.blog-list-wrapper .blog-card__btn:hover span {
  transform: translateX(4px);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
  .blog-list-wrapper {
    padding: 32px 0;
  }

  .blog-list-wrapper .blog-card {
    padding: 28px 24px;
    margin-bottom: 20px;
    gap: 24px;
  }

  .blog-list-wrapper .blog-card__thumb {
    flex: 0 0 200px;
    width: 200px;
    height: 140px;
  }
}

@media (max-width: 640px) {
  .blog-list-wrapper .blog-card {
    flex-direction: column;
    gap: 20px;
    padding: 24px 20px;
  }

  .blog-list-wrapper .blog-card__thumb {
    width: 100%;
    flex-basis: auto;
    height: 200px;
  }

  .blog-list-wrapper .blog-card__title {
    font-size: 19px;
  }
}
