/* =================================================
   GLOBAL THEME
================================================= */

:root{
  --accent-green: #20c997;
  --accent-blue: #3b82f6;
  --text-main: rgba(255,255,255,.95);
  --text-muted: rgba(255,255,255,.75);
  --text-soft: rgba(255,255,255,.6);
}

body{
  background:
    linear-gradient(
      180deg,
      #060912,
      #02030a 60%,
      #000 100%
    );
  color: var(--text-main);
  position: relative;
  overflow-x: hidden;
}

/* LAYER บน */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;

  background:
    radial-gradient(
      1200px 700px at 20% 0%,
      rgba(33,197,142,.22) 0%,
      rgba(33,197,142,.12) 40%,
      rgba(33,197,142,.04) 60%,
      rgba(33,197,142,0) 75%
    ),
    radial-gradient(
      900px 600px at 85% 10%,
      rgba(59,130,246,.18) 0%,
      rgba(59,130,246,.10) 40%,
      rgba(59,130,246,.04) 60%,
      rgba(59,130,246,0) 75%
    );

  z-index: 0;
}




/* =================================================
   HERO – NEWS
================================================= */

.news-hero{
  padding: 80px 0 60px;
}

.news-hero-card{
  background:
    radial-gradient(900px 420px at 20% 20%, rgba(33,197,142,.22), transparent 60%),
    radial-gradient(900px 420px at 80% 20%, rgba(59,130,246,.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(245,247,255,.96));
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0,0,0,.45);
}

.news-hero .hero-inner{
  padding: 56px 48px;
  text-align: center;
}

.news-hero .kicker{
  color: rgba(0,0,0,.55);
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.news-hero .hero-title{
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 950;
  line-height: 1.15;
  margin: 0;
  background: linear-gradient(
    90deg,
    #111,
    #1f2937
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.news-hero .hero-lead{
  margin-top: 18px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(0,0,0,.75);
  max-width: 64ch;
  margin-left: auto;
  margin-right: auto;
}

/* =================================================
   NEWS LIST SECTION
================================================= */

.news-list{
  padding: 64px 0 80px;
}

/* =================================================
   NEWS CARD
================================================= */

.news-card-modern{
  height: 100%;
  background: rgba(255,255,255,.08);
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 22px 64px rgba(0,0,0,.45);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}

.news-card-modern:hover{
  transform: translateY(-8px);
  box-shadow: 0 34px 90px rgba(0,0,0,.65);
}

/* IMAGE */

.news-thumb-wrap{
  height: 220px;
  overflow: hidden;
  position: relative;
}

.news-thumb{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.news-card-modern:hover .news-thumb{
  transform: scale(1.1);
}

/* BODY */

.news-body{
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-title{
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.45;
  color: var(--text-main);
}

.news-desc{
  margin-top: 12px;
  font-size: .95rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* FOOTER */

.news-footer{
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.news-date{
  font-size: .85rem;
  color: var(--text-soft);
}

/* BUTTON */

.news-footer .btn{
  background: linear-gradient(
    90deg,
    var(--accent-green),
    #16a34a
  );
  border: none;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(32,201,151,.45);
}

/* =================================================
   PAGINATION
================================================= */

.news-pagination{
  margin-top: 56px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.page-btn{
  min-width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: var(--text-main);
  font-weight: 800;
  transition: all .15s ease;
}

.page-btn:hover:not(:disabled){
  background: rgba(32,201,151,.25);
  border-color: rgba(32,201,151,.6);
}

.page-btn.active{
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: #fff;
}

.page-btn:disabled{
  opacity: .35;
  cursor: not-allowed;
}

/* =================================================
   RESPONSIVE
================================================= */

@media (max-width: 767px){

  .news-hero .hero-inner{
    padding: 42px 26px;
  }

  .news-thumb-wrap{
    height: 200px;
  }

  .news-body{
    padding: 20px;
  }
}
