/**
 * Text Block Styles
 * Prefix: tb-
 */

/* Text content prose styling */
.tb-text {
    color: #4b5563;
}

.tb-text p {
    margin-bottom: 1rem;
}

.tb-text p:last-child {
    margin-bottom: 0;
}

.tb-text a {
    color: #2bb446;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tb-text a:hover {
    color: #239038;
}

.tb-text strong {
    color: #111827;
    font-weight: 600;
}

.tb-text ul,
.tb-text ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.tb-text li {
    margin-bottom: 0.5rem;
}

.tb-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin: 1.5rem 0 0.75rem;
}

.tb-text blockquote {
    border-left: 4px solid #2bb446;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: #f0fdf4;
    border-radius: 0 8px 8px 0;
    color: #374151;
}

.tb-text blockquote:first-child {
    margin-top: 0;
}

.tb-text blockquote p:last-child {
    margin-bottom: 0;
}

/* Button on image */
.tb-image-btn {
    position: absolute !important;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, #2bb446 0%, #239038 100%);
    color: white;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 14px 32px;
    border: none;
    border-radius: 0 12px 0 0;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(43, 180, 70, 0.4);
    transition: all 0.2s ease;
    z-index: 10;
}

.tb-image-btn:hover {
    background: linear-gradient(135deg, #239038 0%, #1d7a2e 100%);
    box-shadow: 0 6px 20px rgba(43, 180, 70, 0.5);
}

@media (min-width: 1024px) {
    .tb-text {
        line-height: 1.75;
    }

    .tb-text p {
        margin-bottom: 1.25rem;
    }

    .tb-image-btn {
        font-size: 15px;
        padding: 16px 40px;
    }
}
