.grid-title {
  color: var(--Dark-blue, #1A49BB);
  font-family: "Inter Bold", sans-serif !important;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 29.4px; /* 21px * 1.4 */
  width: 176.5px;
  max-width: 176.5px;
  height: 176.5px;
  max-height: 176.5px;
  margin-left: 20px;
  margin-top: -350px;


}
.backgroups {
  position: absolute;
  top: 0;
  width: 393px;
  
  height: 888px;
  z-index: 0;
  background-image: url('../img/Hero header.png');
  background-size: cover;
  background-position: center;
  clip-path: inset(0 0 250px 0 );
}
.khoihinhxanh {
  position: absolute;
  margin: 240px auto 0 117px;
  width: 70%;
  height: 70%;
  z-index: 0;
  background-image: url('../img/khoihinhxanh.png');
  background-size: cover;
  clip-path: inset(0 0 10px 0); /* cắt 10px phía dưới */
}

.khoihinhtrong {
  position: absolute;
  top: 122px;
  transform: translate(-25%, -45%);
  width: 433px;
  height: 433px;
  flex-shrink: 0;
  border-radius: 433px;
  background: var(--Neutral-100, #F4F4F4);
  z-index: 1;
  clip-path: inset(0 0 0 47.5%);
  margin-right: 157px;
}


 
  :root {
    --blue: #1A49BB;
    --green: #4CAF50;
    --card: #fff;
  }

  .timeline {
   display: flex;
    width: 198px;
    min-height: 414px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    flex-shrink: 0;
    /* background: #fff; */
    border-radius: 24px;
    /* padding: 14px; */
    /* box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08); */
    /* border: 1px solid #e8edf6; */
    /* gap: 6px; */
    margin-left: 180px;
    margin-top: -415px;
  }

    details{
    width:100%;
    border-radius:24px;
    /* QUAN TRỌNG: để pill không bị cắt hai đầu */
    overflow:visible;
    background:#fff;
    border:none;
  }
summary{
    list-style:none;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:space-between;

    /* Kích thước cố định của pill */
    width:198px;
    height:39px;
    padding:0 14px;              /* vừa khít trong 39px */
    box-sizing:border-box;

    background: var(--Dark-blue, #1A49BB);
        color:#fff;
    font-weight:800;
    font-size:18px;
    line-height: 25.2px; /* 18px * 1.4 */
    border-radius:999px;

    /* căn giữa trong khung details (tránh đè biên) */
    margin:6px auto;

    user-select:none;
    white-space:nowrap;          /* tránh xuống dòng gây méo */
    transition:background .25s ease;
  }

  /* Khi mở → màu xanh lá */
  details[open] > summary{
    background: var(--Light-Green, #0AC23B);
  }

  .chev{
    width:24px;
    height:24px;
    display:grid;
    place-items:center;
    border-radius:999px;
    background:rgba(255,255,255,.2);
    transition:transform .25s ease;
    flex:0 0 24px;              
  }

  summary svg {
    width: 14px;
    height: 14px;
    fill: #fff;
  }

  details[open] summary .chev {
    transform: rotate(180deg);
  }
  .panel {
    padding: 4px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    height: 260px;
    box-sizing: border-box;
    max-width: none;
    max-height: 260px;
    overflow-y: auto;
    overflow-x: hidden;
    align-items: center;      /* căn giữa ngang */
    justify-content: center;  /* căn giữa dọc */
  }
  
  /* Quy tắc chung của job */
  .job {
    width: 177px;
    background: #EBEDF0;
    border-radius: 14px;
    padding: 10px 10px 10px 10px;
    word-break: break-word;
    hyphens: auto;
    height: auto;
    max-height: 170px;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: flex;               /* dùng flexbox */
    flex-direction: column;      /* xếp dọc nội dung */
    gap: 5px;
  }
  
  .job::-webkit-scrollbar {
    display: none;
  }
  
  /* Nếu panel chỉ có đúng 1 .job → căn giữa cả ngang & dọc */
  .panel:has(> .job:only-child) {
    justify-content: center;   /* giữa dọc */
    align-items: center;       /* giữa ngang */
  }
  
  /* (tuỳ chọn) rộng hơn khi chỉ có 1 job */
  .panel:has(> .job:only-child) > .job {
    width: min(349px, 100%);
  }
  
  /* Nội dung trong job */
  .job .title {
    color: #1A49BB;
    font-family: "Inter Regular", sans-serif !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 19.6px; /* 14px * 1.4 */
    text-transform: uppercase; /* in hoa toàn bộ */
  }
  
  
  .job .meta {
    color: #1A49BB;
    font-family: "Inter Regular", sans-serif !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 19.6px; /* 14px * 1.4 */
    text-decoration: none;
  }

  .meta a[href^="tel:"] {
    text-decoration: none !important;
    color: inherit !important;
  }
  
  .meta a[href^="tel:"]:hover {
    text-decoration: none !important;
  }

  .meta {
    -webkit-text-decoration: none !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
  }

  /* Stronger rules for all browsers including Chrome */
  .meta,
  .meta *,
  div.meta,
  .job .meta {
    text-decoration: none !important;
    -webkit-text-decoration: none !important;
    -moz-text-decoration: none !important;
    -ms-text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-style: none !important;
    text-decoration-color: none !important;
  }
  
  .job .role-label {
    font-family: "SF Pro Regular", sans-serif !important;
    color: #000;
    font-size: 14px;
    font-weight: 400;
    line-height: 19.6px; /* 14px * 1.4 */
  }
  
  .job .role-name {
    font-family: "SF Pro Regular", sans-serif !important;
    color: #000;
    font-size: 14px;
    font-weight: 400;
    line-height: 19.6px; /* 14px * 1.4 */
  }
  

  summary::-webkit-details-marker {
    display: none;
  }
  .certificate-slider {
    position: relative;
    width: 353px;
    min-height: 253px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -20px;
  }
  .certificate-border {
    position: absolute;
    margin-top: 140px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.00) 100%);
    width: 434px;
    height: 119px;
    flex-shrink: 0;
    z-index: 1;
  }
  
  .certficate-text{
    color: var(--Dark-blue, #1A49BB);
  font-family: "Inter Bold", sans-serif !important;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 29.4px; /* 21px * 1.4 */
    margin-left: 23px;
    margin-top: 20px;
    position: relative;
    z-index: 2;
  text-transform: uppercase;
  margin-bottom: 40px;
  
  }
  .certificate-slide {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 253px;
    position: absolute;
    left: 0; top: 0;
  }
  
  .certificate-slide.active {
    display: flex;
  }
  
  .certificate-slide img {
    width: 353px;
    height: 253px;
    border-radius: 8px;
    margin-bottom: 8px;
  }
  .certificate-caption {
    position: absolute;
    bottom: 20px; /* cách mép dưới 20px */
    left: 50%;
    transform: translateX(-50%);
    
    color: #FFF;
    text-align: center;
    font-family: "Inter Bold", sans-serif !important;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 22.4px; /* 16px * 1.4 */
    z-index: 11;
    word-break: break-word;
    overflow: hidden;
    max-height: 70px;
    width: 80%;
    padding: 0 8px;
    display: block;
  }
  .certificate-prev,
  .certificate-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    border-radius: 0;
    width: 32px;
    height: 32px;
    cursor: pointer;
    opacity: 1;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-top: 88px;
    
  }
  
  .certificate-prev::before,
  .certificate-next::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
  }
  
  .certificate-prev::before {
    border-width: 8px 14px 8px 0;
    border-color: transparent #fff transparent transparent;
  }
  
  .certificate-next::before {
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent #fff;
  }
  
  .certificate-prev { left: 8px; }
  .certificate-next { right: 8px; }
  
/* ===== Grid wrapper ===== */
.grid {
  display: flex;
  flex-direction: row;
  gap: 0px;
  justify-content: center;
  align-items: stretch;
  width: 353px;
  max-width: 353px;
  margin: 0 auto;
}

/* ===== Card base ===== */
.grid-card {
  display: flex;
  flex-direction: column;       /* SVG ở trên, content ở dưới */
  align-items: center;
  justify-content: flex-start;  /* bám trên */
  height: 208px;
  width: 176.5px;
  flex: 1 0 0;
  aspect-ratio: 1/1;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(26,73,187,0.08);
  font-size: 15px;
  background: #f8f8f8;
  
}

/* Đảm bảo SVG không dính margin “kỳ lạ” từ inline element */
.grid-card svg {
  display: block;
  margin-bottom: 8px;           /* khoảng cách với phần chữ */
  padding-top: 20px;
}

/* ===== Biến thể màu & vị trí ===== */
.grid-card.blue-light {
  border-radius: 20px 20px 20px 0;
  background: var(--Light-Blue-0, #CEF);
  position: absolute;
  left: 50%;
  transform: translateX(0%);
  margin-top: 21px;
  margin-bottom: 0;
  z-index: 2;
  margin-top: 21px;
}

.grid-card.blue {
  margin-top: 229px;
}

.grid-card.green {
  border-radius: 20px 0 20px 20px;
  background: var(--Green-0, #C1E0C9);
  margin-top: 229px;
}

.grid-card.blue {
  border-radius: 0 20px 20px 20px;
  background: var(--Dark-blue-200, #426ED3);
}

/* ===== Nội dung trong card ===== */
.grid-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;  /* bám trên, không căn giữa dọc */
  align-items: center;
  width: 100%;
  height: auto;
}

/* ===== Text styles ===== */
.grid-sub {
  color: var(--Dark-blue-400, #153B94);
  text-align: center;
  font-family: "Inter Regular", sans-serif !important;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.6px; /* 14px * 1.4 */
  width: 150px;
  max-width: 150px;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  overflow: hidden;
  word-spacing: 4px; 
}

.grid-sub-3 {
  color: var(--Neutral-0, #FFF);
  text-align: center;
  font-family: "Inter Regular", sans-serif !important;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.6px; /* 14px * 1.4 */
  width: 136.5px;
  max-width: 136.5px;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  overflow: hidden;
}

 .press{
    max-width:353px;                 /* yêu cầu w=393 */
    margin-inline:auto;
    margin-top: 140px;
  }

  .press__title{
    color: #1A49BB;
font-family: "Inter Bold", sans-serif !important;
font-size: 20px;
font-style: normal;
font-weight: 700;
line-height: 29.4px; /* 21px * 1.4 */
text-transform: uppercase;
margin-top: 200px;
  }

  .press__list{
    display:grid;
    gap:14px;
    margin:0;
    padding:0;
    list-style:none;
  }
  .press-card{
    display:grid;
    grid-template-columns:114px 1fr;
    gap:14px;
    padding:15px;
    background:var(--card);
    border-radius:var(--radius);
    border:1px solid var(--ring);
    box-shadow:var(--shadow);
    align-items:center;
    transition:transform .18s ease, box-shadow .18s ease;
border-radius: 10px;
background: var(--Neutral-100, #F4F4F4);

  }
  .press-card:hover{
    transform:translateY(-2px);
    box-shadow:0 14px 28px rgba(16,24,40,.12);
  }

  .press-card__thumb{
    position:relative;
    width:120px;
    height:120px;
    overflow:hidden;
    border-radius: 5px;
    background:#e9eef8;
  }
  .press-card__thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
  }

  .press-card__content{
    min-width:0;
  }
  .press-card__headline {
    color: var(--blue-700);
    font-family: "Inter Regular", sans-serif !important;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 19.6px; /* 14px * 1.4 */
    letter-spacing: 0.5px;   /* dãn chữ (khoảng cách giữa các ký tự trong 1 dòng) */
    margin: 0 0 4px;
    text-decoration: none;
  }
  .press-card__headline a {
    color: inherit;              /* kế thừa màu từ h3 */
    text-decoration: none;       /* bỏ gạch chân */
  }
  .press-card__meta{
    display:flex;
    gap:8px;
    align-items:center;
    flex-wrap:wrap;
    font-size:12px;
    color: var(--Dark-blue, #1A49BB);
font-family: "Inter Regular", sans-serif !important;
font-style: normal;
font-weight: 400;
line-height: 19.6px; /* 14px * 1.4 */
  }
  .press-card__source{
    color:var(--blue-600);  
    text-decoration:none;
    font-weight:400;
  }
  .press-card__source:hover{ 
    text-decoration:none; 
  }
  .press-card__date{ color:var(--muted); }

  /* Tối ưu hiển thị khi rộng hơn 480px: */
  @media (min-width:480px){
    .press-card{ grid-template-columns:132px 1fr; }
    .press-card__thumb{ width:100%; height:100%; }
  }
  .end {
    width: 393px;
    height: 69px;
    flex-shrink: 0;
    border-radius: 90px 90px 0px 0px;
    background: #1A49BB;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-top: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: "Inter Bold", sans-serif !important;
    font-size: 20px;
    line-height: 31.5px; /* 150% */
    font-weight: 700;
    text-align: center;
    text-transform: uppercase; /* in hoa toàn bộ chữ */

}
.backgroups3 {
  position: absolute;
  /* left: -139%; */
  top: 0;
  width: 393px;
  height: 790px;
  z-index: 0;
  background-image: url('../img/38b2d8cea81c7efabf7bfaf685737aac590602be.png');
  background-size: cover;
  background-position: center;
  clip-path: inset(0 0 140px 0 );
}
 .custom-btn-2 {
     position: relative;
     transform: none;
     border-radius: 0 10px 10px 0;
     background: var(--Green-300, #1AB042);
     display: inline-flex;
     padding: 15px 0;
     align-items: center;
     gap: 10px;
     width: 139px;
     height: auto;
     /* margin-left: -100px; */
     border: none;
     color: #fff;
     font-size: 16px;
     font-style: normal;
     line-height: 22.4px; /* 16px * 1.4 */
font-weight: 700;
     cursor: pointer;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
     margin-top: 320px;
     font-family: "SF Pro Bold", sans-serif !important;
     z-index: 30;
     padding-left: 22px;
}
.custom-btn-3{
  border-radius: 0 10px 10px 0;
  background: var(--Green-300, #1AB042);
  gap: 10px;
  width: 139px;
  height: 49px;

}
