/* CSS source: assets/css/new-style/article-style.css */
/* NewKey Israel: standalone article page bundle.
   ui-global-style.css must already be loaded.
   CSSBuilder expands these imports in order. */
/* CSS source: assets/css/new-style/blog/cards.css */
/* NewKey Blog — article cards, feed, author and empty states
   Base styles, RTL, and responsive rules are kept together. */

/* ---------- 4. feed + sidebar ---------- */

.kh-feed__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-block-end: 24px; }
.kh-feed__count { font-size: 14px; color: var(--kh-text-2); }

.kh-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.kh-grid[aria-busy="true"] { min-height: 320px; }

.kh-card {
  display: flex; flex-direction: column; background: var(--kh-surface); border: 1px solid var(--kh-mist);
  border-radius: var(--kh-r-card); overflow: hidden; box-shadow: var(--kh-sh-sm);
  transition: transform var(--kh-dur-base) var(--kh-ease), box-shadow var(--kh-dur-base) var(--kh-ease);
}
.kh-card:hover { transform: translateY(-4px); box-shadow: var(--kh-sh-lg); }
.kh-card:focus-within { box-shadow: 0 0 0 3px rgba(40,142,255,.25); }
.kh-card__media {display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.kh-card__media .kh-ph { transition: transform var(--kh-dur-base) var(--kh-ease); }
.kh-card:hover .kh-card__media .kh-ph { transform: scale(1.03); }
.kh-card__badge { position: absolute; inset-block-start: 14px; inset-inline-start: 14px; }
.kh-card__stat {
  position: absolute; inset-block-end: 12px; inset-inline-end: 12px;
  padding: 6px 10px; border-radius: 10px; background: rgba(255,255,255,.92); color: var(--kh-indigo);
  font-size: 12px; font-weight: 500; line-height: 1.2;
}
.kh-card__stat b { font-size: 15px; font-weight: 600; margin-inline-end: 4px; }
.kh-card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.kh-card__sub { font-size: 12px; font-weight: 500; color: var(--kh-blue); text-transform: uppercase; letter-spacing: .04em; }
.kh-card__title { font-size: 19px; line-height: 1.3; font-weight: 500; color: var(--kh-indigo); }
.kh-card__title a { color: inherit; }
.kh-card__title a:hover { color: var(--kh-blue); }
.kh-card { position: relative; }
.kh-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-start: auto; padding-block-start: 12px; }
.kh-card__read {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px 0 20px;
  border-radius: var(--kh-r-pill); background: var(--kh-sky); color: var(--kh-blue);
  font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: background var(--kh-dur-fast), color var(--kh-dur-fast), transform var(--kh-dur-fast) var(--kh-ease), box-shadow var(--kh-dur-fast);
}
.kh-card__read svg { transition: transform var(--kh-dur-fast) var(--kh-ease); }
.kh-card__read:hover,
.kh-card__read:focus-visible { background: var(--kh-blue); color: var(--kh-surface); transform: translateY(-2px); box-shadow: var(--kh-glow); }
.kh-card__read:hover svg { transform: translateX(4px); }
.kh-card__excerpt {
  font-size: 15px; color: var(--kh-text-2);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.kh-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; padding-block-start: 4px; font-size: 13px; color: var(--kh-text-3); }
.kh-meta span { display: inline-flex; align-items: center; gap: 5px; }
.kh-meta svg { flex-shrink: 0; }
.kh-card__author { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--kh-text-2); min-width: 0; }
.kh-card__author span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.kh-feed__more { display: flex; justify-content: center; margin-block-start: 32px; }


/* Avatar image and SVG support (flattened from SCSS nesting). */

@media (max-width: 767px) { .kh-grid { grid-template-columns: 1fr; } }
.kh-body.lang-he .kh-card__read { padding: 0 20px 0 18px; }
.kh-body.lang-he .kh-card__read svg { transform: rotate(180deg); }
.kh-body.lang-he .kh-card__read:hover svg,
.kh-body.lang-he .kh-card__read:focus-visible svg { transform: translateX(-4px) rotate(180deg); }
.kh-body.lang-he .kh-card__sub { letter-spacing: 0; }

/* CSS source: assets/css/new-style/blog/sidebar.css */
/* NewKey Blog — sidebar, trending, categories and compact lists
   Base styles, RTL, and responsive rules are kept together. */

.kh-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.kh-layout__side { position: sticky; inset-block-start: calc(var(--header-height, 62px) + 96px); display: grid; gap: 16px; }

