/* Path: dinamics/novedades_home/novedades_home.css */

.nov-home-block {
  position: relative;
}

.nov-home-toolbar {
  margin-top: -10px;
}

.nov-home-nav {
  gap: 12px;
}

.nov-home-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #d7e1eb;
  background: #fff;
  color: #2f89fc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}

.nov-home-nav-btn:hover {
  background: #2f89fc;
  color: #fff;
  border-color: #2f89fc;
}

.nov-home-nav-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.nov-home-counter {
  font-size: 14px;
  min-width: 115px;
  text-align: center;
}

#novHomeGrid {
  width: 100%;
}

#novHomeGrid .nov-home-item {
  padding: 4px 2px 10px;
}

#novHomeGrid .blog-entry {
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

#novHomeGrid .blog-entry .block-20 {
  background-color: #f1f4f8;
  position: relative;
  overflow: hidden;
}

#novHomeGrid .nov-home-open,
#novHomeGrid .nov-home-open:focus,
#novHomeGrid .nov-home-open:hover {
  text-decoration: none;
}

#novHomeGrid .nov-home-empty-img {
  position: relative;
}

#novHomeGrid .nov-home-empty-img::after {
  content: "Sin imagen";
  position: absolute;
  right: 8px;
  bottom: 8px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: #666;
  padding: 2px 8px;
  border-radius: 999px;
}

#novHomeGrid .nov-home-image-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  max-width: calc(100% - 18px);
  background: rgba(47, 137, 252, 0.95);
  color: #fff;
  font-size: 11px;
  line-height: 1.2;
  padding: 5px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#novHomeGrid .nov-home-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

#novHomeGrid .nov-home-title {
  min-height: 3.1em;
}

#novHomeGrid .nov-home-title a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.55;
}

#novHomeGrid .nov-home-resumen {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.55;
  min-height: 4.65em;
  margin-bottom: 16px;
}

#novHomeGrid .nov-home-actions {
  margin-top: auto;
}

#novHomeGrid .nov-home-meta-whatsapp {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

#novHomeGrid .nov-home-meta-whatsapp svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}

#novHomeGrid.owl-carousel .owl-stage {
  display: flex;
}

#novHomeGrid.owl-carousel .owl-item {
  display: flex;
}

#novHomeGrid.owl-carousel .owl-item > .nov-home-item {
  width: 100%;
}

#novHomeGrid.owl-carousel .owl-stage {
  cursor: grab;
}

#novHomeGrid.owl-carousel .owl-stage:active {
  cursor: grabbing;
}

#novHomeGrid.owl-carousel .owl-dots {
  display: none;
}

#novHomeGrid.nov-home-fallback {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

#novHomeGrid.nov-home-fallback .nov-home-item {
  min-width: 280px;
  max-width: 360px;
  scroll-snap-align: start;
}

#novHomeGrid .nov-home-empty {
  width: 100%;
}

.nov-home-modal .modal-dialog {
  max-width: 1100px;
}

.nov-home-modal .modal-content {
  border-radius: 14px;
}

.nov-home-modal .modal-header {
  border-bottom: 1px solid #eef2f6;
}

.nov-home-modal .modal-footer {
  border-top: 1px solid #eef2f6;
}

.nov-home-summary {
  border-left: 4px solid #2f89fc;
  background: #f6fbff;
  color: #36404a;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.nov-home-info-card {
  border: 1px solid #edf2f7;
  border-radius: 10px;
}

.nov-home-content {
  color: #3f4a56;
  line-height: 1.8;
  font-size: 15px;
}

.nov-home-content p {
  margin: 0 0 .95rem;
}

.nov-home-content-right-wrap {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #edf2f7;
}

.nov-home-hero-wrap {
  border: 1px solid #edf1f5;
  border-radius: 12px;
  overflow: hidden;
  background: #fafcfe;
}

#novHomeHero {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

#novHomeHeroPlaceholder {
  border: 0 !important;
}

.nov-home-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nov-home-thumb {
  width: 86px;
  height: 64px;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  padding: 0;
}

.nov-home-thumb.active {
  border-color: #2f89fc;
  box-shadow: 0 0 0 2px rgba(47, 137, 252, 0.2);
}

@media (max-width: 991.98px) {
  .nov-home-toolbar {
    justify-content: center !important;
  }

  #novHomeHero {
    max-height: 300px;
  }

  .nov-home-content {
    font-size: 14px;
    line-height: 1.7;
  }

  .nov-home-content-right-wrap {
    margin-top: 14px;
    padding-top: 12px;
  }
}

