/* Quan hệ cổ đông — Investor Relations */

body.nafoods-ir {
  background: var(--nf-cream, #fffaf3);
}

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

.nf-ir {
  color: var(--nf-brand, #760f26);
  -webkit-tap-highlight-color: transparent;
}

.nf-ir a,
.nf-ir a:hover,
.nf-ir a:focus,
.nf-ir a:focus-visible,
.nf-ir a:active,
.nf-ir button,
.nf-ir button:hover,
.nf-ir button:focus,
.nf-ir button:focus-visible,
.nf-ir button:active {
  outline: none;
  box-shadow: none;
}

.nf-ir a:hover,
.nf-ir a:focus,
.nf-ir a:focus-visible {
  color: inherit;
  text-decoration: none;
}

.nf-ir-heading {
  margin: 0;
  font-family: var(--nf-display, var(--nf-serif));
  font-weight: 500;
  font-size: 32px;
  line-height: 38px;
  letter-spacing: -0.32px;
  color: #760f26;
}

@media (min-width: 1024px) {
  .nf-ir-heading {
    font-size: 40px;
    line-height: 52px;
    letter-spacing: -0.4px;
  }
}

/* Hero — 576px; desktop overlays header, <1024 sits below solid header */
.nf-ir-hero {
  position: relative;
  display: grid;
  place-items: center;
  height: 576px;
  min-height: 576px;
  overflow: clip;
  padding: 1.25rem;
}

.nf-ir-hero__media,
.nf-ir-hero__overlay,
.nf-ir-hero__placeholder {
  position: absolute;
  inset: 0;
}

.nf-ir-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nf-ir-hero__placeholder {
  background: #2b1311;
}

.nf-ir-hero__overlay {
  background: rgb(0 0 0 / 50%);
}

.nf-ir-hero.has-no-title .nf-ir-hero__overlay {
  display: none;
}

.nf-ir-hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, 390px);
  text-align: center;
}

.nf-ir-hero__title {
  margin: 0;
  font-family: var(--nf-display, var(--nf-serif));
  font-size: 40px;
  line-height: 52px;
  font-weight: 500;
  letter-spacing: -0.4px;
  color: #fff5e4;
}

@media (max-width: 1023px) {
  .nf-ir-hero {
    margin-top: 56px;
  }
}

@media (min-width: 1024px) {
  .nf-ir-hero {
    margin-top: 0;
    padding: 6rem 5rem 3rem;
  }

  .nf-ir-hero__content {
    width: min(100%, 1220px);
  }

  .nf-ir-hero__title {
    font-size: 48px;
    line-height: 60px;
    letter-spacing: -0.72px;
  }
}

