.containerCustomText {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
    overflow-x: hidden;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #ffffff;
    color: #0d6efd;
    border: 1px solid #0d6efd;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-family: inherit;
    text-decoration: underline;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    margin-left: auto;
    margin-right: auto;
    margin:20px ;
}

.read-more-btn:hover {
    background-color: #0d6efd;
    color: #ffffff;
}

.text-content {
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.text-content * {
    max-width: 100%;
    box-sizing: border-box;
}

.text-content img {
    max-width: 100% !important;
    height: auto !important;
}

.text-content.truncated::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
}

.text-content.expanded {
    max-height: none !important;
}

.text-content .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}