/* 瀑布流列表 (Shortcode) */
.8artist-masonry-container {
    column-count: 3; /* 桌面版 3 欄 */
    column-gap: 20px;
}
.8artist-masonry-item {
    break-inside: avoid;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}
.8artist-masonry-item:hover {
    transform: translateY(-5px);
}
.8artist-masonry-item img {
    width: 100%; height: auto; display: block;
}
.8artist-masonry-item h3 {
    text-align: center; padding: 15px; margin: 0; font-size: 18px;
}

/* 詳情頁 UI */
.8artist-detail-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    font-family: sans-serif;
    color: #333;
}
/* 左右文字平均寬、靠左 */
.8artist-detail-wrapper p, .8artist-detail-wrapper .justify-text {
    text-align: justify;
    text-justify: inter-ideograph;
    font-size: 14px; /* 小型字 14px */
    line-height: 1.8;
}
.8artist-detail-wrapper h1, .8artist-detail-wrapper h2, .8artist-detail-wrapper h3 {
    text-align: left;
    font-size: 20px; /* 大型字 18-20px */
    color: #2c3e50;
    margin-bottom: 15px;
}

/* 按鈕美化 */
.8artist-btn {
    display: inline-block;
    padding: 8px 15px;
    margin: 5px 5px 5px 0;
    background: #3498db;
    color: #fff !important;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}
.8artist-btn:hover {
    background: #2980b9;
    /* Emoji 浮動小動畫 */
    transform: scale(1.05);
}

/* 作品區塊 (Grid) */
.8artist-artworks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.8artist-art-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
    background: #fafafa;
}
.8artist-art-card img {
    width: 100%; height: auto; border-radius: 5px;
}

.qr-code-img {
    max-width: 150px; border: 1px solid #ddd; border-radius: 10px; padding: 5px;
}

/* RWD 行動版自適應 */
@media (max-width: 768px) {
    .8artist-masonry-container { column-count: 2; }
}
@media (max-width: 480px) {
    .8artist-masonry-container { column-count: 1; }
    .8artist-artworks-grid { grid-template-columns: 1fr; }
}