/*
Theme Name: S Capital Partners
Description: A custom WordPress theme for SVMall.
Version: 1.0
Author: SmileV
Text Domain: SmileV
*/
:root {
  --theme-color: #CF000F;
  --scp-transition-speed: 0.3s;
  --scp-text-color: #ffffff;
  --scp-accent-color: #CF000F;

  /* ==========================================================================
     联系信息专用变量 - 统一管理所有颜色和样式
     修改这些变量即可改变所有联系信息的外观
     ========================================================================== */
  --contact-text-color: #a9a9a9;
  /* 默认文字颜色（公司名、地址、电话、邮箱、网站） */
  --contact-hover-color: #ffffff;
  /* 悬停时文字颜色 */
  --contact-underline-color: #CF000F;
  /* 下划线颜色（包括图标颜色） */
  --contact-underline-height: 2px;
  /* 下划线高度 */
  --contact-underline-offset: -3px;
  /* 下划线位置（负值表示在文字下方） */
}

/* Services Cards Uniform Height - 6卡片布局优化 */
.scp-section[data-anchor="Services"] .scp-post.scp-post--masonry {
  min-height: 500px;
  display: flex;
  flex-direction: column;
}

/* 紧凑型卡片样式 - 进一步减少高度 */
.scp-section[data-anchor="Services"] .scp-post.scp-post--masonry.scp-post--compact {
  min-height: 280px;
  /* 进一步减少高度，约为原来的56% */
}

.scp-section[data-anchor="Services"] .scp-post.scp-post--masonry .scp-post-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* 紧凑型卡片内容区域调整 */
.scp-section[data-anchor="Services"] .scp-post.scp-post--masonry.scp-post--compact .scp-post-content {
  padding: 1.5rem;
  /* 进一步减少内边距 */
}

.scp-section[data-anchor="Services"] .scp-post.scp-post--masonry .scp-post-excerpt {
  flex: 1;
}

.scp-section[data-anchor="Services"] .scp-post.scp-post--masonry .scp-post-footer {
  margin-top: auto;
}

