html,
body {
  background-color: #131313;
  margin-top: 0 !important;
}
#logo img {
  height: 80px;
  top: -20px !important;
  position: absolute;
}
.is_retina {
  display: none;
}
.not_retina {
  display: block;
}
.flexnav li.active {
  opacity: 0.6 !important;
}
.clients-table li img {
  height: 100px !important;
  padding: 20px 0;
}
.error404 .error #hero-caption::before {
  content: "";
  position: absolute;
  top: 30%;
  right: 0%;
  width: 60%;
  height: 60%;
  z-index: -1;
  background: url(../images/not-found.png) 0 0 no-repeat transparent;
  background-size: cover;
}
#show-filters {
  display: none;
}
input[type="submit"] {
  padding: 10px 24px;
}
.page-is-changing .item-image {
  opacity: 1;
  transition: opacity 0.5s;
}
.gform_button {
  border: solid 2px #fff !important;
  color: #fff !important;
  background-color: transparent !important;
  border-radius: 30px !important;
}
.gform_wrapper li.gfield.gfield_error,
.gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
  background: #ffffff0f;
  border: none;
  padding: 30px;
}
.gform_wrapper .gfield_error .gfield_label,
.gform_wrapper .gfield_required,
.gform_wrapper .validation_message {
  color: inherit;
}
.gform_wrapper li.gfield_error input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
.gform_wrapper li.gfield_error textarea {
  border: none;
  border-bottom: 1px solid #ffffff75;
}
.gform_wrapper div.validation_error {
  color: #fff;
  border-color: #fff;
}
body .gform_wrapper ul li.gfield {
  margin-top: 40px;
}
.gform_confirmation_message {
  color: #fff;
  text-align: center;
  padding: 100px;
  margin: 50px;
  border: 1px solid #CCC;
}
.gform_warrper input::placeholder,
.gform_wrapper textarea::placeholder {
  opacity: 0.5;
}
#CybotCookiebotDialog,
#CybotCookiebotDialog * {
  color: #777 !important;
  background-color: #131313 !important;
}
#CybotCookiebotDialogBodyLevelDetailsWrapper {
  background-color: #131313;
}
#CybotCookiebotDialogBodyLevelDetailsButton {
  color: #999 !important;
}
#CybotCookiebotDialog * {
  border-color: #444 !important;
}
#CybotCookiebotDialogBodyLevelDetailsButton {
  border-right: 0;
}
#CybotCookiebotDialogBodyContent {
  padding: 0px 20px 20px 20px !important;
}
input[type=checkbox].CybotCookiebotDialogBodyLevelButton + label {
  opacity: 0.8;
  color: #999;
}
#CybotCookiebotDialogPoweredbyLink {
  display: none;
}
#CybotCookiebotDialogBodyContentTitle {
  color: #888;
}
#CybotCookiebotDialog {
  padding: 0 !important;
}
#CybotCookiebotDialogBody {
  padding: 20px;
}
#CybotCookiebotDialogDetail {
  padding: 20px !important;
}
#CybotCookiebotDialogDetail,
#CybotCookiebotDialogDetail * {
  background-color: #2d2d2d !important;
  color: #999 !important;
}
#CybotCookiebotDialogBodyLevelDetailsButton {
  border-right-width: 0 !important;
}
#CybotCookiebotDialogBodyLevelButtons {
  margin-left: 20px !important;
  margin-top: 20px;
}
#post #comments,
#post .post-navigation,
#post .post-form {
  display: none !important;
}
.socials-wrap {
  width: 300px;
}
.socials-wrap:hover .socials li:nth-child(5),
.socials-wrap:hover .socials li:nth-child(6) {
  transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1) 0.05s;
  opacity: 1;
  transform: translateY(10px);
  -webkit-transform: translateY(10px);
}
/* Language toggle - default: show English, hide Chinese */
.lang-zh-hans {
  display: none;
}
.lang-en {
  display: inline;
}
/* Chinese language */
html[lang="zh-hans"] .lang-zh-hans,
html[lang="zh-CN"] .lang-zh-hans {
  display: inline;
}
html[lang="zh-hans"] .lang-en,
html[lang="zh-CN"] .lang-en {
  display: none;
}
/* English language */
html[lang="en-US"] .lang-zh-hans,
html[lang="en"] .lang-zh-hans {
  display: none;
}
html[lang="en-US"] .lang-en,
html[lang="en"] .lang-en {
  display: inline;
}
.ls-v6 .ls-loading-indicator {
  background-image: url('/wp-content/plugins/gravityforms/images/spinner.gif') !important;
  background-repeat: no-repeat;
}
.wpml-ls-item {
  transform: scale(0.5) !important;
}
#open-sidebar-nav,
#sidebar {
  display: none;
}
.thumb-info {
  display: none !important;
}
.page .item {
  margin: 20px;
}
.page .below-caption .item-caption {
  bottom: 10px;
}
.page .below-caption .item-caption .item-title:after {
  background-color: #eee;
}
.page .below-caption .item-caption .item-cat span {
  width: 100%;
}
.page .item-image::after {
  opacity: 1;
}
.wp-container-5 .wp-container-4 {
  display: unset !important;
}
.wp-container-5 .wp-container-4 .clapat-icon {
  margin-top: 15px !important;
  margin-bottom: 20px !important;
}
.wp-container-5 .wp-container-4 h6 {
  margin-bottom: 10px !important;
}
.wp-container-5 .wp-container-4 p {
  margin-bottom: 15px !important;
}
@media (min-width: 600px) {
  .wp-block-column {
    flex-basis: 100%;
  }
  .wp-block-column {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}
.wp-block-cover a {
  line-height: 40px;
  font-size: 30px;
  font-weight: 600;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  justify-content: center;
  align-items: center;
  display: flex;
}
.video-wrapper > i {
  color: #fff;
  z-index: 9999;
  font-size: 5rem;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.video-wrapper.play > i {
  display: none;
}
.grecaptcha-badge,
.wpcf7-spinner {
  display: none !important;
}
@media only screen and (max-width: 1024px) {
  .socials-wrap .socials {
    display: none;
  }
  .footer-button-wrap {
    bottom: 100px;
  }
}
@media only screen and (max-width: 479px) {
  .error404 #hero-caption {
    padding: 400px 30px 20px 30px;
  }
  .error404 .error #hero-caption::before {
    display: none;
  }
  #hero .article-head {
    padding: 0;
  }
  .footer-button-wrap {
    bottom: 50px;
  }
  .copyright {
    bottom: -30px;
  }
  #logo img {
    top: -10px !important;
    left: 0px !important;
    height: 60px;
    position: absolute;
  }
  .title,
  .main-title,
  .hero-title,
  .page-title {
    font-size: 8vw;
  }
  #CybotCookiebotDialogBodyLevelButtons {
    margin-left: 10px !important;
  }
  .clients-table li img {
    padding: 0;
  }
  #portfolio-wrap .item,
  #portfolio-wrap.boxed .item {
    margin: 20px 0;
  }
}
.single-fim_portfolio .button-box {
  margin-right: 30px;
}
#post .post-image {
  text-align: center;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .is_retina {
    display: block;
  }
  .not_retina {
    display: none;
  }
}
@media only screen and (max-width: 600px) {
  .about-video-pc {
    display: none;
  }
  .about-video-mobie {
    display: block !important;
  }
}

