/*
 * ICL — Baza Wiedzy R10 / R10 integration-ready — routed AREA/TOPIC UX.
 * Page-specific CSS only. Fully scoped to .iclKnowledgeR10Root.
 * Structure stays in GreenShift/Gutenberg; no page JS is required.
 */
.iclKnowledgeR10Root {
  --icl-knowledge-bg: #07090a;
  --icl-knowledge-surface: #0b0f11;
  --icl-knowledge-surface-2: #0e1316;
  --icl-knowledge-text: var(--iclgf-ds-text, #f4f7f8);
  --icl-knowledge-muted: var(--iclgf-ds-muted, #aeb6be);
  --icl-knowledge-line: rgba(208, 221, 226, .14);
  --icl-knowledge-line-strong: rgba(208, 221, 226, .22);
  /* Content-area hues mirror the approved HOME Journal lanes.
     HOME itself is not modified in this working copy. */
  --icl-knowledge-cyan: var(--iclpv-cyan, #00f2ff);
  --icl-knowledge-copper: #ff6a2a;
  --icl-knowledge-standard: #c4cbd2;
  --icl-knowledge-area: var(--icl-knowledge-standard);
  color: var(--icl-knowledge-text);
  background: var(--icl-knowledge-bg);
  font-synthesis: none;
}

.iclKnowledgeR10Root *,
.iclKnowledgeR10Root *::before,
.iclKnowledgeR10Root *::after { box-sizing: border-box; }

.iclKnowledgeR10Root a { color: inherit; text-decoration: none; }

/* Area token contract. Add future areas by defining one new modifier/token only. */
.iclKnowledgeR10Root .iclKnowledgeR10Area--home { --icl-knowledge-area: var(--icl-knowledge-cyan); }
.iclKnowledgeR10Root .iclKnowledgeR10Area--office { --icl-knowledge-area: var(--icl-knowledge-copper); }
.iclKnowledgeR10Root .iclKnowledgeR10Area--standard { --icl-knowledge-area: var(--icl-knowledge-standard); }

.iclKnowledgeR10Root .iclKnowledgeR10Kicker,
.iclKnowledgeR10Root .iclKnowledgeR10Label,
.iclKnowledgeR10Root .iclKnowledgeR10AreaMeta,
.iclKnowledgeR10Root .iclKnowledgeR10AreaAction,
.iclKnowledgeR10Root .iclKnowledgeR10TopicGroupName,
.iclKnowledgeR10Root .iclKnowledgeR10Topic,
.iclKnowledgeR10Root .iclKnowledgeR10CardCategory,
.iclKnowledgeR10Root .iclKnowledgeR10CardDate {
  font-family: var(--iclpv-fontMono, var(--iclgf-ds-font-mono, "IBM Plex Mono", Consolas, monospace));
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* HERO */
.iclKnowledgeR10Root .iclKnowledgeR10Hero {
  position: relative;
  min-height: clamp(560px, calc(100svh - 86px), 720px);
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--icl-knowledge-line);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--icl-knowledge-cyan) 3%, transparent), transparent 42%, color-mix(in srgb, var(--icl-knowledge-copper) 2.4%, transparent)),
    var(--icl-knowledge-bg);
}

.iclKnowledgeR10Root .iclKnowledgeR10Hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 72%);
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.iclKnowledgeR10Root .iclKnowledgeR10Hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 30% 45% at 73% 48%, color-mix(in srgb, var(--icl-knowledge-cyan) 6.5%, transparent), transparent 74%),
    radial-gradient(ellipse 26% 39% at 88% 56%, color-mix(in srgb, var(--icl-knowledge-copper) 5.5%, transparent), transparent 75%);
}

.iclKnowledgeR10Root .iclKnowledgeR10HeroGrid {
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, .72fr);
  gap: clamp(42px, 6vw, 80px);
  align-items: center;
  padding-block: clamp(52px, 7vh, 78px);
}

.iclKnowledgeR10Root .iclKnowledgeR10Copy { min-width: 0; }

.iclKnowledgeR10Root .iclKnowledgeR10Kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--icl-knowledge-cyan);
  font-size: 11px;
}

.iclKnowledgeR10Root .iclKnowledgeR10Kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px color-mix(in srgb, currentColor 70%, transparent);
}

.iclKnowledgeR10Root .iclKnowledgeR10Title {
  max-width: 760px;
  margin: 22px 0 21px;
  color: var(--icl-knowledge-text);
  font-family: var(--iclpv-fontDisplay, var(--iclgf-ds-font-display, "Space Grotesk", sans-serif));
  font-size: clamp(50px, 5.15vw, 80px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.046em;
  text-wrap: balance;
  display: flex;
  flex-direction: column;
  gap: .12em;
}

.iclKnowledgeR10Root .iclKnowledgeR10TitleLine { display: block; line-height: 1.04; }

.iclKnowledgeR10Root .iclKnowledgeR10TitleLine--outline { color: rgba(244,247,248,.36); }

@supports (-webkit-text-stroke: .8px rgba(244,247,248,.48)) {
  .iclKnowledgeR10Root .iclKnowledgeR10TitleLine--outline {
    color: transparent;
    -webkit-text-stroke: .8px rgba(244,247,248,.48);
    paint-order: stroke fill;
  }
}

.iclKnowledgeR10Root .iclKnowledgeR10Lead {
  max-width: 620px;
  margin: 0;
  color: color-mix(in srgb, var(--icl-knowledge-muted) 88%, transparent);
  font-family: var(--iclpv-fontBody, var(--iclgf-ds-font-body, "IBM Plex Sans", sans-serif));
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.62;
}

.iclKnowledgeR10Root .iclKnowledgeR10Cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 34px;
  padding: 0 22px;
  border: 1px solid color-mix(in srgb, var(--icl-knowledge-cyan) 50%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--icl-knowledge-cyan) 6%, transparent);
  color: var(--icl-knowledge-text) !important;
  font-family: var(--iclpv-fontBody, var(--iclgf-ds-font-body, "IBM Plex Sans", sans-serif));
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.iclKnowledgeR10Root .iclKnowledgeR10Cta:focus-visible {
  outline: 2px solid var(--icl-knowledge-cyan);
  outline-offset: 4px;
}

