/* Noticias — card de noticia (fs_not_card_html en inc/not.php): grilla del listado (Figma 1131:30642) y
   "También te puede interesar" (1131:31617); destacada (1131:30561). Mobile: 1131:44781 / destacada 1131:44772 /
   carrusel 1131:44948. La etiqueta de tipo de contenido (.fs-not-tag) también la usa la cabecera del artículo. */

/* Etiqueta 1131:30652: 29 de alto, fondo blanco, borde 1 #57A232, radio total; texto 400 12/12 #57A232 en mayúsculas,
   centrado (Blog 60 de ancho). En Figma "EN MEDIOS" y "NOTA DE PRENSA" cortan en 2 líneas porque la caja de texto quedó
   angosta al pasar a mayúsculas: acá van en 1 línea (gap anotado). */
.fs-not-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 60px;
  height: 29px;
  padding: 0 11.35px; /* "BLOG" en una píldora de 60 */
  border: 1px solid #57a232;
  border-radius: 100px;
  background: #fff;
  font-family: var(--wp--preset--font-family--montserrat);
  font-weight: 400;
  font-size: 12px;
  line-height: 12px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: #57a232;
}

/* Card 1131:30649: 339×511, radio 20, sombra 0 0 4 rgba(0,0,0,.25) (la del grupo foto + rectángulo blanco).
   Foto 339×255 (radios superiores 20; el resto de la foto lo tapa el rectángulo blanco). Si el texto crece, la card crece. */
.fs-not-card {
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-height: 511px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
  font-family: var(--wp--preset--font-family--montserrat);
}
.fs-not-card__foto { display: block; flex: 0 0 255px; height: 255px; overflow: hidden; border-radius: 20px 20px 0 0; }
.fs-not-card__foto img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Etiqueta: a 7 del borde derecho y 9 del superior (Blog 272,9 · En medios 616−363,9 · Nota de prensa 946−726,8) */
.fs-not-card__tag { position: absolute; top: 9px; right: 7px; }

/* Textos a x=23 (ancho 293). Fecha: caja 8 en y=276 con lh 20 → línea en 270 (15 debajo de la foto) */
.fs-not-card__body { display: flex; flex: 1 1 auto; flex-direction: column; padding: 15px 23px 16px; }

/* Fecha 1131:30660: 400 12/20 #706F6F */
.fs-not-card__fecha { margin: 0; font-weight: 400; font-size: 12px; line-height: 20px; color: #706f6f; }

/* Título 1131:30658: 700 20/21.8 tracking -0.42 #57A232 (3 líneas desde y=290.3: pegado a la fecha) */
.fs-not-card__title {
  margin: 0;
  font-family: var(--wp--preset--font-family--montserrat);
  font-weight: 700;
  font-size: 20px;
  line-height: 21.8px;
  letter-spacing: -0.42px;
  color: #57a232;
}
.fs-not-card__title a { color: inherit; text-decoration: none; }
.fs-not-card__title a:hover,
.fs-not-card__title a:focus-visible { text-decoration: underline; }

/* Bajada 1131:30659: 400 16/20 #706F6F; 1.ª línea en y=365.7 (10 debajo del título) */
.fs-not-card__bajada { margin: 10px 0 0; font-weight: 400; font-size: 16px; line-height: 20px; color: #706f6f; }

/* "Leer artículo →" 1131:30661: 600 12/19 tracking 1.65 mayúsculas subrayado #57A232; línea en y=476 (16 del borde inferior) */
.fs-not-card__link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 10px; /* mínimo entre la bajada y el link (Figma: 10.6 con la bajada de 5 líneas) */
  font-weight: 600;
  font-size: 12px;
  line-height: 19px;
  letter-spacing: 1.65px;
  text-transform: uppercase;
  text-decoration: underline;
  color: #57a232;
}

/* ---------- Destacada 1131:30561: 1064×423. Foto 633×423 radio 20 (FILL) en x=0; detrás, panel blanco 707×423 desde
   x=357 con radio 20 y la sombra de las cards. Textos en x=680 (ancho 339; título 321), centrados en el alto
   (línea de la fecha en y=68, link hasta 351). La etiqueta queda tapada por la foto en Figma: no se muestra. ---------- */
.fs-not-card--destacada {
  display: block;
  min-height: 423px;
  background: none;
  box-shadow: none;
}
.fs-not-card--destacada::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 357px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
}
.fs-not-card--destacada .fs-not-card__foto {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 633px;
  height: 100%;
  border-radius: 20px;
}
.fs-not-card--destacada .fs-not-card__tag { display: none; }
.fs-not-card--destacada .fs-not-card__body {
  position: relative;
  justify-content: center;
  box-sizing: border-box;
  width: 339px;
  min-height: 423px;
  margin-left: 680px;
  padding: 20px 0 24px; /* centrado con 2 de corrección: el bloque (283) arranca en 68, no en 70 */
}
/* Título 1131:30576: 700 32/32 tracking -0.42, caja 321; 9 debajo de la fecha */
.fs-not-card--destacada .fs-not-card__title { max-width: 321px; margin-top: 9px; font-size: 32px; line-height: 32px; }
/* Bajada 1131:30577: 16/20, 21.5 debajo del título; link 25.5 debajo de la bajada */
.fs-not-card--destacada .fs-not-card__bajada { margin-top: 21.5px; }
.fs-not-card--destacada .fs-not-card__link { margin-top: 25.5px; padding-top: 0; }

