/* Technical center video library */
.technical-center,
.technical-center *,
.technical-video-modal,
.technical-video-modal * {
  box-sizing: border-box;
}

.technical-center-page {
  background: #f4f7fb;
}

.technical-center-main {
  background: #f4f7fb;
  overflow: visible;
}

.technical-center {
  position: relative;
  padding: 78px 0 108px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 4%, rgba(65, 119, 183, 0.12), transparent 26%),
    linear-gradient(180deg, #f8fafd 0%, #f2f6fa 100%);
}

.technical-center::before {
  position: absolute;
  top: 0;
  right: -130px;
  width: 420px;
  height: 420px;
  border: 80px solid rgba(65, 119, 183, 0.035);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.technical-center .center {
  position: relative;
  z-index: 1;
  width: 1400px;
  max-width: calc(100% - 64px);
  margin: 0 auto;
}

.technical-center-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(410px, 535px);
  gap: 80px;
  align-items: end;
}

.technical-center-eyebrow {
  margin: 0 0 13px;
  color: #4177b7;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.5;
}

.technical-center-heading h1 {
  margin: 0;
  color: #17243a;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.technical-center-intro {
  max-width: 680px;
  margin: 17px 0 0;
  color: #637087;
  font-size: 16px;
  line-height: 1.9;
}

.technical-center-search {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  height: 58px;
  overflow: hidden;
  border: 1px solid #dce4ee;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(34, 61, 96, 0.08);
}

.technical-center-search:focus-within {
  border-color: #4177b7;
  box-shadow: 0 0 0 3px rgba(65, 119, 183, 0.12), 0 12px 32px rgba(34, 61, 96, 0.08);
}

.technical-center-search__icon {
  position: absolute;
  z-index: 1;
  top: 19px;
  left: 21px;
  width: 17px;
  height: 17px;
  border: 2px solid #76839a;
  border-radius: 50%;
  pointer-events: none;
}

.technical-center-search__icon::after {
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: #76839a;
  content: "";
  transform: rotate(45deg);
  transform-origin: center;
}

.technical-center-search input[type="search"] {
  min-width: 0;
  flex: 1 1 auto;
  height: 56px;
  padding: 0 14px 0 54px;
  border: 0;
  background: transparent;
  color: #17243a;
  font-size: 15px;
  line-height: 56px;
}

.technical-center-search input[type="search"]::-webkit-search-cancel-button {
  display: none;
}

.technical-center-search input[type="search"]::placeholder {
  color: #9aa5b5;
}

.technical-center-search__clear {
  align-self: center;
  flex: 0 0 auto;
  padding: 6px 12px;
  color: #748096;
  font-size: 13px;
  line-height: 1;
}

.technical-center-search__clear:hover,
.technical-center-search__clear:focus {
  color: #4177b7;
}

.technical-center-search button {
  width: 96px;
  height: 58px;
  flex: 0 0 96px;
  border: 0;
  background: #4177b7;
  color: #ffffff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: background-color 0.2s ease;
}

.technical-center-search button:hover,
.technical-center-search button:focus {
  background: #315f97;
}

.technical-center-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.technical-center-categories {
  display: flex;
  gap: 8px;
  margin-top: 50px;
  padding: 8px;
  border: 1px solid #e0e7f0;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(34, 61, 96, 0.055);
}

.technical-center-category {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 54px;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 3px;
  color: #43526a;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.technical-center-category::after {
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: transparent;
  content: "";
  transform: translateX(-50%);
}

.technical-center-category:hover,
.technical-center-category:focus-visible {
  color: #4177b7;
  background: #f1f5fa;
}

.technical-center-category.is-active {
  background: #4177b7;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(65, 119, 183, 0.2);
}

.technical-center-category.is-active::after {
  background: #ffb03a;
}

.technical-center-results {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin: 55px 0 24px;
}

.technical-center-results__label {
  margin: 0 0 4px;
  color: #8a96a8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.technical-center-results h2 {
  margin: 0;
  color: #17243a;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.45;
}

