@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Blinker:wght@300;400;600;700&family=Noto+Serif+TC:wght@400;600;700&display=swap');

/*
Theme Name: Footmark
Theme URI: https://a-ying.com
Author: footmark
Description: 基於 Bootstrap 5 的主題。
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:
*/

/*
 * setup
 */
body {
    /* color: #666666; */
    /* Bootstrap 預設字體，但於最後加入一系列的中文字體 */
    font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "微軟正黑體", "Microsoft JhengHei", Meiryo, Arial, "文泉驛正黑", "WenQuanYi Zen Hei", "儷黑 Pro", "LiHei Pro";
}
.container-fluid {
    color: #666666;
}
h1, h2, h3, h4, h5, h6 {
    color: #333333!important;
    font-family: 'Blinker', 'Noto Serif TC', serif;
}

.fm-title-en {
    font-family: 'Blinker', sans-serif;
}

.fm-title-tw {
    font-family: 'Noto Serif TC', serif;
}
:root {
    --fm-title-primary: #35b8c2;
    --fm-title-secondary: #497384;
    --fm-text-secondary: #b2b2b2;
    --fm-bg-secondary: #f8f8f8;
}
.rank-math-breadcrumb a {
    color: var(--fm-title-secondary);
    text-decoration: none;
}
.rank-math-breadcrumb a:hover {
    color:var(--fm-title-secondary-hover);
}

/*
 * Block Editor Theme Support
 */
/* color */
.has-fm-primary-color.has-text-color {
    color: var(--fm-title-secondary)!important;
}
/* background */
.has-fm-primary-color.has-background {
    background: var(--fm-title-secondary);
    padding: 1.25em 2.375em;
}
.has-fm-primary-hover-color.has-text-color {
    color: var(--fm-title-secondary-hover);
}
.has-fm-primary-hover-color.has-background {
    background: var(--fm-title-secondary-hover);
    padding: 1.25em 2.375em;
}
.has-fm-text-primary-color.has-text-color {
    color: var(--fm-title-primary);
}
.has-fm-text-primary-color.has-background {
    background: var(--fm-title-primary);
    padding: 1.25em 2.375em;
}
.has-fm-text-secondary-color.has-text-color {
    color: var(--fm-text-secondary);
}
.has-fm-text-secondary-color.has-background {
    background: var(--fm-text-secondary);
    padding: 1.25em 2.375em;
}
.has-fm-bg-secondary-color.has-text-color {
    color: var(--fm-bg-secondary);
}
.has-fm-bg-secondary-color.has-background {
    background: var(--fm-bg-secondary);
    padding: 1.25em 2.375em;
}


/*
 * share
 */
.fm-right-arrow {
    background-color: #35B8C2;
    color: white;
    font-size: 12px;
    font-style: italic;
    font-weight: bold;
    padding: 15px 10px;
    text-decoration: none;
}
.fm-right-arrow:hover {
    color: white;
}
.fm-right-arrow img {
    margin-left: 40px;
    height: auto;
    width: 30px;
}
#fm-modules {
    padding-bottom: 70px;
}
#fm-modules h2 {
    margin-top: 130px;
}
#fm-modules .container {
    margin-bottom: 30px;
}
#fm-modules .fm-module {
    margin-bottom: 40px;
}
#fm-modules .fm-module a {
    display: block;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#fm-modules .fm-module a:hover {
    transform: translateY(-8px);    /* 往上移 8px */
}
#fm-modules .fm-module .fm-module-header {
    border-top-right-radius: 50px;
    color: white;
    padding: 20px;
}
#fm-modules .fm-module:nth-child(1) .fm-module-header,
#fm-modules .fm-module:nth-child(6) .fm-module-header,
#fm-modules .fm-module:nth-child(8) .fm-module-header {
    background-color: #a4babe;
}
#fm-modules .fm-module:nth-child(2) .fm-module-header,
#fm-modules .fm-module:nth-child(4) .fm-module-header,
#fm-modules .fm-module:nth-child(9) .fm-module-header {
    background-color: #4ec1ca;
}
#fm-modules .fm-module:nth-child(3) .fm-module-header,
#fm-modules .fm-module:nth-child(5) .fm-module-header,
#fm-modules .fm-module:nth-child(7) .fm-module-header {
    background-color: var(--fm-title-secondary);
}
#fm-modules .fm-module strong,
#fm-modules .fm-module span {
    font-size: 1.4rem;
}
#fm-modules .fm-module .fm-module-footer {
    background-color: #eaebeb;
    color: #000000;
    padding: 20px;
}
#fm-modules .fm-module .fm-module-header,
#fm-modules .fm-module .fm-module-footer {
    box-shadow: -2px 2px 5px 0 rgba(0, 0, 0, 0.2),
                2px 2px 5px 0 rgba(0, 0, 0, 0.2);
}
.page .fm-content a,
.single .fm-content a,
.single .fm-post a {
    color: #0b73a0!important;
    text-decoration: none!important;
}
.page .fm-content a:hover,
.single .fm-content a:hover,
.single .fm-post a:hover {
    text-decoration: underline!important;
}
.single .fm-categories a,
.category .fm-categories a,
.archive .fm-categories a {
    background-color: var(--fm-title-primary);
    border: 1px solid transparent;
    color: white!important;
    padding: 2px 5px;
    text-decoration: none!important;
    transition-property: background-color, color;
    transition-duration: 0.5s;
}
.home .fm-categories a:hover,
.single .fm-categories a:hover,
.category .fm-categories a:hover,
.archive .fm-categories a:hover {
    background-color: white;
    border: 1px solid var(--fm-title-primary);
    color: var(--fm-title-primary)!important;
    text-decoration: none!important;
}
.single .fm-tags a {
    background-color: var(--fm-title-secondary);
    border: 1px solid transparent;
    color: white!important;
    padding: 2px 5px;
    text-decoration: none;
    transition-property: background-color, color;
    transition-duration: 0.5s;
}
.single .fm-tags a:hover {
    background-color: white;
    border: 1px solid var(--fm-title-secondary);
    color: var(--fm-title-secondary)!important;
    text-decoration: none!important;
}