/* Mobile — Figma 1131:44781: sin card (ni fondo ni sombra); columna con gap 12: foto 350×210 radio 20 (FILL), fecha
   400 12/17, título 700 18/22 tracking -0.4, bajada 400 15/21, link 600 12/19. Etiqueta 1131:44783 a 12 del borde
   superior y del derecho, padding 5/10, 400 12/17 SIN mayúsculas. Destacada 1131:44772: foto 350×240, título 26/30
   tracking -1.6. */
@media screen and (max-width: 749px) {
  .fs-not-tag { min-width: 0; height: auto; padding: 5px 10px; box-sizing: content-box; line-height: 17px; } /* ISE-045: etiquetas en mayúsculas también en mobile (pedido de la clienta) */
  .fs-not-card { min-height: 0; border-radius: 0; background: none; box-shadow: none; }
  .fs-not-card__foto { flex: 0 0 auto; height: 210px; border-radius: 20px; }
  .fs-not-card__tag { top: 12px; right: 12px; }
  .fs-not-card__body { padding: 12px 0 0; }
  .fs-not-card__fecha { line-height: 17px; }
  .fs-not-card__title { margin-top: 12px; font-size: 18px; line-height: 22px; letter-spacing: -0.4px; }
  .fs-not-card__bajada { margin-top: 12px; font-size: 15px; line-height: 21px; }
  .fs-not-card__link { margin-top: 12px; padding-top: 0; }

  .fs-not-card--destacada { min-height: 0; }
  .fs-not-card--destacada::before { display: none; }
  .fs-not-card--destacada .fs-not-card__foto { position: relative; width: auto; height: 240px; }
  .fs-not-card--destacada .fs-not-card__tag { display: inline-flex; z-index: 2; }
  .fs-not-card--destacada .fs-not-card__body { width: auto; min-height: 0; margin-left: 0; padding: 12px 0 0; }
  .fs-not-card--destacada .fs-not-card__title { max-width: none; margin-top: 12px; font-size: 26px; line-height: 30px; letter-spacing: 0 /* ISE-045: titulares sin tracking negativo, pedido de la clienta */; }
  .fs-not-card--destacada .fs-not-card__bajada { margin-top: 12px; }
  .fs-not-card--destacada .fs-not-card__link { margin-top: 12px; }
}

/* ---------- Animación (capa común en motion.css; prototipo aprobado 2026-10-15) ----------
   Cards: zoom (.94 → 1) escalonado (fs-reveal fs-reveal--zoom en fs_not_card_html; el retardo por columna lo ponen
   not-listado.css y not-articulo.css). Destacada (fs-reveal--fade: la card y su panel blanco aparecen con un fundido):
   la foto llega desde la izquierda y el texto desde la derecha, y la foto hace el zoom suave del hero (1.08 → 1).
   En mobile (una columna) la destacada sube como el resto. */
html.fs-anim .fs-not-card--destacada.fs-reveal .fs-not-card__foto img { scale: 1.08; transition: scale 2.6s cubic-bezier(.2, .7, .2, 1); transition-delay: inherit; }
html.fs-anim .fs-not-card--destacada.in .fs-not-card__foto img { scale: none; }
@media screen and (min-width: 750px) {
  html.fs-anim .fs-not-card--destacada.fs-reveal .fs-not-card__foto,
  html.fs-anim .fs-not-card--destacada.fs-reveal .fs-not-card__body {
    opacity: 0;
    translate: -36px 0;
    transition: opacity .8s var(--fs-ease), translate .9s var(--fs-ease);
    transition-delay: inherit;
  }
  html.fs-anim .fs-not-card--destacada.fs-reveal .fs-not-card__body { translate: 36px 0; transition-delay: calc(var(--fs-dest-delay, 0s) + .11s); }
  html.fs-anim .fs-not-card--destacada.in .fs-not-card__foto,
  html.fs-anim .fs-not-card--destacada.in .fs-not-card__body { opacity: 1; translate: none; }
}
@media screen and (max-width: 749px) {
  html.fs-anim .fs-not-card--destacada.fs-reveal:not(.in) { translate: 0 28px; }
}
