.nh-tb-shortcode {
  display: inline-flex;
}

.nh-tb-button {
  align-items: center;
  background: #d8b765;
  border: 1px solid #d8b765;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(8, 41, 96, 0.12);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: Lato, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.08em;
  line-height: 1.25;
  min-height: 44px;
  padding: 14px 26px;
  text-align: center;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.nh-tb-button:hover,
.nh-tb-button:focus-visible {
  background: #0c3780;
  border-color: #0c3780;
  box-shadow: 0 14px 28px rgba(8, 41, 96, 0.18);
  color: #fff;
  outline: none;
  transform: translateY(-1px);
}

.nh-tb-mobile-break {
  display: none;
}

.nh-tb-modal {
  display: none;
  inset: 0;
  position: fixed;
  z-index: 999999;
}

.nh-tb-modal.is-open {
  display: block;
}

.nh-tb-modal__overlay {
  background: rgba(12, 10, 9, 0.64);
  inset: 0;
  position: absolute;
}

.nh-tb-modal__dialog {
  background: #f4f4f4;
  border-bottom: 2px solid #b59753;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  box-sizing: border-box;
  left: 50%;
  max-height: calc(100vh - 20px);
  max-width: min(1180px, calc(100vw - 40px));
  overflow: visible;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.nh-tb-modal__close {
  align-items: center;
  background: #d8b765;
  border: 0;
  color: #1a1818;
  cursor: pointer;
  display: inline-flex;
  font-size: 28px;
  height: 44px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 0;
  top: 0;
  width: 44px;
  z-index: 2;
}

.nh-tb-modal__close:hover,
.nh-tb-modal__close:focus-visible {
  background: #0c3780;
  color: #fff;
  outline: none;
}

.nh-tb-modal__frame {
  border: 0;
  display: block;
  min-height: 0;
  transition: height 0.2s ease;
  width: 100%;
}

.nh-tb-modal__dialog:has(.nh-tb-chooser) .nh-tb-modal__close {
  font-size: 22px;
  height: 36px;
  right: 0;
  top: 0;
  width: 36px;
}

.nh-tb-chooser {
  background: #f4f4f4;
  color: #1a1818;
  padding: clamp(22px, 3.5vw, 34px) clamp(28px, 5vw, 52px) 0;
}

.nh-tb-chooser__head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 32px);
  margin-bottom: 24px;
}

.nh-tb-chooser__logo {
  flex: 0 0 auto;
  height: 52px;
  max-height: 52px;
  max-width: 162px;
  object-fit: contain;
  width: auto;
}

.nh-tb-chooser__langs {
  align-items: center;
  display: flex;
  gap: 12px;
  padding-right: 48px;
}

.nh-tb-chooser__lang {
  color: #57534e;
  font-family: Lato, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.nh-tb-chooser__lang:hover,
.nh-tb-chooser__lang:focus-visible,
.nh-tb-chooser__lang.is-active {
  color: #b59753;
  outline: none;
}

.nh-tb-chooser__intro {
  border-top: 1px solid rgba(8, 41, 96, 0.14);
  margin-bottom: 34px;
  padding-top: 24px;
}

.nh-tb-chooser__eyebrow {
  color: #b59753;
  font-family: Lato, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.nh-tb-chooser h2 {
  color: #1a1818;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
}

.nh-tb-chooser p {
  color: #57534e;
  font-family: Lato, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  margin: 10px 0 0;
  max-width: 760px;
}

.nh-tb-chooser__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 50px;
}

.nh-tb-chooser__card {
  background: #fff;
  border: 1px solid rgba(181, 151, 83, 0.42);
  color: #1a1818;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 316px;
  padding: 20px;
  position: relative;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.nh-tb-chooser__image-frame {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(8, 41, 96, 0.18);
  display: block;
  margin: 0 0 18px;
  overflow: hidden;
  transform: translateZ(0);
  width: 100%;
}

.nh-tb-chooser__image {
  border-radius: 0 !important;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.nh-tb-chooser__card::after {
  background: #d8b765;
  bottom: 0;
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
  width: 100%;
}

.nh-tb-chooser__card:hover,
.nh-tb-chooser__card:focus-visible {
  background: #fff;
  border-color: #d8b765;
  box-shadow: 0 18px 44px rgba(8, 41, 96, 0.14);
  outline: none;
  transform: translateY(-1px);
}

.nh-tb-chooser__card:hover::after,
.nh-tb-chooser__card:focus-visible::after {
  transform: scaleX(1);
}

.nh-tb-chooser__card-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(24px, 2.45vw, 30px);
  font-weight: 600;
  line-height: 1.08;
}

.nh-tb-chooser__card em {
  color: #57534e;
  font-family: Lato, Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
  line-height: 1.5;
  margin-top: 12px;
  padding-bottom: 20px;
}

.nh-tb-chooser__card small {
  align-self: flex-start;
  background: #d8b765;
  border: 1px solid #d8b765;
  color: #fff;
  font-family: Lato, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-top: auto;
  min-height: 34px;
  padding: 10px 14px 9px;
  text-align: center;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.nh-tb-chooser__card:hover small,
.nh-tb-chooser__card:focus-visible small {
  background: #0c3780;
  border-color: #0c3780;
  color: #fff;
}

.nh-tb-chooser__bar {
  background: #082960;
  height: 8px;
  margin: clamp(22px, 3vw, 30px) calc(clamp(28px, 5vw, 52px) * -1) 0;
}

body.nh-tb-modal-open {
  overflow: hidden;
}

@media (max-width: 921px) {
  .nh-tb-mobile-break {
    display: block;
  }
}

@media (max-width: 640px) {
  .nh-tb-shortcode,
  .nh-tb-button {
    width: 100%;
  }

  .nh-tb-button {
    font-size: 13px;
    line-height: 1.4;
    min-height: 56px;
    padding: 13px 18px;
    white-space: normal;
  }

  .nh-tb-modal__dialog {
    bottom: 0;
    left: 0;
    max-height: 92vh;
    max-width: 100%;
    top: auto;
    transform: none;
  }

  .nh-tb-modal__close {
    right: 0;
    top: 0;
  }

  .nh-tb-modal__dialog:has(.nh-tb-chooser) .nh-tb-modal__close {
    top: 0;
  }

  .nh-tb-chooser {
    padding: 24px 20px 0;
  }

  .nh-tb-chooser__head {
    align-items: center;
    flex-direction: row;
    gap: 18px;
    margin-bottom: 22px;
  }

  .nh-tb-chooser__logo {
    height: 46px;
    max-height: 46px;
    max-width: 148px;
  }

  .nh-tb-chooser__langs {
    gap: 10px;
    padding-right: 42px;
  }

  .nh-tb-chooser__intro {
    margin-bottom: 22px;
    padding-top: 24px;
  }

  .nh-tb-chooser__grid {
    grid-template-columns: 1fr;
  }

  .nh-tb-chooser__card {
    min-height: 300px;
    padding: 18px;
  }

  .nh-tb-chooser__bar {
    margin-left: -20px;
    margin-right: -20px;
  }
}
