/* D-151: whole card images on the listing pages (/ratgeber/, /aktionen/, /reviews/); D-160 type and buttons below.
   Linked only by those pages through <RouteStyles>, never by the layout or the homepage.

   Salient's scroll parallax scales the card image 1.275 times inside a fixed frame (270px tall at
   1440px, so the image box was 344px) and moves it with the scroll position. About 74px of every
   card picture was outside the frame, which cut the title text baked into most heroes. The image
   now fills the frame exactly and stays still; `object-fit: contain` (globals.css) shows all of it. */
body .nectar-post-grid .nectar-post-grid-item .nectar-el-parallax-scroll {
  transform: none !important;
}
body .nectar-post-grid .nectar-post-grid-item .nectar-el-parallax-scroll .nectar-post-grid-item-bg-wrap-inner {
  transform: none;
}
body .nectar-post-grid .nectar-post-grid-item .nectar-post-grid-item-bg {
  top: 0;
  height: 100%;
}
/* The hover zoom (1.1) cut the same baked text; a small zoom keeps the hover response. */
body .nectar-post-grid[data-hover-effect='zoom'] .nectar-post-grid-item:hover .nectar-post-grid-item-bg {
  transform: scale(1.03);
}

/* D-160: the homepage type scale, spacing and channel buttons on the three listing hubs
   (public/pj-route/home.css is the source of each value). Which posts are listed, and their order,
   stay as the page builder emits them. Same tokens as the homepage: ink #222, soft #555,
   WhatsApp green #00cc58, Telegram blue #24abeb, tone #f4f4f4. */
body.page h1.pj-h1-as-h2 {
  font-weight: 400;
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #222222;
  text-wrap: balance;
  margin-bottom: 12px;
}
body.page .nectar-highlighted-text + .nectar-responsive-text p {
  font-size: 17px;
  line-height: 1.6;
  color: #555555;
  max-width: 36em;
  margin-inline: auto;
  text-wrap: pretty;
}

/* Cards: the homepage list sizes, a calm title and a quiet date. */
body.page .nectar-post-grid .nectar-post-grid-item h2.post-heading,
body.page .nectar-post-grid .nectar-post-grid-item h2.post-heading * {
  font-weight: 400;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #222222;
}
body.page .nectar-post-grid .nectar-post-grid-item .meta-date {
  font-size: 14px;
  line-height: 1.4;
  color: #555555;
}
@media (max-width: 599px) {
  body.page .nectar-post-grid .nectar-post-grid-item h2.post-heading,
  body.page .nectar-post-grid .nectar-post-grid-item h2.post-heading * { font-size: 18px; }
}

/* The channel box at the end of each hub: the homepage's closing section (light tone, ink text)
   instead of the ink box that posts use. The buttons are the site's one pair (D-159, globals.css:
   `.pj-home-join`, `a.pj-home-btn`), WhatsApp first, equal size; here at the homepage's width. */
body.page .pj-channels {
  margin: 64px 0;
  padding: 40px 28px;
  background: #f4f4f4;
  color: #222222;
  border-radius: 4px;
}
body.page .pj-channels .pj-channels__title {
  font-weight: 400;
  font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #222222;
  margin-bottom: 12px;
}
body.page .pj-channels .pj-channels__text { font-size: 17px; line-height: 1.6; color: #555555; max-width: 36em; margin-bottom: 26px; }
body.page .pj-channels .pj-home-join { max-width: 34rem; }
@media (max-width: 480px) {
  body.page .pj-channels { padding: 32px 20px; margin: 48px 0; }
}
