/* ===== ตัวแปรธีมข่าวด่วน ===== */
:root {
  --news-red: #d11414;
  --news-red-dark: #9b0d0d;
  --bg: #0a0f1c;
  --bg-panel: #111a2e;
  --fg: #f8fafc;
  --muted: #aab4c5;
  --gold: #ffcc33;
  --max-width: 1000px;
  --transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --top-h: 56px;
  --bottom-h: 150px;
}

/* ===== รีเซ็ต ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Sarabun", system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  overflow: hidden;
  line-height: 1.55;
}

/* ===== แถบความคืบหน้า ===== */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: var(--news-red);
  z-index: 200;
  transition: width var(--transition);
}

/* ===== หลอดโหลดดิ้ง auto play (เวลาหน่วงแต่ละหน้า) ===== */
.autoplay-bar {
  position: fixed;
  top: 4px;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--gold);
  z-index: 200;
  box-shadow: 0 0 8px rgba(255, 204, 51, 0.7);
}

/* ===== หัวสถานีข่าว ===== */
.broadcast-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--top-h);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1.25rem;
  background: linear-gradient(180deg, rgba(10, 15, 28, 0.95), transparent);
  z-index: 150;
}

.channel {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.channel__logo {
  background: var(--news-red);
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 1.1rem;
}

.channel__name {
  color: var(--gold);
  font-size: 1.1rem;
}

.live {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  font-size: 0.95rem;
}

.live__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--news-red);
  box-shadow: 0 0 0 0 rgba(209, 20, 20, 0.6);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(209, 20, 20, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(209, 20, 20, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(209, 20, 20, 0);
  }
}

.clock {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ===== เวทีสไลด์ ===== */
.deck {
  position: relative;
  height: 100vh;
  width: 100vw;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--top-h) + 4vh) 7vw calc(var(--bottom-h) + 3vh);
  opacity: 0;
  visibility: hidden;
  transform: translateX(40px);
  transition: opacity var(--transition), transform var(--transition),
    visibility var(--transition);
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.slide.is-prev {
  transform: translateX(-40px);
}

.slide__content {
  width: 100%;
  max-width: var(--max-width);
}

.slide__content--cover,
.slide__content--center {
  text-align: center;
}

/* ===== หน้าปก: ข้อความ + รูปบุคคล ===== */
.cover {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3vw;
  text-align: left;
}

.cover__date {
  display: inline-block;
  margin-top: 1.75rem;
  background: var(--gold);
  color: #0a0f1c;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
}

.cover__figure {
  margin: 0;
  justify-self: center;
  position: relative;
}

.cover__figure img {
  width: clamp(220px, 26vw, 360px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  border: 4px solid #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
  position: relative;
  display: block;
}

/* ===== เอฟเฟกต์หน้าปกแบบพรีเมียม: แสงกวาดผ่านรูป + ข้อความชัดขึ้นจากเบลอ ===== */

/* ครอบรูปไว้เพื่อทำแสงกวาด (shine) */
.cover__figure {
  overflow: hidden;
  border-radius: 12px;
}

/* แสงเฉียงสีขาวกวาดผ่านรูปเป็นจังหวะเบา ๆ */
.cover__figure::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 40%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0.05) 60%,
    transparent 100%
  );
  transform: translateX(-180%) skewX(-12deg);
  pointer-events: none;
  z-index: 2;
}

.slide.is-active .cover__figure::after {
  animation: shine 4.5s ease-in-out 1s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-180%) skewX(-12deg);
  }
  /* กวาดผ่านครั้งเดียวต่อรอบ แล้วหยุดพักจนครบรอบ */
  22%,
  100% {
    transform: translateX(320%) skewX(-12deg);
  }
}

/* รูปค่อย ๆ ชัดขึ้นจากเบลอตอนเข้าหน้า */
.slide.is-active .cover__figure {
  animation: focus-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: 0.15s;
}

