/* =========================================================================
   Rokamat — Parts-List / Service hub (.pl-*)
   Used by /service/ + /service/ersatzteillisten-*.
   Layered on top of index.css + index_product.css (PDP-tone hero + crumb).
   ========================================================================= */

/* ----- HERO — PDP tone, no image, left aligned --------------------------- */
.pl-hero {
  background: #f5f5f3;            /* matches .pdp-hero */
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rok-gray-200);
}
/* Use the v2-container width verbatim — keeps the left edge of every element
 * inside the hero flush with the top-nav logo (both share `.v2-container`'s
 * `padding: 0 40px`). The text-only block is constrained on the right via
 * `max-width` on the children, never with a centered wrapper. */
.pl-hero-inner { text-align: left }
.pl-hero .v2-eyebrow { margin-bottom: 18px }
.pl-h1 {
  font-family: 'Roboto', system-ui, sans-serif;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  /* +40% over the previous clamp(40, 5.6vw, 80) */
  font-size: clamp(56px, 7.84vw, 112px);
  line-height: .94;
  letter-spacing: -.02em;
  margin: 0 0 24px;
  color: var(--rok-ink);
  max-width: 1100px;
}
.pl-h1 .thin {
  font-weight: 300;
  font-style: normal;
  color: #777;
}
.pl-h1 .ro   { font-weight: 900; font-style: italic; color: var(--rok-orange) }
.pl-lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--rok-fg-muted);
  max-width: 640px;
  margin: 0;
}

/* ----- SEARCH BAR (mirrors .pdp-subnav: dark, sticky, same height/width) - */
.pl-search {
  position: sticky;
  top: var(--nav-h, 99px);
  z-index: 30;
  background: #0b0b0c;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
/* identical inner geometry to .pdp-subnav-inner: vertical 14px, gap 32px.
 * IMPORTANT: only override the vertical padding — keep .v2-container's
 * horizontal `0 40px` intact so the input's left edge sits exactly under
 * the top-nav logo. */
.pl-search-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.pl-search-label { display: none }   /* "Suchen" label removed — placeholder carries it */
.pl-search-input { flex: 1; min-width: 240px; max-width: 520px }
.pl-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .25);
  transition: border-color .15s ease;
}
.pl-search-row:focus-within { border-bottom-color: var(--rok-orange) }
.pl-search-row input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 0;                     /* zero so glyph aligns flush with container left */
  font: inherit;
  font-size: 13px;
  font-weight: 400;               /* regular, not bold */
  letter-spacing: .02em;
  color: #fff;
  outline: none;
  border-radius: 0;
}
.pl-search-row input::placeholder { color: rgba(255, 255, 255, .55); font-weight: 400 }
.pl-search-btn {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--rok-orange);
  font-weight: 900;
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}
.pl-search-btn:hover { color: #fff }

.pl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;                       /* matches .pdp-subnav-links gap */
  margin-left: auto;
  align-items: center;
}
.pl-chip {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 0;                  /* matches .pdp-subnav-links a padding */
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, .6);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: none;
  text-decoration: none;
  cursor: pointer;
  transition: color .15s ease;
}
.pl-chip .count {
  font-family: 'Roboto', sans-serif;
  font-style: italic;
  font-weight: 900;
  color: var(--rok-orange);
  font-size: 11px;
  letter-spacing: 0;
}
.pl-chip:hover { color: #fff }
.pl-chip.is-active { color: #fff }
.pl-chip.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -15px;
  height: 2px;
  background: var(--rok-orange);
}

@media (max-width: 900px) {
  .pl-search { position: static }
  .pl-search-inner { flex-wrap: wrap; gap: 14px; padding: 12px 0 14px }
  .pl-search-input { width: 100%; max-width: none }
  .pl-chips { margin-left: 0; gap: 18px }
  .pl-chip.is-active::after { bottom: -12px }
}

/* ----- BODY (full content-width list; notice sits below at ~2/3) -------- */
.pl-body { background: #fff; padding: 48px 0 96px }
.pl-body-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: stretch;
}
.pl-list-wrap {
  /* Volle Content-Breite innerhalb des .v2-container — linke Kante bündig
     mit Logo / Suchfeld / Tabs (alle am Container-Content-Rand, 40px). KEIN
     Breakout über das Padding hinaus, sonst steht die Liste 40px zu weit links. */
  width: 100%;
  min-width: 0;
  margin-left: 0;
}
.pl-list {                         /* reset UA <ul> defaults: no bullets, no 40px indent */
  list-style: none;
  margin: 0;
  padding: 0;
}
.pl-notice {
  width: 66.6667%;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--rok-fg-muted);
  border-left: 2px solid var(--rok-orange);
  padding: 6px 0 6px 18px;
}
.pl-notice :is(h1, h2, h3) { display: none }
.pl-notice p { margin: 0 0 8px }
.pl-notice p:last-child { margin-bottom: 0 }
.pl-notice strong { color: var(--rok-ink) }
.pl-notice a { color: var(--rok-orange); text-decoration: underline; text-underline-offset: 3px }

