
/* =======================
   News & Event – Page
   ======================= */

.ne-head { padding: 60px 0 50px; }
.ne-head__title{
  margin: 0;
  text-align: center;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
}

/* ===== Featured overlay ===== */

/* Card làm mốc cho overlay */
.ne-featured__card{
  position: relative;
  display: block;
  padding: 24px;
}

/* Ảnh to, bo góc, có gradient tối ở đáy */
.ne-featured__media{
  position: relative;
  display: block;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.14);
  margin-bottom:24px;
}
.ne-featured__media img{
  width: 100%;
  height: clamp(260px, 46vw, 420px);
  object-fit: cover;
  display: block;
}
/* gradient phủ từ trong suốt -> đen ở đáy */
.ne-featured__media::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 30%,
    rgba(0,0,0,.35) 60%,
    rgba(0,0,0,.65) 100%
  );
  pointer-events: none;
}

/* Badge giữ ở góc trên trái */
.ne-featured__badge{
  position: absolute; left: 24px; top: 24px;
  display: inline-block;
  padding: 6px 10px;
  border-radius: 4px;
  background: var(--color-primary);
  color:#fff; 
  font-weight:600;
  letter-spacing:.2px;
  z-index: 2;
  font-size: 0.75rem;
}

/* === Overlay text: đặt body absolute + trắng === */
.ne-featured__body{
  position: absolute;
  left: 24px; 
  right: 24px;
  bottom: 24px;
  padding: 24px;
  margin-bottom: 24px;
  color: #fff;
  z-index: 2;
}
/* chip (date | time) nằm ngay trên title */
.ne-featured__chips{ margin: 0 0 10px; }
.ne-featured__chips.chip.chip--combo{
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.12);
  color: #fff;
  backdrop-filter: blur(4px);
}
.ne-featured__chips.chip.chip--combo .seg + .seg::before{
  background: rgba(255,255,255,.35);
}
.ne-featured__chips.chip.chip--combo svg{
  stroke:#fff;
}

/* Title lớn, trắng, đổ nhẹ */
.ne-featured__title{
  margin: 16px 0 16px;
  font-size: clamp(22px, 3.2vw, 36px);
  line-height: 1.18;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
}
.ne-featured__title a{ color:#fff; text-decoration:none; }

/* Dòng địa điểm, icon trắng */
.ne-featured__locline{
  display:flex; gap:8px; align-items:center;
  color:#fff; opacity:.95;
  font-size: clamp(13px, 1.6vw, 15px);
  text-shadow: 0 1px 6px rgba(0,0,0,.45);
}
.ne-featured__locline svg{
  width: 20px; 
  height: 20px; 
  stroke:#fff;
   fill:none; 
   stroke-width:1.8;
}
.ne-featured__locline svg path{ 
  fill:none; 
  stroke:#fff; 
}
.ne-featured__locline svg circle{ 
  fill:none; 
}


/* Responsive: body nhích vào cho mobile */
@media (max-width: 640px){
  .ne-featured__body{ left: 16px; right: 16px; bottom: 16px; }
  .ne-featured__media img{ height: 280px; }
  .ne-featured__badge{
    left: 16px; top: 16px;
    padding: 4px 8px;
  }
  .ne-featured__title{
    margin: 12px 0 12px;
  }
}

/* =======================
   News & Event – Card (FULL)
   ======================= */

/* List spacing */
.ne-list {
  display:grid; 
  align-items: stretch;
}
.ne-list .ne-item { 
  margin-bottom: 0; 
    box-shadow:0 0 10px 2px rgba(0, 0, 0, .06);

}

/* Card layout */
.ne-item{
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 20px;
  padding: 0;
  border-radius: 4px;
  margin:48px;
  background: #ffffff;
  overflow: hidden;
  min-height: 220px;
  align-items: stretch;
}
@media (max-width: 900px){
  .ne-item{ grid-template-columns: 1fr;}
}

/* Thumbnail */
.ne-item__thumb{ 
  aspect-ratio: 16 / 9;
  width: 100%;
  background:#eee;  
  overflow:hidden;
  box-shadow:0 0 10px 2px rgba(0, 0, 0, .06);
}
.ne-item__thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Body */
.ne-item__body{
  height: 100%;
  padding: 16px 18px 18px;
  display: flex;
  background: #fff;
  flex-direction: column;
}

/* One-pill: Date | Time */
.ne-item__chips{ margin-bottom: 10px; }
.chip.chip--combo{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  line-height: 1;
}
.chip.chip--combo .seg{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.chip.chip--combo .seg + .seg{
  padding-left: 14px;
  margin-left: 2px;
}
.chip.chip--combo .seg + .seg::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: #e5e7eb;
}
.chip.chip--combo svg{
  width: 16px;
  height: 16px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 1.8;
}

/* Title */
.ne-item__title{
  margin: 6px 0 8px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.35;
  font-weight: 700;
}
.ne-item__title a{
  color: inherit;
  text-decoration: none;
}
.ne-item__title a:hover{ text-decoration: underline; }

/* Location line */
.ne-item__locline{
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--color-text);
  opacity: .9;
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.45;
}
.ne-item__locline svg{
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 1.8;
  display: block;
}
.ne-item__locline svg path{
  fill: var(--color-primary);
  stroke: none;
}

/* Hide parts we no longer use */
.ne-item__excerpt,
.ne-item__actions{ display: none !important; }

/* =======================
   End News & Event – Card
   ======================= */



/* ===== Pagination ===== */
.ne-pagination{
  display: flex;
  justify-content: center;
  margin: 20px 0 60px;
}
.ne-pagination .page-numbers{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  margin: 0 4px;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-decoration: none;
}
.ne-pagination .current{
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
a.page-numbers{ 
  color: var(--color-text); 
}











