/* =========================================================
   File: kc_website_section.css
   Scope: #kc-website-solutions ._VXjFBzx*
   ========================================================= */

#kc-website-solutions._hIWm9Kh {
  width: 100%;
  background: transparent;
  padding: var(--body-section-py-sm) 0;
}

#kc-website-solutions ._Urm4XtA {
  max-width: var(--body-inner-max);
  margin: 0 auto;
  padding: 0 var(--body-px);
  text-align: center;
}

#kc-website-solutions ._37rHBMN {
  font-size: clamp(2.4rem, 3.2vw, 3.2rem);
  font-weight: 800;
  margin: 0 0 10px;
  color: #0f172a;
}

#kc-website-solutions ._EikQPT8 {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  margin: 0 0 28px;
  color: #475569;
}

/* =========================================================
   ✅ Tabs pill - Matching AI Section Design
   ========================================================= */
._xnA4TQK{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;

  width: fit-content;
  max-width: 100%;
  margin: 24px auto 32px;
  padding: 8px 10px;

  border-radius: 9999px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45),
    rgba(255, 255, 255, 0.25)
  );
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 8px 22px rgba(36, 74, 140, 0.12);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  overflow-x: auto;
  scrollbar-width: none;
}

._xnA4TQK::-webkit-scrollbar {
  display: none;
}

._GrcZPr_{
  position: relative;
  appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;

  padding: 10px 22px;
  border-radius: 9999px;

  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;

  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;

  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}

._GrcZPr_:hover{
  background: rgba(255, 255, 255, 0.22);
}

._GrcZPr_.is-active{
  background: #fff;
  color: #0f172a;
  box-shadow:
    0 5px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

._GrcZPr_.is-active::after{
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 2px;
  height: 1.5px;
  border-radius: 3px;
  background: linear-gradient(90deg, #1e3a8a, #2563eb);
}

._GrcZPr_:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
}

._GrcZPr_.is-active:focus-visible{
  box-shadow: 
    0 5px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 3px rgba(37, 99, 235, 0.35);
}

/* Desc 3 lines clamp */
.kc-ws-desc--3{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* Note always on new line + italic */
._qwURZkn ._nOE13rd{
  display: block;       /* xuống dòng */
  margin-top: 6px;      /* cách nhẹ */
  font-style: italic;   /* in nghiêng */
  opacity: .8;          /* dịu lại */
  line-height: 1.3;
}


/* =========================================================
   Panes
   ========================================================= */
#kc-website-solutions ._p5fqjRB[hidden] { display: none !important; }
#kc-website-solutions ._p5fqjRB.is-active { display: block; }

#kc-website-solutions ._b6opDF9 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--body-grid-gap);
  align-items: stretch;
}

/* =========================================================
   Card (enterprise clean)
   ========================================================= */
#kc-website-solutions ._LfbY6Cq {
  width: 100%;
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.06), 0 3px 10px rgba(37,99,235,0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .25s, box-shadow .25s;
  min-height: 520px;
}

#kc-website-solutions ._LfbY6Cq:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

#kc-website-solutions ._4vn2W2Z {
  display: grid;
  grid-template-columns: 76px auto;
  gap: 18px;
  align-items: start;
}

#kc-website-solutions ._GMhrY_N {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  border: 1px solid rgba(29, 78, 216, 0.55);
  background: linear-gradient(145deg, #60a5fa 0%, #2563eb 55%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow:
    0 6px 20px rgba(37, 99, 235, 0.42),
    0 0 0 4px rgba(37, 99, 235, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
}

#kc-website-solutions ._GMhrY_N::before {
  content: "";
  position: absolute;
  inset: 14px 12px;
  border-radius: 12px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.16);
  transform: rotate(-8deg);
  z-index: -1;
}

#kc-website-solutions ._GMhrY_N svg {
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.18));
}

#kc-website-solutions ._v7s4njW { text-align: left; }

#kc-website-solutions ._2XhuQrK {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  
  /* Allow up to 2 lines for longer titles */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  min-height: 2.4rem;
}

#kc-website-solutions ._ocbD4he {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
  background: rgba(37,99,235,0.08);
  padding: 6px 10px;
  border-radius: 999px;
  margin: 0 0 10px;
}