.iclKnowledgeR10Root .iclKnowledgeR10GearSystem {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1.05;
  margin-inline: auto;
  isolation: isolate;
  transform: translateY(-3px);
}


.iclKnowledgeR10Root .iclKnowledgeR10Gear {
  --gear-color: var(--icl-knowledge-area, var(--icl-knowledge-standard));
  position: absolute;
  aspect-ratio: 1;
  color: var(--gear-color);
  overflow: visible;
}

.iclKnowledgeR10Root .iclKnowledgeR10Gear--core {
  --gear-color: var(--icl-knowledge-standard);
  width: 39%;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  z-index: 4;
}

.iclKnowledgeR10Root .iclKnowledgeR10Gear--home {
  width: 19%;
  left: 19.5%;
  top: 9.5%;
  z-index: 5;
}

.iclKnowledgeR10Root .iclKnowledgeR10Gear--office {
  width: 19%;
  right: 19.5%;
  top: 9.5%;
  z-index: 5;
}

.iclKnowledgeR10Root .iclKnowledgeR10Gear--standard {
  width: 17%;
  left: 50%;
  bottom: 12.5%;
  transform: translateX(-50%);
  z-index: 5;
}

.iclKnowledgeR10Root .iclKnowledgeR10GearRotor {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--gear-color) 88%, #fff 12%),
    color-mix(in srgb, var(--gear-color) 55%, #5f6a6f 45%) 42%,
    color-mix(in srgb, var(--gear-color) 28%, #0a0d0e 72%) 72%,
    color-mix(in srgb, var(--gear-color) 70%, #dce5e8 30%)
  );
  -webkit-mask: url("../media/icl-gear-mark.svg") center / contain no-repeat;
  mask: url("../media/icl-gear-mark.svg") center / contain no-repeat;
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--gear-color) 24%, transparent));
  transform-origin: 50% 50%;
  animation: iclKnowledgeGearTurn 28s linear infinite;
  will-change: transform;
}

.iclKnowledgeR10Root .iclKnowledgeR10Gear--core .iclKnowledgeR10GearRotor {
  background: linear-gradient(145deg, #eaf0f2 0%, #879397 30%, #30373a 66%, #aeb8bc 100%);
  filter:
    drop-shadow(-10px 0 18px color-mix(in srgb, var(--icl-knowledge-cyan) 15%, transparent))
    drop-shadow(10px 0 18px color-mix(in srgb, var(--icl-knowledge-copper) 12%, transparent));
  animation-duration: 42s;
}

.iclKnowledgeR10Root .iclKnowledgeR10Gear--home .iclKnowledgeR10GearRotor {
  animation-duration: 24s;
  animation-direction: reverse;
}

.iclKnowledgeR10Root .iclKnowledgeR10Gear--office .iclKnowledgeR10GearRotor {
  animation-duration: 24s;
  animation-direction: reverse;
}

.iclKnowledgeR10Root .iclKnowledgeR10Gear--standard .iclKnowledgeR10GearRotor {
  animation-duration: 22s;
  animation-direction: reverse;
}

.iclKnowledgeR10Root .iclKnowledgeR10GearHub {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 49%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  border: 1px solid color-mix(in srgb, var(--gear-color) 38%, rgba(244,247,248,.22));
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 35%, color-mix(in srgb, var(--gear-color) 11%, transparent), transparent 55%),
    rgba(6,8,9,.96);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.018),
    0 0 22px color-mix(in srgb, var(--gear-color) 9%, transparent);
  text-align: center;
}

.iclKnowledgeR10Root .iclKnowledgeR10Gear--core .iclKnowledgeR10GearHub {
  width: 52%;
  border-color: rgba(214,223,226,.38);
  background:
    radial-gradient(circle at 44% 35%, rgba(244,247,248,.10), transparent 48%),
    rgba(6,8,9,.97);
}

.iclKnowledgeR10Root .iclKnowledgeR10GearHubTitle {
  color: var(--icl-knowledge-text);
  font: 700 clamp(27px, 2.6vw, 38px)/1 var(--iclpv-fontDisplay, var(--iclgf-ds-font-display, "Space Grotesk", sans-serif));
  letter-spacing: -.035em;
}

.iclKnowledgeR10Root .iclKnowledgeR10GearHubSub,
.iclKnowledgeR10Root .iclKnowledgeR10GearCode,
.iclKnowledgeR10Root .iclKnowledgeR10GearLabel {
  font-family: var(--iclpv-fontMono, var(--iclgf-ds-font-mono, "IBM Plex Mono", Consolas, monospace));
  font-weight: 600;
  text-transform: uppercase;
}

.iclKnowledgeR10Root .iclKnowledgeR10GearHubSub {
  color: rgba(212,222,225,.62);
  font-size: 8.5px;
  line-height: 1.25;
  letter-spacing: .11em;
}

.iclKnowledgeR10Root .iclKnowledgeR10GearCode {
  color: var(--gear-color);
  font-size: clamp(11px, 1vw, 14px);
  line-height: 1;
  letter-spacing: .12em;
  text-shadow: 0 0 12px color-mix(in srgb, var(--gear-color) 34%, transparent);
}

.iclKnowledgeR10Root .iclKnowledgeR10GearLabel {
  position: absolute;
  z-index: 3;
  color: var(--gear-color);
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .11em;
  white-space: nowrap;
  text-shadow: 0 0 12px color-mix(in srgb, var(--gear-color) 18%, transparent);
}

/* Labels live outside the gear train so they never collide with the core. */
.iclKnowledgeR10Root .iclKnowledgeR10Gear--home .iclKnowledgeR10GearLabel {
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
}

