.service-template-page {
  min-height: 60vh;
  background: #f8f9fc;
  color: #0f172a;
}

.service-template-page,
.service-template-page * {
  box-sizing: border-box;
}

.service-wrapper {
  width: min(1200px, calc(100% - 80px));
  margin-right: auto;
  margin-left: auto;
}

.service-home-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 492px;
  padding: 150px 24px 96px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(27, 38, 16, .9), rgba(85, 73, 8, .84)),
    url("/template/cms/assets/original-media/about-img-ec76fd4a7e.webp") center / cover no-repeat;
}

.service-home-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 80% 22%, rgba(255, 255, 255, .14), transparent 32%);
  pointer-events: none;
}

.service-home-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.service-home-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
}

.service-home-hero p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  line-height: 1.8;
}

.service-main {
  padding-bottom: 58px;
}

.service-list-main,
.service-detail-main {
  padding-top: 122px;
}

.service-crumb-bar {
  position: relative;
  z-index: 4;
  padding: 22px 0;
  background: #fff;
  border-bottom: 1px solid #eff5ff;
}

.service-crumb {
  display: flex;
  gap: 6px;
  align-items: center;
  min-height: 22px;
  overflow-x: auto;
  color: #62748e;
  font-size: 13px;
  white-space: nowrap;
  scrollbar-width: none;
}

.service-crumb::-webkit-scrollbar {
  display: none;
}

.service-crumb a,
.service-crumb span {
  color: inherit;
  text-decoration: none;
}

.service-crumb a:hover,
.service-crumb span[aria-current="page"] {
  color: #008efb;
}

.service-shell {
  padding-top: 22px;
}

.service-filter-panel,
.service-title-panel,
.service-pagination,
.service-empty,
.service-detail-card,
.service-related-head,
.service-feature-section {
  border: 1px solid #eff5ff;
  border-radius: 6px;
  background: #fff;
}

.service-filter-panel {
  margin-bottom: 20px;
  padding: 20px;
}

.service-filter-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #eff5ff;
}

.service-filter-row:first-child {
  padding-top: 0;
}

.service-filter-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.service-filter-title {
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
}

.service-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  min-width: 0;
}

.service-filter-options a,
.service-filter-options span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  color: #506785;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.service-filter-options a:hover,
.service-filter-options .is-active {
  color: #008efb;
  border-color: #008efb;
  background: #fff;
}

.service-result-row {
  align-items: center;
}

.service-result-meta {
  color: #506785;
  font-size: 13px;
}

.service-result-options {
  row-gap: 10px;
}

.service-active-filters {
  display: inline-flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-width: 160px;
}

.service-active-filters a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  color: #008efb;
  border: 1px solid rgba(0, 142, 251, .28);
  border-radius: 4px;
  background: rgba(0, 142, 251, .07);
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
}

.service-active-filters a:hover {
  border-color: #008efb;
  background: #fff;
}

.service-active-filters em {
  color: #8ca0b3;
  font-style: normal;
  line-height: 1;
}

.service-active-filters .service-reset-filter {
  color: #8ca0b3;
  border-color: #eff5ff;
  background: #fff;
}

.service-search-form {
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
}

.service-search-box {
  position: relative;
  width: min(240px, 100%);
}

.service-search-box input {
  width: 100%;
  height: 36px;
  padding: 0 38px 0 12px;
  color: #506785;
  border: 1px solid #008efb;
  border-radius: 3px;
  background: #fff;
  font-size: 12px;
  outline: none;
}

.service-search-box button {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: #9aa7b9;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.service-title-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  margin-bottom: 20px;
  padding: 0 20px;
}

.service-title-panel h1 {
  margin: 0;
  color: #0f172a;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
}

.service-title-panel span {
  color: #8ca0b3;
  font-size: 13px;
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

[data-service-region].service-region-loading {
  opacity: .45;
  pointer-events: none;
}

.service-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #eff5ff;
  border-radius: 6px;
  background: #fff;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.service-card:hover {
  border-color: rgba(0, 142, 251, .5);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
  transform: translateY(-2px);
}

.service-card-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  background: #eff5ff;
  aspect-ratio: 16 / 9;
}

.service-card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}

.service-card:hover .service-card-thumb img {
  transform: scale(1.08);
}

.service-card-body {
  display: flex;
  flex-direction: column;
  min-height: 148px;
  padding: 16px 12px 14px;
}

.service-card h2,
.service-card h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.service-card h2 a,
.service-card h3 a {
  display: -webkit-box;
  overflow: hidden;
  color: #0f172a;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  transition: color .2s ease;
}

.service-card h2 a:hover,
.service-card h3 a:hover {
  color: #008efb;
}

.service-card-subtitle {
  display: -webkit-box;
  min-height: 20px;
  margin: 8px 0 0;
  overflow: hidden;
  color: #8ca0b3;
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.service-card-desc {
  display: -webkit-box;
  margin: 12px 0 0;
  overflow: hidden;
  color: #506785;
  font-size: 14px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.service-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  color: #9aa7b9;
  font-size: 12px;
  line-height: 1.4;
}

.service-card-meta span,
.service-card-meta a {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.service-card-meta-spacer {
  flex: 1 1 auto;
}

.service-empty {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  padding: 48px 24px;
  color: #8ca0b3;
  text-align: center;
}

.service-empty strong {
  color: #0f172a;
  font-size: 16px;
}

.service-pagination {
  display: flex;
  justify-content: center;
  margin-top: 18px;
  padding: 16px;
}

.service-pagination .pagination,
.service-pagination ul,
.service-pagination .cms-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-pagination a,
.service-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 9px;
  color: #62748e;
  border: 1px solid #eff5ff;
  border-radius: 3px;
  background: #fff;
  font-size: 13px;
  text-decoration: none;
}

.service-pagination a:hover,
.service-pagination .active a,
.service-pagination .active span,
.service-pagination span.current {
  color: #008efb;
  border-color: #008efb;
}

.service-detail-card {
  padding: 20px;
}

.service-detail-head {
  padding-bottom: 20px;
  border-bottom: 1px solid #eff5ff;
}

.service-detail-head h1 {
  margin: 0;
  color: #0f172a;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0;
}

.service-detail-summary {
  margin: 8px 0 0;
  color: #506785;
  font-size: 13px;
  line-height: 1.7;
}

.service-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 12px;
  align-items: center;
  margin-top: 18px;
  color: #8ca0b3;
  font-size: 13px;
}

