.tl-widget-container-7ff36a5a {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tl-text-content {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
}

.tl-read-more-btn {
    align-self: flex-start;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    text-decoration: underline;
    font-weight: 600;
}

/* Modal Overlay Styling */
.tl-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

body.admin-bar .tl-modal-overlay {
    top: var(--wp-admin--admin-bar--height, 32px);
    height: calc(100% - var(--wp-admin--admin-bar--height, 32px));
}

@media screen and (max-width: 782px) {
    body.admin-bar .tl-modal-overlay {
        top: 46px;
        height: calc(100% - 46px);
    }
}

.tl-modal-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

.tl-modal-container {
    background-color: #ffffff;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.tl-modal-overlay.is-active .tl-modal-container {
    transform: scale(1);
}

.tl-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #eeeeee;
}

.tl-modal-header-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tl-modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333333;
}

.tl-modal-subtitle {
    margin: 0;
    font-size: 0.875rem;
    color: #666666;
    line-height: 1.3;
}

.tl-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666666;
    padding: 0 4px;
    line-height: 1;
}

.tl-modal-close:hover {
    color: #000000;
}

.tl-modal-body {
    padding: 24px;
    overflow-y: auto;
    font-size: 1rem;
    color: #444444;
    line-height: 1.6;
}
