/*
 Theme Name:   Blocksy Child
 Theme URI:    https://yo.0800.help/
 Description:  Blocksy Child Theme for Dribs & Drabs
 Author:       xiaotian
 Template:     blocksy
 Version:      1.2.0
 Text Domain:  blocksy-child
*/

:root {
    --dd-text: #555;
    --dd-heading: #333;
    --dd-accent: #999;
    --dd-light: #b8b5b0;
    --dd-bg: #fff;
    --dd-light-bg: #f0edea;
    --dd-border: #e0ddd8;
}

body { font-family: 'Noto Sans TC', sans-serif; color: var(--dd-text); }
.site-main > .ct-container { max-width: 80% !important; }
@media (max-width: 768px) { .site-main > .ct-container { max-width: 92% !important; } }

/* ===== HEADER ===== */
header#header { background: #fff !important; border-bottom: 1px solid var(--dd-border); padding: 0 !important; }
header#header [data-row="middle"] { padding: 6px 0 !important; }
.site-title a, .site-title { font-family: 'Cinzel Decorative', serif !important; font-size: 26px !important; font-weight: 400 !important; color: var(--dd-text) !important; letter-spacing: 4px; text-decoration: none !important; }
header [class*="menu"] > li > a { font-family: 'Noto Sans TC', sans-serif !important; font-size: 11.5px !important; font-weight: 600 !important; color: var(--dd-text) !important; letter-spacing: 2px !important; }
header [class*="menu"] > li > a:hover { color: var(--dd-heading) !important; }

