body {
  padding-right: 0 !important;
}
body.cs-mobile-menu-open {
  overflow: hidden;
  touch-action: none;
}

.hr {
  border-width: 3px !important;
}

/*nav btn*/
.n-rb {
  display: flex;
  -webkit-box-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 12px;
  min-height: 46px;
  font-size: 14px;
}
.n-rb01 {
  color: #c71b35;
  display: inline-block;
  border-radius: 5px;
  user-select: none;
  text-align: center;
  position: relative;
  border: 2px solid #c71b35;
  font-size: 14px;
  padding: 10px 22px;
  transition: all 0.3s ease;
  line-height: 1.5em;
  background-color: #fff;
}
.n-rb01:hover {
  color: #fff;
  border-color: #c71b35;
  background-color: #c71b35;
}
.n-rb02 {
  color: #ffffff;
  display: inline-block;
  position: relative;
  background: #c71b35;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border-radius: 5px;
  outline: none;
  padding: 10px 22px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  line-height: 1.5em;
}
.n-rb02:hover {
  background-color: rgba(199, 27, 53, 0.1);
  border-color: #c71b35;
  color: #c71b35;
}

/*header*/
.cs-site__header.cs-style1.scroll {
  background-color: #fff;
  box-shadow: 0 0 5px #00000020;
  position: fixed;
}

/* 手機漢堡展開：不要暗色遮罩在 nav 本身，改為 main 區塊暗色遮罩 */
@media (max-width: 991px) {
  .cs-site__header.cs-style1 .cs-nav .cs-nav__list[style*="display: block"] + .cs-munu__toggle::before {
    content: none;
    background: transparent;
  }

  .cs-nav .cs-nav__list {
    box-shadow: none;
  }

  main#main-content {
    position: relative;
  }
  main#main-content::before {
    content: "";
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 50;
  }

  body:has(.cs-site__header.cs-style1 .cs-nav .cs-nav__list[style*="display: block"]) main#main-content::before {
    opacity: 1;
    visibility: visible;
  }

  /* 漢堡展開時，浮動按鈕降到遮罩下面 */
  body:has(.cs-site__header.cs-style1 .cs-nav .cs-nav__list[style*="display: block"]) .contact-float-btn,
  body:has(.cs-site__header.cs-style1 .cs-nav .cs-nav__list[style*="display: block"]) .register-float-btn {
    z-index: 40 !important;
    pointer-events: none;
  }
}


.fs-text-primary {
  color: #b7303b;
}

.cs-searchbar.cs-style1 {
  display: flex;
}
.cs-searchbar.cs-style1 .cs-searchbar__input {
  flex: 1;
  margin-right: 20px;
  padding: 5px 20px;
  background-color: #fff;
  border-radius: 5px;
  border: 1px solid transparent;
}
.fs-padding {
  padding-top: 45px;
  padding-bottom: 45px;
}
input {
  border: none;
  outline: none;
}
.contact-float-btn {
  position: fixed !important;
  z-index: 999 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none;
  bottom: 160px;
  right: 20px;
  max-width: 80px;
  width: 80px;
  max-height: 80px;
  height: 80px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 167ms cubic-bezier(0.33, 0, 0, 1);
  box-sizing: content-box;
  box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.06);
}
.register-float-btn {
  position: fixed !important;
  z-index: 999 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none;
  bottom: 70px;
  right: 20px;
  max-width: 80px;
  width: 80px;
  max-height: 80px;
  height: 80px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 167ms cubic-bezier(0.33, 0, 0, 1);
  box-sizing: content-box;
  box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.06);
}

@media (max-width: 991px) {
  /* 手機版：漢堡展開時不要讓浮動按鈕蓋過選單 */
  .contact-float-btn,
  .register-float-btn {
    z-index: 100 !important;
  }
}
.badge.badge-circle {
  border-radius: 50%;
  min-width: unset;
  width: 1.75rem;
}
.badge.badge-circle,
.badge.badge-square {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.75rem;
  line-height: 0;
}
.badge-light-success {
  color: #4285f4;
  background-color: #ffffff;
}
.image-contain {
  z-index: 5;
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
}
.img-cut {
  width: 100%;
  border-radius: 1em;
  flex: 1;
  padding: 15px;
  position: relative;
  overflow: hidden;
}
.cs-icon__box__subtitle {
  font-size: 18px;
}
.cs-icon__box.cs-style3 .cs-icon__box__title {
  font-size: 20px;
}

