/* ==========================================================================
   FranchiseKing Semantic Layout & Responsive Stylesheet (Bootstrap 4 compatible)
   Mobile breakpoint unified at max-width: 575px
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  color: #222222;
  font-family: "PingFang HK", "Microsoft JhengHei", "Noto Sans TC", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

/* Skip link for keyboard & screen-reader users */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 2000;
  padding: 8px 16px;
  background: #595757;
  color: #ffffff;
  font-weight: 600;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 0;
  color: #ffffff;
  outline: 2px solid #ffffff;
}

/* ==========================================================================
   Site Header (Desktop Top Bar + Brand Banner + Primary Navigation)
   ========================================================================== */
.site-header {
  width: 100%;
  background: #ffffff;
}

/* Top charcoal utility bar (#2A2A2C, 56px) */
.site-top-bar {
  background-color: #2A2A2C;
  color: #ffffff;
  width: 100%;
}
.site-top-bar__inner {
  max-width: 1302px;
  min-height: 56px;
  margin: 0 auto;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.site-top-bar__cta-group {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-top-bar__cta-group li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.7);
}
.site-top-bar__cta-link {
  display: inline-block;
  padding: 4px 18px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
}
.site-top-bar__cta-group li:first-child .site-top-bar__cta-link {
  padding-left: 0;
}
.site-top-bar__cta-link:hover,
.site-top-bar__cta-link:focus {
  color: #F0D78C;
  text-decoration: underline;
}

.site-top-bar__actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.site-top-bar__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 18px;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.site-top-bar__social--fb {
  background-color: #3b5998;
}
.site-top-bar__social--wa {
  background-color: #25D366;
}
.site-top-bar__social:hover,
.site-top-bar__social:focus {
  color: #ffffff;
  opacity: 0.88;
  text-decoration: none;
}

.top-bar-lang-link {
  display: inline-flex;
  align-items: center;
  padding: 4px 4px;
  color: #D4AF37;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
}
.top-bar-lang-link:hover,
.top-bar-lang-link:focus {
  color: #F0D78C;
  text-decoration: underline;
}
.top-bar-lang-link[aria-current="true"] {
  font-weight: 700;
  text-decoration: underline;
}

.top-bar-promo-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid #ffffff;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
}
.top-bar-promo-link:hover,
.top-bar-promo-link:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

.top-bar-promo-link-mobile {
  display: none;
}

/* Brand Banner (1302 x 214) */
.site-brand-wrap {
  max-width: 1302px;
  margin: 0 auto;
  text-align: center;
  line-height: 0;
}
.site-brand-link {
  display: inline-block;
  width: 100%;
}
.site-brand-banner {
  width: 100%;
  max-width: 1302px;
  height: auto;
  vertical-align: middle;
}

/* ==========================================================================
   Primary Navigation (Desktop Charcoal Bar #595757 + Grey Submenu #717071)
   ========================================================================== */
.site-nav {
  width: 100%;
  background-color: #595757;
  position: relative;
  z-index: 1020;
}

@media only screen and (min-width: 576px) {
  .mobile-navbar-header {
    display: none;
  }
  .site-nav__collapse {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
  }
  .site-nav__list {
    max-width: 1302px;
    min-height: 74px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
  }
  .site-nav__item {
    flex: 1 1 0;
    display: flex;
    align-items: stretch;
    position: static;
  }
  .site-nav__item--home {
    flex: 0.78 1 0;
  }
  .site-nav__item + .site-nav__item > .site-nav__link {
    border-left: 1px solid rgba(255, 255, 255, 0.55);
  }
  .site-nav__link {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.15s ease;
  }
  .site-nav__link:hover,
  .site-nav__link:focus,
  .site-nav__item:hover > .site-nav__link,
  .site-nav__item:focus-within > .site-nav__link {
    background-color: #424040;
    color: #ffffff;
    text-decoration: none;
  }
  .site-nav__caret {
    display: none;
  }

  /* Full-width grey submenu strip (#717071) matching original desktop hover bar */
  .site-nav__submenu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    padding: 0 16px;
    list-style: none;
    background-color: #717071;
    min-height: 62px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    z-index: 1030;
  }
  .site-nav__item:hover > .site-nav__submenu,
  .site-nav__item:focus-within > .site-nav__submenu {
    display: flex;
  }
  .site-nav__submenu li {
    display: inline-flex;
    align-items: center;
  }
  .site-nav__submenu li + li::before {
    content: "|";
    color: rgba(255, 255, 255, 0.45);
    margin: 0 2px;
  }
  .site-nav__submenu a {
    display: inline-block;
    padding: 14px 16px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
  }
  .site-nav__submenu a:hover,
  .site-nav__submenu a:focus {
    color: #F0D78C;
    background-color: rgba(0, 0, 0, 0.16);
    text-decoration: none;
  }
}

