/* Sharper CTA Section Styles */

.sharper-cta-section {
  position: relative;
  width: 100%;
  padding: 20px 0;
  margin: 30px 0;
}

.sharper-cta-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px 0px;
}

/* CTA Item */
.sharper-cta-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  position: relative;
  padding: 0px;
  margin-left: 2rem;
}

@media (max-width: 768px) {
  .sharper-cta-item {
    margin-left: 0;
  }
}

/* CTA Link */
.sharper-cta-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}

/* CTA Headline */
.sharper-cta-headline {
  font-size: 4.5rem;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0;
  padding: 10px 0;
  text-align: center;
  position: relative;
  color: #000;
  transition: all 0.3s ease;
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Headline text with hover effect */
.sharper-cta-headline .headline-text {
  position: relative;
  display: inline-block;
  color: #000;
  -webkit-text-stroke: 1.5px #000;
  transition: all 0.3s ease;
  padding: 0 10px;
}

/* Underline animation */
.sharper-cta-headline .headline-text::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 10px;
  background-color: #000;
  transition: width 0.3s ease;
  transform-origin: left;
}

.arrow-icon {
  font-size: 3rem;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.sharper-cta-link:hover .arrow-icon {
  transform: translateX(5px);
}

.sharper-cta-item:hover .headline-text {
  color: #000;
  -webkit-text-stroke: 0;
  background-color: transparent;
}

.sharper-cta-item:hover .headline-text::after {
  width: calc(100% - 20px); /* Account for padding */
}

/* CTA Image */
.sharper-cta-image {
  width: 100px;
  height: 60px;
  border-radius: 5px;
  overflow: hidden;
  margin: 0 20px;
  flex-shrink: 0;
  border: 1px solid #000;
}

.sharper-cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mini Image (when image position is none) */
.sharper-cta-mini-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-left: 15px;
  flex-shrink: 0;
  border: 1px solid #000;
}

.sharper-cta-mini-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sharper-cta-item:not(.has-image) .sharper-cta-headline,
.sharper-cta-item.has-image.image-none .sharper-cta-headline {
  margin: 0 auto;
}

/* Admin placeholder */
.sharper-cta-placeholder {
  padding: 40px;
  background: #f0f0f0;
  text-align: center;
  border: 1px dashed #ccc;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .sharper-cta-container {
    padding: 0 20px;
	gap: 0px;
  }
}

@media (max-width: 992px) {
  .sharper-cta-headline {
    font-size: 44px;
  }
}

@media (max-width: 768px) {
  .sharper-cta-headline {
    font-size: 36px;
  }

  .sharper-cta-image {
    width: 50px;
    height: 50px;
    margin: 0 15px;
  }

  .sharper-cta-mini-image {
    width: 40px;
    height: 40px;
  }

  .sharper-cta-item {
    flex: 0 1 100%;
    margin-bottom: 10px;
  }
	.arrow-icon{
		font-size: 1rem;
	}
}

@media (max-width: 480px) {
  .sharper-cta-headline {
    font-size: 28px;
  }

  .sharper-cta-image {
    width: 40px;
    height: 40px;
    margin: 0 10px;
  }

  .sharper-cta-mini-image {
    width: 30px;
    height: 30px;
    margin-left: 10px;
  }
}