/* sidebar cards */
.kh-side-card { padding: 22px 22px 24px; background: var(--kh-surface); border: 1px solid var(--kh-mist); border-radius: var(--kh-r-card); box-shadow: var(--kh-sh-sm); }
.kh-side-card--dark { background: linear-gradient(160deg, var(--kh-indigo) 0%, var(--kh-indigo-deep) 100%); border-color: rgba(72,63,148,.6); color: var(--kh-surface); }
.kh-side-card--dark .kh-side-card__title { color: var(--kh-surface); }
.kh-side-card__title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; color: var(--kh-indigo); margin-block-end: 14px; }
.kh-side-card__title svg { color: var(--kh-blue); }
.kh-side-card__text { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.78); margin-block-end: 20px; }

.kh-trending { display: grid; gap: 4px; counter-reset: rank; }
.kh-trending li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; padding: 8px 0; border-block-end: 1px solid var(--kh-line); }
.kh-trending li:last-child { border-block-end: 0; }
.kh-trending__rank { font-size: 20px; font-weight: 600; line-height: 1.2; color: var(--kh-blue); font-variant-numeric: tabular-nums; }
.kh-trending__title { font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--kh-indigo); }
.kh-trending__title:hover { color: var(--kh-blue); }
.kh-trending__views { font-size: 12px; color: var(--kh-text-3); margin-block-start: 2px; }
.kh-trending__bar { height: 4px; border-radius: 2px; background: var(--kh-sky); margin-block-start: 6px; overflow: hidden; }
.kh-trending__bar i { display: block; height: 100%; width: 0; background: var(--kh-blue); transition: width .9s var(--kh-ease-out); }

.kh-minilist { display: grid; gap: 10px; }
.kh-minilist li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center; }
.kh-minilist__thumb { position: relative; width: 56px; height: 44px; border-radius: 10px; overflow: hidden; }
.kh-minilist__thumb .kh-ph {transition: transform var(--kh-dur-base) var(--kh-ease);}
.kh-minilist__thumb:hover .kh-ph {transform: scale(1.1);}
.kh-minilist__title { font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--kh-indigo); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kh-minilist__title:hover { color: var(--kh-blue); }
.kh-minilist__meta { font-size: 12px; color: var(--kh-text-3); }

.kh-side-card--cats { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--kh-surface) 0%, var(--kh-sky-050) 100%); border-color: var(--kh-sky); }
.kh-side-card--cats > :not(.nk-cluster) { position: relative; z-index: 1; }
.kh-catlist { display: grid; gap: 8px; }
.kh-catlist__item {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: unset;
  min-height: 52px; padding: 8px 12px 8px 10px; border-radius: 14px;
  background: var(--kh-surface); border: 1px solid var(--kh-sky); box-shadow: var(--kh-sh-sm);
  font-size: 14px; font-weight: 500; color: var(--kh-indigo);
  transition: transform var(--kh-dur-fast) var(--kh-ease), box-shadow var(--kh-dur-fast), border-color var(--kh-dur-fast);
}
.kh-catlist__item:hover { transform: translateY(-2px); box-shadow: var(--kh-sh-md); border-color: var(--kh-blue); }
.kh-catlist__item.is-active { border-color: var(--kh-blue); box-shadow: 0 0 0 3px rgba(40,142,255,.16); }
.kh-catlist__icon { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: var(--kh-sky); color: var(--kh-blue); }
.kh-catlist__icon svg,
.kh-catlist__icon img { width: 20px; height: 20px; }
.kh-catlist__icon .kh-ic-fill { fill: var(--kh-surface); fill-opacity: .9; }
.kh-catlist__name { flex: 1; min-width: 0; line-height: 1.2;}
.kh-catlist__sub { display: block; font-size: 12px; font-weight: 400; color: var(--kh-text-3); }
.kh-catlist__count { min-width: 26px; height: 26px; padding-inline: 8px; border-radius: 13px; background: var(--kh-indigo); color: var(--kh-surface); font-size: 12px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; }


@media (max-width: 1100px) { .kh-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; } }
@media (max-width: 900px) {
  .kh-layout { grid-template-columns: 1fr; }
  .kh-layout__side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kh-layout__side .kh-side-card--dark { grid-column: 1 / -1; }
}
@media (max-width: 767px) { .kh-layout__side { grid-template-columns: 1fr; } }
.kh-body.lang-he .kh-catlist__item { padding: 8px 10px 8px 12px; }

/* CSS source: assets/css/new-style/blog/forms.css */
/* Blog/article subscription colour treatment. Shared controls and states are in global/forms.css. */
.kh-subscribe .kh-input {color: var(--kh-text);}
.kh-subscribe .kh-check i {color: var(--kh-surface);}
.kh-subscribe .kh-check i a {color: var(--kh-surface);}
.kh-subscribe .kh-check i a:hover {color: var(--kh-blue);}

/* CSS source: assets/css/new-style/article/layout.css */
/* NewKey article: Page layout and progress. Base, RTL and responsive rules. */

.ar-progress { position: fixed; inset-block-start: var(--header-height-scroll, 46px); inset-inline: 0; height: 3px; z-index: 1100; background: transparent; pointer-events: none; }

