/*
Theme Name: kuaili-corp-theme
Theme URI: 
Author: kuaili
Author URI: 
Description: 快礼企业块主题。
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 5.6
Version: 1.0
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kuaili-corp-theme
Tags: left-sidebar, right-sidebar, one-column, two-columns, three-columns, four-columns, grid-layout, wide-blocks, rtl-language-support, block-styles, style-variations, translation-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, full-site-editing, block-patterns, sticky-post, threaded-comments, template-editing, blog, portfolio, photography

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

kuaili-corp-theme is based on Twenty Twenty-Two WordPress Theme, (C) 2021 WordPress.org
Twenty Twenty-Two is distributed under the terms of the GNU GPL.

*/

/* ================================================================
   1. 全局重置与基础样式
   ================================================================ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

header a,
footer a {
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  clear: both;
  line-height: 1.4;
  font-weight: 700;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 0;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

table {
  width: 100%;
  border-spacing: 0;
}

th, td {
  padding: 5px;
  text-align: center;
}

table td,
table tr,
table th {
  border: 1px solid #ddd;
}

embed,
iframe,
object {
  max-width: 100%;
}

img, .wp-block-image img {
  height: auto;
  max-width: 100%;
  vertical-align: middle;
}

figure {
  margin: 1em 0;
}

dfn, cite, em, i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code, kbd, tt, var {
  font-size: 17px;
}

abbr, acronym {
  border-bottom: 1px dotted #ddd;
  cursor: help;
}

mark, ins {
  background: #ddd;
  text-decoration: none;
}

big {
  font-size: 125%;
}

select,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  border-radius: 0;
  box-sizing: border-box;
  display: block;
  font-size: 17px;
  width: 100%;
  background: #fff;
  border: 1px solid #ccc;
  line-height: 1.75;
  padding: 7px 15px;
  color: #1c1c1c;
}

p a {
  text-decoration: underline;
}

textarea {
  width: 100%;
  height: 120px;
  padding: 15px 20px;
}

input[type="checkbox"] {
  display: inline;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #cacaca;
}

input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
  color: #c3c3c3;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
  color: #a3a2a2;
}

hr {
  background-color: #999;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

a {
  color: var(--wp--preset--color--secondary);
  outline: 0 !important;
}

.widget a:not(.wp-block-button__link),
.entry-summery a:not(.wp-block-button__link),
.entry-content a:not(.wp-block-button__link) {
  text-underline-offset: 3px;
  text-decoration-skip-ink: all;
  text-decoration-thickness: 1px;
  text-decoration: underline;
}

.widget a:not(.wp-block-button__link):hover,
.entry-summery a:not(.wp-block-button__link):hover,
.entry-content a:not(.wp-block-button__link):hover {
  color: var(--wp--preset--color--primary);
}

a:focus-visible, a:focus {
  outline: thin dotted !important;
}

a:hover, a:active {
  outline: 0;
  color: var(--wp--preset--color--primary);
}

.alignfull {
  margin: 0 !important;
  width: auto !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #000;
}

/* ================================================================
   2. 头部样式
   ================================================================ */
.main-header-section .header-menu-box .top-menus ul a:hover {
  color: var(--wp--preset--color--primary) !important;
}

.main-header-section .header-menu-box .top-menus ul li.has-child .wp-block-navigation__submenu-container a:hover {
  color: var(--wp--preset--color--background) !important;
}

.main-header-section .header-menu-box .top-menus .wp-block-navigation__submenu-container li {
  padding-left: 10px;
  padding-right: 10px;
}

.main-header-section .header-menu-box .top-menus .wp-block-navigation__submenu-container li:hover {
  background-color: var(--wp--preset--color--secondary);
}

.main-header-section .header-btn-box .header-search {
  width: 200px;
}

.main-header-section .header-btn-box .header-search svg {
  fill: var(--wp--preset--color--background);
  transform: rotate(-90deg);
}

.main-header-section .header-btn-box .header-search .wp-block-search__button,
.main-header-section .header-btn-box .header-search .wp-block-search__input {
  padding: 0;
}

.main-header-section .header-btn-box .header-search .wp-block-search__button,
.main-header-section .header-btn-box .header-search .wp-block-search__inside-wrapper,
.main-header-section .header-btn-box .header-search .wp-block-search__input {
  border: none;
}

.main-header-section .header-btn-box .header-search .wp-block-search__inside-wrapper {
  background-color: transparent;
}

.main-header-section .header-btn-box .header-search .wp-block-search__input {
  background-color: transparent;
  font-size: 15px;
}

.main-header-section .header-btn-box .header-btn-inner {
  flex-wrap: wrap;
}

.main-header-section .header-btn-box .header-btn a:hover {
  background-color: var(--wp--preset--color--background) !important;
}

/* ================================================================
   3. 轮播图（Slider）样式
   ================================================================ */
.slider-section {
  position: relative;
}

.slider-section:after {
  content: '';
  position: absolute;
  height: 85px;
  width: 100%;
  background-color: var(--wp--preset--color--background);
  bottom: 0;
  left: 0;
}

.slider-section .owl-carousel {
  overflow: hidden;
}

.slider-section .slide-count {
  position: absolute;
  bottom: 30px;
  left: 130px;
  z-index: 2;
}

.slider-section .slide-count .current-slide {
  font-weight: 700;
  font-size: 48px;
}

.slider-section .custom-controls {
  position: absolute;
  bottom: 20px;
  right: 115px;
  z-index: 1;
  justify-content: space-between;
  display: inline-flex;
}

.slider-section .custom-controls .custom-prev img:first-child,
.slider-section .custom-controls .custom-next img:first-child,
.slider-section .custom-controls .custom-prev:hover img:last-child,
.slider-section .custom-controls .custom-next:hover img:last-child {
  display: none;
}