/*
 * Jetpack 無限捲動載入文章，加載圖示樣式
 */
.infinite-loader {
    margin-left: -16px;
    position: absolute;
        bottom: -15px;
        left: center;
}
@media(min-width: 992px) {
    .infinite-loader {
        bottom: 3px;
    }
}


/*
 * GetButton
 */
.jxPOhn .fhMUwJ {
    background-color: var(--fm-title-secondary)!important;
}


/*
 * Scroll top button
 */
#fm-totop {
    cursor: pointer;
    display: none;
    position: fixed;
        right: 25px;
        bottom: 60px;
    z-index: 1000;
}
#fm-totop .bi-chevron-up {
    color: var(--fm-title-secondary);
    font-size: 3rem;
}
#fm-totop:hover .bi-chevron-up {
    color: #666666;
}


/*
 * header
 */
#fm-header {
    margin-bottom: 20px;
}
#fm-blogname {
    margin-top: 30px;
}
#fm-blogname a {
    color: #000000;
    text-decoration: none;
}
/* tables、phones */
@media (max-width: 991px) {
    #fm-blogname {
        width: 265px;
        clear: both;
    }
    #fm-blogname h2 {
        padding-right: 10px;
    }
}
/* desktops */
@media (min-width: 992px), (min-width: 1200px), (min-width: 1400px) {
    #fm-blogname {
        width: none;
    }
    #fm-blogname > a,
    #fm-blogname > div {
        float: left;
    }
    #fm-blogname > div {
        margin-top: -6px;
        margin-left: 10px;
        text-align: left;
    }        
}
#fm-blogname h1 {
    font-size: 37px;
    letter-spacing: 5px;
    line-height: 1;
    margin-top: 13px;
    margin-bottom: 0;
}
#fm-blogname h1 span {
    display: inline-block;
    font-size: 20px;
}
#fm-blogname h1 a:hover {
    color: var(--fm-title-secondary);
}
#fm-blogname h2 {
    font-size: 0.8rem;
    letter-spacing: 2px;
}


/*
 * nav
 */