@media (max-width: 900px) {
  .pl-notice { width: 100% }
}

/* ----- Search-bar badge chip (variant pages: "12 Listen") --------------- */
.pl-chip--badge {
  background: transparent;
  border-color: transparent;
  color: rgba(255, 255, 255, .55);
  cursor: default;
  padding: 8px 0;
  margin-right: 8px;
}
.pl-chip--badge::after { display: none }
.pl-chip--badge .count { color: rgba(255, 255, 255, .55); font-style: normal; font-weight: 700 }

/* ----- LIST — card grid (one card per PDF) -----------------------------
   Echoes .pdp-dl-grid (3-col with hairline gutters + black-on-hover) but
   pairs each download with a 16:9 product thumbnail à la
   NEW_UI/preview/product-cards.html. No section headers — the card title
   IS the model name, so multi-PDF models (Chameleon) just emit two cards
   distinguished by the qualifier in the subtitle. */
.pl-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  /* `minmax(0, 1fr)` statt blossem `1fr`: erzwingt strikt gleich breite
   * Spalten unabhängig vom min-content der Karten. Ohne minmax(0, …)
   * blähen sich Karten mit langen unbrechbaren Tokens (z.B. lange
   * Maschinen-Titel auf /produkte) bis zur Wortbreite auf und schrumpfen
   * die anderen Spalten — klassischer 1fr-Bug. */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--rok-gray-200);
  border: 1px solid var(--rok-gray-200);
}
/* `min-width: 0` ist die zweite Hälfte des Fixes: ohne sie würde die Karte
 * im Flex-Container ihre Mindestbreite an ihrem Inhalt orientieren und das
 * minmax(0, 1fr) wieder aushebeln. */
.pl-card-cell { background: #fff; display: flex; min-width: 0 }
.pl-card-cell.is-hidden { display: none }

/* Card mirrors `.cat-card` (see index_category.css) — same hover, same
 * typography, same foot link. Diffs only: 16:9 image is always enforced
 * (master had aspect-ratio:auto in list-view, which the user explicitly
 * called out), and the PDF/variant badges replace cat-card's num-tag. */
.pl-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all .2s ease;
}
.pl-card:hover { background: #fafaf7 }

.pl-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #f0f0ec;
  overflow: hidden;
}
.pl-card-media img,
.pl-card-media-empty {
  width: 100%; height: 100%; display: block;
  object-fit: cover;
  filter: grayscale(.2);
  transition: transform .4s ease, filter .4s ease;
}
.pl-card:hover .pl-card-media img {
  transform: scale(1.05);
  filter: none;
}
.pl-card-badge {
  position: absolute; top: 12px; left: 12px;
  background: #0b0b0c; color: #fff;
  padding: 4px 10px;
  font-family: 'Roboto', sans-serif;
  font-weight: 900; font-style: italic;
  font-size: 12px; letter-spacing: .05em;
}
.pl-card-variant {
  position: absolute; top: 12px; right: 12px;
  background: var(--rok-orange); color: #fff;
  padding: 4px 8px;
  font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}