.ar-progress i { display: block; height: 100%; width: 0; background: var(--kh-blue); transition: width .12s linear; }

.ar-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: stretch; padding-block: 56px 72px; }

.ar-article { min-width: 0; }

@media (max-width: 1100px) {
  .ar-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 36px; }
}

@media (max-width: 900px) {
  .ar-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 767px) {
  .ar-layout { padding-block: 32px 48px; }
}

body.lang-he {
  direction: rtl;
  text-align: right;
}

body.lang-he .kh-num {
  direction: ltr;
  unicode-bidi: isolate;
}

body.lang-he .ar-progress i {
  margin-inline-start: auto;
  margin-inline-end: 0;
}

/* CSS source: assets/css/new-style/article/header.css */
/* NewKey article: Article header, breadcrumbs and share. Base, RTL and responsive rules. */

.ar-head { padding-block: 24px 48px; background: linear-gradient(180deg, var(--kh-sky) 0%, var(--kh-sky-050) 70%, var(--kh-surface) 100%); }

.ar-head .kh-container { position: relative; z-index: 1; }

.ar-crumbs { font-size: 14px; color: var(--kh-text-2); margin-block-end: 28px; }

.ar-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; }

.ar-crumbs li { display: inline-flex; align-items: center; }

.ar-crumbs li + li::before { content: ""; width: 5px; height: 5px; margin-inline: 10px; border-block-start: 1.5px solid var(--kh-text-3); border-inline-end: 1.5px solid var(--kh-text-3); transform: rotate(45deg); flex-shrink: 0; }

.ar-crumbs a { color: var(--kh-indigo); font-weight: 500; }

.ar-crumbs a:hover { color: var(--kh-blue); }

.ar-crumbs [aria-current] { color: var(--kh-text-2); }

.ar-head__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px;}

.ar-head__copy > .kh-badge { margin-block-end: 16px; }

.ar-title { font-size: 44px; line-height: 1.15; font-weight: 700; color: var(--kh-indigo); margin: 0; letter-spacing: -.01em; }

.ar-lead { font-size: 19px; line-height: 1.55; color: var(--kh-text-2); margin-block-start: 16px; max-width: 560px; }

.ar-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-block-start: 24px; padding-block-start: 20px; border-block-start: 1px solid rgba(47,41,99,.12); }

.ar-meta__author { display: inline-flex; align-items: center; gap: 10px; color: var(--kh-indigo); }

.ar-meta__author b { display: block; font-weight: 500; line-height: 1.2; }

.ar-meta__author small { display: block; font-size: 12px; color: var(--kh-text-2); }

.ar-meta__row { padding: 0; font-size: 13px; }

.ar-avatar { width: 40px; height: 40px; font-size: 14px; }

.ar-avatar--lg { width: 72px; height: 72px; font-size: 22px; }

.ar-share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-block-start: 20px; position: relative; }

.ar-share__label { font-size: 13px; font-weight: 500; color: var(--kh-text-2); margin-inline-end: 4px; }

.ar-share__btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(47,41,99,.14); background: var(--kh-surface); color: var(--kh-indigo); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--kh-dur-fast), color var(--kh-dur-fast), transform var(--kh-dur-fast) var(--kh-ease), box-shadow var(--kh-dur-fast); }

.ar-share__btn:hover { background: var(--kh-indigo); color: var(--kh-surface); transform: translateY(-2px); box-shadow: var(--kh-sh-md); }

.ar-share__toast { font-size: 13px; color: var(--kh-success); font-weight: 500; }

.ar-hero { margin: 0; }

.ar-hero__media { display: block; width: 100%; height: auto; position: relative !important; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--kh-r-card); box-shadow: var(--kh-sh-lg); inset: auto; }

.ar-caption { font-size: 13px; color: var(--kh-text-3); margin-block-start: 10px; line-height: 1.5; }

@media (max-width: 1100px) {
  .ar-title { font-size: 38px; }
}

@media (max-width: 900px) {
  .ar-head__grid { grid-template-columns: 1fr; gap: 28px; }
  .ar-hero__media { aspect-ratio: 16 / 9; }
}

@media (max-width: 767px) {
  .ar-head { padding-block: 16px 32px; }
  .ar-crumbs { margin-block-end: 20px; }
  .ar-crumbs li:nth-child(3) { display: none; }
  .ar-title { font-size: 30px; }
  .ar-lead { font-size: 17px; }
}

body.lang-he .ar-crumbs li + li::before {
  transform: rotate(-135deg);
}

/* CSS source: assets/css/new-style/article/content.css */
/* NewKey article: Editorial content and rich blocks. Base, RTL and responsive rules. */

.ar-body { max-width: 720px; }

.ar-body { font-size: 18px; line-height: 1.7; color: var(--kh-text); }