/* Announcement Bar */
.announcement-bar {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 10px 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  box-sizing: border-box;
}
.announcement-bar a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  display: inline-block;
  letter-spacing: 0.5px;
}
/* 中英链各一条，需压过 .announcement-bar a 的 display */
.announcement-bar a.lang-zh-hans {
  display: none;
}
.announcement-bar a.lang-en {
  display: inline-block;
}
html[lang="zh-hans"] .announcement-bar a.lang-zh-hans,
html[lang="zh-CN"] .announcement-bar a.lang-zh-hans {
  display: inline-block;
}
html[lang="zh-hans"] .announcement-bar a.lang-en,
html[lang="zh-CN"] .announcement-bar a.lang-en {
  display: none;
}
html[lang="en-US"] .announcement-bar a.lang-zh-hans,
html[lang="en"] .announcement-bar a.lang-zh-hans {
  display: none;
}
html[lang="en-US"] .announcement-bar a.lang-en,
html[lang="en"] .announcement-bar a.lang-en {
  display: inline-block;
}
.announcement-bar a:hover {
  color: #ccc;
}
.announcement-bar strong {
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid #fff;
  padding-bottom: 1px;
}
.announcement-bar a:hover strong {
  color: #ccc;
  border-color: #ccc;
}
body {
  padding-top: 40px;
}
.preloader-wrap {
  top: 40px;
}
header {
  top: 40px !important;
}
@media only screen and (max-width: 479px) {
  .announcement-bar {
    padding: 8px 15px;
  }
  .announcement-bar a {
    font-size: 12px;
  }
}

/* Typography: system stack instead of Google Fonts (Poppins) — CN-friendly, no third-party CSS */
body,
input,
textarea,
select,
button,
.main-title,
.hero-title,
.portfolio-title {
  font-family: "Poppins", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Respect reduced motion (preloader / parallax / custom cursor-heavy pages) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .magic-cursor,
  #ball,
  #ball-loader {
    display: none !important;
  }
}
