@charset "UTF-8";

/*
 * smallpellet internal-page system
 *
 * Loaded after the original content.css so legacy pages keep their data and
 * template behavior while the public visual language follows the home page.
 */

/* Shared page frame, banner, heading and breadcrumb */
body:not(.sp-home-page) {
  background: #eef3f7;
}

#art-ban {
  position: relative;
  height: 230px;
  overflow: hidden;
  background-position: center center !important;
  background-size: cover !important;
}

#art-ban::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(6, 35, 57, 0.7) 0%, rgba(6, 35, 57, 0.32) 48%, rgba(6, 35, 57, 0.5) 100%),
    linear-gradient(180deg, rgba(6, 35, 57, 0.08) 46%, rgba(6, 35, 57, 0.52) 100%);
  pointer-events: none;
}

#main {
  position: relative;
  z-index: 2;
  padding: 0 0 74px;
  background: #eef3f7;
}

#main > .container-fluid {
  position: relative;
}

#main .content {
  margin-top: -54px;
  margin-bottom: 30px;
  overflow: visible;
  border: 1px solid #dbe5ed;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(21, 48, 68, 0.09);
}

#main .content .title-h1.sp-page-heading {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 16px 24px 16px 27px;
  overflow: hidden;
  border-bottom: 1px solid #e2eaf0;
  border-radius: 4px 4px 0 0;
  background: #fff;
  color: var(--sp-theme-dark);
}

#main .content .title-h1.sp-page-heading::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--sp-theme-primary), #2b84c2 68%, var(--sp-brand-red));
}

.sp-page-heading-main {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  padding-left: 17px;
}

.sp-page-heading-mark {
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 30px;
  border-radius: 3px;
  background: var(--sp-brand-red);
  transform: translateY(-50%);
}

#main .content .title-h1.sp-page-heading h1.sp-page-title {
  float: none;
  margin: 0;
  padding: 0;
  color: #162d3e;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-transform: none;
  overflow-wrap: anywhere;
}

#main .sp-breadcrumb {
  display: flex;
  float: none;
  flex: 0 1 auto;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  margin-left: auto;
  padding-left: 32px;
  color: #7a8c99;
  font-size: 13px;
  line-height: 1.55;
}

#main .sp-breadcrumb a {
  display: inline-flex;
  align-items: center;
  color: var(--sp-theme-primary);
  font-weight: 600;
  text-decoration: none;
}

#main .sp-breadcrumb a:hover {
  color: var(--sp-brand-red);
}

#main .sp-breadcrumb i {
  padding-right: 0;
}

#main .sp-breadcrumb-home .fa {
  margin-right: 7px;
}

#main .sp-breadcrumb-separator {
  flex: 0 0 auto;
  margin: 0 10px;
  color: #afbdc7;
}

.sp-breadcrumb-current {
  min-width: 0;
  max-width: 320px;
  overflow: hidden;
  color: #536977;
  text-overflow: ellipsis;
  text-align: right;
  white-space: nowrap;
}

/* About page */
#main .content .product.sp-about-page {
  padding: clamp(28px, 4.2vw, 64px);
  border-bottom: 0;
}

.sp-about-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
}

.sp-about-copy:only-child {
  grid-column: 1 / -1;
  max-width: 980px;
  margin: 0 auto;
}

.sp-about-media {
  position: relative;
  margin: 0;
  padding: 0 0 24px 24px;
}

.sp-about-media::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 72%;
  height: 72%;
  border-radius: 3px;
  content: "";
  background: var(--sp-theme-primary);
}

.sp-about-media::after {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 76px;
  height: 76px;
  border-top: 3px solid var(--sp-brand-red);
  border-right: 3px solid var(--sp-brand-red);
  content: "";
}

.sp-about-media-frame {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid #dbe5ed;
  border-radius: 3px;
  background: #f6f9fb;
  box-shadow: 0 14px 34px rgba(17, 53, 79, 0.14);
}

#main .sp-about-media .sp-detail-cover {
  display: block;
  width: 100%;
  height: auto;
  max-height: 430px;
  margin: 0;
  object-fit: contain;
}

.sp-about-copy {
  position: relative;
  color: #50636f;
  font-size: 15px;
  line-height: 1.95;
}

.sp-about-copy::before {
  display: block;
  width: 58px;
  height: 4px;
  margin-bottom: 24px;
  border-radius: 3px;
  content: "";
  background: linear-gradient(90deg, var(--sp-brand-red) 0 18px, var(--sp-theme-primary) 18px 100%);
}

.sp-about-copy p {
  margin: 0 0 17px;
}

#main .content .sp-about-copy h2,
#main .content .sp-about-copy h3,
#main .content .sp-about-copy h4 {
  position: relative;
  margin: 28px 0 14px;
  padding: 0;
  background: none;
  color: #183346;
  font-family: inherit;
  font-weight: 700;
  line-height: 1.4;
  text-transform: none;
}

#main .content .sp-about-copy h2 {
  font-size: 24px;
}

#main .content .sp-about-copy h3 {
  font-size: 20px;
}

#main .content .sp-about-copy h3::before {
  display: none;
}

.sp-about-copy ul,
.sp-about-copy ol {
  margin: 18px 0;
  padding-left: 0;
}

.sp-about-copy li {
  position: relative;
  margin: 8px 0;
  padding: 0 0 0 23px !important;
}

.sp-about-copy li::before {
  top: 9px;
  left: 2px;
  width: 7px;
  height: 7px;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 50%;
  content: "" !important;
  background: var(--sp-theme-primary);
}