.btn-close:focus {
  box-shadow: none;
}
/*faq*/
.faq_tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 60px;
  justify-content: center;
  flex-wrap: wrap;
}
.faq_tab {
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 50px;
  background-color: #d447460f;
  font-size: 14px;
  color: #c71b35;
  line-height: 1.5em;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.faq_tab.active {
  background-color: #c71b35;
  color: #fff;
  border: 0px;
}
.faq_tab:hover {
  background-color: #c71b35;
  color: #fff;
}
.faq_content {
  display: block; /* Show all content by default */
  margin-bottom: 30px;
}
/*news*/
.news_tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 60px;
  justify-content: center;
  flex-wrap: wrap;
}
.news_tab {
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 50px;
  background-color: #d447460f;
  font-size: 14px;
  color: #c71b35;
  line-height: 1.5em;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.news_tab.active {
  background-color: #c71b35;
  color: #fff;
  border: 0px;
}
.news_tab:hover {
  background-color: #c71b35;
  color: #fff;
}
.news_content {
  display: block; /* Show all content by default */
  margin-bottom: 30px;
}
.n_article-list a{
  color: #7a7a7a;
}
.news_content a:hover {
  color: #c71b34;
}
h2.category_header {
  font-weight: 500;
  line-height: 1.2;
  padding-bottom: 1rem;
  border-bottom: 1px solid #dddddd;
  font-size: 22px;
  color: #c71b34;
}
ul.f_article-list {
  color: #7a7a7a;
  font-size: 16px;
  list-style: none;
  padding: 20px 10px;
}
ul.f_article-list a:hover {
  color: #c71b34;
}
#searchTitle{
  font-weight: 500;
  line-height: 1.2;
  padding-bottom: 1rem;
  border-bottom: 1px solid #dddddd;
  font-size: 22px;
  color: #c71b34;
}

.hidden_f {
  display: none; /* Utility class to hide content */
}

.f_search_bar {
  border-radius: 0.5rem;
  background: #fff;
}
.f_search_bar .row {
  padding: 0.5rem;
}
.f_search_bar .cs-btn {
  font-size: 16px;
  border-radius: 5px;
  outline: #cf3f4a00;
  cursor: pointer;
  padding: 4px 14px;
  background-color: #fefefe00;
  color: #c4514d;
  border: 2px solid transparent;
}
.f_search_bar .form-control-borderless::placeholder {
  color: #c4c4c4;
  opacity: 1;
}
input[type="search"]::-webkit-search-cancel-button {
  filter: grayscale(1);
}
input[type="search"] {
  -webkit-appearance: none;
  background-color: #fff;
}
/*term*/
.article-post_mainblock h2 {
  font-size: 22px;
  margin-bottom: 20px;
  margin-top: 20px;
}
.f_article-post-page h1 {
  font-size: 28px;
  border-bottom: 1px solid #dddddd;
  margin-bottom: 20px;
  padding-bottom: 20px;
}
.f_article-post-page .breadcrumb{
  font-size: 12px;
}

.kv-img {
  margin-bottom: 30px;
}
.fs-case_box {
  background-color: #fff;
  box-shadow: 0px 0px 15px 0px rgba(94, 44, 237, 0.1);
  display: block;
  border-radius: 5px;
}
.fs-case_box_title {
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
}
.fs-case_box_contain {
  padding: 30px 20px;
}
.fs-case_box_contain p {
  text-align: left;
  margin-top: 10px;
  margin-bottom: 20px;
  height: 220px;
}
.fs-case_box_contain img {
  height: 40px;
  text-align: center;
  margin: 0 auto;
}
.fs-case_box .fs-center img {
  width: 100%;
  border-radius: 5px 5px 0 0;
}
.fs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
  padding: 10px 30px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  line-height: 1.5em;
}
.fs-btn.fs-color1 {
  background-color: #c71b35;
  color: #fff;
}
.fs-btn.fs-color1:hover {
  background-color: rgba(199, 27, 53, 0.1);
  border-color: #c71b35;
  color: #c71b35;
}
.kv-img {
  margin-bottom: 0px;
}
ul.fs-list {
  display: flex;
  flex-wrap: wrap;
}
.fs-list li {
  width: 230px;
  padding-left: 14px;
  position: relative;
  margin-bottom: 8px;
  margin-right: 20px;
}
.fs-list li:before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #c71b35;
  left: 0;
  top: 12px;
  position: absolute;
}
.fs-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.step_content p, .step_content ul.fs-list{
	font-size: 18px;
}