#kc-website-solutions ._1mSgVWC {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 1.05rem;
}
#kc-website-solutions ._1mSgVWC strong { font-weight: 800; }

#kc-website-solutions ._qwURZkn {
  margin: 0;
  color: #475569;
  line-height: 1.6;
  font-size: 1rem;
}

#kc-website-solutions ._bJ7zeT7 {
  width: 100%;
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 2px 0;
}

#kc-website-solutions ._52IkWz_ { text-align: left; }
#kc-website-solutions ._Iac4xdb {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
}

#kc-website-solutions ._Xsue65Q {
  list-style: none;
  padding: 0;
  margin: 0;
}
#kc-website-solutions ._Xsue65Q li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.45;
}
#kc-website-solutions ._Xsue65Q li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #2563eb;
}

#kc-website-solutions ._Ea1XiMR {
  text-align: left;
  color: #64748b;
  font-size: 0.92rem;
  margin: 0;
}

#kc-website-solutions ._-xzc47w{
  margin-top: auto;
  align-self: flex-start;
  text-decoration: none;

  /* size / shape */
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 0 22px;
  border-radius: 12px;

  /* typography */
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
  color: #fff;

  /* premium blue */
  background: linear-gradient(180deg, #2F6BFF, #1F56E6);

  /* depth */
  box-shadow: 0 14px 34px rgba(47,107,255,.24);

  /* motion */
  transition: transform .14s ease, box-shadow .18s ease, filter .18s ease, background .18s ease;
  will-change: transform, box-shadow;
}

#kc-website-solutions ._-xzc47w:hover{
  filter: brightness(1.05) saturate(1.05);
  box-shadow: 0 18px 44px rgba(47,107,255,.30);
  transform: translateY(-1px);
}

#kc-website-solutions ._-xzc47w:active{
  transform: translateY(0);
  filter: brightness(.98);
  box-shadow: 0 10px 26px rgba(47,107,255,.22);
}

#kc-website-solutions ._-xzc47w:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(47,107,255,.26), 0 14px 34px rgba(47,107,255,.24);
}


#kc-website-solutions ._kOe-zBf {
  margin: 16px 0 0;
  color: #94a3b8;
  font-size: 0.95rem;
}


/* =====================
   Website Solutions (P0 overlay)
   Only overrides needed for PO rules
   ===================== */

/* Outcome: 1 line clamp */
#kc-website-solutions ._BPIjA8e{
  margin: 0;
  color: #0f172a;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

/* 'Xem chi tiết' button (assumptions/note_scope) */
#kc-website-solutions ._lE1PgAb{
  margin-top: auto;
  align-self: flex-start;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.75);
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 900;
  cursor: pointer;
}

/* One CTA per tab */
#kc-website-solutions ._6_Z9l1M{
  display:flex;
  justify-content:center;
  margin: 22px 0 0;
}
#kc-website-solutions ._a5XsmSb{
  height: 46px;
  padding: 0 26px;
  border-radius: 14px;
  border: none;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  background: linear-gradient(180deg, #2F6BFF, #1F56E6);
  box-shadow: 0 14px 34px rgba(47,107,255,.24);
}
#kc-website-solutions ._a5XsmSb:hover{ filter: brightness(1.05) saturate(1.05); }

/* Modal */
._aOJlqRk{ position: fixed; inset: 0; display: none; z-index: 9999; }
._aOJlqRk.is-open{ display: block; }
._4gbZPqb{ position:absolute; inset:0; background: rgba(2,6,23,.45); }
._I8-bMp6{
  position: relative;
  width: min(820px, calc(100% - 32px));
  margin: 7vh auto 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
  padding: 20px 20px 18px;
}
._UL_pV21{
  position:absolute;
  top: 10px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.8);
  cursor: pointer;
  font-weight: 900;
}
._2XgQJpw{
  font-size: 1.35rem;
  font-weight: 900;
  color: #0f172a;
  margin: 2px 0 14px;
}
._wI9n23y{ margin: 12px 0; }
._YlNdFmq{ font-weight: 900; color:#0f172a; margin-bottom: 6px; }
._wdqu8Ti{ color:#334155; line-height: 1.55; }
._HTDSXNX{ margin: 0; padding-left: 18px; color:#334155; }
._rOTBDG7{ margin-top: 12px; color:#64748b; line-height: 1.55; }
body._ZzFmHwC{ overflow: hidden; }
/* ==========================
   P0 Review Fixes (UI polish)
/* ==========================
   P0 Review Fixes (UI polish)
   ========================== */

/* Ensure per-tab CTA under grid stays hidden (CTA lives inside each card) */
#kc-website-solutions ._6_Z9l1M{ display:none !important; }

/* Supporting line under title (match AMS pattern) */
#kc-website-solutions ._v7s4njW{ display:flex; flex-direction:column; gap:6px; }
#kc-website-solutions ._9SYjbgd{
  margin: 0;
  font-size: .95rem;
  font-weight: 500;
  color: rgba(15,23,42,.68);
  line-height: 1.45;

  /* clamp 2 lines for consistent card height */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.45em * 2); /* reserve space even if short */
}

/* Card layout: keep actions pinned bottom */
#kc-website-solutions ._LfbY6Cq{
  display:flex;
  flex-direction:column;
}
#kc-website-solutions ._wKCJOVn{
  margin-top:auto;
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
  padding-top: 14px;
}