.sp-about-metrics {
  margin: 0 clamp(20px, 3vw, 46px) clamp(48px, 5vw, 72px);
  overflow: hidden;
  border-radius: 0;
  background: var(--sp-theme-dark);
  box-shadow: 0 16px 36px rgba(25, 42, 56, 0.12);
}

.sp-about-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.sp-about-metric {
  position: relative;
  min-width: 0;
  min-height: 174px;
  padding: 34px clamp(24px, 3vw, 42px) 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.sp-about-metric:first-child {
  border-left: 0;
}

.sp-about-metric::before {
  position: absolute;
  top: 31px;
  left: clamp(24px, 3vw, 42px);
  width: 32px;
  height: 3px;
  content: "";
  background: var(--sp-theme-accent);
}

.sp-about-metric-label {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.sp-about-metric-value {
  display: block;
  margin-top: 18px;
  color: #fff;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: clamp(30px, 2.5vw, 38px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.sp-about-metric-note,
.sp-about-metric-note p {
  margin: 5px 0 0;
  color: rgba(220, 234, 243, 0.72);
  font-size: 12px;
  line-height: 1.55;
}

.sp-about-services,
.sp-about-testimonials {
  padding: clamp(46px, 5vw, 68px) clamp(28px, 6vw, 86px);
  border-top: 1px solid #e4eaf0;
}

.sp-about-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(28px, 3vw, 38px);
}

#main .content .sp-about-section-head h2 {
  position: relative;
  margin: 0;
  padding: 0 0 17px;
  color: var(--sp-theme-dark);
  background: transparent;
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
}

#main .content .sp-about-section-head h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 58px;
  height: 3px;
  content: "";
  background: var(--sp-theme-accent);
}

.sp-about-section-head p {
  max-width: 650px;
  margin: 16px 0 0;
  color: #6f7e8a;
  font-size: 14px;
  line-height: 1.75;
}

.sp-about-services-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.82fr);
  align-items: center;
  gap: clamp(38px, 4.5vw, 62px);
}

.sp-about-service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 3.5vw, 46px);
}

.sp-about-service-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  min-height: 126px;
  padding: 21px 0 18px;
  border-top: 1px solid #dce3e9;
}

.sp-about-service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--sp-theme-border);
  border-radius: 0;
  background: #fff;
  color: var(--sp-theme-primary);
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

#main .content .sp-about-service-item h3 {
  margin: 0 0 7px;
  padding: 0;
  color: var(--sp-theme-dark);
  background: transparent;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: none;
}

#main .content .sp-about-service-item h3::before {
  display: none;
  content: none;
}

.sp-about-service-item p {
  margin: 0;
  color: #6f7e8a;
  font-size: 13px;
  line-height: 1.7;
}

.sp-about-services-media {
  position: relative;
  height: 310px;
  margin: 0 0 28px;
  overflow: visible;
  border-radius: 0;
  background: #e8edf1;
  box-shadow: none;
}

.sp-about-services-media::after {
  position: absolute;
  right: -12px;
  bottom: -12px;
  z-index: 0;
  width: 74%;
  height: 72%;
  border: 1px solid #d8e1e8;
  content: "";
}

.sp-about-services-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 310px;
  min-height: 0;
  object-fit: cover;
}

.sp-about-service-highlight {
  position: absolute;
  bottom: -28px;
  left: -30px;
  z-index: 2;
  display: flex;
  align-items: center;
  width: min(285px, calc(100% - 20px));
  min-height: 84px;
  padding: 18px 22px;
  background: linear-gradient(90deg, var(--sp-theme-strong), var(--sp-theme-primary));
  box-shadow: 0 14px 30px rgba(6, 58, 104, 0.22);
}

.sp-about-service-highlight strong,
.sp-about-service-highlight span {
  display: block;
}

.sp-about-service-highlight strong {
  flex: 0 0 auto;
  padding-right: 17px;
  color: #fff;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 28px;
  line-height: 1;
  white-space: nowrap;
}

.sp-about-service-highlight span {
  padding-left: 17px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  line-height: 1.55;
}

.sp-about-testimonials {
  background: #f2f5f7;
}

.sp-about-testimonials-head {
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
}

.sp-about-testimonial-controls {
  display: flex;
  align-items: center;
  gap: 18px;
}

.sp-about-testimonial-counter {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-width: 62px;
  color: #8a98a3;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.sp-about-testimonial-counter b {
  color: var(--sp-theme-dark);
  font-size: 18px;
}

.sp-about-testimonial-counter i {
  color: #b3bdc5;
  font-style: normal;
}

.sp-about-testimonial-nav {
  display: flex;
  gap: 8px;
}

.sp-about-testimonial-nav button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin: 0;
  padding: 0;
  border: 1px solid #c9d5de;
  background: transparent;
  color: var(--sp-theme-primary);
  font-size: 13px;
  line-height: 1;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.sp-about-testimonial-nav button:hover,
.sp-about-testimonial-nav button:focus {
  border-color: var(--sp-theme-primary);
  background: var(--sp-theme-primary);
  color: #fff;
  outline: none;
}

.sp-about-testimonial-controls.is-static .sp-about-testimonial-nav {
  display: none;
}

.sp-about-testimonial-slider {
  margin: 0;
  padding: 2px 0 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.sp-about-testimonial-slider::-webkit-scrollbar {
  display: none;
}

#main .content .sp-about-testimonial-track {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0 !important;
  list-style: none;
}