/* ===== HERO ===== */
.hero-banner { position: relative; width: 100vw; height: 75vh; min-height: 500px; max-height: 720px; overflow: visible; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); background-size: cover; background-position: center; background-repeat: no-repeat; background-attachment: fixed; }
.hero-banner > img { display: none; }
.hero-banner .hero-overlay { position: absolute; left: 80px; top: 45%; transform: translateY(-50%); color: #fff; writing-mode: vertical-rl; font-family: 'Noto Serif TC', serif; font-size: 24px; letter-spacing: 16px; text-shadow: 0 2px 15px rgba(0,0,0,0.4); }
.hero-banner .hero-signature { position: absolute; left: 45px; bottom: 40px; font-family: 'Herr Von Muellerhoff', cursive; font-size: 95px; color: rgba(255,255,255,0.85); text-shadow: 0 3px 18px rgba(0,0,0,0.3); line-height: 1; }
.hero-wave { position: absolute; bottom: 0; left: 0; width: 100%; z-index: 4; pointer-events: none; }
.hero-wave svg { display: block; width: 100%; height: 100px; }

/* ===== ABOUT SECTION ===== */
.dd-about-section { max-width: 80%; margin: 0 auto; padding: 60px 0; position: relative; }
.dd-front-page .dd-about-section { max-width: 1000px; margin: 0 auto; padding: 60px 50px 80px; background: transparent; }
.dd-front-page .dd-about-wrap { background: var(--dd-light-bg); padding-bottom: 1px; margin-top: -60px; position: relative; z-index: 3; }
.dd-about-text p { text-align: justify; }
.dd-about-inner { display: flex; align-items: center; gap: 50px; }
.dd-about-left { flex: 1; display: flex; gap: 25px; }
.dd-about-sidebar { writing-mode: vertical-rl; display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; }
.dd-about-star { font-size: 12px; color: var(--dd-light); }
.dd-about-vertical-text { font-family: 'Noto Serif TC', serif; font-size: 14px; color: var(--dd-light); letter-spacing: 6px; }
.dd-about-divider-v { width: 1px; height: 40px; background: var(--dd-border); flex-shrink: 0; }
.dd-about-vertical-eng { font-family: 'Cinzel', serif; font-size: 10px; color: var(--dd-light); letter-spacing: 3px; writing-mode: vertical-lr; }
.dd-about-text { flex: 1; }
.dd-about-text p { font-size: 14px; line-height: 2; color: var(--dd-text); margin-bottom: 16px; }
.dd-about-btns { display: flex; gap: 12px; margin-top: 20px; }
.dd-btn-outline { display: inline-flex; align-items: center; gap: 6px; padding: 8px 20px; border: 1px solid var(--dd-border); color: var(--dd-accent); font-size: 13px; text-decoration: none; border-radius: 2px; transition: all 0.3s; }
.dd-btn-outline:hover { border-color: var(--dd-text); color: var(--dd-text); }
.dd-btn-fill { display: inline-flex; align-items: center; gap: 6px; padding: 10px 22px; background: var(--dd-light); color: #fff; font-size: 13px; text-decoration: none; border-radius: 3px; border: none; transition: all 0.3s; letter-spacing: 1px; }
.dd-btn-fill:hover { background: var(--dd-text); color: #fff; }
.dd-about-right { flex-shrink: 0; }
.dd-about-photo { width: 300px; height: 300px; border-radius: 50%; overflow: hidden; }
.dd-about-photo img { width: 100%; height: 100%; object-fit: cover; }
.dd-about-social { display: flex; flex-direction: column; gap: 14px; align-items: center; flex-shrink: 0; margin-right: 10px; }
.dd-about-social a { width: 36px; height: 36px; border-radius: 50%; background: var(--dd-light); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; text-decoration: none; transition: background 0.3s; }
.dd-about-social a:hover { background: var(--dd-text); }

/* ===== POSTS: zigzag layout ===== */
.dd-posts-section { max-width: 1200px; margin: 0 auto; padding: 60px 20px; position: relative; }
.dd-posts-header { text-align: center; margin-bottom: 50px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.dd-posts-star { font-size: 12px; color: var(--dd-light); }
.dd-posts-titles { display: flex; align-items: flex-start; gap: 10px; }
.dd-posts-divider-v { width: 1px; height: 80px; background: var(--dd-border); margin-top: 4px; }
.dd-posts-title-zh { font-family: 'Noto Serif TC', serif; font-size: 18px; color: var(--dd-heading); letter-spacing: 6px; writing-mode: vertical-rl; }
.dd-posts-title-en { font-family: 'Cinzel', serif; font-size: 13px; color: var(--dd-light); letter-spacing: 4px; writing-mode: vertical-lr; }

.dd-post-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 50px; align-items: start; position: relative; padding-top: 30px; }
.dd-post-row .dd-post-date { position: absolute; top: -8px; font-family: 'Cinzel', serif; font-size: 13px; color: var(--dd-light); }
.dd-post-left .dd-post-date { left: 0; }
.dd-post-left .dd-post-date::after { content: ''; display: inline-block; width: 60px; height: 1px; background: var(--dd-border); vertical-align: middle; margin-left: 12px; }
.dd-post-right .dd-post-date { right: 0; text-align: right; }
.dd-post-right .dd-post-date::before { content: ''; display: inline-block; width: 60px; height: 1px; background: var(--dd-border); vertical-align: middle; margin-right: 12px; }

.dd-post-left .dd-post-image { grid-column: 1; grid-row: 1 / 3; }
.dd-post-left .dd-post-info { grid-column: 2; grid-row: 1 / 3; padding-top: 30px; }
.dd-post-right .dd-post-image { grid-column: 2; grid-row: 1 / 3; }
.dd-post-right .dd-post-info { grid-column: 1; grid-row: 1 / 3; padding-top: 30px; }

.dd-post-image { display: block; overflow: hidden; }
.dd-post-image img { width: 100%; height: auto; display: block; transition: transform 0.5s; }
.dd-post-image:hover img { transform: scale(1.03); }

.dd-post-cat { font-size: 12px; color: var(--dd-accent); letter-spacing: 1px; }
.dd-post-title { margin: 10px 0; }
.dd-post-title a { font-family: 'Noto Sans TC', sans-serif; font-size: 17px; font-weight: 600; color: var(--dd-heading); line-height: 1.8; text-decoration: none; }
.dd-post-title a:hover { color: #000; }
.dd-post-excerpt { font-size: 13.5px; color: var(--dd-text); line-height: 1.9; margin: 12px 0; }
.dd-post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.dd-tag { font-size: 12px; color: var(--dd-accent); border-bottom: 1px dotted var(--dd-border); padding-bottom: 1px; }

/* ===== TAIWAN INTERACTIVE MAP SECTION ===== */
.dd-tw-section { background: #a8babd; padding: 80px 0; overflow: hidden; }
.dd-tw-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 60px; padding: 0 40px; }
.dd-tw-text { flex: 1; color: #fff; }
.dd-tw-text p { font-family: 'Noto Serif TC', serif; font-size: 16px; line-height: 2.4; letter-spacing: 3px; color: rgba(255,255,255,0.85); margin: 0; }
.dd-tw-map { flex: 1; position: relative; }
.TW_links { position: relative; }
.TW_links img { width: 100%; height: auto; display: block; }
.TW_link { position: absolute; width: 50%; }
.TW_link_L { text-align: right; }
.TW_link > div { display: inline-block; vertical-align: middle; }
.TW_link > div { display: inline-block; vertical-align: middle; }
.TW_link_a a { color: #fff; letter-spacing: 1px; font-size: 15px; background: rgba(255,255,255,0.25); display: inline-block; padding: 2px 18px; border-radius: 50px; line-height: 200%; text-decoration: none; transition: background 0.3s; }
.TW_link:hover .TW_link_a a { background: rgba(255,255,255,0.7); color: var(--dd-heading); }
.TW_link_dot { color: #fff; font-size: 30px; line-height: 1; transition: font-size 0.3s, color 0.3s; }
.TW_link:hover .TW_link_dot { font-size: 42px; color: #fff; }
.TW_link_line { height: 1px; background: rgba(255,255,255,0.5); margin: 0 -4px; transition: background 0.3s; }
.TW_link:hover .TW_link_line { background: #fff; }
.TW_link_en { display: inline; }

.TW_link_3 { top: -2%; right: 26%; }
.TW_link_3 .TW_link_line { width: 20%; }
.TW_link_2 { top: 8%; right: 24%; }
.TW_link_2 .TW_link_line { width: 55%; }
.TW_link_4 { top: 16%; right: 34%; }
.TW_link_4 .TW_link_line { width: 22%; }
.TW_link_5 { top: 24%; right: 38%; }
.TW_link_5 .TW_link_line { width: 50%; }
.TW_link_6 { top: 32%; right: 44%; }
.TW_link_6 .TW_link_line { width: 20%; }
.TW_link_7 { top: 40%; right: 50%; }
.TW_link_7 .TW_link_line { width: 28%; }
.TW_link_8 { top: 48%; right: 56%; }
.TW_link_8 .TW_link_line { width: 22%; }
.TW_link_10 { top: 56%; right: 60%; }
.TW_link_10 .TW_link_line { width: 32%; }
.TW_link_11 { top: 64%; right: 55%; }
.TW_link_11 .TW_link_line { width: 38%; }
.TW_link_12 { top: 72%; right: 62%; }
.TW_link_12 .TW_link_line { width: 20%; }
.TW_link_13 { top: 80%; right: 58%; }
.TW_link_13 .TW_link_line { width: 14%; }
.TW_link_14 { top: 88%; right: 50%; }
.TW_link_14 .TW_link_line { width: 14%; }
.TW_link_1 { top: 0%; left: 74%; }
.TW_link_1 .TW_link_line { width: 12%; }
.TW_link_15 { top: 16%; left: 74%; }
.TW_link_15 .TW_link_line { width: 12%; }
.TW_link_9 { top: 40%; left: 56%; }
.TW_link_9 .TW_link_line { width: 38%; }
.TW_link_16 { top: 56%; left: 66%; }
.TW_link_16 .TW_link_line { width: 12%; }
.TW_link_17 { top: 74%; left: 58%; }
.TW_link_17 .TW_link_line { width: 12%; }

@media (max-width: 1024px) {
    .TW_link_en { display: none; }
    .TW_link_a a { padding: 0 10px; font-size: 12px; }
}
@media (max-width: 768px) {
    .dd-tw-inner { flex-direction: column; gap: 30px; padding: 0 20px; }
    .dd-tw-text { text-align: center; }
    .dd-tw-text p { font-size: 14px; line-height: 2; letter-spacing: 2px; }
    .dd-tw-section { padding: 50px 0; }
}

/* ===== TOPIC SECTION ===== */
.dd-topic-section { display: flex; max-width: 1200px; margin: 0 auto; padding: 80px 20px; gap: 60px; align-items: center; }
.dd-topic-left { flex: 1; position: relative; }
.dd-topic-label-vertical { position: absolute; left: -30px; top: 50%; transform: translateY(-50%) rotate(-90deg); font-family: 'Cinzel', serif; font-size: 11px; color: var(--dd-light); letter-spacing: 4px; white-space: nowrap; }
.dd-topic-left img { width: 100%; height: auto; display: block; }
.dd-topic-caption { text-align: center; margin-top: 10px; font-size: 14px; color: var(--dd-accent); }
.dd-topic-right { flex: 1; }
.dd-topic-big-text { font-family: 'Cinzel', serif; font-size: 100px; color: rgba(0,0,0,0.04); line-height: 1; }
.dd-topic-subtitle { font-family: 'Noto Serif TC', serif; font-size: 16px; color: var(--dd-heading); letter-spacing: 6px; margin-top: -10px; margin-bottom: 30px; }
.dd-topic-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.dd-topic-tag { display: inline-block; padding: 8px 18px; border: 1px solid var(--dd-border); border-radius: 25px; font-size: 13px; color: var(--dd-text); text-decoration: none; transition: all 0.3s; }
.dd-topic-tag:hover { background: var(--dd-heading); color: #fff; border-color: var(--dd-heading); }

.dd-topic-cards { max-width: 1200px; margin: 0 auto; padding: 0 20px 80px; }
.dd-topic-cards-row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 24px; }
.dd-topic-cards-row2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.dd-topic-card { position: relative; display: block; overflow: hidden; border-radius: 3px; text-decoration: none; }
.dd-topic-card img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4/3; transition: transform 0.5s; }
.dd-topic-card:hover img { transform: scale(1.04); }
.dd-topic-card-label { position: absolute; left: -4px; top: 50%; transform: translateY(-50%) rotate(-90deg); font-family: 'Cinzel', serif; font-size: 11px; color: rgba(255,255,255,0.6); letter-spacing: 4px; white-space: nowrap; z-index: 2; transform-origin: center center; }
.dd-topic-card-name { position: absolute; right: 16px; bottom: 16px; font-family: 'Noto Sans TC', sans-serif; font-size: 14px; font-weight: 600; color: #fff; letter-spacing: 2px; text-shadow: 0 1px 8px rgba(0,0,0,0.4); z-index: 2; display: flex; align-items: center; gap: 6px; }
.dd-topic-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 50%); pointer-events: none; }
@media (max-width: 768px) { .dd-topic-cards-row3 { grid-template-columns: 1fr; } .dd-topic-cards-row2 { grid-template-columns: 1fr; } }

/* ===== FOOTER ===== */
.dd-footer { padding: 50px 0 40px; background: var(--dd-light-bg); border-top: 1px solid var(--dd-border); text-align: center; width: 100vw; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); box-sizing: border-box; }
.footer-logo { font-family: 'Cinzel Decorative', serif; font-size: 20px; color: var(--dd-text); letter-spacing: 3px; }
.dd-footer-sub { font-size: 12px; color: var(--dd-accent); margin-top: 6px; }
.dd-footer-copy { font-size: 11px; color: #ccc; margin-top: 14px; }

/* ===== DROPDOWN MENU ===== */
header#header .sub-menu { background: #faf8f5 !important; border: 1px solid var(--dd-border) !important; box-shadow: 0 6px 20px rgba(80,60,40,0.1) !important; border-radius: 3px !important; min-width: 140px !important; padding: 6px 0 !important; }
header#header .sub-menu li a { color: var(--dd-text) !important; font-size: 12px !important; padding: 7px 20px !important; letter-spacing: 1px !important; transition: all 0.2s !important; }
header#header .sub-menu li a:hover { background: var(--dd-light-bg) !important; color: var(--dd-heading) !important; }
header#header [class*="menu"] > li > a { font-size: 13px !important; padding: 8px 14px !important; letter-spacing: 1.5px !important; }

/* ===== ABOUT PAGE ===== */
.dd-page-hero { position: relative; width: 100vw; height: 50vh; min-height: 360px; max-height: 520px; overflow: hidden; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); }
.dd-page-hero img { width: 100%; height: 100%; object-fit: cover; }
.dd-page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.4)); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dd-page-hero-title { font-family: 'Cinzel', serif; font-size: clamp(32px, 6vw, 56px); color: #fff; letter-spacing: 8px; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.dd-page-hero-sub { font-family: 'Noto Serif TC', serif; font-size: 14px; color: rgba(255,255,255,0.8); letter-spacing: 6px; margin-top: 10px; }

.dd-brand-intro { max-width: 80%; margin: 0 auto; padding: 80px 0 60px; text-align: center; }
.dd-brand-logo { font-family: 'Cinzel Decorative', serif; font-size: 28px; color: var(--dd-heading); letter-spacing: 4px; }
.dd-brand-logo-sub { font-family: 'Noto Serif TC', serif; font-size: 14px; color: var(--dd-light); letter-spacing: 4px; margin-top: 6px; }
.dd-brand-divider { width: 40px; height: 1px; background: var(--dd-border); margin: 24px auto; }
.dd-brand-text { font-size: 14.5px; line-height: 2.2; color: var(--dd-text); }
.dd-brand-text p { margin-bottom: 14px; }
.dd-brand-signature { font-family: 'Herr Von Muellerhoff', cursive; font-size: 48px; color: var(--dd-light); margin-top: 20px; }

.dd-team-section { background: var(--dd-light-bg); padding: 80px 40px; width: 100vw; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); box-sizing: border-box; }
.dd-team-inner { max-width: 900px; margin: 0 auto; display: flex; align-items: center; gap: 60px; }
.dd-team-photo { flex-shrink: 0; width: 280px; height: 350px; overflow: hidden; border-radius: 4px; box-shadow: 0 8px 30px rgba(80,60,40,0.12); }
.dd-team-photo img { width: 100%; height: 100%; object-fit: cover; }
.dd-team-info { flex: 1; }
.dd-team-name { font-family: 'Noto Serif TC', serif; font-size: 22px; color: var(--dd-heading); letter-spacing: 3px; }
.dd-team-name-en { font-family: 'Cinzel', serif; font-size: 12px; color: var(--dd-light); letter-spacing: 3px; margin-top: 4px; }
.dd-team-role { font-size: 13px; color: var(--dd-accent); margin-top: 10px; letter-spacing: 1px; }
.dd-team-bio { font-size: 14px; line-height: 2; color: var(--dd-text); margin-top: 18px; }
.dd-team-bio p { margin-bottom: 12px; }

.dd-focus-section { max-width: 80%; margin: 0 auto; padding: 80px 0; }
.dd-focus-header { text-align: center; margin-bottom: 50px; }
.dd-focus-header-en { font-family: 'Cinzel', serif; font-size: 36px; color: rgba(0,0,0,0.04); letter-spacing: 6px; }
.dd-focus-header-zh { font-family: 'Noto Serif TC', serif; font-size: 16px; color: var(--dd-heading); letter-spacing: 6px; margin-top: -4px; }
.dd-focus-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.dd-focus-card { text-align: center; }
.dd-focus-card-img { width: 100%; aspect-ratio: 4/3; overflow: hidden; border-radius: 3px; }
.dd-focus-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.dd-focus-card:hover .dd-focus-card-img img { transform: scale(1.05); }
.dd-focus-card-title { font-family: 'Noto Serif TC', serif; font-size: 16px; color: var(--dd-heading); letter-spacing: 3px; margin-top: 16px; }
.dd-focus-card-desc { font-size: 13px; color: var(--dd-accent); margin-top: 8px; line-height: 1.8; }

.dd-contact-section { background: var(--dd-light-bg); padding: 60px 40px; text-align: center; width: 100vw; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); box-sizing: border-box; }
.dd-contact-title { font-family: 'Noto Serif TC', serif; font-size: 18px; color: var(--dd-heading); letter-spacing: 4px; }
.dd-contact-links { display: flex; justify-content: center; gap: 20px; margin-top: 24px; }
.dd-contact-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px; border: 1px solid var(--dd-border); color: var(--dd-text); font-size: 13px; text-decoration: none; border-radius: 2px; transition: all 0.3s; letter-spacing: 1px; }
.dd-contact-link:hover { border-color: var(--dd-heading); color: var(--dd-heading); background: #fff; }

/* ===== COOPERATE PAGE ===== */
.dd-coop-intro { max-width: 800px; margin: 0 auto; padding: 80px 40px 40px; text-align: center; }
.dd-coop-intro-text { font-size: 14.5px; line-height: 2.2; color: var(--dd-text); }

.dd-coop-principles { max-width: 800px; margin: 0 auto; padding: 40px 40px 60px; }
.dd-coop-principles-title { font-family: 'Noto Serif TC', serif; font-size: 18px; color: var(--dd-heading); letter-spacing: 3px; text-align: center; margin-bottom: 30px; }
.dd-coop-principles-list { list-style: none; padding: 0; margin: 0; }
.dd-coop-principles-list li { position: relative; padding: 14px 0 14px 28px; font-size: 14px; color: var(--dd-text); line-height: 1.8; border-bottom: 1px solid var(--dd-border); }
.dd-coop-principles-list li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; border: 1px solid var(--dd-light); border-radius: 50%; }
.dd-coop-principles-list li:last-child { border-bottom: none; }

.dd-coop-services { background: var(--dd-light-bg); padding: 80px 40px; width: 100vw; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); box-sizing: border-box; }
.dd-coop-services-inner { max-width: 80%; margin: 0 auto; }
.dd-coop-services-header { text-align: center; margin-bottom: 50px; }
.dd-coop-services-header-en { font-family: 'Cinzel', serif; font-size: 36px; color: rgba(0,0,0,0.04); letter-spacing: 6px; }
.dd-coop-services-header-zh { font-family: 'Noto Serif TC', serif; font-size: 16px; color: var(--dd-heading); letter-spacing: 6px; margin-top: -4px; }
.dd-coop-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.dd-coop-card { background: #fff; padding: 40px 30px; border-radius: 3px; text-align: center; box-shadow: 0 2px 15px rgba(80,60,40,0.06); transition: transform 0.3s, box-shadow 0.3s; }
.dd-coop-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(80,60,40,0.1); }
.dd-coop-card-icon { font-size: 28px; color: var(--dd-light); margin-bottom: 16px; }
.dd-coop-card-title { font-family: 'Noto Serif TC', serif; font-size: 17px; color: var(--dd-heading); letter-spacing: 2px; }
.dd-coop-card-desc { font-size: 13.5px; color: var(--dd-text); line-height: 1.9; margin-top: 12px; }

.dd-coop-contact { max-width: 600px; margin: 0 auto; padding: 80px 40px; text-align: center; }
.dd-coop-contact-title { font-family: 'Noto Serif TC', serif; font-size: 18px; color: var(--dd-heading); letter-spacing: 4px; margin-bottom: 12px; }
.dd-coop-contact-sub { font-size: 13.5px; color: var(--dd-accent); line-height: 1.8; margin-bottom: 28px; }
.dd-coop-email { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--dd-heading); text-decoration: none; letter-spacing: 1px; padding: 12px 30px; border: 1px solid var(--dd-border); border-radius: 2px; transition: all 0.3s; }
.dd-coop-email:hover { border-color: var(--dd-heading); background: var(--dd-light-bg); }
.dd-coop-social { display: flex; justify-content: center; gap: 16px; margin-top: 24px; }
.dd-coop-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--dd-border); color: var(--dd-accent); display: flex; align-items: center; justify-content: center; font-size: 15px; text-decoration: none; transition: all 0.3s; }
.dd-coop-social a:hover { border-color: var(--dd-heading); color: var(--dd-heading); }

