.text-image-cta {
    position: relative;
    width: 100%;
    padding: 80px 0;
    margin: 0;
    background-color: #2C4A5E;
}

.text-image-cta__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Content Column */
.text-image-cta__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: flex-start;
    max-width: 450px;
}

.text-image-cta__headline {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.2px;
    color: #FFFFFF;
    margin: 0;
}

.text-image-cta__body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.2px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* CTA Button */
.text-image-cta__cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    background-color: transparent;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-top: 16px;
    align-self: flex-start;
}

.text-image-cta__cta span {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.text-image-cta__cta:hover {
    opacity: 0.8;
    transform: translateX(4px);
}

.text-image-cta__cta-icon {
    display: block;
    flex-shrink: 0;
    width: 28px;
    height: 19px;
}

/* Image Column */
.text-image-cta__image-wrapper {
    width: 100%;
    height: 600px;
    max-width: 500px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
}

.text-image-cta__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    object-fit: contain;
    max-height: 100%;
}

.text-image-cta__specifications {
    width: 100%;
    max-width: 500px;
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 32px;
    box-sizing: border-box;
}

.text-image-cta__spec-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.text-image-cta__spec-icon {
    width: 28px;
    height: 19px;
    flex-shrink: 0;
}

.text-image-cta__spec-heading {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.6px;
    color: #162E44;
    margin: 0;
}

.text-image-cta__spec-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.text-image-cta__spec-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #FBF8F6;
    border-radius: 40px;
    padding: 0 8px 0 0;
    transition: all 0.3s ease;
    cursor: default;
}

.text-image-cta__spec-item:hover {
    background-color: #FBEDDE;
}