#main .content .sp-about-testimonial-track > li {
  display: block;
  flex: 0 0 calc((100% - 48px) / 3);
  margin: 0;
  padding: 0 !important;
  scroll-snap-align: start;
}

#main .content .sp-about-testimonial-track > li::before {
  display: none;
  content: none;
}

.sp-about-testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid #dce3e9;
  border-radius: 0;
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.sp-about-testimonial-card::before {
  position: absolute;
  top: 18px;
  right: 22px;
  content: "\201C";
  color: rgba(236, 68, 80, 0.18);
  font-family: Georgia, serif;
  font-size: 58px;
  line-height: 1;
}

.sp-about-testimonial-card::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 3px;
  content: "";
  background: var(--sp-theme-primary);
}

.sp-about-testimonial-card:hover {
  border-color: var(--sp-theme-border);
  box-shadow: 0 14px 28px rgba(25, 42, 56, 0.08);
}

.sp-about-testimonial-card blockquote {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  flex: 0 0 7.2em;
  height: 7.2em;
  margin: 0 0 22px;
  padding: 0 20px;
  overflow: hidden;
  color: #5f6f7b;
  font-size: 14px;
  font-style: normal;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.sp-about-testimonial-author {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 12px;
}

.sp-about-testimonial-author img,
.sp-about-testimonial-avatar {
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px !important;
  height: 44px;
  overflow: hidden;
  border-radius: 0;
  background: var(--sp-theme-primary);
  color: #fff;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  object-fit: cover;
}

.sp-about-testimonial-author-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.sp-about-testimonial-name {
  display: -webkit-box;
  height: 1.4em;
  overflow: hidden;
  color: var(--sp-theme-dark);
  font-size: 15px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.sp-about-testimonial-purchase {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #82909b;
  font-size: 12px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap !important;
}

/* Product center: category groups and product cards */
#main .content .product.sp-product-listing {
  padding: clamp(24px, 3vw, 42px);
  border-bottom: 0;
}

.sp-product-group + .sp-product-group {
  margin-top: 44px;
  padding-top: 38px;
  border-top: 1px solid #e4ebf0;
}

#main .content .sp-product-group h2.pr-h2 {
  position: relative;
  margin: 0 0 23px;
  padding: 0 56px 13px 18px;
  border-bottom: 1px solid #dfe7ed;
  background: none;
  font-size: 21px;
  line-height: 1.4;
  text-transform: none;
}

#main .content .sp-product-group h2.pr-h2::before {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 82px;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--sp-brand-red) 0 20px, var(--sp-theme-primary) 20px 100%);
}

#main .content .sp-product-group h2.pr-h2 a::after {
  position: absolute;
  top: 3px;
  right: 3px;
  color: #b9c8d2;
  content: "\f178";
  font-family: FontAwesome;
  font-size: 16px;
  font-weight: normal;
}

#main .content .sp-product-group h2.pr-h2 a {
  color: #17364a;
  font-weight: 700;
  text-decoration: none;
}

#main .content .sp-product-group h2.pr-h2 a:hover {
  color: var(--sp-theme-primary);
}

#main .sp-product-grid {
  display: flex;
  flex-wrap: wrap;
  margin-right: -9px;
  margin-left: -9px;
}

#main .sp-product-grid > .sp-product-grid-item {
  display: flex;
  padding-right: 9px;
  padding-left: 9px;
}

#main .sp-product-card,
#main .sp-product-category-card {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 286px;
  margin: 0 0 18px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #dfe7ed;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(19, 50, 72, 0.055);
  text-decoration: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

#main .sp-product-card:hover,
#main .sp-product-category-card:hover {
  border-color: #9abed7;
  box-shadow: 0 15px 32px rgba(11, 72, 115, 0.14);
  text-decoration: none;
  transform: translateY(-4px);
}

#main .sp-product-card .p-img,
#main .sp-product-category-media {
  position: relative;
  display: flex;
  height: 220px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  padding: 13px;
  background:
    linear-gradient(135deg, rgba(7, 95, 168, 0.025), rgba(7, 95, 168, 0.06)),
    #f7f9fa;
}

#main .sp-product-card .p-img::after,
#main .sp-product-category-media::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  content: "";
  background: var(--sp-brand-red);
}

#main .sp-product-card .p-img img,
#main .sp-product-category-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
  transition: transform 0.35s ease;
}

#main .sp-product-card:hover .p-img img,
#main .sp-product-category-card:hover .sp-product-category-media img {
  transform: scale(1.035);
}

#main .sp-product-card span.title,
#main .sp-product-category-card span.title {
  display: flex;
  height: 66px;
  min-height: 66px;
  max-height: 66px;
  padding: 0 14px;
  overflow: hidden;
  flex: 0 0 66px;
  align-items: center;
  box-sizing: border-box;
  border-top: 1px solid #e2e9ee;
  background: #fff;
  color: #263f50;
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  text-align: left;
  text-transform: none;
}

#main .sp-product-card .sp-product-title-text,
#main .sp-product-category-card .sp-product-title-text {
  display: -webkit-box;
  width: 100%;
  max-height: 42px;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#main a.sp-product-card:hover span.title,
#main a.sp-product-category-card:hover span.title {
  background: #fff;
  color: var(--sp-theme-primary);
}

/* Clickable product and news list rows */
#main .sp-list-row-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

#main .sp-list-row-link:hover,
#main .sp-list-row-link:focus {
  color: inherit;
  text-decoration: none;
}