/* ===== ARTICLE SINGLE ===== */
.dd-single-article { max-width: 800px; margin: 0 auto; }
.dd-breadcrumb { padding: 20px 40px 0; font-size: 12.5px; color: var(--dd-accent); }
.dd-breadcrumb a { color: var(--dd-accent); text-decoration: none; transition: color 0.2s; }
.dd-breadcrumb a:hover { color: var(--dd-heading); }
.dd-breadcrumb .dd-bread-sep { margin: 0 8px; color: var(--dd-border); }

.dd-single-header { padding: 20px 40px 10px; }
.dd-article-cat { display: inline-block; font-size: 11px; color: var(--dd-accent); letter-spacing: 2px; border: 1px solid var(--dd-border); padding: 4px 14px; border-radius: 2px; margin-bottom: 14px; text-decoration: none; transition: all 0.2s; }
.dd-article-cat:hover { border-color: var(--dd-heading); color: var(--dd-heading); }
.dd-article-title { font-family: 'Noto Serif TC', serif; font-size: 28px; font-weight: 700; color: var(--dd-heading); line-height: 1.6; letter-spacing: 1px; margin: 0; }
.dd-article-meta { display: flex; align-items: center; gap: 16px; margin-top: 14px; font-size: 12.5px; color: var(--dd-accent); }
.dd-article-meta i { margin-right: 4px; }