.ar-body > p { margin: 0 0 24px; }

.ar-body > p:first-of-type::first-letter { font-size: 3.2em; font-weight: 600; line-height: .85; float: left; margin: 6px 10px 0 0; color: var(--kh-indigo); }

.lang-he .ar-body > p:first-of-type::first-letter {line-height: 0.61;}

.ar-body a:not(.kh-btn) { color: var(--kh-indigo); text-decoration: underline; text-decoration-color: rgba(40,142,255,.5); text-underline-offset: 3px; }

.ar-body a:not(.kh-btn):hover { color: var(--kh-blue); }

.ar-body > h2 { font-size: 30px; line-height: 1.25; font-weight: 600; color: var(--kh-indigo); margin: 48px 0 16px; scroll-margin-top: calc(var(--header-height, 62px) + 24px); }

.ar-body > h3 { font-size: 22px; line-height: 1.3; font-weight: 500; color: var(--kh-indigo); margin: 32px 0 12px; }

.ar-body > ul,
.ar-body > ol { margin: 0 0 24px; padding-inline-start: 0; display: grid; gap: 10px; list-style: none; }

.ar-body > ul > li,
.ar-body > ol > li { position: relative; }

.ar-body > ul > li { padding-inline-start: 28px; }

.ar-body > ul > li::before { content: ""; position: absolute; inset-inline-start: 4px; inset-block-start: .7em; width: 10px; height: 10px; border-radius: 3px; background: var(--kh-blue); transform: rotate(45deg); }

.ar-body > ol { counter-reset: ar-content-list; }

.ar-body > ol > li { padding-inline-start: 40px; }

.ar-body > ol > li::before { counter-increment: ar-content-list; content: counter(ar-content-list); position: absolute; width: 28px; height: 28px; inset-inline-start: 0; inset-block-start: .05em; border-radius: 50%; background: var(--kh-sky); color: var(--kh-indigo); font-size: 14px; font-weight: 600; line-height: 1; display: grid; place-items: center; }

.ar-body > blockquote { margin: 36px 0; padding: 8px 0 8px 28px; border-inline-start: 4px solid var(--kh-blue); }

.ar-body > blockquote p { font-size: 24px; line-height: 1.4; font-weight: 500; color: var(--kh-indigo); margin: 0; }

.ar-body > blockquote footer { margin-block-start: 12px; font-size: 14px; color: var(--kh-text-2); }

.ar-body > blockquote footer::before { content: "— "; }

.ar-note { font-size: 13px; color: var(--kh-text-3); margin: -8px 0 24px; }

.ar-figure { margin: 36px 0; }

.ar-figure__media { display: block; width: 100%; height: auto; position: relative; inset: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--kh-r-card); }

.ar-figure--wide { max-width: none; }

.ar-figure__media--wide { aspect-ratio: 21 / 9; }

.ar-gallery { margin: 36px 0; }

.ar-gallery__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

.ar-gallery__grid .kh-ph,
.ar-gallery__grid img { display: block; width: 100%; position: relative; inset: auto; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }

.ar-callout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; margin: 32px 0; padding: 22px 24px; border-radius: 20px; background: var(--kh-sky); }

.ar-callout p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--kh-indigo); }

.ar-callout__label { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: var(--kh-r-pill); background: var(--kh-indigo); color: var(--kh-surface); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-block-start: 2px; justify-self: start; }