.iclKnowledgeR10Root .iclKnowledgeR10Gear--office .iclKnowledgeR10GearLabel {
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  text-align: left;
}

.iclKnowledgeR10Root .iclKnowledgeR10Gear--standard .iclKnowledgeR10GearLabel {
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%);
  text-align: center;
}


@keyframes iclKnowledgeGearTurn {
  to { transform: rotate(360deg); }
}

/* AREA CARDS */
.iclKnowledgeR10Root .iclKnowledgeR10Areas {
  padding: clamp(72px, 7vw, 104px) 0 clamp(76px, 7vw, 108px);
  border-bottom: 1px solid var(--icl-knowledge-line);
  background: linear-gradient(180deg, #080b0d, #07090a);
}

.iclKnowledgeR10Root .iclKnowledgeR10AreasHead {
  display: grid;
  grid-template-columns: minmax(0, .38fr) minmax(0, .9fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.iclKnowledgeR10Root .iclKnowledgeR10Label {
  color: var(--icl-knowledge-cyan);
  font-size: 10px;
}

.iclKnowledgeR10Root .iclKnowledgeR10AreasTitle,
.iclKnowledgeR10Root .iclKnowledgeR10TopicsTitle {
  margin: 0;
  color: var(--icl-knowledge-text);
  font: 700 clamp(30px, 3vw, 46px)/1.06 var(--iclpv-fontDisplay, var(--iclgf-ds-font-display, "Space Grotesk", sans-serif));
  letter-spacing: -.038em;
  text-wrap: balance;
}

.iclKnowledgeR10Root .iclKnowledgeR10AreaGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 16px;
}

.iclKnowledgeR10Root .iclKnowledgeR10AreaCard {
  position: relative;
  min-width: 0;
  min-height: 286px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 27px 28px 25px;
  border: 1px solid color-mix(in srgb, var(--icl-knowledge-area) 26%, transparent);
  border-top: 3px solid var(--icl-knowledge-area);
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--icl-knowledge-area) 17%, transparent), transparent 38%),
    linear-gradient(145deg, color-mix(in srgb, var(--icl-knowledge-area) 7%, transparent), rgba(10,14,16,.95) 60%);
  transition: transform 190ms ease, border-color 190ms ease, background 190ms ease;
}

.iclKnowledgeR10Root .iclKnowledgeR10AreaCard::after {
  content: "";
  position: absolute;
  width: 144px;
  aspect-ratio: 1;
  top: -80px;
  right: -62px;
  border: 1px solid color-mix(in srgb, var(--icl-knowledge-area) 25%, transparent);
  border-radius: 50%;
  pointer-events: none;
}

.iclKnowledgeR10Root .iclKnowledgeR10AreaCard:focus-visible {
  outline: 2px solid var(--icl-knowledge-area);
  outline-offset: 4px;
}

.iclKnowledgeR10Root .iclKnowledgeR10AreaMeta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--icl-knowledge-area);
  font-size: 10px;
}

.iclKnowledgeR10Root .iclKnowledgeR10AreaTitle {
  margin: auto 0 0;
  padding-top: 42px;
  color: var(--icl-knowledge-text);
  font: 700 clamp(28px, 2.5vw, 38px)/1.04 var(--iclpv-fontDisplay, var(--iclgf-ds-font-display, "Space Grotesk", sans-serif));
  letter-spacing: -.038em;
}

.iclKnowledgeR10Root .iclKnowledgeR10AreaText {
  max-width: 42ch;
  margin: 13px 0 0;
  color: color-mix(in srgb, var(--icl-knowledge-muted) 84%, transparent);
  font: 14.5px/1.58 var(--iclpv-fontBody, var(--iclgf-ds-font-body, "IBM Plex Sans", sans-serif));
}

.iclKnowledgeR10Root .iclKnowledgeR10AreaAction {
  display: block;
  margin-top: 22px;
  padding-top: 17px;
  border-top: 1px solid color-mix(in srgb, var(--icl-knowledge-area) 14%, transparent);
  color: var(--icl-knowledge-area);
  font-size: 10px;
}

/* TOPICS */
.iclKnowledgeR10Root .iclKnowledgeR10Topics {
  padding: clamp(58px, 6vw, 82px) 0;
  border-bottom: 1px solid var(--icl-knowledge-line);
  background: #07090a;
}

.iclKnowledgeR10Root .iclKnowledgeR10TopicsInner {
  display: grid;
  grid-template-columns: minmax(210px, .34fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: start;
}

.iclKnowledgeR10Root .iclKnowledgeR10TopicsHead .iclKnowledgeR10Label { display: block; margin-bottom: 13px; }

.iclKnowledgeR10Root .iclKnowledgeR10TopicGroups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 14px;
}

.iclKnowledgeR10Root .iclKnowledgeR10TopicGroup {
  min-width: 0;
  padding: 17px 17px 18px;
  border-top: 2px solid color-mix(in srgb, var(--icl-knowledge-area) 82%, transparent);
  border-left: 1px solid color-mix(in srgb, var(--icl-knowledge-area) 24%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--icl-knowledge-area) 8%, transparent), transparent 72%);
}

.iclKnowledgeR10Root .iclKnowledgeR10TopicGroupName {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  color: var(--icl-knowledge-area);
  font-size: 10px;
}

.iclKnowledgeR10Root .iclKnowledgeR10TopicGroupName::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: currentColor;
}

