/* ===== Posts Show Page Styles ===== */

/* Detail wrapper 順序調整 */
#detail-wrapper {
    flex: 2 !important;
    order: -1 !important;
}

#content-container {
    flex: 1 !important;
}

/* 文字行數限制 */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 分享提示樣式 */
.share-toast {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background-color: #10b981;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 50;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.share-toast.opacity-100 {
    opacity: 1;
}

.main-content {
    background-color:unset !important;
}