@media only screen and (min-width: 576px) and (max-width: 991px) {
  .site-nav__list {
    min-height: 58px;
  }
  .site-nav__link {
    font-size: 15px;
    padding: 0 4px;
    letter-spacing: 0;
  }
  .site-nav__submenu a {
    padding: 10px 10px;
    font-size: 15px;
  }
}

/* Enquiry cart banner */
.enquiry-summary {
  width: 100%;
  min-height: 54px;
  padding: 10px 16px;
  background-color: #FF8C00;
  color: #111111;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.enquiry-summary button,
.enquiry-summary .enquiry-summary__btn {
  display: inline-block;
  background-color: #3333AA;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 6px 24px;
  font-size: 17px;
  cursor: pointer;
  text-decoration: none;
}

/* ==========================================================================
   Main Landmark, Containers, Breadcrumbs, Typography & AEO Blocks
   ========================================================================== */
.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.page-body {
  max-width: 1024px;
  margin: 28px auto 44px;
  padding-left: 16px;
  padding-right: 16px;
}
.page-body--wide {
  max-width: 1180px;
}

/* Legacy #main-container-centered & .main-table compatibility */
#main-container-centered {
  position: relative;
  width: 100%;
  max-width: 1024px;
  margin: 28px auto 44px;
  padding-left: 16px;
  padding-right: 16px;
  text-align: left;
}
.main-table {
  width: 100%;
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
}

/* Breadcrumbs */
.site-breadcrumb {
  margin-bottom: 16px;
}
.site-breadcrumb .breadcrumb {
  background: transparent;
  padding: 4px 0;
  margin-bottom: 0;
  font-size: 14px;
}
.site-breadcrumb .breadcrumb-item a {
  color: #595757;
  text-decoration: none;
}
.site-breadcrumb .breadcrumb-item a:hover {
  text-decoration: underline;
}
.site-breadcrumb .breadcrumb-item.active {
  color: #555555;
}

/* Article & Headings */
.page-article {
  text-align: left;
  color: #222222;
  font-size: 17px;
  line-height: 1.8;
}
.page-title,
.page-article > h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 3px solid #595757;
}
.page-article h2 {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.4;
  color: #1f1f1f;
  margin: 28px 0 12px;
}
.page-article h3 {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.45;
  color: #2b2b2b;
  margin: 22px 0 10px;
}
.page-article p {
  margin: 0 0 16px;
}

/* Answer-Engine (AEO) lead summary callout */
.aeo-summary {
  background-color: #f7f5f2;
  border-left: 4px solid #595757;
  padding: 14px 18px;
  margin: 0 0 24px;
  border-radius: 0 6px 6px 0;
  color: #222222;
  font-size: 16.5px;
  line-height: 1.75;
}

