/* "Ideas y novedades" on the agency landing (2026-09-26): newsletter pitch in the site container on top,
   articles gliding edge to edge below (in place of the old case studies), scrollable by swipe/trackpad/drag. Tiles reuse .tile from styles.css.
   Articles come from club.kframe.ar/blog/feed.json; until there are some, the newsletter topics
   show with real photos. The CTA goes to the sign-up page on club.kframe.ar. */
.blog-strip {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 110px) 0;
  /* Flat ivory, no glows: the landing uses flat colours and textures only. Ivory since 2026-10-02, so it
     alternates with the navy Laboratorio above and the navy Club banner below. */
  background: var(--ivory, #f4edd9);
  color: var(--ink, #0f0f1a);
}

/* Head in the site container: big title on the left, short pitch + CTA on the right (the title always
   stands taller than the pitch); the carousel runs edge to edge below. */
.blog-strip__head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px clamp(32px, 5vw, 80px);
  align-items: end;
}

.blog-strip__head .eyebrow {
  margin: 0;
  color: rgba(15, 15, 26, 0.6);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.blog-strip__head h3 {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink, #0f0f1a);
}

.blog-strip__head .lede {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(15, 15, 26, 0.72);
}

.blog-strip__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 24px;
}

.blog-strip__cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  background: var(--pink, #ff2a6f);
  color: #ffffff;
  font: 700 0.9rem/1 var(--font-body, "Roboto", sans-serif);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.28s ease;
}

.blog-strip__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--navy, #0b0b1c);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s ease;
}

.blog-strip__cta:hover,
.blog-strip__cta:focus-visible { color: #ffffff; transform: translateY(-1px); }

.blog-strip__cta:hover::before,
.blog-strip__cta:focus-visible::before { transform: scaleX(1); }

.blog-strip__note {
  margin: 0;
  font: 400 0.85rem/1.4 var(--font-body, "Roboto", sans-serif);
  color: rgba(15, 15, 26, 0.6);
}

.blog-strip__viewport {
  position: relative;
  z-index: 1;
  margin-top: clamp(36px, 4vw, 56px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.blog-strip__marquee {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 10px 0 14px;
}

.blog-strip__viewport::-webkit-scrollbar { display: none; }

.blog-strip__viewport.is-dragging { cursor: grabbing; user-select: none; }

.blog-strip__viewport.is-dragging .tile { pointer-events: none; }

/* Tiles: the case-study look, taller for the column. */
.blog-strip__marquee .tile {
  flex: 0 0 clamp(260px, 21vw, 340px);
  aspect-ratio: 4 / 5;
  color: #ffffff;
  text-decoration: none;
  background-size: cover;
  background-position: center;
}

.blog-strip__marquee .tile__title { white-space: normal; }

/* A quiet tag in the corner: titles don't jump with their number of lines. */
.blog-strip__marquee .tile__badge { position: absolute; top: 16px; right: 16px; z-index: 2; margin: 0; padding: 4px 9px; border-radius: 8px; background: rgba(10, 9, 14, 0.55); color: #ffffff; font-size: 12px; font-weight: 600; text-transform: none; letter-spacing: 0.01em; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

.blog-strip__marquee .tile__badge--soon { background: rgba(255, 255, 255, 0.88); color: #0b0b1c; }

@media (max-width: 900px) {
  .blog-strip__head { grid-template-columns: minmax(0, 1fr); align-items: start; }
}

@media (max-width: 560px) {
  .blog-strip__marquee .tile { flex-basis: 72vw; }
}
