/* ========================================
   Mojimoji World - 頁腳與響應式
   ======================================== */

/* 頁腳 */
.site-footer {
    background: var(--paper);
    border-top: 1px solid var(--rule);
    padding: var(--space-5) 0;
    margin-top: auto;
}

.site-footer p {
    text-align: center;
    color: var(--ink-muted);
    font-size: var(--text-sm);
    margin: 0;
}

/* 響應式設計 */
@media (max-width: 767.98px) {
    :root {
        --text-4xl: 2rem;
        --text-3xl: 1.75rem;
        --text-2xl: 1.5rem;
    }
    
    .article-content {
        font-size: var(--text-base);
    }
    
    .article-content blockquote {
        font-size: var(--text-lg);
        padding-left: var(--space-3);
    }
}

/* 列印樣式 */
@media print {
    .navbar, .sidebar, .site-footer, .breadcrumb {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
    }
    
    .article-content .heading-anchor {
        display: none !important;
    }
    
    .article-content a {
        color: inherit;
        text-decoration: none;
    }
    
    .article-content a::after {
        content: ' (' attr(href) ')';
        font-size: 0.8em;
        color: var(--ink-muted);
    }
}