.slider-section .custom-controls .custom-prev:hover img:first-child,
.slider-section .custom-controls .custom-next:hover img:first-child {
  display: inline-flex;
}

.slider-section .custom-dots {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.slider-section .custom-dots .dot {
  border: none;
  background: none;
  border-radius: 50px;
  padding: 5px;
  cursor: pointer;
  transition: all 1s ease;
}

.slider-section .custom-dots .dot.active {
  background: linear-gradient(-75deg, var(--wp--preset--color--primary) 60%, rgba(255, 255, 255, 0.1) 60%);
}

.slider-section .custom-dots .dot img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.slider-section .slider-content .slider-btn a:hover {
  background: var(--wp--preset--gradient--banner-background-color);
  color: var(--wp--preset--color--background) !important;
}

/* ================================================================
   4. 团队介绍（Team）样式
   ================================================================ */
.slider-section .slider-content .slider-sub-title,
.team-section .team-head-box .team-sub-title,
.about-section .about-right-content .about-small-title,
.news-section .news-heading-inner-box .news-small-title,
.faq-section .faq-heading-box .faq-inner-head-box .faq-small-title {
  display: inline-block;
  clip-path: polygon( 0% 10.526%,0% 10.526%,0.036% 8.819%,0.14% 7.199%,0.306% 5.689%,0.529% 4.31%,0.802% 3.083%,1.122% 2.031%,1.481% 1.175%,1.874% 0.537%,2.295% 0.138%,2.74% 0%,95.979% 0%,95.979% 0%,96.483% 0.176%,96.954% 0.683%,97.384% 1.486%,97.768% 2.551%,98.096% 3.846%,98.363% 5.336%,98.56% 6.987%,98.681% 8.767%,98.719% 10.64%,98.666% 12.574%,94.66% 90.205%,94.66% 90.205%,94.558% 91.64%,94.408% 92.98%,94.214% 94.21%,93.98% 95.319%,93.711% 96.293%,93.41% 97.119%,93.081% 97.784%,92.729% 98.276%,92.358% 98.58%,91.972% 98.684%,2.74% 98.684%,2.74% 98.684%,2.295% 98.546%,1.874% 98.148%,1.481% 97.509%,1.122% 96.653%,0.802% 95.601%,0.529% 94.375%,0.306% 92.995%,0.14% 91.485%,0.036% 89.865%,0% 88.158%,0% 10.526% );
}

.team-section .team-content {
  box-shadow: 0px 0px 14px 0px #00000029;
  overflow: hidden;
}

.team-section .team-content .team-profile-img img {
  width: 100% !important;
  object-fit: cover;
}

.team-section .team-box {
  position: relative;
}

.team-section .team-info .team-social-icons {
  background-color: var(--wp--preset--color--background);
  position: absolute;
  top: 48%;
  right: 25px;
  padding: 6px;
  border-radius: 5px;
  gap: 16px;
  font-size: 20px;
  display: none;
}

.team-section .team-info .team-social-icons a:hover {
  color: var(--wp--preset--color--primary) !important;
}

.team-section .team-info .team-share-btn,
.team-section .team-info .team-share-btn1 {
  border-radius: 5px;
  padding: 8px;
}

.team-section .team-info .team-share-btn {
  background-color: var(--wp--preset--color--foreground);
}

.team-section .team-info .team-share-btn,
.team-section .team-box:hover .team-info .team-share-btn1 {
  display: flex;
  min-width: 30px;
}

.team-section .team-info .team-share-btn1,
.team-section .team-box:hover .team-info .team-share-btn {
  display: none;
}

.team-section .team-info .team-share-btn1 {
  background-color: var(--wp--preset--color--background) !important;
}

.team-section .team-box:hover {
  background: var(--wp--preset--gradient--banner-background-color);
}

.team-section .team-box:hover .team-social-icons {
  display: flex;
}

.team-section .team-box:hover .team-name,
.team-section .team-box:hover .team-designation {
  color: var(--wp--preset--color--background) !important;
}

/* ================================================================
   5. 关于我们（About Us）样式
   ================================================================ */
.about-section .about-right-content .about-small-title {
  display: inline-block;
}

.about-section .about-right-content .about-icon {
  border-radius: 6px;
  height: 40px;
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--wp--preset--color--secondary);
}

.about-section .about-left-content .about-images figure,
.about-section .about-right-content .about-icon {
  overflow: hidden;
}

.about-section .about-left-content .about-images img,
.about-section .about-right-content .about-icon img {
  transition: 1.1s;
}

.about-section .about-left-content .about-images img:hover,
.about-section .about-right-content .about-icon:hover img {
  transform: scale(1.1);
}

.about-section .about-left-content .about-images figure {
  border-radius: 20px;
}

/* ================================================================
   6. FAQ 手风琴样式
   ================================================================ */
.faq-section .faq-detail-section details.faq-btm-title summary {
  border: 1px solid #C9C9C9;
  border-radius: 5px;
  padding: 5px 32px 5px 18px;
  list-style: none;
  position: relative;
}

body.dark-mode .faq-section .faq-detail-section details.faq-btm-title summary:after {
  background-image: url(./assets/images/left-btn1.svg);
}

.faq-section .faq-detail-section details.faq-btm-title summary:after {
  content: '';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  height: 14px;
  width: 14px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url(./assets/images/left-btn.svg);
}

.faq-section .faq-detail-section details[open].faq-btm-title summary:after {
  background-image: url(./assets/images/left-btn1.svg);
  transform: translateY(-50%) rotate(90deg);
}

.faq-section .faq-detail-section details[open].faq-btm-title > summary {
  background: var(--wp--preset--gradient--banner-background-color);
  color: var(--wp--preset--color--background);
  border-color: var(--wp--preset--color--secondary);
}

/* ================================================================
   7. 客户评价（Testimonial）样式
   ================================================================ */