/* 紧凑型卡片标题和摘要调整 */
.scp-section[data-anchor="Services"] .scp-post.scp-post--masonry.scp-post--compact .scp-post-title {
  font-size: 1.4rem;
  /* 进一步减小标题字体 */
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.scp-section[data-anchor="Services"] .scp-post.scp-post--masonry.scp-post--compact .scp-post-excerpt {
  font-size: 0.8rem;
  /* 进一步减小摘要字体 */
  line-height: 1.4;
}

.scp-section[data-anchor="Services"] .scp-post.scp-post--masonry.scp-post--compact .scp-post-header {
  margin-bottom: 1rem;
  /* 减少标题区域底部间距 */
}

/* 6卡片布局的统一间距 - 修复横向和纵向间距不一致问题 */
.scp-section[data-anchor="Services"] .row {
  margin: 0 -15px -30px -15px;
  /* 左右负边距抵消列的padding，底部负边距抵消最后一行的margin */
}

.scp-section[data-anchor="Services"] .row>[class*="col-"] {
  padding: 0 15px;
  /* 横向间距：左右各15px，总共30px */
  margin-bottom: 30px;
  /* 纵向间距：30px，与横向间距保持一致 */
}

.scp-large-heading {
  text-transform: uppercase;
  line-height: 1.25;
}


/* 响应式设计 - 6卡片布局 */
@media (max-width: 1200px) {
  .scp-section[data-anchor="Services"] .scp-post.scp-post--masonry.scp-post--compact {
    min-height: 260px;
    /* 大屏幕进一步减小 */
  }
}

@media (max-width: 992px) {
  .scp-section[data-anchor="Services"] .scp-post.scp-post--masonry.scp-post--compact {
    min-height: 240px;
    /* 中等屏幕更紧凑 */
  }

  .scp-section[data-anchor="Services"] .scp-post.scp-post--masonry.scp-post--compact .scp-post-content {
    padding: 1.4rem;
    /* 减少内边距 */
  }
}

@media (max-width: 768px) {

  /* 平板和手机端每行2个卡片 */
  .scp-section[data-anchor="Services"] .scp-post.scp-post--masonry.scp-post--compact {
    min-height: 220px;
  }

  .scp-section[data-anchor="Services"] .scp-post.scp-post--masonry.scp-post--compact .scp-post-title {
    font-size: 1.3rem;
  }

  .scp-section[data-anchor="Services"] .scp-post.scp-post--masonry.scp-post--compact .scp-post-excerpt {
    font-size: 0.8rem;
  }

  .scp-section[data-anchor="Services"] .scp-post.scp-post--masonry.scp-post--compact .scp-post-content {
    padding: 1.3rem;
  }

  /* 平板和移动端间距调整 */
  .scp-section[data-anchor="Services"] .row {
    margin: 0 -10px -20px -10px;
  }

  .scp-section[data-anchor="Services"] .row>[class*="col-"] {
    padding: 0 10px;
    margin-bottom: 20px;
  }

  /* 移动端隐藏额外的间距容器 */
  .scp-section[data-anchor="Services"] .scp-gap-30--lg {
    display: none;
  }
}

@media (max-width: 576px) {

  /* 小屏幕每行1个卡片 */
  .scp-section[data-anchor="Services"] .scp-post.scp-post--masonry.scp-post--compact {
    min-height: 200px;
  }

  .scp-section[data-anchor="Services"] .scp-post.scp-post--masonry.scp-post--compact .scp-post-content {
    padding: 1.1rem;
  }

  .scp-section[data-anchor="Services"] .row {
    margin: 0 -8px -15px -8px;
  }

  .scp-section[data-anchor="Services"] .row>[class*="col-"] {
    padding: 0 8px;
    margin-bottom: 15px;
  }

  /* 小屏幕也隐藏额外的间距容器 */
  .scp-section[data-anchor="Services"] .scp-gap-30--lg {
    display: none;
  }
}

/* Service Popup Styles */
.service-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 44, 44, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.service-popup-container {
  background: #161616;
  width: 90%;
  max-width: 1200px;
  height: 80vh;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: none;
  border: 4px solid #6D6D6D;
  color: #ffffff;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.service-popup-header {
  display: none;
}

.service-popup-header h2 {
  margin: 0;
  font-size: 2rem;
  color: #ffffff;
  font-weight: 600;
  font-family: 'Comfortaa', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.service-popup-close {
  background: #202020;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: #ffffff;
  padding: 15px 20px;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;

}

.service-popup-close:hover {
  background: #CF000F;
  color: #ffffff;
  transition: all 0.3s ease;
}

.service-popup-content {
  padding: 40px 50px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-popup-image {
  margin-bottom: 30px;
  flex-shrink: 0;
  position: relative;
}

.service-popup-image::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #06131B, rgba(255, 255, 255, 0.1), #06131B);
  border-radius: 14px;
  z-index: -1;
}

.service-popup-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  position: relative;
  z-index: 1;
}

.service-popup-title-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  z-index: 2;
}

.service-popup-title-overlay h2 {
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 600;
  text-align: center;
  margin: 0;
  padding: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
}



.service-popup-text {
  line-height: 1.8;
  color: #ffffff;
  flex: 1;
  font-size: 1.1rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.service-popup-text h1,
.service-popup-text h2,
.service-popup-text h3,
.service-popup-text h4,
.service-popup-text h5,
.service-popup-text h6 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
  font-weight: 600;
}