/* tables、phones */
@media (max-width: 991px) {
    #fm-header {
        margin-top: 10px;
    }
    #fm-nav-button {
        font-size: 30px;
        color: var(--fm-title-primary);
        position: absolute;
            right: 15px;
            top: 135px;
    }
    .menu-header-menu-container {
        background-color: white;
        
        -webkit-box-shadow: 10px 10px 5px 0 rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 10px 10px 5px 0 rgba(0, 0, 0, 0.2);
        box-shadow: 10px 10px 5px 0 rgba(0, 0, 0, 0.2), -10px -10px 5px 0 rgba(0, 0, 0, 0.2);

        display: none;
        margin-top: 10px;
        margin-left: -12px;
        position: absolute;
        width: 100%;
        z-index: 3;
    }
    .menu-header-menu-container a {
        color: var(--fm-title-primary);
        text-decoration: none;
    }
    ul#menu-header-menu {
        padding-left: 0;
    }
    ul#menu-header-menu li {
        list-style-type: none;
        position: relative;
    }
    ul#menu-header-menu>li>a {
        font-weight: bold;
    }
    ul#menu-header-menu>li>a+i,
    ul#menu-header-menu>li>ul.sub-menu>li>a+i {
        display: inline-block;
        padding: 10px;
        position: absolute;
            top: -1px;
            right: 0;
    }
    ul#menu-header-menu>li.current-menu-parent>a,
    ul#menu-header-menu>li.current-menu-item>a,
    ul#menu-header-menu>li.current-category-ancestor>a,
    ul#menu-header-menu>li>a:hover {
        color: var(--fm-title-secondary);
    }
    ul#menu-header-menu li a {
        display: inline-block;
        padding-top: 10px;
        padding-left: 30px;
        padding-bottom: 10px;
        width: 100%;
    }
    ul#menu-header-menu ul.sub-menu {
        padding-left: 0;
        display: none;
    }
    ul#menu-header-menu>li>ul.sub-menu>li>a {
        padding-left: 60px;
    }
    ul#menu-header-menu>li>ul.sub-menu>li.current-menu-item>a,
    ul#menu-header-menu>li>ul.sub-menu>li.current-menu-parent>a,
    ul#menu-header-menu>li>ul.sub-menu>li:hover>a {
        background-color: var(--fm-title-secondary);
        color: white;
    }
    ul#menu-header-menu ul.sub-menu ul.sub-menu {
        background-color: #b2b2b2;
    }
    ul#menu-header-menu>li>ul.sub-menu>li>ul.sub-menu a {
        color: white;
        padding-left: 90px;
    }
    /* 虛擬 (偽) 元素，第三階 */
    ul#menu-header-menu>li>ul.sub-menu>li>ul.sub-menu a::before {
        color: white;
        content: '▸';
        margin-right: 5px;
    }

    ul#menu-header-menu>li>ul.sub-menu>li>ul.sub-menu li.current-menu-item>a::before,
    ul#menu-header-menu>li>ul.sub-menu>li>ul.sub-menu a:hover {
        color: var(--fm-title-secondary);
    }
}

/* desktops */
@media (min-width: 992px), (min-width: 1200px), (min-width: 1400px) {
    #fm-nav-button {
        display: none;
    }
    /* 虛擬 (偽) 元素，三角型陰影 https://www.jianshu.com/p/ac6de877c6f0) */
    ul#menu-header-menu>li.menu-item-has-children>a::before {
        border-color: transparent transparent #fff #fff;
        border-style: solid;
        border-width: 10px;
        -webkit-box-shadow: -2px 2px 3px 0 rgba(0, 0, 0, 0.2);
        -moz-box-shadow: -2px 2px 3px 0 rgba(0, 0, 0, 0.2);
        box-shadow: -2px 2px 3px 0 rgba(0, 0, 0, 0.2);
        content: '';
        display: none;
        height: 0;
        position: absolute;
            top: 33px;
            right: 42px;
        transform: rotate(135deg);
        width: 0;
        z-index: 2;
    }

    nav.menu-header-menu-container {
        float: right;
        margin-top: 45px;
    }
    ul#menu-header-menu li {
        list-style-type: none;
    }
    /* 第一階樣式 */
    ul#menu-header-menu>li {
        float: left;
        position: relative;
        margin-right: 20px;
        padding-bottom: 30px;
    }

    ul#menu-header-menu>li>i {
        color: var(--fm-title-primary);
        margin-left: -5px;
    }
    /* 第二階箭頭隱藏 */
    ul#menu-header-menu ul i {
        display: none;
    }

    ul#menu-header-menu a {
        color: var(--fm-title-secondary);
        padding-bottom: 2px;
        text-decoration: none
    }
    /* 顯示第一階 */
    ul#menu-header-menu>li.menu-item-has-children:hover a::before,  /* 虛擬 (偽) 元素 */
    ul#menu-header-menu ul.sub-menu:hover,
    ul#menu-header-menu>li:hover>ul {
        display: block;
    }

    ul#menu-header-menu ul {
        padding: 0;
    }
    /* 第一階樣式 */
    ul#menu-header-menu>li>a:hover,
    ul#menu-header-menu>li:hover>a,  /* hover 下階，上階呈現樣式 */
    ul#menu-header-menu>li.current-menu-item>a,
    ul#menu-header-menu>li.current-post-ancestor>a,  /* 選擇文章時 */
    ul#menu-header-menu>li.current-menu-ancestor>a,
    ul#menu-header-menu>li.current-menu-parent>a,
    ul#menu-header-menu>li.current-page-parent>a {
        border-bottom: 3px solid var(--fm-title-primary) !important;
    }

    /* 隱藏第二階 */
    ul#menu-header-menu>li>ul {
        display: none;
    }

    /* 第二階外框 */
    ul#menu-header-menu>li>ul.sub-menu {
        background-color: white;
        border-bottom: 15px solid var(--fm-title-primary);
        box-shadow: -2px 2px 3px 0 rgba(0, 0, 0, 0.2), 2px -2px 3px 0 rgba(0, 0, 0, 0.2);;
        margin-top: 17px;
        padding-top: 20px;
        padding-bottom: 20px;
        position: absolute;
            right: 0;
        width: max-content;
        z-index: 1;
    }

    /* 第二階當前頁面內容外框 (MES 模組) */
    ul#menu-header-menu>li#menu-item-47>ul.sub-menu>li.current-menu-item,
    ul#menu-header-menu>li#menu-item-47>ul.sub-menu>li.current-post-ancestor {
        background-color: var(--fm-title-primary);
    }

    /* 第二階當前頁面內容 */
    ul#menu-header-menu>li#menu-item-47>ul.sub-menu>li.current-menu-item a,
    ul#menu-header-menu>li#menu-item-47>ul.sub-menu>li.current-post-ancestor a {
        color: white;
    }

    /* 第二階 hover 樣式 */
    ul#menu-header-menu>li#menu-item-47>ul.sub-menu>li:hover a {
        background-color: var(--fm-title-primary);
        color: white;
    }

    /* 第二階外框 */
    ul#menu-header-menu>li#menu-item-47>ul.sub-menu>li>a {
        padding: 15px;
        display: block;
    }
}