.testimonial-section .testimonial-heading-cont {
  position: relative;
}

.testimonial-section .testimonial-heading-cont:after {
  content: '';
  position: absolute;
  height: 7px;
  width: 80px;
  background-color: var(--wp--preset--color--primary);
  bottom: 0;
  left: 50%;
  border-radius: 10px;
  transform: translateX(-50%);
}

.testimonial-section .wp-block-cover .wp-block-cover__background {
  transition: 1s;
}

.testimonial-section .wp-block-cover:hover .wp-block-cover__background {
  background-color: var(--wp--preset--color--primary) !important;
}

.testimonial-section .wp-block-cover:hover .wp-block-cover__inner-container p,
.testimonial-section .wp-block-cover:hover .wp-block-cover__inner-container h5 {
  color: #ffffff !important;
}

.testimonial-section .owl-nav {
  position: absolute;
  bottom: 50%;
  transform: translateY(50%);
  margin-top: 0;
  display: flex;
  width: 100%;
  justify-content: space-between;
  z-index: -1;
}

.testimonial-section .owl-nav button {
  border: none;
  height: 35px;
  width: 35px;
  border-radius: 5px;
  background-color: #ffffff;
  transition: 1s;
}

.testimonial-section .owl-nav button:hover {
  background-color: var(--wp--preset--color--primary);
}

.testimonial-section .owl-nav button.owl-prev {
  margin-left: -5%;
}

.testimonial-section .owl-nav button.owl-next {
  margin-right: -5%;
}

.testimonial-section .owl-nav button.owl-next,
.testimonial-section .owl-nav button.owl-prev {
  position: relative;
}