#main .sp-list-row-link:focus-visible {
  outline: 3px solid rgba(32, 102, 166, 0.28);
  outline-offset: 3px;
}

#main .sp-list-row-link:hover .list-title,
#main .sp-list-row-link:focus .list-title {
  color: var(--sp-theme-primary);
}

#main .sp-list-row-link:hover .more,
#main .sp-list-row-link:focus .more {
  border-color: var(--sp-theme-primary);
  background: var(--sp-theme-primary);
  color: #fff;
}

/* Product subcategory/list pages */
#main .sp-product-list-row {
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid #dfe7ed;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(19, 50, 72, 0.045);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

#main .sp-product-list-row:hover {
  border-color: #9abed7;
  box-shadow: 0 13px 28px rgba(11, 72, 115, 0.11);
  transform: translateY(-2px);
}

#main .sp-product-list-row > .row {
  display: flex;
  align-items: stretch;
  margin-right: -10px;
  margin-left: -10px;
}

#main .sp-product-list-row > .row > [class*="col-"] {
  padding-right: 10px;
  padding-left: 10px;
}

.sp-product-list-media {
  display: flex;
  width: 100%;
  height: 178px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid #e3eaef;
  border-radius: 2px;
  background: #f7f9fa;
}

.sp-product-list-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sp-product-list-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

#main .sp-product-list-row .list-title {
  display: -webkit-box;
  margin: 0 0 10px;
  overflow: hidden;
  color: #18384d;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#main .sp-product-list-row .list-title:hover {
  color: var(--sp-theme-primary);
}

#main .sp-product-list-row p {
  display: -webkit-box;
  margin: 0 0 13px;
  overflow: hidden;
  color: #6b7d89;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

#main .sp-product-list-row .more {
  width: auto;
  min-width: 124px;
  margin-top: auto;
  padding: 0 19px;
  border: 1px solid #b8cbd8;
  border-radius: 2px;
  color: var(--sp-theme-primary);
  font-size: 13px;
  line-height: 36px;
  text-decoration: none;
}

#main .sp-product-list-row .more::after {
  margin-left: 10px;
  content: "\f105";
  font-family: FontAwesome;
}

#main .sp-product-list-row .more:hover {
  border-color: var(--sp-theme-primary);
  background: var(--sp-theme-primary);
  color: #fff;
}

.sp-news-list-media {
  display: block;
}

/* Project / application case cards */
#main .content .project.sp-project-listing {
  padding: clamp(24px, 3vw, 42px);
  border-bottom: 0;
}

#main .sp-project-grid {
  display: flex;
  flex-wrap: wrap;
  margin-right: -10px;
  margin-left: -10px;
}

#main .sp-project-grid > .sp-project-grid-item {
  display: flex;
  padding-right: 10px;
  padding-left: 10px;
}

#main .sp-project-card {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 320px;
  margin: 0 0 22px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #dfe7ed;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(19, 50, 72, 0.055);
  text-decoration: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

#main .sp-project-card:hover {
  border-color: #8db6d2;
  box-shadow: 0 16px 34px rgba(11, 72, 115, 0.15);
  text-decoration: none;
  transform: translateY(-5px);
}

#main .sp-project-card .p-img {
  position: relative;
  display: flex;
  height: 244px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: #f5f8fa;
}

#main .sp-project-card .p-img::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 68%, rgba(9, 51, 80, 0.12) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

#main .sp-project-card .p-img::after {
  position: absolute;
  z-index: 2;
  right: 15px;
  bottom: 15px;
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  content: "\f105";
  background: var(--sp-theme-primary);
  color: #fff;
  font-family: FontAwesome;
  font-size: 18px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#main .sp-project-card:hover .p-img::before,
#main .sp-project-card:hover .p-img::after {
  opacity: 1;
}

#main .sp-project-card:hover .p-img::after {
  transform: translateX(0);
}

#main .sp-project-card .p-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

#main .sp-project-card:hover .p-img img {
  transform: scale(1.035);
}

#main .content .project .sp-project-card span.title {
  position: relative;
  display: flex;
  height: 74px;
  min-height: 74px;
  max-height: 74px;
  align-items: center;
  padding: 14px 42px 14px 16px;
  overflow: hidden;
  flex: 0 0 74px;
  border-top: 1px solid #e1e8ed;
  background: #fff;
  color: #263f50;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  text-align: left;
  text-transform: none;
}

#main .content .project .sp-project-card .sp-project-title-text {
  display: -webkit-box;
  width: 100%;
  min-width: 0;
  max-height: 44px;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#main a.sp-project-card:hover span.title {
  background: #fff;
  color: var(--sp-theme-primary);
}

#main .content .project .sp-project-card span.title::after {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 18px;
  height: 2px;
  content: "";
  background: var(--sp-brand-red);
  transform: translateY(-50%);
}

/* Shared internal-page sidebar */
@media (min-width: 768px) {
  #main .sidebar.sp-sidebar {
    margin-top: -54px;
  }
}

#main .sp-sidebar {
  color: #536875;
}

.sp-sidebar-panel {
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid #dbe5ec;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 49, 70, 0.07);
}

#main .sidebar .sp-sidebar-title,
#main .sidebar .p-title.sp-sidebar-title,
#main .sidebar .sidetit.sp-sidebar-title {
  position: relative;
  display: flex;
  min-height: 58px;
  margin: 0;
  align-items: center;
  padding: 14px 17px;
  border-bottom: 1px solid #e1e9ee;
  background: #fff;
  color: #17364a;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: none;
}