/* Step-by-step ordered lists for flow/process pages */
.flow-steps {
  counter-reset: flow-step;
  list-style: none;
  padding-left: 0;
  margin: 24px 0;
}
.flow-steps > li {
  counter-increment: flow-step;
  position: relative;
  background: #ffffff;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  padding: 18px 20px 18px 64px;
  margin-bottom: 16px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.flow-steps > li::before {
  content: counter(flow-step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #595757;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-steps > li h2,
.flow-steps > li h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.2rem;
  color: #595757;
}
.flow-steps > li p:last-child,
.flow-steps > li ul:last-child {
  margin-bottom: 0;
}

/* Normalize legacy .style* and Froala .fr-view content from CMS */
.cms-content,
.fr-view {
  font-size: 17px;
  line-height: 1.8;
  color: #222222;
}
.page-article .style2,
.cms-content .style2 {
  font-size: 17px !important;
  line-height: 1.8 !important;
  color: #222222;
}
.page-article ol,
.cms-content ol {
  font-size: 17px !important;
  padding-left: 1.4rem;
}
.cms-content img,
.fr-view img {
  max-width: 100%;
  height: auto;
}

/* Section banner bar (replaces 52px red/grey section-heading tables) */
.section-banner {
  background: linear-gradient(90deg, #595757 0%, #333131 100%);
  color: #ffffff;
  padding: 12px 20px;
  margin: 28px 0 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-banner h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.03em;
}
.section-banner__more {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.75);
  padding: 4px 12px;
  border-radius: 20px;
}
.section-banner__more:hover,
.section-banner__more:focus {
  background: #ffffff;
  color: #595757;
  text-decoration: none;
}

/* ==========================================================================
   Business Listings Table (.business-list) & Detail Specs (<dl>)
   ========================================================================== */
.business-list {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  background: #ffffff;
  font-size: 15px;
}
.business-list caption {
  caption-side: top;
  text-align: left;
  font-weight: 600;
  color: #555555;
  padding: 0 0 8px;
  font-size: 14px;
}
.business-list thead th {
  background-color: #595757;
  color: #ffffff;
  font-weight: 600;
  padding: 11px 8px;
  text-align: left;
  border: 1px solid #424040;
  white-space: nowrap;
}
.business-list thead th a {
  color: #ffffff;
  text-decoration: none;
}
.business-list thead th a:hover {
  text-decoration: underline;
}
.business-list tbody tr {
  border-bottom: 1px solid #e6e6e6;
  transition: background-color 0.12s ease;
}
.business-list tbody tr:nth-child(even) {
  background-color: #fafafa;
}
.business-list tbody tr:hover {
  background-color: #f7f5f2;
}
.business-list tbody td {
  padding: 11px 8px;
  vertical-align: middle;
  color: #222222;
  text-align: left;
}
.business-list tbody td a {
  color: #1a4b8c;
  font-weight: 600;
  text-decoration: none;
}
.business-list tbody td a:hover {
  color: #595757;
  text-decoration: underline;
}
.badge-hot {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 700;
  background: #595757;
  color: #ffffff;
  border-radius: 3px;
  vertical-align: middle;
}
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.feature-tag {
  display: inline-block;
  padding: 2px 6px;
  font-size: 12px;
  border-radius: 3px;
  background: #f1f3f5;
  color: #333333;
  border: 1px solid #dee2e6;
}
.feature-tag--accent {
  background: #e8f1fa;
  color: #424040;
  border-color: #b8d2ec;
}

/* Business Detail <dl> Spec Grid */
.business-spec-card {
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.business-spec-list {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 0;
  margin: 0;
}
.business-spec-list dt,
.business-spec-list dd {
  margin: 0;
  padding: 12px 10px;
  border-bottom: 1px solid #eeeeee;
}
.business-spec-list dt {
  font-weight: 700;
  color: #444444;
  background-color: #f9f9f9;
}
.business-spec-list dd {
  color: #222222;
}

/* Related / Featured Cards Grid */
.hero-slider-section {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
}
.hero-slider-section .slide {
  display: none;
}
.hero-slider-section .slide:first-child,
.hero-slider-section .slick-initialized .slide {
  display: block;
}
.hero-slider-section .slide img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-slider-section .slick-prev {
  left: 12px !important;
  z-index: 2;
}
.hero-slider-section .slick-next {
  right: 12px !important;
  z-index: 2;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 8px;
}
.industry-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #ffffff;
  text-decoration: none;
  color: #222222;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.industry-grid__item:hover,
.industry-grid__item:focus {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: #595757;
}
.industry-grid__item img {
  width: 100%;
  max-width: 130px;
  height: auto;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 20px 0 28px;
}
.featured-card {
  border: 1px solid #dddddd;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.11);
}
.featured-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none !important;
}
.featured-card__media {
  width: 100%;
  height: 200px;
  background-color: #f8f9fa;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured-card__media--logo {
  height: 240px;
  padding: 16px;
  background-color: #ffffff;
}
.featured-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-card__media--logo img {
  object-fit: contain;
}
.featured-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  justify-content: space-between;
  text-align: center;
}
.featured-card__title {
  font-size: 1.12rem !important;
  font-weight: 700;
  color: #222222;
  margin: 0 0 12px !important;
  line-height: 1.4;
}
.featured-card__meta {
  padding-top: 12px;
  border-top: 1px solid #eeeeee;
  font-size: 15px;
  color: #555555;
  line-height: 1.6;
}
.featured-card__price {
  color: #595757;
  font-weight: 700;
}

.cta-pill-btn {
  display: inline-block;
  background-color: #595757;
  color: #ffffff;
  border-radius: 28px;
  padding: 10px 34px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.cta-pill-btn:hover,
.cta-pill-btn:focus {
  background-color: #424040;
  color: #ffffff;
  text-decoration: none;
}

/* Bootstrap 3-style badge compatibility used in listing features */
.label {
  display: inline-block;
  padding: 2px 7px;
  margin: 1px 2px 2px 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: #ffffff;
  border-radius: 4px;
}
.label-default { background-color: #6c757d; }
.label-primary { background-color: #2b6cb0; }
.label-success { background-color: #2f9e44; }
.label-info    { background-color: #0c8599; }
.label-warning { background-color: #e67700; }
.label-danger  { background-color: #c92a2a; }

/* Listing Pagination */
.listing-pagination {
  margin: 24px 0 12px;
  text-align: center;
}
.listing-pagination .page-link {
  color: #595757;
}
.listing-pagination .page-item.active .page-link {
  background-color: #595757;
  border-color: #595757;
  color: #ffffff;
}
.pagination-summary {
  margin-top: 8px;
  font-size: 14px;
  color: #666666;
}

/* Detail action buttons */
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 24px 0 32px;
}
.detail-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  border: none;
}
.detail-action-btn--wa {
  background-color: #25D366;
  color: #ffffff !important;
}
.detail-action-btn--enq {
  background-color: #FF8C00;
  color: #ffffff !important;
}
.detail-action-btn--contact {
  background-color: #595757;
  color: #ffffff !important;
}
.detail-action-btn--back {
  background-color: #6c757d;
  color: #ffffff !important;
}

/* Related / Featured Cards Grid */
.listing-card {
  height: 100%;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.listing-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
}
.listing-card__code {
  font-size: 13px;
  color: #777777;
  margin-bottom: 4px;
}
.listing-card__title {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.4;
}
.listing-card__title a {
  color: #1f1f1f;
  text-decoration: none;
}
.listing-card__title a:hover {
  color: #595757;
}
.listing-card__meta {
  font-size: 14px;
  color: #444444;
  margin-bottom: 12px;
}
.listing-card__price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #595757;
}

/* ==========================================================================
   Search Panel (#search-list)
   ========================================================================== */
.search-panel-section {
  max-width: 960px;
  margin: 24px auto 32px;
  padding: 22px 24px;
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  text-align: left;
}
#search-list {
  width: 100%;
  margin: 0 auto;
}
#search-list label {
  font-weight: 600;
  font-size: 15px;
  color: #333333;
  margin-bottom: 6px;
}
#search-list .form-control {
  height: calc(2.4rem + 2px);
  font-size: 15px;
}
#advanced-search-toggle {
  display: none;
  margin: 4px auto 14px;
  border: 1px solid #595757;
  border-radius: 22px;
  background: #ffffff;
  color: #595757;
  padding: 7px 18px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.search-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}
.search-btn,
.reset-btn {
  border-radius: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  padding: 9px 30px;
  min-width: 150px;
  border: none;
  text-decoration: none;
}
.search-btn {
  background-color: #2f9e44;
}
.search-btn:hover {
  background-color: #2b8a3e;
}
.reset-btn {
  background-color: #e67700;
}
.reset-btn:hover {
  background-color: #d9480f;
}

/* ==========================================================================
   Site Footer & Floating Contact Actions
   ========================================================================== */
.site-footer {
  background: #373737;
  color: #e5e5e5;
  margin-top: auto;
  padding: 40px 0 24px;
  width: 100%;
  font-size: 15px;
}
.site-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px 16px;
  text-align: left;
}
.site-footer__col-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer__list li {
  margin-bottom: 8px;
}
.site-footer__list a,
.generic-anchor {
  color: #9ec5fe;
  text-decoration: none;
  font-size: 15px;
}
.site-footer__list a:hover,
.generic-anchor:hover {
  color: #ffffff;
  text-decoration: underline;
}