.pl-card-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pl-card-kicker {
  font-size: 11px;
  color: var(--rok-orange);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}
.pl-card-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: 32px;
  letter-spacing: -.01em;
  line-height: 1;
  margin: 0 0 6px;
  color: #0b0b0c;
  /* Lange Maschinen-Titel wie „Putzbearbeitungsmaschine Wasserinjektion
   * PFM W" sollen sauber umbrechen, nicht aus der Karte überlaufen.
   * `anywhere` wirkt auch innerhalb langer Wörter ohne Trenner. */
  overflow-wrap: anywhere;
}
.pl-card-sub {
  font-size: 14px;
  line-height: 1.55;
  color: #555;
  margin: 8px 0 18px;
  flex: 1;
}

.pl-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid #f0f0ec;
}
.pl-card-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #0b0b0c;
  transition: color .15s ease;
}
.pl-card:hover .pl-card-link { color: var(--rok-orange) }
.pl-card-arr {
  font-size: 18px;
  color: var(--rok-text-muted-accessible);
  transition: all .15s ease;
}
.pl-card:hover .pl-card-arr {
  color: var(--rok-orange);
  transform: translateX(4px);
}

.pl-card--empty { cursor: default }
.pl-card--empty .pl-card-link { color: var(--rok-fg-muted) }
.pl-card-cell--empty { background: #fafafa }

.pl-empty {
  padding: 28px 18px;
  color: var(--rok-fg-muted);
  font-size: 14px;
}

@media (max-width: 1080px) {
  .pl-grid { grid-template-columns: repeat(2, 1fr) }
}
@media (max-width: 640px) {
  .pl-grid { grid-template-columns: 1fr }
  .pl-card-title { font-size: 20px }
}

/* ----- LIST view (mirrors .cat-grid.list-view) --------------------------
 * Image stays strictly 16:9 (non-negotiable). The image column is wide
 * enough (clamp 320–380px) that the image's computed height matches or
 * exceeds the body height; the body's `.pl-card-sub { flex: 1 }` then
 * absorbs the extra space so the row has no vertical whitespace around
 * the image. */
.pl-grid.list-view { grid-template-columns: 1fr }
.pl-grid.list-view .pl-card {
  display: grid;
  grid-template-columns: clamp(320px, 28vw, 380px) 1fr;
  gap: 0;
  align-items: stretch;
}
.pl-grid.list-view .pl-card-media {
  aspect-ratio: 16 / 9;
  height: auto;
  align-self: start;
  width: 100%;
}
.pl-grid.list-view .pl-card-body { padding: 24px 32px }

@media (max-width: 760px) {
  .pl-grid.list-view .pl-card { grid-template-columns: 1fr }
}

/* ----- CONTROLS in the search bar (Sortieren + view toggle) ------------ */
.pl-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
}
.pl-controls label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: .04em;
  font-weight: 600;
}
.pl-controls select {
  background: #1a1a1c;
  border: 1px solid rgba(255, 255, 255, .15);
  color: #fff;
  padding: 6px 10px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  border-radius: 0;
}
.pl-view-btn {
  width: 34px;
  height: 34px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .6);
  font-size: 14px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: all .15s ease;
}
.pl-view-btn:hover { border-color: #fff; color: #fff }
.pl-view-btn.is-active { background: #fff; color: #0b0b0c; border-color: #fff }

@media (max-width: 900px) {
  .pl-controls { margin-left: 0; flex-wrap: wrap }
}

/* ----- Service hub: card-list variant (used by /service/) --------------- */
.pl-row--card {
  display: block;
  border-bottom: 1px solid var(--rok-gray-200);
  background: #fff;
  transition: background .15s ease;
}
.pl-row--card.is-hidden { display: none }
.pl-row--card:hover { background: #fafafa }   /* same gray as .pdp-crumb breadcrumb bg */
.pl-row--card .pl-row-inner {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;                 /* flush with .v2-container edges → full-width, aligns with search bar + chips */
  text-decoration: none;
  color: inherit;
}
.pl-row--card .pl-idx {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-style: italic;
  color: var(--rok-orange);
  font-size: 22px;
  letter-spacing: -.02em;
}
.pl-row--card .pl-text { display: flex; flex-direction: column; gap: 4px }
.pl-row--card .pl-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: 17px;
  color: var(--rok-ink);
}
.pl-row--card .pl-sub { font-size: 13.5px; color: var(--rok-fg-muted); line-height: 1.45 }
.pl-row--card .pl-action {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-style: italic;
  color: var(--rok-orange);
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* =========================================================================
   Betriebsanleitungen — detail page + drawer panel (.oi-*)
   Shared by /service/betriebsanleitungen/betriebsanleitung-<model>/ and
   the side drawer mounted on /service/betriebsanleitungen.
   ========================================================================= */

.oi-panel {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.oi-panel--page { padding-top: 8px }
.oi-panel--drawer { gap: 32px }

.oi-hero-media {
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  background: #f0f0ec;
  overflow: hidden;
}
.oi-hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.oi-section { display: flex; flex-direction: column; gap: 14px }
.oi-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--rok-gray-200);
  padding-bottom: 12px;
}
.oi-section-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: 22px;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--rok-ink);
}
.oi-section-count {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rok-fg-muted);
}