.service-popup-text p {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.service-popup-text ul,
.service-popup-text ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.service-popup-text a {
  color: #06131B;
  background: rgba(255, 255, 255, 0.9);
  padding: 2px 6px;
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-popup-text a:hover {
  background: #ffffff;
  color: #06131B;
}

/* Popup Animation - Q弹从中心展开效果 */
.service-popup-overlay {
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-popup-overlay.show {
  opacity: 1;
}

.service-popup-container {
  transform: scale(0);
  transform-origin: center center;
  transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.service-popup-overlay.show .service-popup-container {
  transform: scale(1);
}

/* 内容区域的延迟动画 */
.service-popup-content {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
}

.service-popup-overlay.show .service-popup-content {
  opacity: 1;
  transform: translateY(0);
}

/* 关闭按钮的动画 */
.service-popup-close {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease 0.4s, transform 0.4s ease 0.4s;
}

.service-popup-overlay.show .service-popup-close {
  opacity: 1;
  transform: translateY(0);
}

/* Scrollbar Styling */
.service-popup-content::-webkit-scrollbar {
  width: 8px;
}

.service-popup-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.service-popup-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.service-popup-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
  .service-popup-container {
    width: 95%;
    max-width: none;
    height: 85vh;
  }

  .service-popup-content {
    padding: 25px 25px;
    flex: 1;
  }

  .service-popup-close {
    padding: 12px 15px;
    font-size: 0.9rem;
  }

  .service-popup-image img {
    height: 200px;
    border-radius: 6px;
  }

  .service-popup-title-overlay h2 {
    font-size: 1.6rem;
    padding: 15px;
  }

  .service-popup-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .service-popup-container {
    width: 98%;
    height: 90vh;
  }

  .service-popup-content {
    padding: 20px 20px;
    flex: 1;
  }

  .service-popup-close {
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  .service-popup-image img {
    height: 180px;
  }
}

/* ==========================================================================
   Contact Page Styles - 联系页面样式
   ========================================================================== */

/* Hero Section Background Overlay */
.scp-section[data-anchor="Home"] .scp-section__ken-burn-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, var(--hero-overlay-opacity, 0.3));
  z-index: 1;
  pointer-events: none;
}

/* Contact Page Background Overlay */
.scp-section[data-anchor="Contact"] .scp-section__ken-burn-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, var(--contact-overlay-opacity, 0.4));
  z-index: 1;
  pointer-events: none;
}

/* Contact Info Section */
.contact-info-section {
  margin-top: 20px;
  position: relative;
}

.contact-info-section::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, rgba(105, 105, 105, 0.121), rgba(71, 71, 71, 0.3));
  border-radius: 1px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  padding-bottom: 20px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-info-item:last-child {
  padding-bottom: 0;
}

.contact-info-item:hover .contact-info-content {
  color: var(--contact-hover-color);
}

/* 确保整行悬停时所有文字都变色（使用统一变量） */
.contact-info-item:hover .contact-info-content p,
.contact-info-item:hover .contact-info-content address {
  color: var(--contact-hover-color) !important;
}

/* 移除了重复的contact-text样式，现在所有项目都使用统一的contact-link类 */

/* 注释掉通用的悬停下划线效果，只保留链接特定的 */
/*
.contact-info-item:hover .contact-info-content::after {
  width: 100%;
}
*/

.contact-info-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.contact-info-icon i {
  font-size: 18px;
  color: #9a9a9a;
  transition: all var(--scp-transition-speed) ease;
}

.contact-info-content {
  flex: 1;
  font-size: 18px;
  font-weight: 400;
  color: var(--contact-text-color);
  line-height: 1.4;
  position: relative;
  transition: all var(--scp-transition-speed) ease;
}

/* 移除通用下划线，只保留链接特定的下划线 */
/*
.contact-info-content::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--theme-color);
  transition: width var(--scp-transition-speed) ease;
}
*/

.contact-info-content a {
  color: inherit;
  text-decoration: none;
  transition: all var(--scp-transition-speed) ease;
}

.contact-info-content address {
  font-style: normal;
  margin-bottom: 0;
  color: inherit;
}

/* ==========================================================================
   联系信息统一样式 - 使用CSS变量统一管理
   ========================================================================== */

/* 基础样式 - 所有联系信息项目（强制统一span和a标签） */
.contact-info-content .contact-link,
.contact-info-content a.contact-link,
.contact-info-content span.contact-link {
  position: relative !important;
  display: inline !important;
  color: var(--contact-text-color) !important;
  text-decoration: none !important;
  border-bottom: none !important;
  border: none !important;
  background: none !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: all var(--scp-transition-speed) ease !important;
  opacity: 1 !important;
}

