/* Accessibility layer (WCAG 2.2 AA). Loaded last on purpose: vendor CSS removes focus outlines. */

/* Skip link: first focusable element, visible on focus. */
.kb-skip-link {
  position: fixed;
  left: var(--kb-space-4);
  top: -6rem;
  z-index: 2147483000;
  min-height: var(--kb-target);
  display: inline-flex;
  align-items: center;
  padding: var(--kb-space-2) var(--kb-space-4);
  background: var(--kb-pine);
  color: var(--kb-on-pine);
  border: 2px solid var(--kb-on-pine);
  border-radius: var(--kb-radius);
  font: 600 1rem/1.4 var(--kb-font-body);
  text-decoration: none;
}
.kb-skip-link:focus,
.kb-skip-link:focus-visible {
  top: var(--kb-space-4);
}

/* The skip target takes programmatic focus only; it must not show a ring around the whole page. */
#main-content:focus {
  outline: none;
}

/* Visible focus on every interactive control. The outline is pine; the white halo keeps it visible on
   dark bands too. !important is deliberate: JNews and Elementor reset outlines with high specificity. */
html body a:focus-visible,
html body button:focus-visible,
html body input:focus-visible,
html body select:focus-visible,
html body textarea:focus-visible,
html body summary:focus-visible,
html body [role="button"]:focus-visible,
html body [tabindex]:not([tabindex="-1"]):focus-visible {
  outline: var(--kb-focus-width) solid var(--kb-focus) !important;
  outline-offset: var(--kb-focus-offset) !important;
  box-shadow: 0 0 0 calc(var(--kb-focus-offset) + 1px) var(--kb-focus-on-dark) !important;
  border-radius: max(var(--kb-radius), 2px);
}

/* Keep focused elements clear of the sticky header (WCAG 2.4.11 Focus Not Obscured). */
html {
  scroll-padding-top: 6rem;
}

/* Links inside running text are never colour-only. */
.content-inner a:not([class]),
.entry-content a:not([class]) {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  color: var(--kb-pine);
}
.content-inner a:not([class]):hover,
.entry-content a:not([class]):hover {
  color: var(--kb-fruit);
}

/* Minimum target size (WCAG 2.5.8 requires 24x24 CSS px; the design target is 44x44). */
html body .jeg_search_toggle,
html body .jeg_search_button,
html body .jeg_menu_icon_wrapper a,
html body .jeg_mobile_toggle,
html body .jeg_nav_icon {
  display: inline-flex;          /* min-width/height do nothing on inline links */
  align-items: center;
  justify-content: center;
  min-width: 2rem !important;   /* JNews sets a 15px min-width with higher specificity */
  min-height: 2rem !important;
}

/* Honour the visitor's motion preference. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Windows High Contrast / forced colours: use system colours for the focus ring. */
@media (forced-colors: active) {
  html body a:focus-visible,
  html body button:focus-visible,
  html body input:focus-visible,
  html body [role="button"]:focus-visible {
    outline-color: Highlight !important;
    box-shadow: none !important;
  }
  .kb-skip-link {
    border-color: ButtonText;
  }
}

/* The dark-mode switch is a visually hidden checkbox inside a styled label: show the focus on the label. */
html body .dark_mode_switch:has(.jeg_dark_mode_toggle:focus-visible) {
  outline: var(--kb-focus-width) solid var(--kb-focus);
  outline-offset: var(--kb-focus-offset);
  box-shadow: 0 0 0 calc(var(--kb-focus-offset) + 1px) var(--kb-focus-on-dark);
  border-radius: 999px;
}

/* ---------- Reading preferences (footer add-on; state on <html data-kb-*>) ---------- */
html[data-kb-text="large"] { font-size: 112.5%; }
html[data-kb-text="xlarge"] { font-size: 125%; }
html[data-kb-motion="on"] *, html[data-kb-motion="on"] *::before, html[data-kb-motion="on"] *::after {
  animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important;
}
html[data-kb-links="on"] a:not(.elementor-button) { text-decoration: underline !important; text-underline-offset: .2em; text-decoration-thickness: 2px; }
html[data-kb-links="on"] a:focus-visible, html[data-kb-links="on"] button:focus-visible { outline-width: 4px; }

.kb-prefs-section { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 2px solid var(--kb-on-ink-muted); }
.kb-prefs__title { margin: 0 0 .5rem; font-size: 1.25rem; }
.kb-prefs__hint { margin: 0 0 1rem; font-size: 1.0625rem; }
.kb-prefs__group { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 0 0 .75rem; padding: 0; border: 0; }
.kb-prefs__group legend { padding: 0; margin: 0 .75rem 0 0; float: left; font-size: 1.125rem; }
.kb-prefs button {
  box-sizing: border-box; min-height: 2.75rem; min-width: 2.75rem; padding: .5rem .875rem; font: inherit; font-size: 1.125rem;
  background: transparent; color: var(--kb-on-ink); border: 2px solid var(--kb-on-ink); border-radius: 4px; cursor: pointer; text-decoration: none;
}
.kb-prefs button[aria-pressed="true"] { background: var(--kb-on-ink); color: var(--kb-ink); font-weight: 700; }
.kb-prefs button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.kb-prefs__status { margin: .5rem 0 0; min-height: 1.5rem; font-size: 1.0625rem; }
@media (max-width: 767px) { .kb-prefs button { flex: 1 1 100%; } .kb-prefs__group legend { float: none; flex: 1 1 100%; } }

/* Content links stay recognisable without colour; navigation and buttons are not forced to underline. */
.kb-prose a, .kb-footer__accessibility a, .kb-footer .elementor-widget-text-editor a { text-decoration: underline; text-underline-offset: .2em; }

/* ---------- Brand: the original logo, full size ---------- */
.kb-header .kb-logo img { max-width: none; max-height: 3.25rem; width: auto; object-fit: contain; }
.kb-header .kb-masthead-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 767px) { .kb-header .kb-logo { display: block; } .kb-header .kb-logo img { max-height: 2.5rem; } }

/* ---------- Banners restored from the original home page ---------- */
.kb-banner { margin: 0; }
.kb-banner__label { display: block; margin: 0 0 .25rem; font-size: 1rem; }
.kb-banner a { display: block; }
.kb-banner img { display: block; width: 100%; height: auto; }
.kb-banner--wide { margin-block: 1rem; }