.technical-center-results__count {
  margin: 0 0 4px;
  color: #7c8799;
  font-size: 14px;
  line-height: 1.6;
}

.technical-center-results__count strong {
  margin: 0 3px;
  color: #4177b7;
  font-size: 19px;
  font-weight: 700;
}

.technical-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.technical-video-card-wrap {
  min-width: 0;
  margin: 0;
}

.technical-video-card {
  display: flex;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #e1e7ee;
  border-radius: 5px;
  background: #ffffff;
  color: #536078;
  box-shadow: 0 8px 28px rgba(33, 57, 88, 0.055);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.technical-video-card:hover,
.technical-video-card:focus-visible {
  border-color: rgba(65, 119, 183, 0.45);
  color: #536078;
  box-shadow: 0 18px 42px rgba(33, 57, 88, 0.14);
  transform: translateY(-5px);
}

.technical-video-card:focus-visible,
.technical-center-category:focus-visible,
.technical-center-pagination a:focus-visible,
.technical-video-modal button:focus-visible,
.technical-video-modal a:focus-visible {
  outline: 3px solid rgba(255, 153, 0, 0.75);
  outline-offset: 3px;
}

.technical-video-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #dfe7f1;
}

.technical-video-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.technical-video-card:hover .technical-video-card__media img,
.technical-video-card:focus-visible .technical-video-card__media img {
  transform: scale(1.045);
}

.technical-video-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11) 25%, transparent 25%) 0 0 / 36px 36px,
    linear-gradient(135deg, #264d7d 0%, #4177b7 58%, #5d91cf 100%);
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.technical-video-card__placeholder-mark {
  display: flex;
  width: 62px;
  height: 62px;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: #ffffff;
  font-size: 22px;
  letter-spacing: 0.05em;
}

.technical-video-card__shade {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(180deg, rgba(10, 22, 38, 0.24) 0%, transparent 42%, rgba(10, 22, 38, 0.25) 100%);
  transition: background-color 0.25s ease;
}

.technical-video-card:hover .technical-video-card__shade,
.technical-video-card:focus-visible .technical-video-card__shade {
  background-color: rgba(23, 48, 78, 0.1);
}

.technical-video-card__category {
  position: absolute;
  top: 16px;
  left: 16px;
  display: block;
  max-width: calc(100% - 32px);
  padding: 6px 11px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 2px;
  background: rgba(17, 36, 59, 0.7);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}

.technical-video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 62px;
  height: 62px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: rgba(65, 119, 183, 0.88);
  box-shadow: 0 10px 24px rgba(15, 34, 58, 0.24);
  transform: translate(-50%, -50%);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.technical-video-card__play::after {
  position: absolute;
  top: 50%;
  left: 52%;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #ffffff;
  content: "";
  transform: translate(-40%, -50%);
}

.technical-video-card:hover .technical-video-card__play,
.technical-video-card:focus-visible .technical-video-card__play {
  background: #ff9900;
  transform: translate(-50%, -50%) scale(1.08);
}

.technical-video-card__content {
  display: flex;
  min-height: 220px;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 25px 25px 22px;
}

.technical-video-card__type {
  display: block;
  margin-bottom: 8px;
  color: #4177b7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.5;
}

.technical-video-card__title {
  display: -webkit-box;
  min-height: 60px;
  overflow: hidden;
  color: #1d2a3f;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.technical-video-card__summary {
  display: -webkit-box;
  min-height: 50px;
  margin-top: 9px;
  overflow: hidden;
  color: #798597;
  font-size: 14px;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.technical-video-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #edf0f4;
  color: #9aa3b1;
  font-size: 12px;
  line-height: 1.5;
}

.technical-video-card__action {
  color: #4177b7;
  font-size: 13px;
  font-weight: 700;
}

.technical-video-card__action::after {
  margin-left: 6px;
  content: "\2192";
}

.technical-video-card.is-unavailable {
  cursor: default;
  filter: grayscale(0.35);
  opacity: 0.72;
}

.technical-video-card.is-unavailable:hover,
.technical-video-card.is-unavailable:focus-visible {
  border-color: #e1e7ee;
  box-shadow: 0 8px 28px rgba(33, 57, 88, 0.055);
  transform: none;
}

.technical-video-card.is-unavailable .technical-video-card__play {
  background: rgba(90, 103, 120, 0.82);
}

.technical-video-card.is-unavailable .technical-video-card__action {
  color: #8b95a4;
}

.technical-video-card.is-unavailable .technical-video-card__action::after {
  display: none;
}

.technical-center-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 52px;
  color: #7c8799;
  font-size: 14px;
}

