/**
 * Smort CTA Block Styles
 */

.smort-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  overflow: hidden;
  isolation: isolate;
}

/* Height variants */
.smort-cta-small {
  min-height: 300px;
}

.smort-cta-medium {
  min-height: 400px;
}

.smort-cta-large {
  min-height: 500px;
}

.smort-cta-xlarge {
  min-height: 600px;
}

/* Overlay */
.smort-cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
}

/* Container */
.smort-cta-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 2000px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

/* Content */
.smort-cta-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
}

/* Text alignment variants */
.smort-cta-left .smort-cta-content {
  align-items: flex-start;
  text-align: left;
  margin-right: auto;
}

.smort-cta-center .smort-cta-content {
  align-items: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.smort-cta-right .smort-cta-content {
  align-items: flex-end;
  text-align: right;
  margin-left: auto;
}

/* Subtitle */
.smort-cta-subtitle {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
  opacity: 0.9;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Title */
.smort-cta-title {
  font-size: 2rem;
  font-weight: 400;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

/* Button */
.smort-cta-button-wrapper {
  margin-top: 0.5rem;
}

.smort-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: #f59e0b;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition:
    background 0.3s ease,
    transform 0.2s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.smort-cta-button:hover {
  background: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.smort-cta-button-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.smort-cta-button:hover .smort-cta-button-icon {
  transform: translateX(4px);
}

/* Tablet and up */
@media (min-width: 768px) {
  .smort-cta-small {
    min-height: 350px;
  }

  .smort-cta-medium {
    min-height: 450px;
  }

  .smort-cta-large {
    min-height: 550px;
  }

  .smort-cta-xlarge {
    min-height: 650px;
  }

  .smort-cta-container {
    padding: 4rem 2rem;
  }

  .smort-cta-subtitle {
    font-size: 1rem;
  }

  .smort-cta-title {
    font-size: 4rem;
  }

  .smort-cta-button {
    font-size: 1.0625rem;
    padding: 1rem 2rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .smort-cta-small {
    min-height: 400px;
  }

  .smort-cta-medium {
    min-height: 500px;
  }

  .smort-cta-large {
    min-height: 600px;
  }

  .smort-cta-xlarge {
    min-height: 700px;
  }

  .smort-cta-title {
    font-size: 5rem;
  }
}