.dd-featured-img { margin: 24px 0 0; padding: 0 40px; }
.dd-featured-img img { width: 100%; height: auto; display: block; border-radius: 3px; }

.dd-single-content { padding: 30px 40px 20px; font-size: 15px; line-height: 2.2; color: var(--dd-text); }
.dd-single-content p { margin-bottom: 20px; }
.dd-single-content h2 { font-family: 'Noto Serif TC', serif; font-size: 22px; color: var(--dd-heading); margin: 40px 0 18px; letter-spacing: 1px; padding-bottom: 10px; border-bottom: 1px solid var(--dd-border); }
.dd-single-content h3 { font-family: 'Noto Serif TC', serif; font-size: 18px; color: var(--dd-heading); margin: 30px 0 14px; letter-spacing: 1px; }
.dd-single-content img { max-width: 100%; height: auto; border-radius: 3px; margin: 20px 0; }
.dd-single-content blockquote { border-left: 3px solid var(--dd-border); padding: 14px 24px; margin: 24px 0; color: var(--dd-accent); font-style: italic; background: var(--dd-light-bg); border-radius: 0 3px 3px 0; }
.dd-single-content a { color: var(--dd-heading); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.dd-single-content a:hover { color: #000; }

.dd-single-share { padding: 0 40px 20px; display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--dd-border); padding-top: 24px; }
.dd-share-label { font-size: 12px; color: var(--dd-accent); letter-spacing: 2px; flex-shrink: 0; }
.dd-share-btns { display: flex; gap: 10px; }
.dd-share-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--dd-border); color: var(--dd-accent); display: flex; align-items: center; justify-content: center; font-size: 14px; text-decoration: none; transition: all 0.3s; }
.dd-share-btn:hover { border-color: var(--dd-heading); color: var(--dd-heading); }