/* Detail trigger: entry point feel (underline on hover) */
#kc-website-solutions ._1sS9238{
  text-decoration: none;
}
#kc-website-solutions ._1sS9238:hover{
  text-decoration: underline;
  transform: translateY(-1px);
}

/* Lists: keep compact like AMS */
#kc-website-solutions ._52IkWz_{ margin-top: 14px; }
#kc-website-solutions ._Iac4xdb{
  font-size: .95rem;
  font-weight: 800;
  margin: 0 0 10px;
}
#kc-website-solutions ._Xsue65Q{
  margin: 0;
  padding-left: 18px;
}
#kc-website-solutions ._Xsue65Q li{ margin: 6px 0; }

/* Footnote: one line, centered, outside cards */
#kc-website-solutions ._kOe-zBf{
  margin-top: 16px;
  text-align:center;
  color: rgba(15,23,42,.45);
  font-size: .92rem;
}


/* =========================================================
   P0 v3 overrides — match site button typography + list grid
   (presentation-only, scoped)
   ========================================================= */

/* Ensure buttons/links inherit site typography (some browsers style <button> differently) */
#kc-website-solutions ._s02TpC8{
  font-family: inherit;
  letter-spacing: inherit;
}

/* Bullet alignment: marker column aligns with heading left edge */
#kc-website-solutions ._Xsue65Q{
  list-style: none;
  margin: 0;
  padding: 0;
}
#kc-website-solutions ._Xsue65Q li{
  position: relative;
  padding-left: 18px;
  margin: 6px 0;
}
/* #kc-website-solutions ._Xsue65Q li::before{
  content: "•";
  position: absolute;
  left: 0;
  top: 4px;
  line-height: 1.35;
  color: rgba(47,107,255,.95);
} */

/* =========================================================
   P0 v4 overrides — PO spec changes
   ========================================================= */

/* Card is clickable for details (NOT a CTA) */
#kc-website-solutions .kc-ws-card--clickable{ cursor:pointer; }
#kc-website-solutions .kc-ws-card--clickable:focus-visible{
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}

/* Detail link (small, non-CTA) */
#kc-website-solutions ._tfpscOk{
  margin-left:auto;
  align-self:start;
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  text-decoration:none;
  color: rgba(15,23,42,.70);
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 10px 22px rgba(15,23,42,.08);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  backdrop-filter: blur(10px) saturate(120%);
  font-weight: 700;
  font-size: .9rem;
  line-height: 1;
}
#kc-website-solutions ._tfpscOk:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
}
#kc-website-solutions ._airQD3_{
  width:18px;height:18px;
  display:inline-flex;
  align-items:center;justify-content:center;
  border-radius: 50%;
  background: rgba(37,99,235,.10);
  color: rgba(15,23,42,.85);
  font-weight: 900;
  font-size: .82rem;
}
#kc-website-solutions ._ij_d1Am{ opacity:.75; }

/* Tab-level CTA (1 per tab) */
#kc-website-solutions ._6_Z9l1M{
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  gap: 10px;
  margin-top: 18px;
}
#kc-website-solutions ._1LPYoIL{
  margin: 0;
  color: rgba(71,85,105,.95);
  font-size: .98rem;
  max-width: 860px;
}