/* Tabs + 1220px container */
.nf-ir-board {
  background: var(--nf-cream, #fffaf3);
  padding-bottom: 64px;
}

.nf-ir-inner {
  width: min(1220px, calc(100% - 40px));
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .nf-ir-inner {
    width: min(1220px, calc(100% - 220px));
  }
}

.nf-ir-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  padding: 24px 0 0;
  scroll-padding-inline: 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.nf-ir-tabs::-webkit-scrollbar {
  display: none;
}

.nf-ir-tab,
.nf-ir-tab:hover,
.nf-ir-tab:focus,
.nf-ir-tab:focus-visible,
.nf-ir-tab:active {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin: 0;
  padding: 12px 20px;
  border: 0;
  border-radius: 1000px;
  background: transparent;
  color: #727272;
  font-family: var(--nf-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  outline: none;
}

span.nf-ir-tab {
  cursor: default;
}

.nf-ir-tab.is-active,
.nf-ir-tab.is-active:hover,
.nf-ir-tab.is-active:focus,
.nf-ir-tab.is-active:focus-visible,
.nf-ir-tab.is-active:active {
  background: #760f26;
  color: #fff5e4;
  font-weight: 700;
  border: 0;
  box-shadow: none;
  outline: none;
}

.nf-ir a.nf-ir-tab:hover,
.nf-ir a.nf-ir-tab:focus,
.nf-ir a.nf-ir-tab:focus-visible {
  color: #727272;
  text-decoration: none;
}

.nf-ir a.nf-ir-tab.is-active:hover,
.nf-ir a.nf-ir-tab.is-active:focus,
.nf-ir a.nf-ir-tab.is-active:focus-visible,
.nf-ir a.nf-ir-tab.is-active:active {
  color: #fff5e4;
}

.nf-ir-panel[hidden] {
  display: none;
}

/* Thông tin cổ phiếu */
.nf-ir-stock {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 48px 0 64px;
}

.nf-ir-stock__row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.nf-ir-stock__card {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  padding: 32px 20px;
  background: #fff5e4;
  border-radius: 20px;
}

.nf-ir-stock__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.nf-ir-stock__company {
  margin: 0;
  font-family: var(--nf-display, var(--nf-serif));
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.12px;
  color: #760f26;
}

.nf-ir-stock__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 20px;
  border-radius: 1000px;
  background: #760f26;
  color: #fff5e4;
  font-family: var(--nf-display, var(--nf-serif));
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  white-space: nowrap;
}

.nf-ir-stock__metrics {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.nf-ir-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.nf-ir-metric__label {
  margin: 0;
  font-family: var(--nf-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.16px;
  color: #4a0918;
}

.nf-ir-metric__value {
  margin: 0;
  font-family: var(--nf-display, var(--nf-serif));
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.12px;
  color: #760f26;
}

.nf-ir-stock__embed {
  position: relative;
  width: auto;
  max-width: 100%;
  height: auto;
  overflow: visible;
  background: transparent;
}

.nf-ir-stock__embed iframe,
.nf-ir-stock__embed .fireant-widget {
  display: block;
  border: 0;
  background: #fff;
}

@media (min-width: 1024px) {
  .nf-ir-stock {
    padding: 48px 0 64px;
  }

  .nf-ir-stock__row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 24px;
  }

  .nf-ir-stock__card {
    flex: 0 0 59%;
    width: 59%;
    max-width: 59%;
    min-width: 0;
    height: auto;
    min-height: 100%;
    padding: 32px;
  }

  .nf-ir-stock__head {
    flex-direction: row;
    align-items: flex-start;
  }

  .nf-ir-stock__metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }

  .nf-ir-stock__embed {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    min-width: 0;
    height: auto;
    align-self: stretch;
  }
}

/* Thông tin tài chính */
.nf-ir-fin {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
}

.nf-ir-fin__head {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 32px;
}

.nf-ir-fin__head .nf-ir-heading {
  width: 100%;
}

.nf-ir-fin__unit {
  margin: 0;
  color: #760f26;
  white-space: nowrap;
}

.nf-ir-fin__unit-label {
  font-family: var(--nf-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.16px;
}

.nf-ir-fin__unit-value {
  font-family: var(--nf-sans);
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
}

.nf-ir-fin__unit-label + .nf-ir-fin__unit-value {
  margin-left: 0.25em;
}

.nf-ir-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 20px;
}

.nf-ir-table {
  min-width: 700px;
  border-radius: 20px;
}

.nf-ir-table__head,
.nf-ir-table__row {
  display: grid;
  grid-template-columns: var(--nf-ir-label, 200px) repeat(var(--nf-ir-cols, 5), minmax(88px, 1fr));
}

.nf-ir-table__head {
  height: 62px;
  background: #760f26;
  color: #fff5e4;
}

.nf-ir-table__th,
.nf-ir-table__cell {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 4px 12px 4px 12px;
  border-right: 1px solid #d9bcc2;
}

.nf-ir-table__th:last-child,
.nf-ir-table__cell:last-child {
  border-right: 0;
}

.nf-ir-table__th {
  font-family: var(--nf-sans);
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: -0.1px;
  color: #fff5e4;
}

.nf-ir-table__th--label,
.nf-ir-table__cell--label {
  padding-left: 20px;
  min-width: var(--nf-ir-label, 200px);
}

.nf-ir-table__th--label {
  background: #760f26;
}

.nf-ir-table__body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: #eee1e3;
}

.nf-ir-table__row {
  background: #fff;
  min-height: 56px;
}

