﻿/* Styles for new-top-list section */
.new-top-list {
  /* background: linear-gradient(to bottom, #1e293b, #0f172a); */
  padding: 0 0 2rem 0 !important;
}

.new-top-list__item {
  border-radius: 1rem;
  overflow: hidden;
}

.new-top-list__wrapper {
  height: 12rem;
}

@media (min-width: 768px) {
  .new-top-list__wrapper {
    height: 14rem;
  }
}

.new-top-list__content {
  width: 100%;
  height: 100%;
  justify-content: flex-end;
}

.new-top-list__item .new-top-list__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.new-top-list__item:hover .new-top-list__image {
  transition: all 0.3s ease;
}

.new-top-list__item:hover .new-top-list__image {
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .new-top-list__title {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

.new-top-list__text {
  color: rgb(255 255 255 / 0.8);
}

@media (min-width: 768px) {
  .new-top-list__text {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

.new-top-list__button {
  transition-duration: 200ms;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color),
    0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
    var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.25rem;
  align-self: flex-start;
  transition: all 0.3s ease;
}

.new-top-list__item:hover .new-top-list__button {
  --tw-gradient-to: #ea580c var(--tw-gradient-to-position);
  --tw-gradient-from: #d97706 var(--tw-gradient-from-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.new-top-list__item .new-top-list__button svg {
  transition: all 0.3s ease;
}

.new-top-list__item:hover .new-top-list__button svg {
  --tw-translate-x: 0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y))
    rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))
    scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.footer-logo {
  width: 205px;
}

.new-top-list {
  padding: 0 !important;
}