.ar-callout--important { background: #fff4e0; }

.ar-callout--important p { color: #5a3a00; }

.ar-callout--important .ar-callout__label { background: #c77700; }

.ar-table-wrap { margin: 32px 0; overflow-x: auto; border: 1px solid var(--kh-mist); border-radius: 20px; }

.ar-table { width: 100%; border-collapse: collapse; font-size: 15px; }

.ar-table caption { caption-side: top; text-align: start; padding: 16px 20px 12px; font-weight: 500; color: var(--kh-indigo); }

.ar-table caption .kh-badge { margin-inline-start: 8px; vertical-align: middle; }

.ar-table th,
.ar-table td { padding: 12px 20px; text-align: start; border-block-start: 1px solid var(--kh-line); white-space: nowrap; }

.ar-table thead th { background: var(--kh-bg); font-size: 13px; font-weight: 500; color: var(--kh-text-2); }

.ar-table tbody th { font-weight: 500; color: var(--kh-indigo); }

.ar-table tbody tr:hover { background: var(--kh-sky-050); }

.ar-up { color: var(--kh-success); font-weight: 500; }

.ar-down { color: var(--kh-danger); font-weight: 500; }

.ar-chart { margin: 28px 0 32px; padding: 20px 22px 22px; background: var(--kh-surface); border: 1px solid var(--kh-mist); border-radius: var(--kh-r-card); box-shadow: var(--kh-sh-md); }

.ar-chart__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-block-end: 14px; }

.ar-chart__head b { display: block; font-size: 16px; font-weight: 500; color: var(--kh-text); }

.ar-chart__head span { display: block; font-size: 13px; color: var(--kh-text-2); margin-block-start: 2px; }

.ar-chart__head em { font-style: normal; margin-inline-start: 4px; }

.ar-chart__canvas { position: relative; height: 260px; }

.ar-chart__canvas canvas { display: block; width: 100% !important; height: 100% !important; }

.ar-chart__canvas--short { height: 220px; }

.ar-chart__fallback { font-size: 13px; color: var(--kh-text-3); margin-block-end: 8px; }

.ar-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 8px 0 12px; }

.ar-stat { padding: 16px 18px; border-radius: 18px; background: var(--kh-bg); border: 1px solid var(--kh-mist); }

.ar-stat b { display: block; font-size: 28px; line-height: 1.1; font-weight: 600; color: var(--kh-indigo); }

.ar-stat span { display: block; font-size: 13px; color: var(--kh-text-2); margin-block-start: 6px; line-height: 1.35; }

.ar-cta-inline { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 36px 0; padding: 22px 24px; border-radius: 20px; background: linear-gradient(160deg, var(--kh-indigo) 0%, var(--kh-indigo-deep) 100%); color: var(--kh-surface); }

.ar-cta-inline b { display: block; font-size: 18px; font-weight: 500; }

.ar-cta-inline span { display: block; font-size: 14px; color: rgba(255,255,255,.72); margin-block-start: 4px; }

.ar-cta-inline .kh-btn {color: var(--kh-surface);}

.ar-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 36px; padding-block-start: 24px; border-block-start: 1px solid var(--kh-line); }

@media (max-width: 900px) {
  .ar-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .ar-body { font-size: 17px; }
  .ar-body > h2 { font-size: 26px; margin-block-start: 40px; }
  .ar-body > h3 { font-size: 20px; }
  .ar-body > blockquote p { font-size: 20px; }
  .ar-body > blockquote { padding-inline-start: 18px; }
  .ar-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ar-callout { grid-template-columns: 1fr; gap: 10px; padding: 18px; }
  .ar-chart { padding: 16px; }
  .ar-chart__canvas { height: 220px; }
  .ar-chart__head { align-items: center; }
  .ar-cta-inline .kh-btn { width: 100%; }
}

body.lang-he .ar-body > p:first-of-type::first-letter {
  float: right;
  margin: 6px 0 0 10px;
}

body.lang-he .ar-body > blockquote {
  padding: 8px 28px 8px 0;
}

@media (max-width: 767px) {
  body.lang-he .ar-body > blockquote {
      padding: 8px 18px 8px 0;
    }
}

/* CSS source: assets/css/new-style/article/author.css */
/* NewKey article: Author information. Base, RTL and responsive rules. */

.ar-author { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; margin-block-start: 48px; padding: 28px; border-radius: var(--kh-r-card); background: var(--kh-bg); border: 1px solid var(--kh-mist); }

.ar-author__name { font-size: 22px; font-weight: 600; color: var(--kh-indigo); margin: 0 0 8px; }

.ar-author__bio { font-size: 15px; line-height: 1.6; color: var(--kh-text-2); margin: 0 0 14px; }

.ar-author__links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; font-weight: 500; }

.ar-author__links a { color: var(--kh-indigo); }

.ar-author__links a:hover { color: var(--kh-blue); }

@media (max-width: 767px) {
  .ar-author { grid-template-columns: 1fr; padding: 22px; }
}

/* CSS source: assets/css/new-style/article/sidebar.css */
/* NewKey article: Table of contents and article sidebar. Base, RTL and responsive rules. */

.ar-side { display: flex; flex-direction: column; gap: 16px; }

.ar-side__flow { display: grid; gap: 16px; }

.ar-side__sticky { position: sticky; inset-block-start: calc(var(--header-height-scroll, 62px) + 24px); display: grid; gap: 16px; }

.ar-toc-mobile { display: none; }

.ar-toc__list { display: grid; gap: 2px; counter-reset: toc; }

.ar-toc__list a { display: flex; gap: 10px; align-items: baseline; padding: 8px 10px; margin-inline: -10px; border-radius: 10px; font-size: 14px; line-height: 1.35; color: var(--kh-text-2); border-inline-start: 2px solid transparent; transition: color var(--kh-dur-fast), background var(--kh-dur-fast); }

.ar-toc__list a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); font-size: 11px; font-weight: 600; color: var(--kh-text-3); font-variant-numeric: tabular-nums; }

.ar-toc__list a:hover { color: var(--kh-indigo); background: var(--kh-sky-050); }

.ar-toc__list a.is-active { color: var(--kh-indigo); font-weight: 500; background: var(--kh-sky-050); border-inline-start-color: var(--kh-blue); }

