@charset "UTF-8";
/*------------------------------------*\
    LA FERIA — entrypoint de estilos
\*------------------------------------*/
/**
 * Modulo autocontenido (laferia/). Estilos propios, sin depender del scss del sitio principal.
 * Se compila a laferia/public/css/laferia.css (ver laferia/gulpfile.js).
 */
/*------------------------------------*\
    $SETTINGS — La Feria (design tokens)
\*------------------------------------*/
/**
 * Tokens extraidos del prototipo (ejemplo_laferia.html).
 * Marca aparte: paleta, tipografia y breakpoints propios de La Feria.
 */
/*------------------------------------*\
    $BASE — reset minimo + elementos raiz
\*------------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.lf-anchor {
  scroll-margin-top: 116px;
}

body {
  margin: 0;
  background: #F5F7F9;
  font-family: "EB Garamond", Georgia, serif;
  color: #1A1A1A;
}

x-dc {
  display: block;
}

helmet {
  display: none;
}

a {
  color: #0D233A;
  text-decoration: none;
}

.wrap {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 32px;
}

/*------------------------------------*\
    $AUTH — anti-flash de sesion
\*------------------------------------*/
/**
 * Mientras <html> tiene `.lf-auth-pending` (lo pone el script de sesion del layout de entrada),
 * se ocultan los elementos que dependen de la sesion, para no mostrar el estado equivocado antes de
 * que responda el endpoint. Se usa `visibility` (no `display`) para no generar layout shift.
 *   - botones del header (login / suscribite)
 *   - `.lf-auth-hide`: contenido de paginas que pueden redirigir (publicar/paywall)
 * El script revela (quita la clase) al resolver, o redirige antes de revelar.
 */
.lf-auth-pending .lf-auth-login,
.lf-auth-pending .lf-auth-sub,
.lf-auth-pending .lf-auth-publicar {
  display: none !important;
}
.lf-auth-pending .lf-auth-hide {
  visibility: hidden !important;
}

.lf-auth-skeleton {
  display: none;
}

