/* ==========================================================================
   1. 基礎設定與變數 (Reset & Variables)
   ========================================================================== */
:root {
    --primary-red: #e4002f;
    --dark-red: #660E11;
    --bg-black: #0D0D0D;
    --bg-dark-gray: #161616;
    --text-white: #FFFFFF;
    --text-muted: #CCCCCC;
    --card-gold: #C5A059;
    --font-serif: "Noto Serif TC", "Georgia", serif;
    --font-sans: "Noto Sans TC", "Helvetica Neue", sans-serif;
    --transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
a{text-decoration: none;}
a:hover{text-decoration: none;}
.sub-video-info{color :#ffffff; text-align: center; font-size:1.2rem;}
/* 桌機 */
.desktop-only {
    display: block;
}

/* 手機 */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: #FFFFFF;
    color: #333333;
    overflow-x: hidden;
    line-height: 1.6;
}
   html { scroll-behavior: smooth; }
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   高級網頁高級動態效果 (Animation System)
   ========================================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUpActive 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes fadeInUpActive {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 滾動偵測基礎設定 */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-animate.animated {
    opacity: 1;
    transform: translateY(0);
  
}

/* ==========================================================================
   2. 頂部導覽列 (Navbar) 
   ========================================================================== */
.navbar {
    background-color: var(--primary-red);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 桌機版左側 LOGO */
.nav-logo {
    width:200px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-white);
}

.logo-main {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
}

.logo-sub-badge {
    font-size: 11px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 1px 5px;
    font-family: var(--font-serif);
}

/* 桌機導覽列連結 */
.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    transition: opacity 0.3s ease;
}

/* 增加高級下劃線 hover 特效 */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FFFFFF;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 手機版漢堡選單按鈕 */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
}

/* 手機版側邊滑出選單 */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background-color: #111111;
    z-index: 1050;
    padding: 80px 30px;
    transition: var(--transition);
    box-shadow: -5px 0 25px rgba(0,0,0,0.5);
}

.mobile-menu.open {
    right: 0;
}

/* 【修正：手機版 MENU 獨立關閉按鈕】 */
.menu-close-btn {
    position: absolute;
    top: 20px;
    right: 24px;
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

.menu-close-btn:hover {
    color: var(--primary-red);
    transform: rotate(90deg);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 1px;
    padding-bottom: 8px;
    border-bottom: 1px solid #222;
    transition: padding-left 0.3s ease, color 0.3s ease;
}

.mobile-nav-links a:hover {
    padding-left: 8px;
    color: var(--primary-red);
}

/* 半透明背景遮罩 */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   3. 主視覺 Banner (Hero Section)
   ========================================================================== */
.hero-section {
 background-image:url('img/KV_BG.jpg');
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;
    position: relative;
    padding: 80px 0 90px 0;
    color: var(--text-white);
    text-align: center;
    overflow: hidden;
}

.hero-bg-accent {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    transform: rotate(45deg);
}
.hero-bg-accent.left { top: -50px; left: -50px; }
.hero-bg-accent.right { bottom: -50px; right: -50px; }
.go-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary-red);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;

    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0,0,0,.2);

    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);

    transition: all .4s ease;
    z-index: 999;
}

.go-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.go-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,.3);
}

/* 手機版 */
@media (max-width: 768px) {
    .go-top {
        width: 50px;
        height: 50px;
        right: 20px;
        bottom: 20px;
        font-size: 12px;
    }
}
.logo-area {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    margin-bottom: 10px;
}

.logo-sub { font-weight: 700; letter-spacing: 2px; }
.logo-year { font-family: var(--font-serif); color: var(--text-white); font-weight: 300; }

.hero-section h1 {
    font-family: var(--font-serif);
    font-size: 70px;
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 20px;
   text-shadow: 3px 3px 5px rgba(17, 17, 17, 0.5);
}