.oi-tiles {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rok-gray-200);
  border: 1px solid var(--rok-gray-200);
}
.oi-tiles > li { display: flex; background: #fff }

.oi-tile {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  background: #fff;
  color: var(--rok-ink);
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.oi-tile:hover { background: #0b0b0c; color: #fff }

.oi-tile-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 44px;
  background: var(--rok-orange);
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 18px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.oi-tile-lang--safety {
  background: #0b0b0c;
  color: var(--rok-orange);
  font-size: 22px;
}
.oi-tile-lang--extra {
  background: #fff;
  color: var(--rok-ink);
  border: 1px solid var(--rok-gray-200);
  font-size: 14px;
}
.oi-tile:hover .oi-tile-lang { background: #fff; color: var(--rok-orange) }
.oi-tile:hover .oi-tile-lang--safety { background: var(--rok-orange); color: #fff }

.oi-tile-body { display: flex; flex-direction: column; min-width: 0; gap: 2px }
.oi-tile-name {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.oi-tile-meta {
  font-size: 11.5px;
  color: var(--rok-fg-muted);
  font-family: var(--rok-font-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.oi-tile:hover .oi-tile-meta { color: rgba(255, 255, 255, .55) }
.oi-tile-cta {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--rok-orange);
  white-space: nowrap;
}
.oi-tile:hover .oi-tile-cta { color: #fff }

.oi-empty {
  padding: 18px 0;
  color: var(--rok-fg-muted);
  font-size: 14px;
}

.oi-back {
  margin: 56px 0 0;
}
.oi-back-link {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--rok-fg-muted);
  text-decoration: none;
  letter-spacing: .04em;
}
.oi-back-link:hover { color: var(--rok-orange) }

@media (max-width: 760px) {
  .oi-tiles { grid-template-columns: 1fr }
  .oi-tile { grid-template-columns: 56px 1fr auto; gap: 12px; padding: 14px }
  .oi-tile-lang { width: 56px; height: 40px; font-size: 16px }
}

/* =========================================================================
   Inline-download card variant — used on /service/betriebsanleitungen
   ========================================================================= */

/* The aggregate card stays a passive container (not an <a>): hover lives on
 * the inline chips themselves so the visitor sees the actual click target.
 * Image still pops out on card hover for visual feedback. */
.pl-card--inline { cursor: default }
.pl-card--inline:hover { background: #fff }
.pl-card--inline:hover .pl-card-media img {
  transform: scale(1.03);
  filter: none;
}

.pl-card-title-link {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .2s ease, color .15s ease;
}
.pl-card-title-link:hover {
  color: var(--rok-orange);
  background-size: 100% 1px;
}

.pl-lang-chips {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pl-lang-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 32px;
  padding: 0 10px;
  background: #fff;
  color: var(--rok-ink);
  border: 1px solid var(--rok-gray-200);
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 13px;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .15s ease;
}
.pl-lang-chip:hover {
  background: var(--rok-orange);
  border-color: var(--rok-orange);
  color: #fff;
  transform: translateY(-1px);
}
.pl-lang-code { line-height: 1 }

.pl-safety-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pl-safety-link {
  display: grid;
  grid-template-columns: 16px 1fr;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  margin-left: -8px;
  color: var(--rok-fg-muted);
  text-decoration: none;
  font-size: 12.5px;
  transition: color .15s ease, background .15s ease;
}
.pl-safety-link:hover { color: var(--rok-ink); background: #fafaf7 }
.pl-safety-ico { color: var(--rok-orange); font-size: 13px; line-height: 1 }
.pl-safety-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Zusatzdokumente row: same geometry as safety, neutral `+` glyph + a
 * trailing lang code chip when the editor uploaded language variants. */
.pl-extras-list { margin-top: 6px }
.pl-extra-link { grid-template-columns: 16px 1fr auto }
.pl-extra-ico {
  color: var(--rok-fg-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.pl-extra-link:hover .pl-extra-ico { color: var(--rok-orange) }
.pl-extra-lang {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--rok-fg-muted);
  padding: 1px 6px;
  border: 1px solid var(--rok-gray-200);
  text-transform: uppercase;
}
.pl-extra-link:hover .pl-extra-lang { color: var(--rok-ink); border-color: var(--rok-ink) }

.pl-card-empty-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--rok-fg-muted);
  line-height: 1.4;
}

@media (max-width: 640px) {
  .pl-lang-chip { min-width: 40px; height: 30px; font-size: 12px }
}

/* ============================================================
   /produkte — Kategorie-Übersicht (3×3 Foto-Kacheln)
   Liegt zwischen .pl-hero und der schwarzen sticky .pl-search.
   Bilder kommen aus pages.hero_image (s. seed:category-heroes).
   ============================================================ */
.pl-cat-section {
  background: #fff;
  padding: 40px 0 12px;
}
.pl-cat-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.pl-cat-cell { margin: 0 }
.pl-cat-tile {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  background: #1a1a1c;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}
.pl-cat-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.pl-cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--rok-ease, ease-out);
}
.pl-cat-media-empty {
  width: 100%;
  height: 100%;
  background: #2a2a2c;
}
.pl-cat-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 45%,
    rgba(0, 0, 0, .55) 80%,
    rgba(0, 0, 0, .78) 100%
  );
  z-index: 1;
  transition: background .3s ease;
}
.pl-cat-tile:hover::after {
  background: linear-gradient(
    180deg,
    rgba(234, 91, 10, .08) 0%,
    rgba(0, 0, 0, .05) 40%,
    rgba(0, 0, 0, .62) 80%,
    rgba(0, 0, 0, .82) 100%
  );
}
.pl-cat-tile:hover .pl-cat-media img { transform: scale(1.04) }
.pl-cat-body {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 20px 16px;
  gap: 4px;
}
.pl-cat-title {
  font-family: 'Roboto', system-ui, sans-serif;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -.005em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}
.pl-cat-count {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .82);
}
.pl-cat-tile:focus-visible {
  outline: 2px solid var(--rok-orange);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .pl-cat-grid { grid-template-columns: repeat(2, 1fr) }
}
@media (max-width: 560px) {
  .pl-cat-grid { grid-template-columns: 1fr }
  .pl-cat-tile { aspect-ratio: 16 / 9 }
}
