* {
  box-sizing: border-box;
}

.w-container {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #e03e29;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  container: card / inline-size;
  width: 100%;
  height: 100%;
}

.w-container-background {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  position: absolute;
  top: 0;
  background: url(w-assets/grid-pattern.svg) repeat;
  opacity: 0.05;
}

.w-left-side {
  position: relative;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.w-awards-container {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 47%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 50px;
  padding-left: calc(50% - 50px);
  text-align: left;
  gap: 4px;
  box-sizing: border-box;
}

.w-awards-container .w-dragon-image {
  position: absolute;
  top: 22px;
  left: -68px;
  width: 60%;
  height: 84.8%;
  flex-shrink: 0;
  aspect-ratio: 1/1;
  opacity: 0.54;
  mix-blend-mode: color-burn;
  transform: scaleX(-1);
}

.w-horizontal-line {
  width: 90%;
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 88%,
    rgba(255, 255, 255, 0) 100%
  );
}

.w-insights-container {
  padding-top: 28px;
  padding-left: 20px;
}

.w-insights-heading {
  padding-right: 20px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.w-telegram-btn {
  height: 30px;
  border-radius: 15px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  gap: 4.5px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  box-sizing: border-box;
}

.w-telegram-btn img {
  width: auto;
  height: auto;
}

.w-telegram-btn:hover {
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
  background: #E8E3DD;
}

.w-telegram-btn:active {
  transform: scale(0.95);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.w-telegram-btn h5 {
  color: #e03e29 !important;
}

.w-telegram-shot-container {
  padding: 21px 20px 0 20px;
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  max-height: calc(100% - 120px);
  overflow: hidden;
  text-decoration: none;
}

.w-telegram-shot-container > img {
  width: auto;
  height: auto;
  max-width: 25%;
  margin-bottom: 10px;
}

.w-telegram-shot-container > div {
  width: 100%;
  height: auto;
  max-height: 80%;
  display: flex;
  align-items: flex-start;
}

.w-telegram-shot-container > div > img {
  width: auto;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.w-chat-container {
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 10px;
  border-radius: 0 10px 0 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.w-chat-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.w-telegram-text {
  color: var(--Cinnabar, #e03e29);
  font-family: Inter;
  font-size: 8px;
  font-weight: 600;
}

.w-chat-image {
  height: 0;
  width: 100%;
  padding-bottom: 75%;
  align-self: stretch;
  border-radius: 10px;
  background: url(w-assets/chat-image.jpg) lightgray 50% / cover no-repeat;
  flex: 1;
}

.w-right-side {
  position: relative;
  width: 50%;
  height: 100%;
  padding-left: 27px;
  padding-top: 22px;
  display: flex;
  flex-direction: column;
}

.w-separator {
  width: 1px;
  height: 95%;
  margin: auto 0;
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 93%,
    rgba(255, 255, 255, 0) 100%
  );
}

.w-talents-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  height: 100%;
  max-height: calc(100% - 50px);
  overflow: hidden;
  position: relative;
  width: 100%;
  box-sizing: content-box;
}

.w-talents-list-container {
  display: flex;
  /* position: relative; */
  flex-direction: column;
  gap: 10px;
  animation: scrollCards 7s linear infinite;
  animation-play-state: running;
  width: 100%;
  will-change: transform;
}

@keyframes scrollCards {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(calc(-50%));
  }
}

.w-talents-list:hover .w-talents-list-container {
  animation-play-state: paused;
}

.w-talent-card {
  display: flex;
  padding: 5px 12px 5px 5px;
  align-items: center;
  gap: 5px;
  border-radius: 20px;
  background: #fff;
  flex-shrink: 0;
  height: 30px;
  width: fit-content;
  text-decoration: none;
}

.w-talent-card .w-talent-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
}

.w-talent-card:hover {
  background: #E8E3DD;
}

.w-talent-info img {
  width: 3px;
  height: 4px;
}

.w-talent-info {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  text-decoration: none;
}

.w-talent-info h4 {
  text-decoration: none;
}

.w-awards-container-title {
  color: #fff;
  font-family: Inter;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
}

.w-container h3 {
  color: #fff;
  font-family: Inter;
  font-size: 20px;
  font-weight: 400;
  margin: 0;
}

.w-container h4 {
  color: #000;
  font-family: Inter;
  font-size: 10px;
  font-weight: 400;
}

.w-container h5 {
  color: #fff;
  font-family: Inter;
  font-size: clamp(8px, 1.2vw, 10px);
  font-weight: 400;
  line-height: 10px;
}

.w-talent-info h4 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  color: #000;

  font-family: Inter;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.w-talents-heading {
  margin-bottom: 10px;
  margin-top: 0;
  color: #fff;
  font-family: Inter;
  font-size: 20px;
  font-weight: 400;
}

.w-insights-heading-text {
  color: #fff;
  font-family: Inter;
  font-size: 20px;
  font-weight: 400;
}

@container card (max-width: 1200px) {
  .w-talents-heading,
  .w-insights-heading-text {
    font-size: 30px;
  }

  .w-talent-card {
    height: 45px;
    border-radius: 30px;
  }

  .w-talent-card .w-talent-avatar {
    width: 35px;
    height: 35px;
  }

  .w-talent-info h4 {
    font-size: 18px;
  }

  .w-telegram-btn {
    height: 40px;
    border-radius: 25px;
  }

  .w-telegram-btn img {
    width: 14px;
    height: 14rpx;
  }

  .w-telegram-btn h5 {
    font-size: 12px;
  }
}

@container card (max-width: 969px) {
  .w-talents-heading,
  .w-insights-heading-text {
    font-size: 25px;
  }

  .w-talent-card {
    height: 40px;
    border-radius: 30px;
  }

  .w-talent-card .w-talent-avatar {
    width: 30px;
    height: 30px;
  }

  .w-talent-info h4 {
    font-size: 15px;
  }

  .w-telegram-btn {
    height: 30px;
    border-radius: 15px;
  }

  .w-telegram-btn img {
    width: auto;
    height: auto;
  }

  .w-telegram-btn h5 {
    font-size: 10px;
  }
}

@container card (max-width: 765px) {
  .w-talents-heading {
    font-size: 20px;
  }
  .w-insights-heading-text {
    font-size: 18px;
  }

  .w-talent-card {
    height: 35px;
  }

  .w-talent-card .w-talent-avatar {
    width: 25px;
    height: 25px;
  }

  .w-talent-info h4 {
    font-size: 12px;
  }
  .w-telegram-btn {
    height: 30px;
    border-radius: 15px;
  }

  .w-telegram-btn img {
    width: auto;
    height: auto;
  }

  .w-telegram-btn h5 {
    font-size: 10px;
  }
}

@container card (max-width: 620px) {
  .w-talents-heading {
    font-size: 20px;
  }

  .w-insights-heading-text {
    font-size: 12px;
  }

  .w-talent-card {
    height: 30px;
  }

  .w-talent-card .w-talent-avatar {
    width: 20px;
    height: 20px;
  }

  .w-talent-info h4 {
    font-size: 10px;
  }
  .w-telegram-btn {
    height: 30px;
    border-radius: 15px;
  }

  .w-telegram-btn img {
    width: auto;
    height: auto;
  }

  .w-telegram-btn h5 {
    font-size: 10px;
  }
}

.w-gradient-top {
  z-index: 10;
  position: absolute;
  left: 0;
  top: 55px;
  width: 100%;
  height: 96px;
  flex-shrink: 0;
  background: linear-gradient(0deg, rgba(224, 62, 41, 0) 0%, #e03e29 94%);
}

.w-gradient-bottom {
  z-index: 10;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 96px;
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(224, 62, 41, 0) 0%, #e03e29 94%);
}

.w-mobile-container {
  display: none;
}

/* MOBILE */

@media (max-width: 640px) {
  .w-container {
    display: none;
  }

  .w-mobile-container {
    position: relative;
    overflow: hidden;

    /* width: 380px;
    height: 290px; */

    aspect-ratio: 4 / 3;
    border-radius: 16px;
    background-color: #e03e29;

    display: block;
  }

  .w-mobile-container-background {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: absolute;
    top: 0;
    background: url(w-assets/grid-pattern.svg) repeat;
    opacity: 0.05;
  }

  .w-talent-network-container {
    padding-top: 10px;
    height: 100%;
  }

  .w-talents-list {
    display: flex;
    height: auto;
    padding-top: 0;
    padding-bottom: 11px;
    width: 100%;
    overflow-x: hidden;
    position: relative;
  }

  .w-mobile-container .w-talents-list-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    animation: scrollCardsHorizontal 35s linear infinite;
    width: fit-content;
  }

  .w-mobile-container .w-talent-card {
    width: auto;
    height: 30px;
  }

  @keyframes scrollCardsHorizontal {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-33.33%);
    }
  }

  .w-mobile-container .w-gradient-left {
    z-index: 100;
    position: absolute;
    left: 0;
    top: 0;
    width: 69px;
    height: 81px;
    flex-shrink: 0;
    background: linear-gradient(270deg, rgba(224, 62, 41, 0) 0%, #e03e29 90.5%);
  }

  .w-mobile-container .w-gradient-right {
    z-index: 100;
    position: absolute;
    right: 0;
    top: 0;
    width: 69px;
    height: 81px;
    flex-shrink: 0;
    background: linear-gradient(90deg, rgba(224, 62, 41, 0) 0%, #e03e29 90.5%);
  }

  .w-mobile-container .w-horizontal-line {
    width: 90%;
    margin: 0 auto;
    height: 1px;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.3) 88%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .w-mobile-container .w-mobile-left-side {
    position: relative;
    height: 100%;
    width: 42%;
  }

  .w-mobile-container .w-text-container {
    position: absolute;
    bottom: 20px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    gap: 4px;
    box-sizing: border-box;
  }

  .w-mobile-container .w-dragon-image {
    position: absolute;
    top: 5px;
    left: -55px;
    width: 125%;
    height: 100%;
    flex-shrink: 0;
    aspect-ratio: 1/1;
    opacity: 0.54;
    mix-blend-mode: color-burn;
    transform: scaleX(1);
  }

  .w-mobile-container .w-vertical-line {
    margin: auto 0;
    width: 1px;
    height: 90%;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.3) 93%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .w-mobile-container .w-mobile-right-side {
    width: 67%;
    height: 100%;
  }

  .w-mobile-container .w-telegram-shot-container {
    padding: 10px;
    display: flex;
    max-height: none;
    height: auto;
  }

  .w-chat-heading .w-telegram-image {
    width: 16px;
    height: 16px;
  }

  .w-mobile-container .w-telegram-shot-container > img {
    max-width: 20%;
    margin-bottom: 5px;
  }

  .w-mobile-container .w-telegram-shot-container > div {
    max-height: none;
    display: flex;
  }

  .w-mobile-container .w-chat-container {
    min-height: 0;
    aspect-ratio: auto;
    max-height: none;
    height: 100%;
  }

  .w-mobile-container .w-chat-image {
    width: 140%;
    height: 140%;
    aspect-ratio: 4/3;
  }

  .w-mobile-container .w-telegram-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 27%;
    height: 9%;
    border-radius: 20px;
    z-index: 100;
    padding: 0 2%;
    gap: 2.5%;
  }

  .w-mobile-container .w-telegram-btn > h5 {
    font-size: 2.1vw;
    line-height: 1.1;
  }

  .w-mobile-container .w-telegram-btn > img {
    width: auto;
    height: 2.1vw;
    max-height: 16px;
  }

  .w-mobile-container .w-awards-container-title {
    color: #fff;
    font-family: Inter;
    font-size: 24px;
    font-weight: 700;
    line-height: 90%;
  }

  .w-mobile-container h1 {
    color: #fff;
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
  }

  .w-mobile-container h3 {
    color: var(--White, #fff);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%; /* 142.857% */
    z-index: 101;
    margin: 0;
  }

  .w-mobile-container h4 {
    color: #000;
    font-family: Inter;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }

  .w-mobile-container h5 {
    color: #fff;
    font-family: Inter;
    font-size: 8px;
    font-style: normal;
    font-weight: 400;
    line-height: 8px;
    position: relative;
  }
}