#main .sidebar .sp-sidebar-title::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--sp-theme-primary) 0 76%, var(--sp-brand-red) 76% 100%);
}

#main .sidebar .sp-sidebar-title > .fa {
  display: flex;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  border-radius: 2px;
  background: #eaf3f9;
  color: var(--sp-theme-primary);
  font-size: 14px;
}

#main .sidebar .sp-sidebar-product-tree {
  max-height: 640px;
  margin: 0;
  padding: 8px 0;
  overflow-y: auto;
  background: #fff;
  color: #536875;
  line-height: 1.55;
  scrollbar-color: #a9c5d8 #eef3f6;
  scrollbar-width: thin;
}

#main .sidebar .sp-sidebar-product-tree::-webkit-scrollbar {
  width: 7px;
}

#main .sidebar .sp-sidebar-product-tree::-webkit-scrollbar-track {
  background: #eef3f6;
}

#main .sidebar .sp-sidebar-product-tree::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: #a9c5d8;
}

#main .sidebar .sp-sidebar-product-tree ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#main .sidebar .sp-sidebar-product-tree > ul > li {
  padding: 0;
  border-bottom: 1px solid #edf1f4;
  text-transform: none;
}

#main .sidebar .sp-sidebar-product-tree > ul > li:last-child {
  border-bottom: 0;
}

#main .sidebar .sp-sidebar-product-tree > ul > li > a {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 13px 16px;
  color: #263f50;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
}

#main .sidebar .sp-sidebar-product-tree > ul > li > a::after {
  margin-left: auto;
  padding-left: 8px;
  color: #9aacb8;
  content: "\f105";
  font-family: FontAwesome;
  font-weight: normal;
}

#main .sidebar .sp-sidebar-product-tree i {
  padding-right: 8px;
  color: var(--sp-theme-primary);
}

#main .sidebar .sp-sidebar-product-tree > ul > li > ul {
  margin: 0;
  padding: 5px 12px 11px 22px;
  background: #f6f9fb;
}

#main .sidebar .sp-sidebar-product-tree li li {
  padding: 0;
  text-transform: none;
}

#main .sidebar .sp-sidebar-product-tree li li a {
  position: relative;
  display: block;
  padding: 6px 8px 6px 19px;
  color: #647985;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
}

#main .sidebar .sp-sidebar-product-tree li li a .fa {
  position: absolute;
  top: 11px;
  left: 2px;
  padding: 0;
  color: #91adbe;
  font-size: 9px;
}

#main .sidebar .sp-sidebar-product-tree li a:hover {
  color: var(--sp-theme-primary);
}

#main .sidebar .sp-sidebar-case-list,
#main .sidebar .sp-latest-news {
  padding: 14px;
  border: 0;
  background: #fff;
  text-align: left;
}

#main .sidebar .sp-sidebar-case-list .flexslider {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

#main .sidebar .sp-sidebar-case-list .slides {
  margin: 0;
  padding: 0;
}

#main .sidebar .sp-sidebar-case-list .flex-direction-nav a {
  display: flex;
  top: 85px;
  width: 30px;
  height: 30px;
  margin: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(17, 52, 75, 0.82);
  box-shadow: 0 4px 12px rgba(10, 35, 52, 0.18);
  color: #fff;
  font-size: 0;
  opacity: 0.9;
  text-indent: 0;
  transform: translateY(-50%);
  transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

#main .sidebar .sp-sidebar-case-list .flex-direction-nav a::before {
  position: absolute;
  top: calc(50% - 0.5px);
  left: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform-origin: center;
}

#main .sidebar .sp-sidebar-case-list .flex-direction-nav .flex-prev,
#main .sidebar .sp-sidebar-case-list .flexslider:hover .flex-prev {
  left: 8px;
}

#main .sidebar .sp-sidebar-case-list .flex-direction-nav .flex-next,
#main .sidebar .sp-sidebar-case-list .flexslider:hover .flex-next {
  right: 8px;
}

#main .sidebar .sp-sidebar-case-list .flex-direction-nav .flex-prev::before {
  left: calc(50% + 1px);
  transform: translate(-50%, -50%) rotate(-135deg);
}

#main .sidebar .sp-sidebar-case-list .flex-direction-nav .flex-next::before {
  left: calc(50% - 1px);
  transform: translate(-50%, -50%) rotate(45deg);
}

#main .sidebar .sp-sidebar-case-list .flex-direction-nav a:hover,
#main .sidebar .sp-sidebar-case-list .flex-direction-nav a:focus-visible {
  background: var(--sp-theme-primary);
  color: #fff;
  opacity: 1;
  transform: translateY(-50%) scale(0.94);
}

.sp-sidebar-case-card a {
  display: flex;
  height: 170px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid #e2e9ee;
  border-radius: 2px;
  background: #f6f8fa;
}

#main .sidebar .sp-sidebar-case-card img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
}

#main .sidebar .sp-sidebar-case-card p {
  display: -webkit-box;
  min-height: 48px;
  margin: 0;
  padding: 10px 3px 0;
  overflow: hidden;
  color: #344f61;
  font-weight: 600;
  line-height: 19px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#main .sidebar .sp-sidebar-news-card {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid #e8eef2;
}

#main .sidebar .sp-sidebar-news-card:first-child {
  padding-top: 0;
}

#main .sidebar .sp-sidebar-news-card:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