.testimonial-section .owl-nav button.owl-next:after,
.testimonial-section .owl-nav button.owl-prev:after {
  content: '';
  position: absolute;
  right: 50%;
  top: 50%;
  transform: translate(50%, -50%);
  height: 16px;
  width: 16px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.testimonial-section .owl-nav button.owl-next:after {
  background-image: url(./assets/images/left-btn.svg);
  margin-left: 1px;
}

.testimonial-section .owl-nav button.owl-next:hover:after {
  background-image: url(./assets/images/left-btn1.svg);
}

.testimonial-section .owl-nav button.owl-prev:after {
  background-image: url(./assets/images/right-btn1.svg);
  margin-right: 1px;
}

.testimonial-section .owl-nav button.owl-prev:hover:after {
  background-image: url(./assets/images/right-btn.svg);
}

.testimonial-section .client-box {
  position: relative;
}

.testimonial-section .client-box .client-img {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
}

/* ================================================================
   8. 新闻/博客（News / Blog）样式
   ================================================================ */
.testimonial-section .testimonial-heading-box,
.news-section .news-heading-box,
.faq-section .faq-heading-box {
  gap: 0;
}

.news-section .news-heading-inner-box .news-small-title,
.faq-section .faq-heading-box .faq-inner-head-box .faq-small-title {
  display: flex;
  margin: 0 auto;
  width: fit-content;
}

.news-section .news-box .wp-block-post-date {
  margin-top: 0;
}

.news-section .news-box .news-meta .wp-block-post-author-name,
.news-section .news-box .news-meta .wp-block-post-date,
.news-section .news-box .news-meta .wp-block-comments .wp-block-comments-title {
  position: relative;
}

.news-section .news-box .news-meta .wp-block-post-author-name:after,
.news-section .news-box .news-meta .wp-block-post-date:after,
.news-section .news-box .news-meta .wp-block-comments .wp-block-comments-title:after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 14px;
  width: 14px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.news-section .news-box .news-meta .wp-block-comments .wp-block-comments-title:after {
  height: 17px;
  width: 17px;
}

.news-section .news-box .news-meta .wp-block-post-author-name:after {
  background-image: url(./assets/images/author.svg);
}

.news-section .news-box .news-meta .wp-block-post-date:after {
  background-image: url(./assets/images/calender.svg);
}

.news-section .news-box .news-meta .wp-block-comments .wp-block-comments-title:after {
  background-image: url(./assets/images/comment.svg);
}

body.dark-mode .news-section .news-box .news-meta .wp-block-post-author-name:after {
  background-image: url(./assets/images/author1.svg);
}

body.dark-mode .news-section .news-box .news-meta .wp-block-post-date:after {
  background-image: url(./assets/images/calender1.svg);
}

body.dark-mode .news-section .news-box .news-meta .wp-block-comments .wp-block-comments-title:after {
  background-image: url(./assets/images/comment1.svg);
}

.news-section .news-box .wp-block-post:hover .wp-block-post-title a {
  color: var(--wp--preset--color--primary);
}

.news-section .news-meta {
  flex-wrap: wrap;
  gap: 10px;
}

.news-section .news-box .news-box-title a {
  color: var(--wp--preset--color--heading-color);
}

/* ================================================================
   9. 页脚样式
   ================================================================ */
.footer-section a:hover {
  color: var(--wp--preset--color--foreground);
}

.footer-section .footer-box .footer-mail-box,
.footer-section .footer-box .footer-phone-box {
  gap: 12px;
}

.footer-section .wp-block-social-links {
  gap: 10px !important;
}

.footer-section .wp-block-tag-cloud a {
  border:1px solid var(--wp--preset--color--primary);
  padding: 6px 10px;
  margin: 2px;
}

.footer-section .wp-block-tag-cloud a:hover {
  background: #009DAE;
  border:1px solid #009DAE;
}

.footer-add {
  margin-right: 10%;
}

.footer-section {
  padding: 0;
  min-height: auto;
}

.footer-section .wp-block-group {
  padding: 50px 0px 0;
}

.footer-section .wp-block-columns.copyright-section {
  padding: 20px 0px;
  margin: 50px 0 0;
}

.footer-section .wp-block-columns.copyright-section .wp-block-column:first-child {
  padding-left: 50px;
}

.footer-section .wp-block-columns.copyright-section .wp-block-column:nth-child(2) {
  padding-right: 50px;
}

.footer-add {
  line-height: 30px !important;
}

.footer-box a {
  text-decoration: none !important;
}

.footer-box ul {
  padding: 0;
  gap: 0;
}

.footer-box {
  position: relative;
}

.footer-box ul li {
  list-style: none;
  margin-bottom: 10px;
}

.footer-section .wp-block-social-link {
  background: transparent !important;
  color: var(--wp--preset--color--tertiary);
}

.footer-section .wp-block-button__link {
  padding: 10px 25px;
  font-weight: 500;
  font-size: 14px;
  color: #fff !important;
  text-decoration: none;
  background-color: transparent;
  border: 2px solid #fff;
}

.search-menu .menu-section .wp-block-search__button svg:hover {
  color: #fff !important;
}

.footer-section .wp-block-social-link a {
  padding: 6px !important;
  border-radius: 5px;
  background: #ffffff;
  font-size: 20px !important;
}

.copyright-section p {
  line-height: 30px;
}

.copyright-section p a {
  text-decoration: none;
}

.footer-section .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook {
  color: #1778f2;
}

.footer-section .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram {
  color:#f00075;
}

.footer-section .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter {
  color:#1da1f2;
}

.footer-section .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest {
  color:#e60122;
}

.innerpage-banner {
  margin: 0 !important;
}

/* ================================================================
   10. 主题通用按钮样式
   ================================================================ */
.theme-button-section a {
  border: 2px solid transparent !important;
}

.theme-button-section a:hover {
  border: 2px solid var(--wp--preset--color--primary) !important;
  background: transparent !important;
  color: #000 !important;
  font-size: 18px;
  font-weight: 600;
}

/* ================================================================
   11. 404 页面样式
   ================================================================ */
.wp-block-search__button {
  border: 0;
  background: var(--wp--preset--color--primary);
}

/* ================================================================
   12. 侧边栏样式
   ================================================================ */
.theme-sidebar .wp-block-tag-cloud a {
  border:1px solid var(--wp--preset--color--primary);
  padding: 6px 10px;
  margin: 2px;
}

.theme-sidebar .wp-block-group {
  padding: 15px ;
  border: 1px solid #eee;
  color: #6b6b6b;
}

.theme-sidebar .wp-block-group h3 {
  color: var(--wp--preset--color--heading-color);
  padding-bottom: 5px;
  border-bottom: 3px double var(--wp--preset--color--heading-color);
  font-size: 24px !important;
}

.theme-sidebar .wp-block-group ul {
  padding-left: 20px;
}

.theme-sidebar .wp-block-group ul li {
  line-height: 2;
  font-size: 20px;
  color: var(--wp--preset--color--primary);
  list-style: disc;
  text-decoration: none !important;
}

.theme-sidebar .wp-block-group ul li a {
  color: var(--wp--preset--color--heading-color) !important;
  text-decoration: none !important;
  font-size: 16px;
}

.theme-sidebar .wp-block-social-links .wp-social-link a {
  color: #ffffff !important;
}

.theme-sidebar ul.wp-block-social-links {
  padding: 0;
}

.theme-sidebar ul.wp-block-social-links a {
  padding: 10px !important;
}

.theme-sidebar ul.wp-block-social-links a svg {
  font-size: 18px;
}

.theme-sidebar .wp-block-tag-cloud a {
  background:#fff;
  color: #000;
  font-size:15px !important;
  padding: 6px 18px;
  margin: 2px 4px 6px;
  display:inline-block;
  border: 2px solid #000;
  text-decoration: none;
}

.theme-sidebar .wp-block-tag-cloud a:hover {
  background: var(--wp--preset--color--primary);
  color: #fff;
  border: 2px solid var(--wp--preset--color--primary);
}

.theme-sidebar .wp-block-gallery {
  gap: 1em;
}

/* ================================================================
   13. 博客列表布局样式
   ================================================================ */
.wp-block-latest-posts.is-grid li {
  position: relative;
  background: #fff;
  border: solid 1px #eee;
  box-shadow: 0 5px 10px 0 rgb(0 0 0 / 16%), 0 0 0 0px rgb(0 0 0 / 8%);
  margin-bottom: 30px;
}

.blog-section .wp-block-latest-posts.is-grid li {
  box-shadow: none;
}

.wp-block-latest-posts.is-grid li img {
  width: 100%;
}

.wp-block-latest-posts.is-grid li a.wp-block-latest-posts__post-title {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  padding: 0 10px;
  text-transform: capitalize;
  text-decoration: none;
  display: block;
  margin: 15px 0 0;
}

.wp-block-latest-posts.is-grid li time.wp-block-latest-posts__post-date {
  display: inline-block;
  background: var(--wp--preset--color--primary);
  padding: 8px 8px;
  font-weight: 600;
  font-size: 13px;
  color: #fff;
  margin: 10px 0px 0px 10px;
}

.wp-block-latest-posts.is-grid li .wp-block-latest-posts__post-excerpt {
  color: #6b6b6b;
  padding: 0 10px;
  font-size: 14px;
  line-height: 25px;
}

.innerpage-banner .wp-block-group h1 {
  color: #fff !important;
}

/* ================================================================
   14. 文章内页与评论样式
   ================================================================ */
.has-shadow-dark, .has-no-hover-shadow-dark {
  box-shadow: 0 6px 30px 7px #2125471a;
  transition: 0.5s;
  padding: 50px !important;
  margin-bottom: 30px;
}

p.form-submit.wp-block-button input.wp-block-button__link.wp-element-button {
  padding: 10px 15px;
  background: var(--wp--preset--color--primary);
  border-radius: 6px;
  font-size: 18px !important;
  color: #fff;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  margin-top: 10px;
  margin-bottom: 10px;
}

.navigation .alignleft a, .navigation .alignright a {
  color: #000 !important;
  font-size: 18px !important;
  text-decoration: none !important;
}

.comment-author.vcard a, .comment-metadata a, .comment-metadata a .edit-link, .reply a, .comment-content a {
  color: #000 !important;
  font-size: 16px !important;
  font-weight: 700;
}

p.form-submit.wp-block-button input.wp-block-button__link.wp-element-button:hover {
  background: black !important;
  border: 1px solid var(--wp--preset--color--primary);
  color: white !important;
}

footer.comment-meta {
  margin-top: 12px;
}

.wp-block-post-author__name {
  margin: 10px 0px;
}

.theme-sidebar .wp-block-search__button {
  background: var(--wp--preset--color--primary) !important;
}

.theme-sidebar .wp-block-search__button:hover {
  background-color: black !important;
  color: white !important;
}

.theme-sidebar .wp-block-group {
  padding: 15px ;
  border: 1px solid #eee;
  color: #6b6b6b;
  box-shadow: 0 6px 30px 7px #2125471a;
  transition: 0.5s;
  margin-bottom: 30px;
}

.single-post-sidebar-on-right h3, .single-post-sidebar-on-left h3 {
  font-size: 30px;
}

.wp-block-post-author {
  align-items: center;
}

/* ================================================================
   15. 分页链接样式（文章列表）
   ================================================================ */
.wp-block-query-pagination {
  margin: 80px 0;
}

.wp-block-query-pagination .wp-block-query-pagination-numbers {
  margin: 0;
  display: inline-block;
}

.wp-block-query-pagination .page-numbers,
.wp-block-query-pagination .wp-block-query-pagination-next,
.wp-block-query-pagination .wp-block-query-pagination-previous {
  padding: 12px 16px;
  background: #fff;
  line-height: 1;
  margin: 0 3px;
  text-decoration: inherit;
  display: inline-block;
  box-shadow: 0 0 15px #0000002b;
  border-radius: 100px;
  color: #000;
}

.wp-block-query-pagination .page-numbers.current,
.wp-block-query-pagination a:hover,
.wp-block-query-pagination a:focus,
.wp-block-query-pagination a:active {
  background-color: var(--wp--preset--color--primary);
  color: #fff;
}

.archive .wp-block-query li.wp-block-post > .wp-block-group .wp-block-post-title a,
.archive .wp-block-query li.wp-block-post > .wp-block-group .wp-block-post-date time,
.search-results .wp-block-query li.wp-block-post > .wp-block-group .wp-block-post-title a,
.search-results .wp-block-query li.wp-block-post > .wp-block-group .wp-block-post-date time {
  color: #000;
}

.wp-block-post-excerpt__more-link {
  padding: 10px;
  background: var(--wp--preset--color--primary);
  color: #fff !important;
  font-weight: 600;
}

.wp-block-post-excerpt__more-link:hover {
  background: #000;
}

/* ================================================================
   16. 搜索与404通用按钮
   ================================================================ */
.wp-element-button {
  background: var(--wp--preset--color--primary);
  color: #fff;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 6px 25px;
}

.wp-element-button:hover {
  background: transparent;
  border: 1px solid var(--wp--preset--color--primary);
  color: #000 !important;
}

.wp-block-search__button:hover {
  color: #fff;
}

.wp-block-site-logo {
  margin-top: 10px !important;
}

.wp-block-site-title {
  line-height: 1;
}

.error404 .error-page .wp-block-search .wp-block-search__button svg,
.search .wp-block-search .wp-block-search__button .search-icon {
  fill: #fff;
}

.error404 .error-page .wp-block-search .wp-block-search__button:hover,
.search .wp-block-search .wp-block-search__button:hover {
  background-color: #ffffff !important;
}

.error404 .error-page .wp-block-search .wp-block-search__button:hover svg,
.search .wp-block-search .wp-block-search__button:hover .search-icon {
  fill: #000;
}

.single-post .comment-respond .comment-form .comment-form-cookies-consent {
  align-items: flex-start;
}

.single-post .comment-respond .comment-form .comment-form-cookies-consent #wp-comment-cookies-consent {
  margin-top: 10px !important;
}