.iclKnowledgeR10Root .iclKnowledgeR10TopicList {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.iclKnowledgeR10Root .iclKnowledgeR10Topic {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid color-mix(in srgb, var(--icl-knowledge-area) 38%, transparent);
  border-radius: 7px;
  background: color-mix(in srgb, var(--icl-knowledge-area) 6%, transparent);
  color: color-mix(in srgb, var(--icl-knowledge-area) 62%, var(--icl-knowledge-text)) !important;
  font-size: 9.5px;
  letter-spacing: .075em;
  white-space: nowrap;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.iclKnowledgeR10Root .iclKnowledgeR10Topic:focus-visible {
  border-color: var(--icl-knowledge-area);
  outline: 2px solid var(--icl-knowledge-area);
  outline-offset: 2px;
}

/* QUERY LOOP / JOURNAL */
.iclKnowledgeR10Root .iclKnowledgeR10Journal {
  padding: clamp(86px, 9vw, 124px) 0;
  background: linear-gradient(180deg, #080b0d, #07090a);
}

.iclKnowledgeR10Root .iclKnowledgeR10SectionHead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .46fr);
  gap: 46px;
  align-items: end;
  margin-bottom: 48px;
}

.iclKnowledgeR10Root .iclKnowledgeR10SectionTitle {
  max-width: 820px;
  margin: 13px 0 0;
  color: var(--icl-knowledge-text);
  font: 700 clamp(39px, 4vw, 60px)/1.04 var(--iclpv-fontDisplay, var(--iclgf-ds-font-display, "Space Grotesk", sans-serif));
  letter-spacing: -.043em;
  text-wrap: balance;
}

.iclKnowledgeR10Root .iclKnowledgeR10SectionIntro {
  margin: 0;
  color: color-mix(in srgb, var(--icl-knowledge-muted) 84%, transparent);
  font: 15.5px/1.65 var(--iclpv-fontBody, var(--iclgf-ds-font-body, "IBM Plex Sans", sans-serif));
}

.iclKnowledgeR10Root .iclKnowledgeR10Grid.wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row dense;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.iclKnowledgeR10Root .iclKnowledgeR10Grid.wp-block-post-template > li {
  --icl-knowledge-area: var(--icl-knowledge-standard);
  min-width: 0;
  display: flex;
}

/* WordPress adds category-* classes to Post Template list items. */
.iclKnowledgeR10Root .iclKnowledgeR10Grid.wp-block-post-template > li.category-smart-home { --icl-knowledge-area: var(--icl-knowledge-cyan); }
.iclKnowledgeR10Root .iclKnowledgeR10Grid.wp-block-post-template > li.category-ai-office { --icl-knowledge-area: var(--icl-knowledge-copper); }
.iclKnowledgeR10Root .iclKnowledgeR10Grid.wp-block-post-template > li.category-standard-icl { --icl-knowledge-area: var(--icl-knowledge-standard); }

/* Dynamic 1 + 2 + 3 hierarchy: order is supplied by the native Query Loop. */
.iclKnowledgeR10Root .iclKnowledgeR10Grid.wp-block-post-template > li:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 594px;
}

.iclKnowledgeR10Root .iclKnowledgeR10Grid.wp-block-post-template > li:nth-child(2),
.iclKnowledgeR10Root .iclKnowledgeR10Grid.wp-block-post-template > li:nth-child(3) { min-height: 288px; }

.iclKnowledgeR10Root .iclKnowledgeR10Grid.wp-block-post-template > li:nth-child(n+4) { min-height: 334px; }

.iclKnowledgeR10Root .iclKnowledgeR10Card {
  position: relative;
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(25px, 2.65vw, 37px);
  border: 1px solid color-mix(in srgb, var(--icl-knowledge-area) 24%, transparent);
  border-top: 3px solid color-mix(in srgb, var(--icl-knowledge-area) 92%, transparent);
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--icl-knowledge-area) 16%, transparent), transparent 36%),
    linear-gradient(150deg, color-mix(in srgb, var(--icl-knowledge-area) 6%, transparent), rgba(9,12,14,.96) 60%);
  transition: transform 190ms ease, border-color 190ms ease;
}

.iclKnowledgeR10Root .iclKnowledgeR10Card::after {
  content: "";
  position: absolute;
  right: -55px;
  top: -70px;
  width: 176px;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--icl-knowledge-area) 12%, transparent);
  border-radius: 50%;
  pointer-events: none;
}

