/* ISSVN - Dịch vụ & Hỗ trợ.
   LOCK: không style/sửa shared Header/Footer trong file này. */

.service-v2--customer-layout{background:#fff;color:#1f2937}
.service-v2--customer-layout .service-customer-shell{width:min(1240px,calc(100% - 32px));margin-left:auto;margin-right:auto}

/* ===== Hero thương hiệu: bám bố cục khách, dùng logo thật ===== */
.service-customer-hero{position:relative;min-height:190px;overflow:hidden;background:#fff}
.service-customer-hero__inner{position:relative;z-index:2;min-height:190px;display:flex;align-items:center;justify-content:center;width:min(1240px,calc(100% - 32px));margin:0 auto}
.service-customer-hero h1{margin:6px 0 0;color:#111;font-family:Georgia,"Times New Roman",serif;font-size:34px;font-weight:700;line-height:1;text-align:center}
.service-customer-hero__brands{position:absolute;inset:0;z-index:1;width:min(1240px,calc(100% - 32px));margin:0 auto;left:50%;transform:translateX(-50%);pointer-events:none}
.service-brand{position:absolute;display:block;max-width:none;height:auto;opacity:.22;filter:grayscale(.08);object-fit:contain}
.service-brand--oriental{left:1%;top:20px;width:230px}
.service-brand--weidmuller{right:1%;top:20px;width:235px}
.service-brand--rittal{left:5%;bottom:12px;width:92px}
.service-brand--omron{left:50%;bottom:17px;width:205px;transform:translateX(-50%)}
.service-brand--lapp{right:9%;bottom:16px;width:170px}

/* ===== 3 khung dịch vụ cố định theo layout khách ===== */
.service-customer-groups{padding:0 0 18px}
.service-group-slider{position:relative;padding:0 32px}
.service-group-slider__track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0 1px 4px}
.service-group-slider__track::-webkit-scrollbar{display:none}
.service-group-card{flex:0 0 calc((100% - 32px)/3);min-width:0;scroll-snap-align:start;border-radius:5px;overflow:hidden;background:#f1f4f8}
.service-group-card__title{min-height:60px;display:flex;align-items:center;justify-content:center;padding:9px 12px;background:#173f7d;color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:15px;font-weight:700;line-height:1.12;text-align:left;text-transform:uppercase}
.service-group-card__body{min-height:205px;display:flex;flex-direction:column;padding:12px 14px 14px;background:#f1f4f8}
.service-group-card__body p{margin:0 0 8px;color:#303642;font-size:13px;line-height:1.38}
.service-group-card__bullets{margin:0 0 10px;padding-left:17px;color:#202733;font-size:12.5px;line-height:1.35}
.service-group-card__bullets li{margin:1px 0}
.service-group-card__support{margin-top:auto;align-self:center;display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 14px;background:#173f7d;color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:12px;font-weight:700;text-align:center}
.service-group-card__support:hover{color:#fff;background:#12366e}
.service-group-slider__arrow{position:absolute;top:50%;z-index:3;width:24px;height:40px;display:grid;place-items:center;transform:translateY(-50%);border:0;background:transparent;color:#111827;font-family:Georgia,"Times New Roman",serif;font-size:24px;font-weight:700;cursor:pointer}
.service-group-slider__arrow--prev{left:0}.service-group-slider__arrow--next{right:0}

/* ===== Quy trình ===== */
.service-customer-process{padding:8px 0 20px;background:#fff}
.service-customer-heading{margin:0 0 15px;font-family:Georgia,"Times New Roman",serif;font-size:15px;font-weight:700;color:#111827;text-transform:uppercase}
.service-process-line{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:0 4px}
.service-process-line::before{content:"";position:absolute;left:10%;right:10%;top:22px;height:1px;background:#cdd5df}
.service-process-line__step{position:relative;z-index:1;text-align:center}
.service-process-line__number{width:44px;height:44px;margin:0 auto 10px;display:grid;place-items:center;border-radius:50%;background:#173f7d;color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:15px;font-weight:700}
.service-process-line__label{max-width:145px;margin:0 auto;color:#303642;font-family:Georgia,"Times New Roman",serif;font-size:12.5px;line-height:1.28}

/* ===== Bài viết chia sẻ: 1 danh mục cấp 1 + 4 bài, 5 cột đối xứng ===== */
.service-customer-sharing{padding:0 0 34px;background:#fff}
.service-sharing-rows{display:grid;gap:24px}
.service-sharing-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));column-gap:12px;row-gap:7px;align-items:start}
.service-sharing-row__group{height:150px;display:flex;align-items:center;justify-content:flex-start;padding:14px 18px;background:#edf2f8;color:#173f7d;font-family:Georgia,"Times New Roman",serif;font-size:13px;font-weight:700;line-height:1.28;text-align:left;text-transform:uppercase}
.service-sharing-row__group:hover{background:#e5ecf5;color:#12366e}
.service-sharing-card{display:block;min-width:0;color:#1f2937}
.service-sharing-card__media{width:100%;height:150px;background:#eef2f7;overflow:hidden}
.service-sharing-card__media img{display:block;width:100%;height:100%;object-fit:cover}
.service-sharing-card h3{min-height:38px;margin:7px 0 0;color:#222;font-family:Georgia,"Times New Roman",serif;font-size:11.5px;font-weight:700;line-height:1.22;text-align:center;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.service-sharing-card:hover h3{color:#173f7d}
.service-sharing-card--empty{opacity:.62}
.service-sharing-row__more{grid-column:5;justify-self:end;color:#111827;font-family:Georgia,"Times New Roman",serif;font-size:12px;font-weight:700;white-space:nowrap}
.service-sharing-row__more:hover{color:#173f7d}

/* ===== Trang danh mục/chi tiết dịch vụ: giữ chuẩn từ V12.7 ===== */
.service-v2__hero-media{margin-bottom:28px}
.service-v2__hero-media>img{display:block;width:100%;height:clamp(260px,38vw,520px);object-fit:cover;border-radius:var(--iss-content-panel-radius,16px)}
.service-v2__hero-media>.placeholder{min-height:300px;margin:0}
.service-v2__card{display:flex;flex-direction:column}
.service-v2__card-media,.service-v2__share-media,.service-v2__category-media{padding:0}
.service-v2__card-media img,.service-v2__share-media img,.service-v2__category-media img{width:100%;height:100%;object-fit:cover}
.service-v2__card-body{display:flex;flex:1;flex-direction:column}
.service-v2__card-body h3{font-weight:700}.service-v2__card-body p{flex:1}
.service-v2__actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:18px}
.service-v2 .link-more,.service-v2 .btn,.service-v2 .process-step__number,.service-v2 .process-step h3,.service-v2__share-card h3,.service-v2__category-card h3{font-weight:700}
.service-v2__sidebar-link.is-active{background:var(--iss-blue-600);color:#fff}
.service-v2__category-grid{align-items:stretch}.service-v2__category-card{min-width:0}.service-v2__category-card .card__body h3{font-size:1rem;line-height:1.35}
.service-v2__article-image{display:block;width:100%;max-height:520px;object-fit:cover;margin:0 0 26px;border-radius:var(--iss-content-panel-radius,16px)}
.service-v2__article img:not(.service-v2__article-image){max-width:100%;height:auto}
.service-v2__detail-cta{margin-top:28px}.service-v2__other-articles h2{font-size:1.25rem;font-weight:700;margin-bottom:8px}.service-v2__other-articles .mini-article strong{font-weight:700}
.service-v2__other-articles .mini-article{border:1px solid var(--iss-content-panel-border,#c0c1c3);border-radius:var(--iss-content-panel-radius,16px);padding:10px;overflow:hidden;background:#fff}.service-v2__other-articles .mini-article__thumb{padding:0;overflow:hidden;border-radius:var(--iss-content-panel-radius,16px)}.service-v2__other-articles .mini-article__thumb img{width:100%;height:100%;object-fit:cover}.service-v2__other-grid>.card{overflow:hidden;border-radius:var(--iss-content-panel-radius,16px)}.service-v2__other-grid h3{font-weight:700}

@media(max-width:1100px){
  .service-v2--customer-layout .service-customer-shell,.service-customer-hero__inner,.service-customer-hero__brands{width:min(960px,calc(100% - 28px))}
  .service-brand--oriental{width:190px}.service-brand--weidmuller{width:195px}.service-brand--omron{width:175px}
  .service-group-card{flex-basis:calc((100% - 16px)/2)}
  .service-sharing-row{grid-template-columns:repeat(3,minmax(0,1fr))}.service-sharing-row__group{grid-column:1}.service-sharing-row__more{grid-column:3}
  .service-v2__category-grid,.service-v2__other-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:820px){
  .service-customer-hero,.service-customer-hero__inner{min-height:165px}.service-customer-hero h1{font-size:29px}
  .service-brand--rittal{left:4%;width:75px}.service-brand--lapp{right:4%;width:140px}
  .service-group-card{flex-basis:82%}
  .service-process-line{overflow-x:auto;grid-template-columns:repeat(5,126px);justify-content:start;padding-bottom:8px}.service-process-line::before{display:none}
  .service-sharing-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.service-sharing-row__group{grid-column:1/-1;height:72px}.service-sharing-row__more{grid-column:2}
  .service-v2__actions{align-items:stretch}.service-v2__actions .btn{width:100%}.service-v2__category-grid,.service-v2__other-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .service-customer-hero,.service-customer-hero__inner{min-height:145px}.service-customer-hero h1{font-size:25px}
  .service-brand--oriental{left:2%;top:18px;width:135px}.service-brand--weidmuller{right:1%;top:18px;width:140px}.service-brand--rittal{left:6%;bottom:8px;width:55px}.service-brand--omron{bottom:10px;width:120px}.service-brand--lapp{right:3%;bottom:9px;width:100px}
  .service-group-slider{padding:0 24px}.service-group-slider__arrow{width:20px}.service-group-card{flex-basis:100%}
  .service-sharing-row{grid-template-columns:1fr 1fr}.service-sharing-card__media{height:120px}.service-sharing-card h3{font-size:11px}
  .service-v2__category-grid,.service-v2__other-grid{grid-template-columns:1fr}.service-v2__hero-media>img{height:260px}
}

/* ===== V12.7.6: bố cục theo chốt mới =====
   - Khối dịch vụ trên: không border ngoài, dùng full container.
   - Bài viết chia sẻ: không border ngoài / border từng bài.
   - Quy trình vẫn có khung nhẹ để tách section.
   - Header/Footer không bị tác động. */

.service-customer-groups{
  padding:0 0 24px;
}
.service-customer-groups .service-customer-shell{
  width:min(1240px,calc(100% - 32px));
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
}
.service-group-card{
  border:0;
  box-shadow:none;
}
.service-group-card__description{
  margin:0 0 10px;
  color:#303642;
  font-size:13px;
  line-height:1.42;
}
.service-group-card__description p{
  margin:0 0 8px;
}
.service-group-card__description ul,
.service-group-card__description ol{
  margin:0 0 10px;
  padding-left:20px;
}
.service-group-card__description li{
  margin:2px 0;
}

.service-customer-process{
  padding:0 0 24px;
  background:#fff;
}
.service-customer-process .service-customer-shell{
  width:min(1240px,calc(100% - 32px));
  padding:16px 18px 18px;
  border:1px solid #dce4ee;
  border-radius:5px;
  background:#fff;
}
.service-customer-process .service-customer-heading{
  margin-bottom:18px;
  padding-bottom:10px;
  border-bottom:1px solid #e4e9f0;
}

.service-customer-sharing{
  padding:0 0 36px;
  background:#fff;
}
.service-customer-sharing .service-customer-shell{
  width:min(1240px,calc(100% - 32px));
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
}
.service-customer-sharing .service-customer-heading{
  margin-bottom:16px;
  padding:0;
  border:0;
}
.service-sharing-rows{
  gap:24px;
}
.service-sharing-row{
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
}
.service-sharing-row__group{
  border:0;
}
.service-sharing-card{
  padding:0 0 8px;
  border:0;
  background:transparent;
}
.service-sharing-card__media{
  border:0;
}
.service-sharing-card h3{
  padding:0;
}
.service-sharing-row__more{
  margin-top:2px;
  padding:3px 0;
}

@media(max-width:820px){
  .service-customer-groups .service-customer-shell,
  .service-customer-sharing .service-customer-shell{
    width:min(100% - 24px,1240px);
    padding:0;
  }
  .service-customer-process .service-customer-shell{
    width:min(100% - 24px,1240px);
    padding:14px;
  }
}


/* ===== V12.7.8: tách rõ 3 khối + chuẩn font toàn trang Dịch vụ =====
   1) Danh mục cấp 1
   2) Quy trình
   3) Bài viết chia sẻ
   LOCK: không tác động Header/Footer. */

/* Dùng cùng font với site.css, tránh Georgia/Times làm dấu tiếng Việt lệch. */
.service-v2--customer-layout,
.service-v2--customer-layout h1,
.service-v2--customer-layout h2,
.service-v2--customer-layout h3,
.service-v2--customer-layout p,
.service-v2--customer-layout li,
.service-v2--customer-layout a,
.service-v2--customer-layout button,
.service-v2--customer-layout span,
.service-v2--customer-layout div{
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}

/* Khối 1: danh mục dịch vụ cấp 1 */
.service-customer-groups .service-customer-shell{
  width:min(1240px,calc(100% - 32px));
  padding:18px 20px 20px;
  border:1px solid #dce4ee;
  border-radius:5px;
  background:#fff;
}
.service-group-card{
  border:1px solid #dfe6ef;
  border-radius:5px;
  overflow:hidden;
  box-shadow:none;
}
.service-group-card__title{
  font-size:15px;
  line-height:1.3;
  font-weight:700;
}
.service-group-card__body,
.service-group-card__description,
.service-group-card__description p,
.service-group-card__description li{
  font-size:13px;
  line-height:1.5;
}
.service-group-card__support{
  font-size:12.5px;
  line-height:1.2;
  font-weight:700;
}

/* Khối 2: quy trình */
.service-customer-process .service-customer-shell{
  width:min(1240px,calc(100% - 32px));
  padding:18px 20px 20px;
  border:1px solid #dce4ee;
  border-radius:5px;
  background:#fff;
}
.service-customer-process .service-customer-heading{
  margin:0 0 18px;
  padding-bottom:11px;
  border-bottom:1px solid #e5eaf0;
}
.service-process-line__label{
  font-size:13px;
  line-height:1.4;
  font-weight:400;
}
.service-process-line__number{
  font-size:14px;
  line-height:1;
  font-weight:700;
}

/* Khối 3: bài viết chia sẻ */
.service-customer-sharing .service-customer-shell{
  width:min(1240px,calc(100% - 32px));
  padding:18px 20px 20px;
  border:1px solid #dce4ee;
  border-radius:5px;
  background:#fff;
}
.service-customer-sharing .service-customer-heading{
  margin:0 0 18px;
  padding-bottom:11px;
  border-bottom:1px solid #e5eaf0;
}
.service-customer-heading{
  font-size:15px;
  line-height:1.3;
  font-weight:700;
  letter-spacing:0;
}
.service-sharing-row__group{
  font-size:13px;
  line-height:1.4;
  font-weight:700;
  text-align:left;
}
.service-sharing-card h3{
  font-size:12px;
  line-height:1.4;
  font-weight:700;
}
.service-sharing-row__more{
  font-size:12px;
  line-height:1.3;
  font-weight:700;
}

/* Khoảng cách rõ giữa 3 section. */
.service-customer-groups{padding-bottom:24px}
.service-customer-process{padding-bottom:24px}
.service-customer-sharing{padding-bottom:36px}

@media(max-width:820px){
  .service-customer-groups .service-customer-shell,
  .service-customer-process .service-customer-shell,
  .service-customer-sharing .service-customer-shell{
    width:min(100% - 24px,1240px);
    padding:14px;
  }
}


/* BUILD81.45.6.6.123 — service content title scale.
   Section headings are NOT defined here; they belong to .section-title--classic. */
body.iss-theme .service-v2__other-articles .mini-article strong,
body.iss-theme .service-v2__other-grid h3,
body.iss-theme .service-sharing-card h3{
  font-size:17px !important;
  line-height:1.35 !important;
}