.nf-ir-table__cell {
  font-family: var(--nf-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #4a0918;
  border-right-color: #eee1e3;
}

.nf-ir-table__cell--label {
  font-weight: 500;
  letter-spacing: 0.16px;
  color: #760f26;
  background: #fff;
}

@media (max-width: 1023px) {
  .nf-ir-table__th--label,
  .nf-ir-table__cell--label {
    position: sticky;
    left: 0;
    z-index: 2;
  }

  .nf-ir-table__th--label {
    z-index: 3;
    box-shadow: 4px 0 8px rgb(0 0 0 / 8%);
  }

  .nf-ir-table__cell--label {
    box-shadow: 4px 0 8px rgb(0 0 0 / 8%);
  }
}

@media (min-width: 1024px) {
  .nf-ir-fin {
    padding: 0;
  }

  .nf-ir-fin__head {
    flex-direction: row;
    align-items: flex-end;
    gap: 32px;
  }

  .nf-ir-fin__head .nf-ir-heading {
    flex: 1;
    min-width: 0;
  }

  .nf-ir-table {
    min-width: 0;
    --nf-ir-label: 240px;
  }
}

/* Liên hệ */
.nf-ir-contact {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 64px 0 0;
}

.nf-ir-contact__grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.nf-ir-form,
.nf-ir-form.nf-cf7-popup,
.nf-ir-form .nf-cf7-popup {
  width: 100%;
  max-width: none;
  margin: 0;
}

.nf-ir-form .wpcf7-submit,
.nf-ir-form input.wpcf7-submit,
.nf-ir-form input[type="submit"] {
  width: auto;
  min-width: 117px;
  max-width: none;
  align-self: flex-start;
}

.nf-ir-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 20px;
  background: #fff5e4;
  border-radius: 20px;
}

.nf-ir-card__title {
  margin: 0;
  font-family: var(--nf-display, var(--nf-serif));
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.12px;
  color: #760f26;
}

.nf-ir-card__rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nf-ir-card__row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--nf-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #760f26;
}

.nf-ir-card__icon {
  display: flex;
  flex-shrink: 0;
  align-items: flex-start;
  justify-content: center;
  width: 20px;
  padding-top: 2px;
}

.nf-ir-icon {
  display: block;
  width: 100%;
  height: auto;
  max-width: 20px;
}

.nf-ir-icon--phone {
  width: 16px;
  height: 16px;
}

.nf-ir-icon--fax {
  width: 20px;
  height: 20px;
}

.nf-ir-icon--email {
  width: 20px;
  height: 22px;
}

.nf-ir-icon--pdf,
.nf-ir-icon--view {
  width: 24px;
  height: 24px;
  max-width: 24px;
}

.nf-ir-card__mail {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.nf-ir-card__mail:hover,
.nf-ir-card__mail:focus,
.nf-ir-card__mail:focus-visible {
  color: inherit;
  text-decoration: underline;
}

/* Document list pages */
.nf-ir-board--docs {
  padding-bottom: 64px;
}

.nf-ir-docs {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 48px;
}

.nf-ir-docs__card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: visible;
  background: #fff5e4;
  border-radius: 20px;
}

.nf-ir-subtabs {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  padding: 20px 20px 0;
  scroll-padding-inline: 20px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.nf-ir-subtabs::-webkit-scrollbar {
  display: none;
}

.nf-ir-subtab,
.nf-ir-subtab:hover,
.nf-ir-subtab:focus,
.nf-ir-subtab:focus-visible,
.nf-ir-subtab:active,
a.nf-ir-subtab:visited {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 4px 8px;
  border: 0;
  background: transparent;
  color: #727272;
  font-family: var(--nf-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  outline: none;
}

.nf-ir-subtab + .nf-ir-subtab {
  margin-left: 21px;
}

.nf-ir-subtab + .nf-ir-subtab::before {
  content: '';
  position: absolute;
  left: -11px;
  top: 50%;
  width: 1px;
  height: 20px;
  background: #eee1e3;
  transform: translateY(-50%);
  pointer-events: none;
}

.nf-ir-subtab.is-active,
.nf-ir-subtab.is-active:hover,
.nf-ir-subtab.is-active:focus,
.nf-ir-subtab.is-active:focus-visible,
.nf-ir-subtab.is-active:active,
a.nf-ir-subtab.is-active:visited {
  padding-top: 4px;
  padding-bottom: 8px;
  color: #760f26;
  font-weight: 700;
}

.nf-ir-subtab.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #760f26;
  pointer-events: none;
}

.nf-ir-docs__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px 20px 0;
}

.nf-ir-subtabs + .nf-ir-docs__head {
  padding-top: 0;
}

