.split-content {
    position: relative;
    overflow: hidden;
    margin-top: 86px;
    margin-bottom: 86px;
}

.split-content--bg-white {
    background-color: #ffffff;
}

.split-content--bg-light-gray {
    background-color: #f7f7f7;
}

.split-content--bg-dark {
    background-color: #1a1a1a;
    color: #ffffff;
}

.split-content__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.split-content__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    min-height: 375px;
    align-items: center;
}

/* Text Wrapper */
.split-content__text-wrapper {
    display: flex;
    position: relative;
    z-index: 2;
}

.split-content--image-right .split-content__text-wrapper {
    order: 1;
    justify-content: flex-end;
}

.split-content--image-left .split-content__text-wrapper {
    order: 2;
    justify-content: flex-start;
}

.split-content__text {
    max-width: 600px;
}

/* Media Wrapper */
.split-content__media-wrapper {
    position: relative;
}

.split-content--image-right .split-content__media-wrapper {
    order: 2;
}

.split-content--image-left .split-content__media-wrapper {
    order: 1;
}

/* Text content */
.split-content__title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 24px 0;
    color: #00a651;
}

.split-content--bg-dark .split-content__title {
    color: #00a651;
}

.split-content__description {
    font-size: 15px;
    line-height: normal;
    margin: 0 0 32px 0;
}

.split-content--bg-dark .split-content__description {
    color: #e2e8f0;
}

.split-content__cta {
    margin-top: 32px;
}

/* Media content */
.media-content {
    width: 100%;
}

.media-content__image,
.media-content__video {
    width: 100%;
    display: block;
    object-position: center bottom;
}

.media-content__video {
    background-color: #000;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.cta-button--primary {
    background-color: #00a651;
    color: #ffffff !important;
}

.cta-button--primary:hover {
    background-color: #008a43;
}

.cta-button--secondary {
    background-color: #2d3748;
    color: #ffffff !important;
}

.cta-button--secondary:hover {
    background-color: #1a202c;
}

.cta-button--outline {
    background-color: transparent;
    color: #00a651 !important;
    border: 2px solid #00a651;
}

.cta-button--outline:hover {
    background-color: #00a651;
    color: #ffffff !important;
}

.cta-button__icon {
    transition: transform 0.3s ease;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .split-content__wrapper {
        gap: 40px;
    }
    
    .split-content__media-wrapper {
    }
    
    .split-content__title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .split-content {
        margin-top: 40px;
        margin-bottom: 40px;
    }
    
    .split-content__wrapper {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 40px;
    }
    
    .split-content__text-wrapper {
        justify-content: flex-start !important;
    }
    
    .split-content--image-right .split-content__text-wrapper,
    .split-content--image-left .split-content__text-wrapper {
        order: 1;
    }
    
    .split-content__text {
        max-width: 100%;
    }
    
    .split-content__media-wrapper {
    }
    
    .split-content--image-right .split-content__media-wrapper,
    .split-content--image-left .split-content__media-wrapper {
        order: 2;
    }
    
    .split-content__title {
        font-size: 32px;
    }
}

/* ========================================
   TERRAGEN PROJECT CARDS - ELEMENTOR ONLY
   NO AFECTA POPUPS DEL MAPA
   ======================================== */

/* Card Container - SOLO Elementor */
.elementor-posts .elementor-post.terragen_project .elementor-post__card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.elementor-posts .elementor-post.terragen_project .elementor-post__card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* Thumbnail - SOLO Elementor (SIN efectos hover) */
.elementor-posts .elementor-post.terragen_project .elementor-post__thumbnail {
    position: relative;
    overflow: hidden;
}