/*
 * index
 */
.home #fm-main {
    background-image:
        url('assets/images/nerve-center-top-right-bg.png'),
        url('assets/images/nerve-center-bottom-left-bg.png');
    background-position:
        right top 100px,
        left top 400px;
    background-repeat:
        no-repeat,
        no-repeat;
    background-size:
        20% auto,
        20% auto;
}
.home #fm-about-mes,
.home #fm-nerve-center,
.home #fm-nerve-center-icon {
    margin-top: 100px;
}
.home #fm-about-mes h2,
.home #fm-nerve-center h2 {
    position: relative;
}
.home #fm-nerve-center h2 {
    margin-top: 100px;
}
.home #fm-about-mes h2::after,
.home #fm-nerve-center h2::after {
    border: 1px solid var(--fm-title-secondary);
    content: "";
    position: absolute;
        left: 0;
        bottom: -10px;
    width: 100px;
}
.home #fm-about-mes .fm-title-en,
.home #fm-nerve-center .fm-title-en,
.home #fm-modules .fm-title-en,
.home #fm-power .fm-title-en,
.home #fm-news .fm-title-en {
    color: var(--fm-title-primary);
    font-size: 3rem;
    font-style: italic;
    font-weight: blod;
}
.home #fm-power .fm-title-en {
    color: #0feeff;
}
.home #fm-nerve-center .fm-title-en {
    font-size: 1rem;
    font-style: normal;
}
.home #fm-about-mes .fm-title-tw,
.home #fm-nerve-center .fm-title-tw,
.home #fm-modules .fm-title-tw,
.home #fm-power .fm-title-tw,
.home #fm-news .fm-title-tw {
    color: var(--fm-title-secondary);
    font-weight: blod;
}
.home #fm-power .fm-title-tw {
    color: white;
}
.home #fm-nerve-center-icon {
    color: #000000;
}
.home #fm-modules {
  position: relative;
  background-color: #f2f4f5; /* 灰色背景 */
  overflow: hidden;
}
/* 上方白色直斜角凹陷 */
.home #fm-modules::before {
  content: '';
  position: absolute;
  top: -20px;                /* 凹陷深度 */
  left: 50%;
  transform: translateX(-50%);
  width: 55%;                /* 凹陷寬度 */
  height: 60px;
  background-color: #ffffff;

  /* 關鍵：全部是直線，無圓弧 */
  clip-path: polygon(
    0 0,
    7% 100%,
    93% 100%,
    100% 0
  );
}
.home #fm-power {
    /* 你要的橫幅高度 */
    --h: 800px;

    /* 白色塊寬度與斜切深度（可依需求調整） */
    --cap-w: 27%;
    --slant: 14%;

    height: var(--h);

    background-color: #f2f4f5;

    /* 背景圖：只取右下角那段（發光 + 地球線條） */
    background-image: url("./assets/images/power-bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;

    position: relative;
    overflow: hidden; /* 避免斜切溢出 */
}