.ar-toc__list a.is-active::before { color: var(--kh-blue); }

.ar-side-author { display: flex; gap: 12px; align-items: center; }

.ar-side-author > div { min-width: 0; }

.ar-side-author b { display: block; font-size: 15px; font-weight: 500; color: var(--kh-indigo); }

.ar-side-author div > span { display: block; font-size: 12px; color: var(--kh-text-2); }

.ar-side-author a { font-size: 13px; font-weight: 500; color: var(--kh-blue); }

.ar-project { padding: 0; overflow: hidden; }

.ar-project__media { position: relative; aspect-ratio: 4 / 3; display: flex; align-items: flex-end; }

.ar-project__media .kh-ph { position: absolute; inset: 0; }

.ar-project__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,3,4,0) 35%, rgba(2,3,4,.78) 100%); }

.ar-project__over { position: relative; z-index: 1; padding: 18px; color: var(--kh-surface); }

.ar-project__label { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 11px; background: rgba(255,255,255,.18); font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--kh-surface); }

.kh-main a.ar-project__name { display: block; font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--kh-surface); margin: 10px 0 2px; }

.kh-main a.ar-project__name:hover { color: var(--kh-sky); }

.ar-project__city { font-size: 13px; color: rgba(255,255,255,.78); }

.ar-project__body { padding: 14px 16px 16px; }

.ar-project .kh-btn { width: 100%; color: var(--kh-surface);}

.ar-news { padding: 20px; }

.ar-news .kh-side-card__title { margin-block-end: 6px; }

.ar-news .kh-side-card__text { font-size: 13px; margin-block-end: 14px; }

.ar-news .kh-subscribe { gap: 10px; }

.ar-news .kh-input { height: 44px; }

@media (max-width: 900px) {
  .ar-toc { display: none; }
  .ar-toc-mobile { display: block; border: 1px solid var(--kh-mist); border-radius: 16px; background: var(--kh-surface); padding: 4px 16px; }
  .ar-toc-mobile summary { cursor: pointer; padding: 12px 0; font-weight: 500; color: var(--kh-indigo); list-style: none; display: flex; justify-content: space-between; align-items: center; }
  .ar-toc-mobile summary::-webkit-details-marker { display: none; }
  .ar-toc-mobile summary::after { content: ""; width: 8px; height: 8px; border-inline-end: 2px solid var(--kh-indigo); border-block-end: 2px solid var(--kh-indigo); transform: rotate(45deg); transition: transform var(--kh-dur-fast); }
  .ar-toc-mobile[open] summary::after { transform: rotate(-135deg); }
  .ar-toc-mobile .ar-toc__list { padding-block: 4px 12px; }
  .ar-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ar-side__flow { display: contents; }
  .ar-side__sticky { position: static; display: contents; }
}

@media (max-width: 767px) {
  .ar-side { grid-template-columns: 1fr; }
}

body.lang-he .ar-title,
body.lang-he .ar-callout__label,
body.lang-he .ar-project__label {
  letter-spacing: 0;
}

body.lang-he .ar-project__body .kh-btn svg {
	transform: rotate(180deg);
}

/* CSS source: assets/css/new-style/article/comments.css */
/* NewKey article: Comments and discussion. Base, RTL and responsive rules. */

.ar-comments { margin-block-start: 48px; padding-block-start: 40px; border-block-start: 1px solid var(--kh-line); }

.ar-comments__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-block-end: 24px; }

.ar-comments__title { font-size: 26px; font-weight: 600; color: var(--kh-indigo); margin: 0; display: flex; align-items: center; gap: 10px; }

.ar-comments__count { font-size: 14px; font-weight: 500; min-width: 28px; height: 28px; padding-inline: 8px; border-radius: 14px; background: var(--kh-sky); color: var(--kh-indigo); display: inline-flex; align-items: center; justify-content: center; }

.ar-sort { display: inline-flex; padding: 4px; border-radius: var(--kh-r-pill); background: var(--kh-mist); }

.ar-sort__btn { height: 32px; padding: 0 14px; border: 0; border-radius: var(--kh-r-pill); background: transparent; color: var(--kh-indigo); font-size: 13px; font-weight: 500; cursor: pointer; }

.ar-sort__btn[aria-pressed="true"] { background: var(--kh-surface); box-shadow: var(--kh-sh-sm); }

.ar-composer { margin-block-end: 32px; }

.ar-composer__gate { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 24px; border-radius: 20px; background: var(--kh-sky); }

.ar-composer__gate b { display: block; font-size: 17px; font-weight: 500; color: var(--kh-indigo); }

.ar-composer__gate span { display: block; font-size: 14px; color: var(--kh-text-2); margin-block-start: 4px; }

.ar-composer__gate .kh-btn {color: var(--kh-surface);}