/* Modal: 2-column layout, body scroll */
#kc-website-solutions ._I8-bMp6{
  max-height: min(82vh, 760px);
  overflow: hidden;
}
#kc-website-solutions ._TtVUwBQ{
  max-height: min(82vh, 760px);
  overflow:auto;
  padding-right: 4px;
}
#kc-website-solutions ._B14xjRV{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
#kc-website-solutions ._jal9fQt{ display:block; }
#kc-website-solutions ._16tfGRF{ margin-top: 10px; }


/* ===== P0 v5 tweaks per PO: detail link must NOT look like CTA ===== */
#kc-website-solutions ._4vn2W2Z{
  position: relative;
  padding-right: 44px; /* room for detail link */
}
#kc-website-solutions ._tfpscOk{
  position:absolute;
  top: 10px;
  right: 12px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  font-size: .85rem;
  font-weight: 700;
  color: rgba(15,23,42,.62);
  text-decoration: none;
}
#kc-website-solutions ._tfpscOk ._airQD3_{
  width:18px;height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(15,23,42,.14);
  border-radius:999px;
  font-style: normal;
  font-size: .78rem;
  line-height: 1;
  color: rgba(15,23,42,.55);
  background: rgba(255,255,255,.55);
}
#kc-website-solutions ._tfpscOk:hover{
  color: rgba(15,23,42,.78);
  text-decoration: underline;
  text-underline-offset: 3px;
}
#kc-website-solutions ._ij_d1Am{
  opacity:.55;
}

/* ===== Modal readability: sticky header + scroll body ===== */
#kc-website-solutions ._I8-bMp6{
  max-height: 78vh;
  display:flex;
  flex-direction:column;
}
#kc-website-solutions ._UL_pV21{
  position:absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
}
#kc-website-solutions ._TtVUwBQ{
  overflow:auto;
  padding-top: 18px;
}
#kc-website-solutions ._SuiE6jy{
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(8px);
  padding: 8px 0 10px;
  border-bottom: 1px solid rgba(15,23,42,.08);
  margin: -6px 0 14px;
}
#kc-website-solutions ._rOTBDG7{
  font-size: .9rem;
  color: rgba(15,23,42,.58);
  margin-top: 12px;
}


/* WS Card CTA (P0+ hotfix) */
#kc-website-solutions ._J6NPb7V{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width: fit-content;
  min-height: 40px;
  border-radius: 8px;
  font-weight: 650;
}

/* CTA per-card (Option B) */
#kc-website-solutions ._55vAwQL{
  margin-top: 14px;
  padding-top: 10px;
  /* border-top: 1px solid rgba(15,23,42,.08); */
  display: flex;
  justify-content: flex-start; /* <-- về bên trái */
}

/* nếu button base đang quá to thì giảm nhẹ (optional) */
#kc-website-solutions ._J6NPb7V._s02TpC8{
  padding: 12px 18px;
  border-radius: 8px;
}

/* không dùng CTA per-tab nữa -> ẩn để khỏi chừa khoảng trắng */
#kc-website-solutions ._6_Z9l1M{
  display: none !important;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 641px) and (max-width: 1024px) {
  #kc-website-solutions ._Urm4XtA {
    max-width: var(--body-tablet-rail-max);
    padding-left: 0;
    padding-right: 0;
  }

  #kc-website-solutions ._b6opDF9 {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  #kc-website-solutions ._B14xjRV {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  #kc-website-solutions ._Urm4XtA {
    padding-left: var(--body-px);
    padding-right: var(--body-px);
  }
  #kc-website-solutions ._b6opDF9 {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }
  #kc-website-solutions ._B14xjRV {
    grid-template-columns: 1fr;
  }
  #kc-website-solutions ._LfbY6Cq { min-height: auto; }
  #kc-website-solutions ._4vn2W2Z { grid-template-columns: 72px auto; }
  #kc-website-solutions ._GMhrY_N {
    width: 62px;
    height: 62px;
    border-radius: 14px;
    box-shadow:
      0 4px 14px rgba(37, 99, 235, 0.38),
      0 0 0 3px rgba(37, 99, 235, 0.10),
      inset 0 1px 0 rgba(255, 255, 255, 0.24);
  }
  #kc-website-solutions ._GMhrY_N::before { inset: 11px 9px; border-radius: 9px; }
}