/* Text Content - SOLO Elementor */
.elementor-posts .elementor-post.terragen_project .elementor-post__text {
    padding: 0px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Title - SOLO Elementor */
.elementor-posts .elementor-post.terragen_project .elementor-post__title {
    margin: 0 0 16px 0;
    font-size: 20px;
    line-height: 1.3;
}

.elementor-posts .elementor-post.terragen_project .elementor-post__title a {
    color: #009846 !important;
    font-weight: 600 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.elementor-posts .elementor-post.terragen_project .elementor-post__title a:hover {
    color: #007a38 !important;
}

/* Project Metadata Container - SOLO dentro de Elementor */
.elementor-posts .elementor-post.terragen_project .terragen-project-meta-popup {
    padding: 0;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

/* Technology Badge - SOLO Elementor */
.elementor-posts .elementor-post.terragen_project .project-tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.elementor-posts .elementor-post.terragen_project .tech-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.elementor-posts .elementor-post.terragen_project .tech-name {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    text-transform: capitalize;
}

/* Project Details - SOLO Elementor */
.elementor-posts .elementor-post.terragen_project .project-detail-row {
    display: flex;
    align-items: baseline;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
    gap: 8px;
}

.elementor-posts .elementor-post.terragen_project .project-detail-row:last-child {
    margin-bottom: 0;
}

.elementor-posts .elementor-post.terragen_project .detail-label {
    font-weight: 700;
    min-width: 70px;
    flex-shrink: 0;
}

.elementor-posts .elementor-post.terragen_project .detail-value {
    color: #333;
    font-weight: 400;
    flex-grow: 1;
}

/* Separator line - SOLO Elementor */
.elementor-posts .elementor-post.terragen_project .terragen-project-meta-popup::before {
    content: '';
    display: block;
    height: 1px;
    margin-bottom: 16px;
}

/* Read More Button - SOLO Elementor */
.elementor-posts .elementor-post.terragen_project .elementor-post__read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #009846 !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-decoration: none;
    margin-top: auto;
    padding: 12px 0;
    background: none;
    border: none;
    transition: all 0.2s ease;
}

.elementor-posts .elementor-post.terragen_project .elementor-post__read-more:hover {
    color: #007a38 !important;
    gap: 12px;
}

.elementor-posts .elementor-post.terragen_project .elementor-post__read-more::after {
    content: '\2192';
    font-size: 18px;
    transition: transform 0.2s ease;
}

.elementor-posts .elementor-post.terragen_project .elementor-post__read-more:hover::after {
    transform: translateX(4px);
}

/* Grid spacing adjustments - SOLO Elementor */
.elementor-posts--skin-cards .elementor-post.terragen_project {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .elementor-posts .elementor-post.terragen_project .elementor-post__text {
        padding: 0px 20px 20px 20px;
    }
    
    .elementor-posts .elementor-post.terragen_project .elementor-post__title {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .elementor-posts .elementor-post.terragen_project .elementor-post__card {
        border-radius: 10px;
    }
    
    .elementor-posts .elementor-post.terragen_project .elementor-post__text {
        padding: 18px;
    }
    
    .elementor-posts .elementor-post.terragen_project .elementor-post__title {
        font-size: 17px;
        margin-bottom: 12px;
    }
    
    .elementor-posts .elementor-post.terragen_project .project-detail-row {
        font-size: 13px;
    }
    
    .elementor-posts .elementor-post.terragen_project .detail-label {
        min-width: 65px;
    }
    
    .elementor-posts .elementor-post.terragen_project .tech-name {
        font-size: 12px;
    }
}

/* Animation for cards on load - SOLO Elementor */
@keyframes fadeInUpElementor {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.elementor-posts .elementor-post.terragen_project {
    animation: fadeInUpElementor 0.5s ease-out;
}

/* Stagger animation - SOLO Elementor */
.elementor-posts .elementor-post.terragen_project:nth-child(1) { animation-delay: 0.1s; }
.elementor-posts .elementor-post.terragen_project:nth-child(2) { animation-delay: 0.2s; }
.elementor-posts .elementor-post.terragen_project:nth-child(3) { animation-delay: 0.3s; }
.elementor-posts .elementor-post.terragen_project:nth-child(4) { animation-delay: 0.4s; }
.elementor-posts .elementor-post.terragen_project:nth-child(5) { animation-delay: 0.5s; }
.elementor-posts .elementor-post.terragen_project:nth-child(6) { animation-delay: 0.6s; }