/* ===== BLOG HERO ===== */
.blog-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
  padding: 48px 0 40px;
  color: #fff;
}
.blog-breadcrumb .breadcrumb-item a { color: var(--gold, #C8A96E); text-decoration: none; font-size: 13px; }
.blog-breadcrumb .breadcrumb-item.active { color: rgba(255,255,255,.55); font-size: 13px; }
.blog-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.3); }

.blog-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin: 12px 0 8px;
  line-height: 1.15;
}
.blog-hero-sub { color: rgba(255,255,255,.65); font-size: 15px; margin: 0; }

/* Categorías pills */
.blog-cat-btn {
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.75);
  border-radius: 24px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .18s;
}
.blog-cat-btn:hover { background: rgba(200,169,110,.15); border-color: #C8A96E; color: #C8A96E; }
.blog-cat-btn.active { background: #C8A96E; border-color: #C8A96E; color: #fff; font-weight: 700; }

/* ===== ARTÍCULO DESTACADO ===== */
.featured-article {
  position: relative;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.featured-article__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,20,.92) 0%, rgba(10,10,20,.45) 55%, rgba(10,10,20,.1) 100%);
  border-radius: inherit;
}
.featured-article__body {
  position: relative;
  z-index: 1;
  padding: 40px;
  color: #fff;
  width: 100%;
}
.featured-article__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  max-width: 720px;
  line-height: 1.3;
  margin: 12px 0 10px;
}
.featured-article__excerpt {
  color: rgba(255,255,255,.75);
  font-size: 15px;
  max-width: 640px;
  line-height: 1.6;
  margin: 0;
}

/* Tag de categoría */
.blog-tag {
  display: inline-block;
  background: #C8A96E;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.blog-tag--light { background: rgba(200,169,110,.85); backdrop-filter: blur(4px); }

/* Autor en featured */
.blog-author-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.3);
  object-fit: cover;
}
.blog-author-name { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.2; }
.blog-author-role { font-size: 11px; color: rgba(255,255,255,.55); }

/* ===== TARJETAS DE ARTÍCULO ===== */
.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  transition: transform .22s, box-shadow .22s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.10); }

.blog-card__img {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
  flex-shrink: 0;
  transition: transform .3s;
}
.blog-card:hover .blog-card__img { transform: scale(1.03); }
.blog-card > a { overflow: hidden; }

.blog-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card__meta {
  display: flex;
  gap: 14px;
  font-size: 11px;
  color: #9ca3af;
  margin-bottom: 8px;
}
.blog-card__title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.45;
  margin-bottom: 8px;
  flex: 1;
}
.blog-card__title a { color: inherit; text-decoration: none; }
.blog-card__title a:hover { color: #C8A96E; }
.blog-card__excerpt { font-size: 13px; color: #6b7280; line-height: 1.55; margin-bottom: 14px; }
.blog-card__footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #f0ece4;
  margin-top: auto;
}
.blog-author-img-sm {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.blog-author-sm { font-size: 12px; color: #6b7280; font-weight: 500; }

/* ===== SIDEBAR ===== */
.blog-widget {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
}
.blog-widget-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #C8A96E;
  display: inline-block;
}

/* Categorías del sidebar */
.blog-widget-cat { border-bottom: 1px solid #f5f4f0; }
.blog-widget-cat:last-child { border-bottom: none; }
.blog-widget-cat a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: 13px;
  color: #374151;
  text-decoration: none;
  transition: color .15s;
}
.blog-widget-cat a:hover { color: #C8A96E; }
.blog-widget-cat a span {
  background: #f5f4f0;
  color: #6b7280;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}
.blog-widget-cat a:hover span { background: #C8A96E; color: #fff; }

/* Artículos populares */
.blog-popular-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.blog-popular-img {
  width: 60px;
  height: 52px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.blog-popular-title {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.4;
  margin-bottom: 4px;
  transition: color .15s;
}
.blog-popular-item:hover .blog-popular-title { color: #C8A96E; }
.blog-popular-meta { font-size: 11px; color: #9ca3af; }

/* Newsletter */
.blog-newsletter {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
  border-radius: 12px;
  padding: 24px;
  color: #fff;
  text-align: center;
}
.blog-newsletter__icon {
  font-size: 28px;
  color: #C8A96E;
  margin-bottom: 10px;
}
.blog-newsletter h6 { color: #fff; }
.blog-newsletter .form-control {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
}
.blog-newsletter .form-control::placeholder { color: rgba(255,255,255,.4); }
.blog-newsletter .form-control:focus { background: rgba(255,255,255,.15); border-color: #C8A96E; box-shadow: none; color: #fff; }

/* ===== PAGINACIÓN ===== */
.page-link-gold {
  background-color: #C8A96E !important;
  border-color: #C8A96E !important;
  color: #fff !important;
}
.page-link:hover { color: #C8A96E; }

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .featured-article { min-height: 320px; }
  .featured-article__body { padding: 24px 20px; }
  .featured-article__body .d-flex { flex-wrap: wrap; gap: 12px !important; }
  .featured-article__body .btn { width: 100%; justify-content: center; }
}
