﻿.people-hero{
  position:relative;
  padding:124px 0 94px;
  color:#fff;
  text-align:center;
  overflow:hidden;
  background:
    linear-gradient(135deg, rgba(0,43,73,.78) 0%, rgba(0,24,38,.74) 58%, rgba(11,53,81,.70) 100%),
    url("https://cdn-smg55.starmediagroup.my/Themes/img/people-hero.png") center / cover no-repeat;
}

.people-hero__overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 50% 20%,rgba(255,255,255,.06),transparent 38%),
    linear-gradient(to bottom,rgba(255,255,255,.02),rgba(0,0,0,.16));
  pointer-events:none;
}

.people-hero .container{
  position:relative;
  z-index:2;
}

.people-hero__content{
  max-width:780px;
  margin:0 auto;
}

.people-hero__eyebrow{
  display:inline-block;
  margin-bottom:12px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(255,255,255,.8);
}

.people-hero__title{
  margin:0 0 14px;
  font-family:var(--font-serif);
  font-size:54px;
  line-height:1.05;
  color:#fff;
}

.people-hero__title::after{
  content:"";
  display:block;
  width:96px;
  height:2px;
  margin:16px auto 0;
  background:rgba(156,104,39,.9);
  border-radius:999px;
}

.people-hero__subtitle{
  max-width:680px;
  margin:0 auto 24px;
  font-size:15px;
  line-height:1.68;
  color:rgba(255,255,255,.86);
}

.feature-slider__slide a
{
    text-decoration: none;
    display: block;
}

/* FEATURED */
.people-featured{
  padding:84px 0 28px;
}

.people-featured__grid{
  display:grid;
  grid-template-columns:1.12fr 1fr;
  gap:38px;
  align-items:center;
}

.people-featured__media{
  min-height:420px;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 20px 46px rgba(0,0,0,.08);
  cursor:pointer;
}

.people-featured__media img{
  width:100%;
  height:100%;
  min-height:420px;
  object-fit:cover;
}

.people-featured__eyebrow{
  display:inline-block;
  margin-bottom:12px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:var(--gold);
}

.people-featured__title{
  margin:0 0 14px;
  font-family:var(--font-serif);
  font-size:42px;
  line-height:1.08;
  color:#111;
}

.people-featured__text{
  margin:0 0 22px;
  font-size:15px;
  line-height:1.72;
  color:#5d5d5d;
  max-width:530px;
}

/* SECTION */
.people-section{
  padding:82px 0;
}

.people-section--alt{
  background:#fafafa;
}

.people-rail{
  position:relative;
  margin-top:12px;
}

#peopleEduSlider{
  width:80%;
  max-width:980px;
  margin-left:auto;
  margin-right:auto;
}

#peopleEduSlider .p-card{
  padding:18px;
  border-radius:16px;
}

#peopleEduSlider .p-card__media{
  height:auto;
  aspect-ratio:1 / .9;
  background-size:cover;
  background-position:center top;
  background-repeat:no-repeat;
  background-color:#f4f4f4;
  border-radius:13px;
}

#peopleEduSlider .p-card__body{
  padding:16px 0 2px;
}

#peopleEduSlider .p-card h3{
  font-size:20px;
}

#peopleEduSlider .p-card p{
  font-size:13px;
  line-height:1.58;
}

/* CARD */
.p-card{
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.06);
  transition:transform .25s ease,box-shadow .25s ease;
  min-width:0;
  height:100%;
  cursor:pointer;
}

.p-card:hover{
  transform:translateY(-4px);
}

.p-card__media{
  height:240px;
  background:#dedede center / cover no-repeat;
}

.p-card__media--placeholder{
  display:grid;
  place-items:center;
  background:
    linear-gradient(135deg, rgba(11,53,81,.92), rgba(112,0,0,.82)),
    radial-gradient(circle at 72% 22%, rgba(217,183,109,.28), transparent 34%);
}

.p-card__media--placeholder span{
  font-family:var(--font-serif);
  font-size:42px;
  line-height:1;
  color:#f4d48b;
}

.p-card__body{
  padding:18px 18px 20px;
}

.p-card__tag{
    display: inline-block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #bb0000;
}

.p-card h3{
  margin:0 0 8px;
  font-size:20px;
  line-height:1.28;
  color:#111;
}

.p-card p{
  margin:0;
  font-size:14px;
  line-height:1.62;
  color:#666;
}

.brats-feature-card{
  width:min(90%, 920px);
  margin:18px auto 0;
  display:grid !important;
  grid-template-columns:minmax(240px, 320px) 1fr;
  gap:32px;
  align-items:center;
  padding:18px;
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  background:#fff;
  cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease;
}