.kb-header .kb-logo-link { display: inline-block; line-height: 0; }
.kb-header .kb-logo img { width: auto; height: auto; }
.kb-banner--wide, .kb-banner--wide .elementor-widget-container { width: 100%; max-width: 100%; flex: 1 1 100%; align-self: stretch; }
.kb-header > .e-con-inner { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
.kb-header__top, .kb-header__navbar { width: 100%; max-width: 100%; flex: 0 0 auto; }
.kb-header .kb-header__brand { flex: 1 1 auto; width: auto; }

/* ===== News cards v2 (home only): real card padding, one spacing rhythm, shorter lines. =====
   Scoped to .kb-home so the archive/category cards stay as they are. Desktop 24px, mobile 16px. */
.kb-home { --kb-card-pad: 24px; --kb-gap: .75rem; }
@media (max-width: 767px) { .kb-home { --kb-card-pad: 16px; } }
.kb-home > .e-con-inner > .kb-hero { grid-column: 1; grid-row: 1; }
.kb-home > .e-con-inner > .kb-home__cols { grid-column: 2; grid-row: 1 / span 2; }
.kb-home > .e-con-inner > .kb-more { grid-column: 1; grid-row: 2; width: 100%; }
@media (max-width: 1024px) {
  .kb-home > .e-con-inner > .kb-hero, .kb-home > .e-con-inner > .kb-home__cols, .kb-home > .e-con-inner > .kb-more { grid-column: 1; grid-row: auto; }
}
.kb-home .kb-more .elementor-posts-container { gap: 16px !important; }
@media (max-width: 767px) { .kb-home .kb-more .elementor-posts-container { grid-template-columns: minmax(0, 1fr) !important; } }

/* the card itself */
.kb-home .kb-hero-card .elementor-post__card,
.kb-home .kb-more .elementor-post__card,
.kb-home .kb-section--topic .elementor-post__card {
  display: flex; flex-direction: column; gap: var(--kb-gap);
  padding: var(--kb-card-pad) !important; margin: 0;
  background: var(--kb-surface); border: 1px solid var(--kb-border-soft); border-radius: 0; box-shadow: none; height: 100%;
}
.kb-home .kb-hero-card .elementor-post__card:hover,
.kb-home .kb-more .elementor-post__card:hover,
.kb-home .kb-section--topic .elementor-post__card:hover { box-shadow: none; border-color: var(--kb-border-strong); }
/* text block: no hidden zero padding, one gap between meta, title, excerpt, link */
.kb-home .kb-hero-card .elementor-post__text,
.kb-home .kb-more .elementor-post__text,
.kb-home .kb-section--topic .elementor-post__text {
  display: flex; flex-direction: column; gap: var(--kb-gap); margin: 0 !important; padding: 0 !important;
}
.kb-home .kb-hero-card .elementor-post__meta-data,
.kb-home .kb-more .elementor-post__meta-data,
.kb-home .kb-section--topic .elementor-post__meta-data { margin: 0 !important; padding: 0 !important; border: 0 !important; order: -1; }
.kb-home .kb-hero-card .elementor-post-date,
.kb-home .kb-more .elementor-post-date,
.kb-home .kb-section--topic .elementor-post-date { padding: 0; margin: 0; }
.kb-home .kb-hero-card .elementor-post-date::before,
.kb-home .kb-more .elementor-post-date::before,
.kb-home .kb-section--topic .elementor-post-date::before { content: none; display: none; }
.kb-home .kb-hero-card .elementor-post__title,
.kb-home .kb-more .elementor-post__title,
.kb-home .kb-section--topic .elementor-post__title { margin: 0 !important; padding: 0; }
.kb-home .kb-hero-card .elementor-post__excerpt,
.kb-home .kb-hero-card .elementor-post__read-more-wrapper { margin: 0 !important; padding: 0; }
.kb-home .kb-hero-card .elementor-post__read-more-wrapper { border: 0; }
.kb-home .kb-hero-card .elementor-post__excerpt { border: 0; }
.kb-home .kb-hero-card .elementor-post__excerpt p { max-width: 62ch; margin: 0; }
.kb-home .kb-hero-card .elementor-post__title, .kb-home .kb-hero-card .elementor-post__title a { max-width: 24ch; }
.kb-home .kb-hero-card .elementor-post__thumbnail__link,
.kb-home .kb-more .elementor-post__thumbnail__link,
.kb-home .kb-section--topic .elementor-post__thumbnail__link { margin: 0 !important; padding: 0; display: block; }
.kb-home .kb-more .elementor-post__thumbnail img, .kb-home .kb-section--topic .elementor-post__thumbnail img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.kb-home .kb-more .elementor-post__title, .kb-home .kb-more .elementor-post__title a { font-size: 1.375rem; line-height: 1.3; }
.kb-home .kb-more .elementor-post__thumbnail__link, .kb-home .kb-more .elementor-post__meta-data { display: block; }
.kb-home .kb-more .elementor-post__badge { display: none; }
.kb-home .kb-section__title { margin: 0 0 var(--kb-gap); }
.kb-home .kb-banner--side { margin: 0 0 24px; }
.kb-home .kb-home__cols .kb-banner--side + .kb-home__main { margin-top: 0; }

/* v2 fixes: lead date sits under the image, left aligned; wide banner spans the whole grid */
.kb-home .kb-hero-card .elementor-post__thumbnail__link { order: 0; }
.kb-home .kb-hero-card .elementor-post__meta-data { order: 1; text-align: left; justify-content: flex-start; display: block; }
.kb-home .kb-hero-card .elementor-post__text { order: 2; }
.kb-home .kb-more .elementor-post__meta-data, .kb-home .kb-section--topic .elementor-post__meta-data { order: 1; }
.kb-home .kb-more .elementor-post__thumbnail__link, .kb-home .kb-section--topic .elementor-post__thumbnail__link { order: 0; }
.kb-home .kb-more .elementor-post__text, .kb-home .kb-section--topic .elementor-post__text { order: 2; }
.kb-home > .e-con-inner > .kb-banner--wide { grid-column: 1 / -1; width: 100%; }
.kb-home .kb-hero-card .elementor-post__meta-data, .kb-home .kb-hero-card .elementor-post__meta-data * { align-self: flex-start; text-align: left !important; justify-content: flex-start !important; margin-left: 0 !important; margin-right: auto !important; float: none !important; }

/* v2 refinements: ad after the headline list on small screens; tighter rail heading gap */
@media (max-width: 1024px) { .kb-home .kb-home__cols .kb-banner--side { order: 3; margin: 8px 0 0; } .kb-home .kb-home__cols { display: flex !important; flex-direction: column; } }
.kb-home .kb-home__main { gap: 0; row-gap: 0; }
.kb-home .kb-home__main > .elementor-widget { margin: 0; }
.kb-home .kb-home__main .elementor-posts-container { margin-top: 0; padding-top: 0; }
.kb-home .kb-home__main .elementor-post:first-child .elementor-post__card { padding-top: 0; }

/* ===== Magazine article (global single template): 2/3 main column + 1/3 sidebar, related below. ===== */
.kb-article > .e-con-inner {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; align-items: start;
  grid-template-areas: "main side" "related related";
}
.kb-article > .e-con-inner > .kb-article__main { grid-area: main; width: 100%; display: flex; flex-direction: column; gap: 24px; }
.kb-article > .e-con-inner > .kb-article__side { grid-area: side; width: 100%; display: flex; flex-direction: column; gap: 24px; padding-left: 24px; border-left: 1px solid var(--kb-border-soft); }
.kb-article > .e-con-inner > .kb-related { grid-area: related; width: 100%; padding-top: 24px; border-top: 2px solid var(--kb-pine); }
.kb-article__main .kb-article__head > .e-con-inner,
.kb-article__main .kb-article__body > .e-con-inner,
.kb-article__main .kb-article__after > .e-con-inner { max-width: none; margin-inline: 0; }
.kb-article__main .kb-prose, .kb-article__main .kb-prose > .elementor-widget-container { max-width: 70ch; margin-inline: 0; }
.kb-article__main .kb-article__title .elementor-heading-title { max-width: 26ch; }
.kb-article__main .kb-lead { max-width: 62ch; }
.kb-article__main .kb-banner--wide { margin: 0; }
.kb-article__side .kb-banner--side { margin: 0; }
.kb-article__side .kb-cards--rail .elementor-posts-container { grid-template-columns: minmax(0, 1fr) !important; gap: 0 !important; }
.kb-article__side .kb-cards--rail .elementor-post__card { padding: 12px 0 !important; border: 0; border-bottom: 1px solid var(--kb-border-soft); background: transparent; box-shadow: none; display: flex; flex-direction: column; gap: 4px; }
.kb-article__side .kb-cards--rail .elementor-post__thumbnail__link,
.kb-article__side .kb-cards--rail .elementor-post__badge { display: none; }
.kb-article__side .kb-cards--rail .elementor-post__text { margin: 0 !important; padding: 0 !important; }
.kb-article__side .kb-cards--rail .elementor-post__meta-data { order: -1; margin: 0 !important; padding: 0 !important; border: 0; }
.kb-article__side .kb-cards--rail .elementor-post__title, .kb-article__side .kb-cards--rail .elementor-post__title a { font-size: 1.25rem; line-height: 1.3; margin: 0; }
/* related cards: same padding rhythm as the home cards (24px desktop / 16px mobile) */
.kb-related .elementor-post__card { display: flex; flex-direction: column; gap: .75rem; padding: 24px !important; background: var(--kb-surface); border: 1px solid var(--kb-border-soft); border-radius: 0; box-shadow: none; height: 100%; }
.kb-related .elementor-post__text { display: flex; flex-direction: column; gap: .75rem; margin: 0 !important; padding: 0 !important; order: 2; }
.kb-related .elementor-post__thumbnail__link { margin: 0 !important; display: block; order: 0; }
.kb-related .elementor-post__thumbnail img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.kb-related .elementor-post__meta-data { order: 1; margin: 0 !important; padding: 0 !important; border: 0; }
.kb-related .elementor-post__title, .kb-related .elementor-post__title a { font-size: 1.25rem; line-height: 1.3; margin: 0; }
.kb-related .elementor-post__excerpt, .kb-related .elementor-post__excerpt p { margin: 0; font-size: 1.0625rem; line-height: 1.55; }
.kb-related .elementor-post__badge { display: none; }
@media (max-width: 1024px) {
  .kb-article > .e-con-inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "related" "side"; gap: 24px; }
  .kb-article > .e-con-inner > .kb-article__side { padding-left: 0; border-left: 0; }
}
@media (max-width: 767px) { .kb-related .elementor-post__card { padding: 16px !important; } .kb-related .elementor-posts-container { grid-template-columns: minmax(0, 1fr) !important; } }
.kb-article > .e-con-inner > .kb-article__main, .kb-article > .e-con-inner > .kb-article__side, .kb-article__main .kb-article__head, .kb-article__main .kb-article__media, .kb-article__main .kb-article__body, .kb-article__main .kb-article__after { flex-wrap: nowrap; min-width: 0; }
.kb-article__main > *, .kb-article__side > * { max-width: 100%; min-width: 0; }
.kb-article__main, .kb-article__side, .kb-article__main .e-con, .kb-article__side .e-con, .kb-related { --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; padding: 0; }
.kb-article > .e-con-inner > .kb-related { padding-top: 24px; }
.kb-article > .e-con-inner > .kb-article__side { padding-left: 24px; }
@media (max-width: 1024px) { .kb-article > .e-con-inner > .kb-article__side { padding-left: 0; } }