#main .sidebar .sp-sidebar-news-card > [class*="col-"] {
  padding-right: 6px;
  padding-left: 6px;
}

#main .sidebar .sp-sidebar-news-card img {
  display: block;
  width: 100%;
  height: 76px;
  margin: 0;
  object-fit: cover;
  border-radius: 2px;
  background: #f4f7f9;
}

#main .sidebar .sp-sidebar-news-card a {
  display: -webkit-box;
  overflow: hidden;
  color: #435c6c;
  font-size: 13px;
  line-height: 20px;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

#main .sidebar .sp-sidebar-news-card a:hover {
  color: var(--sp-theme-primary);
}

#main .sidebar .side-get {
  margin: 0 0 24px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(20, 49, 70, 0.1);
}

/* Contact page information and form layout */
#main .content .product.sp-contact-page {
  padding: clamp(28px, 4vw, 58px);
  border-bottom: 0;
}

.sp-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  overflow: hidden;
  border: 1px solid #dbe5ec;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(18, 48, 69, 0.09);
}

@media (min-width: 992px) {
  #main .sp-contact-page #sendform {
    scroll-margin-top: 232px;
  }
}

.sp-contact-info {
  position: relative;
  padding: clamp(30px, 4vw, 56px);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(7, 95, 168, 0.97), rgba(6, 58, 104, 0.98)),
    var(--sp-theme-primary);
  color: #dbe9f2;
}

.sp-contact-info::after {
  position: absolute;
  right: -72px;
  bottom: -72px;
  width: 230px;
  height: 230px;
  border: 42px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
  content: "";
}

.sp-contact-intro {
  position: relative;
  z-index: 1;
  margin-bottom: 34px;
  color: #e5eff5;
  font-size: 15px;
  line-height: 1.85;
}

.sp-contact-intro p {
  margin-bottom: 15px;
}

#main .content .sp-contact-intro h2,
#main .content .sp-contact-intro h3,
#main .content .sp-contact-intro h4 {
  margin: 0 0 16px;
  padding: 0;
  background: none;
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  line-height: 1.4;
  text-transform: none;
}

#main .content .sp-contact-intro h3::before {
  display: none;
}

.sp-contact-details {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.sp-contact-detail,
.product .sp-contact-detail.contact-mail {
  display: flex;
  min-width: 0;
  margin: 0;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.075);
  color: #e8f2f8;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}

.sp-contact-detail-icon {
  display: flex;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  border-radius: 50%;
  background: #fff;
  color: var(--sp-theme-primary);
}

.sp-contact-detail a {
  min-width: 0;
  color: #fff;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.sp-contact-detail a:hover {
  color: #fff;
  text-decoration: underline;
}

.sp-contact-form {
  min-width: 0;
  padding: clamp(28px, 3.5vw, 52px);
  background: #f7f9fb;
}

/* Reusable internal-page inquiry panel; the home-page form is intentionally excluded. */
#main .sp-inner-contact {
  margin-bottom: 30px;
}

#main .sp-inner-contact .mailcont,
#main .sp-contact-form .mailcont {
  position: relative;
  margin: 0;
  padding: clamp(26px, 3.2vw, 44px);
  overflow: hidden;
  border: 1px solid #dbe5ec;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 13px 34px rgba(18, 48, 69, 0.075);
}

#main .sp-contact-form .mailcont {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#main .sp-inner-contact .mailcont::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  content: "";
  background: linear-gradient(180deg, var(--sp-theme-primary) 0 78%, var(--sp-brand-red) 78% 100%);
}

#main .sp-inner-contact .sp-inquiry-head,
#main .sp-contact-form .sp-inquiry-head {
  position: relative;
  margin: 0 0 24px;
  padding: 0 0 19px 48px;
  border: 0;
  border-bottom: 1px solid #dfe7ed;
}

#main .sp-inner-contact .sp-inquiry-head::before,
#main .sp-contact-form .sp-inquiry-head::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  content: "\f003";
  background: #eaf3f9;
  color: var(--sp-theme-primary);
  font-family: FontAwesome;
  font-size: 15px;
}

#main .sp-inner-contact .mailtitle,
#main .sp-contact-form .mailtitle {
  margin: 0 0 5px;
  color: #17364a;
  font-size: clamp(22px, 2.3vw, 29px);
  font-weight: 700;
  line-height: 1.3;
}

#main .sp-inner-contact .mailtitle::before,
#main .sp-contact-form .mailtitle::before {
  display: none;
}

#main .sp-inner-contact .mailtop p,
#main .sp-contact-form .mailtop p {
  margin: 0;
  color: #748692;
  font-size: 13px;
  line-height: 1.65;
}

#main .sp-inner-contact .formbody,
#main .sp-contact-form .formbody {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

#main .sp-inner-contact .form-group,
#main .sp-contact-form .form-group {
  min-width: 0;
  margin: 0;
}

#main .sp-inner-contact .form-group:nth-child(3),
#main .sp-inner-contact .form-group:nth-child(4),
#main .sp-inner-contact .form-group:nth-child(5),
#main .sp-contact-form .form-group:nth-child(3),
#main .sp-contact-form .form-group:nth-child(4),
#main .sp-contact-form .form-group:nth-child(5),
#main .sp-inner-contact .form-status,
#main .sp-contact-form .form-status {
  grid-column: 1 / -1;
}