.lf-auth-pending .lf-auth-skeleton {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lf-skel-btn {
  display: inline-block;
  height: 36px;
  border-radius: 4px;
  background: linear-gradient(90deg, #ECECEC 25%, #F3F3F3 37%, #ECECEC 63%);
  background-size: 400% 100%;
  animation: lf-skel 1.4s ease infinite;
}
.lf-skel-btn:first-child {
  width: 92px;
}
.lf-skel-btn:last-child {
  width: 108px;
}

.lf-skel-line {
  display: block;
  height: 13px;
  border-radius: 4px;
  margin: 0 0 11px;
  background: linear-gradient(90deg, #ECECEC 25%, #F3F3F3 37%, #ECECEC 63%);
  background-size: 400% 100%;
  animation: lf-skel 1.4s ease infinite;
}

@keyframes lf-skel {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0 0;
  }
}
[data-lf-when] {
  display: none;
}

.lf-splash {
  display: none;
}

.lf-auth-pending .lf-gate {
  display: none;
}
.lf-auth-pending .lf-splash {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #F5F7F9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.lf-spinner {
  width: 34px;
  height: 34px;
  border: 3px solid #E0E0E0;
  border-top-color: #F07040;
  border-radius: 50%;
  animation: lf-spin 0.8s linear infinite;
}

@keyframes lf-spin {
  to {
    transform: rotate(360deg);
  }
}
/*------------------------------------*\
    $BUTTONS
\*------------------------------------*/
@keyframes edPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(240, 112, 64, 0.45);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(240, 112, 64, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(240, 112, 64, 0);
  }
}
.btn-primary {
  display: inline-block;
  background: #F07040;
  color: #ffffff;
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 700;
  font-size: 17px;
  padding: 13px 28px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 120ms;
  text-align: center;
}
.btn-primary:hover {
  background: #D85C2E;
  color: #ffffff;
}

.btn-primary,
.btn-outline,
.btn-navy,
.btn-outline-white {
  white-space: nowrap;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: #0D233A;
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 700;
  font-size: 17px;
  padding: 11px 28px;
  border-radius: 4px;
  border: 2px solid #0D233A;
  cursor: pointer;
  text-decoration: none;
  transition: background 120ms, color 120ms;
  text-align: center;
}
.btn-outline:hover {
  background: #0D233A;
  color: #ffffff;
}

.btn-navy {
  display: inline-block;
  background: #0D233A;
  color: #ffffff;
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 700;
  font-size: 17px;
  padding: 13px 28px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 120ms;
  text-align: center;
}
.btn-navy:hover {
  background: #163352;
  color: #ffffff;
}

.btn-outline-white {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 700;
  font-size: 17px;
  padding: 11px 28px;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  cursor: pointer;
  text-decoration: none;
  transition: background 120ms, border-color 120ms;
  text-align: center;
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #0D233A;
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 18px;
  border-radius: 4px;
  border: 1.5px solid #E0E0E0;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 120ms, color 120ms;
}
.btn-secondary:hover {
  border-color: #0D233A;
  color: #0D233A;
}

/*------------------------------------*\
    $ANIM — utilidades de animacion compartidas
\*------------------------------------*/
/**
 * Entrada fade-up (aparecer subiendo). Usada en la portada y en /feria/publicar (antes estaba
 * inline en el prototipo de la portada; al centralizarla tambien aplica en publicar).
 */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-up {
  animation: fadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.fade-up-2 {
  animation: fadeUp 0.55s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.fade-up-3 {
  animation: fadeUp 0.55s 0.24s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/*------------------------------------*\
    $HEADER — barra superior (logo + CTA)
\*------------------------------------*/
/**
 * Estilos extraidos de los `style="..."` inline del prototipo.
 * Markup: views/partials/laferia/estructura/header.handlebars
 */
.laferia-header {
  background: #ffffff;
  border-bottom: 1px solid #E0E0E0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.laferia-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 16px;
}

.laferia-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.laferia-logo_link_destape, .laferia-logo_link_feria {
  display: flex;
}
.laferia-logo__img {
  height: 26px;
  width: auto;
}
.laferia-logo__divider {
  width: 1px;
  height: 20px;
  background: #E0E0E0;
  flex-shrink: 0;
}
.laferia-logo__brand {
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 700;
  font-size: 16px;
  color: #0D233A;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.laferia-header__nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.laferia-header__nav .btn-primary {
  font-size: 15px;
  padding: 9px 20px;
}

/*------------------------------------*\
    $SUBNAV — navegacion por secciones (pills)
\*------------------------------------*/
/**
 * Markup: views/partials/laferia/estructura/navbar.handlebars
 */
.subnav {
  background: #ffffff;
  border-bottom: 1px solid #E0E0E0;
  position: sticky;
  top: 62px;
  z-index: 90;
}
.lf-paid .subnav {
  top: 51px;
}
@media (max-width: 767px) {
  .subnav, .lf-paid .subnav {
    top: 59px;
  }
}

.subnav-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 10px 32px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav-inner::-webkit-scrollbar {
  display: none;
}

.pill {
  font-family: "EB Garamond", Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1.5px solid #E0E0E0;
  color: #4A4A4A;
  white-space: nowrap;
  background: #ffffff;
  text-decoration: none;
  transition: all 120ms;
}
.pill:hover, .pill.active {
  background: #0D233A;
  color: #ffffff;
  border-color: #0D233A;
}
.pill--faq {
  margin-left: auto;
  background: #0D233A;
  color: #ffffff;
  border-color: #0D233A;
}
.pill--publicar {
  background: #F07040;
  color: #ffffff;
  border-color: #F07040;
}

/*------------------------------------*\
    $FOOTER
\*------------------------------------*/
/**
 * Estilos extraidos de los `style="..."` inline del prototipo.
 * Markup: views/partials/laferia/estructura/footer.handlebars
 */
.laferia-footer {
  background: #1A1A1A;
  padding: 32px 0;
}
.laferia-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.laferia-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.laferia-footer__logo {
  height: 22px;
  width: auto;
}
.laferia-footer__brand-name {
  font-family: "EB Garamond", Georgia, serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.45);
}
.laferia-footer__tagline {
  font-family: "EB Garamond", Georgia, serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}
.laferia-footer__nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.laferia-footer__nav a {
  font-family: "EB Garamond", Georgia, serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 120ms;
}
.laferia-footer__nav a:hover {
  color: #ffffff;
}

/*------------------------------------*\
    $HERO — hero compartido (portada / y directorio /feria)
\*------------------------------------*/
/**
 * Los estilos base del hero van INLINE en el partial (views/partials/hero.handlebars). Aca solo el
 * responsive, scopeado a .hero (page-agnostic) para que aplique igual en / y en /feria.
 */
.hero-portrait {
  right: max(0px, (100% - 1500px) / 2) !important;
}

.hero-circles {
  right: max(0px, (100% - 1500px) / 2) !important;
}

@media (max-width: 767px) {
  .hero {
    flex-direction: column !important;
    min-height: 0 !important;
  }
  .hero-text {
    order: 1;
    padding-top: 48px !important;
    padding-bottom: 20px !important;
  }
  .hero-text h1 {
    font-size: 32px !important;
    line-height: 1.15 !important;
  }
  .hero-portrait {
    position: static !important;
    order: 2;
    right: auto !important;
    bottom: auto !important;
    align-self: stretch;
    width: 100%;
    height: 210px !important;
    display: flex;
    justify-content: flex-end;
  }
  .hero-img {
    height: 210px !important;
    width: auto !important;
    margin: 0;
  }
  .hero-circles {
    width: 300px !important;
    height: 300px !important;
    right: -60px !important;
  }
  .hero-text .btn-primary,
  .hero-text .btn-outline-white {
    display: block;
    width: 100% !important;
  }
}
/*------------------------------------*\
    $CAROUSEL — publicaciones destacadas
\*------------------------------------*/
.feat-slide {
  flex-shrink: 0;
  width: 100%;
  display: flex;
  gap: 0;
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.fs-img {
  flex-shrink: 0;
  align-self: flex-start;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.fs-body {
  flex: 1;
  min-width: 0;
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feat-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 2px;
}

@media (min-width: 1024px) {
  .feat-slide {
    display: grid;
    grid-template-columns: 1fr 2fr;
  }
  .fs-img {
    background: #E8EDF2;
  }
  .fs-body {
    padding: 22px 30px;
  }
}
/*------------------------------------*\
    $CAROUSEL-LISTADO — listados por categoria en carrusel horizontal
\*------------------------------------*/
/**
 * Reemplaza los grids (grid4/ben-grid) por un scroll horizontal con snap.
 * Cada categoria trae sus flechas (.car-nav) en el .sec-head. JS: wire() en feria.handlebars.
 */
.carousel {
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}
.carousel-track::-webkit-scrollbar {
  display: none;
}
.carousel-track > * {
  scroll-snap-align: start;
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: 280px;
}

.carousel.ben .carousel-track {
  gap: 12px;
}
.carousel.ben .carousel-track > * {
  flex: 0 0 calc((100% - 24px) / 3);
  min-width: 280px;
}

.car-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.car-arrow {
  width: 25px;
  height: 25px;
  border: none;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #0D233A;
  transition: color 150ms, background 150ms;
}
.car-arrow svg {
  display: block;
}
.car-arrow:not(.off):hover {
  background: #14304f;
}
.car-arrow.car-next svg {
  transform: translateX(1px);
}
.car-arrow.off {
  background: #E6E6E6;
  color: #BBBBBB;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 900px) {
  .carousel-track > * {
    flex-basis: calc((100% - 16px) / 2);
    min-width: 240px;
  }
  .carousel.ben .carousel-track > * {
    flex-basis: calc((100% - 12px) / 2);
    min-width: 240px;
  }
}
.lf-cat-list .car-nav,
.lf-cat-list .lf-vertodos {
  display: none;
}
.lf-cat-list .carousel-track {
  overflow: visible;
}
.lf-cat-list.lf-view-grid .carousel-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.lf-cat-list.lf-view-grid .carousel-track > * {
  min-width: 0;
}
.lf-cat-list.lf-view-list .carousel-track {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lf-cat-list.lf-view-list .carousel-track > * {
  flex: 0 0 auto;
  min-width: 0;
}
.lf-cat-list.lf-view-list .carousel-track .card {
  display: flex;
}
.lf-cat-list.lf-view-list .carousel-track .card-img {
  width: 160px;
  height: auto;
  flex-shrink: 0;
}
.lf-cat-list.lf-view-list .carousel-track .card-body {
  flex: 1;
}
@media (max-width: 640px) {
  .lf-cat-list.lf-view-list .carousel-track .card-img {
    width: 104px;
  }
}

@media (max-width: 640px) {
  .carousel-track > * {
    flex-basis: 82%;
    min-width: 0;
  }
  .carousel.ben .carousel-track > * {
    flex-basis: 88%;
    min-width: 0;
  }
}
/*------------------------------------*\
    $CARDS — publicaciones (grilla) + encabezados de seccion
\*------------------------------------*/
.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.lf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px 16px;
}
@media (max-width: 640px) {
  .lf-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
.lf-grid--benef {
  grid-auto-rows: 1fr;
}

.card {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 120ms;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.card:hover {
  box-shadow: 0 2px 14px rgba(13, 35, 58, 0.1);
}

.card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.tag {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 2px;
}

.card-body {
  padding: 12px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Encabezado de seccion */
.sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.sec-title {
  font-weight: 700;
  font-size: 20px;
  color: #1A1A1A;
  margin: 0;
}

.sec-head__left {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}

.lf-vertodos,
.lf-listback {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 600;
  white-space: nowrap;
}

.lf-vertodos {
  font-size: 13px;
  color: #F07040;
}
.lf-vertodos:hover {
  color: #D85C2E;
}

.lf-listback {
  font-size: 14px;
  color: #757575;
}
.lf-listback:hover {
  color: #0D233A;
}

.lf-listbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 22px;
}
.lf-listbar[hidden] {
  display: none;
}

.lf-viewtoggle {
  display: inline-flex;
  flex-shrink: 0;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  overflow: hidden;
}

.lf-view-btn {
  border: 0;
  background: #ffffff;
  cursor: pointer;
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 13px;
  color: #757575;
  padding: 7px 15px;
}
.lf-view-btn + .lf-view-btn {
  border-left: 1px solid #E0E0E0;
}
.lf-view-btn.is-active {
  background: #0D233A;
  color: #ffffff;
}

.ver-mas {
  font-size: 14px;
  font-weight: 600;
  color: #F07040;
  white-space: nowrap;
}
.ver-mas:hover {
  color: #D85C2E;
}

.ver-mas,
.ver-pub {
  display: none !important;
}

/*------------------------------------*\
    $BENEFICIOS — cards de beneficios para suscriptores
\*------------------------------------*/
@media (max-width: 640px) {
  .lf-grid--benef {
    grid-template-columns: 1fr;
  }
}

.ben-card {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 120ms;
}
.ben-card:hover {
  box-shadow: 0 2px 12px rgba(13, 35, 58, 0.09);
}
@media (max-width: 640px) {
  .ben-card {
    padding: 12px;
    gap: 10px;
  }
}

.ben-card__thumb {
  width: 56px;
  height: 56px;
  border-radius: 4px;
  flex-shrink: 0;
  background: #FCE8E8;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ben-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 640px) {
  .ben-card__thumb {
    width: 44px;
    height: 44px;
  }
}

.ben-card__body {
  min-width: 0;
}

.ben-card__disc {
  display: inline-block;
  background: #E21B1B;
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  padding: 2px 7px;
  border-radius: 2px;
  margin-bottom: 4px;
}

.ben-card__title {
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  margin: 0 0 3px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
@media (max-width: 640px) {
  .ben-card__title {
    font-size: 15px;
  }
}

.ben-card__meta {
  font-size: 14px;
  line-height: 1.4;
  color: #757575;
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

/*------------------------------------*\
    $MODAL — pop-up take-over de detalle (anuncio / beneficio)
\*------------------------------------*/
/**
 * Se abre al clickear una .card (anuncio) o .ben-card (beneficio) en /feria.
 * Markup + JS en views/laferia/feria.handlebars.
 */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(13, 35, 58, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease;
}
.overlay.open {
  opacity: 1;
  visibility: visible;
}
.overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal {
  position: relative;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 70px rgba(13, 35, 58, 0.4);
  transform: translateY(14px) scale(0.98);
  transition: transform 200ms ease;
}

/* Hero (anuncios) */
.m-hero {
  position: relative;
  aspect-ratio: 19/9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.m-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.m-tag {
  position: absolute;
  top: 14px;
  left: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  color: #ffffff;
}

.m-feat {
  position: absolute;
  top: 14px;
  left: 16px;
}
.m-feat.shift {
  top: 44px;
}
.m-feat span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #F07040;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
}

.m-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  background: #ffffff;
  color: #0D233A;
  border: 1px solid #E0E0E0;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(13, 35, 58, 0.18);
  transition: background 120ms, transform 120ms;
}
.m-close:hover {
  background: #EEF2F8;
  transform: scale(1.06);
}

/* Cuerpo scrollable */
.m-body {
  padding: 24px 30px 26px;
  overflow-y: auto;
}

.m-head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 0 0 16px;
  padding-right: 30px;
}

.m-headtext {
  min-width: 0;
}

/* Thumbnail (beneficios) */
.m-thumb {
  flex-shrink: 0;
  width: 88px;
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.m-thumb svg {
  width: 40px;
  height: 40px;
}
.m-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.m-cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #757575;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 6px;
}

.m-title {
  font-weight: 800;
  font-size: 26px;
  line-height: 1.2;
  color: #0D233A;
  margin: 0;
}

.m-adv {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #4A4A4A;
  margin: 0 0 18px;
}
.m-adv svg {
  flex-shrink: 0;
}

.m-price {
  background: #EEF2F8;
  border: 1px solid #C8D4E8;
  border-radius: 6px;
  padding: 12px 16px;
  margin: 0 0 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.m-price .lbl {
  font-size: 13px;
  color: #757575;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.m-price .val {
  font-weight: 800;
  font-size: 22px;
  color: #0D233A;
}
.m-price .val.disc {
  color: #E21B1B;
}

.m-desc-lbl {
  font-weight: 700;
  font-size: 14px;
  color: #0D233A;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 6px;
}

.m-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #2A2A2A;
  margin: 0 0 22px;
}

.m-meta {
  border-top: 1px solid #EEF2F8;
  padding-top: 14px;
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.m-meta div {
  font-size: 13px;
  color: #757575;
}
.m-meta b {
  display: block;
  color: #0D233A;
  font-size: 14px;
  font-weight: 700;
  margin-top: 1px;
}

.card,
.ben-card {
  cursor: pointer;
}

@media (max-width: 640px) {
  .m-body {
    padding: 20px 22px 22px;
  }
  .m-title {
    font-size: 22px;
  }
}
/*------------------------------------*\
    $HOME — portada (/) de La Feria
\*------------------------------------*/
/**
 * La portada trae el layout base de cada seccion INLINE en la vista (views/pages/index.handlebars,
 * prototipo). Aca va solo lo que no puede ir inline: los overrides responsive propios de la portada.
 * El hero se comparte con /feria y su responsive vive en _hero.scss. Todo scopeado bajo `.lf-home`.
 */
@media (max-width: 767px) {
  .lf-home section:not(.hero) {
    padding: 48px 0 !important;
  }
  .lf-home h2 {
    font-size: 25px !important;
    line-height: 1.2 !important;
  }
}

/*------------------------------------*\
    $AYUDA — paginas de ayuda (/ayuda, /ayuda/faq)
\*------------------------------------*/
/**
 * Ambas paginas de ayuda comparten esta clase (.lf-ayuda). El layout base va inline en las vistas;
 * aca solo el responsive propio y el acordeon de FAQ (<details>). Scopeado para no afectar /feria.
 */
@media (max-width: 767px) {
  .lf-ayuda main {
    padding-top: 36px !important;
    padding-bottom: 56px !important;
  }
  .lf-ayuda h1 {
    font-size: 30px !important;
    line-height: 1.15 !important;
  }
}
.lf-ayuda details summary::-webkit-details-marker {
  display: none;
}
.lf-ayuda details[open] .faq-icon {
  transform: rotate(45deg);
}

/*------------------------------------*\
    $RESPONSIVE — media queries centralizadas
\*------------------------------------*/
@media (max-width: 640px) {
  .feat-slide {
    flex-direction: column;
  }
  .fs-img {
    width: 100%;
    height: auto;
  }
}
@media (max-width: 900px) {
  .grid4 {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .ben-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 767px) {
  html,
  body {
    overflow-x: clip;
  }
  .laferia-logo {
    gap: 8px !important;
  }
  .laferia-logo__img {
    height: 20px;
  }
  .laferia-logo__brand {
    font-size: 12px !important;
  }
  .wrap {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .subnav-inner {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
  .laferia-header .wrap {
    gap: 10px !important;
  }
  .laferia-header__nav {
    gap: 10px !important;
  }
  .laferia-header__nav .btn-primary, .laferia-header__nav .btn-secondary {
    font-size: 12px !important;
    padding: 8px 10px !important;
  }
  .grid4 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .ben-grid {
    grid-template-columns: 1fr !important;
  }
  #carPrev,
  #carNext {
    display: none !important;
  }
}