/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: May 19 2026 | 02:28:53 */
/* ==========================================================================
   WordPress 內文全效自訂 CSS (金黃 #FFC000 × 黑色系 20px 尊爵質感版)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 標題基礎與個別樣式 (H1 - H6)
   -------------------------------------------------------------------------- */
/* 統一全標題基礎設定 (字型、行高、上下留白) */
.entry-content h1, 
.entry-content h2, 
.entry-content h3, 
.entry-content h4, 
.entry-content h5, 
.entry-content h6 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans TC", sans-serif;
    color: #1a1a1a; /* 標題文字用接近純黑，質感更好 */
    font-weight: 700;
    line-height: 1.4;
    margin-top: 1.8em;
    margin-bottom: 0.6em;
}

/* H1: 通常是文章大標題 (雙色底線尊爵感) */
.entry-content h1 {
    font-size: 2.2rem;
    color: #000000;
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 2px solid #FFC000; /* 金黃色底線 */
}

/* H2: 主要章節大標題 (極致黑背景塊 + 左側金黃粗線) */
.entry-content h2 {
    font-size: 1.8rem;
    color: #ffffff !important;   /* 文字反白 */
    background-color: #111111; /* 質感極致黑背景 */
    padding: 12px 18px;
    border-left: 6px solid #FFC000; /* 左側金黃色粗邊框 */
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* H3: 次要段落小標題 (黑底線 + 局部金黃色強調) */
.entry-content h3 {
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 8px;
    border-bottom: 2px solid #111111; /* 黑色整條底線 */
}
.entry-content h3::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px; /* 金黃線長度 */
    height: 4px; /* 金黃線厚度 */
    background-color: #FFC000; /* 金黃色覆蓋線 */
}

/* H4: 小重點提示 (左側金黃細線) */
.entry-content h4 {
    font-size: 1.3rem;
    color: #2d2d2d;
    padding-left: 12px;
    border-left: 4px solid #FFC000; /* 金黃色細線 */
}

/* H5: 條列式小標題 (金黃色正方形裝飾點) */
.entry-content h5 {
    font-size: 1.15rem;
    color: #333333;
}
.entry-content h5::before {
    content: "■";
    color: #FFC000;
    margin-right: 8px;
    font-size: 0.85rem;
    vertical-align: middle;
}

/* H6: 微小補充提示 (金黃色斜底線螢光筆風格) */
.entry-content h6 {
    font-size: 1.05rem;
    color: #555555;
    display: inline-block;
    background: linear-gradient(transparent 65%, rgba(255, 192, 0, 0.3) 65%); /* 30% 透明度金黃螢光筆 */
    padding: 0 4px;
}


/* --------------------------------------------------------------------------
   2. 標準段落文字與超連結 (p)
   -------------------------------------------------------------------------- */
.entry-content p {
    font-size: 20px;         /* 網頁版內文字級固定為 20px */
    color: #2d2d2d;          /* 字體顏色：深石墨黑，久讀不傷眼 */
    line-height: 1.8;        /* 行高 1.8 倍 */
    letter-spacing: 0.05em;  /* 字距微調 */
    margin-top: 0px;
    margin-bottom: 1.6em;    /* 段落之間的下方留白 */
    text-align: justify;     /* 文字左右對齊 */
}

/* 內文粗體字 (strong) */
.entry-content p strong {
    color: #000000;          /* 粗體字用純黑強調 */
    font-weight: 700;
}

/* 內文超連結 (a) */
.entry-content p a {
    color: #e6ad00;          /* 連結文字：稍深黃金色確保閱讀清晰 */
    text-decoration: none;   
    border-bottom: 1.5px solid #FFC000; /* 金黃色底線 */
    transition: all 0.2s ease; 
}

/* 超連結滑鼠移入效果 (Hover) */
.entry-content p a:hover {
    color: #000000;          
    background-color: #FFC000; /* 背景變金黃 (螢光筆劃線效果) */
    border-bottom-color: #000000;
}


/* --------------------------------------------------------------------------
   3. 清單項目 (ul, ol, li)
   -------------------------------------------------------------------------- */
.entry-content ul, 
.entry-content ol {
    margin-bottom: 1.6em;
    padding-left: 24px;
}

.entry-content li {
    font-size: 20px;       /* 字級同步為 20px */
    color: #2d2d2d;
    line-height: 1.8;
    margin-bottom: 0.5em;
}

/* 項目符號清單 (ul) 換成金黃色小方塊 (■) */
.entry-content ul li {
    list-style-type: none; 
    position: relative;
    padding-left: 20px;    
}
.entry-content ul li::before {
    content: "■";          
    color: #FFC000;        
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.75rem;    
}

/* 數字清單 (ol) 數字改為黑色粗體 */
.entry-content ol li {
    list-style-type: decimal;
}
.entry-content ol li::marker {
    color: #111111;        
    font-weight: bold;
}


/* --------------------------------------------------------------------------
   4. 引用區塊 (Blockquote)
   -------------------------------------------------------------------------- */
.entry-content blockquote {
    background-color: #f8f9fa;      /* 淺灰底色 */
    border-left: 6px solid #FFC000; /* 左側金黃色粗邊框 */
    margin: 1.8em 0;
    padding: 20px 25px;
    border-radius: 0 8px 8px 0;    
}

.entry-content blockquote p {
    font-size: 20px;
    color: #4a4a4a;                 
    font-style: italic;             /* 引用字改為斜體 */
    line-height: 1.7;
    margin-bottom: 0 !important;    
}


/* --------------------------------------------------------------------------
   5. 表格 (Table)
   -------------------------------------------------------------------------- */
.entry-content table {
    width: 100%;
    margin-bottom: 1.8em;
    border-collapse: collapse;      
    font-size: 20px;                /* 表格內文字 20px */
    color: #2d2d2d;
}

/* 表格標頭 (Th) - 極致黑底 + 白字 */
.entry-content table th {
    background-color: #111111;      
    color: #ffffff;                 
    font-weight: 700;
    padding: 14px 16px;
    text-align: left;
    border: 1px solid #111111;
}

/* 表格資料格 (Td) - 輕量斑馬紋與框線 */
.entry-content table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e0e0e0; 
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
}

/* 斑馬紋效果：偶數行自動變極淺灰背景 */
.entry-content table tr:nth-child(even) {
    background-color: #fdfdfd;
}

/* 滑鼠移到表格行時，微亮金黃色提示效果 */
.entry-content table tr:hover td {
    background-color: rgba(255, 192, 0, 0.05); /* 5% 透明度的金黃色 */
}


/* --------------------------------------------------------------------------
   6. RWD 行動裝置響應式調整 (平板與手機版自動縮放)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    /* 標題類手機版縮小，避免爆版 */
    .entry-content h1 { font-size: 1.8rem; }
    .entry-content h2 { font-size: 1.45rem; padding: 10px 14px; }
    .entry-content h3 { font-size: 1.3rem; }
    .entry-content h4 { font-size: 1.15rem; }
    .entry-content h5 { font-size: 1.05rem; }
    .entry-content h6 { font-size: 1.0rem; }

    /* 全內文文字類手機版調整為 18px，閱讀更流暢 */
    .entry-content p,
    .entry-content li,
    .entry-content blockquote p,
    .entry-content table {
        font-size: 18px; 
    }
    
    /* 縮小手機版表格內距，防止撐開螢幕 */
    .entry-content table th, 
    .entry-content table td {
        padding: 10px 12px; 
    }
}