.brats-feature-card:hover{
  transform:translateY(-4px);
}

.brats-feature-card__media{
  width:100%;
  aspect-ratio:1 / 1;
  border-radius:14px;
  background:#ddd center top / cover no-repeat;
}

.brats-feature-card__body{
  padding:6px 8px 6px 0;
}

.brats-feature-card h3{
  margin:0 0 10px;
  font-family:var(--font-serif);
  font-size:34px;
  line-height:1.12;
  color:#111;
}

.brats-feature-card p{
  max-width:480px;
  margin:0;
  color:#666;
  font-size:14px;
  line-height:1.65;
}

.brats-feature-card__cta{
  margin-top:18px;
  pointer-events:none;
}

#peopleBratsSlider{
  width:min(92%, 960px);
  margin:18px auto 0;
}

#peopleBratsSlider .feature-slider__slide{
  flex:0 0 100%;
  min-width:100%;
}

#peopleBratsSlider .brats-feature-card{
  width:100%;
  margin:0;
}

/* WIDE CARD */
.people-wide-card{
  display:grid !important;
  grid-template-columns:1.2fr 1fr;
  gap:0;
  background:#fff;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 18px 38px rgba(0,0,0,.06);
  cursor:pointer;
}

.people-wide-card__media{
  min-height:430px;
  background:#ddd center / cover no-repeat;
}

.people-wide-card__body{
  padding:42px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.people-wide-card h3{
  margin:0 0 10px;
  font-family:var(--font-serif);
  font-size:36px;
  line-height:1.1;
  color:#111;
}

.people-wide-card p{
  margin:0;
  color:#666;
  line-height:1.65;
}

#peopleLeadershipSlider{
  width:min(92%, 1040px);
  margin:18px auto 0;
}

#peopleLeadershipSlider .feature-slider__slide{
  flex:0 0 100%;
  min-width:100%;
}

/* SLIDER */
.feature-slider__viewport{
  position:relative;
  overflow:hidden;
}

.feature-slider__track{
  display:flex;
  gap:24px;
  transition:transform .35s ease;
  will-change:transform;
}

.feature-slider__slide{
  flex:0 0 calc((100% - 48px) / 3);
  min-width:calc((100% - 48px) / 3);
}

.feature-slider__arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:5;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border:1px solid rgba(0,0,0,.10);
  border-radius:999px;
  background:#fff;
  box-shadow:0 10px 20px rgba(0,0,0,.08);
  cursor:pointer;
}

.feature-slider__arrow .material-symbols-outlined{
  font-size:22px;
  color:var(--brand-red);
}

.feature-slider__arrow--prev{ left:-21px; }
.feature-slider__arrow--next{ right:-21px; }

.feature-slider__arrow.is-disabled{
  opacity:.35;
  pointer-events:none;
}

.feature-slider__controls{
  display:flex;
  justify-content:center;
  margin-top:18px;
}

.feature-slider__dots{
  display:flex;
  gap:8px;
}

.feature-slider__dot{
  width:10px;
  height:10px;
  padding:0;
  border:0;
  border-radius:999px;
  background:rgba(0,0,0,.18);
  cursor:pointer;
}

.feature-slider__dot.is-active{
  background:var(--brand-red);
  transform:scale(1.08);
}

@media (min-width:768px){
  #peopleOurSlider .feature-slider__track{
    justify-content:center;
  }
}


/* MODAL */
.story-modal[hidden]{
  display:none;
}

.story-modal{
  position:fixed;
  inset:0;
  z-index:99999;
}

.story-modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.62);
}

.story-modal__dialog{
  position:relative;
  z-index:2;
  width:min(920px, calc(100% - 28px));
  max-width:920px;
  max-height:86vh;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  touch-action:pan-y;
  margin:7vh auto;
  background:#fff;
  border-radius:22px;
  padding:24px;
  box-shadow:0 24px 70px rgba(0,0,0,.28);
}

.story-modal__close{
  position:absolute;
  top:14px;
  right:14px;
  width:38px;
  height:38px;
  border:0;
  border-radius:999px;
  background:#f4f4f4;
  cursor:pointer;
}

.story-modal__image{
  width:100%;
  max-height:440px;
  object-fit:contain;
  border-radius:16px;
  margin-bottom:20px;
}

