.trd-slider {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 960px; /* 650 */
  overflow: hidden;
}

.trd-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.trd-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.trd-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  animation: none;
    background-repeat: no-repeat;
}

.trd-slide.active .trd-bg {
  animation: trdKenBurns 12s linear forwards;
}

.trd-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.trd-content {
  position: absolute;
  z-index: 1;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 640px;
  color: #fff;
  /*padding: 190px 0px 120px;*/
  height: 800px;
  display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
}

.trd-content .text-title {
  font-size: clamp(48px, 6.735vw, 90px);
  margin-bottom: 20px;
  text-transform: uppercase;
  line-height: 1.1em;
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 0;
  display: block;
  text-shadow: 2px 2px 0px black;
}

.trd-content p {
  font-size: 22px;
  margin-bottom: 35px;
  text-shadow: 2px 2px 0px black;
}

.trd-button {
  display: inline-block;
  padding: 18px 40px;
  background: var(--e-global-color-primary);
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.trd-button:hover {
  transform: translateY(-3px);
}

.trd-prev, .trd-next {
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent !important;
    font-size: 40px !important;
    padding: 0px !important;
    line-height: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
}

.trd-prev:hover, .trd-next:hover {
    opacity: 1;
}

.trd-botones {
    max-width: 1200px;
    width: 100%;
    top: 100%;
    position: relative;
    transform: translateY(-100%);
    z-index: 2;
    margin: auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 181px;
}

.trd-slider:before {
    display: block;
    content: "";
    position: relative;
    z-index: 3;
    color: #000000;
    width: 100%;
    background: url(https://trueroledreams.org/wp-content/uploads/2026/06/pattern-white-version.webp) bottom center;
    height: 74px;
    top: 100.1%;
    transform: translateY(-100%);
    background-repeat: repeat-x;
}

.trd-dots {
  position: absolute;
  left: 50%;
  bottom: 99px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}

.trd-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background:white;
  cursor: pointer;
  transition: 0.3s;
}

.trd-dot.active {
  background: var(--e-global-color-primary);
}

@keyframes trdKenBurns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}


@media only screen and (max-width: 1024px) {
	.trd-content p {
    	display: none;
	}
	.trd-slider {
	    height: 100vh;
	    max-height: 755px;
	    min-height: auto;
	}
	.trd-content .text-title {
    	font-size: 58px;
    	text-align: center;
	}
	.trd-prev, .trd-next{
		display: none;
	}
	.trd-content {
    	left: 0;
    	max-width: none;
    	padding: 0px 0px 140px;
        height: 100%;
    	width: 100%;
    	display: flex;
    	flex-direction: column;
    	align-items: center;
    	justify-content: flex-end;
	}
	.trd-bg {
        background-position: 75% center;
    }
}

@media only screen and (max-width: 767px) {
    .trd-bg {
        background-position: 72% center;
    }
    .trd-slider {
        max-height: 583px;
    }
    .trd-content .text-title {
        font-size: 36px;
    }
}