/* ================================================================
   17. 返回顶部按钮
   ================================================================ */
.scroll-top-box {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--wp--preset--color--primary);
  color: white;
  border: none;
  border-radius: 50% !important;
  padding: 10px 16px 13px;
  cursor: pointer;
  z-index: 1000;
  transition: opacity 0.3s;
}

.scroll-top-box .wp-block-button__link.wp-element-button {
  border-radius: 50% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.scroll-top-box .wp-block-button__link,
.scroll-top-box .wp-block-button__link:hover {
  background-color: var(--wp--preset--color--primary);
}

/* ================================================================
   18. 侧边栏现代化样式（带边框、阴影、动效）
   ================================================================ */
.theme-sidebar .wp-block-group {
  border: 2px solid var(--wp--preset--color--primary) !important;
  border-radius: 12px;
  transition:
    box-shadow 0.4s ease,
    border-color 0.4s ease,
    transform 0.3s ease;
}

.theme-sidebar .wp-block-group:hover {
  border-color: var(--wp--preset--color--primary) !important;
  box-shadow: 0 0 18px
    color-mix(in srgb, var(--wp--preset--color--primary) 55%, transparent);
  transform: translateY(-3px);
}

.single-post-sidebar-on-right .has-shadow-dark, .has-no-hover-shadow-dark {
  border: 1px solid #949494 !important;
}

/* ================================================================
   19. 搜索模板响应式
   ================================================================ */
@media (max-width: 768px) {
  .search .wp-block-search__inside-wrapper {
    display: flex;
    flex-direction: column;
  }
  .search .wp-block-search__button {
    margin: 0 !important;
  }
  .search .wp-block-search__input {
    color: white;
    font-size: 15px !important;
    padding: 10px;
    margin-bottom: 5px !important;
    text-align: center;
  }
}

/* ================================================================
   20. 响应式媒体查询（保留所有企业模块的断点样式）
   ================================================================ */
@media screen and (min-width: 600px) and (max-width: 991px) {
  .search.search-results .wp-block-query ul.wp-block-post-template {
    display: grid;
    grid-template-columns: auto auto;
  }
}

@media screen and (max-width:767px) {
  .main-header-section .header-logo .wp-block-site-title {
    text-align: center;
  }
  .main-header-section .header-btn-box .header-btn-inner {
    justify-content: center;
  }
  .slider-section:after {
    content: none;
  }
  .slider-section .slide-count {
    position: static;
    text-align: center;
  }
  .slider-section .slider-content .slider-title {
    border: none;
    padding-left: 0 !important;
    font-size: 30px !important;
  }
  .slider-section {
    padding-bottom: 20px !important;
  }
  .slider-section .slider-content, .slider-section .slider-content .slider-title {
    text-align: center;
  }
  .slider-section .slider-content .slider-btn {
    justify-content: center;
  }
  .slider-section .custom-controls {
    position: relative;
    padding: 20px 15px !important;
    bottom: 0;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    gap: 10px;
  }
  .slider-section .custom-dots {
    gap: 10px;
  }
  .slider-section .custom-dots .dot img {
    height: 50px;
    width: 50px;
  }
  .about-section .about-left-content .about-images img, .about-section .about-right-content .about-icon img {
    height: 300px !important;
  }
  .about-section .about-inner-content {
    flex-direction: column-reverse;
  }
  .about-section .about-left-content .about-images {
    gap: 12px;
  }
  .search .wp-block-cover.innerpage-banner + .wp-block-group form .wp-block-search__inside-wrapper {
    width: 100% !important;
  }
  .faq-section .faq-detail-section {
    gap: 0;
  }
  .testimonial-section .owl-nav {
    bottom: -20px;
    transform: none;
    gap: 10px;
    justify-content: center;
  }
  .testimonial-section .owl-carousel {
    padding-bottom: 60px;
  }
  .news-section .news-heading-box {
    margin-bottom: 0 !important;
  }
  .news-section .news-heading-inner-box {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .news-section .news-heading-inner-box .news-sec-heading {
    text-align: center;
  }
  .news-section .news-meta {
    justify-content: space-around;
  }
  .news-section .news-box .wp-block-post-title, .news-section .news-box .wp-block-post-excerpt__excerpt {
    text-align: center;
  }
  .footer-section .footer-box:nth-child(1) {
    padding-right: 0 !important;
  }
  .footer-section .footer-box .footer-phone-box, .footer-section .footer-box .footer-mail-box {
    justify-content: center;
  }
  .error-page {
    padding: 0 !important;
  }
  .error-page h2 {
    font-size: 122px !important;
  }
  .has-shadow-dark, .has-no-hover-shadow-dark {
    padding: 20px !important;
  }
  .wp-block-post-comments .commentlist .comment {
    padding-left: 0 !important;
  }
  .main-page, .page-no-title {
    padding: 20px !important;
  }
  .footer-section .wp-block-navigation-item__label {
    color: #000 !important;
  }
  .footer-section .wp-block-columns.copyright-section .wp-block-column:first-child,
  .footer-section .wp-block-columns.copyright-section .wp-block-column:nth-child(2) {
    padding: 0;
  }
  .footer-section .wp-block-columns {
    padding: 0 20px;
  }
  .footer-section .wp-block-columns.copyright-section {
    padding: 20px;
    text-align: center;
  }
  .footer-section .wp-block-columns {
    margin: 0;
  }
  .copyright-section .wp-block-social-links {
    justify-content: center !important;
  }
  .footer-section .wp-block-group {
    max-width: 100% !important;
  }
  .footer-section h1 {
    text-align: center;
  }
  .footer-para {
    margin-right: 0% !important;
  }
  .wp-block-navigation__responsive-container-content {
    margin-left: 30px;
  }
  .footer-section .wp-block-group {
    text-align: center !important;
  }
  .footer-section .wp-block-social-links {
    justify-content: center !important;
  }
  .banner-calender .wp-block-column p {
    text-align: center;
  }
}

@media screen and (min-width: 601px) and (max-width: 991px) {
  .team-section .team-content {
    display: grid;
    grid-template-columns: auto auto;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .main-header-section .header-inner-section {
    flex-wrap: nowrap !important;
  }
  .main-header-section .header-inner-section .header-logo {
    flex-basis: 30% !important;
  }
  .main-header-section .header-inner-section .header-menu-box {
    flex-basis: 10% !important;
  }
  .main-header-section .header-inner-section .header-btn-box {
    flex-basis: 60% !important;
  }
  .main-header-section .header-btn-box .header-search {
    width: 170px;
  }
  .slider-section .custom-dots {
    gap: 10px;
  }
  .slider-section .custom-dots .dot img {
    width: 65px;
    height: 65px;
  }
  .slider-section .custom-controls {
    gap: 18px;
    padding: 20px !important;
    right: 60px;
  }
  .slider-section .slide-count {
    left: 62px;
  }
  .slider-section .slider-boxes:not(.is-not-stacked-on-mobile)>.slider-content {
    flex-basis: 80% !important;
  }
  .slider-section .slider-boxes {
    flex-wrap: wrap !important;
  }
  .team-section .team-head-inner {
    flex-wrap: nowrap !important;
  }
  .about-section .about-left-content .about-images img, .about-section .about-right-content .about-icon img {
    height: 350px !important;
  }
  .about-section .about-right-content .about-bottom {
    flex-wrap: nowrap !important;
  }
  .about-section .about-inner-content {
    flex-wrap: wrap !important;
    flex-direction: column-reverse;
  }
  .about-section .about-inner-content .about-left-content, .about-section .about-inner-content .about-right-content {
    flex-basis: 100%;
  }
  .testimonial-section .testimonial-heading-box, .news-section .news-heading-box, .faq-section .faq-heading-box {
    flex-wrap: wrap !important;
  }
  .testimonial-section .testimonial-heading-box .testimonial-heading-cont, .news-section .news-heading-box .news-heading-inner-box, .faq-section .faq-heading-box .faq-inner-head-box {
    flex-basis: 100% !important;
  }
  .news-section .news-box {
    grid-template-columns: auto auto auto !important;
  }
  .footer-section .footer-box:nth-child(1) {
    padding-right: 0 !important;
  }
  .footer-section .footer-box .footer-phone-box p {
    font-size: 18px !important;
  }
  .faq-section .faq-detail-section {
    gap: 12px;
    flex-wrap: nowrap !important;
  }
  .testimonial-section .owl-nav {
    bottom: -40px;
    transform: none;
    gap: 10px;
    justify-content: center;
  }
  .banner-box h2:before, .banner-calender::before {
    border: none;
  }
  .single-post-sidebar-on-right, .single-post-sidebar-on-left {
    margin-right: 0%;
    margin-left: 0%;
  }
  .wp-block-navigation__responsive-container-content {
    margin-left: 20px;
  }
  .wp-block-columns.copyright-section.is-layout-flex {
    max-width: 100%;
  }
  .footer-section {
    padding: 30px 30px 0 !important;
  }
  .blog-section ul.wp-block-latest-posts__list, .blog-section .head-text, .footer-section .wp-block-columns, .footer-section .wp-block-columns.copyright-section .wp-block-column:first-child, .footer-section .wp-block-columns.copyright-section .wp-block-column:nth-child(2) {
    padding: 0;
  }
  .wp-block-column.footer-box.is-layout-flow.wp-block-column-is-layout-flow {
    flex-basis: 46% !important;
  }
  .footer-section .wp-block-columns.copyright-section .wp-block-column:first-child {
    flex-basis: 70% !important;
  }
  .menu-section nav {
    gap: 0 !important;
  }
  .menu-section-button a {
    padding: 10px 9px !important;
    font-size: 13px;
  }
  .menu-section .wp-block-navigation__responsive-container-open {
    background: var(--wp--preset--color--primary);
    padding: 10px;
    color: #fff;
    margin: 0 auto;
  }
  .wp-block-column.banner-col-2.is-layout-flow.wp-block-column-is-layout-flow {
    flex-basis: 200% !important;
  }
  .footer-section .wp-block-group {
    padding: 0;
    max-width: 100% !important;
  }
  .banner-col-2 h1 {
    font-size: 36px !important;
    line-height: 55px;
  }
  .footer-box {
    max-width: 300px !important;
  }
  .footer-section .wp-block-columns {
    display: grid;
    grid-template-columns: auto auto;
  }
  .footer-section .wp-block-social-links {
    gap: 0.5rem !important;
  }
  .footer-section .wp-block-columns.copyright-section {
    display: block;
  }
  .footer-para {
    margin-right: 0% !important;
  }
}

@media screen and (min-width: 782px) and (max-width: 992px) {
  .archive .archive-page .wp-block-latest-posts li {
    flex: 1 0 50% !important;
  }
}

@media screen and (max-width: 1024px) and (min-width: 1000px) {
  .copyright-section .wp-block-social-links {
    gap: 10px;
  }
  .footer-para {
    margin-right: 0% !important;
  }
}

@media screen and (max-width: 999px) {
  .main-header-section .header-menu-box .top-menus ul a:hover {
    color: var(--wp--preset--color--background) !important;
  }
  .main-header-section .header-menu-box .top-menus ul,
  .main-header-section .header-menu-box .top-menus ul.wp-block-navigation__container .wp-block-navigation-item.has-child,
  .main-header-section .header-menu-box .top-menus .wp-block-navigation__submenu-container {
    gap: 20px !important;
  }
  .main-header-section .header-menu-box .top-menus ul.wp-block-navigation__container .wp-block-navigation-item.has-child .wp-block-navigation-submenu li {
    padding-left: 50px;
  }
  .main-header-section .header-menu-box .top-menus ul.wp-block-navigation__container .wp-block-navigation-item.has-child .wp-block-navigation-submenu li a {
    position: relative;
    display: inline-flex !important;
  }
  .main-header-section .header-menu-box .top-menus ul.wp-block-navigation__container .wp-block-navigation-item.has-child .wp-block-navigation-submenu li a:before {
    content: '--';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 12px;
  }
  .main-header-section .header-menu-box .top-menus ul.wp-block-navigation__container li a {
    padding: 0 20px !important;
  }
  .main-header-section .header-menu-box .top-menus .wp-block-navigation__submenu-container {
    padding: 0;
  }
  .header-section .header-menus nav .wp-block-navigation__responsive-container {
    background-color: #000000 !important;
  }
  .main-header-section .wp-block-navigation__responsive-container-close {
    background: #ffffff;
    padding: 10px;
    color: #000000;
    font-size: 30px;
    font-weight: 600;
    border-radius: 50%;
    right: 25px;
    top: 16px;
  }
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open),
  .wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content {
    display: none;
  }
  .main-header-section .wp-block-navigation__responsive-container .wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-content {
    padding-top: calc(2rem + 60px);
    margin-left: 0;
  }
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: block;
  }
}

@media screen and (max-width: 1199px) and (min-width:901px) {
  .header-section .header-menus nav .wp-block-navigation__responsive-container-content ul {
    gap: 30px;
  }
}

@media screen and (max-width: 1400px) and (min-width:1025px) {
  .copyright-section .wp-block-social-links {
    gap: 10px;
  }
  .footer-para {
    margin-right: 0% !important;
  }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  .main-header-section .header-btn-box .header-search {
    width: 120px;
  }
  .main-header-section .header-btn-box .header-btn a {
    padding-right: 15px !important;
    padding-left: 15px !important;
  }
  .main-header-section .header-inner-section .header-logo {
    flex-basis: 15% !important;
  }
  .main-header-section .header-inner-section .header-menu-box {
    flex-basis: 50% !important;
  }
  .main-header-section .header-inner-section .header-btn-box {
    flex-basis: 35% !important;
  }
  .slider-section .slider-content {
    flex-basis: 60% !important;
  }
  .slider-section .slider-right-blank {
    flex-basis: 40% !important;
  }
  .slider-section .slide-count {
    left: 75px;
  }
  .slider-section .custom-controls {
    right: 75px;
  }
  .about-section .about-left-content .about-images,
  .about-section .about-right-content .about-bottom {
    gap: 12px;
  }
  .about-section .about-right-content .about-bottom .wp-block-column {
    flex-basis: 50% !important;
  }
  .about-section .about-left-content .about-images img {
    height: 320px;
  }
  .news-section .news-box {
    grid-template-columns: auto auto auto;
  }
  .testimonial-section .owl-nav button {
    height: 35px;
    width: 35px;
  }
  .testimonial-section .owl-nav button.owl-prev {
    margin-left: -6%;
  }
  .testimonial-section .owl-nav button.owl-next {
    margin-right: -6%;
  }
  .footer-section .footer-box .footer-mail-box, .footer-section .footer-box .footer-phone-box {
    gap: 6px;
  }
  .footer-section .footer-box:first-child {
    padding-right: 0 !important;
  }
  .footer-section .footer-box {
    flex-basis: 25% !important;
  }
  .footer-section .footer-box h3 {
    font-size: 22px !important;
  }
  .footer-section .footer-box .footer-phone-box p {
    font-size: 17px !important;
  }
  .single-post-sidebar-on-right > .wp-block-column:nth-child(1) {
    flex-basis: 60% !important;
  }
  .single-post-sidebar-on-right > .wp-block-column:nth-child(2) {
    flex-basis: 40% !important;
  }
  .archive-page-sec > .wp-block-columns > .wp-block-column:nth-child(1) {
    flex-basis: 65% !important;
  }
  .archive-page-sec > .wp-block-columns > .wp-block-column:nth-child(2) {
    flex-basis: 35% !important;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
  .main-header-section .header-inner-section .header-logo {
    flex-basis: 20% !important;
  }
  .main-header-section .header-inner-section .header-menu-box {
    flex-basis: 45% !important;
  }
  .main-header-section .header-inner-section .header-btn-box {
    flex-basis: 35% !important;
  }
  .main-header-section .header-btn-box .header-search {
    width: 150px;
  }
  .slider-section .slider-content {
    flex-basis: 60% !important;
  }
  .slider-section .slider-right-blank {
    flex-basis: 40% !important;
  }
  .slider-section .slide-count {
    left: 85px;
  }
  .slider-section .custom-controls {
    right: 85px;
  }
  .about-section .about-left-content .about-images img {
    height: 320px;
  }
  .testimonial-section .owl-nav button.owl-prev {
    margin-left: -5%;
  }
  .testimonial-section .owl-nav button.owl-next {
    margin-right: -5%;
  }
  .footer-section .footer-box {
    flex-basis: 25% !important;
  }
  .footer-section .footer-box h3 {
    font-size: 22px !important;
  }
  .footer-section .footer-box:first-child {
    padding-right: 0 !important;
  }
}

@media screen and (min-width: 1400px) and (max-width: 1780px) {
  .main-header-section .header-inner-section .header-logo {
    flex-basis: 20% !important;
  }
  .main-header-section .header-inner-section .header-menu-box {
    flex-basis: 45% !important;
  }
  .main-header-section .header-inner-section .header-btn-box {
    flex-basis: 35% !important;
  }
  .slider-section .slider-content, .slider-section .slider-right-blank {
    flex-basis: 50% !important;
  }
  .slider-section .custom-controls {
    right: 95px;
  }
  .slider-section .slide-count {
    left: 95px;
  }
}

/* ================================================================
   Shine Effect (图片悬停扫光)
   ================================================================ */
.banner-lower-col .wp-block-image,
.experience-img .wp-block-image {
  position: relative;
  overflow: hidden;
}
.banner-lower-col .wp-block-image::after,
.experience-img .wp-block-image::after {
  position: absolute;
  top: 0;
  left: -60%;
  content: '';
  width: 50%;
  height: 100%;
  opacity: 0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.4) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
}
.banner-lower-col .wp-block-image:hover::after,
.experience-img .wp-block-image:hover::after {
  animation: shine 1s ease;
  opacity: 1;
}
@keyframes shine {
  100% {
    left: 125%;
  }
}

/* ================================================================
   Back to Top Button (原版)
   ================================================================ */
.wp-block-button.back-to-top .wp-block-button__link.wp-element-button {
  width: 40px;
  height: 40px;
  position: fixed;
  right: 25px;
  bottom: 25px;
  display: inline-block;
  z-index: 1;
  text-indent: -5000px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.089);
  display: none;
  padding: 0;
  margin-top: 0;
  border: 2px solid var(--wp--preset--color--foreground) !important;
}
.wp-block-button.back-to-top .wp-block-button__link.wp-element-button:after {
  content: "";
  width: 40px;
  height: 40px;
  background-color: #fff;
  -webkit-mask-image: url(assets/images/up-arrow.svg);
  mask-image: url(assets/images/up-arrow.svg);
  mask-repeat: no-repeat;
  mask-position: center center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center center;
  position: absolute;
  display: inline-block;
  left: -2px;
  top: -3px;
}