#main .sp-inner-contact .form-control,
#main .sp-contact-form .form-control,
#main .sp-inner-contact input.form-control,
#main .sp-contact-form input.form-control {
  width: 100%;
  height: 48px;
  padding: 11px 14px;
  border: 1px solid #d2dde5;
  border-radius: 2px;
  outline: 0;
  background: #f8fafb;
  color: #344d5d;
  box-shadow: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

#main .sp-inner-contact textarea.form-control,
#main .sp-contact-form textarea.form-control {
  min-height: 158px;
  height: auto;
  resize: vertical;
}

#main .sp-inner-contact .form-control:focus,
#main .sp-contact-form .form-control:focus {
  border-color: #73a9ce;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(7, 95, 168, 0.09);
}

#main .sp-inner-contact .form-control::placeholder,
#main .sp-contact-form .form-control::placeholder {
  color: #96a6b0;
}

#main .sp-inner-contact .sbtn,
#main .sp-contact-form .sbtn {
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 49px;
  padding: 0 45px 0 24px;
  border: 1px solid var(--sp-theme-primary);
  border-radius: 2px;
  background: var(--sp-theme-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 47px;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

#main .sp-inner-contact .form-group:nth-child(5),
#main .sp-contact-form .form-group:nth-child(5) {
  position: relative;
  width: fit-content;
  max-width: 100%;
}

#main .sp-inner-contact .form-group:nth-child(5)::after,
#main .sp-contact-form .form-group:nth-child(5)::after {
  position: absolute;
  top: 50%;
  right: 20px;
  content: "\f178";
  color: #fff;
  font-family: FontAwesome;
  pointer-events: none;
  transform: translateY(-50%);
}

#main .sp-inner-contact .sbtn:hover,
#main .sp-contact-form .sbtn:hover {
  border-color: var(--sp-theme-strong);
  background: var(--sp-theme-strong);
  color: #fff;
  transform: translateY(-1px);
}

#main .sp-inner-contact .form-status,
#main .sp-contact-form .form-status {
  margin: 0;
}

#main .sp-inner-contact .form-status.is-visible,
#main .sp-contact-form .form-status.is-visible {
  color: #287a32;
}

#main .sp-inner-contact .form-status.is-visible.is-error,
#main .sp-contact-form .form-status.is-visible.is-error {
  color: #b42318;
}

@media (max-width: 991px) {
  #art-ban {
    height: 200px;
  }

  #main .content .title-h1.sp-page-heading {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }

  #main .sp-breadcrumb {
    width: 100%;
    justify-content: flex-end;
    margin-left: 0;
    padding-left: 17px;
  }

  .sp-about-layout {
    grid-template-columns: 1fr;
  }

  .sp-about-media {
    width: min(100%, 620px);
    margin: 0 auto;
  }

  .sp-about-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sp-about-metric {
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 0;
  }

  .sp-about-metric:nth-child(-n + 2) {
    border-top: 0;
  }

  .sp-about-metric:nth-child(even) {
    border-left: 1px solid rgba(255, 255, 255, 0.13);
  }

  .sp-about-services-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .sp-about-services-media {
    width: min(100%, 560px);
    height: 300px;
    min-height: 0;
    margin: 0 auto 28px;
  }

  .sp-about-services-media img {
    height: 300px;
    min-height: 0;
  }

  #main .content .sp-about-testimonial-track > li {
    flex-basis: calc((100% - 24px) / 2);
  }

  #main .sp-product-card,
  #main .sp-product-category-card {
    min-height: 266px;
  }

  #main .sp-product-card .p-img,
  #main .sp-product-category-media {
    height: 198px;
  }

  #main .sp-project-card .p-img {
    height: 218px;
  }

  .sp-contact-layout {
    grid-template-columns: 1fr;
  }

  #main .sp-inner-contact .formbody,
  #main .sp-contact-form .formbody {
    grid-template-columns: 1fr;
  }

  #main .sp-inner-contact .form-group,
  #main .sp-contact-form .form-group,
  #main .sp-inner-contact .form-status,
  #main .sp-contact-form .form-status {
    grid-column: 1;
  }
}

