@charset "UTF-8";

body {
    font-family: 'Noto Sans TC', sans-serif;
}

/* 自定義跑馬燈動畫 */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

/* 隱藏捲軸但保留功能 */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* 平滑捲動 */
html {
    scroll-behavior: smooth;
}

/* 蓋板廣告動畫 */
.modal-enter {
    opacity: 0;
    transform: scale(0.9);
}

.modal-enter-active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.modal-exit {
    opacity: 1;
    transform: scale(1);
}

.modal-exit-active {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.2s ease-in, transform 0.2s ease-in;
}

/* 橫向捲動區塊遮罩 - 提示左右還有內容 */
.scroll-mask-right {
    mask-image: linear-gradient(to right, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 90%, transparent 100%);
}

/* 卡片懸停特效 */
.hover-card-zoom:hover img {
    transform: scale(1.1);
}

.hover-card-zoom img {
    transition: transform 0.5s ease;
}

/* 文章詳細頁 - 內容段落樣式 */
.prose p {
    font-size: 1rem;
    text-align: justify;
    letter-spacing: .1em;
}

/* 文章詳細頁 - 標題樣式 */
article h1 {
    font-weight: 700;
}

figcaption{
    text-align: left;
    font-size: 0.88rem !important;
    color: #666;
    margin-top: 8px !important;
    line-height: 1.6 !important;
    font-weight: 400;
    font-family: 'Noto Sans TC', sans-serif;
    letter-spacing: 0.05em;
}

figure{
    margin: 1.5rem 0 !important;
}