/* single: breadcrumb separators and plain meta lines (no list bullets) */
.kb-breadcrumb #breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; font-size: 1rem; line-height: 1.5; }
.kb-breadcrumb #breadcrumbs i.fa { display: inline-block; width: .5rem; height: .5rem; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); margin: 0 .25rem; font-size: 0; opacity: .7; }
.kb-breadcrumb #breadcrumbs a { text-decoration: underline; text-underline-offset: .2em; }
.kb-eyebrow ul, .kb-meta ul { list-style: none; margin: 0; padding: 0; }
.kb-eyebrow li, .kb-meta li { list-style: none; }
.kb-eyebrow li::marker, .kb-meta li::marker { content: none; }

/* long words at large text sizes: titles wrap or hyphenate instead of overflowing narrow columns (320px, 200% zoom) */
h1, h2, h3, .elementor-heading-title, .elementor-post__title, .elementor-post__title a { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 480px) { .kb-article__title .elementor-heading-title, .kb-archive h1.elementor-heading-title, .kb-archive .elementor-heading-title { font-size: clamp(1.625rem, 8.5vw, 2.25rem); line-height: 1.2; } }
.kb-prose p, .kb-prose li, .kb-prose strong, .kb-prose h2, .kb-prose h3, .kb-prose h4, .kb-prose blockquote { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 480px) { .kb-prose ul, .kb-prose ol { padding-inline-start: 1.25rem; } .kb-prose blockquote { margin-inline: 0; padding-inline: 1rem; } }

/* ===== Article sidebar v2: latest titles with a small image; Témakörök box with real padding ===== */
.kb-latest { list-style: none; margin: 0; padding: 0; }
.kb-latest__item { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--kb-border-soft); }
.kb-latest__item--thumb { grid-template-columns: 88px minmax(0, 1fr); align-items: start; }
.kb-latest__thumb { display: block; line-height: 0; }
.kb-latest__thumb img { display: block; width: 88px; height: 66px; object-fit: cover; border-radius: 0; }
.kb-latest__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kb-latest__date { font-size: 1rem; line-height: 1.4; color: var(--kb-text-muted); }
.kb-latest__title { font: 700 1.25rem/1.3 var(--kb-font-display, Georgia, serif); color: var(--kb-text); text-decoration: none; overflow-wrap: anywhere; hyphens: auto; }
.kb-latest__title:hover { text-decoration: underline; text-underline-offset: .2em; }
.kb-latest__title:focus-visible { outline: 3px solid var(--kb-focus); outline-offset: 2px; }
.kb-article__side .kb-aside__box.e-con {
  --padding-top: 24px; --padding-right: 24px; --padding-bottom: 24px; --padding-left: 24px;
  padding: 24px !important; border: 1px solid var(--kb-border-soft); background: var(--kb-surface); border-radius: 0; gap: 8px;
}
.kb-article__side .kb-aside__box .kb-aside__title { margin: 0 0 8px; }
.kb-article__side .kb-topics--list .kb-topics__list { gap: 0; }
.kb-article__side .kb-topics--list .kb-topics__link { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 8px 0; overflow-wrap: anywhere; }
.kb-article__side .kb-topics--list .kb-topics__count { flex: 0 0 auto; }
@media (max-width: 767px) {
  .kb-article__side .kb-aside__box.e-con { --padding-top: 16px; --padding-right: 16px; --padding-bottom: 16px; --padding-left: 16px; padding: 16px !important; }
}

/* ===== Stitch article (direction C): TOC | reading column | related topics. ===== */
.kb-article > .e-con-inner { max-width: 1280px; column-gap: 32px; row-gap: 24px;
  grid-template-columns: minmax(0, 1fr) 280px; grid-template-areas: "head head" "toc side" "main side" "related related"; }
.kb-article > .e-con-inner > .kb-article__head { grid-area: head; width: 100%; display: flex; flex-direction: column; gap: 16px; flex-wrap: nowrap; }
.kb-article > .e-con-inner > .kb-article__toc { grid-area: toc; width: 100%; min-width: 0; }
.kb-article > .e-con-inner > .kb-article__main { grid-area: main; }
.kb-article > .e-con-inner > .kb-article__side { grid-area: side; align-self: start; }
@media (min-width: 1200px) {
  .kb-article > .e-con-inner { grid-template-columns: 220px minmax(0, 1fr) 280px; grid-template-areas: "head head head" "toc main side" "related related related"; }
  .kb-article > .e-con-inner > .kb-article__toc { align-self: start; position: sticky; top: 24px; }
}
@media (max-width: 767px) {
  .kb-article > .e-con-inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "toc" "main" "related" "side"; }
}

/* head: title, lead, meta */
.kb-article__head .kb-article__title .elementor-heading-title { max-width: 24ch; font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.1; }
.kb-article__head .kb-lead .kb-lead__text { margin: 0; max-width: 62ch; font: italic 400 clamp(1.25rem, 2vw, 1.5rem)/1.5 var(--kb-font-display); color: var(--kb-text-muted); }
.kb-article__head .elementor-widget-shortcode:not(:has(*)) { display: none; }
.kb-meta__list { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 0; margin: 0; padding: .75rem 0; list-style: none; border-block: 1px solid var(--kb-border-soft); font-size: 1rem; line-height: 1.5; color: var(--kb-text-muted); }
.kb-meta__item { display: inline-flex; align-items: center; margin: 0; }
.kb-meta__item + .kb-meta__item::before { content: "•"; margin: 0 .75rem; color: var(--kb-border-strong); }
.kb-meta__author { color: var(--kb-text); font-weight: 600; }
.kb-meta__reading { color: var(--kb-pine); font-weight: 600; }