.technical-center-pagination__arrow {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8e0e9;
  border-radius: 3px;
  background: #ffffff;
  color: #4177b7;
  font-size: 19px;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.technical-center-pagination a.technical-center-pagination__arrow:hover,
.technical-center-pagination a.technical-center-pagination__arrow:focus {
  border-color: #4177b7;
  background: #4177b7;
  color: #ffffff;
}

.technical-center-pagination__arrow.is-disabled {
  background: #edf1f5;
  color: #b5bdc9;
}

.technical-center-pagination__current {
  margin-left: 4px;
  color: #1d2a3f;
  font-weight: 600;
}

.technical-center-pagination__total {
  margin-right: 4px;
}

.technical-center-empty {
  padding: 82px 30px;
  border: 1px dashed #cfd9e5;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.technical-center-empty__icon {
  position: relative;
  display: block;
  width: 74px;
  height: 52px;
  margin: 0 auto 26px;
  border: 2px solid #91a8c4;
  border-radius: 4px;
}

.technical-center-empty__icon::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid #4177b7;
  content: "";
  transform: translate(-35%, -50%);
}

.technical-center-empty h2 {
  margin: 0;
  color: #243249;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.5;
}

.technical-center-empty p {
  margin: 10px 0 0;
  color: #7d899a;
  font-size: 15px;
  line-height: 1.8;
}

.technical-center-empty a {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 10px 23px;
  border: 1px solid #4177b7;
  border-radius: 3px;
  color: #4177b7;
  font-size: 14px;
  font-weight: 600;
}

.technical-center-empty a:hover,
.technical-center-empty a:focus {
  background: #4177b7;
  color: #ffffff;
}

.technical-video-modal[hidden] {
  display: none;
}

.technical-video-modal {
  position: fixed;
  z-index: 2200;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.technical-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 28, 0.82);
  cursor: pointer;
  backdrop-filter: blur(7px);
}

.technical-video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1040px);
  max-height: calc(100vh - 56px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: #101b2a;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.technical-video-modal__header {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 22px 17px 29px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.technical-video-modal__header p {
  margin: 0 0 3px;
  color: #82a9d8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.technical-video-modal__header h2 {
  margin: 0;
  overflow: hidden;
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.technical-video-modal__header > div {
  min-width: 0;
}

.technical-video-modal__close {
  display: flex;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 31px;
  font-weight: 300;
  line-height: 1;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.technical-video-modal__close:hover,
.technical-video-modal__close:focus {
  border-color: #ff9900;
  background: #ff9900;
}

.technical-video-modal__player {
  position: relative;
  display: flex;
  min-height: 260px;
  align-items: center;
  justify-content: center;
  background: #05090f;
}

.technical-video-modal video {
  display: block;
  width: 100%;
  max-height: calc(100vh - 190px);
  aspect-ratio: 16 / 9;
  background: #000000;
  object-fit: contain;
}

.technical-video-modal__error {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  padding: 30px;
  background: #09101a;
  color: #d8e0e9;
  text-align: center;
}

.technical-video-modal__error[hidden] {
  display: none;
}

.technical-video-modal__error p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.technical-video-modal__error a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 9px 20px;
  border: 1px solid #719bcf;
  border-radius: 3px;
  color: #a8c7eb;
  font-size: 14px;
}

.technical-video-modal__error a:hover,
.technical-video-modal__error a:focus {
  background: #4177b7;
  color: #ffffff;
}

body.technical-video-is-open {
  overflow: hidden;
}

@media screen and (max-width: 1440px) {
  .technical-center .center {
    width: 1200px;
  }

  .technical-video-grid {
    gap: 24px;
  }
}

@media screen and (max-width: 1280px) {
  .technical-center .center {
    width: 1000px;
  }

  .technical-center-heading {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 460px);
    gap: 50px;
  }

  .technical-video-card__content {
    min-height: 230px;
    padding: 22px 21px 20px;
  }

  .technical-video-card__title {
    font-size: 18px;
  }
}