.story-modal__category{
  color:var(--brand-red);
  font-size:11px;
  font-weight:600;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.story-modal__title{
  margin:8px 0 8px;
  font-family:var(--font-serif);
  font-size:36px;
  line-height:1.1;
  color:#111;
}

.story-modal__meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  color:#777;
  font-size:13px;
  margin-bottom:14px;
}

.story-modal__excerpt{
  color:#555;
  line-height:1.7;
  margin-bottom:20px;
}

.story-modal__excerpt p{
  margin:0 0 12px;
}

.story-modal__actions{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:16px;
  flex-wrap:wrap;
}

.story-modal__nav{
  position:absolute;
  top:50%;
  left:0;
  right:0;
  z-index:3;
  transform:translateY(-50%);
  pointer-events:none;
}

.story-modal__nav-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  padding:0;
  border:1px solid rgba(0,0,0,.10);
  border-radius:999px;
  background:rgba(255,255,255,.72);
  color:#222;
  font:inherit;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(0,0,0,.06);
  transition:transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  pointer-events:auto;
}

.story-modal__nav-btn[data-story-prev]{
  position:absolute;
  left:16px;
}

.story-modal__nav-btn[data-story-next]{
  position:absolute;
  right:16px;
}

.story-modal__nav-btn:hover{
  background:rgba(255,255,255,.92);
  transform:translateY(-1px);
  box-shadow:0 12px 24px rgba(0,0,0,.10);
}

.story-modal__nav-btn:disabled{
  opacity:.38;
  cursor:not-allowed;
  transform:none;
  box-shadow:none;
}

.story-modal__nav-btn .material-symbols-outlined{
  font-size:18px;
}

/* RESPONSIVE */
@media (max-width:1080px){
  .people-featured__grid,
  .people-wide-card{
    grid-template-columns:1fr;
  }

  .people-featured__media,
  .people-featured__media img{
    min-height:330px;
  }

  .feature-slider__slide{
    flex:0 0 calc((100% - 24px) / 2);
    min-width:calc((100% - 24px) / 2);
  }

    .brats-feature-card{
    grid-template-columns:minmax(220px, 280px) 1fr;
    gap:26px;
  }

  #peopleLeadershipSlider .feature-slider__slide,
  #peopleBratsSlider .feature-slider__slide{
    flex:0 0 100%;
    min-width:100%;
  }
}

@media (max-width:767px){
  .people-hero{
    padding:100px 0 76px;
  }

  .people-hero__title{
    font-size:36px;
  }

  .people-featured{
    padding:62px 0 10px;
  }

  .people-featured__title{
    font-size:30px;
  }

  .people-section{
    padding:66px 0;
  }

  .feature-slider__arrow{
    display:none;
  }

  .feature-slider__viewport{
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
  }

  .feature-slider__viewport::-webkit-scrollbar{
    display:none;
  }

  .feature-slider__track{
    gap:14px;
    transition:none;
    transform:none !important;
  }

  .feature-slider__slide{
    flex:0 0 86%;
    min-width:86%;
    scroll-snap-align:start;
  }

  #peopleEduSlider .feature-slider__slide{
    flex-basis:100%;
    min-width:100%;
  }

  #peopleBratsSlider .feature-slider__slide{
    flex-basis:100%;
    min-width:100%;
  }

  #peopleEduSlider,
  #peopleLeadershipSlider,
  #peopleBratsSlider{
    width:100%;
  }

  #peopleEduSlider .p-card__media{
    height:auto;
    aspect-ratio:1 / .9;
  }

  .brats-feature-card{
    width:100%;
    grid-template-columns:1fr;
    gap:16px;
    padding:16px;
  }

  .brats-feature-card__body{
    padding:0;
  }

  .brats-feature-card h3{
    font-size:28px;
  }

  .p-card__media{
    height:220px;
  }

  .people-wide-card__media{
    min-height:230px;
  }

  .people-wide-card__body{
    padding:24px;
  }

  .people-wide-card h3{
    font-size:28px;
  }

  .story-modal__dialog{
    width:calc(100% - 28px);
    max-height:calc(100vh - 28px);
    max-height:calc(100dvh - 28px);
    margin:14px auto;
    padding:18px;
  }

  .story-modal__title{
    font-size:28px;
  }

  .story-modal__actions{
    width:100%;
  }

  .story-modal__actions{
    align-items:stretch;
  }

  .story-modal__nav{
    left:0;
    right:0;
  }

  .story-modal__nav-btn[data-story-prev]{
    left:10px;
  }

  .story-modal__nav-btn[data-story-next]{
    right:10px;
  }

  .story-modal__nav-btn{
    flex:0 0 42px;
  }
}