/* table of contents */
.kb-toc { padding: 24px; background: var(--kb-surface); border: 1px solid var(--kb-border-soft); border-radius: 12px; }
.kb-toc__title { margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--kb-border-soft); font: 700 .9375rem/1.3 var(--kb-font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--kb-text); }
.kb-toc__list, .kb-toc__sub { margin: 0; padding-left: 1.25rem; }
.kb-toc__sub { margin-top: 2px; list-style: lower-alpha; }
.kb-toc__list li { margin: 0; padding: 0; }
.kb-toc__list a { display: inline-block; min-height: 44px; padding: 10px 0; font-size: 1.0625rem; line-height: 1.4; color: var(--kb-text); text-decoration: none; overflow-wrap: anywhere; }
.kb-toc__list a:hover { color: var(--kb-pine); text-decoration: underline; text-underline-offset: .2em; }
.kb-toc__list a:focus-visible { outline: 3px solid var(--kb-focus); outline-offset: 2px; }
.kb-toc-wrap:not(:has(*)) { display: none; }
.kb-article__toc:not(:has(.kb-toc)) { display: none; }
@media (max-width: 767px) { .kb-toc { padding: 16px; } }

/* reading column typography (65-75 characters per line) */
.kb-article__main .kb-prose, .kb-article__main .kb-prose p, .kb-article__main .kb-prose li { font-size: 1.1875rem; line-height: 1.7; }
.kb-prose h2, .kb-prose h3 { font-family: var(--kb-font-display); line-height: 1.2; scroll-margin-top: 24px; margin: 2.25rem 0 .75rem; color: var(--kb-ink); }
.kb-prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.kb-prose h3 { font-size: clamp(1.25rem, 2.1vw, 1.5rem); }
.kb-prose p { margin: 0 0 1.1em; }
.kb-prose figure { margin: 1.75rem 0; }
.kb-prose figcaption { margin-top: .5rem; font-size: 1rem; line-height: 1.5; color: var(--kb-text-muted); }
.kb-prose blockquote, .kb-tip { margin: 1.75rem 0; padding: 1.25rem 1.5rem; background: var(--kb-paper); border: 0; border-left: 6px solid var(--kb-pine); border-radius: 0 12px 12px 0; }
.kb-prose blockquote blockquote { margin: 0; padding: 0; background: none; border: 0; }
.kb-prose blockquote p, .kb-tip p { margin: 0 0 .75em; }
.kb-prose blockquote p:last-child, .kb-tip p:last-child { margin-bottom: 0; }
@media (max-width: 767px) { .kb-prose blockquote, .kb-tip { padding: 1rem; } }

/* previous / next: two bordered cards, one link each */
.kb-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.kb-postnav__card { display: flex; flex-direction: column; gap: 6px; box-sizing: border-box; min-height: 44px; padding: 24px; background: var(--kb-surface); border: 1px solid var(--kb-border-soft); border-radius: 4px; text-decoration: none; color: var(--kb-text); }
.kb-postnav__card--next { grid-column: 2; text-align: right; }
.kb-postnav__card--prev:only-child { grid-column: 1; }
.kb-postnav__label { font-size: 1rem; line-height: 1.4; color: var(--kb-text-muted); }
.kb-postnav__title { font: 700 1.1875rem/1.35 var(--kb-font-body); overflow-wrap: anywhere; }
.kb-postnav__card:hover { border-color: var(--kb-pine); }
.kb-postnav__card:hover .kb-postnav__title { text-decoration: underline; text-underline-offset: .2em; }
.kb-postnav__card:focus-visible { outline: 3px solid var(--kb-focus); outline-offset: 3px; border-color: var(--kb-pine); }
@media (max-width: 767px) { .kb-postnav { grid-template-columns: minmax(0, 1fr); } .kb-postnav__card { padding: 16px; } .kb-postnav__card--next { grid-column: 1; } }

/* print: article only */
@media print {
  .kb-header, .kb-footer, .kb-article__side, .kb-related, .kb-banner, .kb-postnav, .kb-prefs-section, .kb-toc, .kb-skip-link { display: none !important; }
  .kb-article > .e-con-inner { display: block; max-width: none; }
  .kb-prose a[href]::after { content: " (" attr(href) ")"; font-size: .85em; }
}
.kb-meta__item { gap: .35em; }

/* No smooth scrolling: it delays focus and anchor scrolling (WCAG 2.4.7/2.4.11 risk, reduced-motion conflict) and gives a news reader no benefit. */
html, html:focus-within, body { scroll-behavior: auto !important; }

/* ===== Live header + home hero + compact footer + menu link states (NEO 2026-10-05) ===== */
/* --- header utility row, tagline, inline search, quick navigation (desktop only) --- */
.kb-header__utility, .kb-brand-tagline, .kb-search-inline-wrap, .kb-quicknav { display: none; } /* utility row: shown on mobile too when the weather strip exists (see end of file) */
@media (min-width: 1025px) {
  .kb-header__utility { display: block; width: 100%; border-bottom: 1px solid var(--kb-border-soft); }
  .kb-header__utility .kb-nav--utility { max-width: 1104px; margin-inline: auto; }
  .kb-header__utility .elementor-nav-menu { display: flex; justify-content: flex-end; gap: 0 .25rem; }
  .kb-header .kb-nav--utility .elementor-nav-menu--main .elementor-item { min-height: 2.5rem; padding: .25rem .75rem !important; font-size: 1rem; color: var(--kb-text-muted); }
  .kb-brand-tagline { display: flex; align-items: center; gap: 1rem; margin: 0; }
  .kb-brand-tagline__rule { width: 1px; height: 2rem; background: var(--kb-border-strong); }
  .kb-brand-tagline__text { font: 600 1rem/1.2 var(--kb-font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--kb-text-muted); white-space: nowrap; }
  .kb-header-search { display: none; }
  .kb-search-inline-wrap { display: block; flex: 0 1 340px; width: 340px; }
  .kb-search-inline { display: flex; align-items: center; min-height: 3rem; padding-inline: 1.25rem .25rem; background: var(--kb-paper); border: 2px solid var(--kb-border-strong); border-radius: 999px; }
  .kb-search-inline input { flex: 1 1 auto; min-width: 0; width: 100%; min-height: 2.75rem; padding: .25rem 0; font: inherit; font-size: 1.0625rem; color: var(--kb-text); background: transparent; border: 0; }
  .kb-search-inline input:focus-visible { outline: 3px solid var(--kb-focus); outline-offset: 4px; border-radius: 999px; }
  .kb-search-inline button { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0; color: var(--kb-text); background: transparent; border: 0; border-radius: 999px; cursor: pointer; }
  .kb-search-inline button:focus-visible { outline: 3px solid var(--kb-focus); outline-offset: 2px; }
  body.home .kb-quicknav { display: block; background: var(--kb-paper); border-bottom: 1px solid var(--kb-border-soft); }
  .kb-quicknav .kb-topics { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; max-width: 1104px; margin-inline: auto; padding-block: .75rem; }
  .kb-quicknav__label { font: 700 1rem/1.2 var(--kb-font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--kb-text-muted); }
  .kb-quicknav .kb-topics__link { min-height: 2.75rem; font-size: 1rem; background: var(--kb-surface); }
  .kb-header__top > .e-con-inner { gap: 1.5rem; }
}