.iclKnowledgeR10Root .iclKnowledgeR10CardBody {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.iclKnowledgeR10Root .iclKnowledgeR10CardCategory {
  min-height: 22px;
  padding-right: 86px;
  color: var(--icl-knowledge-area);
  font-size: 10px;
  line-height: 1.45;
}

.iclKnowledgeR10Root .iclKnowledgeR10CardCategory a { color: inherit !important; }

.iclKnowledgeR10Root .iclKnowledgeR10CardDate {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  color: rgba(174,182,190,.62);
  font-size: 10px;
  line-height: 1.4;
}

.iclKnowledgeR10Root .iclKnowledgeR10CardTitle {
  margin: auto 0 0;
  padding-top: 48px;
  color: var(--icl-knowledge-text);
  font-family: var(--iclpv-fontDisplay, var(--iclgf-ds-font-display, "Space Grotesk", sans-serif));
  font-size: clamp(25px, 2.05vw, 32px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.iclKnowledgeR10Root .iclKnowledgeR10Grid > li:nth-child(1) .iclKnowledgeR10CardTitle {
  max-width: 720px;
  font-size: clamp(36px, 3.65vw, 52px);
}

.iclKnowledgeR10Root .iclKnowledgeR10Grid > li:nth-child(2) .iclKnowledgeR10CardTitle,
.iclKnowledgeR10Root .iclKnowledgeR10Grid > li:nth-child(3) .iclKnowledgeR10CardTitle {
  padding-top: 34px;
  font-size: clamp(24px, 2vw, 30px);
}

.iclKnowledgeR10Root .iclKnowledgeR10CardTitle a:focus-visible {
  outline: 2px solid var(--icl-knowledge-area);
  outline-offset: 5px;
}

.iclKnowledgeR10Root .iclKnowledgeR10CardExcerpt {
  margin-top: 17px;
  color: color-mix(in srgb, var(--icl-knowledge-muted) 82%, transparent);
  font: 14.5px/1.62 var(--iclpv-fontBody, var(--iclgf-ds-font-body, "IBM Plex Sans", sans-serif));
}

.iclKnowledgeR10Root .iclKnowledgeR10Grid > li:nth-child(1) .iclKnowledgeR10CardExcerpt { max-width: 66ch; font-size: 15.5px; }

.iclKnowledgeR10Root .iclKnowledgeR10Grid > li:nth-child(2) .iclKnowledgeR10CardExcerpt > p:first-child,
.iclKnowledgeR10Root .iclKnowledgeR10Grid > li:nth-child(3) .iclKnowledgeR10CardExcerpt > p:first-child {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.iclKnowledgeR10Root .iclKnowledgeR10CardExcerpt > p:first-child { margin-top: 0; }

.iclKnowledgeR10Root .iclKnowledgeR10CardExcerpt .wp-block-post-excerpt__more-text {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--icl-knowledge-area) 12%, transparent);
}

.iclKnowledgeR10Root .iclKnowledgeR10CardExcerpt .wp-block-post-excerpt__more-link {
  color: var(--icl-knowledge-area) !important;
  font: 600 10px/1.4 var(--iclpv-fontMono, var(--iclgf-ds-font-mono, monospace));
  letter-spacing: .1em;
  text-transform: uppercase;
}

.iclKnowledgeR10Root .iclKnowledgeR10CardExcerpt .wp-block-post-excerpt__more-link:focus-visible {
  outline: 2px solid var(--icl-knowledge-area);
  outline-offset: 4px;
}

.iclKnowledgeR10Root .iclKnowledgeR10Query .wp-block-query-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 44px;
}

.iclKnowledgeR10Root .iclKnowledgeR10Query .page-numbers,
.iclKnowledgeR10Root .iclKnowledgeR10Query .wp-block-query-pagination a {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 11px;
  border: 1px solid var(--icl-knowledge-line);
  border-radius: 7px;
  color: var(--icl-knowledge-muted) !important;
  background: rgba(255,255,255,.012);
  font-family: var(--iclpv-fontMono, var(--iclgf-ds-font-mono, monospace));
  font-size: 10px;
}

.iclKnowledgeR10Root .iclKnowledgeR10Query .page-numbers.current {
  border-color: color-mix(in srgb, var(--icl-knowledge-cyan) 44%, transparent);
  color: var(--icl-knowledge-text) !important;
  background: color-mix(in srgb, var(--icl-knowledge-cyan) 6%, transparent);
}

.iclKnowledgeR10Root .iclKnowledgeR10Query .wp-block-query-pagination a:focus-visible {
  outline: 2px solid var(--icl-knowledge-cyan);
  outline-offset: 3px;
}

.iclKnowledgeR10Root .iclKnowledgeR10Empty {
  margin: 0;
  padding: 28px;
  border: 1px solid var(--icl-knowledge-line);
  color: var(--icl-knowledge-muted);
  background: var(--icl-knowledge-surface);
}

@media (hover: hover) and (pointer: fine) {
  .iclKnowledgeR10Root .iclKnowledgeR10Cta:hover {
    transform: translateY(-2px);
    border-color: var(--icl-knowledge-cyan);
    background: var(--icl-knowledge-cyan);
    color: #041012 !important;
  }

  .iclKnowledgeR10Root .iclKnowledgeR10AreaCard:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--icl-knowledge-area) 56%, transparent);
    box-shadow: 0 18px 44px -34px color-mix(in srgb, var(--icl-knowledge-area) 48%, transparent);
  }

  .iclKnowledgeR10Root .iclKnowledgeR10Topic:hover {
    border-color: color-mix(in srgb, var(--icl-knowledge-area) 48%, transparent);
    background: color-mix(in srgb, var(--icl-knowledge-area) 6%, transparent);
    color: var(--icl-knowledge-text) !important;
  }

  .iclKnowledgeR10Root .iclKnowledgeR10Grid > li:hover .iclKnowledgeR10Card {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--icl-knowledge-area) 42%, transparent);
  }
}