.service-detail-meta a,
.service-detail-meta span {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.service-detail-meta a:hover {
  color: #008efb;
}

.service-detail-meta .service-detail-spacer {
  flex: 1 1 auto;
}

.service-content {
  padding-top: 24px;
  color: #506785;
  font-size: 15px;
  line-height: 2.05;
}

.service-cover {
  margin: 24px 0 0;
}

.service-cover img {
  display: block;
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.service-content p {
  margin: 0 0 20px;
}

.service-content h2,
.service-content h3,
.service-content h4 {
  margin: 26px 0 12px;
  color: #0f172a;
  line-height: 1.5;
}

.service-content img,
.service-content video,
.service-content iframe {
  max-width: 100%;
  border-radius: 0;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eff5ff;
}

.service-tags h3 {
  margin: 0;
  color: #0f172a;
  font-size: 13px;
}

.service-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  color: #506785;
  border: 1px solid #eff5ff;
  border-radius: 4px;
  background: #f8f9fc;
  font-size: 13px;
  text-decoration: none;
}

.service-tags a:hover {
  color: #008efb;
  border-color: #008efb;
  background: #fff;
}

.service-copyright {
  margin-top: 18px;
  padding: 18px 20px;
  color: #506785;
  border-radius: 6px;
  background: #f8f9fc;
  font-size: 13px;
  line-height: 1.8;
}

.service-author-card {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #eff5ff;
  border-radius: 6px;
  background: #fff;
}

.service-author-card img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.service-author-card strong {
  display: block;
  color: #0f172a;
  font-size: 16px;
}

.service-author-card span {
  display: block;
  margin-top: 6px;
  color: #8ca0b3;
  font-size: 13px;
}

.service-prev-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.service-prev-next a,
.service-prev-next span {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 16px;
  color: #506785;
  border: 1px solid #eff5ff;
  border-radius: 6px;
  background: #fff;
  text-decoration: none;
}

.service-prev-next em {
  color: #8ca0b3;
  font-size: 12px;
  font-style: normal;
}

.service-prev-next strong {
  overflow: hidden;
  color: #0f172a;
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.service-prev-next a:hover strong {
  color: #008efb;
}

.service-related,
.service-feature-section {
  margin-top: 22px;
}

.service-related-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 15px 18px;
}

.service-related-head h2,
.service-feature-title h2 {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
}

.service-related-head span,
.service-feature-title span {
  color: #8ca0b3;
  font-size: 13px;
}

.service-feature-section {
  padding: 20px;
}

.service-feature-title {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 18px;
}

.service-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-width: 0;
  padding: 18px;
  color: inherit;
  border: 1px solid #eff5ff;
  border-radius: 6px;
  background: #fff;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.service-feature-item:hover {
  border-color: rgba(0, 142, 251, .45);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
  transform: translateY(-2px);
}

.service-feature-item img {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.service-feature-item h3 {
  margin: 0;
  color: #0f172a;
  font-size: 16px;
  line-height: 1.4;
}

.service-feature-item p {
  display: -webkit-box;
  margin: 8px 0 0;
  overflow: hidden;
  color: #62748e;
  font-size: 13px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body:has(.service-category-page),
body:has(.service-detail-page) {
  background: #f8f9fc;
}

@media (max-width: 1100px) {
  .service-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .service-list-main,
  .service-detail-main {
    padding-top: 82px;
  }

  .service-home-hero {
    min-height: 390px;
    padding-top: 120px;
  }

  .service-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .service-wrapper {
    width: calc(100% - 24px);
  }

  .service-main {
    padding-bottom: 36px;
  }

  .service-home-hero {
    min-height: 330px;
    padding: 110px 20px 70px;
  }

  .service-home-hero h1 {
    font-size: 26px;
  }

  .service-crumb-bar {
    padding: 15px 0;
  }

  .service-shell {
    padding-top: 16px;
  }

  .service-filter-panel,
  .service-detail-card,
  .service-feature-section {
    padding: 16px;
  }

  .service-filter-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-result-row .service-filter-options {
    align-items: stretch;
    flex-direction: column;
  }

  .service-search-form,
  .service-search-box {
    width: 100%;
  }

  .service-title-panel {
    min-height: 64px;
    padding: 0 16px;
  }

  .service-card-grid,
  .service-feature-grid,
  .service-prev-next {
    grid-template-columns: 1fr;
  }

  .service-card-body {
    min-height: 134px;
  }

  .service-detail-head h1 {
    font-size: 22px;
  }

  .service-detail-meta .service-detail-spacer {
    display: none;
  }
}

@media (max-width: 420px) {
  .service-card-grid {
    gap: 12px;
  }

  .service-feature-title,
  .service-related-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}