/* --- home: full-width bordered lead story, image left / text right --- */
.kb-home > .e-con-inner > .kb-hero { grid-column: 1 / -1; grid-row: 1; }
.kb-home > .e-con-inner > .kb-home__cols { grid-column: 2; grid-row: 2; }
@media (max-width: 1024px) { .kb-home > .e-con-inner > .kb-home__cols { grid-column: 1; grid-row: auto; } }
@media (min-width: 1025px) {
  .kb-home .kb-hero-card .elementor-post__card { display: grid !important; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; grid-template-areas: "img badge" "img meta" "img text"; column-gap: 40px; row-gap: 12px; align-items: start; padding: 40px !important; border-radius: 16px; }
  .kb-home .kb-hero-card .elementor-post__thumbnail__link { grid-area: img; align-self: center; order: 0; }
  .kb-home .kb-hero-card .elementor-post__thumbnail img { border-radius: 12px; aspect-ratio: 3 / 2; }
  .kb-home .kb-hero-card .elementor-post__badge { display: inline-block !important; position: static; grid-area: badge; justify-self: start; margin: 0; padding: .375rem .875rem; font-size: 1rem; line-height: 1.4; letter-spacing: 0; color: var(--kb-pine); background: var(--kb-paper); border-radius: 6px; }
  .kb-home .kb-hero-card .elementor-post__meta-data { grid-area: meta; order: 0; }
  .kb-home .kb-hero-card .elementor-post__text { grid-area: text; order: 0; }
  .kb-home .kb-hero-card .elementor-post__title, .kb-home .kb-hero-card .elementor-post__title a { max-width: none; font-size: clamp(2.25rem, 3.2vw, 3rem); line-height: 1.12; }
}

/* --- compact four-column footer (16px text, 18-20px section titles, 32px/24px block padding) --- */
.kb-footer > .e-con-inner { padding-block: 32px 24px; gap: 24px; }
.kb-footer__grid { display: grid !important; grid-template-columns: 1.2fr 1fr 1.1fr 1fr; gap: 24px 40px; }
.kb-footer__grid > .kb-footer__col { width: 100%; min-width: 0; padding: 0; gap: 8px; }
.kb-footer__title .elementor-heading-title { margin: 0 0 4px; font: 700 1.125rem/1.3 var(--kb-font-body); letter-spacing: .06em; text-transform: uppercase; }
.kb-footer .elementor-nav-menu a.elementor-item, .kb-footer .kb-topics__link, .kb-footer__accessibility a, .kb-footer__tagline, .kb-footer__bottom, .kb-footer__bottom p { font-size: 1rem; line-height: 1.5; }
.kb-footer .elementor-nav-menu .elementor-item, .kb-footer .kb-topics__link { padding: .375rem 0 !important; }
.kb-footer .kb-topics__list { flex-direction: column; flex-wrap: nowrap; gap: 0; }
.kb-footer .kb-topics__link { display: flex; justify-content: space-between; gap: 12px; width: 100%; border: 0; border-radius: 0; background: transparent; }
.kb-footer__accessibility p { margin: 0; }
.kb-footer__accessibility a { display: inline-block; padding: .375rem 0; }
.kb-prefs-section { margin-top: 0; padding-top: 16px; }
.kb-prefs-section .kb-prefs__title { font: 700 1.125rem/1.3 var(--kb-font-body); letter-spacing: .06em; text-transform: uppercase; }
.kb-prefs__hint, .kb-prefs__status { font-size: 1rem; }
.kb-prefs__group legend { font-size: 1rem; }
.kb-prefs button { font-size: 1rem; }
@media (max-width: 1024px) { .kb-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .kb-footer > .e-con-inner { padding-block: 24px; } .kb-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* --- menu links: no permanent underline; underline on hover AND keyboard focus + visible outline --- */
.kb-header .elementor-nav-menu a.elementor-item, .kb-footer .elementor-nav-menu a.elementor-item,
.kb-footer .kb-topics__link, .kb-quicknav .kb-topics__link { text-decoration: none; }
.kb-header .elementor-nav-menu a.elementor-item:hover, .kb-header .elementor-nav-menu a.elementor-item:focus-visible,
.kb-footer .elementor-nav-menu a.elementor-item:hover, .kb-footer .elementor-nav-menu a.elementor-item:focus-visible,
.kb-footer .kb-topics__link:hover, .kb-footer .kb-topics__link:focus-visible,
.kb-quicknav .kb-topics__link:hover, .kb-quicknav .kb-topics__link:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; }
.kb-header .elementor-nav-menu a.elementor-item:focus-visible, .kb-quicknav .kb-topics__link:focus-visible { outline: 3px solid var(--kb-focus); outline-offset: -3px; }
.kb-footer .elementor-nav-menu a.elementor-item:focus-visible, .kb-footer .kb-topics__link:focus-visible, .kb-footer__accessibility a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* --- live design refinements --- */
@media (min-width: 1025px) {
  .kb-header__utility .kb-nav--utility { max-width: 1104px !important; width: 100%; margin-inline: auto !important; }
  .kb-quicknav .kb-topics { flex-wrap: nowrap; gap: .75rem; }
  .kb-quicknav .kb-topics__list { flex: 1 1 auto; gap: .5rem; }
  .kb-quicknav .kb-topics__link { padding-inline: .875rem; }
  .kb-quicknav__label { flex: 0 0 auto; }
  .kb-home .kb-hero-card .elementor-post__badge { margin: 0 !important; }
}
@media (min-width: 1025px) { .kb-header__utility .elementor-nav-menu--main { display: flex; justify-content: flex-end; } .kb-header__utility .elementor-nav-menu--main > .elementor-nav-menu { width: auto; } }

/* --- footer refinements --- */
.kb-footer__grid > .kb-footer__accessibility-section { margin: 0; padding: 0; border: 0; }
.kb-prefs-section { border-top: 1px solid var(--kb-on-ink-muted); }
.kb-prefs-section .kb-prefs__title .elementor-heading-title { margin: 0 0 8px; font: 700 1.125rem/1.3 var(--kb-font-body); letter-spacing: .06em; text-transform: uppercase; }
.kb-prefs-section [data-kb-prefs] { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; }
.kb-prefs-section .kb-prefs__hint, .kb-prefs-section .kb-prefs__status { flex: 1 1 100%; margin: 0; }
.kb-prefs-section .kb-prefs__group { margin: 0; }
.kb-footer .kb-topics__link { color: var(--kb-on-ink-muted); font-weight: 400; }
.kb-footer .kb-topics__link:hover, .kb-footer .kb-topics__link:focus-visible, .kb-footer .elementor-nav-menu a.elementor-item:hover, .kb-footer .elementor-nav-menu a.elementor-item:focus-visible { color: var(--kb-on-ink); }
.kb-footer .kb-topics__count { color: var(--kb-on-ink-muted); }
.kb-footer__bottom { margin: 0; padding-top: 16px; }

/* --- reserve header space: no layout shift when the logo and menu fonts arrive --- */
.kb-header .kb-logo img { height: 3.25rem; width: auto; aspect-ratio: 497 / 171; }
@media (max-width: 767px) { .kb-header .kb-logo img { height: 2.5rem; } }
@media (min-width: 1025px) {
  .kb-header__utility { min-height: 41px; box-sizing: border-box; }
  .kb-header__utility .kb-nav--utility .elementor-nav-menu--main .elementor-item { height: 2.5rem; line-height: 1.5; }
  .kb-header__top > .e-con-inner { min-height: 4.75rem; }
  .kb-header__navbar { min-height: 45px; }
}