/* TABLET / SMALL DESKTOP */
@media (max-width: 1100px) {
  .iclKnowledgeR10Root .iclKnowledgeR10HeroGrid {
    grid-template-columns: minmax(0, 1fr) minmax(290px, .62fr);
    gap: 36px;
  }

  .iclKnowledgeR10Root .iclKnowledgeR10GearSystem { width: min(100%, 440px); }
  .iclKnowledgeR10Root .iclKnowledgeR10AreasHead { grid-template-columns: minmax(170px, .3fr) minmax(0, 1fr); }
  .iclKnowledgeR10Root .iclKnowledgeR10AreaCard { min-height: 260px; padding: 24px; }
  .iclKnowledgeR10Root .iclKnowledgeR10SectionHead { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 860px) {
  .iclKnowledgeR10Root .iclKnowledgeR10Hero { min-height: 0; }
  .iclKnowledgeR10Root .iclKnowledgeR10HeroGrid { grid-template-columns: 1fr; gap: 34px; padding-block: 68px; }
  .iclKnowledgeR10Root .iclKnowledgeR10Copy { max-width: 690px; }
  .iclKnowledgeR10Root .iclKnowledgeR10GearSystem { width: min(76vw, 380px); }

  .iclKnowledgeR10Root .iclKnowledgeR10AreasHead { grid-template-columns: 1fr; gap: 12px; }
  .iclKnowledgeR10Root .iclKnowledgeR10AreaGrid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
  .iclKnowledgeR10Root .iclKnowledgeR10AreaCard { min-height: 240px; padding: 22px; }
  .iclKnowledgeR10Root .iclKnowledgeR10AreaTitle { font-size: 27px; }
  .iclKnowledgeR10Root .iclKnowledgeR10AreaText { font-size: 13.5px; }

  .iclKnowledgeR10Root .iclKnowledgeR10TopicsInner { grid-template-columns: 1fr; gap: 26px; }
  .iclKnowledgeR10Root .iclKnowledgeR10TopicsHead { max-width: 620px; }

  .iclKnowledgeR10Root .iclKnowledgeR10Grid.wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iclKnowledgeR10Root .iclKnowledgeR10Grid.wp-block-post-template > li:nth-child(1) {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 430px;
  }
  .iclKnowledgeR10Root .iclKnowledgeR10Grid.wp-block-post-template > li:nth-child(n+2) { min-height: 320px; }
  .iclKnowledgeR10Root .iclKnowledgeR10Grid.wp-block-post-template > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* MOBILE 390 + */
@media (max-width: 640px) {
  .iclKnowledgeR10Root .iclKnowledgeR10HeroGrid { gap: 28px; padding-block: 54px 48px; }
  .iclKnowledgeR10Root .iclKnowledgeR10Kicker { font-size: 10px; }
  .iclKnowledgeR10Root .iclKnowledgeR10Title { margin-top: 17px; font-size: clamp(36px, 11vw, 46px); line-height: 1.08; letter-spacing: -.038em; gap: .14em; }
  .iclKnowledgeR10Root .iclKnowledgeR10TitleLine { line-height: 1.08; }
  .iclKnowledgeR10Root .iclKnowledgeR10TitleLine--outline { margin-top: 0; }
  .iclKnowledgeR10Root .iclKnowledgeR10Lead { font-size: 16px; line-height: 1.58; }
  .iclKnowledgeR10Root .iclKnowledgeR10Cta { width: 100%; min-height: 50px; margin-top: 27px; padding-inline: 15px; text-align: center; }
  .iclKnowledgeR10Root .iclKnowledgeR10GearSystem { width: min(82vw, 280px); margin-top: 2px; transform: none; }
  .iclKnowledgeR10Root .iclKnowledgeR10GearRotor { animation: none; will-change: auto; }
  .iclKnowledgeR10Root .iclKnowledgeR10GearLabel { display: none; }
  .iclKnowledgeR10Root .iclKnowledgeR10GearHubSub { display: none; }

  .iclKnowledgeR10Root .iclKnowledgeR10Areas { padding: 62px 0 68px; }
  .iclKnowledgeR10Root .iclKnowledgeR10AreasTitle,
  .iclKnowledgeR10Root .iclKnowledgeR10TopicsTitle { font-size: clamp(30px, 9vw, 38px); }
  .iclKnowledgeR10Root .iclKnowledgeR10AreaGrid { grid-template-columns: 1fr; gap: 12px; }
  .iclKnowledgeR10Root .iclKnowledgeR10AreaCard { min-height: 208px; padding: 20px; }
  .iclKnowledgeR10Root .iclKnowledgeR10AreaTitle { padding-top: 30px; font-size: 29px; }
  .iclKnowledgeR10Root .iclKnowledgeR10AreaText { margin-top: 10px; font-size: 14px; }
  .iclKnowledgeR10Root .iclKnowledgeR10AreaAction { margin-top: 18px; }

  .iclKnowledgeR10Root .iclKnowledgeR10Topics { padding: 54px 0 60px; }
  .iclKnowledgeR10Root .iclKnowledgeR10TopicGroups { grid-template-columns: 1fr; gap: 10px; }
  .iclKnowledgeR10Root .iclKnowledgeR10TopicGroup { padding: 15px; }
  .iclKnowledgeR10Root .iclKnowledgeR10TopicList { flex-wrap: wrap; overflow: visible; padding-bottom: 0; }
  .iclKnowledgeR10Root .iclKnowledgeR10Topic { flex: 0 1 auto; min-height: 42px; font-size: 10px; white-space: normal; }

  .iclKnowledgeR10Root .iclKnowledgeR10Journal { padding: 64px 0 74px; }
  .iclKnowledgeR10Root .iclKnowledgeR10SectionHead { margin-bottom: 33px; }
  .iclKnowledgeR10Root .iclKnowledgeR10SectionTitle { font-size: clamp(35px, 11vw, 44px); }
  .iclKnowledgeR10Root .iclKnowledgeR10SectionIntro { font-size: 14.5px; }
  .iclKnowledgeR10Root .iclKnowledgeR10Grid.wp-block-post-template { grid-template-columns: 1fr; gap: 13px; }
  .iclKnowledgeR10Root .iclKnowledgeR10Grid.wp-block-post-template > li,
  .iclKnowledgeR10Root .iclKnowledgeR10Grid.wp-block-post-template > li:nth-child(1),
  .iclKnowledgeR10Root .iclKnowledgeR10Grid.wp-block-post-template > li:nth-child(n+2),
  .iclKnowledgeR10Root .iclKnowledgeR10Grid.wp-block-post-template > li:last-child:nth-child(odd) {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
  }
  .iclKnowledgeR10Root .iclKnowledgeR10Card { min-height: 310px; padding: 23px 20px; }
  .iclKnowledgeR10Root .iclKnowledgeR10Grid > li:first-child .iclKnowledgeR10Card { min-height: 360px; }
  .iclKnowledgeR10Root .iclKnowledgeR10CardCategory { padding-right: 0; font-size: 9.5px; }
  .iclKnowledgeR10Root .iclKnowledgeR10CardDate { position: static; order: 2; margin-top: 8px; font-size: 9.5px; }
  .iclKnowledgeR10Root .iclKnowledgeR10CardTitle,
  .iclKnowledgeR10Root .iclKnowledgeR10Grid > li:nth-child(1) .iclKnowledgeR10CardTitle,
  .iclKnowledgeR10Root .iclKnowledgeR10Grid > li:nth-child(2) .iclKnowledgeR10CardTitle,
  .iclKnowledgeR10Root .iclKnowledgeR10Grid > li:nth-child(3) .iclKnowledgeR10CardTitle {
    padding-top: 38px;
    font-size: clamp(27px, 8.5vw, 34px);
  }
  .iclKnowledgeR10Root .iclKnowledgeR10CardExcerpt,
  .iclKnowledgeR10Root .iclKnowledgeR10Grid > li:nth-child(1) .iclKnowledgeR10CardExcerpt { font-size: 14px; }
}

/* NARROW MOBILE 320 / 360 */
@media (max-width: 380px) {
  .iclKnowledgeR10Root .iclKnowledgeR10HeroGrid { gap: 22px; padding-block: 48px 42px; }
  .iclKnowledgeR10Root .iclKnowledgeR10Title { font-size: clamp(33px, 10.8vw, 40px); line-height: 1.1; gap: .16em; }
  .iclKnowledgeR10Root .iclKnowledgeR10TitleLine { line-height: 1.1; }
  .iclKnowledgeR10Root .iclKnowledgeR10Lead { font-size: 15.5px; }
  .iclKnowledgeR10Root .iclKnowledgeR10GearSystem { width: min(82vw, 238px); }

  .iclKnowledgeR10Root .iclKnowledgeR10AreaCard { min-height: 198px; padding: 18px; }
  .iclKnowledgeR10Root .iclKnowledgeR10AreaMeta { font-size: 9.5px; }
  .iclKnowledgeR10Root .iclKnowledgeR10AreaTitle { font-size: 27px; }
  .iclKnowledgeR10Root .iclKnowledgeR10AreaText { font-size: 13.5px; }
  .iclKnowledgeR10Root .iclKnowledgeR10Card { min-height: 296px; padding: 21px 18px; }
  .iclKnowledgeR10Root .iclKnowledgeR10Grid > li:first-child .iclKnowledgeR10Card { min-height: 338px; }
  .iclKnowledgeR10Root .iclKnowledgeR10Query .wp-block-query-pagination { gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .iclKnowledgeR10Root .iclKnowledgeR10GearRotor { animation: none !important; will-change: auto; }
  .iclKnowledgeR10Root .iclKnowledgeR10Cta,
  .iclKnowledgeR10Root .iclKnowledgeR10AreaCard,
  .iclKnowledgeR10Root .iclKnowledgeR10Topic,
  .iclKnowledgeR10Root .iclKnowledgeR10Card { transition: none; }
  .iclKnowledgeR10Root .iclKnowledgeR10Cta:hover,
  .iclKnowledgeR10Root .iclKnowledgeR10AreaCard:hover,
  .iclKnowledgeR10Root .iclKnowledgeR10Grid > li:hover .iclKnowledgeR10Card { transform: none; }
}


/* ================================================================
   R10 FINAL ROUTED STATE LAYER
   /wiedza/ -> all
   /wiedza/{area}/ -> area feed + contextual topics
   /wiedza/{area}/{topic}/ -> exact topic feed
   ================================================================ */
.iclKnowledgeR10Root .iclKnowledgeR10ContextMount:empty { display:none; }
.iclKnowledgeR10Root .iclKnowledgeR10ContextEditorNote { display:none; }
.iclKnowledgeR10Root .iclKnowledgeR10Context {
  --icl-context-area: var(--icl-knowledge-standard);
  display:grid;
  gap:16px;
  margin:-10px 0 34px;
  padding:18px 20px;
  border:1px solid color-mix(in srgb, var(--icl-context-area) 24%, var(--icl-knowledge-line));
  border-left:2px solid var(--icl-context-area);
  border-radius:8px;
  background:linear-gradient(100deg,color-mix(in srgb,var(--icl-context-area) 4.5%,transparent),rgba(255,255,255,.008));
}
body.icl-knowledge-area-home .iclKnowledgeR10Root .iclKnowledgeR10Context { --icl-context-area:var(--icl-knowledge-cyan); }
body.icl-knowledge-area-office .iclKnowledgeR10Root .iclKnowledgeR10Context { --icl-context-area:var(--icl-knowledge-copper); }
body.icl-knowledge-area-standard .iclKnowledgeR10Root .iclKnowledgeR10Context { --icl-context-area:var(--icl-knowledge-standard); }
.iclKnowledgeR10Root .iclKnowledgeR10ContextTop {
  display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap;
}
.iclKnowledgeR10Root .iclKnowledgeR10Breadcrumb ol {
  display:flex; align-items:baseline; gap:9px; flex-wrap:wrap; margin:0; padding:0; list-style:none;
  font-family:var(--iclpv-fontMono,var(--iclgf-ds-font-mono,"IBM Plex Mono",monospace));
  text-transform:uppercase; letter-spacing:.105em; font-size:10px; font-weight:600;
}
.iclKnowledgeR10Root .iclKnowledgeR10Breadcrumb a { color:var(--icl-knowledge-muted); }
.iclKnowledgeR10Root .iclKnowledgeR10Breadcrumb a:hover,
.iclKnowledgeR10Root .iclKnowledgeR10Breadcrumb a:focus-visible { color:var(--icl-knowledge-text); }
.iclKnowledgeR10Root .iclKnowledgeR10ContextArea { color:var(--icl-context-area)!important; }
.iclKnowledgeR10Root .iclKnowledgeR10ContextTopic { color:var(--icl-knowledge-text); }
.iclKnowledgeR10Root .iclKnowledgeR10ContextReset {
  min-height:38px; display:inline-flex; align-items:center; padding:0 12px;
  border:1px solid var(--icl-knowledge-line); border-radius:6px; color:var(--icl-knowledge-muted)!important;
  font:600 10px/1 var(--iclpv-fontMono,var(--iclgf-ds-font-mono,"IBM Plex Mono",monospace));
  letter-spacing:.08em; text-transform:uppercase;
}
.iclKnowledgeR10Root .iclKnowledgeR10ContextReset:hover,
.iclKnowledgeR10Root .iclKnowledgeR10ContextReset:focus-visible { color:var(--icl-knowledge-text)!important; border-color:color-mix(in srgb,var(--icl-context-area) 46%,transparent); }
.iclKnowledgeR10Root .iclKnowledgeR10ContextReset:focus-visible,
.iclKnowledgeR10Root .iclKnowledgeR10Topic:focus-visible { outline:2px solid var(--icl-context-area); outline-offset:3px; }
.iclKnowledgeR10Root .iclKnowledgeR10ContextTopics {
  display:flex; align-items:center; gap:8px; flex-wrap:wrap;
}
.iclKnowledgeR10Root .iclKnowledgeR10ContextTopicsLabel {
  margin-right:4px; color:var(--icl-knowledge-muted);
  font:600 9.5px/1.2 var(--iclpv-fontMono,var(--iclgf-ds-font-mono,"IBM Plex Mono",monospace));
  letter-spacing:.11em; text-transform:uppercase;
}
.iclKnowledgeR10Root .iclKnowledgeR10Context .iclKnowledgeR10Topic {
  --icl-knowledge-area:var(--icl-context-area);
  min-height:39px; padding:0 12px; display:inline-flex; align-items:center;
  border:1px solid color-mix(in srgb,var(--icl-context-area) 22%,var(--icl-knowledge-line));
  border-radius:6px; background:rgba(255,255,255,.008); color:var(--icl-knowledge-muted)!important;
  font-size:9.5px; white-space:normal;
}
.iclKnowledgeR10Root .iclKnowledgeR10Context .iclKnowledgeR10Topic[aria-current="page"] {
  border-color:color-mix(in srgb,var(--icl-context-area) 58%,transparent);
  background:color-mix(in srgb,var(--icl-context-area) 8%,transparent);
  color:var(--icl-context-area)!important;
}
.iclKnowledgeR10Root .iclKnowledgeR10MoreTopics { position:relative; }
.iclKnowledgeR10Root .iclKnowledgeR10MoreTopics > summary {
  list-style:none; cursor:pointer; min-height:39px; display:inline-flex; align-items:center; padding:0 12px;
  border:1px solid var(--icl-knowledge-line); border-radius:6px; color:var(--icl-knowledge-muted);
  font:600 9.5px/1 var(--iclpv-fontMono,var(--iclgf-ds-font-mono,"IBM Plex Mono",monospace));
  letter-spacing:.08em; text-transform:uppercase;
}
.iclKnowledgeR10Root .iclKnowledgeR10MoreTopics > summary::-webkit-details-marker { display:none; }
.iclKnowledgeR10Root .iclKnowledgeR10MoreTopics[open] > summary { color:var(--icl-context-area); border-color:color-mix(in srgb,var(--icl-context-area) 44%,transparent); }
.iclKnowledgeR10Root .iclKnowledgeR10MoreTopicsList {
  position:absolute; z-index:20; right:0; top:calc(100% + 7px); width:min(310px,82vw);
  display:flex; flex-wrap:wrap; gap:7px; padding:12px;
  border:1px solid color-mix(in srgb,var(--icl-context-area) 30%,var(--icl-knowledge-line));
  border-radius:8px; background:#0b0f11; box-shadow:0 18px 48px rgba(0,0,0,.36);
}

/* Active AREA card remains obvious after routed navigation. */
body.icl-knowledge-area-home .iclKnowledgeR10Root .iclKnowledgeR10AreaCard[data-icl-area="smart-home"],
body.icl-knowledge-area-office .iclKnowledgeR10Root .iclKnowledgeR10AreaCard[data-icl-area="ai-office"],
body.icl-knowledge-area-standard .iclKnowledgeR10Root .iclKnowledgeR10AreaCard[data-icl-area="standard-icl"] {
  border-color:color-mix(in srgb,var(--icl-knowledge-area) 72%,transparent);
  box-shadow:0 0 0 1px color-mix(in srgb,var(--icl-knowledge-area) 15%,transparent),0 18px 44px -34px color-mix(in srgb,var(--icl-knowledge-area) 45%,transparent);
}

/* Query Loop remains useful when an AREA/TOPIC has fewer than six posts. */
.iclKnowledgeR10Root .iclKnowledgeR10Grid.wp-block-post-template > li:only-child { grid-column:1/-1; grid-row:auto; min-height:400px; }
.iclKnowledgeR10Root .iclKnowledgeR10Grid.wp-block-post-template > li:first-child:nth-last-child(2) { grid-row:auto; }
.iclKnowledgeR10Root .iclKnowledgeR10Grid.wp-block-post-template > li:nth-child(2):last-child { grid-row:auto; }

@media (max-width:860px) {
  .iclKnowledgeR10Root .iclKnowledgeR10Context { margin-top:-4px; padding:16px; }
  .iclKnowledgeR10Root .iclKnowledgeR10MoreTopicsList { left:0; right:auto; }
}
@media (max-width:640px) {
  .iclKnowledgeR10Root .iclKnowledgeR10Context { gap:13px; margin:0 0 28px; padding:14px; }
  .iclKnowledgeR10Root .iclKnowledgeR10ContextTop { align-items:flex-start; gap:12px; }
  .iclKnowledgeR10Root .iclKnowledgeR10ContextReset { width:100%; justify-content:center; }
  .iclKnowledgeR10Root .iclKnowledgeR10ContextTopics { gap:7px; }
  .iclKnowledgeR10Root .iclKnowledgeR10ContextTopicsLabel { width:100%; margin:0 0 2px; }
  .iclKnowledgeR10Root .iclKnowledgeR10ContextReset,
  .iclKnowledgeR10Root .iclKnowledgeR10Context .iclKnowledgeR10Topic,
  .iclKnowledgeR10Root .iclKnowledgeR10MoreTopics > summary { min-height:44px; font-size:9.5px; }
  .iclKnowledgeR10Root .iclKnowledgeR10MoreTopics { flex:1 1 auto; }
  .iclKnowledgeR10Root .iclKnowledgeR10MoreTopics > summary { justify-content:center; }
  .iclKnowledgeR10Root .iclKnowledgeR10MoreTopicsList { position:static; width:100%; margin-top:7px; box-shadow:none; }
}
