/* WordPress 專用：登入後台時的工具列、文章內文（用編輯器寫的新文章）的樣式 */
body.admin-bar header { top: 32px !important; }
@media screen and (max-width: 782px) { body.admin-bar header { top: 46px !important; } }
@media screen and (max-width: 600px) { body.admin-bar header { top: 0 !important; } }

/* 文章內文：沒有寫 style 的元素，套用跟預覽網站一樣的樣式 */
.t-article > h2:not([style]) { margin: 0; padding-top: 12px; font-size: clamp(24px, 2.4cqi, 30px); font-weight: 900; line-height: 1.4; }
.t-article > h3:not([style]) { margin: 6px 0 0; font-size: 20px; font-weight: 900; line-height: 1.5; }
.t-article > h4:not([style]) { margin: 4px 0 0; font-size: 18px; font-weight: 900; line-height: 1.5; }
.t-article > p:not([style]) { margin: 0; font-size: 17px; line-height: 2; color: #3A3330; }
.t-article > ul:not([style]), .t-article > ol:not([style]) { margin: 0; padding-left: 1.4em; display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 1.85; color: #3A3330; }
.t-article > ul:not([style]) > li, .t-article > ol:not([style]) > li { padding-left: 4px; }
.t-article > p a:not([style]), .t-article li a:not([style]) { color: #231815; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.t-article > blockquote:not([style]) { margin: 0; padding: 16px 20px; border-radius: 16px; background: #F2EEE7; font-size: 16px; line-height: 1.9; color: #3A3330; }
.t-article > blockquote p { margin: 0; }
.t-article figure { margin: 4px 0; }
.t-article img { max-width: 100%; height: auto; border-radius: 18px; display: block; }
.t-article figcaption:not([style]) { margin-top: 8px; font-size: 14px; color: #6B625A; text-align: center; }
.t-article .wp-block-table { overflow-x: auto; border: 1px solid #E6DFD5; border-radius: 18px; }
.t-article .wp-block-table table { width: 100%; min-width: 560px; border-collapse: collapse; }
.t-article .wp-block-table th, .t-article .wp-block-table td { padding: 12px 14px; border: 0; border-top: 1px solid #E6DFD5; text-align: left; font-size: 15px; line-height: 1.75; vertical-align: top; }
.t-article .wp-block-table thead th { border-top: 0; background: #F2EEE7; color: #5F574F; font-size: 14px; font-weight: 700; white-space: nowrap; }
.t-article .wp-block-embed iframe, .t-article iframe { max-width: 100%; border-radius: 18px; }
.t-article .wp-block-separator { border: 0; border-top: 1px solid #E6DFD5; margin: 8px 0; }