.site-footer__contact {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px 24px;
  text-align: left;
}
.footer-address-block {
  font-style: normal;
  color: #dddddd;
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0;
}
.footer-address-block a {
  color: #9ec5fe;
  text-decoration: none;
}
.footer-address-block a:hover {
  text-decoration: underline;
}
.site-footer__copyright {
  color: #cccccc;
  font-size: 14px;
  margin: 0;
  align-self: flex-end;
}

/* Floating WhatsApp & WeChat buttons */
#whatsapp {
  position: fixed;
  width: 64px;
  right: 16px;
  bottom: 16px;
  z-index: 1040;
}
#whatsapp img {
  width: 60px;
  height: auto;
}
.wechat-float {
  position: fixed;
  bottom: 84px;
  right: 20px;
  width: 52px;
  height: 52px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 1041;
  transition: transform 0.2s ease;
}
.wechat-float:hover {
  transform: scale(1.08);
}
.wechat-float img {
  width: 48px;
  height: auto;
}
.qr-modal {
  display: none;
  position: fixed;
  bottom: 144px;
  right: 20px;
  width: 250px;
  background: #ffffff;
  padding: 14px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  text-align: center;
  z-index: 1042;
}
.qr-modal.is-open {
  display: block;
}
.qr-modal p {
  margin: 8px 0 0;
  font-size: 14px;
  color: #333333;
}