.ar-composer__body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; }

.ar-textarea { display: block; width: 100%; min-height: 96px; padding: 14px 16px; border-radius: var(--kh-r-field); border: 1px solid var(--kh-line); background: var(--kh-surface); font: inherit; font-size: 15px; line-height: 1.5; color: var(--kh-text); resize: none; overflow: hidden; outline: none; transition: border-color var(--kh-dur-fast), box-shadow var(--kh-dur-fast); }

.ar-textarea:focus { border-color: var(--kh-blue); box-shadow: 0 0 0 3px rgba(40,142,255,.18); }

.ar-textarea::placeholder { color: var(--kh-placeholder); }

.ar-composer__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-start: 10px; }

.ar-counter { font-size: 12px; color: var(--kh-text-3); }

.ar-form__msg { color: var(--kh-text-2); }

.ar-form__msg.is-error { color: var(--kh-danger); }

.ar-form__msg.is-ok { color: var(--kh-success); }

.ar-comment-list { display: grid; gap: 8px; }

.ar-comments__empty {margin-bottom: 32px;}

.ar-comment { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 18px 0; border-block-start: 1px solid var(--kh-line); }

.ar-comment__head { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 14px; }

.ar-comment__name { font-weight: 500; color: var(--kh-indigo); }

.ar-comment__role { height: 22px; padding: 0 9px; border-radius: 11px; background: var(--kh-sky); color: var(--kh-indigo); font-size: 11px; font-weight: 500; display: inline-flex; align-items: center; }

.ar-comment__role--developer { background: var(--kh-indigo); color: var(--kh-surface); }

.ar-comment__role--author { background: var(--kh-blue); color: var(--kh-surface); }

.ar-comment__date { font-size: 12px; color: var(--kh-text-3); }

.ar-comment__text { font-size: 15px; line-height: 1.6; color: var(--kh-text); margin: 6px 0 10px; white-space: pre-line; }

.ar-comment__actions { display: flex; gap: 16px; }

.ar-comment__btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 4px; border: 0; background: none; color: var(--kh-text-2); font-size: 13px; font-weight: 500; cursor: pointer; border-radius: 8px; }

.ar-comment__btn:hover { color: var(--kh-indigo); }

.ar-comment__btn[aria-pressed="true"] { color: var(--kh-blue); }

.ar-comment__btn[aria-pressed="true"] svg { fill: currentColor; }

.ar-comment__replies { margin-block-start: 6px; padding-inline-start: 18px; border-inline-start: 2px solid var(--kh-sky); display: grid; }

.ar-comment__replies .ar-comment { border-block-start: 0; padding-block: 12px; }

.ar-reply-form { grid-column: 2; display: grid; gap: 8px; margin-block-start: 4px; }

.ar-reply-form .ar-textarea { min-height: 72px; }

.ar-reply-form__foot { display: flex; gap: 8px; justify-content: flex-end; }

.ar-comment.is-new { animation: kh-in .5s var(--kh-ease) both; }

.ar-comment > .ar-comment__replies {
    grid-column: 2 / -1;
    min-width: 0;
}

.ar-comment > .ar-comment__replies:empty {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
  .ar-comment.is-new { animation: none; }
}

@media (max-width: 767px) {
  .ar-composer__body { grid-template-columns: 1fr; }
  .ar-composer__body .ar-avatar { display: none; }
  .ar-comment { grid-template-columns: auto minmax(0, 1fr); gap: 12px; }
  .ar-reply-form { grid-column: 1 / -1; }
}

body.lang-he .ar-table td,
body.lang-he .ar-chart .kh-num,
body.lang-he .ar-stat b,
body.lang-he .ar-counter {
  unicode-bidi: isolate;
}

/* CSS source: assets/css/new-style/article/modal.css */
/* NewKey article: Article modal and onboarding. Base, RTL and responsive rules. */

.ar-news .ar-check { color: rgba(255,255,255,.78); font-size: 12px; margin: 0; }

.ar-news .ar-check span { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); }

.ar-news .ar-check a { color: var(--kh-surface); }

.ar-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; }

.ar-modal__backdrop { position: absolute; inset: 0; background: rgba(2,3,4,.55); backdrop-filter: blur(4px); }

.ar-modal__dialog { position: relative; width: 100%; max-width: 480px; max-height: calc(100dvh - 32px); overflow: auto; padding: 32px; border-radius: var(--kh-r-card); background: var(--kh-surface); box-shadow: var(--kh-sh-lg); animation: ar-pop .32s var(--kh-ease-out) both; }

@keyframes ar-pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

.ar-modal__close { position: absolute; inset-block-start: 16px; inset-inline-end: 16px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--kh-mist); color: var(--kh-indigo); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }

.ar-modal__title { font-size: 24px; line-height: 1.25; font-weight: 600; color: var(--kh-indigo); margin: 0 0 8px; }

