:root {
    --base-font-size: 16px;
    --mobile-font-size: 16px;
    --primary-color: #2C4F3E;
    --secondary-color: #C8A165;
    --link-color: #2C4F3E;
    --link-hover-color: #C8A165;
    --header-bg-color: transparent;
    --header-text-color: #2C4F3E;
    --header-link-color: #2C4F3E;
    --header-link-hover-color: #C8A165;
    --header-link-hover-bg-color: transparent;
    --header-icon-color: #2C4F3E;
    --header-icon-hover-color: #C8A165;
    --header-mobile-icon-color: #2C4F3E;
    --button-bg-color:#2C4F3E;
    --button-text-color: #ffffff;
    --button-bg-hover-color: #e6c332;
    --button-text-hover-color: #ffffff;
    --outline-button-border-color:  #2C4F3E;
    --outline-button-text-color:  #2C4F3E;
    --outline-button-bg-color: transparent;
    --outline-button-border-hover-color:  #2C4F3E;
    --outline-button-text-hover-color: #2C4F3E;
    --outline-button-bg-hover-color:  #e8e1d1;
    --footer-bg-color: #2C4F3E;
    --footer-text-color: #6c757d;
    --footer-link-color: #e5e7eb;
    --footer-link-hover-color: #C8A165;
    --sub-bg-color:#F9F7F2;
}

.navi-item ul li a span,footer .small-title {
    font-family: "Playfair Display","Noto Sans TC", "Heiti TC", "微軟正黑體", "Open Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
   font-weight:500;
}
.btn-outline-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-size: 0.9rem;
}
.btn-outline-secondary:not(:disabled):not(.disabled).active, .btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}
.pagging-title {
 color: var(--primary-color);
 font-family: "Playfair Display", "Noto Serif TC", serif;
}
.pagging-title span {
 font-weight: 600;
}
.title > span:nth-child(2) {
    font-size: 1.875rem;
    color: var(--primary-color);
    font-family: "Noto Serif TC", "Heiti TC", "微軟正黑體", serif;
    font-weight: 700;
    padding-top: 0rem;
}
.title {
    color: var(--secondary-color);
    font-size: 1.4rem;
    text-align: center;
    display: inline-block;
    margin-bottom: 10px;
    font-family: "Playfair Display", "Noto Serif TC", serif;
    border: 0px solid #666666;
    padding: 15px 0px;
    line-height:1.2;
}
.title::after {
    content: "";
    width: 60px;
    height: 4px;
    margin: 0 auto;
    display: inline-block;
    background: var(--secondary-color);
    position: relative;
    right: auto;
}
.title::before {
    display:none;
}
.title > span:nth-child(2)::before {
display:none;
}
.web-title {
margin-bottom: 0;
}
.web-title > a {
    padding: 5px 10px;
   font-family: "Playfair Display","Noto Sans TC", "Heiti TC", "微軟正黑體", "Open Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
    position: relative;
    color: var(--primary-color);
    font-weight:700;
}
.mobile-logo .logo-text {
font-family: "Playfair Display","Noto Sans TC", "Heiti TC", "微軟正黑體", "Open Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
color: var(--primary-color);
font-weight:700;
font-size: 1.3rem;
}
.web-title > a:hover {
    color: var(--primary-color);
}
.web-title > a::before,.web-title > a::after {
    display:none;
}
.naviMain ul > li > a:hover {
background: none;
}
.naviMain ul {
justify-content: flex-end;
}

aside .tag-group .article-tag {
    background-color: var(--sub-bg-color)!important;
    color: var(--primary-color)!important;
    margin-left: 0!important;
    border-radius: 30px;
}
aside .tag-group {
padding: 0px;
}

aside .tag-group {
    background-color: #ffffff;
}
aside .tag-group::before {
    content: attr(data-title);
    position: relative;
    top: 0px;
}
.tag-box {
    margin-top: 10px;
}
.blog-info .title {
  font-family: "Noto Sans TC", "Heiti TC", "微軟正黑體", "Open Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.naviMain ul > li:last-child > a {
    margin: 0 auto;
    position: relative;
    height: 40px;
    line-height: 40px;
    background: var(--primary-color);
    color: #fff;
}
.naviMain ul > li:last-child > a:hover {
    background:#1e362b;
}

.navi-item:nth-child(2) {
    -ms-flex: 0 0 190px;
    flex: 0 0 190px;
    max-width: 190px;
   height: auto; 
}
@media (min-width: 993px) {
    .navbar-brand {
        display: inline-block;
        max-width: 190px;
    }
}
.navbar-brand {
    margin-right: 0;
}
.navbar .navi-item ul li {
        display: inline-block;
        margin: 0 5px;
    }
.index-editor {
    background-color: #f9f7f2;
}
.navi-item:nth-child(2) .container {
padding:0;
}
.mobile-logo .logo-img {
    max-width: 150px;
    max-height: inherit;
    display: block;
    position: relative;
    top: -2px;
}
.logo-img img {
    max-height: inherit;
}
.mobile-menu.left-style .mobile-logo {
    float: left;
    margin-left: 0px;
}

.style404 .title::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 0;
    left:0;
    border-radius: 5px;
}

section.style404 {
    height: inherit!important;
    display: flex;
    flex-direction: column;
        justify-content: flex-start!important;
    min-height: 500px;
}
.style404 .title {
    color: #e8e1d1!important;
}
footer .copyright {
    background: #1a3026;
    padding-bottom: 15px;
}
footer {
    padding-bottom: 0;
}
.is-card,.btn-hover-style a {
transition: 0.3s ease-in-out;
}
.is-card:hover {
    transform: translateY(-0.5rem);
    border:1px solid rgb(200 161 101 / 0.3)!important;
}
.is-card.specialty-card {
    background-color: rgba(255, 255, 255, 0.05)!important;
    backdrop-filter: blur(10px);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s;
}
.is-card.specialty-card:hover {
    background-color: rgba(255, 255, 255, 0.1)!important;
   transform: translateY(0);
}
.specialty-card ul li {
color:#d1d5db;
}
#index-blog {
    background: #f9f7f2;
    padding:40px 0;
}

.btn-sideline > span {
    background-color: #f9f7f2;
}
.btn-hover-style a {
    transform: scale(1);
}
.btn-hover-style a:hover {
    transform: scale(1.05);
}
.footer-icon-hover a:hover {
   color: #c8a165!important;
}
footer {
    position: relative; 
}

footer::after {
    content: "";
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none; 
    z-index: 0; 
}
main .index-editor:first-child.cover {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
    padding-top:150px;
}

@media (max-width: 800px) {
    main .index-editor:first-child.cover {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom right;
    padding-top:20px;
}
}
/* 導覽列基礎樣式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 100%;
    padding: 1rem 10%;
    z-index: 1030;
    transition: all 0.3s ease;
    background-color: transparent;
}

/* 滾動後的樣式 */
.navbar.fixed {
    background: rgb(255 255 255 / 0.95);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.pagging-header {
    position: relative;
    height:100px;
}
@media (max-width: 992px) {
    .pagging-header {
    height:0px;
    }
}
.html-info {
    margin-bottom: 0;
}
section.index-editor  {
    padding-top: 0;
    padding-bottom: 0;
}
section.index-editor .row {
    padding-top: 0;
    padding-bottom: 0;
}
section {
    padding-top: 0;
    padding-bottom: 0;
}