@media screen and (max-width: 1024px) {
  .technical-center {
    padding: 56px 0 84px;
  }

  .technical-center .center {
    width: calc(100% - 40px);
    max-width: none;
  }

  .technical-center-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .technical-center-heading h1 {
    font-size: 34px;
  }

  .technical-center-search {
    max-width: 640px;
  }

  .technical-center-categories {
    margin-top: 38px;
  }

  .technical-center-category {
    padding-right: 16px;
    padding-left: 16px;
    font-size: 15px;
  }

  .technical-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .technical-video-card__content {
    min-height: 215px;
  }
}

@media screen and (max-width: 679px) {
  .technical-center {
    padding: 42px 0 88px;
  }

  .technical-center::before {
    top: -80px;
    right: -180px;
  }

  .technical-center .center {
    width: calc(100% - 30px);
  }

  .technical-center-eyebrow {
    margin-bottom: 9px;
    font-size: 11px;
  }

  .technical-center-heading h1 {
    font-size: 29px;
  }

  .technical-center-intro {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.8;
  }

  .technical-center-search {
    height: 52px;
  }

  .technical-center-search__icon {
    top: 17px;
    left: 17px;
    width: 15px;
    height: 15px;
  }

  .technical-center-search input[type="search"] {
    height: 50px;
    padding-right: 8px;
    padding-left: 46px;
    font-size: 14px;
    line-height: 50px;
  }

  .technical-center-search__clear {
    padding-right: 7px;
    padding-left: 7px;
    font-size: 12px;
  }

  .technical-center-search button {
    width: 70px;
    height: 52px;
    flex-basis: 70px;
    font-size: 14px;
    letter-spacing: 0.03em;
  }

  .technical-center-categories {
    justify-content: flex-start;
    margin-right: -15px;
    margin-left: -15px;
    padding: 7px 15px;
    overflow-x: auto;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .technical-center-categories::-webkit-scrollbar {
    display: none;
  }

  .technical-center-category {
    min-width: 128px;
    min-height: 48px;
    flex: 0 0 auto;
    padding: 10px 18px;
    font-size: 14px;
    scroll-snap-align: start;
  }

  .technical-center-results {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    margin: 39px 0 19px;
  }

  .technical-center-results h2 {
    font-size: 23px;
  }

  .technical-center-results__count {
    margin: 0;
  }

  .technical-video-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .technical-video-card__content {
    min-height: 203px;
    padding: 21px 20px 19px;
  }

  .technical-video-card__title {
    min-height: auto;
    font-size: 18px;
  }

  .technical-video-card__summary {
    min-height: 50px;
  }

  .technical-video-card__play {
    width: 54px;
    height: 54px;
  }

  .technical-center-pagination {
    gap: 9px;
    margin-top: 38px;
    font-size: 13px;
  }

  .technical-center-pagination__arrow {
    width: 40px;
    height: 40px;
  }

  .technical-center-empty {
    padding: 58px 20px;
  }

  .technical-video-modal {
    align-items: center;
    padding: 15px 12px calc(60px + env(safe-area-inset-bottom));
  }

  .technical-video-modal__dialog {
    max-height: calc(100dvh - 90px);
    border-radius: 5px;
  }

  .technical-video-modal__header {
    min-height: 74px;
    padding: 13px 14px 13px 18px;
  }

  .technical-video-modal__header h2 {
    max-width: calc(100vw - 120px);
    font-size: 16px;
  }

  .technical-video-modal__close {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    font-size: 27px;
  }

  .technical-video-modal__player {
    min-height: 190px;
  }

  .technical-video-modal video {
    max-height: calc(100dvh - 180px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .technical-center *,
  .technical-video-modal * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