.nf-ir-docs__title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--nf-display, var(--nf-serif));
  font-weight: 500;
  font-size: 32px;
  line-height: 38px;
  letter-spacing: -0.32px;
  color: #760f26;
}

.nf-ir-docs__filter {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
}

.nf-ir-docs__filter-label {
  flex-shrink: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #000;
  white-space: nowrap;
}

.nf-ir-docs__dropdown {
  position: relative;
  min-width: 0;
}

.nf-ir-docs__select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.nf-ir-docs__dropdown-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #760f26;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0.16px;
  text-align: left;
  cursor: pointer;
}

.nf-ir-docs__dropdown-btn:hover,
.nf-ir-docs__dropdown-btn:focus,
.nf-ir-docs__dropdown-btn:focus-visible,
.nf-ir-docs__dropdown-btn:active {
  outline: none;
  box-shadow: none;
  background: transparent;
  color: #760f26;
}

.nf-ir-docs__dropdown-value {
  white-space: nowrap;
}

.nf-ir-docs__dropdown-chev {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 16px;
  height: 16px;
  color: #760f26;
  transition: transform 0.2s ease;
}

.nf-ir-docs__dropdown-chev svg {
  display: block;
  width: 16px;
  height: 16px;
}

.nf-ir-docs__dropdown.is-open .nf-ir-docs__dropdown-chev {
  transform: rotate(180deg);
}

.nf-ir-docs__dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 8;
  min-width: 100%;
  width: max-content;
  max-width: min(360px, 90vw);
  max-height: 240px;
  margin: 0;
  padding: 6px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: none;
  touch-action: pan-y;
  list-style: none;
  background: #fff;
  border: 1px solid #eee1e3;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgb(37 8 11 / 10%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.nf-ir-docs__dropdown.is-open .nf-ir-docs__dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .nf-ir-docs__dropdown-menu {
    transition: none;
    transform: none;
  }
}

.nf-ir-docs__dropdown-menu [role="option"] {
  padding: 8px 12px;
  border-radius: 6px;
  color: #760f26;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}

.nf-ir-docs__dropdown-menu [role="option"]:hover,
.nf-ir-docs__dropdown-menu [role="option"].is-selected {
  background: #fff5e4;
}

.nf-ir-docs__list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  overflow: hidden;
  background: #eee1e3;
  border-radius: 0 0 20px 20px;
}

.nf-ir-doc {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
  padding: 16px 20px;
  background: #fff;
  color: #760f26;
  text-decoration: none;
}

.nf-ir-doc:hover,
.nf-ir-doc:focus,
.nf-ir-doc:focus-visible,
.nf-ir-doc:active,
a.nf-ir-doc:hover,
a.nf-ir-doc:focus-visible {
  background: #fff5e4;
  color: #760f26;
  text-decoration: none;
}

div.nf-ir-doc,
div.nf-ir-doc:hover,
div.nf-ir-doc:focus,
div.nf-ir-doc:focus-visible,
div.nf-ir-doc:active {
  cursor: default;
}

.nf-ir-doc[hidden] {
  display: none !important;
}

.nf-ir-doc__main {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-width: 0;
}

.nf-ir-doc__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  padding-top: 4px;
}

.nf-ir-doc__icon img,
.nf-ir-doc__view-icon img {
  display: block;
  width: 24px;
  height: 24px;
}

.nf-ir-doc__name {
  min-width: 0;
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  color: #760f26;
  word-break: break-word;
}

.nf-ir-doc__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding-left: 34px;
}

.nf-ir-doc__date {
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  color: #760f26;
  white-space: nowrap;
  text-align: right;
}

.nf-ir-doc__view {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  color: #760f26;
  white-space: nowrap;
  text-align: right;
}

.nf-ir-docs__pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.nf-ir-docs__pager[hidden] {
  display: none !important;
}

.nf-ir-docs__page,
.nf-ir-docs__ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #090a0b;
  cursor: pointer;
}