.dd-single-tags { padding: 0 40px 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.dd-single-tag { font-size: 12px; color: var(--dd-accent); border: 1px solid var(--dd-border); padding: 4px 14px; border-radius: 20px; text-decoration: none; transition: all 0.2s; }
.dd-single-tag:hover { border-color: var(--dd-heading); color: var(--dd-heading); }

.dd-single-nav { display: flex; gap: 20px; padding: 0 40px 40px; border-top: 1px solid var(--dd-border); padding-top: 30px; }
.dd-nav-prev, .dd-nav-next { flex: 1; text-decoration: none; padding: 16px 20px; border: 1px solid var(--dd-border); border-radius: 3px; transition: all 0.3s; }
.dd-nav-prev:hover, .dd-nav-next:hover { border-color: var(--dd-heading); }
.dd-nav-next { text-align: right; }
.dd-nav-label { font-size: 11px; color: var(--dd-accent); letter-spacing: 1px; display: block; }
.dd-nav-title { font-family: 'Noto Sans TC', sans-serif; font-size: 14px; color: var(--dd-heading); font-weight: 600; display: block; margin-top: 6px; line-height: 1.6; }

/* ===== SINGLE LAYOUT 7:3 ===== */
.dd-single-layout { display: flex; gap: 40px; max-width: 80%; margin: 0 auto; padding: 0 20px; }
.dd-single-main { flex: 7; min-width: 0; }
.dd-single-sidebar { flex: 3; flex-shrink: 0; padding-top: 20px; align-self: flex-start; position: sticky; top: 30px; }
.dd-single-main .dd-breadcrumb, .dd-single-main .dd-single-header, .dd-single-main .dd-featured-img, .dd-single-main .dd-single-content, .dd-single-main .dd-single-share, .dd-single-main .dd-single-tags, .dd-single-main .dd-single-nav { padding-left: 0; padding-right: 0; max-width: 100%; }

.dd-sidebar-widget { background: #fff; border: 1px solid var(--dd-border); border-radius: 4px; padding: 24px; margin-bottom: 28px; }
.dd-sidebar-title { font-family: 'Noto Sans TC', sans-serif; font-size: 16px; font-weight: 700; color: var(--dd-heading); letter-spacing: 1px; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 2px solid var(--dd-border); }
.dd-sidebar-cats { list-style: none; padding: 0; margin: 0; }
.dd-sidebar-cats li { border-bottom: 1px solid rgba(0,0,0,0.05); }
.dd-sidebar-cats li:last-child { border-bottom: none; }
.dd-sidebar-cats a { display: flex; justify-content: space-between; align-items: center; padding: 10px 4px; text-decoration: none; transition: all 0.2s; }
.dd-sidebar-cats a:hover { padding-left: 8px; }
.dd-cat-name { font-family: 'Noto Sans TC', sans-serif; font-size: 14px; color: var(--dd-heading); transition: color 0.2s; }
.dd-sidebar-cats a:hover .dd-cat-name { color: var(--dd-accent); }
.dd-cat-count { font-family: 'Cinzel', serif; font-size: 12px; color: #fff; background: var(--dd-light); border-radius: 10px; padding: 1px 8px; min-width: 22px; text-align: center; }

.dd-sidebar-recent { list-style: none; padding: 0; margin: 0; }
.dd-sidebar-recent li { margin-bottom: 16px; }
.dd-sidebar-recent li:last-child { margin-bottom: 0; }
.dd-recent-item { display: flex; gap: 12px; text-decoration: none; transition: all 0.2s; }
.dd-recent-item:hover { opacity: 0.8; }
.dd-recent-thumb { width: 70px; height: 52px; border-radius: 3px; overflow: hidden; flex-shrink: 0; }
.dd-recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dd-recent-info { flex: 1; min-width: 0; }
.dd-recent-title { font-family: 'Noto Sans TC', sans-serif; font-size: 13px; font-weight: 600; color: var(--dd-heading); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dd-recent-date { font-family: 'Cinzel', serif; font-size: 11px; color: var(--dd-light); margin-top: 4px; display: block; }

.dd-related-section { background: var(--dd-light-bg); padding: 60px 20px; }
.dd-related-header { text-align: center; margin-bottom: 36px; }
.dd-related-en { font-family: 'Cinzel', serif; font-size: 28px; color: rgba(0,0,0,0.04); letter-spacing: 4px; display: block; }
.dd-related-zh { font-family: 'Noto Serif TC', serif; font-size: 15px; color: var(--dd-heading); letter-spacing: 4px; display: block; margin-top: -2px; }
.dd-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1000px; margin: 0 auto; }
.dd-related-card { background: #fff; border-radius: 3px; overflow: hidden; box-shadow: 0 2px 12px rgba(80,60,40,0.06); transition: transform 0.3s, box-shadow 0.3s; text-decoration: none; display: block; }
.dd-related-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(80,60,40,0.1); }
.dd-related-img { width: 100%; aspect-ratio: 16/10; overflow: hidden; }
.dd-related-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.dd-related-card:hover .dd-related-img img { transform: scale(1.05); }
.dd-related-info { padding: 18px 20px; }
.dd-related-date { font-family: 'Cinzel', serif; font-size: 11px; color: var(--dd-light); }
.dd-related-info h4 { font-family: 'Noto Sans TC', sans-serif; font-size: 15px; font-weight: 600; color: var(--dd-heading); line-height: 1.7; margin: 6px 0 0; }

/* ===== ABOUT/COOPERATE PAGE RESPONSIVE ===== */
@media (max-width: 768px) {
    .dd-team-inner { flex-direction: column; gap: 30px; }
    .dd-team-photo { width: 200px; height: 260px; }
    .dd-focus-cards { grid-template-columns: 1fr; gap: 24px; }
    .dd-contact-links { flex-direction: column; align-items: center; }
    .dd-coop-cards { grid-template-columns: 1fr; }
    .dd-related-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; gap: 16px; padding: 0 20px 16px; max-width: 100%; scrollbar-width: none; }
    .dd-related-grid::-webkit-scrollbar { display: none; }
    .dd-related-card { min-width: 72vw; max-width: 72vw; flex-shrink: 0; scroll-snap-align: center; }
    .dd-brand-intro { padding: 50px 24px 40px; }
    .dd-coop-intro { padding: 50px 24px 30px; }
    .dd-coop-principles { padding: 30px 24px 40px; }
    .dd-page-hero { height: 40vh; min-height: 260px; }
    .dd-single-layout { flex-direction: column; max-width: 100%; padding: 0; gap: 20px; }
    .dd-single-sidebar { padding: 0 20px; }
    .dd-single-content, .dd-single-header, .dd-breadcrumb, .dd-featured-img, .dd-single-share, .dd-single-tags, .dd-single-nav { padding-left: 20px; padding-right: 20px; }
    .dd-article-title { font-size: 22px; }
    .dd-single-nav { flex-direction: column; }
}

/* ===== MOBILE BOTTOM BAR ===== */
.dd-mobile-bar { display: none; }
@media (max-width: 768px) {
    .dd-mobile-bar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--dd-border); z-index: 9999; padding: 8px 0 env(safe-area-inset-bottom, 8px); box-shadow: 0 -1px 20px rgba(0,0,0,0.05); }
    .dd-mobile-bar-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; color: var(--dd-light); font-size: 10px; padding: 4px 0; transition: color 0.25s; letter-spacing: 0.5px; position: relative; }
    .dd-mobile-bar-item i { font-size: 17px; transition: transform 0.25s; }
    .dd-mobile-bar-item span { font-family: 'Noto Sans TC', sans-serif; font-weight: 600; }
    .dd-mobile-bar-item.active { color: var(--dd-heading); }
    .dd-mobile-bar-item.active::before { content: ''; position: absolute; top: -8px; left: 50%; transform: translateX(-50%); width: 20px; height: 2px; background: var(--dd-heading); border-radius: 1px; }
    .dd-mobile-bar-item:active { color: var(--dd-heading); }
    .dd-mobile-bar-item:active i { transform: scale(0.9); }
    body { padding-bottom: 64px; }
}

/* ===== ARCHIVE / CATEGORY PAGE (zigzag) ===== */
.dd-archive-zigzag-wrap { max-width: 1200px; margin: 0 auto; padding: 60px 20px 80px; }
.dd-archive-header { text-align: center; margin-bottom: 50px; }
.dd-archive-header-en { font-family: 'Cinzel', serif; font-size: clamp(28px, 5vw, 48px); color: var(--dd-heading); letter-spacing: 6px; border-bottom: 2px solid var(--dd-border); display: inline-block; padding-bottom: 6px; }
.dd-archive-header-zh { font-family: 'Noto Serif TC', serif; font-size: 16px; color: var(--dd-heading); letter-spacing: 6px; margin-top: 12px; }
.dd-archive-zigzag .dd-post-row { margin-bottom: 60px; }
.dd-archive-readmore { font-family: 'Cinzel', serif; font-size: 12px; color: var(--dd-accent); letter-spacing: 3px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; transition: color 0.2s; border-bottom: 1px solid var(--dd-border); padding-bottom: 4px; }
.dd-archive-readmore:hover { color: var(--dd-heading); border-color: var(--dd-heading); }
.dd-archive-readmore span { font-size: 10px; }

