@charset "UTF-8";
/**
 * Estilos para Grid de Artículos del Blog - PATRÓN ORGANIZADO
 * Template: sections/blog-card.html
 * Usa SOLO variables CSS (var) del sistema GAP
 * Patrón: Cada 7 cards con layout asimétrico controlado
 */
.blog-cards-grid {
  padding: 4rem 0;
  background: var(--bg-primary);
}
@media (max-width: 768px) {
  .blog-cards-grid {
    padding: 2rem 0;
  }
}
.blog-cards-grid .blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
}
@media (max-width: 1200px) {
  .blog-cards-grid .blog-posts-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}
@media (max-width: 768px) {
  .blog-cards-grid .blog-posts-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.blog-cards-grid .blog-post-card {
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}
.blog-cards-grid .blog-post-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}
.blog-cards-grid .blog-post-card:nth-child(7n+1) {
  grid-column: span 2;
  grid-row: span 2;
}
.blog-cards-grid .blog-post-card:nth-child(7n+1) .card-image {
  height: 450px;
}
.blog-cards-grid .blog-post-card:nth-child(7n+1) .card-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}
@media (max-width: 1200px) {
  .blog-cards-grid .blog-post-card:nth-child(7n+1) {
    grid-column: span 2;
    grid-row: span 1;
  }
  .blog-cards-grid .blog-post-card:nth-child(7n+1) .card-image {
    height: 280px;
  }
}
@media (max-width: 768px) {
  .blog-cards-grid .blog-post-card:nth-child(7n+1) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .blog-cards-grid .blog-post-card:nth-child(7n+1) .card-image {
    height: 220px;
  }
}
.blog-cards-grid .blog-post-card:nth-child(7n+2), .blog-cards-grid .blog-post-card:nth-child(7n+3) {
  grid-column: span 2;
}
@media (max-width: 1200px) {
  .blog-cards-grid .blog-post-card:nth-child(7n+2), .blog-cards-grid .blog-post-card:nth-child(7n+3) {
    grid-column: span 2;
  }
}
@media (max-width: 768px) {
  .blog-cards-grid .blog-post-card:nth-child(7n+2), .blog-cards-grid .blog-post-card:nth-child(7n+3) {
    grid-column: span 1;
  }
}
.blog-cards-grid .blog-post-card:nth-child(7n+4) {
  grid-column: span 4;
}
.blog-cards-grid .blog-post-card:nth-child(7n+4) .card-link {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.blog-cards-grid .blog-post-card:nth-child(7n+4) .card-image {
  height: 100%;
  min-height: 280px;
}
@media (max-width: 1200px) {
  .blog-cards-grid .blog-post-card:nth-child(7n+4) {
    grid-column: span 4;
  }
  .blog-cards-grid .blog-post-card:nth-child(7n+4) .card-link {
    grid-template-columns: 1fr;
  }
  .blog-cards-grid .blog-post-card:nth-child(7n+4) .card-image {
    height: 250px;
  }
}
@media (max-width: 768px) {
  .blog-cards-grid .blog-post-card:nth-child(7n+4) {
    grid-column: span 1;
  }
}
.blog-cards-grid .blog-post-card:nth-child(7n+5), .blog-cards-grid .blog-post-card:nth-child(7n+6), .blog-cards-grid .blog-post-card:nth-child(7n+7) {
  grid-column: span 2;
}
@media (max-width: 1200px) {
  .blog-cards-grid .blog-post-card:nth-child(7n+5), .blog-cards-grid .blog-post-card:nth-child(7n+6), .blog-cards-grid .blog-post-card:nth-child(7n+7) {
    grid-column: span 2;
  }
}
@media (max-width: 768px) {
  .blog-cards-grid .blog-post-card:nth-child(7n+5), .blog-cards-grid .blog-post-card:nth-child(7n+6), .blog-cards-grid .blog-post-card:nth-child(7n+7) {
    grid-column: span 1;
  }
}
.blog-cards-grid .blog-post-card .card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}
.blog-cards-grid .blog-post-card .card-image {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}
.blog-cards-grid .blog-post-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.blog-cards-grid .blog-post-card .card-image:hover img {
  transform: scale(1.1);
}
.blog-cards-grid .blog-post-card .card-image .premium-badge-small {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  color: var(--color-white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: var(--shadow-md);
}
.blog-cards-grid .blog-post-card .card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.blog-cards-grid .blog-post-card .card-content .post-category-small {
  display: inline-block;
  background: var(--color-primary-ultra-light);
  color: var(--color-primary);
  color: white;
  padding: 0.35rem 0.9rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  width: fit-content;
}
.blog-cards-grid .blog-post-card .card-content .card-title {
  font-family: var(--font-display);
  font-weight: var(--font-bold);
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  line-height: var(--lh-tight);
  color: var(--color-gray-900);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}
.blog-cards-grid .blog-post-card .card-content:hover .card-title {
  color: var(--color-primary);
}
.blog-cards-grid .blog-post-card .card-content .post-meta-small {
  display: flex;
  gap: 0.8rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}
.blog-cards-grid .blog-post-card .card-content .post-meta-small span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.blog-cards-grid .blog-post-card .card-content .post-meta-small span i {
  color: var(--color-primary);
  font-size: 0.9rem;
}
.blog-cards-grid .blog-post-card .card-content .card-excerpt {
  font-family: var(--font-text);
  font-weight: var(--font-regular);
  font-size: 0.95rem;
  line-height: var(--lh-relaxed);
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.blog-cards-grid .no-posts {
  grid-column: 1/-1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}
.blog-cards-grid .no-posts i {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
  color: var(--color-gray-400);
}
.blog-cards-grid .no-posts p {
  font-size: 1.2rem;
  color: var(--text-secondary);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.blog-post-card {
  animation: fadeInUp 0.6s ease-out both;
}
.blog-post-card:nth-child(1) {
  animation-delay: 0.05s;
}
.blog-post-card:nth-child(2) {
  animation-delay: 0.1s;
}
.blog-post-card:nth-child(3) {
  animation-delay: 0.15s;
}
.blog-post-card:nth-child(4) {
  animation-delay: 0.2s;
}
.blog-post-card:nth-child(5) {
  animation-delay: 0.25s;
}
.blog-post-card:nth-child(6) {
  animation-delay: 0.3s;
}
.blog-post-card:nth-child(7) {
  animation-delay: 0.35s;
}
.blog-post-card:nth-child(8) {
  animation-delay: 0.4s;
}
.blog-post-card:nth-child(9) {
  animation-delay: 0.45s;
}
.blog-post-card:nth-child(10) {
  animation-delay: 0.5s;
}
.blog-post-card:nth-child(11) {
  animation-delay: 0.55s;
}
.blog-post-card:nth-child(12) {
  animation-delay: 0.6s;
}
.blog-post-card:nth-child(13) {
  animation-delay: 0.65s;
}
.blog-post-card:nth-child(14) {
  animation-delay: 0.7s;
}
.blog-post-card:nth-child(15) {
  animation-delay: 0.75s;
}
.blog-post-card:nth-child(16) {
  animation-delay: 0.8s;
}
.blog-post-card:nth-child(17) {
  animation-delay: 0.85s;
}
.blog-post-card:nth-child(18) {
  animation-delay: 0.9s;
}
.blog-post-card:nth-child(19) {
  animation-delay: 0.95s;
}
.blog-post-card:nth-child(20) {
  animation-delay: 1s;
}

.blog-filters-section {
  max-width: 1320px;
  margin-inline: auto;
  background-color: var(--filter-bg, var(--color-white));
  background: white;
  /* === RESPONSIVE === */
}
.blog-filters-section h3 {
  color: var(--color-primary);
  font-family: var(--blog-title-font);
  font-weight: var(--font-bold);
  font-size: clamp(2rem, 4vw, 3rem);
  font-style: italic;
  padding: 3rem 0 1rem;
}
.blog-filters-section .filters-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}
.blog-filters-section .filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-text);
}
.blog-filters-section .filter-group label {
  font-weight: var(--font-semibold, 600);
  color: var(--text-primary);
  font-size: 0.95rem;
  white-space: nowrap;
}
.blog-filters-section .filter-select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color, var(--color-gray-300));
  border-radius: var(--border-radius-base, 8px);
  background-color: var(--color-white);
  color: var(--text-primary);
  font-size: 0.9rem;
  cursor: pointer;
  min-width: 150px;
  appearance: none;
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23000000' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}
.blog-filters-section .filter-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.2);
  outline: none;
}
.blog-filters-section .clear-btn.btn-outline-primary {
  color: var(--color-primary);
  border-color: var(--color-primary);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: var(--font-medium, 500);
  transition: all 0.2s ease;
}
.blog-filters-section .clear-btn.btn-outline-primary i {
  margin-right: 0.4rem;
}
.blog-filters-section .clear-btn.btn-outline-primary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}
@media (max-width: 650px) {
  .blog-filters-section .filters-wrapper {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .blog-filters-section .filter-group {
    justify-content: space-between;
  }
  .blog-filters-section .filter-select,
  .blog-filters-section .clear-btn {
    width: 100%;
    min-width: auto;
  }
}

.blog-latest-3 {
  padding: 4rem 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}
.blog-latest-3 h3 {
  font-family: var(--blog-title-font);
  font-weight: var(--font-bold);
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--color-primary);
  margin-bottom: 2rem;
  font-style: italic;
}
.blog-latest-3 .latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 1024px) {
  .blog-latest-3 .latest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .blog-latest-3 .latest-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.blog-latest-3 .latest-card {
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.blog-latest-3 .latest-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
}
.blog-latest-3 .latest-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog-latest-3 .latest-image-wrapper {
  width: 100%;
  height: 320px;
  position: relative;
}
.blog-latest-3 .latest-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-latest-3 .latest-card:hover .latest-image-wrapper img {
  transform: scale(1.1);
}
.blog-latest-3 .latest-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}
.blog-latest-3 .latest-category-badge {
  display: inline-block;
  background: var(--color-primary-ultra-light);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 1px;
  width: fit-content;
}
.blog-latest-3 .latest-card h4 {
  font-size: 1.4rem;
  font-weight: var(--font-bold);
  color: var(--color-gray-900);
  margin: 0;
  line-height: var(--lh-tight);
  transition: color 0.3s ease;
}
.blog-latest-3 .latest-card:hover h4 {
  color: var(--color-primary);
}
.blog-latest-3 .latest-excerpt {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: var(--lh-relaxed);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-latest-3 .latest-meta {
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.blog-latest-3 .latest-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.blog-latest-3 .latest-meta i {
  color: var(--color-primary);
}

.blog-library-full {
  padding: 4rem 0;
  background: var(--bg-primary);
}

.premium-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  height: auto;
  min-width: 120px;
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  color: var(--color-white);
  border-radius: 50px;
  font-weight: var(--font-bold, 700);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(243, 156, 18, 0.4), 0 0 20px rgba(230, 126, 34, 0.3);
  filter: drop-shadow(0 0 8px rgba(255, 200, 50, 0.6));
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 10;
}
.premium-badge i {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  animation: lockGlow 2s ease-in-out infinite;
}
.premium-badge span {
  font-family: var(--font-display, "Inter", sans-serif);
  font-weight: var(--font-bold, 700);
  font-size: 0.85rem;
}
.premium-badge:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(243, 156, 18, 0.5), 0 0 30px rgba(230, 126, 34, 0.4);
  filter: drop-shadow(0 0 12px rgba(255, 200, 50, 0.8)) brightness(1.1);
}
.premium-badge:active {
  transform: translateY(-2px) scale(0.98);
  box-shadow: 0 6px 16px rgba(243, 156, 18, 0.4);
}

/**
 * Animación de brillo para el icono del candado
 * Simula un efecto de destello luminoso
 */
@keyframes lockGlow {
  0%, 100% {
    text-shadow: 0 0 8px rgba(255, 200, 50, 0.6), 0 0 16px rgba(243, 156, 18, 0.3);
  }
  50% {
    text-shadow: 0 0 16px rgba(255, 200, 50, 0.9), 0 0 24px rgba(243, 156, 18, 0.5), 0 0 32px rgba(230, 126, 34, 0.3);
  }
}
/**
 * Animación de entrada del badge
 * Se aplica cuando aparece por primera vez
 */
@keyframes badgePop {
  0% {
    opacity: 0;
    transform: scale(0.6) rotate(-10deg);
  }
  50% {
    transform: scale(1.1) rotate(5deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}/*# sourceMappingURL=blog-library.css.map */