/* Press / News / Franchise Lists */
.news-card-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.news-card {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  background: #ffffff;
  align-items: start;
}
.news-card--no-thumb {
  grid-template-columns: minmax(0, 1fr);
}
.news-card__thumb img {
  width: 100%;
  height: 135px;
  object-fit: contain;
  background: #fafafa;
  border-radius: 4px;
}
.news-card__title {
  margin: 0 0 6px !important;
  font-size: 1.2rem !important;
}
.news-card__title a {
  color: #1a1a1a;
  text-decoration: none;
}
.news-card__title a:hover {
  color: #595757;
}
.news-card__date {
  font-size: 13.5px;
  color: #666666;
  margin-bottom: 8px;
}
.news-card__excerpt {
  font-size: 15.5px;
  color: #444444;
  margin: 0;
}

/* Franchise filter pills, 4-col grid & responsive 16:9 video */
.franchise-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 26px;
}
.franchise-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  padding: 8px 18px;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 22px;
  color: #333333;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.franchise-filter-btn:hover,
.franchise-filter-btn:focus {
  border-color: #595757;
  color: #595757;
}
.franchise-filter-btn.active {
  background-color: #595757;
  border-color: #595757;
  color: #ffffff !important;
}
.franchise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 20px 0 32px;
}
@media only screen and (max-width: 991px) and (min-width: 576px) {
  .franchise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.franchise-card__excerpt {
  font-size: 14.5px;
  color: #555555;
  line-height: 1.55;
  text-align: left;
  margin-top: 10px;
}
.video-embed-wrap {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 20px auto 28px;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #000000;
}
.video-embed-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.article-header-meta {
  font-size: 14px;
  color: #666666;
  margin: -6px 0 20px;
}
.article-hero-thumb {
  margin: 0 0 24px;
  text-align: center;
}
.article-hero-thumb img {
  max-height: 360px;
  width: auto;
  border-radius: 8px;
}

/* ==========================================================================
   Mobile Layout (Unified Breakpoint: max-width: 575px)
   ========================================================================== */
@media only screen and (max-width: 575px) {
  body {
    padding-top: 64px !important;
    padding-bottom: 0 !important;
  }

  .site-top-bar,
  .site-brand-wrap {
    display: none !important;
  }

  .top-bar-promo-link-mobile {
    display: block;
    margin: 8px 12px 0;
    padding: 8px 12px;
    border: 1px solid #2A2A2C;
    border-radius: 4px;
    background: #2A2A2C;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
  }
  .top-bar-promo-link-mobile:hover,
  .top-bar-promo-link-mobile:focus {
    color: #ffffff;
    text-decoration: underline;
  }

  /* Fixed 64px mobile navbar with separate header wrapper so title never overlaps open menu */
  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #343a40;
    z-index: 1030;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  .mobile-navbar-header {
    position: relative;
    width: 100%;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
  }
  .mobile-navbar-toggler {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    padding: 6px 10px;
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
  }
  .mobile-navbar-brand {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
  }
  .mobile-navbar-brand:hover,
  .mobile-navbar-brand:focus {
    color: #ffffff;
    text-decoration: none;
  }

  .site-nav__collapse {
    background-color: #2b3035;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .site-nav__list {
    list-style: none;
    margin: 0;
    padding: 8px 0 16px;
    text-align: left;
  }
  .site-nav__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .site-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    color: #f8f9fa;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
  }
  .site-nav__link:hover,
  .site-nav__link:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
  }
  .site-nav__submenu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 4px 0 8px;
    background: #212529;
  }
  .site-nav__item.is-open > .site-nav__submenu {
    display: block;
  }
  .site-nav__submenu a {
    display: block;
    padding: 9px 18px 9px 32px;
    color: #ced4da;
    font-size: 15px;
    text-decoration: none;
  }
  .site-nav__submenu a:hover,
  .site-nav__submenu a:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
  }

  /* Consistent 12px horizontal page spacing (Playbook §3.2) */
  .page-body,
  #main-container-centered {
    width: 100% !important;
    max-width: 100%;
    margin: 14px auto 28px;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Fallback for any remaining legacy .main-table */
  .main-table {
    width: 100% !important;
    max-width: 100%;
  }
  .main-table > tbody > tr > td,
  .main-table > tr > td {
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box;
  }

  /* Mobile typography targets (Playbook §3.3) */
  .page-title,
  .page-article > h1,
  h1 {
    font-size: 1.5rem !important;
    margin-top: 8px !important;
    margin-bottom: 12px !important;
    line-height: 1.35;
  }
  .page-article,
  .cms-content,
  .fr-view,
  .page-article .style2,
  .cms-content .style2 {
    font-size: 16px !important;
    line-height: 1.65 !important;
  }
  .aeo-summary {
    font-size: 15.5px;
    padding: 12px 14px;
    margin-bottom: 18px;
  }
  .flow-steps > li {
    padding: 14px 14px 14px 52px;
  }
  .flow-steps > li::before {
    left: 12px;
    top: 14px;
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  /* Business Listings -> Mobile Card Layout (Playbook §4.4 / §5) */
  .business-list thead,
  .business-list > tbody > tr.table-header-row {
    display: none;
  }
  .business-list,
  .business-list caption,
  .business-list tbody {
    display: block;
    width: 100%;
  }
  .business-list > tbody > tr {
    display: block;
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid #dddddd;
    border-radius: 10px;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }
  .business-list > tbody > tr > td {
    display: grid !important;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 8px;
    height: auto !important;
    padding: 6px 0 !important;
    border: none;
    border-bottom: 1px dashed #eeeeee;
    text-align: left !important;
    font-size: 15px;
  }
  .business-list > tbody > tr > td:last-child {
    border-bottom: none;
  }
  .business-list > tbody > tr > td::before {
    content: attr(data-label);
    color: #666666;
    font-weight: 600;
  }
  .business-list > tbody > tr > td[data-label="特色"]:empty,
  .business-list > tbody > tr > td.is-empty-feature {
    display: none !important;
  }

  /* Business Detail <dl> stacked on mobile */
  .business-spec-card {
    padding: 14px;
  }
  .business-spec-list {
    grid-template-columns: 108px minmax(0, 1fr);
  }
  .business-spec-list dt,
  .business-spec-list dd {
    padding: 9px 8px;
    font-size: 15px;
  }

  /* Search panel mobile */
  .search-panel-section {
    margin: 14px 0 22px;
    padding: 16px 14px;
    border-radius: 8px;
  }
  #advanced-search-toggle {
    display: inline-block;
  }
  #advanced-search {
    display: none;
  }
  #advanced-search.advanced-search-open {
    display: block;
  }
  #search-list input,
  #search-list select,
  #search-list .multi-select-button {
    width: 100%;
    min-height: 42px;
    font-size: 16px !important;
  }
  .search-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .search-btn,
  .reset-btn {
    width: 100%;
    min-width: 0;
    padding: 10px 0;
    font-size: 16px;
  }

  /* News cards stacked on mobile */
  .industry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .featured-grid,
  .franchise-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .franchise-filter-bar {
    gap: 8px;
    margin: 14px 0 20px;
  }
  .franchise-filter-btn {
    min-width: calc(25% - 6px);
    padding: 7px 10px;
    font-size: 14px;
  }
  .section-banner {
    padding: 10px 14px;
    margin: 20px 0 14px;
  }
  .section-banner h2 {
    font-size: 1.12rem;
  }
  .detail-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .detail-action-btn {
    width: 100%;
  }
  .news-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }
  .news-card__thumb img {
    height: auto;
    max-height: 180px;
  }

  /* Footer 2-column grid on mobile */
  .site-footer {
    padding: 28px 0 24px;
  }
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
  }
  #whatsapp {
    right: 10px;
    bottom: 12px;
    width: 54px;
  }
  #whatsapp img {
    width: 50px;
  }
  .wechat-float {
    right: 14px;
    bottom: 72px;
    width: 46px;
    height: 46px;
  }
  .wechat-float img {
    width: 42px;
  }
  .qr-modal {
    right: 12px;
    bottom: 124px;
    width: calc(100% - 24px);
    max-width: 250px;
  }
}