.nf-ir-docs__page.is-active {
  background: var(--nf-brand, #760f26);
  color: #fff5e4;
  font-weight: 500;
  letter-spacing: 0.16px;
  cursor: default;
}

.nf-ir-docs__page:hover:not(:disabled):not(.is-active) {
  background: var(--nf-brand, #760f26);
  color: #fff5e4;
}

.nf-ir-docs__page:focus,
.nf-ir-docs__page:focus-visible,
.nf-ir-docs__page:active {
  background: transparent;
  color: #090a0b;
  outline: none;
  box-shadow: none;
}

.nf-ir-docs__page:hover:not(:disabled):not(.is-active):active {
  background: var(--nf-brand, #760f26);
  color: #fff5e4;
}

.nf-ir-docs__page.is-active:hover,
.nf-ir-docs__page.is-active:focus,
.nf-ir-docs__page.is-active:focus-visible,
.nf-ir-docs__page.is-active:active {
  background: var(--nf-brand, #760f26);
  color: #fff5e4;
}

.nf-ir-docs__page--dir {
  color: #090a0b;
}

.nf-ir-docs__page:disabled {
  opacity: 0.2;
  cursor: default;
  pointer-events: none;
}

.nf-ir-docs__ellipsis {
  cursor: default;
  padding-top: 8px;
  letter-spacing: 2px;
}

@media (max-width: 1023px) {
  .nf-ir-docs__pager {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0;
    width: 100%;
  }

  .nf-ir-docs__page--dir {
    display: none;
  }

  .nf-ir-docs__page,
  .nf-ir-docs__ellipsis {
    flex: 0 1 44px;
    width: 44px;
    min-width: 0;
    height: 44px;
    padding: 0;
    font-size: 16px;
    line-height: 24px;
  }

  .nf-ir-docs__ellipsis {
    padding-top: 8px;
    letter-spacing: 2px;
  }
}

/* Hệ thống quản trị — org chart */
.nf-ir-board--gov {
  padding-bottom: 64px;
}

.nf-ir-gov {
  margin: 0;
  padding-top: 48px;
  overflow: hidden;
}

.nf-ir-board--gov .nf-ir-docs--nested {
  padding-top: 48px;
}

.nf-ir-gov__scroll {
  width: 100%;
  overflow: hidden;
}

.nf-ir-gov__chart {
  width: 100%;
}

.nf-ir-gov__chart--compact {
  display: none;
}

.nf-ir-gov__chart img,
.nf-ir-gov__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

@media (max-width: 1023px) {
  .nf-ir-gov.has-compact .nf-ir-gov__chart--desk {
    display: none;
  }

  .nf-ir-gov.has-compact .nf-ir-gov__chart--compact {
    display: block;
  }
}

@media (min-width: 1024px) {
  .nf-ir-gov {
    padding-top: 24px;
  }

  .nf-ir-board--gov .nf-ir-docs--nested {
    padding-top: 24px;
  }
}

@media (min-width: 1024px) {
  .nf-ir-docs {
    padding-top: 24px;
  }

  .nf-ir-subtabs,
  .nf-ir-docs__head {
    padding-left: 32px;
    padding-right: 32px;
  }

  .nf-ir-docs__head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 24px;
  }

  .nf-ir-subtabs + .nf-ir-docs__head {
    padding-top: 0;
  }

  .nf-ir-docs__title {
    font-size: 40px;
    line-height: 52px;
    letter-spacing: -0.4px;
  }

  .nf-ir-doc,
  .nf-ir-doc:hover,
  .nf-ir-doc:focus,
  .nf-ir-doc:focus-visible,
  .nf-ir-doc:active {
    display: grid;
    grid-template-columns: 700px minmax(0, 1fr) minmax(0, 1fr);
    flex-direction: unset;
    justify-content: unset;
    align-items: start;
    gap: 32px;
  }

  .nf-ir-doc__main {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .nf-ir-doc__meta {
    display: contents;
    padding-left: 0;
  }

  .nf-ir-doc__date {
    justify-self: end;
    text-align: right;
  }

  .nf-ir-doc__view {
    justify-self: end;
    text-align: right;
  }
}

@media (min-width: 1024px) {
  .nf-ir-contact {
    padding: 64px 0 0;
  }

  .nf-ir-contact .nf-ir-heading {
    width: 636px;
    max-width: 100%;
  }

  .nf-ir-contact__grid {
    flex-direction: row;
    align-items: flex-start;
  }

  .nf-ir-form {
    flex: 0 0 636px;
    width: 636px;
    max-width: 100%;
  }

  .nf-ir-card {
    flex: 1 1 0;
    min-width: 0;
    padding: 32px;
  }
}