.text-image-cta__spec-label {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.35px;
    color: #162E44;
    background-color: #FBEDDE;
    padding: 6px 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 50px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.text-image-cta__spec-item:hover .text-image-cta__spec-label {
    color: #EF7D00 !important;
}

.text-image-cta__spec-values {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-right: 0;
}

.text-image-cta__spec-value {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.35px;
    color: #162E44;
    text-align: right;
    min-width: 45px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.text-image-cta__spec-item:hover .text-image-cta__spec-value {
    color: #EF7D00 !important;
}

.text-image-cta__spec-item:first-child .text-image-cta__spec-label {
    color: #EF7D00;
}

.text-image-cta__spec-item:first-child .text-image-cta__spec-value {
    color: #EF7D00;
    font-weight: 600;
}

.text-image-cta__spec-bottom-text {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.2px;
    margin-top: 24px;
    color: #162E44;
}

.text-image-cta__spec-bottom-text p {
    margin: 0 0 12px 0;
}

.text-image-cta__spec-bottom-text p:last-child {
    margin-bottom: 0;
}

/* Layout Variants */
/* Default: Text Left / Image Right */
.text-image-cta--text-left .text-image-cta__container {
    grid-template-areas: "content image";
}

.text-image-cta--text-left .text-image-cta__content {
    grid-area: content;
}

.text-image-cta--text-left .text-image-cta__image-wrapper {
    grid-area: image;
}

/* Flipped: Image Left / Text Right */
.text-image-cta--text-right .text-image-cta__container {
    grid-template-areas: "image content";
}

.text-image-cta--text-right .text-image-cta__content {
    grid-area: content;
}

.text-image-cta--text-right .text-image-cta__image-wrapper {
    grid-area: image;
}

/* Tablet */
@media (max-width: 1024px) {
    .text-image-cta {
        padding: 60px 0;
    }

    .text-image-cta__container {
        padding: 0 32px;
        gap: 60px;
        grid-template-columns: 1fr 1fr;
    }

    .text-image-cta__content {
        gap: 20px;
        max-width: 400px;
    }

    .text-image-cta__headline {
        font-size: 17px;
    }

    .text-image-cta__body {
        font-size: 15px;
    }

    .text-image-cta__cta {
        margin-top: 12px;
    }

    .text-image-cta__cta span {
        font-size: 18px;
    }

    .text-image-cta__cta-icon {
        width: 24px;
        height: 16px;
    }

    .text-image-cta__image-wrapper {
        height: 500px;
        max-width: 450px;
    }

    .text-image-cta__specifications {
        max-width: 550px;
        padding: 28px 24px;
    }

    .text-image-cta__spec-heading {
        font-size: 22px;
        letter-spacing: -0.55px;
    }

    .text-image-cta__spec-icon {
        width: 24px;
        height: 16px;
    }

    .text-image-cta__spec-header {
        margin-bottom: 28px;
        gap: 10px;
    }

    .text-image-cta__spec-list {
        gap: 14px;
    }

    .text-image-cta__spec-item {
        min-height: 36px;
        padding: 0 6px 0 0;
    }

    .text-image-cta__spec-label {
        font-size: 13px;
        letter-spacing: -0.325px;
        padding: 8px 7px;
    }

    .text-image-cta__spec-values {
        gap: 28px;
    }

    .text-image-cta__spec-value {
        font-size: 13px;
        letter-spacing: -0.325px;
        min-width: 40px;
    }

    .text-image-cta__spec-bottom-text {
        margin-top: 20px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .text-image-cta {
        padding: 50px 0;
    }

    .text-image-cta__container {
        padding: 0 20px;
        grid-template-columns: 1fr;
        grid-template-areas: "content" "image" !important;
        gap: 40px;
    }

    .text-image-cta__image-wrapper {
        height: auto;
        min-height: 300px;
        max-width: 100%;
    }

    .text-image-cta__image {
        height: auto;
        min-height: 300px;
    }

    .text-image-cta__content {
        gap: 18px;
        max-width: 100%;
    }

    .text-image-cta__headline {
        font-size: 16px;
    }

    .text-image-cta__body {
        font-size: 14px;
    }

    .text-image-cta__cta {
        margin-top: 10px;
    }

    .text-image-cta__cta span {
        font-size: 16px;
    }

    .text-image-cta__cta-icon {
        width: 24px;
        height: 16px;
    }

    .text-image-cta__image {
        border-radius: 12px;
    }

    .text-image-cta__specifications {
        max-width: 100%;
        padding: 24px 20px;
        border-radius: 14px;
    }

    .text-image-cta__spec-heading {
        font-size: 20px;
        letter-spacing: -0.5px;
    }

    .text-image-cta__spec-icon {
        width: 22px;
        height: 15px;
    }

    .text-image-cta__spec-header {
        margin-bottom: 24px;
        gap: 10px;
    }

    .text-image-cta__spec-list {
        gap: 12px;
    }

    .text-image-cta__spec-item {
        min-height: 34px;
        padding: 0 6px 0 0;
    }

    .text-image-cta__spec-label {
        font-size: 12px;
        letter-spacing: -0.3px;
        padding: 8px 7px;
    }

    .text-image-cta__spec-values {
        gap: 20px;
    }

    .text-image-cta__spec-value {
        font-size: 12px;
        letter-spacing: -0.3px;
        min-width: 35px;
    }

    .text-image-cta__spec-bottom-text {
        margin-top: 18px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .text-image-cta {
        padding: 40px 0;
    }

    .text-image-cta__container {
        padding: 0 16px;
        gap: 32px;
    }

    .text-image-cta__content {
        gap: 16px;
    }

    .text-image-cta__headline {
        font-size: 15px;
    }

    .text-image-cta__body {
        font-size: 13px;
    }

    .text-image-cta__cta span {
        font-size: 14px;
    }

    .text-image-cta__cta-icon {
        width: 22px;
        height: 15px;
    }

    .text-image-cta__image-wrapper {
        height: auto;
        min-height: 250px;
        max-width: 100%;
    }

    .text-image-cta__specifications {
        padding: 20px 16px;
        border-radius: 12px;
    }

    .text-image-cta__spec-heading {
        font-size: 18px;
        letter-spacing: -0.45px;
    }

    .text-image-cta__spec-icon {
        width: 20px;
        height: 14px;
    }

    .text-image-cta__spec-header {
        margin-bottom: 20px;
        gap: 8px;
    }

    .text-image-cta__spec-list {
        gap: 10px;
    }

    .text-image-cta__spec-item {
        min-height: 32px;
        padding: 0 5px 0 0;
    }

    .text-image-cta__spec-label {
        font-size: 11px;
        letter-spacing: -0.275px;
        padding: 8px 6px;
    }

    .text-image-cta__spec-values {
        gap: 16px;
    }

    .text-image-cta__spec-value {
        font-size: 11px;
        letter-spacing: -0.275px;
        min-width: 30px;
    }

    .text-image-cta__spec-bottom-text {
        margin-top: 16px;
    }
}

/* Editor Preview */
.editor-preview.text-image-cta {
    padding: 40px 0;
}

.editor-preview .text-image-cta__container {
    padding: 0 20px;
    gap: 40px;
    grid-template-columns: 1fr 1fr;
}

.editor-preview .text-image-cta__content {
    max-width: 400px;
}

.editor-preview .text-image-cta__headline {
    font-size: 16px;
}

.editor-preview .text-image-cta__body {
    font-size: 14px;
}

.editor-preview .text-image-cta__cta span {
    font-size: 18px;
}

.editor-preview .text-image-cta__cta-icon {
    width: 24px;
    height: 16px;
}

.editor-preview .text-image-cta__image-wrapper {
    height: 450px;
    max-width: 450px;
}

.editor-preview .text-image-cta__specifications {
    max-width: 450px;
    padding: 24px 20px;
}

.editor-preview .text-image-cta__spec-heading {
    font-size: 20px;
    letter-spacing: -0.5px;
}

.editor-preview .text-image-cta__spec-icon {
    width: 22px;
    height: 15px;
}

.editor-preview .text-image-cta__spec-header {
    margin-bottom: 24px;
    gap: 10px;
}

.editor-preview .text-image-cta__spec-list {
    gap: 12px;
}

.editor-preview .text-image-cta__spec-item {
    min-height: 34px;
}

.editor-preview .text-image-cta__spec-label {
    font-size: 12px;
    letter-spacing: -0.3px;
    padding: 8px 7px;
}

.editor-preview .text-image-cta__spec-value {
    font-size: 12px;
    letter-spacing: -0.3px;
    min-width: 35px;
}

.editor-preview .text-image-cta__spec-bottom-text {
    margin-top: 18px;
}


/* Full width alignment */
.alignfull.text-image-cta {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Wide alignment */
.alignwide.text-image-cta {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}
