.atl-pcarousel {
  position: relative;
  z-index: 10;
  padding: 5rem 0 6rem;
  background: inherit;
  transition: color 0.7s ease;
  overflow-x: clip;
}
@media (min-width: 1024px) {
  .atl-pcarousel {
    padding: 8rem 0;
  }
}
.atl-pcarousel__layout {
  box-sizing: border-box;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .atl-pcarousel__layout {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }
}
.atl-pcarousel__info-col {
  padding: 0 0 2rem;
}
@media (min-width: 1024px) {
  .atl-pcarousel__info-col {
    padding: 0;
  }
}
.atl-pcarousel__info {
  max-width: 36rem;
}
.atl-pcarousel__title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-jakarta);
  letter-spacing: 0;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .atl-pcarousel__title {
    font-size: 2.25rem;
  }
}
@media (min-width: 1024px) {
  .atl-pcarousel__title {
    font-size: 3rem;
  }
}
.atl-pcarousel__title strong {
  color: var(--color-teal);
  font-weight: 700;
}
.atl-pcarousel__desc {
  color: rgba(53, 52, 82, 0.75);
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.625;
  margin-bottom: 3rem;
}
.atl-pcarousel__desc p {
  margin: 0;
}
.atl-pcarousel__btn {
  display: inline-block;
  background: var(--color-teal);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.875rem;
}
.atl-pcarousel__btn:hover {
  background: var(--color-jakarta);
}
.atl-pcarousel__btn--desktop {
  display: none;
}
@media (min-width: 1024px) {
  .atl-pcarousel__btn--desktop {
    display: inline-block;
    width: fit-content;
  }
}
.atl-pcarousel__btn--mobile {
  display: block;
  width: fit-content;
  margin: 2rem auto 0;
}
@media (min-width: 1024px) {
  .atl-pcarousel__btn--mobile {
    display: none;
  }
}
.atl-pcarousel__scroll-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
@media (min-width: 1024px) {
  .atl-pcarousel__scroll-col {
    margin-left: -3rem;
    width: calc(100% + 3rem);
  }
}
.atl-pcarousel__track {
  display: flex;
  gap: 1.5rem;
  overflow-x: scroll;
  padding-bottom: 1rem;
  cursor: grab;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.atl-pcarousel__track::-webkit-scrollbar {
  display: none;
}
@media (min-width: 1024px) {
  .atl-pcarousel__track {
    gap: 2rem;
  }
}
.atl-pcarousel__track:active {
  cursor: grabbing;
}
.atl-pcarousel__scrollbar {
  height: 4px;
  border-radius: 2px;
  background: rgba(53, 52, 82, 0.08);
  overflow: hidden;
  margin-bottom: 1rem;
}
.atl-pcarousel__scrollbar-thumb {
  height: 100%;
  border-radius: 2px;
  background: var(--color-terracotta);
}
.atl-pcarousel__card {
  position: relative;
  flex: none;
  width: 280px;
  height: 440px;
  border-radius: 30px;
  overflow: hidden;
  scroll-snap-align: start;
  display: block;
  text-decoration: none;
  color: inherit;
  background: #e4e6ea;
  box-shadow: 0 25px 50px -12px rgba(53, 52, 82, 0.15);
}
@media (min-width: 640px) {
  .atl-pcarousel__card {
    width: 320px;
    height: 480px;
  }
}
@media (min-width: 768px) {
  .atl-pcarousel__card {
    width: 350px;
    height: 500px;
  }
}
@media (min-width: 1024px) {
  .atl-pcarousel__card {
    width: 360px;
  }
}
.atl-pcarousel__card:hover .atl-pcarousel__card-img {
  transform: scale(1.05);
}
.atl-pcarousel__card-media {
  position: absolute;
  inset: 0;
}
.atl-pcarousel__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.atl-pcarousel__card-img-placeholder {
  position: absolute;
  inset: 0;
  background: #ddd;
}
.atl-pcarousel__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}
.atl-pcarousel__card-body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: left;
  color: #fff;
}
.atl-pcarousel__card-serie {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.375rem;
}
.atl-pcarousel__card-title {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0 0 0.75rem;
}
@media (min-width: 640px) {
  .atl-pcarousel__card-title {
    font-size: 1.875rem;
  }
}
.atl-pcarousel__card-desc {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 640px) {
  .atl-pcarousel__card-desc {
    font-size: 0.875rem;
  }
}
.atl-pcarousel__nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-left: 0.25rem;
}
.atl-pcarousel__arrow {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--color-jakarta);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.atl-pcarousel__arrow svg {
  width: 1.25rem;
  height: 1.25rem;
}
.atl-pcarousel__arrow:hover, .atl-pcarousel__arrow:focus-visible {
  background: var(--color-teal);
}
.atl-pcarousel__arrow:focus-visible {
  outline: 2px solid var(--color-jakarta);
  outline-offset: 2px;
}

.atl-dark-wrapper.atl-dark-mode .atl-pcarousel__title {
  color: #fff;
}
.atl-dark-wrapper.atl-dark-mode .atl-pcarousel__title strong {
  color: var(--color-terracotta);
}
.atl-dark-wrapper.atl-dark-mode .atl-pcarousel__desc {
  color: rgba(255, 255, 255, 0.7);
}
.atl-dark-wrapper.atl-dark-mode .atl-pcarousel__btn {
  background: var(--color-terracotta);
}
.atl-dark-wrapper.atl-dark-mode .atl-pcarousel__btn:hover {
  background: #fff;
  color: var(--color-jakarta);
}
.atl-dark-wrapper.atl-dark-mode .atl-pcarousel__scrollbar {
  background: rgba(255, 255, 255, 0.1);
}
.atl-dark-wrapper.atl-dark-mode .atl-pcarousel__arrow {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.atl-dark-wrapper.atl-dark-mode .atl-pcarousel__arrow:hover, .atl-dark-wrapper.atl-dark-mode .atl-pcarousel__arrow:focus-visible {
  background: var(--color-terracotta);
}
.atl-dark-wrapper.atl-dark-mode .atl-pcarousel__arrow:focus-visible {
  outline-color: #fff;
}