/* FranchiseKing footer mission summary */
.site-footer__mission {
  max-width: 960px;
  margin: 0 auto 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.92rem;
  line-height: 1.7;
  color: #dcdcdc;
  text-align: left;
}
.site-footer__mission p {
  margin: 0 0 8px;
}
.site-footer__mission p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   FranchiseKing Brand Banner Strip, Carousels & Accent Overrides
   ========================================================================== */
.fk-brand-strip {
  max-width: 1312px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 43.3% 56.7%;
  background: #ffffff;
}
.fk-brand-strip__logo {
  display: block;
}
.fk-brand-strip__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fk-brand-strip__right {
  display: flex;
  flex-direction: column;
}
.fk-brand-strip__tagline img {
  display: block;
  width: 100%;
  height: auto;
}
.fk-brand-strip__ctas {
  display: grid;
  grid-template-columns: 29.3% 34.5% 36.2%;
}
.fk-brand-strip__ctas a {
  display: block;
  transition: opacity 0.15s ease;
}
.fk-brand-strip__ctas a:hover,
.fk-brand-strip__ctas a:focus {
  opacity: 0.9;
}
.fk-brand-strip__ctas img {
  display: block;
  width: 100%;
  height: auto;
}

.fk-section-band {
  width: 100%;
  padding: 28px 0 36px;
}
.fk-section-band--alt {
  background-color: #f6f6f6;
}
.fk-section-band__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}
.fk-section-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: #d97706;
  margin: 0 0 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0e4d0;
}
.fk-carousel-wrap {
  position: relative;
  overflow: hidden;
  padding: 4px 0 32px;
}
.fk-carousel-wrap .slick-prev {
  left: 6px;
  z-index: 10;
}
.fk-carousel-wrap .slick-next {
  right: 6px;
  z-index: 10;
}
.fk-carousel-wrap .slick-prev:before,
.fk-carousel-wrap .slick-next:before {
  color: #444444;
  font-size: 26px;
  opacity: 0.85;
}
.fk-carousel-wrap .slick-dots {
  bottom: 0;
}
.fk-carousel-card {
  display: block;
  margin: 0 8px;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  color: #333333;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.fk-carousel-card:hover,
.fk-carousel-card:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  color: #222222;
  text-decoration: none;
}
.fk-carousel-card__img {
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  overflow: hidden;
}
.fk-carousel-card__img img {
  max-height: 168px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.fk-carousel-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #222222;
  margin: 0 0 6px;
  line-height: 1.35;
}
.fk-carousel-card__meta {
  font-size: 0.9rem;
  color: #555555;
  margin: 0;
  line-height: 1.5;
}

.cta-pill-btn {
  background-color: #d97706;
  border-color: #b45309;
  color: #ffffff;
}
.cta-pill-btn:hover,
.cta-pill-btn:focus {
  background-color: #b45309;
  color: #ffffff;
}

.fk-trust-strip {
  width: 100%;
  background: #f4f4f4;
  border-top: 1px solid #e5e5e5;
  padding: 20px 16px;
  text-align: center;
}
.fk-trust-strip__inner {
  max-width: 1280px;
  margin: 0 auto;
}
.fk-trust-strip img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

#back-to-top {
  bottom: 96px !important;
  right: 16px !important;
}

@media only screen and (max-width: 575px) {
  .fk-brand-strip {
    display: none;
  }
  .fk-section-heading {
    font-size: 1.35rem;
    text-align: center;
  }
  #back-to-top {
    bottom: 100px !important;
    right: 16px !important;
  }
}