.hero-subtitle { font-size: 18px; opacity: 0.9; margin-bottom: 12px; font-weight: 300; }
.hero-desc { font-size: 15px; opacity: 0.75; margin-bottom: 24px; color: #feddb6;text-shadow: 3px 3px 5px rgba(17, 17, 17, 0.5);}
.hero-footer-text { font-size: 14px; opacity: 0.6; margin-bottom: 50px; }

.hero-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    letter-spacing: 2px;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,.8);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator span {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 10px;
    transform: translateX(-50%);
    animation: scrollDown 1.8s infinite;
}

@keyframes scrollDown {
    0% {
        top: 8px;
        opacity: 1;
    }

    100% {
        top: 22px;
        opacity: 0;
    }
}
.vertical-date {
    position: absolute;
    right: 15px;
       bottom: -50px;
    writing-mode: vertical-rl;
    font-size: 1rem;
    letter-spacing: 2px;
    opacity: 0.4;
}

/* ==========================================================================
   4. 20週年大事記 (Timeline Section)
   ========================================================================== */

.timeline-section {
    padding: 80px 0 0 0;
    background-color: #FFFFFF;
    background-image: url('img/BG_01.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 2px;
    line-height: 1.4;
}

.text-red { color: var(--primary-red, #C82333); }
.text-white { color: var(--text-white, #FFFFFF); }

.timeline-slider-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto 20px auto;
    position: relative;
}

@media (max-width: 768px) {
    .timeline-slider-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
}

.timeline-image-area {
    width: 100%;
    height: 320px;
    background-color: #EAEAEA;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

@media(max-width:768px){
    .timeline-image-area{
        height:250px;
    }
}

.image-placeholder{
    position:absolute;
    inset:0;  
    display:flex;
    justify-content:center;
    align-items:center;
    opacity:0;
    transition:opacity .5s ease, transform .5s ease;
    overflow:hidden;
    transform:scale(1.05);
}

.image-placeholder img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

.image-placeholder.active{
    opacity:1;
    transform:scale(1);
}

.timeline-content-window {
    height: 300px; 
    overflow: hidden;
    position: relative;
}

.timeline-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.timeline-item {
    padding: 15px;
    border-left: 2px solid #EAEAEA;
    padding-left: 24px;
    transition: all 0.3s ease;
    opacity: 0.15;
    cursor: pointer;
}

.timeline-item.active {
    border-left-color: var(--primary-red, #C82333);
    opacity: 1;
}

.year-dot {
    font-weight: 700;
    color: var(--primary-red, #C82333);
    font-size: 16px;
    margin-bottom: 6px;
    position: relative;
}

/* 修正點點線條與文字打結的問題 */
.year-dot::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 6px;
    width: 10px;
    height: 10px;
    background: #FFFFFF;
    border: 2px solid var(--primary-red, #C82333);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.timeline-item.active .year-dot::before {
    background: var(--primary-red, #C82333);
}

.item-body h3 { font-size: 18px; margin-bottom: 6px; color: #111; line-height: 1.4; }
/* 修正拼字錯誤 */
.item-body p { font-size: 1rem; color: #111; line-height: 1.5; }

/* 按鈕與進度條區塊控制 */
.timeline-controls-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 20px 0 60px;
}

.carousel-controls {
    display: flex;
    gap: 20px;
}

.carousel-controls button {
    background: #111;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
}

.carousel-controls button:hover {
    background: var(--primary-red, #C82333);
}

.tl-dots-container {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.tl-dot {
    width: 30px;
    height: 6px;
    background-color: #e3e3e3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tl-dot.active {
    background-color: var(--primary-red, #C82333);
    width: 45px;
}

/* 人物介紹區 */
.people-grid {
    display: grid;
    grid-template-columns: .4fr .5fr;
    gap: 40px;
    margin: 40px auto 0;
    border-top: 1px solid #EEEEEE;
    align-items: end;       /* 確保 Grid 子元件對齊底部 */
    max-width: 1000px;
}

.people-img-box {
    display: flex;
    align-items: flex-end;  /* 內部元件靠底 */
    justify-content: center;
    height: 100%;           /* 撐滿左側欄位高度 */
    margin-bottom: 0;       /* 消除外邊距干擾 */
}

.people-placeholder {
    width: 100%;
    display: flex;
    align-items: flex-end;  /* 確保容器內部對齊底部 */
}

.people-placeholder img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 0;       /* 強制消除圖片下方的瀏覽器預設基線間隙 (Baseline gap) */
}

.people-info-box {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 60px 0;        /* 保持文字上下留白，圖片會貼齊這區塊的底線 */
}

.info-card h4 {
    font-size: 1.5rem;
    color: var(--primary-red, #C82333);
    margin-bottom: 6px;
}

.info-card h4 span {
    font-size: 1rem;
    color: #111;
    font-weight: normal;
    margin-left: 10px;
}

.info-card p {
    font-size: 1rem;
    color: #111;
    text-align: justify;
    line-height: 1.6;
}

/* RWD 手機版置底優化 */
@media (max-width: 768px) {
    .people-grid {
        grid-template-columns: 1fr;
        gap: 0px;            /* 手機版縮小圖片與文字之間的空隙 */
        padding: 0 20px;
    }
    
    .people-info-box {
        order: 1;
        padding: 40px 0 20px 0; /* 縮小底部留白，讓圖片更緊貼 */
    }
    
    .people-img-box {
        order: 2;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        width: 100%;
    }
    
    .people-placeholder {
        max-width: 280px;    /* 控制手機版人像寬度 */
        margin: 0 auto;
    }
}
/* ==========================================================================
   5. 跨越時代的20篇經典文章 (Classic Articles Section)
   ========================================================================== */
.classic-articles-section {
    background: linear-gradient(180deg, var(--bg-black) 0%, #1A0405 100%);
    padding: 60px 0;
    position: relative;
     background-image:url('img/B_BG.jpg');
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;
}

.section-subtitle-white {
    text-align: center;
    color: #fff;
    font-size: 1rem;
    max-width: 100%;
    margin: -40px auto 50px auto;
}

.carousel-controls {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto 20px auto;
    padding: 0 24px;
}

.ctrl-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--text-white);
    width: 40px;
    height: 32px;
    cursor: pointer;
    transition: var(--transition);
}

.ctrl-btn:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
}

.articles-window {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    padding: 0 0px;
    overflow: hidden;
}

.articles-track {
    display: flex;
    gap: 24px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.article-card {
      position:relative;
    border: 1px solid #222222;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 200px;
    transition: var(--transition);
    flex: 0 0 calc((100% - (24px * 2)) / 3); 
}
/* 底圖 */
.card-image{

    z-index:-2;
}

.card-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    position: absolute;
}
/* 進階 Hover 卡片放大與發光效果 */
.article-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-red);
    box-shadow: 0 12px 30px rgba(169, 24, 28, 0.25);
}

.card-tag {
    font-size: .9rem;
    color: #fff; 
    padding: 20px 0 0 20px;
    letter-spacing: 0;
    margin-bottom: 5px;
}

.article-card h3 {
    color: var(--text-white);
    font-size: 1.2rem;
    font-weight: 500;
     padding: 0 20px 0 20px;
    line-height: 1.5;
    flex-grow: 1;
    text-shadow: 2px 2px 2px rgba(17, 17, 17, 0.5);
}
}

.card-footer {
    text-align: right;
}

.read-btn {
    color:#ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
    padding: 5px 20px;
    background: var(--primary-red);
}

.article-card:hover .read-btn {
    gap: 12px; /* 箭頭向右延伸 */
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.ctrl-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.05);
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    transition: .3s;
}

.ctrl-btn:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
}
/* ==========================================================================
   6. 台灣企業的6大痛點 (Painpoints Section)
   ========================================================================== */
.painpoints-section {
    background-color: #F9F9F9;
    padding: 60px 0 80px 0;
      background-image:url('img/W_BG.jpg');
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;
}

.painpoints-header {
    text-align: center;
    margin-bottom: 60px;
}

.painpoints-header h2 {
    font-family: var(--font-serif);font-size: 2rem;
    color: #111;

}

.painpoints-header p {
    font-size: 1rem;
    color: #111;
    max-width: 700px;
    margin: 0 auto;
}

.painpoints-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pain-card {
    background-color: #FFFFFF;
    padding: 0 0px 10px 0px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.pain-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.pain-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    padding-left:20px;
    margin-bottom: 20px;
    background-color:var(--card-gold);
}

.pain-list {
    list-style: none;
    padding-left: 20px;
}

.pain-list li {
    font-size: 1rem;
    color: #111;
    margin-bottom: 10px;
    position: relative;
    padding-left: 16px;
    text-decoration: none;
}
.pain-list li a{
    color: #111;
     text-decoration: none;
}

.pain-list li a:hover{
    color: #111;
     text-decoration: underline;
}
.pain-list li::before {
    content: '•';
    color: var(--card-gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ==========================================================================
   7. RWD 響應式斷點設計 (Responsive Design)
   ========================================================================== */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .timeline-slider-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .timeline-image-area {
        height: 240px;
    }
    .article-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }
    .painpoints-grid {
        grid-template-columns: 1fr;
    }
  
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 45px;
        line-height: 1.25;
    }
    .article-card {
        flex: 0 0 100%;
    }
    
    .timeline-content-window {
        height: 300px;
    }
}
/* ==========================================================================
   區塊一：HBR在台灣的行動力 樣式
   ========================================================================== */
.action-power-section {
    background-color: var(--bg-black);
    padding: 60px 0;
    border-top: 1px solid #1a1a1a;
      background-image:url('img/B_BG.jpg');
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.action-card {
    background: #111111;
     height: 100%;
    border: 1px solid #222;
    padding: 0px;
    transition: var(--transition);
}

.action-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
}

.action-img-placeholder {
    width: 100%;
    background: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #111;
    font-size: 13px;
    margin-bottom: 20px;
}

.action-card h3 {
    color: var(--text-white);
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 600;
        padding-left: 20px;
}

.action-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
        padding: 0 20px 20px 20px;
}

/* ==========================================================================
   區塊二：Podcast 請聽哈佛管理學 樣式
   ========================================================================== */
/* 手機版 */
@media (max-width: 768px){

    .podcast-container{
        flex-direction: column;
        align-items: center;
    }

    /* 文字區塊在上 */
    .podcast-right-content{
        order: 1;
        width: 100%;
        padding: 30px 20px;
    }

    /* 照片在下 */
    .podcast-left-content{
        order: 2;
        width: 100%;
        padding-bottom: 0;
    }

    .avatar-placeholder{
        height: auto;
        align-items: flex-end;
    }

    .avatar-placeholder img{
        width: 80%;
        max-width: 350px;
        display: block;
        margin: 0 auto;
    }

    .podcast-btn-group{
        flex-direction: column;
        gap: 12px;
    }

    .podcast-btn{
        width: 100%;
        min-width: auto;
    }
}
.podcast-section {
    background-color: #7A7A7A;
    padding: 80px 0 0 0;
    position: relative;
    overflow: hidden;
     background-image:url('img/M_BG.jpg');
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;
}

.podcast-container {
 width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end; /* 改成底部 */
}

.avatar-placeholder {
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: flex-end; /* 改成底部 */
}
.avatar-placeholder img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.podcast-left-content {
    color: var(--text-white);
    padding-bottom: 00px;
}

.podcast-right-content {
    color: var(--text-white);
    padding-bottom: 50px;
}

.podcast-tag {
    color: #333;
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 16px;
}

.podcast-right-content h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 24px;
    letter-spacing: 2px;
}
.podcast-text-box {
    width: 80%; 
    text-align: justify;
   
}
.podcast-text-box p {
    font-size: 1rem;
    margin-bottom: 12px;
    line-height: 1.6;
    opacity: 0.95;
}

.podcast-btn-group {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

.podcast-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    min-width:180px;
    height:60px;
    padding:0 20px;

    text-decoration:none;
    color:#fff;

    font-size:18px;
    font-weight:600;
    letter-spacing:.3px;

    border-radius:8px;

    background:linear-gradient(
        90deg,
        #bf0024 0%,
        #e4002f 100%
    );

    box-shadow:
        0 8px 18px rgba(0,0,0,.22),
        inset 0 1px 0 rgba(255,255,255,.08);

    transition:.25s ease;
}

/* 箭頭 */
.podcast-btn svg{
    width:16px;
    height:16px;
    stroke:#fff;
    stroke-width:2.5;
    fill:none;
}

/* Hover */
.podcast-btn:hover{
    transform:translateY(-2px);
    box-shadow:
        0 12px 24px rgba(0,0,0,.28);
}

/* Active */
.podcast-btn:active{
    transform:translateY(0);
}
.vertical-bg-text {
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 120px;
    font-weight: 900;
    color: rgba(255,255,255,0.04);
    pointer-events: none;
    font-family: Arial, sans-serif;
}

/* ==========================================================================
   區塊三：國外 × 國內重量級祝福 樣式
   ========================================================================== */
.greetings-section {
    background: linear-gradient(180deg, #111 0%, #050505 100%);
    padding: 100px 0;
      background-image:url('img/B_BG.jpg');
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;
}

.main-video-area {
    max-width: 680px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.video-container-box {
    width: 100%;
    background: #1F1F1F;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-bottom: 16px;
    line-height: 0; /* 消除 iframe 下方微小間距 */
}

.carousel-controls{
    display:flex;
    justify-content:center;
    gap:12px;
    margin-top:20px;
}

.carousel-controls .ctrl-btn{
    width:50px;
    height:50px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,.3);
    background:rgba(255,255,255,.05);
    color:#fff;
    cursor:pointer;
    font-size:18px;
    transition:.3s;
}

.carousel-controls .ctrl-btn:hover{
    background:var(--primary-red);
    border-color:var(--primary-red);
}

/* ===== 講者影片輪播 ===== */

.sub-video-slider {
    max-width: 680px;
    width: 100%;
    margin: 0 auto 60px;
    overflow: hidden;
    position: relative;
}

.sub-video-track {
    display: flex;
    transition: transform 0.6s ease;
}

.sub-video-card {
    flex: 0 0 100%;
    width: 100%;
}

/* 影片容器 */
.sub-video-img {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

/* YouTube */
.sub-video-img iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* 講者名稱 */
.sub-video-info {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    padding: 15px 10px;
    line-height: 1.5;
}

/* 平板 */
@media (max-width: 991px) {
    .sub-video-slider {
        max-width: 100%;
        padding: 0 15px;
    }

    .sub-video-info {
        font-size: 16px;
    }
}

/* 手機 */
@media (max-width: 768px) {
    .podcast-text-box {
    width: 100%; 
    text-align: justify;
        text-align: left;
   
}
    .sub-video-slider {
        margin-bottom: 40px;
        padding: 0 10px;
    }

    .sub-video-img {
        border-radius: 8px;
    }

    .sub-video-info {
        font-size: 15px;
        padding: 12px 5px;
    }
}

/* 小手機 */
@media (max-width: 480px) {
    .sub-video-slider {
        padding: 0;}
        .pain-title {
    font-size: 1.4rem;
   
}
    

    .sub-video-info {
        font-size: 14px;
        line-height: 1.4;
    }
}
/* 四欄位人物清單 (3組容器配置) */
.vip-list-window {
    margin: 0 auto;
    overflow: hidden;
}

.vip-list-track {
    display: flex;
    gap: 20px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.vip-card {
    background:#fff;
    display:flex;
    flex-direction:column;
    height:100%;
}

.vip-avatar {
    width:100%;
    height:300px;   /* 可自行調整 */
    overflow:hidden;
    flex-shrink:0;
}


.vip-avatar span{
    display:block;
    width:100%;
    height:100%;
}


.vip-avatar img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;  
}
.vip-bio {
 padding:15px;
    display:flex;
    flex-direction:column;
    flex:1;
}

.vip-bio h4 {
    font-size: 1.3rem;
    color: #111;
    margin-bottom: 6px;
}

.vip-bio p {
    font-size: 1.1rem;
    color: #111;
    line-height: 1.4;
    margin-bottom: 12px;
    height: 50px;
    overflow: hidden;
}

.vip-link-btn {
    display: block;
    text-align: center;
    background: var(--primary-red);
    color: var(--text-white);
    text-decoration: none;
    font-size: 1rem;
    padding: 6px 0;
    font-weight: bold;
    transition: var(--transition);
}

.vip-link-btn:hover {
    background: var(--dark-red);
}

/* ==========================================================================
   區塊四：20年，感謝有你！ 樣式
   ========================================================================== */
.thankyou-section {
    background-color: #FFFFFF;
    padding: 100px 0;
     background-image:url('img/W_BG.jpg');
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;
}

.quote-window {
    max-width: 750px;
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
}

.quote-track {
    display: flex;
    transition: transform 0.5s ease;
}

.quote-item {
    flex: 0 0 100%;
    padding: 0 40px;
}

.quote-mark {
    font-family: var(--font-serif);
    font-size: 60px;
    color: var(--primary-red);
    display: block;
    line-height: 1;
    margin-bottom: -10px;
}

.quote-text {
    font-size: 1rem;
    color: #111;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.quote-author {
    font-size: 13px;
    color: #888;
    display: block;
}

/* ==========================================================================
   區塊五：底圖雜誌訂閱 樣式
   ========================================================================== */
.footer-subscription-section {
     background-image:url('img/COVER_BG.jpg');
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;
    padding: 60px 0;
    color: var(--text-white);
}

.footer-sub-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 900px;
}

.magazine-placeholder {
    width: 250px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 13px;
}

.footer-sub-content {
    max-width: 500px;
}

.footer-sub-content h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 20px;
    letter-spacing: 0;
    line-height: 1.4;
}

.footer-sub-content p {
    font-size: 1rem;
    opacity: 1;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-sub-btn {
    display: inline-block;
    background-color: var(--primary-red);
    color: var(--text-white);
    text-decoration: none;
    font-weight: bold;
    padding: 12px 32px;
    font-size: 14px;
    transition: var(--transition);
}

.footer-sub-btn:hover {
    background-color: #c01b20;
    transform: translateY(-2px);
}

/* ==========================================================================
   獨立彈跳祝福視窗 UI 樣式
   ========================================================================== */
.toast-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 500px;
    background: #FFFFFF;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    z-index: 2000;
    padding: 35px;
    border-top: 4px solid var(--primary-red);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.toast-modal.open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.modal-content {
    position: relative;
}

.modal-close-btn {
    position: absolute;
    top: -20px;
    right: -15px;
    background: transparent;
    border: none;font-size: 2rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.modal-close-btn:hover {
    color: var(--primary-red);
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #EEEEEE;
    padding-bottom: 15px;
}

.modal-header h3 {
    font-size: 1.5rem;
    color: #111;
    font-weight: bold;
    margin-bottom: 4px;
    line-height: 1.2;
}

.modal-header span {
    font-size: 1rem;
    color: #111;
     text-align: justify;
    text-justify: inter-ideograph; 
}

.modal-body p {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    text-align: justify;
      white-space: pre-line;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1990;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   響應式中斷點微調
   ========================================================================== */
@media (max-width: 992px) {
    .action-grid { grid-template-columns: 1fr; gap: 20px; }
    .podcast-container { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .avatar-placeholder { height: 260px; }
    .podcast-btn-group { justify-content: center; }
    .sub-video-card { flex: 0 0 100%; }
    .vip-card { flex: 0 0 calc((100% - 20px) / 2); }
    .footer-sub-container { flex-direction: column; text-align: center; gap: 30px; }
}

@media (max-width: 576px) {
      .podcast-container { grid-template-columns: 1fr; gap: 0px; text-align: center; }
   .vip-avatar {
    width: 100%;
    height: auto;
    display: block;
}
    .avatar-placeholder {width:300px;margin: 0 auto;
        margin-top: 50px;}
    .vip-card { flex: 0 0 100%; }
   }
}
.podcast-text-box p {
    text-align: left;
}
.img-responsive {
    max-width: 100%;
    height: auto;
}
   .footer_box{    background: linear-gradient(135deg, #111111, #333333);
    color: #fff;
    text-align: center;
    padding: 15px 15px;
    font-size: 14px;
    letter-spacing: 1px;
    border-top: 1px solid rgba(255,255,255,.1);
}