/* =========================================================
   BASE
   ========================== */
.background-figure{
  margin: 0;
  width: 100%;
}

.nvbs-top_white{ background: #fff; }

.nvbs-top_white .container-fluid{
  padding-left: 12px;
  padding-right: 12px;
}

.img-border_min{ border-radius: 10px; }

.nvbs-hero-img{
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

@supports (object-fit: cover){
  .nvbs-hero-img{
    height: clamp(180px, 28vw, 520px);
    object-fit: cover;
    object-position: center;
  }
}

/* ==========================
   TIPOGRAFÍAS
   ========================== */
.title-lg{
  font-weight: 500;
  margin: 8px 0 16px;
  line-height: 2.75rem;
  letter-spacing: -0.046875rem;
}

.text-meidum{
  font-size: 1rem;
  line-height: 1.75rem;
  color: #000;
  font-weight: 300;
  text-align: justify;
}

/* ==========================
   BADGE
   ========================== */
.badge-light_blue{
  background: #d3e4fd;
  display: inline-flex; /* mejor comportamiento dentro de flex */
  align-items: center;
  width: auto;
  max-width: 100%;
  padding: 0.1rem 1rem;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.85rem;
  margin: 0;
}

/* ==========================
   LISTAS
   ========================== */
.list-num{
  list-style-type: decimal !important;
  margin-left: 1.2rem;
  padding-left: 1rem;
  color: #000;
  font-weight: 300;
}
.list-num li{ margin-bottom: .4rem; }

.list-alpha{
  list-style-type: lower-alpha !important;
  margin-left: 1.2rem;
  padding-left: 1rem;
}
.list-alpha li{ margin-bottom: .3rem; }

/* ==========================
   THUMB
   ========================== */
.nvbs-thumb{
  background: #f7f8fb;
  border-radius: .5rem;
  box-shadow: 0 3px 14px rgba(0,0,0,.08);
}

/* =========================================================
   FUENTE (simple) - se oculta cuando JS renderiza
   ========================================================= */
.nvbs-lista[data-nvbs-source="items"]{
  display: block;
}

.nvbs-lista[data-nvbs-source="items"] .nvbs-item{
  padding: 2rem 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.nvbs-lista[data-nvbs-source="items"] .nvbs-item:last-child{
  border-bottom: 0;
}

.nvbs-lista[data-nvbs-source="items"] img[data-nvbs="img"]{
  display: block;
  width: 100%;
  height: auto;
  margin-top: 1rem;
  border-radius: .5rem;
}

/* Cuando el JS “enhanced” está activo, escondemos la fuente */
body.nvbs-enhanced .nvbs-lista[data-nvbs-source="items"]{
  display: none !important;
}

/* =========================================================
   LIBERACIONES (render JS alternado)
   ========================================================= */
.nvbs-release-item{
  padding: 3rem 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.nvbs-release-item:last-child{
  border-bottom: 0;
}

.nvbs-release-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
}

.nvbs-release-content .badge-light_blue{
  margin-bottom: .5rem;
}

.nvbs-release-media img{
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 768px){
  .nvbs-release-grid{
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  /* alternancia desktop (JS agrega is-even / is-odd) */
  .nvbs-release-item.is-odd .nvbs-release-media{ order: 1; }
  .nvbs-release-item.is-odd .nvbs-release-content{ order: 2; }
  .nvbs-release-item.is-even .nvbs-release-content{ order: 1; }
  .nvbs-release-item.is-even .nvbs-release-media{ order: 2; }
}

/* =========================================================
   SECCIÓN: EXPLORA MÁS FUNCIONALIDADES (cards HOME)
   ========================================================= */
.section-explore-features{
  padding: 4rem 0;
  background: #f5f7fb;
}

.explore-features-title{
  font-family: var(--font-title-family);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--color-secondary-blue);
  margin-bottom: 2.5rem;
}

/* Card base */
.explore-feature-card{
  position: relative;
  background: #edf2fa;
  border-radius: 24px;
  padding: 1.5rem;
  padding-bottom: 4.25rem; /* reserva espacio para el botón + */
  height: 100%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.explore-feature-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

/* Media */
.explore-feature-media{
  margin-bottom: 1.25rem;
}
.explore-feature-img{
  width: 100%;
  height: auto;
  display: block;
}

/* Si quieres mantener el borde “izq/der” según index */
.explore-feature-media--left .explore-feature-img{ border-radius: 20px 0 0 20px; }
.explore-feature-media--right .explore-feature-img{ border-radius: 0 20px 20px 0; }

/* Content spacing (FIX badge full width + aire) */
.explore-feature-content{
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: flex-start; /* <- clave para que el badge no se estire */
}

/* Título y texto */
.explore-feature-title{
  font-family: var(--font-title-family);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-secondary-blue);
  margin: 0.15rem 0 0.15rem;
}

.explore-feature-text{
  font-family: var(--font-body-family);
  font-size: 0.95rem;
  color: var(--color-secondary-gray);
  margin: 0;
  max-width: 90%;
}

/* Botón + */
.explore-feature-plus{
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--color-primary-blue);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  z-index: 2;
  transition: background 0.2s ease, transform 0.2s ease;
}
.explore-feature-plus:hover{
  background: var(--color-secondary-blue);
  transform: scale(1.05);
}

/* Modal */
.modal-content{ font-family: var(--font-body-family); }
.modal-title{
  font-family: var(--font-title-family);
  font-weight: 600;
  color: var(--color-secondary-blue);
}

/* Botón "Ver más" */
.explore-more-wrapper{
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.explore-more-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.9rem;
  border-radius: 999px;
  border: none;
  background: rgb(201 219 239);
  color: var(--color-secondary-blue);
  font-family: var(--font-body-family);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.explore-more-btn:hover,
.explore-more-btn:focus{
  background: rgba(32, 104, 197, 0.18);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
  outline: none;
}
.explore-more-arrow{ font-size: 1rem; }

/* =========================================================
   ARCHIVE (si lo usas en /sheet/novedades-bsale)
   ========================================================= */
.nvbs-archive{ padding-bottom: 3rem; }

.nvbs-archive-grid{
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 18px;
}
@media (min-width: 576px){
  .nvbs-archive-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 992px){
  .nvbs-archive-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.nvbs-archive-col{ min-width: 0; }

.nvbs-archive-footer{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 0 0;
}

.nvbs-results{
  margin: 0;
  font-size: .95rem;
  color: rgba(0,0,0,.6);
}

.nvbs-more-btn{
  border: none;
  border-radius: 999px;
  padding: .65rem 1.2rem;
  font-weight: 700;
  background: rgb(201 219 239);
  color: var(--color-secondary-blue);
  cursor: pointer;
}

/* Chips */
.nvbs-chip{
  align-items: center;
  border: 1px solid #5f6368;
  border-radius: 100px;
  color: #3c4043;
  cursor: pointer;
  display: inline-flex;
  margin-left: 5px;
  font-size: 1rem;
  font-weight: 500;
  height: 36px;
  padding: 6px 16px;
  background: #fff;
}
.nvbs-chip.is-active{
  border-color: var(--color-secondary-blue);
  color: var(--color-secondary-blue);
}

/* =========================================================
   ARCHIVE – Mobile: texto primero, imagen después
   (solo si el body trae data-nvbs-page="archive")
   ========================================================= */
@media (max-width: 767px){
  body[data-nvbs-page="archive"] .nvbs-archive-card{
    display: flex;
    flex-direction: column;
  }
  body[data-nvbs-page="archive"] .nvbs-archive-card .explore-feature-content{ order: 1; }
  body[data-nvbs-page="archive"] .nvbs-archive-card .explore-feature-media{ order: 2; }
}
