.tc-hero-section {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  align-items: center;
  justify-content: center;
  width: 90%;
}
.tc-hero-section__image {
  width: 60%;
}
.tc-hero-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tc-hero-section__content {
  width: 40%;
  font-size: 1.1rem;
}

.tc-hero-section__description {
  line-height: 1.6;
}

.tc-hero-section__description p {
  margin: 0 0 1rem;
}

.tc-hero-section__description p:last-child {
  margin-bottom: 0;
}

/* Image alignment styles */
.tc-hero-section__description img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
}

.tc-hero-section__description img.aligncenter,
.tc-hero-section__description img.alignnone {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.tc-hero-section__description img.alignleft {
  float: left;
  margin: 1rem 1rem 1rem 0;
}

.tc-hero-section__description img.alignright {
  float: right;
  margin: 1rem 0 1rem 1rem;
}

.tc-hero-section__description figure {
  margin: 1rem 0;
  text-align: center;
}

.tc-hero-section__description figure.aligncenter,
.tc-hero-section__description figure.alignnone {
  margin-left: auto;
  margin-right: auto;
}

.tc-hero-section__description figure.alignleft {
  float: left;
  margin: 1rem 1rem 1rem 0;
}

.tc-hero-section__description figure.alignright {
  float: right;
  margin: 1rem 0 1rem 1rem;
}

.tc-hero-section__description figure img {
  margin: 0;
}

.tc-hero-section__links {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

/* Solo imagen - ocultar contenido */
.tc-hero-section[data-show="image"] .tc-hero-section__content {
  display: none !important;
}

/* Solo texto - ocultar imagen */
.tc-hero-section[data-show="text"] .tc-hero-section__image {
  display: none !important;
}

/* Ajustes cuando solo hay texto */
.tc-hero-section[data-show="text"] {
  justify-content: flex-start;
}

.tc-hero-section[data-show="text"] .tc-hero-section__content {
  width: 100%;
}

/* Ajustes cuando solo hay imagen */
.tc-hero-section[data-show="image"] {
  justify-content: center;
}

.tc-hero-section[data-show="image"] .tc-hero-section__image {
  width: 100%;
}

/* Fullwidth Template */
.tc-hero-section--fullwidth {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: 500px;
    max-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.tc-hero-section--fullwidth .tc-hero-section__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.tc-hero-section--fullwidth .tc-hero-section__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.tc-hero-section--fullwidth .tc-hero-section__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(
        135deg,
        rgba(242, 96, 61, 0.6) 25%,
        rgba(76, 175, 136, 0.4) 100%
    );
    z-index: 2;
}

.tc-hero-section--fullwidth .tc-hero-section__content {
    position: absolute;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 50%;
    max-width: 700px;
    padding: 3rem;
    text-align: left;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.tc-hero-section--fullwidth .tc-hero-section__title {
    margin: 0;
    /* font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2; */
    color: #fff;
    text-align: left;
    text-shadow: 0 0 7px rgba(0, 0, 0, 0.5);
}

.tc-hero-section--fullwidth .tc-hero-section__description {
    text-align: left;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1.4;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.tc-hero-section--fullwidth .tc-hero-section__description p {
    margin: 0 0 1rem;
    text-align: left;
}

.tc-hero-section--fullwidth .tc-hero-section__description p:last-child {
    margin-bottom: 0;
}

.tc-hero-section--fullwidth .tc-hero-section__links {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

@media screen and (max-width: 1024px) {
    .tc-hero-section--fullwidth .tc-hero-section__content {
        width: 90%;
        left: 50%;;
    }
}

@media screen and (max-width: 811px) {
    .tc-hero-section {
        flex-direction: column;
    }
    .tc-hero-section__image {
        width: 100%;
    }
    .tc-hero-section__content {
        width: 100%;
    }
    .tc-hero-section__links {
        flex-direction: column;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
    
    /* Reset float on mobile for better layout */
    .tc-hero-section__description img.alignleft,
    .tc-hero-section__description img.alignright,
    .tc-hero-section__description figure.alignleft,
    .tc-hero-section__description figure.alignright {
        float: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Fullwidth responsive */
    .tc-hero-section--fullwidth {
        min-height: 400px;
        max-height: 500px;
        justify-content: center;
    }
    
    .tc-hero-section--fullwidth .tc-hero-section__content {
        width: 100%;
        max-width: 100%;
    }
    
    .tc-hero-section--fullwidth .tc-hero-section__title {
        font-size: 2rem;
        text-align: left;
    }
    
    .tc-hero-section--fullwidth .tc-hero-section__description {
        text-align: left;
        font-size: 1.1rem;
    }
    
    .tc-hero-section--fullwidth .tc-hero-section__description p {
        text-align: left;
    }
    
    .tc-hero-section--fullwidth .tc-hero-section__links {
        justify-content: flex-start;
        flex-direction: column;
        width: 100%;
    }
    
    .tc-hero-section--fullwidth .tc-hero-section__links .btn {
       
    }
  }