/* =========================
   TEXT IMG STYLES (Bootstrap)
========================= */

/* Contenitore principale del blocco */
.text-img-block {
    background-color: #2db59f;
    padding: 60px 40px;
    min-height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

/* Container principale */
.container-site {
    max-width: 1200px;
    margin: 0 auto;
}

/* Titolo del blocco */
.text-img-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 1.5rem !important;
}

/* Descrizione */
.text-img-description {
    font-size: 19px;
    font-style: normal;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 2rem !important;
}

/* CTA Button */
.text-img-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #ffffff;
    color: #2db59f;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.text-img-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Logo del blocco */
.text-img-logo {
    width: 160px;
    height: auto;
    object-fit: contain;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Placeholder per logo mancante */
.text-img-placeholder {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Classi per colori di sfondo personalizzati */
.bg-green {
    background-color: #2db59f !important;
}

.bg-white {
    background-color: #ffffff !important;
}

/* Responsive */
@media (max-width: 992px) {
    .text-img-block {
        padding: 40px 20px;
    }

    .text-img-title {
        font-size: 36px;
    }

    .text-img-description {
        font-size: 18px;
    }

    .text-img-btn {
        padding: 0.75rem 1.5rem;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .text-img-title {
        font-size: 28px;
    }

    .text-img-description {
        font-size: 16px;
    }

    .text-img-btn {
        padding: 0.5rem 1rem;
        font-size: 14px;
    }
}