.url-preview {
    position: relative;
    max-width: 300px;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px;
    margin-bottom: 10px;
}

.url-preview-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.url-preview-content {
    padding: 10px;
}

.url-preview-image {
    width: 100%;
    max-height: 200px; /* 최대 높이를 150px로 제한 */
    object-fit: cover; /* 이미지가 영역을 채우도록 설정 */
    border-radius: 4px;
    margin-bottom: 8px;
}

.url-preview-title {
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
    color: #14171a;
}

.url-preview-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.url-preview-close:hover {
    background: rgba(0, 0, 0, 0.7);
}

.takus_post .url-preview {
    max-width: 300px;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px;
}

.takus_post .url-preview-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.takus_post .url-preview-content {
    padding: 10px;
}

.takus_post .url-preview-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 8px;
}

.takus_post .url-preview-title {
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
    color: #14171a;
}