.elementor-kit-9{--e-global-color-primary:#413486;--e-global-color-secondary:#BAE8E1;--e-global-color-text:#282828;--e-global-color-accent:#E5542F;--e-global-typography-primary-font-family:"Noto Sans TC";--e-global-typography-primary-font-size:18px;--e-global-typography-primary-font-weight:500;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-size:18px;--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-size:18px;--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;background-color:#28525E;background-image:url("https://at99lucky.tw/wp-content/uploads/2025/09/banner-scaled.jpg");font-family:"Noto Sans TC", Sans-serif;font-size:18px;font-weight:500;line-height:1.4;background-position:center center;background-repeat:no-repeat;background-size:cover;overscroll-behavior:contain;}.elementor-kit-9 e-page-transition{background-color:#FFBC7D;}.elementor-kit-9 h1{font-family:"Noto Serif TC", Sans-serif;font-size:36px;font-weight:900;}.elementor-kit-9 h2{font-family:"Noto Serif TC", Sans-serif;font-weight:900;text-transform:none;font-style:normal;line-height:1.2;letter-spacing:0px;word-spacing:0px;}.elementor-kit-9 h3{font-family:"Noto Serif TC", Sans-serif;font-size:22px;font-weight:900;line-height:1.2;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;--container-default-padding-top:20px;--container-default-padding-right:20px;--container-default-padding-bottom:20px;--container-default-padding-left:20px;}.elementor-widget:not(:last-child){--kit-widget-spacing:5px;}.elementor-element{--widgets-spacing:5px 5px;--widgets-spacing-row:5px;--widgets-spacing-column:5px;}{}h1.entry-title{display:var(--page-title-display);}@media(min-width:1025px){.elementor-kit-9{background-attachment:fixed;}}@media(max-width:1024px){.elementor-kit-9{background-image:url("https://at99lucky.tw/wp-content/uploads/2025/09/banner_p.jpg");background-position:top center;background-repeat:no-repeat;background-size:100% auto;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-9{background-image:url("https://at99lucky.tw/wp-content/uploads/2025/09/banner_m_dark-scaled.jpg");background-position:top center;background-repeat:no-repeat;background-size:100% auto;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* 全站平滑捲動 */
html {
  scroll-behavior: smooth;
}

/* 自動預留 header 高度，根據實際高度再加一點緩衝 */
:root {
  --header-offset: 0px;
}

body {
    padding-top: 60px;
}

a {
    color: #87726d;
}
a:active,
a:hover {
    color: var(--e-global-color-primary);
}
[type="button"],
[type="submit"],
button {
    background-color: var(--e-global-color-primary);
    border: 1px solid var(--e-global-color-primary);
    border-radius: 3px;
    color: white;
}
[type="button"]:focus,
[type="button"]:hover,
[type="submit"]:focus,
[type="submit"]:hover,
button:focus,
button:hover {
    background-color: #5e4eb1;
    color: white;
}


#ez-toc-container .ez-toc-title {
    width: calc(100% + 240px);
    margin-left: -60px;
    padding-top: 20px;
    padding-left: 10px;
    padding-right: 120px;
    font-family: "Noto Sans TC", Sans-serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.4;
}

#ez-toc-container .ez-toc-title-toggle {
    display: none;
}

#ez-toc-container ul,
.elementor-toc__body ol {
    list-style: none;
    padding-left: 0;
    font-size: 15px !important;
    font-weight: 800;
    line-height: 2.2 !important;
}

#ez-toc-container ul li,
.elementor-toc__body ol li {
    position: relative;
    padding-left: 20px;
    font-size: 15px !important;
    line-height: 2.2 !important;
    padding-bottom: 0 !important;
    /*display: flex;*/
    /*justify-content: flex-start;*/
}

#ez-toc-container ul li:before {
    position: absolute;
    display: inline-block;
    width: 20px;
    left: 0;
    content: "-";
    padding-right: 5px;
    color: #87726d;
    text-align: right;
}

#ez-toc-container ul.ez-toc-list>li:before  {
    content: "▪";
}

#ez-toc-container .ez-toc-list li a,
.elementor-toc__body ol li a.elementor-toc__list-item-text {
    font-size: 15px !important;
    line-height: 2.2 !important;
    border-bottom: 1px solid var(--e-global-color-accent);
    padding: 0 !important;
}

#ez-toc-container .ez-toc-list li a:hover,
.elementor-toc__body ol li a.elementor-toc__list-item-text:hover {
    text-decoration: none;
}

@media (max-width: 1024px) {

    #ez-toc-container .ez-toc-title {
        width: calc(100% + 40px);
        margin-left: -20px;
        padding-right: 50px;
    }

}

@media (max-width: 767px) {

    #ez-toc-container .ez-toc-title {
        width: 100%;
        margin-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 768px) {
    #ez-toc-container .ez-toc-list,
    .elementor-toc__body {
        columns: 2;
        column-gap: 40px; 
        list-style-position: inside;
    }
}

/* 讓滾動定位時預留 header 的距離 */
.e-n-tabs-content [role="tabpanel"],
.e-n-tabs-content .e-con {
  scroll-margin-top: calc(var(--header-offset) + 20px);
}

/* 減少行動裝置點擊延遲 */
.e-n-tab-title { touch-action: manipulation; }

/* 沒有 e-active 一律隱藏 */
.e-n-menu-content:not(.e-active) > div { 
  display: none !important;
}
.e-n-menu-content.e-active > div {
  display: flex;
}

/* 若有固定頂欄，避免 #錨點被頂到 */
[id] { scroll-margin-top: 60px; } /* 依 header 高度調整 */


.wp-caption-text {
    padding-top: 10px;
    padding0bottom: 10px;
    font-size: 13px;
}/* End custom CSS */