/* legacy grid (keep for backward compat) */
.dd-archive-grid { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 36px !important; list-style: none !important; padding: 0 !important; margin: 0 !important; }
.dd-archive-card { display: flex !important; flex-direction: column !important; background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 2px 16px rgba(80,60,40,0.06); transition: transform 0.3s, box-shadow 0.3s; text-decoration: none !important; }
.dd-archive-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(80,60,40,0.1); }
.dd-archive-card-img { width: 100% !important; aspect-ratio: 16/10; overflow: hidden; flex-shrink: 0; }
.dd-archive-card-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; transition: transform 0.5s; display: block; }
.dd-archive-card:hover .dd-archive-card-img img { transform: scale(1.04); }
.dd-archive-card-body { padding: 24px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.dd-archive-card-date { font-family: 'Cinzel', serif; font-size: 12px; color: var(--dd-light); }
.dd-archive-card-cat { font-size: 11px; color: var(--dd-accent); letter-spacing: 1px; margin-top: 4px; }
.dd-archive-card-title { font-family: 'Noto Sans TC', sans-serif; font-size: 17px; font-weight: 600; color: var(--dd-heading); line-height: 1.7; margin: 10px 0 0 !important; }
.dd-archive-card-excerpt { font-size: 13.5px; color: var(--dd-text); line-height: 1.9; margin: 12px 0 0; flex: 1; }
.dd-archive-read-more { font-size: 12px; color: var(--dd-accent); letter-spacing: 1px; margin-top: 16px; transition: color 0.2s; }
.dd-archive-card:hover .dd-archive-read-more { color: var(--dd-heading); }
.dd-archive-read-more i { font-size: 10px; margin-left: 4px; transition: margin-left 0.2s; }
.dd-archive-card:hover .dd-archive-read-more i { margin-left: 8px; }

.dd-archive-pagination { margin-top: 50px; text-align: center; }
.dd-archive-pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.dd-archive-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--dd-border); border-radius: 3px; font-size: 13px; color: var(--dd-text); text-decoration: none; transition: all 0.2s; }
.dd-archive-pagination .page-numbers.current { background: var(--dd-heading); color: #fff; border-color: var(--dd-heading); }
.dd-archive-pagination .page-numbers:hover { border-color: var(--dd-heading); color: var(--dd-heading); }

.dd-archive-empty { text-align: center; padding: 80px 0; color: var(--dd-accent); }
.dd-archive-empty i { font-size: 36px; margin-bottom: 16px; display: block; color: var(--dd-border); }

@media (max-width: 768px) {
    .dd-archive-banner { height: 35vh; min-height: 220px; }
    .dd-archive-wrap { max-width: 100% !important; padding: 24px 16px 60px !important; }
    .dd-archive-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
}

/* ===== MOBILE OFF-CANVAS MENU ===== */
#offcanvas.ct-panel,
#offcanvas.ct-panel .ct-panel-inner { background: #fff !important; }
#offcanvas.ct-panel .ct-panel-actions { padding: 20px 28px !important; border-bottom: 1px solid #e0ddd8 !important; display: flex !important; justify-content: flex-end !important; }
#offcanvas.ct-panel .ct-toggle-close { width: 36px !important; height: 36px !important; border-radius: 50% !important; border: 1px solid #e0ddd8 !important; background: transparent !important; display: flex !important; align-items: center !important; justify-content: center !important; }
#offcanvas.ct-panel .ct-toggle-close svg { width: 10px !important; height: 10px !important; }
#offcanvas.ct-panel .ct-toggle-close svg path { fill: #555 !important; }

#offcanvas.ct-panel .ct-panel-content { padding: 20px 28px !important; }
#offcanvas.ct-panel .ct-panel-content .menu,
#offcanvas.ct-panel .ct-panel-content ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
#offcanvas.ct-panel .ct-panel-content .menu > li { border-bottom: 1px solid #e0ddd8 !important; }
#offcanvas.ct-panel .ct-panel-content .menu > li:last-child { border-bottom: none !important; }
#offcanvas.ct-panel .ct-panel-content .menu > li > a,
#offcanvas.ct-panel .ct-panel-content .menu > li > span > a,
#offcanvas .ct-panel-content[data-device="mobile"] .menu > li > a,
#offcanvas .ct-panel-content[data-device="mobile"] a,
.ct-panel.ct-header .ct-panel-content a { display: block !important; padding: 18px 0 !important; font-family: 'Noto Sans TC', sans-serif !important; font-size: 16px !important; font-weight: 600 !important; color: #333 !important; text-decoration: none !important; letter-spacing: 3px !important; }
#offcanvas.ct-panel .ct-panel-content .menu > li.current-menu-item > a,
#offcanvas.ct-panel .ct-panel-content .menu > li.current-menu-item > span > a { color: #333 !important; position: relative !important; }
#offcanvas.ct-panel .ct-panel-content .menu > li.current-menu-item > a::before { content: '' !important; position: absolute !important; left: -16px !important; top: 50% !important; transform: translateY(-50%) !important; width: 5px !important; height: 5px !important; background: #333 !important; border-radius: 50% !important; }

#offcanvas.ct-panel .ct-panel-content .sub-menu { padding: 0 0 10px 20px !important; background: transparent !important; border: none !important; box-shadow: none !important; position: static !important; width: auto !important; min-width: 0 !important; opacity: 1 !important; visibility: visible !important; }
#offcanvas.ct-panel .ct-panel-content .sub-menu li { border: none !important; }
#offcanvas.ct-panel .ct-panel-content .sub-menu li a,
#offcanvas .ct-panel-content[data-device="mobile"] .sub-menu a,
.ct-panel.ct-header .ct-panel-content .sub-menu a { display: block !important; padding: 8px 0 !important; font-size: 13px !important; font-weight: 400 !important; color: #999 !important; letter-spacing: 1.5px !important; }
#offcanvas.ct-panel .ct-panel-content .sub-menu li a:hover { color: #333 !important; }

#offcanvas.ct-panel button[class*="toggle"],
#offcanvas.ct-panel [class*="arrow"],
#offcanvas.ct-panel .ct-sub-menu-parent > button { background: transparent !important; border: none !important; color: #b8b5b0 !important; }

/* Hamburger button style */
@media (max-width: 768px) {
    header .ct-hamburger, header [data-toggle-panel] { border: none !important; background: transparent !important; }
    header .ct-hamburger .ct-icon, header [data-toggle-panel] svg { color: #555 !important; }
}

/* ===== BACK TO TOP ===== */
#dd-back-top { position: fixed; right: 24px; bottom: 30px; z-index: 900; width: 42px; height: 42px; border: none; border-radius: 50%; background: rgba(48,40,32,0.75); color: #f5f1ec; font-size: 16px; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: all 0.35s ease; box-shadow: 0 2px 12px rgba(0,0,0,0.15); display: flex; align-items: center; justify-content: center; }
#dd-back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
#dd-back-top:hover { background: rgba(48,40,32,0.95); box-shadow: 0 4px 18px rgba(0,0,0,0.25); transform: translateY(-2px); }
@media (max-width: 768px) { #dd-back-top { bottom: 80px; right: 16px; width: 38px; height: 38px; font-size: 14px; } }

/* Hide defaults */
.page-id-16 .entry-title, body.page-template-elementor_header_footer .entry-title { display: none !important; }
body.archive .ct-container > .ct-archive-title-area, body.archive .hero-section, body.category .ct-container > header { display: none !important; }
body.page .entry-header, body.page .page-title-area { display: none !important; }
body.page .dd-single-header, body.page .dd-breadcrumb, body.page .dd-article-meta { display: none !important; }
body.page .dd-single-nav, body.page .dd-related-section, body.page .dd-single-share, body.page .dd-single-tags { display: none !important; }
body.page-template-elementor_header_footer .ct-container, body.page-template-elementor_header_footer .ct-container-full { max-width: 100% !important; padding: 0 !important; }
body.page-template-elementor_header_footer .entry-content { max-width: 100% !important; }
body.page-template-elementor_header_footer footer.ct-footer { display: none !important; }
footer.ct-footer .ct-footer-copyright,
footer.ct-footer [class*="copyright"],
footer.ct-footer [data-id="copyright"] { display: none !important; }

/* ===== SEASON BANNER ===== */
.dd-season-banner { position: relative; width: 100vw; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); height: 60vh; min-height: 400px; max-height: 600px; overflow: hidden; background-size: cover; background-position: center; background-repeat: no-repeat; background-attachment: fixed; }
.dd-season-banner-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.45)); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dd-season-banner-en { font-family: 'Cinzel', serif; font-size: clamp(48px, 10vw, 100px); color: rgba(255,255,255,0.2); letter-spacing: 12px; line-height: 1; }
.dd-season-banner-zh { font-family: 'Noto Serif TC', serif; font-size: clamp(14px, 2vw, 18px); color: rgba(255,255,255,0.85); letter-spacing: 8px; margin-top: 10px; }
.dd-season-banner-btn { display: inline-block; margin-top: 28px; padding: 10px 32px; border: 1px solid rgba(255,255,255,0.6); color: #fff; font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: 4px; text-decoration: none; transition: all 0.3s; }
.dd-season-banner-btn:hover { background: rgba(255,255,255,0.15); border-color: #fff; color: #fff; }

/* ===== STORIES CAROUSEL ===== */
.dd-stories-section { max-width: 1200px; margin: 0 auto; padding: 80px 20px; position: relative; }
.dd-stories-header { text-align: center; margin-bottom: 40px; }
.dd-stories-header-en { font-family: 'Cinzel', serif; font-size: clamp(42px, 8vw, 80px); color: rgba(0,0,0,0.04); line-height: 1; letter-spacing: 8px; }
.dd-stories-header-zh { font-family: 'Noto Serif TC', serif; font-size: 15px; color: var(--dd-heading); letter-spacing: 8px; margin-top: -8px; }
.dd-stories-track-wrap { position: relative; }
.dd-stories-track { display: flex; gap: 24px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 10px 0 20px; scrollbar-width: none; }
.dd-stories-track::-webkit-scrollbar { display: none; }
.dd-stories-card { flex: 0 0 calc(25% - 18px); min-width: 220px; scroll-snap-align: start; text-decoration: none; display: block; transition: transform 0.3s; }
.dd-stories-card:hover { transform: translateY(-4px); }
.dd-stories-card-img { width: 100%; aspect-ratio: 4/3; overflow: hidden; border-radius: 3px; }
.dd-stories-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; display: block; }
.dd-stories-card:hover .dd-stories-card-img img { transform: scale(1.05); }
.dd-stories-card-title { font-family: 'Noto Sans TC', sans-serif; font-size: 14px; font-weight: 600; color: var(--dd-heading); margin-top: 12px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dd-stories-arrow { position: absolute; top: 50%; transform: translateY(-60%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--dd-border); background: rgba(255,255,255,0.9); color: var(--dd-accent); display: flex; align-items: center; justify-content: center; font-size: 14px; cursor: pointer; z-index: 5; transition: all 0.3s; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.dd-stories-arrow:hover { border-color: var(--dd-heading); color: var(--dd-heading); background: #fff; }
.dd-stories-arrow-left { left: -16px; }
.dd-stories-arrow-right { right: -16px; }

/* ===== FOOTER INTRO ===== */
.dd-footer-intro-wrap { position: relative; width: 100vw; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); background: var(--dd-light-bg); margin-top: -100px; z-index: 3; }
.dd-footer-intro-wave { position: relative; top: 1px; z-index: 2; }
.dd-footer-intro-wave svg { display: block; width: 100%; height: 100px; }
.dd-footer-intro-section { max-width: 1000px; margin: 0 auto; padding: 20px 50px 80px; }
.dd-footer-intro-inner { display: flex; align-items: center; gap: 50px; }
.dd-footer-intro-left { flex: 1; display: flex; gap: 25px; }
.dd-footer-intro-sidebar { writing-mode: vertical-rl; display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; }
.dd-footer-intro-star { font-size: 12px; color: var(--dd-light); }
.dd-footer-intro-vertical-text { font-family: 'Noto Serif TC', serif; font-size: 14px; color: var(--dd-light); letter-spacing: 6px; }
.dd-footer-intro-divider-v { width: 1px; height: 40px; background: var(--dd-border); flex-shrink: 0; }
.dd-footer-intro-vertical-eng { font-family: 'Cinzel', serif; font-size: 10px; color: var(--dd-light); letter-spacing: 3px; writing-mode: vertical-lr; }
.dd-footer-intro-text { flex: 1; }
.dd-footer-intro-text p { font-size: 14px; line-height: 2; color: var(--dd-text); margin-bottom: 16px; text-align: justify; }
.dd-footer-intro-btns { display: flex; gap: 12px; margin-top: 20px; }
.dd-footer-intro-social { display: flex; flex-direction: column; gap: 14px; align-items: center; flex-shrink: 0; margin-right: 10px; }
.dd-footer-intro-social a { width: 36px; height: 36px; border-radius: 50%; background: var(--dd-light); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; text-decoration: none; transition: background 0.3s; }
.dd-footer-intro-social a:hover { background: var(--dd-text); }
.dd-footer-intro-right { flex-shrink: 0; }
.dd-footer-intro-photo { width: 300px; height: 300px; border-radius: 50%; overflow: hidden; }
.dd-footer-intro-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ===== MEGA MENU ===== */
.dd-mega { display: none; }
@media (min-width: 769px) {
    .dd-mega { display: block; }
    header#header { display: none !important; }
}

.dd-mega { position: sticky; top: 0; z-index: 998; background: #fff; border-bottom: 1px solid var(--dd-border); }
.dd-mega-bar { display: flex; align-items: center; justify-content: center; background: var(--dd-bg); border-bottom: 1px solid var(--dd-border); padding: 0; max-width: 80%; margin: 0 auto; position: relative; }
.dd-mega-left, .dd-mega-right { display: flex; align-items: center; }
.dd-mega-left { margin-right: auto; padding-left: 40px; }
.dd-mega-right { margin-left: auto; padding-right: 40px; }
.dd-mega-logo { font-family: 'Cinzel Decorative', serif; font-size: 28px; font-weight: 400; color: var(--dd-text); letter-spacing: 6px; text-decoration: none; padding: 18px 50px; white-space: nowrap; flex-shrink: 0; transition: color 0.3s; }
.dd-mega-logo:hover { color: var(--dd-heading); }

.dd-mega-item { position: relative; }
.dd-mega-item > a { display: flex; flex-direction: column; align-items: center; text-decoration: none; padding: 20px 28px; transition: all 0.3s; position: relative; }
.dd-mega-item > a::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: var(--dd-heading); transition: all 0.3s; transform: translateX(-50%); }
.dd-mega-item:hover > a::after, .dd-mega-item.active > a::after { width: 60%; }
.dd-mega-en { font-family: 'Cinzel', serif; font-size: 14px; font-weight: 700; color: var(--dd-heading); letter-spacing: 4px; line-height: 1.3; }
.dd-mega-zh { font-family: 'Noto Sans TC', sans-serif; font-size: 11px; color: var(--dd-accent); letter-spacing: 3px; margin-top: 2px; }
.dd-mega-item:hover .dd-mega-en, .dd-mega-item.active .dd-mega-en { color: #000; }
.dd-mega-item:hover .dd-mega-zh, .dd-mega-item.active .dd-mega-zh { color: var(--dd-heading); }

.dd-mega-social { display: flex; align-items: center; gap: 6px; padding: 0 8px; }
.dd-mega-social a { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; color: var(--dd-accent); font-size: 14px; text-decoration: none; transition: color 0.3s; }
.dd-mega-social a:hover { color: var(--dd-heading); }

.dd-mega-search { padding: 14px 12px; }
.dd-mega-search button { background: none; border: none; color: var(--dd-accent); font-size: 15px; cursor: pointer; padding: 4px 8px; transition: color 0.3s; }
.dd-mega-search button:hover { color: var(--dd-heading); }

.dd-mega-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--dd-bg); border-bottom: 1px solid var(--dd-border); box-shadow: 0 8px 30px rgba(80,60,40,0.08); visibility: hidden; opacity: 0; pointer-events: none; transition: opacity 0.3s ease, visibility 0.3s; z-index: 997; overflow: visible; }
.dd-mega-panel.active { visibility: visible; opacity: 1; pointer-events: auto; }
.dd-mega-panel-inner { max-width: 1200px; margin: 0 auto; padding: 15px 30px; display: flex; gap: 30px; }

.dd-mega-tw-left { flex: 1; }
.dd-mega-deco-img { display: block; max-width: 180px; height: auto; margin-bottom: 14px; opacity: 0.7; }
.dd-mega-tw-deco { margin-bottom: 20px; }
.dd-mega-tw-deco-text { font-size: 12.5px; color: var(--dd-accent); line-height: 1.8; border-left: 2px solid var(--dd-border); padding-left: 14px; }
.dd-mega-tw-cols { display: flex; gap: 28px; flex-wrap: wrap; }
.dd-mega-col { min-width: 70px; }
.dd-mega-col-title { font-family: 'Noto Sans TC', sans-serif; font-size: 13px; font-weight: 700; color: var(--dd-heading); letter-spacing: 1px; margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--dd-border); }
.dd-mega-col a { display: block; font-size: 12.5px; color: var(--dd-text); text-decoration: none; padding: 3px 0; transition: color 0.2s; letter-spacing: 0.5px; }
.dd-mega-col a:hover { color: var(--dd-heading); }

.dd-mega-tw-map, .dd-mega-jp-map, .dd-mega-world-map { flex-shrink: 0; position: relative; border-radius: 4px; overflow: visible; background-color: var(--dd-light-bg); margin-top: -15px; }
.dd-mega-tw-map { width: 500px; height: 320px; background-color: transparent; }
.dd-mega-tw-map .dd-mega-map-placeholder { position: absolute; inset: 0; }
.dd-mega-tw-map .dd-mega-tpe-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.dd-mega-tw-map .dd-mega-tpe-svg path { fill: rgba(140,160,165,0.22); stroke: rgba(140,160,165,0.45); stroke-width: 0.6; transition: fill 0.25s; }
.dd-mega-tw-map .dd-mega-map-placeholder.is-active .dd-mega-tpe-svg path { fill: rgba(140,160,165,0.18); }
.dd-mega-tw-map .dd-mega-tpe-svg path.is-on { fill: rgba(192,86,75,0.28); stroke: rgba(192,86,75,0.55); }
.dd-mega-jp-map { width: 800px; height: 280px; background: var(--dd-light-bg) url('img/map_jp.png') no-repeat center center / auto; }
.dd-mega-world-map { width: 800px; height: 320px; background: var(--dd-light-bg) url('img/map_w.png') no-repeat center center / auto; }

.dd-marker { position: absolute; display: flex; flex-direction: column; align-items: center; text-decoration: none; transform: translate(0%, 0%); z-index: 2; transition: transform 0.2s; }
.dd-marker:hover { transform: translate(0%, 0%); }
.dd-marker i { font-size: 18px; color: #c0564b; text-shadow: 0 1px 3px rgba(0,0,0,0.2); transition: color 0.2s; }
.dd-marker:hover i { color: #a03830; }
.dd-marker span { font-family: 'Noto Sans TC', sans-serif; font-size: 10px; font-weight: 600; color: var(--dd-heading); white-space: nowrap; margin-top: 1px; text-shadow: 0 0 4px #fff, 0 0 4px #fff; }

.dd-mega-jp-left { flex: 1; }
.dd-mega-jp-regions { display: flex; flex-direction: column; gap: 16px; }
.dd-mega-jp-region { display: flex; align-items: baseline; gap: 14px; }
.dd-mega-jp-region .dd-mega-col-title { border-bottom: none; margin-bottom: 0; padding-bottom: 0; min-width: 60px; }
.dd-mega-jp-links { display: flex; gap: 12px; }
.dd-mega-jp-links a { font-size: 12.5px; color: var(--dd-text); text-decoration: none; padding: 2px 8px; border: 1px solid var(--dd-border); border-radius: 3px; transition: all 0.2s; }
.dd-mega-jp-links a:hover { border-color: var(--dd-heading); color: var(--dd-heading); background: var(--dd-light-bg); }

.dd-mega-world-left { flex: 1; }

.dd-mega-panel-grid .dd-mega-grid-inner { justify-content: center; flex-wrap: wrap; gap: 30px; padding: 36px 40px; }
.dd-mega-grid-item { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; width: 120px; padding: 20px 10px; border-radius: 4px; transition: all 0.3s; }
.dd-mega-grid-item:hover { background: var(--dd-light-bg); }
.dd-mega-grid-item i { font-size: 28px; color: var(--dd-light); transition: color 0.3s; }
.dd-mega-grid-item:hover i { color: var(--dd-heading); }
.dd-mega-grid-item span { font-family: 'Noto Sans TC', sans-serif; font-size: 12px; color: var(--dd-text); text-align: center; letter-spacing: 0.5px; transition: color 0.3s; }
.dd-mega-grid-item:hover span { color: var(--dd-heading); }

.dd-mega-search-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--dd-bg); border-bottom: 1px solid var(--dd-border); box-shadow: 0 8px 30px rgba(80,60,40,0.08); max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.3s ease, opacity 0.3s ease; z-index: 997; }
.dd-mega-search-panel.active { max-height: 120px; opacity: 1; }
.dd-mega-search-panel form { max-width: 600px; margin: 0 auto; padding: 24px 40px; display: flex; gap: 12px; }
.dd-mega-search-panel input { flex: 1; border: 1px solid var(--dd-border); padding: 10px 16px; font-family: 'Noto Sans TC', sans-serif; font-size: 14px; color: var(--dd-heading); background: var(--dd-light-bg); border-radius: 3px; outline: none; transition: border-color 0.3s; }
.dd-mega-search-panel input:focus { border-color: var(--dd-heading); }
.dd-mega-search-panel button { background: var(--dd-heading); border: none; color: #fff; padding: 10px 20px; border-radius: 3px; cursor: pointer; font-size: 14px; transition: background 0.3s; }
.dd-mega-search-panel button:hover { background: #000; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-banner { height: 55vh; min-height: 350px; }
    .hero-banner .hero-overlay { font-size: 18px; left: 20px; }
    .hero-banner .hero-signature { font-size: 55px; left: 15px; bottom: 25px; }
    .dd-about-inner { flex-direction: column-reverse; gap: 30px; }
    .dd-about-btns { flex-direction: column; }
    .dd-about-btns .dd-btn-fill, .dd-about-btns .dd-btn-outline { justify-content: center; }
    .dd-about-photo { width: 200px; height: 200px; }
    .dd-about-social { position: static; flex-direction: row; justify-content: center; margin-top: 20px; transform: none; }
    .dd-post-row { grid-template-columns: 1fr; }
    .dd-post-left .dd-post-info, .dd-post-right .dd-post-info { grid-column: 1; grid-row: auto; padding-top: 15px; }
    .dd-post-left .dd-post-image, .dd-post-right .dd-post-image { grid-column: 1; grid-row: auto; }
    .dd-topic-section { flex-direction: column; }
    .dd-topic-big-text { font-size: 50px; }
    header#header { position: sticky; top: 0; z-index: 999; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,0.08); }
    .dd-season-banner { height: 45vh; min-height: 300px; }
    .dd-stories-card { flex: 0 0 calc(50% - 12px); min-width: 180px; }
    .dd-stories-arrow { display: none; }
    .dd-footer-intro-inner { flex-direction: column-reverse; gap: 30px; }
    .dd-footer-intro-btns { flex-direction: column; }
    .dd-footer-intro-btns .dd-btn-fill { justify-content: center; }
    .dd-footer-intro-photo { width: 200px; height: 200px; }
    .dd-footer-intro-social { flex-direction: row; justify-content: center; margin-top: 20px; margin-right: 0; }
    .dd-footer-intro-section { padding: 20px 24px 60px; }
}