/* 下划线样式 - 所有联系信息项目（强制统一高度） */
.contact-info-content .contact-link::after,
.contact-info-content a.contact-link::after,
.contact-info-content span.contact-link::after {
  content: '' !important;
  position: absolute !important;
  bottom: var(--contact-underline-offset) !important;
  left: 0 !important;
  right: 0 !important;
  width: 0 !important;
  height: var(--contact-underline-height) !important;
  background: var(--contact-underline-color) !important;
  transition: width var(--scp-transition-speed) ease !important;
  z-index: 10 !important;
  border: none !important;
  border-bottom: none !important;
}

/* 悬停效果 - 整行悬停或直接悬停都触发（强制统一span和a标签） */
.contact-info-item:hover .contact-info-content .contact-link,
.contact-info-item:hover .contact-info-content a.contact-link,
.contact-info-item:hover .contact-info-content span.contact-link,
.contact-info-content .contact-link:hover,
.contact-info-content a.contact-link:hover,
.contact-info-content span.contact-link:hover {
  color: var(--contact-hover-color) !important;
  text-decoration: none !important;
  border-bottom: none !important;
  border: none !important;
  opacity: 1 !important;
}

/* 悬停时下划线动画 - 强制统一样式 */
.contact-info-item:hover .contact-info-content .contact-link::after,
.contact-info-item:hover .contact-info-content a.contact-link::after,
.contact-info-item:hover .contact-info-content span.contact-link::after,
.contact-info-content .contact-link:hover::after,
.contact-info-content a.contact-link:hover::after,
.contact-info-content span.contact-link:hover::after {
  width: 100% !important;
  right: auto !important;
  height: var(--contact-underline-height) !important;
}

/* 强制覆盖scp-main.css中的冲突样式 */
.contact-info-section .contact-info-item .contact-info-content .contact-link::after,
.contact-info-section .contact-info-item .contact-info-content a.contact-link::after,
.contact-info-section .contact-info-item .contact-info-content span.contact-link::after {
  height: var(--contact-underline-height) !important;
  background: var(--contact-underline-color) !important;
  bottom: var(--contact-underline-offset) !important;
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  width: 0 !important;
  transition: width var(--scp-transition-speed) ease !important;
  z-index: 10 !important;
}

.contact-info-section .contact-info-item:hover .contact-info-content .contact-link::after,
.contact-info-section .contact-info-item:hover .contact-info-content a.contact-link::after,
.contact-info-section .contact-info-item:hover .contact-info-content span.contact-link::after {
  height: 4px !important;
  width: 100% !important;
  right: auto !important;
}

/* 最高优先级覆盖 - 针对scp-main.css的1px高度 */
.scp-section[data-anchor="Contact"] .contact-info-content a.contact-link::after,
.scp-section[data-anchor="Contact"] .contact-info-content span.contact-link::after {
  height: 4px !important;
  bottom: var(--contact-underline-offset) !important;
}

/* 覆盖全局a标签样式对联系链接的影响 */
.contact-info-content a.contact-link {
  color: var(--contact-text-color) !important;
  opacity: 1 !important;
}

.contact-info-content a.contact-link:hover {
  color: var(--contact-hover-color) !important;
  opacity: 1 !important;
}

/* 确保span和a标签的contact-link完全一致 */
.contact-info-content span.contact-link {
  color: var(--contact-text-color) !important;
  cursor: default !important;
}

.contact-info-item:hover .contact-info-content span.contact-link,
.contact-info-content span.contact-link:hover {
  color: var(--contact-hover-color) !important;
}

/* Responsive Styles */
@media (max-width: 767.98px) {
  .contact-info-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
  }

  .contact-info-icon i {
    font-size: 16px;
  }

  .contact-info-content {
    font-size: 16px;
  }

  .contact-info-item {
    padding-bottom: 18px;
  }

  .contact-info-section::before {
    left: 9px;
    width: 1px;
  }
}

/* ==========================================================================
   自定义联系表单样式 - 确保新的表单类名有正确样式
   ========================================================================== */

.scpartners-contact-form {
  max-width: 600px;
  position: relative;
}