/* --- footer: accessibility column only when its page exists; grid adapts --- */
.kb-footer__grid > .kb-footer__accessibility-section:not(:has(.kb-a11y-links)) { display: none; }
.kb-footer__grid:not(:has(.kb-a11y-links)) { grid-template-columns: 1.2fr 1fr 1.1fr; }
@media (max-width: 1024px) { .kb-footer__grid:not(:has(.kb-a11y-links)) { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .kb-footer__grid:not(:has(.kb-a11y-links)) { grid-template-columns: minmax(0, 1fr); } }
.kb-a11y-links p { margin: 0; }
.kb-a11y-links a { display: inline-block; padding: .375rem 0; font-size: 1rem; line-height: 1.5; text-decoration: underline; text-underline-offset: .2em; }
.kb-a11y-links .kb-a11y-links__title { margin: 0 0 4px; font: 700 1.125rem/1.3 var(--kb-font-body); letter-spacing: .06em; text-transform: uppercase; }
.kb-a11y-links a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* ===== Desktop search: one continuous pill; the input's own border IS the pill; separate focus rings (NEO 2026-10-05) ===== */
/* Cascade facts (verified): the old form border + a global "input:focus-visible" outline/white box-shadow + a 4px-offset capsule
   ring stacked into two overlapping pills. Scoped, higher specificity; no global outline:none. */
html body .kb-search-inline { position: relative; display: block; min-height: 0; padding: 0; margin: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
html body .kb-search-inline input[type="search"] {
  -webkit-appearance: none; appearance: none; display: block; box-sizing: border-box; width: 100%; min-width: 0; min-height: 3rem;
  padding: .25rem 3.5rem .25rem 1.25rem; margin: 0;
  border: 2px solid var(--kb-border-strong); border-radius: 999px; background: var(--kb-paper); box-shadow: none;
  color: var(--kb-text); font: inherit; font-size: 1.0625rem; line-height: 1.4;
}
html body .kb-search-inline input[type="search"]::placeholder { color: var(--kb-text-muted); opacity: 1; }
.kb-search-inline input::-webkit-search-decoration, .kb-search-inline input::-webkit-search-cancel-button,
.kb-search-inline input::-webkit-search-results-button, .kb-search-inline input::-webkit-search-results-decoration { -webkit-appearance: none; appearance: none; display: none; }
html body .kb-search-inline input[type="search"]:focus-visible {
  outline: 3px solid var(--kb-focus) !important; outline-offset: 0 !important; box-shadow: none !important; border-color: var(--kb-focus); /* one contiguous thick ring: no second concentric line */
}
html body .kb-search-inline button {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%); box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; min-width: 2.75rem; min-height: 2.75rem;
  margin: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: none; color: var(--kb-text); cursor: pointer;
}
html body .kb-search-inline button:focus-visible { outline: 3px solid var(--kb-focus) !important; outline-offset: -4px !important; box-shadow: none !important; }
@media (forced-colors: active) {
  html body .kb-search-inline input[type="search"] { border-color: CanvasText; background: Canvas; color: CanvasText; forced-color-adjust: none; }
  html body .kb-search-inline input[type="search"]:focus-visible { outline: 3px solid Highlight !important; border-color: Highlight; }
  html body .kb-search-inline button { color: CanvasText; forced-color-adjust: none; }
  html body .kb-search-inline button:focus-visible { outline: 3px solid Highlight !important; }
}

/* ===== Header anchor to the reading preferences + visible Be/Ki state ===== */
.kb-prefs-anchor { display: none; }
@media (min-width: 1025px) {
  .kb-header__utility-inner { display: flex; align-items: center; justify-content: flex-end; gap: .25rem; width: 100%; max-width: 1104px; margin-inline: auto; padding: 0; }
  .kb-header__utility .kb-header__utility-inner .kb-nav--utility { max-width: none !important; width: auto; margin: 0 !important; flex: 0 0 auto; }
  .kb-prefs-anchor { display: block; flex: 0 0 auto; }
  .kb-prefs-anchor a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .25rem .75rem; font-size: 1rem; font-weight: 600; line-height: 1.5; color: var(--kb-text-muted); text-decoration: none; }
  .kb-prefs-anchor a:hover, .kb-prefs-anchor a:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; }
  .kb-prefs-anchor a:focus-visible { outline: 3px solid var(--kb-focus); outline-offset: -3px; }
}
#kb-reading-prefs { scroll-margin-top: 24px; }
.kb-pref__state { margin-left: .25em; font-weight: 700; }

