.tg-words {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  cursor: pointer !important;
  margin: 16px 0 0 !important;
  padding: 16px 18px !important;
  border-radius: 12px !important;
  background: var(--color-primary) !important;
  color: #fff !important;
  border: 1.5px solid var(--color-primary) !important;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}
.tg-words:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 26px rgba(17, 18, 17, 0.22) !important;
}
.tg-words .tg-words-spark {
  flex: 0 0 auto !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 9px !important;
  background: var(--color-secondary) !important;
  display: grid !important;
  place-items: center !important;
}
.tg-words .tg-words-spark svg {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
  color: var(--color-primary) !important;
}
.tg-words .tg-words-text {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  flex: 1 !important;
  min-width: 0 !important;
}
.tg-words .tg-words-text b {
  font-weight: 800 !important;
  font-size: 15px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.01em !important;
  color: #fff !important;
}
.tg-words .tg-words-text b em {
  font-style: normal !important;
  color: var(--color-secondary) !important;
}
.tg-words .tg-words-text span {
  font-size: 13px !important;
  line-height: 1.4 !important;
  color: #c7c8c4 !important;
}
.tg-words .tg-words-go {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  color: var(--color-secondary) !important;
  white-space: nowrap !important;
}
.tg-words .tg-words-go svg {
  width: 16px !important;
  height: 16px !important;
  display: block !important;
  transition: transform 0.15s ease !important;
}
.tg-words:hover .tg-words-go svg {
  transform: translateX(3px) !important;
}

.tg-ribbon {
  position: fixed !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 60 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 10px !important;
  cursor: pointer !important;
  background: var(--color-primary) !important;
  color: #fff !important;
  padding: 18px 11px !important;
  border-radius: 12px 0 0 12px !important;
  box-shadow: -4px 0 18px rgba(17, 18, 17, 0.22) !important;
  text-decoration: none !important;
  transition: padding-right 0.16s ease, background 0.16s ease, color 0.16s ease !important;
}
.tg-ribbon:hover {
  padding-right: 16px !important;
  background: var(--color-secondary) !important;
  color: var(--color-primary) !important;
}
.tg-ribbon .tg-ribbon-spark {
  flex: 0 0 auto !important;
  color: var(--color-secondary) !important;
}
.tg-ribbon .tg-ribbon-spark svg {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
}
.tg-ribbon:hover .tg-ribbon-spark {
  color: var(--color-primary) !important;
}
.tg-ribbon .tg-ribbon-txt {
  writing-mode: vertical-rl !important;
  transform: rotate(180deg) !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

@media (max-width: 760px) {
  .tg-words {
    flex-wrap: wrap !important;
  }
  .tg-words .tg-words-go {
    width: 100% !important;
    justify-content: center !important;
    padding-top: 4px !important;
  }
  .tg-ribbon {
    display: none !important;
  }
}
