/**
 * 部落格總覽頁樣式（自舊站 WP「blog 總覽頁用.php」V19.2 內嵌 <style> 原樣搬移）
 * 全部選擇器 scope 在 .mbti-blog-section 底下，不影響其他頁面。
 */
.mbti-article-tag[data-slug^="lang-"] { display: none !important; }
        .mbti-blog-section { --cream: #FDF8F3; --warm-white: #FFFBF7; --text-main: #363b3f; --text-light: #5a5f63; --sage: #8B9A82; --sage-dark: #6B7A62; --terracotta: #C4846C; --light-gray: #E8E4E0; --accent-gold: #D4A574; --dot-1: #E4745E; --dot-2: #4E6E61; --dot-3: #4C6B8C; --dot-4: #8FA67A; font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--cream); overflow-x: hidden; color: var(--text-main); } .mbti-blog-section * { color: inherit; } .mbti-blog-section::before { content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-image: radial-gradient(circle at 20% 80%, rgba(139, 154, 130, 0.08) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(196, 132, 108, 0.08) 0%, transparent 50%); opacity: 0.5; pointer-events: none; z-index: -1; } .mbti-hero-section { max-width: 1400px; margin: 0 auto; padding: 60px 4rem 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; min-height: 520px; } .mbti-hero-content { animation: mbti-fadeInUp 0.8s ease-out; } .mbti-hero-tagline { font-size: 0.85rem; letter-spacing: 0.3em; color: var(--sage); margin-bottom: 1.5rem; text-transform: uppercase; } .mbti-hero-title { font-family: 'Noto Serif TC', serif; font-size: 3rem; font-weight: 700; line-height: 1.3; color: var(--text-main); margin-bottom: 1.5rem; } .mbti-hero-title .highlight { background: linear-gradient(135deg, var(--terracotta) 0%, var(--accent-gold) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .mbti-slide-container { position: relative; min-height: 220px; height: 220px; } .mbti-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; opacity: 0; transition: opacity 0.8s ease-in-out; pointer-events: none; } .mbti-slide.active { opacity: 1; pointer-events: auto; } .mbti-slide-description { font-size: 1.1rem; color: var(--text-light); line-height: 1.9; margin-bottom: auto; flex: 1; display: flex; align-items: flex-start; min-height: 100px; } .mbti-cta-wrapper { position: absolute; bottom: 0; left: 0; width: 100%; padding-top: 1rem; } .mbti-hero-cta { display: inline-flex; align-items: center; gap: 0.8rem; padding: 1.1rem 2.2rem; background: var(--text-main); color: white !important; text-decoration: none !important; border-radius: 50px; font-weight: 500; font-size: 1.05rem; border: none; cursor: pointer; animation: mbti-breathe 3s ease-in-out infinite; transition: background 0.3s ease, box-shadow 0.3s ease; } .mbti-hero-cta:hover { background: var(--sage-dark); box-shadow: 0 10px 30px rgba(107, 122, 98, 0.3); animation-play-state: paused; } .mbti-hero-cta svg { transition: transform 0.3s ease; stroke: white; } .mbti-hero-cta:hover svg { transform: translateX(4px); } @keyframes mbti-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } } .mbti-slide-indicators { display: flex; gap: 0.6rem; margin-top: 1.2rem; } .mbti-indicator { width: 12px; height: 12px; border-radius: 50%; cursor: pointer; transition: all 0.4s ease; opacity: 0.5; } .mbti-indicator:nth-child(1) { background: var(--dot-1); } .mbti-indicator:nth-child(2) { background: var(--dot-2); } .mbti-indicator:nth-child(3) { background: var(--dot-3); } .mbti-indicator:nth-child(4) { background: var(--dot-4); } .mbti-indicator.active { opacity: 1; transform: scale(1.3); box-shadow: 0 2px 8px rgba(0,0,0,0.2); } .mbti-indicator:hover { opacity: 0.8; transform: scale(1.15); } .mbti-hero-visual { position: relative; animation: mbti-fadeInUp 0.8s ease-out 0.2s both; } .mbti-card-groups-container { position: relative; width: 100%; aspect-ratio: 4/3; min-height: 400px; } .mbti-card-group { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.8s ease-in-out; pointer-events: none; } .mbti-card-group.active { opacity: 1; pointer-events: auto; } .mbti-floating-card { position: absolute; border-radius: 16px; padding: 1.2rem; box-shadow: 0 15px 40px rgba(0,0,0,0.12); transition: transform 0.4s ease; color: white !important; min-width: 200px; } .mbti-floating-card * { color: white !important; } .mbti-floating-card:nth-child(1) { width: 52%; top: 0; left: 0; z-index: 4; } .mbti-floating-card:nth-child(2) { width: 48%; top: 12%; right: 0; z-index: 3; } .mbti-floating-card:nth-child(3) { width: 50%; bottom: 22%; left: 5%; z-index: 2; } .mbti-floating-card:nth-child(4) { width: 46%; bottom: 2%; right: 5%; z-index: 1; } .mbti-card-type { font-size: 0.7rem; letter-spacing: 0.15em; opacity: 0.85; margin-bottom: 0.3rem; text-transform: uppercase; } .mbti-card-name { font-family: 'Noto Serif TC', serif; font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; } .mbti-card-motto { font-size: 0.85rem; line-height: 1.5; opacity: 0.9; } .mbti-card-group.active:hover .mbti-floating-card:nth-child(1) { transform: translate(-8px, -8px) rotate(-2deg); } .mbti-card-group.active:hover .mbti-floating-card:nth-child(2) { transform: translate(8px, -5px) rotate(2deg); } .mbti-card-group.active:hover .mbti-floating-card:nth-child(3) { transform: translate(-5px, 5px) rotate(-1deg); } .mbti-card-group.active:hover .mbti-floating-card:nth-child(4) { transform: translate(5px, 8px) rotate(1deg); } .mbti-card-group[data-group="nf"] .mbti-floating-card:nth-child(1) { background: #A54B44; } .mbti-card-group[data-group="nf"] .mbti-floating-card:nth-child(2) { background: #E4745E; } .mbti-card-group[data-group="nf"] .mbti-floating-card:nth-child(3) { background: #E4D18A; color: #363b3f !important; } .mbti-card-group[data-group="nf"] .mbti-floating-card:nth-child(3) * { color: #363b3f !important; } .mbti-card-group[data-group="nf"] .mbti-floating-card:nth-child(4) { background: #36383F; } .mbti-card-group[data-group="nt"] .mbti-floating-card:nth-child(1) { background: #233A40; } .mbti-card-group[data-group="nt"] .mbti-floating-card:nth-child(2) { background: #4E6E61; } .mbti-card-group[data-group="nt"] .mbti-floating-card:nth-child(3) { background: #8D9FA1; } .mbti-card-group[data-group="nt"] .mbti-floating-card:nth-child(4) { background: #CFC9BF; color: #363b3f !important; } .mbti-card-group[data-group="nt"] .mbti-floating-card:nth-child(4) * { color: #363b3f !important; } .mbti-card-group[data-group="sp"] .mbti-floating-card:nth-child(1) { background: #354C6B; } .mbti-card-group[data-group="sp"] .mbti-floating-card:nth-child(2) { background: #4C6B8C; } .mbti-card-group[data-group="sp"] .mbti-floating-card:nth-child(3) { background: #B18E8C; } .mbti-card-group[data-group="sp"] .mbti-floating-card:nth-child(4) { background: #E6C786; color: #363b3f !important; } .mbti-card-group[data-group="sp"] .mbti-floating-card:nth-child(4) * { color: #363b3f !important; } .mbti-card-group[data-group="sj"] .mbti-floating-card:nth-child(1) { background: #36383F; } .mbti-card-group[data-group="sj"] .mbti-floating-card:nth-child(2) { background: #A54B44; } .mbti-card-group[data-group="sj"] .mbti-floating-card:nth-child(3) { background: #8FA67A; } .mbti-card-group[data-group="sj"] .mbti-floating-card:nth-child(4) { background: #C5D0E2; color: #363b3f !important; } .mbti-card-group[data-group="sj"] .mbti-floating-card:nth-child(4) * { color: #363b3f !important; } .mbti-section-header { padding: 3rem 4rem 2rem; max-width: 1400px; margin: 0 auto; } .mbti-section-label { display: inline-flex; align-items: center; gap: 0.8rem; font-size: 0.8rem; letter-spacing: 0.2em; color: var(--terracotta); text-transform: uppercase; margin-bottom: 0.8rem; } .mbti-section-label::before { content: ''; width: 30px; height: 2px; background: var(--terracotta); } .mbti-section-title { font-family: 'Noto Serif TC', serif; font-size: 2rem; font-weight: 600; color: var(--text-main); } .mbti-articles-header { max-width: 900px; margin: 0 auto; text-align: center; padding: 40px 2rem; } .mbti-articles-title { font-family: 'Noto Serif TC', serif; font-size: 2.5rem; font-weight: 700; line-height: 1.3; color: var(--text-main); margin-bottom: 1rem; } .mbti-articles-desc { font-size: 1.05rem; color: var(--text-light); max-width: 600px; margin: 0 auto; line-height: 1.8; } .mbti-articles-grid { max-width: 1400px; margin: 0 auto; padding: 0 4rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; } .mbti-article-card { background: white; border-radius: 20px; overflow: hidden; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); text-decoration: none !important; display: block; } .mbti-article-card:hover { transform: translateY(-10px); box-shadow: 0 25px 50px rgba(0,0,0,0.12); } .mbti-article-image { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--light-gray); } .mbti-article-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; } .mbti-article-card:hover .mbti-article-image img { transform: scale(1.08); } .mbti-article-tag { position: absolute; bottom: 1rem; left: 1rem; padding: 0.4rem 1rem; background: rgba(255, 255, 255, 0.8); border-radius: 50px; font-size: 0.75rem; font-weight: 600; color: var(--sage-dark); box-shadow: 0 4px 15px rgba(0,0,0,0.1); text-decoration: none !important; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); } .mbti-article-content { padding: 1.5rem; } .mbti-article-meta { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.6rem; font-size: 0.8rem; color: var(--text-light); } .mbti-article-meta-dot { width: 4px; height: 4px; background: var(--light-gray); border-radius: 50%; } .mbti-article-title-text { font-family: 'Noto Serif TC', serif; font-size: 1.05rem; font-weight: 600; color: var(--text-main); line-height: 1.5; margin-bottom: 0.5rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.3s ease; } .mbti-article-card:hover .mbti-article-title-text { color: var(--terracotta); } .mbti-article-excerpt { font-size: 0.85rem; color: var(--text-light); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .mbti-read-more { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem; font-size: 0.85rem; font-weight: 500; color: var(--sage-dark); text-decoration: none !important; transition: all 0.3s ease; } .mbti-read-more svg { transition: transform 0.3s ease; } .mbti-article-card:hover .mbti-read-more { color: var(--terracotta); } .mbti-article-card:hover .mbti-read-more svg { transform: translateX(4px); } .mbti-pagination { display: flex; justify-content: center; align-items: center; gap: 0.5rem; padding: 3rem 2rem 1rem; flex-wrap: wrap; } .mbti-pagination a, .mbti-pagination span { display: flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 1rem; background: white; border: 2px solid transparent; border-radius: 12px; font-size: 0.95rem; font-weight: 500; color: var(--text-light); text-decoration: none !important; transition: all 0.3s ease; } .mbti-pagination a:hover { border-color: var(--sage); color: var(--text-main); } .mbti-pagination .current { background: var(--text-main); color: white; } .mbti-pagination .prev, .mbti-pagination .next { background: transparent; border: 2px solid var(--light-gray); } .mbti-pagination .prev:hover, .mbti-pagination .next:hover { background: var(--text-main); border-color: var(--text-main); color: white; } .mbti-pagination .dots { background: transparent; border: none; } .mbti-faq-section { max-width: 900px; margin: 4rem auto; padding: 0 2rem; } .mbti-faq-title { font-family: 'Noto Serif TC', serif; font-size: 1.8rem; font-weight: 600; color: var(--text-main); text-align: center; margin-bottom: 2rem; } .mbti-faq-item { background: white; border-radius: 16px; margin-bottom: 1rem; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.04); } .mbti-faq-question { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; cursor: pointer; font-weight: 600; color: var(--text-main); font-size: 1rem; line-height: 1.5; transition: background 0.3s ease; } .mbti-faq-question:hover { background: var(--cream); } .mbti-faq-icon { width: 24px; height: 24px; flex-shrink: 0; margin-left: 1rem; transition: transform 0.3s ease; color: var(--text-main); } .mbti-faq-item.active .mbti-faq-icon { transform: rotate(180deg); } .mbti-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; } .mbti-faq-item.active .mbti-faq-answer { max-height: 500px; } .mbti-faq-answer-content { padding: 0 1.5rem 1.5rem; color: var(--text-light); line-height: 1.8; font-size: 0.95rem; } @keyframes mbti-fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } @media (max-width: 1024px) { .mbti-hero-section { grid-template-columns: 1fr; text-align: center; padding: 50px 2rem 30px; gap: 2rem; } .mbti-hero-title { font-size: 2.5rem; } .mbti-slide-container { height: 200px; min-height: 200px; } .mbti-slide-description { max-width: 600px; margin: 0 auto; justify-content: center; } .mbti-cta-wrapper { display: flex; justify-content: center; } .mbti-slide-indicators { justify-content: center; } .mbti-hero-visual { max-width: 500px; margin: 0 auto; } .mbti-card-groups-container { min-height: 320px; } .mbti-section-header { padding: 2rem; } .mbti-articles-grid { grid-template-columns: repeat(2, 1fr); padding: 0 2rem; gap: 1.5rem; } } @media (max-width: 768px) { .mbti-hero-section { padding: 40px 1.5rem 20px; } .mbti-hero-tagline { font-size: 0.75rem; } .mbti-hero-title { font-size: 2rem; } .mbti-slide-container { height: 180px; min-height: 180px; } .mbti-slide-description { font-size: 1rem; min-height: 80px; } .mbti-hero-cta { padding: 1rem 1.8rem; font-size: 1rem; } .mbti-hero-visual { display: block; max-width: 100%; } .mbti-card-groups-container { min-height: auto; aspect-ratio: auto; padding: 0; position: relative; } .mbti-card-group { position: absolute; top: 0; left: 0; width: 100%; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; opacity: 0; transition: opacity 0.8s ease-in-out; pointer-events: none; } .mbti-card-group.active { position: relative; opacity: 1; pointer-events: auto; } .mbti-floating-card { position: relative !important; top: auto !important; left: auto !important; right: auto !important; bottom: auto !important; width: 100% !important; padding: 1rem; min-width: auto; min-height: 110px; transform: none !important; } .mbti-card-group.active:hover .mbti-floating-card { transform: none !important; } .mbti-card-name { font-size: 0.95rem; } .mbti-card-motto { font-size: 0.75rem; line-height: 1.4; } .mbti-card-type { font-size: 0.65rem; } .mbti-article-tag { padding: 0.3rem 0.7rem; font-size: 0.65rem; bottom: 0.6rem; left: 0.6rem; } .mbti-section-header { padding: 1.5rem; } .mbti-section-title { font-size: 1.6rem; } .mbti-articles-header { padding: 30px 1.5rem; } .mbti-articles-title { font-size: 1.8rem; } .mbti-articles-desc { font-size: 0.95rem; } .mbti-articles-grid { grid-template-columns: repeat(2, 1fr); padding: 0 1rem; gap: 1rem; } .mbti-article-card:nth-child(n+11) { display: none; } .mbti-article-content { padding: 1rem; } .mbti-article-title-text { font-size: 0.9rem; } .mbti-article-excerpt { display: none; } .mbti-read-more { font-size: 0.8rem; } .mbti-pagination { padding: 2rem 1rem 0; } .mbti-pagination a, .mbti-pagination span { min-width: 38px; height: 38px; font-size: 0.85rem; } .mbti-faq-section { padding: 0 1rem; margin: 3rem auto; } .mbti-faq-title { font-size: 1.5rem; } .mbti-faq-question { padding: 1.2rem; font-size: 0.95rem; } } @media (max-width: 480px) { .mbti-hero-title { font-size: 1.75rem; } .mbti-slide-container { height: 170px; min-height: 170px; } .mbti-slide-description { font-size: 0.95rem; } .mbti-card-groups-container { gap: 10px; } .mbti-card-group { gap: 10px; } .mbti-floating-card { padding: 0.85rem; min-height: 100px; } .mbti-card-name { font-size: 0.88rem; } .mbti-card-motto { font-size: 0.7rem; line-height: 1.35; } .mbti-card-type { font-size: 0.6rem; } .mbti-article-tag { padding: 0.25rem 0.6rem; font-size: 0.6rem; bottom: 0.5rem; left: 0.5rem; } .mbti-articles-grid { grid-template-columns: repeat(2, 1fr); } .mbti-article-excerpt { display: none; } }
