/* Shared platform features: language, loader, RSS, guide and AJAX forms. */

html[dir="ltr"] body {
  font-family: var(--font-latin, Inter, Arial, sans-serif);
}

html[lang="hi"] body {
  font-family: "Nirmala UI", "Mangal", Arial, sans-serif;
}

html[dir="ltr"] :is(p, h1, h2, h3, h4, li, dt, dd, label, legend) {
  unicode-bidi: plaintext;
}

.language-switcher {
  position: relative;
  z-index: 20;
  flex: 0 0 auto;
  direction: ltr;
  font-family: var(--font-latin, Inter, Arial, sans-serif);
}

.language-switcher__toggle {
  display: inline-flex;
  min-width: 60px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line-dark, rgba(17, 20, 16, .18));
  background: transparent;
  color: var(--ink, #111410);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.language-switcher__toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.language-switcher__toggle:hover,
.language-switcher.is-open .language-switcher__toggle {
  border-color: var(--ink, #111410);
  background: var(--ink, #111410);
  color: #fff;
}

.language-switcher__menu {
  position: absolute;
  z-index: 30;
  inset-block-start: calc(100% + 12px);
  inset-inline-end: 0;
  display: grid;
  width: 210px;
  padding: 8px;
  border: 1px solid var(--line-dark, rgba(17, 20, 16, .18));
  background: var(--surface, #fffdf8);
  box-shadow: var(--shadow-md, 0 22px 70px rgba(24, 28, 25, .13));
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  visibility: hidden;
  transition: opacity .2s ease, transform .28s var(--ease-out, ease), visibility 0s linear .28s;
}

.language-switcher.is-open .language-switcher__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0s;
}

.language-switcher__menu button {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: transparent;
  color: var(--ink, #111410);
  text-align: start;
  transition: background .18s ease, color .18s ease;
}

.language-switcher__menu button small {
  color: var(--steel, #5b645f);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.language-switcher__menu button:hover,
.language-switcher__menu button:focus-visible,
.language-switcher__menu button.is-active {
  background: var(--paper-2, #ebe7dc);
}

.language-switcher__menu button.is-active::before {
  width: 6px;
  height: 6px;
  margin-inline-end: 9px;
  border-radius: 50%;
  background: var(--blue, #165dff);
  content: "";
}

/* NT loading sequence */

body.has-nt-loader {
  overflow: hidden;
}

.nt-loader {
  position: fixed;
  z-index: 5000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--paper, #f3f0e8);
  color: var(--ink, #111410);
  opacity: 0;
  transition: opacity .35s ease;
}

.nt-loader.is-visible {
  opacity: 1;
}

.nt-loader.is-leaving {
  opacity: 0;
  pointer-events: none;
}

.nt-loader__grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent calc(25% - 1px), rgba(17, 20, 16, .12) 25%, transparent calc(25% + 1px)),
    linear-gradient(transparent calc(50% - 1px), rgba(17, 20, 16, .1) 50%, transparent calc(50% + 1px));
  background-size: 25% 100%, 100% 50%;
}

.nt-loader__grid::before,
.nt-loader__grid::after {
  position: absolute;
  content: "";
}

.nt-loader__grid::before {
  inset-block: 0;
  width: 1px;
  background: var(--blue, #165dff);
  box-shadow: 0 0 32px rgba(22, 93, 255, .4);
  animation: nt-scan-x 1.8s cubic-bezier(.65, 0, .35, 1) infinite alternate;
}

.nt-loader__grid::after {
  width: 58vw;
  height: 58vw;
  inset-inline-end: -30vw;
  inset-block-start: -34vw;
  border: 1px solid rgba(22, 93, 255, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 8vw rgba(22, 93, 255, .025), 0 0 0 16vw rgba(22, 93, 255, .02);
  animation: nt-orbit 12s linear infinite;
}

.nt-loader__inner {
  position: relative;
  width: min(680px, calc(100% - 48px));
}

.nt-loader__brand {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nt-loader__mark {
  position: relative;
  display: grid;
  direction: ltr;
  unicode-bidi: isolate;
  width: 108px;
  aspect-ratio: 1;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  overflow: hidden;
  background: var(--ink, #111410);
  color: var(--amber-bright, #f3bd43);
  font-family: var(--font-latin, Inter, Arial, sans-serif);
  font-size: 2.55rem;
  font-weight: 900;
  letter-spacing: -.18em;
  line-height: 1;
}

.nt-loader__mark::after {
  position: absolute;
  inset: 0;
  background: var(--blue, #165dff);
  content: "";
  transform: translateY(105%);
  animation: nt-mark-pulse 1.6s var(--ease-out, ease) infinite;
  mix-blend-mode: screen;
}

.nt-loader__mark i {
  position: relative;
  z-index: 1;
  font-style: normal;
}

.nt-loader__wordmark {
  display: grid;
  direction: ltr;
  font-family: var(--font-latin, Inter, Arial, sans-serif);
  line-height: 1;
}

.nt-loader__wordmark strong {
  font-size: clamp(1.5rem, 4vw, 3rem);
  letter-spacing: .04em;
}

.nt-loader__wordmark small {
  margin-top: 12px;
  color: var(--steel, #5b645f);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .22em;
}

.nt-loader__status {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(56px, 9vw, 100px);
}

.nt-loader__status p {
  color: var(--steel, #5b645f);
  font-size: .94rem;
  font-weight: 700;
}

.nt-loader__status strong {
  direction: ltr;
  font-family: var(--font-latin, Inter, Arial, sans-serif);
  font-size: clamp(2.6rem, 7vw, 5rem);
  letter-spacing: -.06em;
  line-height: .8;
}

.nt-loader__meter {
  position: relative;
  height: 7px;
  margin-top: 26px;
  overflow: hidden;
  background: rgba(17, 20, 16, .12);
}

.nt-loader__meter span {
  display: block;
  width: var(--nt-progress, 6%);
  height: 100%;
  background: linear-gradient(90deg, var(--blue, #165dff), var(--amber-bright, #f3bd43));
  transition: width .5s var(--ease-out, ease);
}

.nt-loader__coordinates {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  color: var(--steel, #5b645f);
  direction: ltr;
  font-family: var(--font-latin, Inter, Arial, sans-serif);
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .15em;
}

@keyframes nt-scan-x {
  from { inset-inline-start: 12%; }
  to { inset-inline-start: 88%; }
}

@keyframes nt-orbit {
  to { transform: rotate(360deg); }
}

@keyframes nt-mark-pulse {
  0%, 55% { transform: translateY(105%); }
  80%, 100% { transform: translateY(-105%); }
}

/* Minimal cross-page skeleton. The full brand loader remains first-visit only. */

body.has-nt-route-loader {
  overflow: hidden;
}

/* Normal fade reveals must not clip Persian glyphs outside their line box. */
.js [data-reveal]:not([data-reveal="clip"]).is-visible,
.js [data-reveal]:not([data-reveal="clip"])[data-visible="true"] {
  clip-path: none;
}

.nt-route-loader {
  position: fixed;
  z-index: 5100;
  inset: 0;
  overflow: hidden;
  background: var(--paper, #f3f0e8);
  color: var(--ink, #111410);
  opacity: 0;
  transition: opacity .18s ease;
}

.nt-route-loader.is-visible {
  opacity: 1;
}

.nt-route-loader.is-leaving {
  opacity: 0;
  pointer-events: none;
}

.nt-route-loader__progress {
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 3px;
  overflow: hidden;
  background: rgba(17, 20, 16, .08);
}

.nt-route-loader__progress span {
  position: absolute;
  inset-block: 0;
  width: 34%;
  background: linear-gradient(90deg, var(--amber-bright, #f3bd43), var(--blue, #165dff));
  animation: nt-route-progress .9s cubic-bezier(.65, 0, .35, 1) infinite;
}

.nt-route-loader__shell {
  position: relative;
  width: min(1440px, calc(100% - 48px));
  margin-inline: auto;
}

.nt-route-loader__head {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid rgba(17, 20, 16, .14);
}

.nt-route-loader__mark {
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  background: var(--amber-bright, #f3bd43);
  color: var(--ink, #111410);
  direction: ltr;
  font-family: var(--font-latin, Inter, Arial, sans-serif);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: -.05em;
}

.nt-route-loader__destination {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 7px;
  color: var(--steel, #5b645f);
  font-size: .78rem;
  font-weight: 700;
}

.nt-route-loader__destination strong {
  overflow: hidden;
  color: var(--ink, #111410);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-route-loader__nav {
  display: flex;
  gap: 12px;
  margin-inline-start: auto;
}

.nt-route-loader__nav i {
  width: 54px;
  height: 7px;
  border-radius: 99px;
  background: rgba(17, 20, 16, .1);
}

.nt-route-loader__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
  padding-block: clamp(42px, 7vh, 82px);
}

.nt-route-loader__media {
  min-height: min(52vh, 520px);
}

.nt-route-loader__copy {
  display: grid;
  gap: 17px;
}

.nt-route-loader__copy i {
  display: block;
  height: 15px;
}

.nt-route-loader__copy i:first-child {
  width: 36%;
  height: 10px;
}

.nt-route-loader__copy i:nth-child(2) {
  width: 94%;
  height: clamp(44px, 6vw, 78px);
}

.nt-route-loader__copy i:nth-child(3) { width: 72%; }
.nt-route-loader__copy i:nth-child(4) { width: 54%; }

.nt-route-loader__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(17, 20, 16, .1);
}

.nt-route-loader__cards i {
  display: block;
  min-height: 82px;
}

.nt-route-skeleton {
  position: relative;
  overflow: hidden;
  background: rgba(17, 20, 16, .075);
}

.nt-route-skeleton::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .64) 48%, transparent 76%);
  content: "";
  transform: translateX(-110%);
  animation: nt-route-shimmer 1.2s ease-in-out infinite;
}

@keyframes nt-route-progress {
  from { inset-inline-start: -34%; }
  to { inset-inline-start: 100%; }
}

@keyframes nt-route-shimmer {
  to { transform: translateX(110%); }
}

@media (max-width: 760px) {
  .nt-route-loader__shell {
    width: min(100% - 28px, 1440px);
  }

  .nt-route-loader__nav {
    display: none;
  }

  .nt-route-loader__body {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-block: 28px;
  }

  .nt-route-loader__media {
    min-height: 38vh;
  }

  .nt-route-loader__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Automated guidance assistant */

.guide-widget {
  position: fixed;
  z-index: 2100;
  inset-inline-end: 22px;
  inset-block-end: 22px;
  direction: inherit;
}

.guide-launcher {
  display: flex;
  min-height: 58px;
  align-items: stretch;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .16);
  background: var(--ink, #111410);
  color: #fff;
  box-shadow: 0 18px 46px rgba(17, 20, 16, .25);
  transition: transform .3s var(--ease-out, ease), box-shadow .3s ease;
}

.guide-launcher:hover {
  box-shadow: 0 22px 56px rgba(17, 20, 16, .32);
  transform: translateY(-3px);
}

.guide-launcher__mark {
  display: grid;
  width: 58px;
  place-items: center;
  background: var(--blue, #165dff);
  color: #fff;
  direction: ltr;
  font-family: var(--font-latin, Inter, Arial, sans-serif);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -.05em;
}

.guide-launcher__text {
  display: grid;
  min-width: 76px;
  place-items: center;
  padding-inline: 16px;
  direction: ltr;
  font-family: var(--font-latin, Inter, Arial, sans-serif);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.guide-widget.is-open .guide-launcher {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.guide-panel {
  position: absolute;
  inset-inline-end: 0;
  inset-block-end: 0;
  display: grid;
  width: min(420px, calc(100vw - 32px));
  max-height: min(720px, calc(100vh - 36px));
  grid-template-rows: auto minmax(120px, 1fr) auto auto auto auto;
  border: 1px solid var(--ink, #111410);
  background: var(--surface, #fffdf8);
  box-shadow: var(--shadow-heavy, 0 34px 110px rgba(13, 16, 14, .22));
  opacity: 0;
  overflow: hidden;
  transform: translateY(20px) scale(.97);
  transform-origin: bottom right;
  transition: opacity .22s ease, transform .35s var(--ease-out, ease);
}

[dir="rtl"] .guide-panel {
  transform-origin: bottom left;
}

.guide-panel.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.guide-panel__head {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: var(--ink, #111410);
  color: #fff;
}

.guide-panel__identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.guide-panel__identity > span {
  display: grid;
  width: 44px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  background: var(--amber-bright, #f3bd43);
  color: var(--ink, #111410);
  direction: ltr;
  font-family: var(--font-latin, Inter, Arial, sans-serif);
  font-weight: 900;
}

.guide-panel__identity h2 {
  overflow: hidden;
  font-size: 1rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guide-panel__identity p {
  max-width: 250px;
  margin-top: 5px;
  overflow: hidden;
  color: rgba(255, 255, 255, .55);
  font-size: .68rem;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guide-panel__tools {
  display: flex;
  flex: 0 0 auto;
  gap: 5px;
}

.guide-panel__tools button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  background: transparent;
  color: #fff;
  font-family: var(--font-latin, Inter, Arial, sans-serif);
  font-size: 1.2rem;
}

.guide-messages {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  gap: 12px;
  padding: 18px 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.guide-message {
  display: grid;
  max-width: 88%;
  grid-template-columns: 30px 1fr;
  align-items: start;
  gap: 8px;
  animation: guide-message-in .38s var(--ease-out, ease) both;
}

.guide-message--user {
  align-self: flex-end;
  grid-template-columns: 1fr 30px;
}

.guide-message--user .guide-message__label {
  grid-column: 2;
  grid-row: 1;
}

.guide-message--user p {
  grid-column: 1;
  grid-row: 1;
  background: var(--blue, #165dff);
  color: #fff;
}

.guide-message__label {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  background: var(--amber-bright, #f3bd43);
  direction: ltr;
  font-family: var(--font-latin, Inter, Arial, sans-serif);
  font-size: .52rem;
  font-weight: 900;
}

.guide-message p {
  padding: 11px 13px;
  background: var(--paper-2, #ebe7dc);
  font-size: .82rem;
  line-height: 1.7;
}

@keyframes guide-message-in {
  from { opacity: 0; transform: translateY(8px); }
}

.guide-flows {
  padding: 0 16px 14px;
  border-top: 1px solid var(--line-dark, rgba(17, 20, 16, .14));
}

.guide-flows__title {
  padding-block: 10px 7px;
  color: var(--steel, #5b645f);
  font-size: .7rem;
  font-weight: 700;
}

.guide-flows__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.guide-flows__grid button {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--line-dark, rgba(17, 20, 16, .18));
  background: transparent;
  font-size: .72rem;
  font-weight: 700;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.guide-flows__grid button:hover,
.guide-flows__grid button.is-active {
  border-color: var(--ink, #111410);
  background: var(--ink, #111410);
  color: #fff;
}

.guide-handoffs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line-dark, rgba(17, 20, 16, .14));
}

.guide-handoffs a {
  display: grid;
  min-height: 42px;
  place-items: center;
  padding: 7px;
  border-inline-end: 1px solid var(--line-dark, rgba(17, 20, 16, .14));
  font-size: .68rem;
  font-weight: 800;
  text-align: center;
  transition: background .18s ease, color .18s ease;
}

.guide-handoffs a:last-child {
  border-inline-end: 0;
}

.guide-handoffs a:hover {
  background: var(--amber-bright, #f3bd43);
  color: var(--ink, #111410);
}

.guide-compose {
  display: grid;
  grid-template-columns: 1fr 48px;
  padding: 10px;
  background: var(--paper-2, #ebe7dc);
}

.guide-compose input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding-inline: 13px;
  border: 1px solid transparent;
  background: var(--surface, #fffdf8);
  outline: 0;
  font-size: .82rem;
}

.guide-compose input:focus {
  border-color: var(--blue, #165dff);
}

.guide-compose button {
  display: grid;
  place-items: center;
  background: var(--blue, #165dff);
  color: #fff;
}

.guide-compose svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

[dir="rtl"] .guide-compose svg {
  transform: scaleX(-1);
}

.guide-privacy {
  padding: 0 13px 8px;
  background: var(--paper-2, #ebe7dc);
  color: var(--steel, #5b645f);
  font-size: .61rem;
  text-align: center;
}

/* Live industry news */

.news-feed {
  position: relative;
}

.news-feed__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.news-feed__heading-copy {
  max-width: 930px;
}

.news-feed__refresh {
  display: inline-flex;
  min-height: 48px;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid var(--line-dark, rgba(17, 20, 16, .18));
  background: transparent;
  font-size: .8rem;
  font-weight: 800;
  transition: background .2s ease, color .2s ease;
}

.news-feed__refresh:hover {
  background: var(--ink, #111410);
  color: #fff;
}

.news-feed__refresh svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.news-feed__toolbar {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(44px, 6vw, 76px);
  border-block: 1px solid var(--line-dark, rgba(17, 20, 16, .18));
}

.news-tabs {
  display: flex;
  align-self: stretch;
}

.news-tab {
  position: relative;
  min-width: 128px;
  padding: 12px 20px;
  border-inline-end: 1px solid var(--line-dark, rgba(17, 20, 16, .18));
  background: transparent;
  color: var(--steel, #5b645f);
  font-family: var(--font-latin, Inter, Arial, sans-serif);
  font-size: .82rem;
  font-weight: 800;
  transition: background .2s ease, color .2s ease;
}

.news-tab[aria-selected="true"] {
  background: var(--blue, #165dff);
  color: #fff;
}

.news-feed__status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-inline-end: 16px;
  color: var(--steel, #5b645f);
  font-size: .72rem;
}

.news-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border: 1px solid currentColor;
  color: var(--steel, #5b645f);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.news-badge::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.news-badge--live {
  color: var(--success, #167557);
}

.news-badge--loading::before {
  animation: news-pulse .85s ease infinite alternate;
}

.news-badge--fallback,
.news-badge--cache {
  color: var(--amber, #d79b16);
}

@keyframes news-pulse {
  to { opacity: .2; transform: scale(.7); }
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-inline-start: 1px solid var(--line-dark, rgba(17, 20, 16, .18));
}

.news-card {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-rows: 240px 1fr;
  border-inline-end: 1px solid var(--line-dark, rgba(17, 20, 16, .18));
  border-block-end: 1px solid var(--line-dark, rgba(17, 20, 16, .18));
  background: var(--surface, #fffdf8);
  animation: news-card-in .55s var(--ease-out, ease) both;
  animation-delay: calc(var(--news-index, 0) * 55ms);
}

@keyframes news-card-in {
  from { opacity: 0; transform: translateY(18px); }
}

.news-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(22, 93, 255, .92), rgba(17, 20, 16, .97)),
    var(--ink, #111410);
}

.news-card__media::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .16);
  content: "NT / INDUSTRY";
  direction: ltr;
  font-family: var(--font-latin, Inter, Arial, sans-serif);
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 900;
  letter-spacing: -.04em;
}

.news-card__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .75s var(--ease-out, ease), filter .4s ease;
}

.news-card:hover .news-card__media img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.045);
}

.news-card__index {
  position: absolute;
  z-index: 2;
  inset-inline-start: 12px;
  inset-block-start: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: var(--amber-bright, #f3bd43);
  color: var(--ink, #111410);
  direction: ltr;
  font-family: var(--font-latin, Inter, Arial, sans-serif);
  font-size: .67rem;
  font-weight: 900;
}

.news-card__body {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  padding: clamp(20px, 2.5vw, 32px);
}

.news-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--steel, #5b645f);
  font-size: .68rem;
  font-weight: 700;
}

.news-card__meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-card h3 {
  margin-top: 18px;
  font-size: clamp(1.18rem, 1.7vw, 1.52rem);
  line-height: 1.35;
}

.news-card__body > p {
  display: -webkit-box;
  margin-top: 14px;
  overflow: hidden;
  color: #46504b;
  font-size: .9rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.news-card__link {
  display: inline-flex;
  width: fit-content;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 20px;
  border-bottom: 1px solid currentColor;
  color: var(--blue, #165dff);
  font-size: .82rem;
  font-weight: 800;
}

.news-card--skeleton {
  display: block;
  min-height: 500px;
  padding: 0;
  background: var(--surface, #fffdf8);
  animation: none;
}

.news-card--skeleton span,
.news-card--skeleton i {
  display: block;
  background: linear-gradient(90deg, var(--paper-2, #ebe7dc) 20%, #f7f4ec 48%, var(--paper-2, #ebe7dc) 76%);
  background-size: 220% 100%;
  animation: news-shimmer 1.25s linear infinite;
}

.news-card--skeleton span {
  height: 240px;
}

.news-card--skeleton i {
  height: 16px;
  margin: 28px 28px 0;
}

.news-card--skeleton i:nth-child(3) { width: 70%; }
.news-card--skeleton i:nth-child(4) { width: 45%; }

@keyframes news-shimmer {
  to { background-position: -220% 0; }
}

.news-empty {
  display: grid;
  min-height: 310px;
  grid-column: 1 / -1;
  place-items: center;
  align-content: center;
  gap: 20px;
  padding: 40px;
  border-inline-end: 1px solid var(--line-dark, rgba(17, 20, 16, .18));
  border-block-end: 1px solid var(--line-dark, rgba(17, 20, 16, .18));
  text-align: center;
}

.news-feed__sources {
  display: flex;
  min-height: 60px;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding-inline: 16px;
  border-bottom: 1px solid var(--line-dark, rgba(17, 20, 16, .18));
  color: var(--steel, #5b645f);
  font-size: .7rem;
}

.news-feed__sources > span {
  color: var(--ink, #111410);
  font-weight: 800;
}

.news-feed__sources a {
  border-bottom: 1px solid currentColor;
}

/* AJAX form feedback */

.field-error {
  display: block;
  margin-top: 7px;
  color: var(--danger, #b62828);
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.5;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--danger, #b62828) !important;
  box-shadow: inset 3px 0 0 var(--danger, #b62828);
}

[dir="rtl"] input[aria-invalid="true"],
[dir="rtl"] select[aria-invalid="true"],
[dir="rtl"] textarea[aria-invalid="true"] {
  box-shadow: inset -3px 0 0 var(--danger, #b62828);
}

.form-status {
  min-height: 26px;
  color: var(--steel, #5b645f);
  font-size: .78rem;
  font-weight: 700;
}

.form-status:not(:empty) {
  padding: 10px 13px;
  border-inline-start: 3px solid currentColor;
  background: rgba(91, 100, 95, .07);
}

.form-status--sending {
  color: var(--blue, #165dff);
}

.form-status--success {
  color: var(--success, #167557);
  background: rgba(22, 117, 87, .08) !important;
}

.form-status--error {
  color: var(--danger, #b62828);
  background: rgba(182, 40, 40, .07) !important;
}

form.is-submitting button[type="submit"] {
  cursor: wait;
  opacity: .78;
}

form.is-submitting button[type="submit"]::before {
  position: relative;
  z-index: 2;
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  content: "";
  animation: form-spin .65s linear infinite;
}

@keyframes form-spin {
  to { transform: rotate(360deg); }
}

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

  .news-tab {
    min-width: 110px;
  }
}

@media (max-width: 760px) {
  .language-switcher__toggle {
    min-width: 48px;
    padding-inline: 8px;
  }

  .language-switcher__toggle svg {
    display: none;
  }

  .language-switcher__menu {
    position: fixed;
    inset-inline: 16px;
    inset-block-start: calc(var(--header-h, 76px) + 10px);
    width: auto;
  }

  .nt-loader__mark {
    width: 82px;
    font-size: 2rem;
  }

  .nt-loader__brand {
    gap: 16px;
  }

  .nt-loader__wordmark small {
    letter-spacing: .12em;
  }

  .guide-widget {
    inset-inline: 12px;
    inset-block-end: 12px;
  }

  .guide-launcher {
    margin-inline-start: auto;
  }

  .guide-panel {
    position: fixed;
    inset-inline: 10px;
    inset-block: auto 10px;
    width: auto;
    max-height: min(720px, calc(100dvh - 20px));
  }

  .news-feed__heading {
    align-items: start;
    flex-direction: column;
  }

  .news-feed__toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .news-tabs {
    overflow-x: auto;
  }

  .news-tab {
    min-width: 33.333%;
  }

  .news-feed__status {
    min-height: 54px;
    justify-content: space-between;
    padding-inline: 12px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card {
    grid-template-rows: min(62vw, 280px) auto;
  }

  .news-card__body {
    min-height: 260px;
  }
}

@media (max-width: 440px) {
  .guide-launcher__text {
    display: none;
  }

  .guide-handoffs {
    grid-template-columns: 1fr;
  }

  .guide-handoffs a {
    min-height: 36px;
    border-inline-end: 0;
    border-block-end: 1px solid var(--line-dark, rgba(17, 20, 16, .14));
  }

  .guide-handoffs a:last-child {
    border-block-end: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nt-route-loader,
  .nt-route-loader *,
  .nt-loader *,
  .guide-widget *,
  .news-feed * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}