/* 左側白色斜切塊 */
.home #fm-power::before {
    content:"";
    position:absolute;
    left: 0;
    bottom: -1px;
    width: var(--cap-w);
    height: 40px;            /* 白色塊高度，可調 */
    background: #fff;
    clip-path: polygon(
        0 0,
        calc(100% - var(--slant)) 0,
        100% 100%,
        0 100%
    );
}
/* 右側白色斜切塊 */
.home #fm-power::after {
    content:"";
    position:absolute;
    right: 0;
    bottom: -1px;
    width: var(--cap-w);
    height: 40px;
    background: #fff;
    clip-path: polygon(
        var(--slant) 0,
        100% 0,
        100% 100%,
        0 100%
    );
}
.home #fm-power .fm-power-items .fm-power-item h3 {
    color: #0feeff !important;
}
.home #fm-power .fm-power-items .fm-power-item h3 span {
    border: 1px solid #ffffff;
    border-radius: 50%;
    display: inline-block;
    font-weight: bold;
    height: 40px;
    margin-right: 10px;
    padding-top: 3px;
    text-align: center;
    width: 40px;
}
.home #fm-power .fm-power-items .fm-power-item p {
    color: #ffffff;
    font-size: 1.2rem;
}
.home #fm-power .fm-power-items .fm-power-item:nth-child(1) {
    position: relative;
        left: 60px;
}
.home #fm-power .fm-power-items .fm-power-item:nth-child(3) {
    position: relative;
        left: 30px;
}
.home #fm-power .fm-power-items .fm-power-item:nth-child(4) {
    position: relative;
        left: 90px;
}
/* tables、phones */
@media (max-width: 991px) {
    .home #fm-power .fm-power-items .fm-power-item:nth-child(1) {
        position: relative;
            left: 0;
    }
    .home #fm-power .fm-power-items .fm-power-item:nth-child(3) {
        position: relative;
            left: 0;
    }
    .home #fm-power .fm-power-items .fm-power-item:nth-child(4) {
        position: relative;
            left: 0;
    }
}
.home #fm-power img:nth-child(1) {
    position: relative;
        top: -80px;
}
.home #fm-power img:nth-child(2) {
    position: relative;
        top: -320px;
        right: -100px;
}
.home #fm-news time {
    color: var(--fm-title-primary)
}
.home #fm-news h2 a {
    color: #000000 !important;
    font-size: 1rem;
    text-decoration: none;
}
.home #fm-news h2 a:hover {
    text-decoration: underline;
}


/*
 * LINE @ */
#fm-line-at h2,
#fm-line-at h3 {
    color: #497384 !important;
}
#fm-line-at h2 {
    font-weight: bold;
    margin-top: 120px;
}
#fm-line-at a h1 {
    color: #000000 !important;
    font-size: 1.5rem;
}
#fm-line-at a h2 {
    color: #000000 !important;
    font-size: 1rem;
    margin-top: 0;
}
#fm-line-at a {
    text-decoration: none;
}
#fm-line-at a:hover h1,
#fm-line-at a:hover h2 {
    color: #00b900!important;
}
/* tables、phones */
@media (max-width: 991px) {
    #fm-line-at img {
        width: 200px;
        height: auto;
    }
}


/*
 * archive
 */
.archive #fm-main h4 {
    font-size: 1.25rem;
    font-weight: bold;
}
.archive #fm-main h4 a  {
    color: #4F4E50;
    text-decoration: none;
}
.archive #fm-main h4 a:hover {
    text-decoration: underline;
}
.archive #fm-main article > div {
    padding-left: 0;
    padding-right: 0;
}
@media (min-width: 640px) {
    .archive #fm-main article > div {
        padding-left: 8px;
        padding-right: 8px;
    }
}
.archive #fm-main .bricklayer-column {
    padding-left: 15px;
    padding-right: 15px;
}
.archive #fm-main .bricklayer-column > div {
    padding-top: 30px;
    padding-bottom: 30px;
}
.archive time + a {
    color: #0b73a0;
    text-decoration: none;
}
.archive time + a:hover {
    text-decoration: underline;
}


/*
 * 分頁 */