/* ===== HIGH CONTRAST (opt-in, footer control): black surfaces, white text, yellow underlined links, visible borders ===== */
/* No filter/invert: photos, ads and the logo stay as they are. User-agent forced colours are NOT overridden (no forced-color-adjust here). */
html[data-kb-contrast="on"] {
  --kb-surface: #000; --kb-paper: #000; --kb-ink: #000;
  --kb-text: #fff; --kb-text-muted: #e6e6e6;
  --kb-pine: #ffd400; --kb-on-pine: #000; --kb-on-pine-muted: #000;
  --kb-fruit: #ffb199; --kb-on-fruit: #000;
  --kb-on-ink: #fff; --kb-on-ink-muted: #e6e6e6;
  --kb-border-strong: #fff; --kb-border-soft: #bdbdbd;
  --kb-focus: #ffd400; --kb-focus-on-dark: #ffd400;
  color-scheme: dark;
}
html[data-kb-contrast="on"] body {
  --e-global-color-primary: #fff; --e-global-color-secondary: #fff; --e-global-color-text: #fff; --e-global-color-accent: #ffd400;
  --e-global-color-ace2109: #fff; --e-global-color-0e83fb3: #fff; --e-global-color-bde7103: #fff;
  background: #000; color: #fff;
}
html[data-kb-contrast="on"] :where(h1, h2, h3, h4, h5, h6, p, li, dt, dd, td, th, label, legend, span, time, figcaption, blockquote, strong, em, small) { color: #fff; }
html[data-kb-contrast="on"] .kb-header, html[data-kb-contrast="on"] .kb-header__utility, html[data-kb-contrast="on"] .kb-header__top,
html[data-kb-contrast="on"] .kb-header__navbar, html[data-kb-contrast="on"] .kb-quicknav, html[data-kb-contrast="on"] .kb-home,
html[data-kb-contrast="on"] .kb-article, html[data-kb-contrast="on"] .kb-archive { background: #000 !important; border-color: #fff !important; }
html[data-kb-contrast="on"] .kb-header { border-bottom: 2px solid #fff; }
html[data-kb-contrast="on"] .kb-footer { background: #000 !important; border-top: 3px solid #fff !important; }
html[data-kb-contrast="on"] a:not(.elementor-button) { color: #ffd400 !important; text-decoration: underline !important; text-decoration-thickness: 2px; text-underline-offset: .2em; }
html[data-kb-contrast="on"] a:not(.elementor-button):hover { color: #fff !important; text-decoration-thickness: 3px !important; }
html[data-kb-contrast="on"] .elementor-item-active { border-bottom: 3px solid #fff !important; }
html[data-kb-contrast="on"] button, html[data-kb-contrast="on"] .elementor-button, html[data-kb-contrast="on"] summary { background: #000 !important; color: #fff !important; border: 2px solid #fff !important; }
html[data-kb-contrast="on"] button[aria-pressed="true"] { background: #fff !important; color: #000 !important; }
html[data-kb-contrast="on"] button[aria-pressed="true"] * { color: #000 !important; }
html[data-kb-contrast="on"] .kb-search-inline button { border: 0 !important; background: transparent !important; }
html[data-kb-contrast="on"] .elementor-post__card, html[data-kb-contrast="on"] .kb-toc, html[data-kb-contrast="on"] .kb-postnav__card,
html[data-kb-contrast="on"] .kb-aside__box.e-con, html[data-kb-contrast="on"] .kb-newsletter, html[data-kb-contrast="on"] .kb-search-disclosure form { background: #000 !important; border: 2px solid #fff !important; box-shadow: none !important; }
html[data-kb-contrast="on"] .kb-topics__link, html[data-kb-contrast="on"] .elementor-post__badge { background: #000 !important; border: 2px solid #fff !important; color: #ffd400 !important; }
html[data-kb-contrast="on"] input, html[data-kb-contrast="on"] select, html[data-kb-contrast="on"] textarea { background: #000 !important; color: #fff !important; border-color: #fff !important; caret-color: #fff; }
html[data-kb-contrast="on"] input::placeholder, html[data-kb-contrast="on"] textarea::placeholder { color: #e6e6e6 !important; opacity: 1; }
html[data-kb-contrast="on"] .page-numbers, html[data-kb-contrast="on"] .elementor-pagination .page-numbers { background: #000 !important; border: 2px solid #fff !important; color: #ffd400 !important; }
html[data-kb-contrast="on"] .page-numbers.current { background: #fff !important; color: #000 !important; }
html[data-kb-contrast="on"] .kb-prose blockquote, html[data-kb-contrast="on"] .kb-tip { background: #000; border: 2px solid #fff; border-left: 8px solid #ffd400; }
html[data-kb-contrast="on"] hr, html[data-kb-contrast="on"] .kb-latest__item, html[data-kb-contrast="on"] .kb-footer__bottom { border-color: #bdbdbd !important; }
html[data-kb-contrast="on"] .elementor-menu-toggle, html[data-kb-contrast="on"] .kb-search-disclosure > summary { color: #fff !important; }
html[data-kb-contrast="on"] .elementor-menu-toggle svg { fill: currentColor; }
html[data-kb-contrast="on"] .kb-search-inline input[type="search"] { background: #000 !important; border-color: #fff !important; }
html[data-kb-contrast="on"] .kb-search-inline input[type="search"]:focus-visible { border-color: #ffd400 !important; }
html[data-kb-contrast="on"] .kb-footer .kb-topics__link { border: 0 !important; background: transparent !important; }

/* ===== Category archive UX: breadcrumb, single H1, description, subcategories, featured post, reading time ===== */
.kb-archive__head { width: 100%; --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; padding: 0; }
.kb-archive__head-sc > .elementor-widget-container { display: flex; flex-direction: column; gap: 16px; }
.kb-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; margin: 0; padding: 0; list-style: none; font-size: 1rem; line-height: 1.5; }
.kb-crumbs li + li::before { content: "›"; margin-right: .5rem; color: var(--kb-text-muted); }
.kb-crumbs a { color: var(--kb-text); text-decoration: underline; text-underline-offset: .2em; }
.kb-crumbs [aria-current="page"] { font-weight: 600; color: var(--kb-text); }
h1.kb-archive__title { margin: 0; color: var(--kb-text); font: 700 clamp(2rem, 4.2vw, 3rem)/1.15 var(--kb-font-display); text-wrap: balance; overflow-wrap: anywhere; hyphens: auto; }
.kb-archive__desc { max-width: 62ch; font-size: 1.125rem; line-height: 1.6; color: var(--kb-text); }
.kb-archive__desc p { margin: 0 0 .75em; }
.kb-subcats { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.kb-subcats__label { font: 700 1rem/1.2 var(--kb-font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--kb-text-muted); }
.kb-subcats ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.kb-subcats a { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .25rem .875rem; font: 600 1rem/1.2 var(--kb-font-body); color: var(--kb-pine); text-decoration: none; background: var(--kb-surface); border: 1px solid var(--kb-border-strong); border-radius: 999px; }
.kb-subcats a:hover, .kb-subcats a:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; }
.kb-subcats a:focus-visible { outline: 3px solid var(--kb-focus); outline-offset: 2px; }
.kb-featured { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px 32px; padding: 24px; background: var(--kb-surface); border: 1px solid var(--kb-border-soft); border-radius: 16px; }
.kb-featured__label { grid-column: 1 / -1; margin: 0; font: 700 1rem/1.2 var(--kb-font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--kb-text-muted); }
.kb-featured__img { display: block; line-height: 0; }
.kb-featured__img img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; }
.kb-featured__title { margin: 0 0 8px; font: 700 clamp(1.5rem, 2.6vw, 2.25rem)/1.2 var(--kb-font-display); overflow-wrap: anywhere; }
.kb-featured__title a { color: var(--kb-text); text-decoration: none; }
.kb-featured__title a:hover, .kb-featured__title a:focus-visible { text-decoration: underline; text-underline-offset: .2em; }
.kb-featured__meta { display: flex; flex-wrap: wrap; margin: 0 0 8px; font-size: 1rem; color: var(--kb-text-muted); }
.kb-featured__lead { margin: 0 0 12px; max-width: 62ch; font-size: 1.125rem; line-height: 1.6; }
.kb-featured__more { font-weight: 700; color: var(--kb-pine); text-decoration: underline; text-underline-offset: .2em; }
@media (min-width: 1025px) { .kb-featured { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); padding: 32px; } .kb-featured__label { grid-column: 1 / -1; } }
@media (max-width: 767px) { .kb-featured { padding: 16px; } }
.kb-readtime { color: var(--kb-text-muted); }
.kb-readtime::before { content: "•"; margin: 0 .5rem; color: var(--kb-border-strong); }
.kb-cards .elementor-post__meta-data { display: flex; flex-wrap: wrap; align-items: center; }
html[data-kb-contrast="on"] .kb-subcats a { background: #000 !important; border: 2px solid #fff !important; color: #ffd400 !important; }
html[data-kb-contrast="on"] .kb-featured { background: #000 !important; border: 2px solid #fff !important; }
html[data-kb-contrast="on"] .kb-featured__label, html[data-kb-contrast="on"] .kb-readtime, html[data-kb-contrast="on"] .kb-featured__meta { color: #e6e6e6 !important; }
html[data-kb-contrast="on"] .kb-crumbs a { color: #ffd400 !important; }
.kb-archive__head-sc .elementor-shortcode { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.kb-archive__head-sc .elementor-shortcode > * { max-width: 100%; }
.kb-archive__head { margin-bottom: 8px; }

/* Article WITHOUT a table of contents: the empty TOC column is removed, so the reading column uses that space (wider, in line with the header/banner). */
@media (min-width: 1200px) {
  .kb-article > .e-con-inner:not(:has(.kb-toc)) { grid-template-columns: minmax(0, 1fr) 280px; grid-template-areas: "head head" "main side" "related related"; }
  .kb-article > .e-con-inner:not(:has(.kb-toc)) .kb-article__main .kb-prose,
  .kb-article > .e-con-inner:not(:has(.kb-toc)) .kb-article__main .kb-prose > .elementor-widget-container { max-width: 80ch; }
  .kb-article > .e-con-inner:not(:has(.kb-toc)) .kb-article__main .kb-lead { max-width: 80ch; }
}
.kb-article > .e-con-inner > .kb-article__head { --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; padding: 0; }

/* ===== Header weather strip, category-first home cards (NEO GO 2026-10-05) ===== */
@media (max-width: 1024px) {
  .kb-header__utility { display: block; width: 100%; border-bottom: 1px solid var(--kb-border-soft); }
  .kb-header__utility:not(:has(.kb-weather)) { display: none; }
  .kb-header__utility { order: 9; border-top: 1px solid var(--kb-border-soft); border-bottom: 0; } /* below brand/search/menu: the news start higher */
}
.kb-weather-wrap { margin: 0 !important; }
.kb-weather { display: flex; flex-wrap: wrap; align-items: baseline; gap: .125rem .5rem; margin: 0; padding: .375rem 16px; font-size: .9375rem; line-height: 1.5; color: var(--kb-text-muted); }
.kb-weather__where { font-weight: 700; color: var(--kb-text); }
.kb-weather__note { font-weight: 400; color: var(--kb-text-muted); font-size: .875rem; }
.kb-weather__temp { font-weight: 700; color: var(--kb-text); white-space: nowrap; }
.kb-weather__meta { font-size: .875rem; }
.kb-weather a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.kb-weather a:focus-visible { outline: 3px solid var(--kb-focus); outline-offset: 2px; }
@media (min-width: 1025px) {
  .kb-header__utility .kb-header__utility-inner .kb-weather-wrap { margin-right: auto !important; flex: 0 1 auto; min-width: 0; }
  .kb-header__utility .kb-weather { padding: 0; }
}
.kb-card-cat { display: inline-block; font-size: .875rem; font-weight: 700; letter-spacing: .04em; line-height: 1.4; text-transform: uppercase; color: var(--kb-pine); }
.kb-card-foot { display: flex; flex-wrap: wrap; align-items: baseline; margin: 0; padding: 0; font-size: .875rem; line-height: 1.5; color: var(--kb-text-muted); }
.kb-card-foot .kb-readtime::before { content: none; margin: 0; }
.kb-card-foot .kb-card-date::before { content: "•"; margin: 0 .5rem; color: var(--kb-border-strong); }
.kb-home .elementor-post__meta-data .kb-card-cat { margin: 0; }
html[data-kb-contrast="on"] .kb-card-cat, html[data-kb-contrast="on"] .kb-weather__where, html[data-kb-contrast="on"] .kb-weather__temp { color: var(--kb-text); }

/* ===== Header utility row now carries only the weather strip; links live in the footer (NEO 2026-10-05) ===== */
.kb-header__utility:not(:has(.kb-weather)) { display: none !important; }
.kb-header__utility { min-height: 0 !important; }
.kb-header__utility .kb-weather { padding: .375rem 0; flex-wrap: nowrap; gap: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 1025px) { .kb-header__utility .kb-header__utility-inner { justify-content: flex-start; } }
@media (max-width: 1024px) { .kb-header__utility .kb-weather { padding: .375rem 16px; } }
.kb-weather__sep { white-space: pre; }
.kb-weather__stale { color: var(--kb-text); font-weight: 700; }
.kb-header__utility, .kb-header__utility .kb-header__utility-inner { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; --gap: 0px; padding-block: 0 !important; row-gap: 0 !important; }
@media (min-width: 1025px) { .kb-header__utility .kb-header__utility-inner { padding-inline: 0 !important; } }

/* ===== Weather "Adatforrás" disclosure (header) and footer legal links (NEO 2026-10-05) ===== */
.kb-header__utility .kb-weather { position: relative; overflow: visible; flex-wrap: wrap; white-space: normal; align-items: center; column-gap: 0; }
.kb-footer__legal-links { margin: 0; }
.kb-legal-links { list-style: none; margin: 0; padding: 0; }
.kb-legal-links li { margin: 0; }
.kb-legal-links a { display: inline-flex; align-items: center; min-height: 2rem; font-size: 1rem; line-height: 1.5; color: inherit; text-decoration: none; }
.kb-legal-links a:hover, .kb-legal-links a:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; }
.kb-legal-links a:focus-visible { outline: 3px solid var(--kb-on-pine); outline-offset: 2px; }
html[data-kb-contrast="on"] .kb-legal-links a { color: var(--kb-pine); text-decoration: underline; }

/* ===== Plain WordPress pages (Kapcsolat, jogi oldalak): footer heading colour + high-contrast page body (NEO 2026-10-06) ===== */
html body .kb-footer .kb-prefs-section .kb-prefs__title .elementor-heading-title { color: var(--kb-on-pine, #fff); }
html[data-kb-contrast="on"] body .kb-footer .kb-prefs-section .kb-prefs__title .elementor-heading-title { color: #fff; }
html[data-kb-contrast="on"] .jeg_content, html[data-kb-contrast="on"] .jeg_main, html[data-kb-contrast="on"] .jeg_singlepage, html[data-kb-contrast="on"] .jeg_container, html[data-kb-contrast="on"] .jeg_content .content-inner { background: #000 !important; color: #fff !important; }
html[data-kb-contrast="on"] .jeg_content h1, html[data-kb-contrast="on"] .jeg_content h2, html[data-kb-contrast="on"] .jeg_content h3, html[data-kb-contrast="on"] .jeg_content p, html[data-kb-contrast="on"] .jeg_content li, html[data-kb-contrast="on"] .jeg_content span, html[data-kb-contrast="on"] .jeg_content code { color: #fff !important; }
html[data-kb-contrast="on"] .jeg_content a { color: #ffd400 !important; text-decoration: underline; }

/* ===== Cookie consent tool (first-party CMP) ===== */
:root { --kb-consent-h: 0px; }
html { scroll-padding-bottom: var(--kb-consent-h); }
body { padding-bottom: var(--kb-consent-h); }
.kb-consent[hidden], .kb-consent__panel[hidden] { display: none !important; }
.kb-consent { position: fixed; z-index: 9999; left: 0; right: 0; bottom: 0; box-sizing: border-box; max-height: 70vh; overflow: auto; background: var(--kb-paper, #fff); color: var(--kb-text); border-top: 3px solid var(--kb-pine); box-shadow: 0 -6px 18px rgba(0, 0, 0, .15); }
.kb-consent__inner { max-width: 1104px; margin: 0 auto; padding: 16px; }
.kb-consent__title { margin: 0 0 .5rem; font-size: 1.125rem; line-height: 1.3; color: var(--kb-text); }
.kb-consent__title:focus-visible { outline: 3px solid var(--kb-focus); outline-offset: 2px; }
.kb-consent__text { margin: 0 0 .75rem; font-size: 1rem; line-height: 1.5; color: var(--kb-text); max-width: 75ch; }
.kb-consent__text a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.kb-consent__fieldset { margin: 0 0 .75rem; padding: 0; border: 0; }
.kb-consent__fieldset legend { padding: 0; margin: 0 0 .25rem; font-weight: 700; }
.kb-consent__row { display: flex; gap: .5rem; align-items: flex-start; margin: 0 0 .5rem; font-size: 1rem; line-height: 1.5; }
.kb-consent__row input { width: 1.5rem; height: 1.5rem; margin: .0625rem 0 0; flex: 0 0 auto; }
.kb-consent__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.kb-consent__btn { min-height: 2.75rem; padding: .5rem 1rem; font: 600 1rem/1.4 var(--kb-font-body, inherit); color: var(--kb-pine); background: transparent; border: 2px solid var(--kb-pine); border-radius: 8px; cursor: pointer; }
.kb-consent__btn:hover { background: var(--kb-pine); color: var(--kb-on-pine, #fff); }
.kb-consent__btn:focus-visible, .kb-consent__row input:focus-visible { outline: 3px solid var(--kb-focus); outline-offset: 2px; }
.kb-legal-links button.kb-consent-open { display: inline-flex; align-items: center; min-height: 2rem; padding: 0; margin: 0; font: inherit; font-size: 1rem; line-height: 1.5; color: inherit; background: none; border: 0; border-radius: 0; text-align: left; cursor: pointer; }
.kb-legal-links button.kb-consent-open:hover, .kb-legal-links button.kb-consent-open:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; }
.kb-legal-links button.kb-consent-open:focus-visible { outline: 3px solid var(--kb-on-pine); outline-offset: 2px; }
html[data-kb-contrast="on"] .kb-consent { background: #000; color: #fff; border-top-color: #fff; box-shadow: none; }
html[data-kb-contrast="on"] .kb-consent__title, html[data-kb-contrast="on"] .kb-consent__text, html[data-kb-contrast="on"] .kb-consent__row, html[data-kb-contrast="on"] .kb-consent__fieldset legend { color: #fff; }
html[data-kb-contrast="on"] .kb-consent__text a { color: #ffd400; }
html[data-kb-contrast="on"] .kb-consent__btn { background: #000 !important; color: #fff !important; border: 2px solid #fff !important; }
html[data-kb-contrast="on"] .kb-legal-links button.kb-consent-open { color: #ffd400; text-decoration: underline; }
@media print { .kb-consent { display: none !important; } body { padding-bottom: 0; } }