.ar-modal__text { font-size: 15px; color: var(--kh-text-2); margin: 0 0 20px; }

.ar-steps { height: 4px; border-radius: 2px; background: var(--kh-mist); overflow: hidden; margin-inline-end: 44px; }

.ar-steps i { display: block; height: 100%; width: 0; background: var(--kh-blue); transition: width .4s var(--kh-ease); }

.ar-steps__label { font-size: 12px; font-weight: 500; color: var(--kh-text-3); margin: 8px 0 18px; }

.ar-field { display: grid; gap: 8px; margin-block-end: 14px; }

.ar-field label { font-size: 14px; font-weight: 500; color: var(--kh-text-2); }

.ar-field label small { font-weight: 400; color: var(--kh-text-3); }

.ar-check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; font-size: 13px; color: var(--kh-text-2); margin: 4px 0 6px; cursor: pointer; }

.ar-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }

.ar-check span { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--kh-border-2, var(--kh-control-line)); background: var(--kh-surface); margin-block-start: 1px; position: relative; transition: background var(--kh-dur-fast), border-color var(--kh-dur-fast); }

.ar-check span::after { content: ""; position: absolute; inset-block-start: 3px; inset-inline-start: 6px; width: 5px; height: 9px; border: solid var(--kh-surface); border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0; }

.ar-check input:checked + span { background: var(--kh-blue); border-color: var(--kh-blue); }

.ar-check input:checked + span::after { opacity: 1; }

.ar-check input:focus-visible + span { outline: 2px solid var(--kh-blue); outline-offset: 2px; }

.ar-check i { font-style: normal; }

.ar-check a { color: var(--kh-indigo); text-decoration: underline; }

.ar-modal__primary { width: 100%; margin-block-start: 6px; }

.ar-modal__alt { display: block; width: 100%; margin-block-start: 10px; padding: 10px; border: 0; background: none; color: var(--kh-indigo); font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.ar-survey__q { font-size: 20px; font-weight: 600; color: var(--kh-indigo); margin: 0 0 4px; }

.ar-survey__hint { font-size: 14px; color: var(--kh-text-2); margin: 0 0 18px; }

.ar-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-block-end: 20px; }

.ar-options--list { grid-template-columns: 1fr; gap: 6px; }

.ar-option { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--kh-line); background: var(--kh-surface); color: var(--kh-indigo); font-size: 15px; font-weight: 500; text-align: start; cursor: pointer; transition: border-color var(--kh-dur-fast), background var(--kh-dur-fast), transform var(--kh-dur-fast) var(--kh-ease); }

.ar-option:hover { border-color: var(--kh-blue); transform: translateY(-1px); }

.ar-option[aria-checked="true"] { border-color: var(--kh-blue); background: var(--kh-sky); box-shadow: 0 0 0 3px rgba(40,142,255,.16); }

.ar-option__icon { width: 34px; height: 34px; border-radius: 10px; background: var(--kh-sky); display: grid; place-items: center; color: var(--kh-blue); flex-shrink: 0; }

.ar-option[aria-checked="true"] .ar-option__icon { background: var(--kh-surface); }

.ar-survey__nav { display: flex; gap: 10px; justify-content: space-between; }

.ar-survey__nav .kh-btn { flex: 1; }

.ar-step--done { text-align: center; }

.ar-done__icon { display: grid; place-items: center; margin-block-end: 12px; }

@media (prefers-reduced-motion: reduce) {
  .ar-modal__dialog { animation: none; }
  .ar-progress i,
.ar-steps i { transition: none; }
  .ar-share__btn:hover,
.ar-option:hover { transform: none; }
}

@media (max-width: 767px) {
  .ar-options { grid-template-columns: 1fr; }
  .ar-modal__dialog { padding: 24px 20px; }
}

body.lang-he .ar-textarea,
body.lang-he .ar-field input:not([type="email"]) {
  direction: rtl;
  text-align: right;
}

body.lang-he .ar-field input[type="email"],
body.lang-he .ar-news input[type="email"] {
  direction: ltr;
  text-align: left;
}

body.lang-he .ar-modal__dialog {
  direction: rtl;
  text-align: right;
}

body.lang-he .ar-modal__dialog input[type="email"] {
  direction: ltr;
  text-align: left;
}

body.lang-he .ar-modal__dialog input[type="password"] {
  direction: ltr;
  text-align: left;
}

/* CSS source: assets/css/new-style/article/related.css */
/* NewKey article: Related article section. Base, RTL and responsive rules. */

.ar-related { background: var(--kh-bg); }

.ar-related__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1100px) {
  .ar-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .ar-related__grid { grid-template-columns: 1fr; }
}


/*# sourceMappingURL=article-style.05732f3a26dfb44e.css.map */
