/*
Theme Name: HashOne Child
Template: hashone
*/

/* ============================================================
   HashOne 主题定制整合版（最终完整版）
   包含：
   1. 主色古铜金 #B87333（按钮、链接、边框等）
   2. Features 模块六边形图标（古铜金，无中间细线）
   3. 其他 Icon 背景透明（服务、计数器、作品集、社交等）
   4. Header 顶部横线古铜金，底部横线移除
   5. 回到顶部按钮古铜金，悬停黑色
   6. 底部 Footer 标题首字母古铜金
   7. 版权与备案号文字颜色 #8a8a8a
   8. 字体大小调整：导航菜单及下拉菜单 16px，底部 Footer 标题 16px
   ============================================================ */

/* ---------- 1. 主色替换：红色 → 古铜金 ---------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    background: #B87333;
}

/* 全局链接只在 hover 时金色，默认恢复母主题 */
a:hover,
a:focus,
a:active,
.entry-header .entry-title:first-letter,
.entry-categories .fa,
.widget-area a:hover,
.comment-list a:hover,
.no-comments,
.hs-site-title a:first-letter,
.hs-featured-post h3 a:hover,
.hs-service-excerpt h6 a:hover,
.hs-team-member h6 a:hover,
.hs-blog-post:hover .hs-blog-excerpt h5 a,
.hs-blog-post:hover {
    color: #B87333;
}

/* 导航：默认恢复主题色，hover/当前项金色 */
.hs-main-navigation li:hover > a,
.page-template-home-template .hs-main-navigation .current_page_item:hover > a,
.page-template-home-template .hs-main-navigation .current-menu-item:hover > a,
.page-template-home-template .hs-main-navigation .current_page_ancestor:hover > a,
.page-template-home-template .hs-white.fadeInDown .hs-main-navigation li:hover > a,
.home.blog .hs-main-navigation .current_page_item:hover > a,
.home.blog .hs-main-navigation .current-menu-item:hover > a,
.home.blog .hs-main-navigation .current_page_ancestor:hover > a,
.home.blog .hs-white.fadeInDown .hs-main-navigation li:hover > a,
.hs-main-navigation .current_page_item > a,
.hs-main-navigation .current-menu-item > a,
.hs-main-navigation .current_page_ancestor > a,
.page-template-home-template .hs-main-navigation .current > a,
.page-template-home-template .hs-white.fadeInDown .hs-main-navigation .current > a,
.home.blog .hs-main-navigation .current > a,
.home.blog .hs-white.fadeInDown .hs-main-navigation .current > a {
    color: #B87333 !important;
}

.hs-post-info,
.hs-post-info a,
.entry-readmore a,
.widget-area .widget-title:after,
h3#reply-title:after,
h3.comments-title:after,
.nav-previous a,
.nav-next a,
.nav-next a:after,
.nav-previous a:after,
.pagination .nav-links a,
.pagination .nav-links span,
.hs-progress-bar-length,
.hs-portfolio-cat-name:hover,
.hs-portfolio-cat-name.active,
.hs-portfolio-cat-name.active:after,
.hs-team-member h6:after,
.hs-testimonial-wrap .owl-carousel .owl-dot span:hover,
.hs-testimonial-wrap .owl-carousel .owl-dot.active span,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background-color: #B87333;
}

.hs-menu > ul > li > a:after,
.hs-pagination .nav-links a,
.hs-pagination .nav-links span,
.hs-portfolio-cat-name.active,
.hs-portfolio-cat-name:hover {
    border-color: #B87333;
}

.entry-readmore a:hover,
#hs-back-top:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.pagination .nav-links a:hover,
.pagination .nav-links span.current {
    background: #000;
}