@media (max-width: 767px) {
  #art-ban {
    height: 152px;
  }

  #main {
    padding-bottom: 48px;
  }

  #main > .container-fluid {
    padding-right: 14px;
    padding-left: 14px;
  }

  #main > .container-fluid > .row {
    margin-right: 0;
    margin-left: 0;
  }

  #main > .container-fluid > .row > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
  }

  #main .content {
    margin-top: -28px;
    border-radius: 3px;
    box-shadow: 0 12px 30px rgba(21, 48, 68, 0.08);
  }

  #main .content .title-h1.sp-page-heading {
    min-height: 92px;
    padding: 17px 16px 14px 19px;
  }

  #main .content .title-h1.sp-page-heading h1.sp-page-title {
    font-size: 22px;
  }

  .sp-page-heading-main {
    padding-left: 13px;
  }

  .sp-page-heading-mark {
    height: 25px;
  }

  #main .sp-breadcrumb {
    width: 100%;
    margin-left: 0;
    padding-left: 13px;
    font-size: 12px;
  }

  .sp-breadcrumb-current {
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  #main .content .product.sp-about-page {
    padding: 26px 20px 32px;
  }

  .sp-about-layout {
    gap: 28px;
  }

  .sp-about-media {
    padding: 0 0 14px 14px;
  }

  .sp-about-media::after {
    top: -7px;
    right: -7px;
    width: 52px;
    height: 52px;
    border-width: 2px;
  }

  .sp-about-media-frame {
    min-height: 230px;
    padding: 10px;
  }

  .sp-about-copy {
    font-size: 14px;
    line-height: 1.85;
  }

  .sp-about-metrics {
    margin: 0 14px 42px;
    padding: 0;
  }

  .sp-about-metrics-grid {
    gap: 0;
  }

  .sp-about-metric {
    min-height: 142px;
    padding: 26px 20px 22px;
  }

  .sp-about-metric::before {
    top: 24px;
    left: 20px;
    width: 26px;
  }

  .sp-about-metric-label {
    margin-top: 8px;
    font-size: 13px;
  }

  .sp-about-metric-value {
    margin-top: 16px;
    font-size: 28px;
  }

  .sp-about-metric-note,
  .sp-about-metric-note p {
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.45;
  }

  .sp-about-services,
  .sp-about-testimonials {
    padding: 42px 20px;
  }

  .sp-about-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .sp-about-section-head {
    margin-bottom: 28px;
  }

  #main .content .sp-about-section-head h2 {
    padding-bottom: 14px;
    font-size: 28px;
  }

  #main .content .sp-about-section-head h2::after {
    width: 48px;
  }

  .sp-about-section-head p {
    margin-top: 13px;
    font-size: 13px;
  }

  .sp-about-services-grid {
    gap: 30px;
  }

  .sp-about-service-list {
    grid-template-columns: 1fr;
  }

  .sp-about-service-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 17px 0 16px;
  }

  .sp-about-service-icon {
    width: 40px;
    height: 40px;
  }

  .sp-about-services-media,
  .sp-about-services-media img {
    width: 100%;
    height: 230px;
    min-height: 0;
  }

  .sp-about-services-media {
    margin-bottom: 26px;
  }

  .sp-about-services-media::after {
    right: -8px;
    bottom: -8px;
  }

  .sp-about-service-highlight {
    bottom: -26px;
    left: 0;
    width: min(270px, calc(100% - 18px));
    min-height: 76px;
    padding: 15px 18px;
  }

  .sp-about-service-highlight strong {
    padding-right: 14px;
    font-size: 25px;
  }

  .sp-about-service-highlight span {
    padding-left: 14px;
    font-size: 11px;
  }

  .sp-about-testimonial-controls {
    width: 100%;
    justify-content: space-between;
  }

  .sp-about-testimonial-card {
    min-height: 240px;
    padding: 26px 22px;
  }

  #main .content .sp-about-testimonial-track > li {
    flex-basis: 100%;
  }

  .sp-about-testimonial-nav button {
    width: 42px;
    height: 42px;
  }

  #main .content .product.sp-product-listing {
    padding: 25px 16px 30px;
  }

  .sp-product-group + .sp-product-group {
    margin-top: 30px;
    padding-top: 28px;
  }

  #main .content .sp-product-group h2.pr-h2 {
    padding-right: 38px;
    font-size: 19px;
  }

  #main .sp-product-grid > .sp-product-grid-item {
    width: 100%;
  }

  #main .sp-product-card,
  #main .sp-product-category-card {
    max-width: 420px;
    min-height: 0;
    margin-right: auto;
    margin-left: auto;
  }

  #main .sp-product-card .p-img,
  #main .sp-product-category-media {
    height: 265px;
  }

  #main .sp-product-list-row {
    padding: 13px;
  }

  #main .sp-product-list-row > .row {
    display: block;
  }

  .sp-product-list-media {
    height: 250px;
    margin-bottom: 18px;
  }

  #main .sp-product-list-row .more {
    margin-top: 5px;
  }

  #main .content .project.sp-project-listing {
    padding: 25px 16px 30px;
  }

  #main .sp-project-grid > .sp-project-grid-item {
    width: 100%;
  }

  #main .sp-project-card {
    max-width: 460px;
    min-height: 0;
    margin-right: auto;
    margin-left: auto;
  }

  #main .sp-project-card .p-img {
    height: 270px;
  }

  #main .sidebar.sp-sidebar {
    margin-top: 8px;
  }

  .sp-sidebar-panel {
    margin-bottom: 18px;
  }

  #main .sidebar .sp-sidebar-product-tree {
    max-height: 520px;
  }

  .sp-sidebar-case-card a {
    height: 240px;
  }

  #main .sidebar .sp-sidebar-case-list .flex-direction-nav a {
    top: 120px;
  }

  #main .content .product.sp-contact-page {
    padding: 22px 15px 28px;
  }

  .sp-contact-info,
  .sp-contact-form {
    padding: 28px 20px;
  }

  .sp-contact-intro {
    font-size: 14px;
  }

  #main .sp-inner-contact .mailcont {
    padding: 27px 19px 25px 23px;
  }

  #main .sp-inner-contact .sp-inquiry-head,
  #main .sp-contact-form .sp-inquiry-head {
    padding: 0 0 17px 44px;
  }

  #main .sp-inner-contact .sp-inquiry-head::before,
  #main .sp-contact-form .sp-inquiry-head::before {
    width: 32px;
    height: 32px;
  }

  #main .sp-inner-contact .mailtitle,
  #main .sp-contact-form .mailtitle {
    font-size: 21px;
  }

  #main .sp-inner-contact .form-group:nth-child(5),
  #main .sp-contact-form .form-group:nth-child(5),
  #main .sp-inner-contact .sbtn,
  #main .sp-contact-form .sbtn {
    width: 100%;
    max-width: none;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  #main .sp-product-card .p-img,
  #main .sp-product-category-media {
    height: 184px;
  }

  #main .sp-project-card .p-img {
    height: 200px;
  }
}
