/* ========== BUTTONS ========== */

/* ========== uptown hover button ========== */
.uptown-link {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  cursor: pointer;
}

.uptown-link-icon {
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
  transform: rotate(0deg) scale(0);
  background: #009ca8;
  transition: 0.5s var(--ease);
}

@media screen and (orientation: portrait) {
  .uptown-link-icon {
    width: 0.7rem;
    height: 0.7rem;
    flex-shrink: 0;
    transform: rotate(0deg) scale(0);
    background: #009ca8;
    transition: 0.5s var(--ease);
  }
}

.uptown-link-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 2.2rem;
  line-height: normal;
  transition: var(--transition);
}

.uptown-link:hover .uptown-link-icon {
  transform: rotate(-43.264deg) scale(1);
}

.uptown-link:hover .uptown-link-text {
  color: #fff;
}

/* ========== uptown button without hover ========== */
.uptown-link-t1 {
  display: flex;
  gap: 1.3rem;
  align-items: center;
}

.uptown-link-t1-icon {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  transform: rotate(-43.264deg) scale(1);
  background: #009ca8;
  transition: 0.5s var(--ease);
}

.uptown-link-t1-text {
  font-size: var(--font-25);
  line-height: normal;
  color: #009ca8;
}

@media screen and (orientation: portrait) {
  .uptown-link-t1 {
    gap: 0.85rem;
  }

  .uptown-link-t1-icon {
    width: 0.765rem;
    height: 0.765rem;
  }

  .uptown-link-t1-text {
    font-size: 1.4rem;
  }
}

/* ========== CTA button ========== */
.CTA-btn {
  position: relative;
  width: fit-content;
  height: fit-content;
  isolation: isolate;
  display: inline-block;
  cursor: pointer;
}

.CTA-btn:hover .CTA-btn__inner .CTA-btn__icon {
  transform: rotate(-135deg) scale(0.8);
}

.CTA-btn:hover .CTA-btn__border {
  width: 100%;
  height: 100%;
}

.CTA-btn .CTA-btn__border {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% + 1.2rem);
  height: calc(100% + 1rem);
  transition: 0.5s var(--ease);
  pointer-events: none;
}

/* === PORTRAIT === */
@media screen and (orientation: portrait) {
  .CTA-btn .CTA-btn__border {
    width: calc(100% + 1.2rem);
    height: calc(100% + 1rem);
  }
}

.CTA-btn .CTA-btn__border::before {
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  pointer-events: none;
  border-radius: inherit;
  padding: 1px;
  mask: linear-gradient(rgb(255, 255, 255) 0px, rgb(255, 255, 255) 0px) content-box exclude, linear-gradient(rgb(255, 255, 255) 0px, rgb(255, 255, 255) 0px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.CTA-btn .CTA-btn__border::after {
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  pointer-events: none;
  border-radius: inherit;
  padding: 1px;
  mask: linear-gradient(rgb(255, 255, 255) 0px, rgb(255, 255, 255) 0px) content-box exclude, linear-gradient(rgb(255, 255, 255) 0px, rgb(255, 255, 255) 0px);
  background: linear-gradient(90deg, #009ca8 0%, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 0) 89.92%, #009ca8 100%);
}

.CTA-btn .CTA-btn__blur {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 2.5rem;
  flex-shrink: 0;
  filter: blur(11px);
  -webkit-filter: blur(11px);
  background: radial-gradient(50% 50% at 50% 50%, #009ca8 0%, rgba(0, 156, 168, 0) 81.52%);
  pointer-events: none;
  z-index: -1;
}

.CTA-btn .CTA-btn__background {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(217, 217, 217, 0.08);
  backdrop-filter: blur(5.5px);
  -webkit-backdrop-filter: blur(5.5px);
}

.CTA-btn .CTA-btn__inner {
  display: flex;
  align-items: center;
  padding: 1rem 2.5rem;
  gap: 1.5rem;
}

/* === PORTRAIT === */
@media screen and (orientation: portrait) {
  .CTA-btn .CTA-btn__inner {
    display: flex;
    align-items: center;
    padding: 1rem 2.5rem;
    gap: 1.5rem;
    justify-content: center;
  }
}

.CTA-btn .CTA-btn__inner .CTA-btn__icon {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  background: #009ca8;
  transform: rotate(-43.264deg);
  transition: 0.5s var(--ease);
}

/* === PORTRAIT === */
@media screen and (orientation: portrait) {
  .CTA-btn .CTA-btn__inner .CTA-btn__icon {
    width: 0.8rem;
    height: 0.8rem;
  }
}

.CTA-btn .CTA-btn__inner .CTA-btn__text {
  color: #fff;
  font-size: 1.8rem;
  line-height: normal;
  flex-shrink: 0;
}

/* === PORTRAIT === */
@media screen and (orientation: portrait) {
  .CTA-btn .CTA-btn__inner .CTA-btn__text {
    color: #fff;
    font-size: 1.8rem;
    line-height: normal;
    flex-shrink: 0;
  }
}