.navigation.pagination {
    margin-top: 30px;
}
.navigation.pagination .nav-links {
    margin: auto;
}
.navigation.pagination .nav-links .page-numbers {
    color: var(--fm-title-secondary);
    border: 1px solid var(--fm-title-secondary);
    display: inline-block;
    width: 30px;
    margin-left: -5px;
    text-decoration: none;;
}
.navigation.pagination .nav-links .page-numbers:hover {
    color: #fff;
    background-color: var(--fm-title-secondary);
}
.navigation.pagination .nav-links .current,
.navigation.pagination .nav-links .current:hover {
    color: #ffffff!important;
    background-color: #81d0be;
}
.navigation.pagination .nav-links .dots:hover {
    color: var(--fm-title-secondary);
    background-color: white;
}


/*
 * footer
 */
#fm-footer {
    background-color: #35b8c2;
}
#fm-footer h1,
#fm-footer h2,
#fm-footer small,
#fm-footer small a,
#fm-footer li,
#fm-footer li a {
    color: white!important;
    text-decoration: none;
}
#fm-footer ul#menu-footer-menu {
    width: 315px;
    margin: auto;
    margin-top: 12px;
}
#fm-footer ul#menu-footer-menu li {
    float: left;
    margin-right: 15px;
}
#fm-footer ul#menu-footer-menu li:nth-child(4) {
    margin-right: 0;
}
#fm-footer small a:hover,
#fm-footer ul li a:hover {
    text-decoration: underline;
}

/*
 * aside (home、page、archive)
 */
.home #fm-aside-right article a,
.page #fm-aside-right article a,
.archive #fm-aside-right article a {
    width: 100px;
}
.home #fm-aside-right h4,
.page #fm-aside-right h4,
.archive #fm-aside-right h4 {
    font-size: 1rem;
}
.home #fm-aside-right h4 a,
.home #fm-aside-right h4 a:hover,
.page #fm-aside-right h4 a,
.page #fm-aside-right h4 a:hover,
.archive #fm-aside-right h4 a,
.archive #fm-aside-right h4 a:hover {
    color: #212529;
}
.home #fm-aside-right time,
.page #fm-aside-right time,
.archive #fm-aside-right time {
    font-size: 0.88rem;
}
 
 
/*
 * Jetpack 社群分享
 */
.sharedaddy li {
    padding-left: 0 !important;
    margin-right: 10px !important;
}
 
 
/*
 * single
 */
#fm-aside-left-controll {
    color: var(--fm-title-secondary);
    font-size: 30px;
}
#fm-aside-left-controll:hover {
    color: var(--fm-title-secondary-hover)
}
#fm-aside-left dl {
    margin-bottom: 30px;
}
#fm-aside-left,
#fm-aside-left a {
    color: var(--fm-title-primary);
    text-decoration: none;
}
#fm-aside-left dt {
    border-bottom: 4px solid var(--fm-title-secondary-hover);
    margin-bottom: 10px;
    padding: 5px 0;
    position: relative;
}
#fm-aside-left dt::after {
    border-bottom: 4px solid var(--fm-title-secondary);
    content: '';
    position: absolute;
        left: 0;
        bottom: -4px;
    width: 35px;
}
#fm-aside-left dd a.fm-active {
    color: var(--fm-title-secondary);
}
#fm-aside-left dd a:hover {
    color: var(--fm-title-secondary);
    border-color: var(--fm-title-secondary);
}
.single .fm-content .btn {
    color: var(--fm-title-secondary)!important;
    border-color: var(--fm-title-secondary)!important;
}
.single .fm-content .btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.single .fm-content .btn:hover {
    color: #ffffff!important;
    background-color: var(--fm-title-secondary);
    border-color: var(--fm-title-secondary);
}
.single .fm-content .btn:focus {
    box-shadow: 0 0 0 0.25rem rgb(60 183 155 / 50%);
}
.single time + a {
    color: #0b73a0;
    text-decoration: none;
}
.single time + a:hover {
    text-decoration: underline;
}


/*
 * comments */
#comments ul {
    list-style: none;
}
#comments .comment-list {
    border-bottom: 4px solid var(--bs-secondary);
    margin-bottom: 64px;
    padding-bottom: 32px;
}
/* 父迴響 */
#comments .comment-list > li > article {
    background-color: #f8f9fa;
    border-bottom-width: 0;
    margin-top: 16px;
    margin-bottom: 16px;
}
/* 所有迴響 */
#comments article {
    border-bottom: 1px solid #dee2e6;
    margin-top: 16px;
    margin-bottom: 16px;
    padding: 16px;
}
/* 每個父迴響的最後一個子迴響 */
#comments .comment-list > li article:last-child {
    border-bottom-width: 0;
}