.promo-bar {
  background-color: #c71b35;
  color: white;
  padding:14px;
}

.promo-bar-content {
  margin: 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.5em;
}
.svc-build-hero-img {
  margin: 40px 0px;
  width: 100%;
  height: auto;
}
#plan-function .row{
  border-radius: 15px;
  padding: 25px 20px 20px;
  background-color: #fff;
  transition: all 0.3s ease;
  border: 2px solid #f1f1f1;
  margin: 0px 0px 30px 0px;
}
.function-nav-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.function-tab {
  padding: 10px 24px;
  border-radius: 30px;
  background-color: #d447460f;
  color: #c71b35;
  font-size: 16px;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}
.function-tab:hover, .function-tab.active {
  background-color: #c71b35;
  color: #fff;
}

@media (min-width: 768px) {
  .fs-padding {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

@media (max-width: 767px) {
  .cs-searchbar.cs-style1 .cs-searchbar__input {
    padding: 4px 15px;
    margin-right: 0;
    width: 100%;
    height: 41px;
    margin-bottom: 15px;
  }

  .cs-searchbar.cs-style1 .cs-btn.cs-style1 {
    height: 41px;
  }

  .cs-searchbar.cs-style1 {
    display: block;
  }

  ul.f_article-list {
    padding: 0 10px; /* 確保兩端有適當的 padding */
    margin-bottom: 0;
  }

  .kv-img {
    margin-bottom: 30px;
  }
  .cs-btn.cs-style1 {
    min-width: 100%;
  }
  .fs_step img {
    margin-bottom: 10px;
  }
  .fs-btns {
    flex-direction: column;
    gap: 10px;
  }
  .contact-float-btn {
  bottom: 140px;
	}
  .contact-float-btn, .register-float-btn{
  max-width: 60px;
  width: 60px;
  max-height: 60px;
  height: 60px;
  right: 10px;
  }
  .promo-bar {
  padding:6px;
  }
  .svc-build-hero-img {
    content: url('../img/fs_service_hero_m.webp');
  }
  #svc-build-hero .cs-hero__subtitle br{
    display: none;
  }
}

/* ===== One-Page Affiliate (opa) ===== */

/* Pain Points - 2x2 Card Grid (ul/li) */
ul.opa-pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.opa-pain-grid li {
  margin-bottom: 0;
}
ul.opa-pain-grid li .cs-icon__box__in {
  height: 100%;
}
ul.opa-pain-grid .cs-icon__box__title {
  font-size: 18px;
}
ul.opa-pain-grid .cs-icon__box__subtitle {
  font-size: 15px;
}
ul.opa-pain-grid li:hover .cs-icon__box__title {
  color: #c71b35;
}
ul.opa-pain-grid li .cs-icon__box__title {
  transition: color 0.3s ease;
}

/* Feature Tabs (mobile only) */
.opa-feature-tabs {
  display: none;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  flex-wrap: wrap;
  justify-content: center;
}
.opa-feature-tab {
  padding: 10px 24px;
  border-radius: 30px;
  background-color: #d447460f;
  color: #c71b35;
  font-size: 16px;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}
.opa-feature-tab:hover, .opa-feature-tab.active {
  background-color: #c71b35;
  color: #fff;
}
.opa-feature-tab-content {
  display: none;
  padding: 0;
}
.opa-feature-tab-pane {
  display: none;
  text-align: center;
}
.opa-feature-tab-pane.active {
  display: block;
}
.opa-feature-tab-pane h3 {
  font-size: 22px;
  font-weight: 600;
  color: #c71b35;
  margin-bottom: 8px;
}
.opa-feature-tab-pane p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

/* Hero */

/* Section spacing */
#opa-painpoints > div,
#opa-features,
#opa-steps > div {
  padding-top: 80px;
  padding-bottom: 80px;
}
#opa-painpoints .cs-section__heading,
#opa-features .cs-section__heading,
#opa-steps .cs-section__heading {
  margin-bottom: 50px;
}
#opa-steps .fs-icon_box.cs-style1 {
  margin-bottom: 30px;
}
#opa-cta > div {
  padding-top: 80px;
  padding-bottom: 80px;
}
#opa-cta .cs-section__heading {
  margin-bottom: 30px;
}