.entry-content a:hover,
.hs-blog .hs-blog-content h3.entry-title a:hover,
.hs-service .hs-service-content h3 a:hover,
.hs-portfolio .hs-portfolio-cat a.active,
.hs-portfolio .hs-portfolio-cat a:hover,
.widget ul li a:hover,
.hs-error-page .error-text span,
.hs-pagination .nav-links .page-numbers.current,
.hs-site-footer .hs-footer a:hover,
.hs-blog .hs-blog-content .hs-blog-bottom .read-more:hover,
.hs-service .hs-service-content .read-more:hover,
.hs-team .hs-team-social a i:hover,
.entry-content p a,
.hs-slider .hs-container .hs-slider-content .slider-btn a,
.hs-feature-post .hs-feature-icon i,
.hs-service .hs-service-icon i,
.hs-counter .hs-counter-icon i,
.hs-pagination .nav-links .page-numbers.current,
.hs-pagination .nav-links a.page-numbers:hover,
.widget.widget_tag_cloud a:hover,
.widget.widget_product_tag_cloud a:hover,
#hs-scrollup,
.hs-team .hs-team-social a i:hover {
    color: #B87333;
}

/* ---------- 2. Features 模块六边形图标（古铜金，无中间细线） ---------- */
.hs-featured-post .hs-featured-icon {
    background: #B87333 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}
.hs-featured-post .hs-featured-icon:before {
    border-bottom-color: #B87333 !important;
    border-left-color: transparent !important;
    border-right-color: transparent !important;
    top: -24.5px !important;
}
.hs-featured-post .hs-featured-icon:after {
    border-top-color: #B87333 !important;
    border-left-color: transparent !important;
    border-right-color: transparent !important;
    bottom: -24.5px !important;
}

/* ---------- 3. 其他 Icon 背景恢复透明 ---------- */
.hs-service-icon,
.hs-counter-icon,
.hs-counter-icon:after,
.hs-counter-icon:before,
.hs-portfolio-caption a,
.hs-social a,
.hs-testimonial-wrap .owl-carousel .owl-dot span {
    background-color: transparent !important;
}
.hs-service-icon i,
.hs-counter-icon i {
    color: #B87333;
}
.hs-social a:hover {
    background-color: #000 !important;
}

/* ---------- 4. Header 顶部横线古铜金，底部横线移除 ---------- */
#hs-masthead {
    border-top: 2px solid #B87333 !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* ---------- 5. 回到顶部按钮背景古铜金，悬停黑色 ---------- */
#hs-back-top {
    background-color: #B87333 !important;
    transition: background-color 0.2s ease;
}
#hs-back-top:hover {
    background-color: #000000 !important;
}

/* ---------- 6. 底部 Footer 小工具标题首字母改为古铜金 ---------- */
#hs-colophon h4.widget-title::first-letter {
    color: #B87333 !important;
}

/* ---------- 7. 版权与备案号文字颜色 ---------- */
.hs-copy-right,
.hs-copy-right a,
.hs-site-info,
.hs-site-info a,
.hs-site-info span.sep {
    color: #8a8a8a !important;
}
.hs-site-info a:hover {
    color: #666 !important;
}

/* ---------- 8. 字体大小调整 ---------- */
/* 底部 Footer 小工具标题：26px → 16px */
#hs-colophon h4.widget-title {
    font-size: 16px !important;
}
/* 主导航菜单链接：14px → 16px */
.hs-main-navigation a {
    font-size: 16px !important;
}
/* 下拉子菜单链接：14px → 16px */
.hs-main-navigation ul ul a {
    font-size: 16px !important;
}

/* 底部 Footer 小工具内容字体缩小 */
.hs-footer .widget,
.hs-footer .widget p,
.hs-footer .widget li,
.hs-footer .widget a,
.hs-footer .widget span,
.hs-footer .widget .textwidget {
    font-size: 12px !important;
}

/* 4个自定义模块通用样式 */
.hs-section[class*='myblock'] {
  position: relative;
  padding: 80px 0;
  z-index: 1;
}
.hs-custom-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1;
}
.custom-block-content {
  max-width: 1170px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  font-size: 16px;
  line-height: 1.8;
}

/* 你原来所有的 CSS 代码 ... */

/* 粘贴在最后一行下面 */
/* 修复：首页当前页导航强制白色，不被金色覆盖 */
.home .hs-main-navigation li.current_page_item > a {
    color: #ffffff !important;
}
.home .hs-main-navigation li.current_page_item ul li a {
    color: #333 !important;
}


/* ========== Portfolio 分类三角终极修复 ========== */
/* 只改颜色 + 透明背景 → 永远小三角 */
.hs-portfolio-cat-name:after,
.hs-portfolio-cat-name.active:after {
    border-color: #B87333 transparent transparent transparent !important;
    background: transparent !important;
}