#comments .comment-content {
    margin-top: 24px;
    margin-bottom: 24px;
}
#comments .comment-author img {
    float: left;
    margin-right: 16px;
}
#comments .says,
#comments .edit-link {
    margin-left: 8px;
}
#jetpack_remote_comment .comment-submit {
    border: 1px solid #3cb79b;
    background: none!important;
    background-color: #3cb79b!important;
    color: white!important;
    padding: 10px 20px!important;
}


/*
 * main、page */
.single #fm-main > article,
.page #fm-main > article {
    /* border-bottom: 4px solid var(--bs-secondary); */
    margin-bottom: 2rem;
    padding-bottom: 2rem;
}
.single #fm-main > article time,
.page #fm-main > article time {
    font-size: 0.88rem;
}
.single #fm-main > article h2,
.page #fm-main > article h2 {
    border-bottom: 1px solid var(--fm-title-primary);
    margin-top: 5rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
}
.single #fm-main > article h3,
.page #fm-main > article h3 {
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    margin-left: -0.75rem;
}
.single #fm-main > article h3::before,
.page #fm-main > article h3::before {
    color: var(--fm-title-primary);
    content: "+";
    margin-right: 0.5rem;
}
.single #fm-main > article h4,
.page #fm-main > article h4 {
    color: var(--fm-text-secondary)!important;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}
.single #fm-main > article h4::before,
.page #fm-main > article h4::before {
    color: var(--fm-title-primary);
    content: "-";
    margin-right: 0.5rem;
}
.single #fm-main > article h5,
.page #fm-main > article h5 {
    font-weight: bold;
    margin-top: 3rem;
    margin-bottom: 1rem;
}
.single #fm-main > article p,
.page #fm-main > article p {
    margin-top: 2rem;
}
.single .fm-meta div,
.page .fm-meta div {
    margin-bottom: 20px;
}
.single .fm-meta .bi-folder,
.single .fm-meta .bi-tags {
    float: left;
    font-size: 30px;
    margin-top: -10px;
    margin-right: 10px;
}
.single figure,
.page figure {
    display: inline-block;
    text-align: center;
}
.single figure figcaption,
.page figure figcaption {
    color: var(--fm-title-primary);
}
.single figure img,
.page figure img {
    width: 100%;
    height: auto;
}
.wp-block-pullquote {
    border-top: 5px solid var(--fm-text-secondary);
    border-bottom: 5px solid var(--fm-text-secondary);
    margin: 30px 0;
    padding: 30px 0;
    width: 100%;
}
.jumbotron {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    background-color: #e9ecef;
    border-radius: .3rem;
}

/*
 * 上一篇、下一篇文章 */
.single .fm-post ul li,
.page .fm-page ul li {
    list-style-type: none;
    border-left: 15px solid #e9ecef;
    margin-left: -29px;
    padding-left: 15px;
}

/*
 * comments */
#comments ul {
    list-style: none;
}
#comments .comment-list {
    border-bottom: 4px solid var(--bs-secondary);
    margin-bottom: 64px;
    padding-bottom: 32px;
}
/* 父迴響 */
#comments .comment-list > li > article {
    background-color: #f8f9fa;
    border-bottom-width: 0;
    margin-top: 16px;
    margin-bottom: 16px;
}
/* 所有迴響 */
#comments article {
    border-bottom: 1px solid #dee2e6;
    margin-top: 16px;
    margin-bottom: 16px;
    padding: 16px;
}
/* 每個父迴響的最後一個子迴響 */
#comments .comment-list > li article:last-child {
    border-bottom-width: 0;
}

#comments .comment-content {
    margin-top: 24px;
    margin-bottom: 24px;
}
#comments .comment-author img {
    float: left;
    margin-right: 16px;
}
#comments .says,
#comments .edit-link {
    margin-left: 8px;
}
#jetpack_remote_comment .comment-submit {
    border: 1px solid #3cb79b;
    background: none!important;
    background-color: #3cb79b!important;
    color: white!important;
    padding: 10px 20px!important;
}


/*
 * contact
 */
/* form */
body.page-id-8623 .form-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 3rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}
body.page-id-8623 .form-error h3 {
    font-size: 1.5rem;
    font-weight: bold;
}
body.page-id-8623 .form-error .form-errors {
    list-style: none;
    margin: 0;
    padding: 0;
}
body.page-id-8623 .form-error .form-error-message {
    color: #721c24;
}
/* 必填星號 * */
body.page-id-8623 .contact-form label.grunion-field-label span {
    color: red
}

