/* Post Content Widget Style */
.widget-post-content {
    background: var(--layout-white);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    width: 100%;
    min-width: 0;
    /* Safari flex 아이템 내 이미지 팽창 버그 방지 */
    word-break: break-word;
}

.widget-post-content .post-content-body {
    padding: 20px;
}

.widget-post-content .post-featured-image {
    margin: -20px -20px 20px -20px;
    height: 250px;
    overflow: hidden;
}

.widget-post-content .post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.widget-post-content:hover .post-featured-image img {
    transform: scale(1.05);
}

.widget-post-content .post-text-content {
    font-size: 15px;
    line-height: 1.7;
    color: var(--layout-gray-700);
    margin: -20px -20px 0px -20px;
    height: auto;
    overflow: hidden;
    width: calc(100% + 40px);
    /* Safari가 음수 margin에서 넓이를 오계산하는 것 방지 */
    box-sizing: border-box;
}

.widget-post-content .post-text-content figure,
.widget-post-content .post-text-content p {
    margin: 0;
    max-width: 100%;
}

.widget-post-content .post-text-content img {
    max-width: 100%;
    height: auto !important;
    border-radius: 0;
    margin: 10px 0;
    display: block;
    /* Safari inline-block width 버그 우회 */
    box-sizing: border-box;
}

.widget-post-content .post-meta-footer {
    border-top: 1px solid var(--layout-gray-100);
    padding-top: 15px;
    text-align: right;
}

.widget-post-content .btn-more-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    font-size: 14px;
    color: var(--color-prime);
    text-decoration: none;
    transition: all 0.3s;
}

.widget-post-content .btn-more-link:hover {
    gap: 10px;
}

/* Empty/Error State */
.widget-post-content .widget-empty,
.widget-post-content .widget-error {
    padding: 30px;
    text-align: center;
    color: var(--layout-gray-500);
    background: var(--layout-gray-50);
    border: 1px dashed var(--layout-gray-300);
    border-radius: 8px;
    font-size: 14px;
}