.slider-container {
  position: relative;
  margin-top: 30px;
}

.slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.slider::-webkit-scrollbar {
  display: none;
}

.card {
  min-width: 280px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: 
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.card-body {
  padding: 15px;
}



.card-body h3 {
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.card-body p {
  font-size: 14px;
  margin-bottom: 4px;
}

.card-price {
  margin-top: 10px;
  font-weight: bold;
  font-size: 18px;
}


.slider-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: var(--primary);
  border: none;
  color: white;
  font-size: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}

.slider-btn.left {
  left: -20px;
}

.slider-btn.right {
  right: -20px;
}

.card:hover {
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
}


.btn-consultar {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.blog-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

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

.blog-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-category {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #f59e0b;
  margin-bottom: 10px;
}

.blog-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #0f172a;
  line-height: 1.3;
}

.blog-date {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 12px;
}

.blog-excerpt {
  font-size: 15px;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.blog-link {
  text-decoration: none;
  font-weight: 700;
  color: #0f172a;
}

.blog-link:hover {
  color: #f59e0b;
}