body.page-id-8623 .grunion-field-label {
    color: #333333;
}
body.page-id-8623 .contact-form input[type=text],
body.page-id-8623 .contact-form input[type=email],
body.page-id-8623 .contact-form input[type=tel],
body.page-id-8623 .contact-form input[type=url],
body.page-id-8623 .contact-form textarea {
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
body.page-id-8623 .contact-form input[type=text]:focus,
body.page-id-8623 .contact-form input[type=email]:focus,
body.page-id-8623 .contact-form input[type=tel]:focus,
body.page-id-8623 .contact-form input[type=url]:focus,
body.page-id-8623 .contact-form textarea:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgb(60 183 155 / 0.5);
}
body.page-id-8623 .contact-form textarea {
    height: 8rem;
}
body.page-id-8623 .contact-form label.checkbox-multiple {
    margin-right: 1.5rem;
}
body.page-id-8623 .contact-form input[type=checkbox] {
    margin-right: 0.4rem;
}
body.page-id-8623 .grunion-checkbox-multiple-label,
body.page-id-8623 .grunion-radio-label {
    margin-right: 15px;
}
body.page-id-8623 .clear-form {
    display: none;
}
body.page-id-8623 .contact-submit {
    text-align: center;
    margin-top: 2rem;
}
#fm-btn-outline-prmary .btn-outline-success:not(:disabled):not(.disabled):active,
body.page-id-8623 .wp-block-button__link:not(:disabled):not(.disabled):active {
    color: #fff;
    background-color: var(--fm-title-secondary);
    border-color: var(--fm-title-secondary);
}
#fm-btn-outline-prmary .btn-outline-success:hover,
body.page-id-8623 .wp-block-button__link:hover {
    color: #fff;
    background-color: var(--fm-title-secondary);
    border-color: var(--fm-title-secondary);
}
#fm-btn-outline-prmary .btn-outline-success:focus,
body.page-id-8623 .wp-block-button__link:focus {
    box-shadow: 0 0 0 0.25rem rgb(60 183 155 / 0.5);
}
#fm-btn-outline-prmary .btn-success {
    border-radius: 0;
}
#fm-btn-outline-prmary .btn-outline-success,
body.page-id-8623 .wp-block-button__link {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
#fm-btn-outline-prmary .btn-outline-success,
body.page-id-8623 .wp-block-button__link {
    color: var(--fm-title-secondary);
    border-color: var(--fm-title-secondary);
}


/*
 * fm-aside-right (Bootstrap Scrollspy)
 */
#fm-navbar-scrollspy>a.navbar-brand {
    background-color: var(--fm-title-primary);
    border: 1px solid var(--fm-title-primary);
    color: white;
    display: inline-block;
    text-align: center;
    margin-bottom: 15px;
    width: 100%;
}
#fm-navbar-scrollspy>a.navbar-brand:hover {
    color: var(--fm-title-primary-hover);
}
#fm-navbar-scrollspy .navbar-brand {
    font-size: 20px;
    font-weight: bold;
}
#fm-navbar-scrollspy a {
    background-color: transparent;
    border-bottom: 1px solid transparent;
    border-radius: 0;
    color: #000000;
    font-size: 14px;
    margin-top: 1px;
    margin-bottom: 1px;
    padding: 0;
}
#fm-navbar-scrollspy a:hover {
    color: var(--fm-title-primary);
}
#fm-navbar-scrollspy>nav>a {
    font-weight: bold;
}
#fm-navbar-scrollspy > nav > .active,
#fm-navbar-scrollspy > nav > a:hover {
    border-color: var(--fm-title-primary);
}
#fm-navbar-scrollspy > nav > nav > a {
    margin-left: 16px;
}
#fm-navbar-scrollspy > nav > nav > a::before {
    color: transparent;
    content: "+";
    margin-right: 4px;
}
#fm-navbar-scrollspy > nav > nav > .active::before,
#fm-navbar-scrollspy > nav > nav > a:hover:before {
    color: var(--fm-title-primary);
}
#fm-navbar-scrollspy > nav > nav > nav > a {
    color: var(--fm-text-secondary);
    margin-left: 47px;
}
#fm-navbar-scrollspy > nav > nav > nav > a::before {
    color: transparent;
    content: "#";
    margin-right: 4px;
}
#fm-navbar-scrollspy > nav > nav > nav > a.active::before,
#fm-navbar-scrollspy > nav > nav > nav > a:hover::before {
    color: var(--fm-title-primary);
}
@media (min-width: 992px) {
    #fm-aside-right .navbar {
        position: sticky;
            top: 20px;
    }
}