/* ข้อความค่อย ๆ ชัดขึ้นจากเบลอ + ขยับขึ้นนิด ๆ ทีละบรรทัด */
.slide.is-active .cover__text > * {
  animation: focus-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.slide.is-active .cover__text > *:nth-child(1) {
  animation-delay: 0.2s;
}
.slide.is-active .cover__text > *:nth-child(2) {
  animation-delay: 0.35s;
}
.slide.is-active .cover__text > *:nth-child(3) {
  animation-delay: 0.5s;
}
.slide.is-active .cover__text > *:nth-child(4) {
  animation-delay: 0.65s;
}

@keyframes focus-in {
  from {
    opacity: 0;
    filter: blur(14px);
    transform: scale(1.04);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

@keyframes focus-up {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .cover {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  .cover__figure {
    order: -1;
  }
  .cover__figure img {
    width: clamp(160px, 45vw, 220px);
  }
}

/* ===== หน้ารายงาน (สไลด์ 4) จัดเนื้อหากระชับ เว้นมุมซ้ายล่างให้โลโก้ ===== */
.cover--report {
  align-items: start;
  padding-top: 2vh;
}
.cover--report .headline-xl {
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
  white-space: nowrap;
}
.cover--report .standfirst {
  margin-top: 0.75rem;
}

/* ===== ป้ายข้อมูล (สไลด์ 4) ===== */
.info-badge {
  margin-top: 1.1rem;
  border-left: 5px solid var(--news-red);
  padding-left: 1rem;
}

.info-badge__line {
  font-size: clamp(1rem, 2.1vw, 1.45rem);
  font-weight: 600;
}

.info-badge__name {
  display: inline-block;
  margin-top: 0.6rem;
  background: var(--gold);
  color: #0a0f1c;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 0.35rem 1rem;
  border-radius: 4px;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
}

/* ===== โลโก้มุมซ้ายล่าง ===== */
.corner-logo {
  position: absolute;
  left: 1.5rem;
  bottom: calc(var(--bottom-h) + 1rem);
  z-index: 6;
  background: var(--news-red);
  color: #fff;
  font-family: "Anton", "Sarabun", sans-serif;
  font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: 0.04em;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

/* ===== หน้ารูปกิจกรรม (สไลด์ 17+) ===== */
.photo-slide {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-start;
  padding-top: 1vh;
}

.photo-slide .heading {
  display: flex;
  align-items: center;
  border-left: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.photo-slide__frame {
  margin: 0;
  text-align: center;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.photo-slide__frame img {
  max-width: 100%;
  max-height: 38vh;
  width: auto;
  object-fit: contain;
  border-radius: 12px;
  border: 4px solid #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
}

.photo-slide__caption {
  margin-top: 1rem;
  color: var(--muted);
  font-size: clamp(0.9rem, 1.7vw, 1.2rem);
  font-weight: 600;
}

.slide.is-active .photo-slide__frame img {
  animation: focus-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: 0.2s;
}

/* ===== หน้าเนื้อหาหัวข้อย่อย (สไลด์ 16+) ===== */
.topic__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-right: 0.9rem;
  border-radius: 50%;
  background: var(--news-red);
  color: #fff;
  font-family: "Anton", "Sarabun", sans-serif;
  font-size: 1.5rem;
  vertical-align: middle;
}

.topic .heading {
  display: flex;
  align-items: center;
  border-left: none;
  padding-left: 0;
  margin-bottom: 1.75rem;
}

/* หัวข้อยาว ใช้ฟอนต์เล็กลงให้พอดีบรรทัด */
.heading.heading--sm {
  font-size: clamp(1.05rem, 2.2vw, 1.55rem);
  line-height: 1.25;
  white-space: nowrap;
}

.heading--sm .topic__no {
  flex-shrink: 0;
}

.topic__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.topic__text {
  font-size: clamp(1rem, 1.9vw, 1.35rem);
  line-height: 1.7;
  text-indent: 2.5rem;
}

.topic__box {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 5px solid var(--gold);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  font-size: clamp(1rem, 1.9vw, 1.35rem);
  line-height: 1.7;
}

.slide.is-active .topic__text,
.slide.is-active .topic__box {
  animation: focus-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.slide.is-active .topic__text { animation-delay: 0.2s; }
.slide.is-active .topic__box { animation-delay: 0.35s; }

@media (max-width: 760px) {
  .topic__cols {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* หน้าเนื้อหาที่มีแถวรูปกิจกรรมด้านล่าง (สไลด์ 16) */
.topic--withphotos .heading {
  margin-bottom: 0.6rem;
}
.topic--withphotos .topic__text,
.topic--withphotos .topic__box {
  font-size: clamp(0.72rem, 1.25vw, 0.92rem);
  line-height: 1.4;
}
.topic--withphotos .topic__box {
  padding: 0.7rem 1rem;
}
.topic--withphotos .topic__cols {
  gap: 1.25rem;
  margin-bottom: 0.9rem;
}

.topic__photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* แบบ 2 รูปใหญ่ (สไลด์ 17) */
.topic__photos--duo {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.topic__photos--duo .topic__photo {
  height: clamp(320px, 60vh, 540px);
  align-items: center;
}

/* ถ้ามีข้อความเนื้อหาด้วย (topic__cols) รูป duo ต้องเล็กลงไม่ให้ล้น */
.topic__cols + .topic__photos--duo .topic__photo {
  height: clamp(240px, 44vh, 380px);
}

/* แบบ 5 รูป เรียงแถวเดียว (สไลด์ 22) */
.topic__photos--five {
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
}
.topic__photos--five .topic__photo {
  height: clamp(220px, 40vh, 340px);
}
.slide.is-active .topic__photo:nth-child(4) { animation-delay: 0.66s; }
.slide.is-active .topic__photo:nth-child(5) { animation-delay: 0.78s; }

.topic__photo {
  margin: 0;
  height: clamp(240px, 44vh, 380px);
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 204, 51, 0.16), transparent 60%),
    linear-gradient(180deg, #20304f, #0c1322);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.topic__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.slide.is-active .topic__photo {
  animation: focus-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.slide.is-active .topic__photo:nth-child(1) { animation-delay: 0.3s; }
.slide.is-active .topic__photo:nth-child(2) { animation-delay: 0.42s; }
.slide.is-active .topic__photo:nth-child(3) { animation-delay: 0.54s; }

/* ===== ภาระงานตามที่ ก.ค.ศ. กำหนด (สไลด์ 12) ===== */
.tasks .heading {
  margin-bottom: 1rem;
}

.tasks__sub {
  color: var(--muted);
  font-size: clamp(1rem, 2.1vw, 1.4rem);
  margin-bottom: 1.1rem;
}

.tasks__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
}

/* รายการเดี่ยวเต็มแถว (สไลด์ 13) */
.tasks__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tasks__list .task-chip {
  font-size: clamp(1.05rem, 2.2vw, 1.55rem);
  padding: 0.85rem 1.4rem;
}

.task-chip {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 5px solid var(--news-red);
  border-radius: 10px;
  padding: 0.7rem 1.2rem;
  font-size: clamp(1rem, 2.1vw, 1.45rem);
  font-weight: 600;
}

.task-chip__no {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--news-red);
  color: #fff;
  font-family: "Anton", "Sarabun", sans-serif;
  font-size: 1.2rem;
}

.slide.is-active .task-chip {
  animation: focus-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.slide.is-active .task-chip:nth-child(1) { animation-delay: 0.2s; }
.slide.is-active .task-chip:nth-child(2) { animation-delay: 0.3s; }
.slide.is-active .task-chip:nth-child(3) { animation-delay: 0.4s; }
.slide.is-active .task-chip:nth-child(4) { animation-delay: 0.5s; }
.slide.is-active .task-chip:nth-child(5) { animation-delay: 0.6s; }
.slide.is-active .task-chip:nth-child(6) { animation-delay: 0.7s; }

@media (max-width: 640px) {
  .tasks__grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
}

/* ===== ปฏิบัติการสอน (สไลด์ 11) ===== */
.teach--withfig {
  max-width: 64%;
  margin-left: 1vw;
  margin-right: auto;
}

.teach__class {
  font-family: "Anton", "Sarabun", sans-serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1.05;
  margin-top: 1rem;
}

.teach__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: clamp(180px, 22vw, 260px);
  padding: 1.5rem 2rem;
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  border-bottom: 5px solid var(--news-red);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4);
}

.stat-card__value {
  font-family: "Anton", "Sarabun", sans-serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  color: var(--gold);
}

.stat-card__label {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 600;
}

.slide.is-active .teach > * {
  animation: focus-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.slide.is-active .teach > *:nth-child(1) { animation-delay: 0.15s; }
.slide.is-active .teach > *:nth-child(2) { animation-delay: 0.3s; }
.slide.is-active .teach > *:nth-child(3) { animation-delay: 0.45s; }

/* ===== ประวัติการรับราชการ (สไลด์ 10) ===== */
.service__head {
  margin-bottom: 1.25rem;
}

.service .heading {
  margin-bottom: 0.6rem;
}

.service__name {
  font-weight: 800;
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
}

.service__pos {
  display: inline-block;
  background: var(--news-red);
  color: #fff;
  font-weight: 700;
  font-size: clamp(0.85rem, 1.7vw, 1.15rem);
  padding: 0.2rem 0.8rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.service .info-list__row {
  grid-template-columns: 360px 1fr;
}

/* หน้ารับราชการที่มีรูปพรีเซ็นเตอร์: บีบเนื้อหามาซ้าย เว้นที่ขวาให้รูป */
.service--withfig {
  max-width: 66%;
  margin-left: 1vw;
  margin-right: auto;
}
.service--withfig .info-list__row {
  grid-template-columns: 300px 1fr;
}

@media (max-width: 760px) {
  .service .info-list__row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

/* ===== ประวัติการศึกษา (สไลด์ 7) ===== */
.edu {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

/* หน้าการศึกษาที่มีรูปพรีเซ็นเตอร์: บีบเนื้อหามาซ้าย เว้นที่ขวาให้รูป */
.edu--withfig {
  max-width: 64%;
  margin-left: 1vw;
  margin-right: auto;
}

.edu__level {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--news-red), var(--news-red-dark));
  border-radius: 18px;
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
}

.edu__level-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: 0.1em;
}

.edu__level-name {
  font-family: "Anton", "Sarabun", sans-serif;
  font-weight: 400;
  color: #fff;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1;
  margin-top: 0.4rem;
}

.edu__detail {
  border-left: 5px solid var(--gold);
  padding-left: clamp(1.25rem, 3vw, 2.5rem);
}

.edu__year {
  display: inline-block;
  background: var(--gold);
  color: #0a0f1c;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.35rem 1.1rem;
  border-radius: 4px;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
}

.edu__school {
  font-family: "Anton", "Sarabun", sans-serif;
  font-weight: 400;
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  line-height: 1.1;
  white-space: nowrap;
  margin-top: 1.25rem;
}

/* ตราวิทยาลัย (placeholder แบบข้อความ) */
.edu__seal {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 1.5rem;
  width: clamp(110px, 13vw, 150px);
  height: clamp(110px, 13vw, 150px);
  border-radius: 50%;
  border: 3px solid var(--gold);
  background: rgba(255, 204, 51, 0.08);
  padding: 0.5rem;
}

.edu__seal-th {
  color: var(--gold);
  font-weight: 800;
  font-size: clamp(0.8rem, 1.4vw, 1rem);
  line-height: 1.2;
}

.edu__seal-en {
  color: var(--muted);
  font-size: clamp(0.6rem, 1vw, 0.75rem);
  letter-spacing: 0.06em;
  margin-top: 0.3rem;
}

.slide.is-active .edu__seal {
  animation: focus-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: 0.65s;
}

.slide.is-active .edu__level {
  animation: focus-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: 0.15s;
}
.slide.is-active .edu__year {
  animation: focus-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: 0.35s;
}
.slide.is-active .edu__school {
  animation: focus-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: 0.5s;
}

@media (max-width: 640px) {
  .edu {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .edu__detail {
    border-left: none;
    border-top: 4px solid var(--gold);
    padding-left: 0;
    padding-top: 1.25rem;
  }
}

/* ===== หน้าปิด ขอขอบคุณ (สไลด์ 32) ===== */
.thanks {
  text-align: center;
}

.thanks__title {
  font-family: "Anton", "Sarabun", sans-serif;
  font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 1.05;
  margin: 1rem 0 1.75rem;
}

.thanks__line {
  font-size: clamp(1.1rem, 2.6vw, 1.8rem);
  color: var(--fg);
}

.thanks__pos {
  display: inline-block;
  margin-top: 1.5rem;
  background: var(--news-red);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
}

.slide.is-active .thanks > * {
  animation: focus-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.slide.is-active .thanks > *:nth-child(1) { animation-delay: 0.15s; }
.slide.is-active .thanks > *:nth-child(2) { animation-delay: 0.3s; }
.slide.is-active .thanks > *:nth-child(3) { animation-delay: 0.45s; }
.slide.is-active .thanks > *:nth-child(4) { animation-delay: 0.6s; }
.slide.is-active .thanks > *:nth-child(5) { animation-delay: 0.75s; }

/* ปุ่มเริ่มใหม่ (หน้าปิด) */
.restart-btn {
  display: inline-block;
  margin-top: 2.25rem;
  background: transparent;
  color: var(--fg);
  border: 2px solid var(--gold);
  border-radius: 999px;
  padding: 0.7rem 2rem;
  font-family: "Sarabun", sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.restart-btn:hover {
  background: var(--gold);
  color: #0a0f1c;
  transform: scale(1.05);
}

/* โลโก้มุมขวาบน (เฉพาะหน้าปิด) */
.corner-logo--tr {
  left: auto;
  right: 1.5rem;
  top: 1.25rem;
  bottom: auto;
}

/* หน้าปิด: ขยายพื้นที่เนื้อหา + ซ่อนแถบข่าว/หัวสถานี */
.slide--end {
  padding: 6vh 7vw 22vh;
}

body:has(.slide--end.is-active) .broadcast-top,
body:has(.slide--end.is-active) .broadcast-bottom {
  display: none;
}

/* ===== หน้าคั่นหัวข้อ (สไลด์ 6) ===== */
.section-divider {
  text-align: center;
  position: relative;
  z-index: 2;
}

/* หน้าคั่นที่มีรูปพรีเซ็นเตอร์: ดันข้อความมาซ้าย เว้นที่ขวาให้รูป */
.section-divider--withfig {
  text-align: left;
  margin-right: auto;
  margin-left: 2vw;
  max-width: 60%;
}

/* รูปคนตัดฉาก ยืนด้านขวาของหน้าคั่น */
.divider-figure {
  position: absolute;
  right: 5%;
  bottom: var(--bottom-h);
  height: 66vh;
  width: auto;
  z-index: 3;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

.slide.is-active .divider-figure {
  animation: rise-fig 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: 0.15s;
}

@keyframes rise-fig {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .section-divider--withfig {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }
  .divider-figure {
    opacity: 0.25;
    right: 50%;
    transform: translateX(50%);
  }
}

.section-divider__title {
  font-family: "Anton", "Sarabun", sans-serif;
  font-weight: 400;
  font-size: clamp(2.8rem, 7.5vw, 6rem);
  line-height: 1.02;
  white-space: nowrap;
  text-transform: uppercase;
  margin-top: 1rem;
}

/* ป้ายฉากหลังตัวใหญ่จาง ๆ EXCLUSIVE NEWS */
.section-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Anton", "Sarabun", sans-serif;
  font-size: clamp(4rem, 16vw, 16rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.06);
  text-stroke: 2px rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

.slide.is-active .section-divider__title {
  animation: focus-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: 0.2s;
}
.slide.is-active .section-divider .kicker {
  animation: focus-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

/* ===== ข้อมูลผู้ขอรับการประเมิน (สไลด์ 5) ===== */
.profile {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 2vw;
}

.profile .heading {
  margin-bottom: 0.75rem;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
}

.info-list {
  margin: 0;
}

.info-list__row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 1rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-list__row:last-child {
  border-bottom: none;
}

.info-list dt {
  color: var(--gold);
  font-weight: 700;
  font-size: clamp(0.9rem, 1.7vw, 1.2rem);
  position: relative;
  padding-left: 1rem;
}

.info-list dt::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--news-red);
  font-weight: 800;
}

.info-list dd {
  margin: 0;
  font-size: clamp(0.9rem, 1.7vw, 1.2rem);
  line-height: 1.45;
}

.profile__figure {
  margin: 0;
  justify-self: center;
}

/* ===== รูปคนตัดฉากในหน้ารายงาน (สไลด์ 14) — ไม่มีกรอบ ===== */
.cover__figure--cutout {
  overflow: visible;
  border-radius: 0;
}
.cover__figure--cutout::after {
  display: none; /* ปิดแสงกวาดสำหรับรูปตัดฉาก */
}
.cover__figure.cover__figure--cutout img {
  width: clamp(240px, 28vw, 400px);
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: bottom center;
  border: none;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.5));
}

/* ===== รูปคนแบบตัดฉาก (โปร่งใส) — โล่ง ไม่มีกรอบ เหมือนหน้า 6 ===== */
.profile__figure--cutout {
  position: relative;
  width: clamp(260px, 32vw, 440px);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: none;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.profile__figure.profile__figure--cutout img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: bottom center;
  border: none;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.5));
}

@media (max-width: 760px) {
  .profile__figure--cutout {
    width: clamp(150px, 38vw, 200px);
  }
}

.profile__figure img {
  width: clamp(180px, 18vw, 280px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  border: 4px solid #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
  display: block;
}

/* เอฟเฟกต์แถวข้อมูลไล่ขึ้นทีละแถว */
.slide.is-active .info-list__row {
  animation: focus-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.slide.is-active .info-list__row:nth-child(1) { animation-delay: 0.15s; }
.slide.is-active .info-list__row:nth-child(2) { animation-delay: 0.25s; }
.slide.is-active .info-list__row:nth-child(3) { animation-delay: 0.35s; }
.slide.is-active .info-list__row:nth-child(4) { animation-delay: 0.45s; }
.slide.is-active .info-list__row:nth-child(5) { animation-delay: 0.55s; }
.slide.is-active .info-list__row:nth-child(6) { animation-delay: 0.65s; }
.slide.is-active .info-list__row:nth-child(7) { animation-delay: 0.75s; }

@media (max-width: 760px) {
  .profile {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .profile__figure {
    order: -1;
  }
  .profile__figure img {
    width: clamp(130px, 35vw, 180px);
  }
  .info-list__row {
    grid-template-columns: 130px 1fr;
    gap: 0.5rem;
  }
}

/* ===== หน้าต้อนรับคณะกรรมการ (สไลด์ 2) ===== */
.welcome {
  text-align: center;
}

.welcome__title {
  font-family: "Anton", "Sarabun", sans-serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 3.2rem);
  line-height: 1.25;
  margin-top: 1.25rem;
}

.welcome__position {
  display: inline-block;
  margin-top: 1.75rem;
  background: var(--news-red);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.5rem 1.4rem;
  border-radius: 4px;
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
}

/* เอฟเฟกต์ข้อความค่อย ๆ ชัดขึ้นจากเบลอ (ใช้ร่วมกับหน้าปก) */
.slide.is-active .welcome > * {
  animation: focus-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.slide.is-active .welcome > *:nth-child(1) {
  animation-delay: 0.15s;
}
.slide.is-active .welcome > *:nth-child(2) {
  animation-delay: 0.3s;
}
.slide.is-active .welcome > *:nth-child(3) {
  animation-delay: 0.5s;
}

/* ===== คณะกรรมการ 3 ท่าน (สไลด์ 3) ===== */
.member-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.member {
  position: relative;
  height: clamp(280px, 52vh, 380px);
  margin: 0;
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.member__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* กล่องข้อมูลลอยทับส่วนล่างของรูป (lower-third) */
.member__info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem 1rem 1.25rem;
  background: linear-gradient(
    to top,
    rgba(10, 15, 28, 0.97) 35%,
    rgba(10, 15, 28, 0.75) 70%,
    transparent
  );
  border-top: 4px solid var(--news-red);
}

.member__name {
  font-weight: 800;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
}

.member__role {
  color: var(--gold);
  font-weight: 600;
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  margin-top: 0.2rem;
}

.member__duty {
  color: var(--muted);
  font-size: clamp(0.8rem, 1.3vw, 1rem);
  margin-top: 0.55rem;
}

/* กล่องข้อมูล: ซ่อนใต้รูปเป็นค่าเริ่มต้น แล้วเลื่อนขึ้นเมื่อถูกสั่งโชว์ (JS คุมจังหวะตามเสียง) */
.member__info {
  transform: translateY(115%);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.55s ease;
}

.member__info.is-revealed {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 640px) {
  .member-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
  }
  .member {
    height: clamp(180px, 30vh, 240px);
  }
  .member__info {
    padding: 1.6rem 0.4rem 0.7rem;
  }
}

/* ===== องค์ประกอบข้อความ ===== */
.kicker {
  display: inline-block;
  background: var(--news-red);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 4px;
  font-size: clamp(0.8rem, 1.6vw, 1rem);
  margin-bottom: 1.25rem;
}

.headline-xl {
  font-family: "Anton", "Sarabun", sans-serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.standfirst {
  color: var(--muted);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  margin-top: 1.25rem;
}

.heading {
  font-family: "Anton", "Sarabun", sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  text-transform: uppercase;
  margin-bottom: 2rem;
  padding-left: 1rem;
  border-left: 6px solid var(--news-red);
}

.bullets {
  list-style: none;
  font-size: clamp(1.15rem, 2.5vw, 1.7rem);
}

.bullets li {
  position: relative;
  padding-left: 2.2rem;
  margin-bottom: 1.1rem;
}

.bullets li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: -0.1em;
  color: var(--news-red);
  font-weight: 800;
  font-size: 1.4em;
}

.quote {
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
}

.quote__author {
  color: var(--gold);
  margin-top: 1.5rem;
  font-size: clamp(1rem, 2vw, 1.3rem);
}

.stat-number {
  font-family: "Anton", "Sarabun", sans-serif;
  font-size: clamp(4.5rem, 16vw, 11rem);
  line-height: 1;
  color: var(--gold);
}

/* ===== แถบล่างแบบสถานีข่าว ===== */
.broadcast-bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  height: var(--bottom-h);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* lower-third (แถบหัวข้อข่าว) */
.lower-third {
  display: flex;
  align-items: stretch;
  margin: 0 1.25rem 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.breaking-tag {
  background: var(--news-red);
  color: #fff;
  font-family: "Anton", "Sarabun", sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.6rem);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  padding: 0 1.1rem;
  text-transform: uppercase;
  position: relative;
  animation: flash 2.5s ease-in-out infinite;
}

@keyframes flash {
  0%,
  100% {
    background: var(--news-red);
  }
  50% {
    background: var(--news-red-dark);
  }
}

.lower-third__main {
  flex: 1;
  background: rgba(17, 26, 46, 0.96);
  padding: 0.6rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.lower-third__headline {
  font-weight: 800;
  font-size: clamp(1.1rem, 2.6vw, 1.9rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lower-third__location {
  color: var(--gold);
  font-weight: 600;
  font-size: clamp(0.8rem, 1.6vw, 1rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ticker (ข่าววิ่ง) */
.ticker {
  display: flex;
  align-items: stretch;
  background: #fff;
  color: #0a0f1c;
  height: 38px;
}

.ticker__label {
  background: var(--news-red);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  white-space: nowrap;
  font-size: 0.95rem;
}

.ticker__track {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.ticker__content {
  white-space: nowrap;
  font-weight: 600;
  padding-left: 100%;
  animation: ticker-scroll 28s linear infinite;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* ===== ปุ่มควบคุม ===== */
.controls {
  position: fixed;
  bottom: calc(var(--bottom-h) + 0.75rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(17, 26, 46, 0.85);
  backdrop-filter: blur(8px);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  z-index: 160;
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* เด้งน่ารัก ๆ ตอนวิ่งไป-กลับ */
  transition: left 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
    gap 0.45s ease, padding 0.45s ease;
}

/* กล่องรวมปุ่มที่ย่อ/ขยายได้ */
.controls__group {
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  max-width: 900px;
  opacity: 1;
  transition: max-width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.35s ease;
}

/* สถานะย่อ: วิ่งไปแอบชิดขอบซ้าย เหลือแต่ปุ่ม config */
.controls.is-collapsed {
  left: 0.9rem;
  transform: translateX(0);
  gap: 0;
  padding: 0.35rem;
}

.controls.is-collapsed .controls__group {
  max-width: 0;
  opacity: 0;
}

/* ปุ่มย่อ/ขยาย (config) */
.controls__btn--toggle {
  font-size: 1.2rem;
  color: var(--gold);
  flex-shrink: 0;
}

.controls.is-collapsed .controls__btn--toggle {
  font-size: 1.35rem;
}

.controls__btn {
  background: transparent;
  border: none;
  color: var(--fg);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.55rem;
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s;
}

.controls__btn:hover:not(:disabled) {
  background: var(--news-red);
  transform: scale(1.1);
}

.controls__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.controls__btn--play {
  font-size: 1.1rem;
  color: var(--gold);
}

.controls__btn--play.is-playing {
  color: #fff;
  background: var(--news-red);
}

.controls__btn--sound {
  font-size: 1.1rem;
}

.controls__btn--restart {
  font-size: 1.35rem;
  color: var(--gold);
}

.controls__btn--sound.is-muted {
  opacity: 0.55;
}

/* ===== แถบปรับระดับเสียงในแผงควบคุม ===== */
.controls__vol {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.controls__vol-icon {
  font-size: 1rem;
  line-height: 1;
  opacity: 0.85;
}

.controls__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 70px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  outline: none;
  cursor: pointer;
}

.controls__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.controls__slider::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.controls__counter {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  min-width: 4ch;
  text-align: center;
  font-weight: 600;
}

/* ===== จอเล็ก ===== */
@media (max-width: 640px) {
  :root {
    --bottom-h: 130px;
  }
  .clock {
    display: none;
  }
}

/* ===== เคารพการลดการเคลื่อนไหว ===== */
@media (prefers-reduced-motion: reduce) {
  .slide,
  .progress-bar {
    transition: opacity 0.2s ease;
    transform: none !important;
  }
  .ticker__content,
  .breaking-tag,
  .live__dot,
  .slide.is-active .cover__figure,
  .slide.is-active .cover__figure::after,
  .slide.is-active .cover__text > *,
  .slide.is-active .member__info {
    animation: none !important;
    filter: none !important;
  }
  /* คงกล่องข้อมูลให้เห็นตลอดเมื่อปิดการเคลื่อนไหว */
  .member__info {
    transform: none !important;
    opacity: 1 !important;
  }
}

/* =========================================================
   ปรับแต่งความสวยงาม (POLISH) — เพิ่มมิติ ความสม่ำเสมอ และความคม
   ========================================================= */

/* พื้นหลังมีมิติ ไม่แบนทึบ (เพิ่มแสงฟ้า/แดงจาง ๆ + ไล่เฉดลึก) */
body {
  background:
    radial-gradient(1200px 780px at 80% 12%, rgba(56, 189, 248, 0.06), transparent 60%),
    radial-gradient(1000px 700px at 8% 95%, rgba(209, 20, 20, 0.10), transparent 62%),
    linear-gradient(160deg, #0c1322 0%, var(--bg) 55%, #070b15 100%);
}

/* การ์ด/กล่องทั้งหมดให้มีเฉดและเงาแบบเดียวกัน ดูพรีเมียมและเป็นระเบียบ */
.card,
.member,
.stat-card,
.topic__box,
.task-chip,
.cover__date,
.info-badge__name {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.card,
.member,
.stat-card,
.topic__box,
.task-chip {
  background-image: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 55%);
  border-color: rgba(255, 255, 255, 0.1);
}

/* หัวข้อใหญ่ — เพิ่มน้ำหนักด้วยเงาบาง ๆ ให้อ่านคมขึ้นบนพื้นเข้ม */
.headline-xl,
.section-divider__title,
.thanks__title,
.edu__level-name,
.edu__school,
.stat-number,
.teach__class {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

/* เส้นเน้นหัวข้อ ไล่สีแดง → ทอง ให้ดูประณีตขึ้น */
.heading {
  border-image: linear-gradient(180deg, var(--news-red), var(--gold)) 1;
}

/* ป้ายเล็ก (kicker/eyebrow) ให้คมและมีระยะตัวอักษรสม่ำเสมอ */
.kicker {
  box-shadow: 0 6px 16px rgba(209, 20, 20, 0.35);
}

/* ป้ายทอง (วันที่/ชื่อ/ปี) เพิ่มประกายนุ่ม ๆ */
.cover__date,
.info-badge__name,
.edu__year,
.stat-card__value,
.thanks .kicker {
  text-rendering: optimizeLegibility;
}

/* lower-third ให้ดูมีมิติ + เส้นทองคั่นบาง ๆ ด้านบน */
.lower-third__main {
  background: linear-gradient(180deg, rgba(22, 33, 57, 0.97), rgba(14, 22, 40, 0.97));
  border-top: 2px solid rgba(255, 204, 51, 0.5);
}

/* แถบ BREAKING ให้เด่นด้วยเงาด้านขวา */
.breaking-tag {
  box-shadow: 6px 0 18px rgba(209, 20, 20, 0.4);
}

/* ปุ่มควบคุม — กรอบเนียนขึ้น + เงาลอย */
.controls {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.12);
}

/* การ์ดกรรมการ — ภาพซูมเล็กน้อยตอน hover ให้ดูมีชีวิต (เฉพาะจอที่ชี้ได้) */
@media (hover: hover) {
  .member {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
  }
  .member:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.55);
  }
}

/* รูปหน้าปก/รูปประกอบ — กรอบขาวนวลขึ้นเล็กน้อย */
.cover__figure img,
.profile__figure img,
.photo-slide__frame img {
  border-color: #f1f5f9;
}

/* เลขวงกลมหัวข้อ — ไล่เฉดแดงให้ดูมีมิติ */
.topic__no,
.task-chip__no {
  background: radial-gradient(circle at 35% 30%, #f0413f, var(--news-red) 70%);
  box-shadow: 0 4px 12px rgba(209, 20, 20, 0.5);
}

/* แถบความคืบหน้า (เด็ค) ไล่เฉดแดง → ทองให้สวยขึ้น */
.progress-bar {
  background: linear-gradient(90deg, var(--news-red), var(--gold));
}