@media (max-width: 767px) {

  #opa-painpoints > div,
  #opa-features,
  #opa-steps > div,
  #opa-cta > div {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  #opa-painpoints .cs-section__heading,
  #opa-features .cs-section__heading,
  #opa-steps .cs-section__heading {
    margin-bottom: 30px;
  }
}

#opa-hero .kv-img {
  border-radius: 10px;
}
.opa-pain-icon-wrap {
  margin-bottom: 12px;
}
#opa-painpoints .cs-icon__box__title {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}
#opa-painpoints .cs-icon__box.cs-style1:hover .cs-icon__box__title,
#opa-painpoints .cs-icon__box__title.opa-title-active {
  color: #c71b35;
}
.opa-pain-img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}
#opa-painpoints .cs-section__heading {
  margin-bottom: 40px;
}
#opa-painpoints .row {
  align-items: stretch;
}
#opa-painpoints .row > [class*="col-"]:last-child {
  display: flex;
}
#opa-painpoints .opa-pain-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* Core Features */
.opa-feature-preview {
  background: rgba(220, 220, 220, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(200, 200, 200, 0.25);
  border-radius: 8px;
  padding: 12px;
  position: relative;
}
.opa-feature-preview {
  position: relative;
  overflow: hidden;
}
.opa-feature-img {
  width: 100%;
  border-radius: 6px;
  box-shadow: none;
  display: block;
  position: absolute;
  top: 12px;
  left: 12px;
  width: calc(100% - 24px);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.opa-feature-img.active {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  opacity: 1;
  pointer-events: auto;
}
.opa-feature-card.active {
  background-color: #c71b35;
}
#opa-features .opa-feature-card.cs-pricing__table.cs-style1 .cs-pricing__table__title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}
.opa-feature-card.cs-pricing__table.cs-style1:hover {
  box-shadow: 0px 0px 15px 0px rgba(237, 44, 44, 0.1);
}
.opa-feature-card.active .cs-pricing__table__title {
  color: #fff;
}
.opa-feature-card.active p {
  color: #fff;
  transition: color 0.3s ease;
}
ul.opa-feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.opa-feature-card.cs-pricing__table.cs-style1 {
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: left;
  padding: 20px 24px;
  margin-bottom: 0;
  box-shadow: none;
  border-radius: 10px;
}
.opa-feature-card.cs-pricing__table.cs-style1 .cs-pricing__table__title {
  text-align: left;
}
#opa-features .opa-feature-card.cs-pricing__table.cs-style1 {
  background-color: #fff;
}
#opa-features .opa-feature-card.cs-pricing__table.cs-style1.active {
  background-color: #c71b35;
}
.opa-feature-card p {
  margin-bottom: 0;
  color: #666;
  font-size: 15px;
  line-height: 1.6;
}

/* Steps */
ul.opa-steps-grid {
  list-style: none;
  padding: 0;
  margin: 0;
}
#opa-steps .fs-icon_box_icon img {
  width: 140px;
  height: 140px;
}
.opa-step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c71b35, #e94560);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(199, 27, 53, 0.3);
}

/* Mobile */
@media (max-width: 767px) {
  #opa-hero .cs-hero__title {
    font-size: 38px;
  }
  #opa-hero .cs-hero__text {
    text-align: center;
  }
  #opa-hero .cs-btns {
    justify-content: center;
  }
  .opa-feature-preview {
    position: relative;
    top: auto;
    margin-bottom: 16px;
  }
  .opa-feature-list {
    display: none !important;
  }
  .opa-feature-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
  }
  .opa-feature-tab-content {
    display: block;
  }
  #opa-steps .fs-icon_box_icon img {
    width: 100px;
    height: 100px;
  }
  ul.opa-pain-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  ul.opa-pain-grid .cs-hover__layer3 {
    display: grid;
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
    gap: 0 10px;
    align-items: start;
  }
  ul.opa-pain-grid .opa-pain-icon-wrap {
    grid-row: 1 / 3;
    margin-bottom: 0;
    padding-top: 2px;
  }
  ul.opa-pain-grid .opa-pain-icon-wrap img {
    width: 40px;
    height: 40px;
  }
  ul.opa-pain-grid .cs-icon__box__title {
    text-align: left;
  }
  ul.opa-pain-grid .cs-icon__box__subtitle {
    text-align: left;
  }
  #opa-painpoints .row {
    align-items: center;
  }
  .opa-pain-img {
    height: auto;
    max-height: 230px;
    object-fit: cover;
    margin-bottom: 24px;
  }

}