.scpartners-contact-form .message {
  display: none;
  padding: 15px 0 15px 25px;
  margin-bottom: 25px;
  font-size: 14px;
  font-weight: 400;
  position: relative;
  border-left: 3px solid;
}

.scpartners-contact-form .message.success {
  background-color: rgba(40, 167, 69, 0.05);
  border-left-color: #28a745;
  color: #28a745;
}

.scpartners-contact-form .message.danger {
  background-color: rgba(220, 53, 69, 0.05);
  border-left-color: #dc3545;
  color: #dc3545;
}

@media (max-width: 767.98px) {
  .scpartners-contact-form {
    max-width: 100%;
  }
}

/* ==========================================================================
   Toast 通知样式
   ========================================================================== */

#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  pointer-events: none;
}

.toast {
  background: #161616;
  border: 1px solid #333333;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  margin-bottom: 10px;
  padding: 16px 20px;
  min-width: 300px;
  max-width: 400px;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: auto;
  position: relative;
  border-left: 4px solid;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  border-radius: 8px;
  pointer-events: none;
}

.toast.success {
  border-left-color: #28a745;
  background: linear-gradient(135deg, #161616 0%, rgba(40, 167, 69, 0.05) 100%);
}

.toast.error {
  border-left-color: #ff4757;
  background: linear-gradient(135deg, #161616 0%, rgba(255, 71, 87, 0.05) 100%);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.toast.success .toast-icon {
  color: #28a745;
  text-shadow: 0 0 8px rgba(40, 167, 69, 0.3);
}

.toast.error .toast-icon {
  color: #ff4757;
  text-shadow: 0 0 8px rgba(255, 71, 87, 0.3);
}

.toast-message {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  font-size: 18px;
  color: #888888;
  cursor: pointer;
  padding: 0;
  margin-left: 8px;
  transition: all 0.2s ease;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  #toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
  }

  .toast {
    min-width: auto;
    max-width: none;
  }
}

/* 服务卡片标题覆盖 */
.scp-post-media {
  position: relative;
}

.scp-post-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  padding: 15px;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  padding-bottom: 40px;
  font-size: 2rem;
  color: #ededed;
}

.scp-post-title-overlay h3 {
  color: white;
  margin: 0;
  font-size: 16px;
}


.scp-scrooltip {
  display: none;
}


/*
 * 移动端
 */
@media (max-width: 768px) {
  .scp-large-heading {
    font-size: 3.3rem !important;
  }

  .scp-animated-block p {
    display: inline-block;
    width: 100% !important;
    font-size: 14px;
  }

  /* 移动端服务卡片点击效果 */
  .scp-section[data-anchor="Services"] .scp-post.scp-post--masonry.scp-post--compact {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
  }

  .scp-section[data-anchor="Services"] .scp-post.scp-post--masonry.scp-post--compact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: inherit;
  }

  .scp-section[data-anchor="Services"] .scp-post.scp-post--masonry.scp-post--compact:hover::after {
    opacity: 1;
  }

  .scp-section[data-anchor="Services"] .scp-post.scp-post--masonry.scp-post--compact:active {
    transform: scale(0.98);
  }

  /* 移动端隐藏footer */
  .scp-footer.scp-footer--default.scp-footer--fixed {
    display: none !important;
    /* padding: 0; */
    /* background: rgb(11, 10, 8); */
    /* position: static;
    bottom: 0;
    margin-top: 1rem; */
  }

  .scp-scrooltip {
    position: absolute;
    bottom: 5vh;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    display: flex;
    animation: scrolltipani 2s cubic-bezier(0.42, 0, 0.58, 1) infinite both;
  }

  .scp-scrooltip i {
    color: white;
    font-size: 18px;

  }

  .scp-btn,
  .scp-btn--md {
    width: 100%;
  }

  @-webkit-keyframes scrolltipani {
    0% {
      bottom: 5vh;

    }

    50% {
      bottom: 2vh;
    }

    100% {
      bottom: 5vh;
    }
  }

  @keyframes scrolltipani {
    0% {
      bottom: 5vh;

    }

    50% {
      bottom: 2vh;
    }

    100% {
      bottom: 5vh;
    }
  }

}