/* ====================================================
   HOME PAGE STYLES (SX 2026)
   ==================================================== */

.home-page {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

@media (min-width: 513px) and (max-width: 992px) {
  .home-page .desktop {
    display: block;
  }

  .home-page .mobile {
    display: none;
  }
}

.home-page #banner,
.home-page #programfront,
.home-page #programarchive,
.home-page #bgbrown,
.home-page #newsfront {
  font-size: 15px;
  line-height: 20px;
}

.home-page #programfront .btn-white,
.home-page #programarchive .btn-white,
.home-page #bgbrown .btn-white,
.home-page #newsfront .btn-white,
.home-page #newsfront .btn-blue {
  padding: 5px 5px;
}

.home-page .small {
  font-size: 12px;
  line-height: 14px;
  font-weight: 400;
}

/* ---------- SECTION DIVIDERS ---------- */
.section-divider {
  width: 150px;
  height: 5px;
  background: var(--white);
  margin-bottom: 15px;
}

.section-divider2 {
  width: 150px;
  height: 5px;
  background: var(--darkblue);
  margin-bottom: 10px;
}

.section-divider3 {
  width: 150px;
  height: 5px;
  background: var(--brown);
  margin-top: -10px;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- COUNTDOWN ---------- */
#countdown-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 25px 12px 10px;
  color: var(--white);
  background: var(--darkblue);
}

#countdown {
  display: flex;
  gap: clamp(8px, 3vw, 18px);
  flex-wrap: nowrap;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  margin-bottom: 20px;
}

.time-box {
  flex: 1 1 0;
  max-width: 95px;
  aspect-ratio: 1 / 1;
  background-color: #cc8900;
  backdrop-filter: blur(12px);
  border: 1px dotted rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 30px rgba(255, 255, 255, .15);
  min-width: 0;
}

.time-box span {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1;
}

.time-box small {
  margin-top: 6px;
  opacity: .8;
  font-size: clamp(8px, 2vw, 12px);
  letter-spacing: .5px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- HERO VIDEO ---------- */
.hero-video {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-h));
  min-height: 360px;
  overflow: hidden;
}

/* LIVE_EVENT — increase width desktop player */
@media (min-width: 992px) {
  .home-page .hero-video.home-hero-live-active>#live-stream {
    width: calc(100% - 48px);
    max-width: 1540px;
  }
}

/* Keep the original wrapping behavior for larger screens */
.hero-video #live-stream-channel-buttons {
  flex-wrap: wrap;
}

/* LIVE_EVENT — Compact mobile layout */
@media (max-width: 767.98px) {

  /* Prevent the unused Preview video from occupying space */
  .home-page .hero-video.home-hero-live-active>#homeHeroVideo {
    display: none;
  }

  /* Reduce spacing around the Live Stream section */
  .home-page .hero-video.home-hero-live-active>#live-stream {
    margin-top: 10px;
    margin-bottom: 12px;
  }

  /* Reduce space between player and heading */
  .home-page .hero-video #live-stream-channels h6 {
    margin-top: 6px !important;
    margin-bottom: 2px !important;
    line-height: 1.2;
  }

  /* Reduce spacing below the channel section */
  .home-page .hero-video #live-stream-channels {
    margin-bottom: 8px !important;
  }

  /* Keep three channel buttons in one row */
  .home-page .hero-video #live-stream-channel-buttons {
    flex-wrap: nowrap;
    gap: 4px;
    width: 100%;
    margin-top: 0 !important;
    margin-bottom: 4px !important;
  }

  .home-page .hero-video>#live-stream #live-stream-channel-buttons .btn-stream {
    flex: 0 1 auto;
    /* Stop buttons expanding */
    width: auto;
    max-width: calc((100% - 12px) / 3);
    min-width: 0;
    padding: 6px 10px;
    margin: 0;
    font-size: 12px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.home-page .home-countdown-pending {
  display: flex;
  min-height: 250px;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 25px 12px 8px;
}

.home-page .home-countdown-skeleton {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 420px);
  gap: 14px;
}

.home-page .home-countdown-skeleton-line,
.home-page .home-countdown-skeleton-boxes span {
  display: block;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
}

.home-page .home-countdown-skeleton-line {
  width: 65%;
  height: 14px;
}

.home-page .home-countdown-skeleton-line-short {
  width: 30%;
  height: 10px;
}

.home-page .home-countdown-skeleton-line-wide {
  width: 85%;
  height: 18px;
}

.home-page .home-countdown-skeleton-boxes {
  display: grid;
  grid-template-columns: repeat(4, minmax(44px, 1fr));
  width: 100%;
  gap: 10px;
}

.home-page .home-countdown-skeleton-boxes span {
  min-height: 60px;
}

.home-page [data-home-countdown][hidden],
.home-page [data-home-countdown-column][hidden],
.home-page [data-home-countdown-pending][hidden],
.home-page [data-home-live-event][hidden],
.home-page [data-home-live-zones][hidden],
.home-page [data-home-experience][hidden],
.home-page [data-home-experience-navigation][hidden],
.home-page [data-home-experience-content][hidden] {
  display: none !important;
}

@media (max-width: 991.98px) {
  .home-page .home-countdown-pending {
    min-height: 112px;
    padding: 14px 12px;
  }

  .home-page .home-countdown-skeleton {
    gap: 10px;
  }

  .home-page .home-countdown-skeleton-line-wide,
  .home-page .home-countdown-skeleton-line:not(.home-countdown-skeleton-line-short) {
    display: none;
  }

  .home-page .home-countdown-skeleton-boxes span {
    min-height: 48px;
  }
}

.hero-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

.hero-video>#live-stream {
  position: relative;
  z-index: 2;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

.hero-video [data-home-hero-live-container][hidden],
.hero-video [data-home-hero-live-frame][hidden],
.hero-video [data-home-hero-live-player][hidden],
.hero-video [data-home-hero-live-video][hidden],
.hero-video [data-home-hero-live-image][hidden],
.hero-video [data-home-hero-live-unavailable][hidden],
.hero-video [data-home-hero-channel-controls][hidden],
.hero-video [data-home-hero-channel][hidden] {
  display: none !important;
}

.hero-video.home-hero-live-active {
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  overflow: visible;
}

.hero-video>#live-stream .video-container {
  position: relative;
  width: 100%;
  height: 520px;
  max-height: 75vh;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-video>#live-stream .video-container iframe,
.hero-video>#live-stream .video-container video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: contain;
  transform: none;
}

.hero-video>#live-stream .home-hero-live-unavailable {
  position: absolute;
  inset: 0;
  background: #000;
}

.hero-video>#live-stream [data-home-hero-live-image] .desktop {
  display: block;
  width: 100%;
}

.hero-video>#live-stream [data-home-hero-live-image] .mobile {
  display: none;
  width: 100%;
}

.hero-video>#live-stream .stream-box .btn-stream {
  background-color: #bebcbc;
  border-color: #bebcbc;
  color: #ffffff;
  font-weight: 500;
  padding: 8px 22px;
  border-radius: 30px;
  transition: all 0.3s ease;
  margin: 4px 6px;
  cursor: pointer;
}

.hero-video>#live-stream .stream-box .btn-stream:hover,
.hero-video>#live-stream .stream-box .btn-stream.btn-active {
  background-color: #21396d;
  border-color: #21396d;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(33, 57, 109, 0.4);
}

.hero-video>#live-stream .stream-box .btn-stream:disabled,
.hero-video>#live-stream .stream-box .btn-stream[aria-disabled="true"] {
  background-color: #bebcbc;
  border-color: #bebcbc;
  color: #ffffff;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
}

@media (max-width: 768px) {
  .hero-video {
    position: static;
    height: auto;
    min-height: 0;
    aspect-ratio: 16/9;
  }

  .hero-video video {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .hero-video>#live-stream .video-container {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* POST_EVENT banners keep their source aspect ratio instead of inheriting the
   fixed preview-video viewport or the mobile 16:9 frame. */
.home-page .hero-video[data-presentation="banners"] {
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  overflow: hidden;
}

.home-page .hero-video[data-presentation="banners"] [data-home-hero-banner-carousel],
.home-page .hero-video[data-presentation="banners"] [data-home-hero-banner-inner],
.home-page .hero-video[data-presentation="banners"] .carousel-item,
.home-page .hero-video[data-presentation="banners"] .carousel-item>a,
.home-page .hero-video[data-presentation="banners"] .carousel-item>div,
.home-page .hero-video[data-presentation="banners"] .carousel-item picture {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.home-page .hero-video[data-presentation="banners"] .carousel-item img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 512px) {
  .hero-video>#live-stream [data-home-hero-live-image] .desktop {
    display: none;
  }

  .hero-video>#live-stream [data-home-hero-live-image] .mobile {
    display: block;
  }
}

/* ---------- SLOGAN ---------- */
.slogan {
  width: 100%;
  max-width: 500px;
}

@media (max-width: 512px) {
  .slogan {
    max-width: 250px;
  }
}

/* ---------- BANNER CAROUSEL & 10 DAYS ---------- */
#banner {
  color: var(--white);
  background: var(--darkblue);
  box-shadow: inset 0 -12px 12px -12px rgba(0, 0, 0, 0.2);
}

#banner .carousel-item {
  height: auto;
  width: 100%;
  margin-top: 10px;
}

#banner .carousel-item img {
  width: 100%;
  height: auto;
  display: block;
  border: 0px;
}

#banner .carousel-item picture {
  display: block;
}

.home-highlight-image-missing {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.12);
}

#banner .carousel-item img:hover {
  border-color: var(--white);
  transition: all .5s;
}

#banner .carousel-indicators {
  display: none;
}

.banner-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 22px 0 8px;
}

.banner-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .6);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease, width .25s ease;
}

.banner-dots button:hover {
  transform: scale(1.15);
  border-color: var(--white);
}

.banner-dots button.active {
  background: var(--orange);
  border-color: var(--orange);
  width: 30px;
  border-radius: 7px;
}

.dayfront {
  width: 80px;
  margin-right: 10px;
  margin-bottom: 10px;
}

#image-tab .dayfront:hover {
  transform: scale(1.15);
}

@media (max-width: 512px) {
  .dayfront {
    width: 35px;
    margin-right: 5px;
    margin-bottom: 5px;
  }
}

.tab-close {
  font-size: 2rem;
  top: 0px;
  margin-top: -10px;
  margin-right: 10px;
  float: right;
  color: var(--white);
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.tab-content {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1px 5px 30px;
}

/* Keep the Home experience tabs on the manager design instead of inheriting
   the orange, fixed-height tab-panel treatment used by inner pages. */
.home-page #image-tabContent {
  color: inherit;
}

.home-page #image-tabContent>.tab-pane {
  color: inherit;
  min-height: 0;
}

/* ---------- TAB SCROLL ---------- */
.tab-scroll {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tab-scroll::-webkit-scrollbar {
  display: none;
}

@media (min-width: 769px) {
  .tab-scroll {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

/* ---------- LIVE EVENT MAIN ZONES ---------- */
.home-page #zonebox {
  background-image: url(../../images/bg2026.png);
  background-position: top center;
  background-size: cover;
}

.home-page .home-live-zones-container {
  padding-top: 30px;
}

.home-page .home-live-zone-app {
  width: 100%;
  max-width: 700px;
}

.home-page .home-live-zones-description {
  margin: 0;
}

.home-page .zoneSwiper .zonebox {
  width: 145px;
  max-width: 100%;
  height: auto;
  padding-left: 5px;
  margin-bottom: 20px;
}

@media (min-width: 992px) {
  .home-page .zoneSwiper .swiper-wrapper {
    gap: 10px;
    transform: none !important;
    transition: none !important;
  }

  .home-page .zoneSwiper .swiper-slide {
    flex: 1 1 0;
    width: auto !important;
    min-width: 0;
    max-width: 145px;
    margin-right: 0 !important;
    text-align: center;
  }
}

/* ---------- DATE BADGE ---------- */
.date-badge {
  display: flex;
  align-items: center;
  background-color: rgba(204, 137, 0, .7);
  border: 4px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(1px);
  border-radius: 3px;
  padding: 12px 20px;
  width: fit-content;
  width: 100%;
  min-width: 240px;
  max-width: 380px;
  gap: 10px;
  margin-bottom: 20px;
  margin-left: 20px;
}

.date-badge-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
  line-height: 1;
  min-width: 60px;
}

.date-badge-day {
  font-size: 3.2rem;
  font-weight: 700;
}

#programfront .date-badge-day--range {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  font-size: 1.65rem;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1;
}

.date-badge-month {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 4px;
}

.date-badge-year {
  font-size: 0.65rem;
  font-weight: 400;
  opacity: .85;
  margin-top: 2px;
}

.date-badge-divider {
  border: 2px dashed rgba(255, 255, 255, 0.7);
  align-self: stretch;
}

.date-badge-time {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 512px) {
  .date-badge {
    gap: 14px;
    margin-left: 0px;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 10px;
    width: 100%;
    min-width: 250px;
  }

  #programfront .date-badge {
    height: 80px;
  }

  .date-badge-day {
    font-size: 1.2rem;
  }

  #programfront .date-badge-day--range {
    min-height: 1.65rem;
  }

  .date-badge-time {
    font-size: 0.95rem;
  }
}

/* ---------- PROGRAM FRONT (SX 2026 PROGRAMS & ACTIVITIES) ---------- */
.home-page [data-home-program-running-card][hidden],
.home-page [data-home-program-archive-card][hidden],
.home-page [data-home-programs-running-heading][hidden],
.home-page [data-home-programs-archive-heading][hidden] {
  display: none !important;
}

#programfront {
  background: var(--brown);
  border-top: 2px dotted rgba(255, 255, 255, 0.3);
  border-bottom: 2px dotted rgba(255, 255, 255, 0.3);
}

/* ---------- AFTER EVENT SUMMARY ---------- */
.home-page #bgbrown {
  color: var(--white);
  background: var(--brown);
}

.home-page #bgbrown .home-event-summary-icon {
  width: 120px;
  max-width: 100%;
  height: auto;
}

.home-page #bgbrown .box {
  width: 100%;
  height: auto;
  min-height: 120px;
  margin-bottom: 20px;
  padding: 10px;
  border-radius: 6px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
}

.home-page #bgbrown .box .title {
  font-size: 50px;
}

/* The manager's summary action has no confirmed destination yet. */
.home-page #bgbrown .btn-white[aria-disabled="true"] {
  cursor: default;
}

/* ---------- AFTER EVENT ARCHIVED PROGRAMS ---------- */
#programarchive {
  background: var(--green);
  border-top: 2px dotted rgba(255, 255, 255, 0.3);
  border-bottom: 2px dotted rgba(255, 255, 255, 0.3);
}

#programarchive .program-card>picture img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

#programarchive [data-home-program-archive-card] {
  width: 100%;
}

#programarchive .swiper-wrapper {
  justify-content: flex-start;
}

@media (min-width: 992px) {
  #programarchive .swiper-wrapper {
    justify-content: center;
  }
}

.program-title {
  color: var(--white);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 600;
}

.programs-header {
  margin-bottom: 32px;
}

.programs-title-main {
  font-family: 'Roboto', 'Noto Sans Thai', 'IBM Plex Sans Thai', sans-serif;
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.programs-title-sub {
  font-family: 'Roboto', 'Noto Sans Thai', 'IBM Plex Sans Thai', sans-serif;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.programSwiper {
  padding: 10px 0px 60px;
}

.programSwiper .swiper-slide {
  height: auto;
  color: var(--white);
}

.programSwiper .program-card {
  height: 100%;
}

.programSwiper .swiper-pagination-bullet {
  width: 20px;
  height: 20px;
  opacity: 0.4;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.programSwiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.5);
}

.program-slide-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.program-slide-link:hover,
.program-slide-link:focus {
  color: inherit;
}

.program-card {
  border-radius: 4px;
  overflow: hidden;
  transition: all .3s;
}

.program-card img {
  width: 100%;
  display: block;
}

.program-card picture {
  display: block;
}

/* The Laravel picture wrapper must remain dimensionally transparent: the
   manager's program artwork uses its natural ratio at the full slide width. */
.home-page .programSwiper .program-card>picture img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.program-card-image-missing {
  width: 100%;
  aspect-ratio: 16 / 9.2;
  background: rgba(255, 255, 255, 0.12);
}

.program-card .iconmore img {
  width: 25px;
  float: right;
}

.iconmore hr {
  width: 100%;
  border: 1px solid rgba(188, 188, 188, 1);
  margin-top: 30px;
}

.program-card:hover {
  border-color: var(--white);
  transform: translateY(-6px);
}

.program-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9.2;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.program-card-info-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 14px;
  flex: 1 1 auto;
}

/* Date Badge Box */
.program-date-box {
  flex: 0 0 54%;
  max-width: 54%;
  border: 2px solid #ffffff;
  background: rgba(204, 137, 0, 0.4);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  border-radius: 0;
  box-sizing: border-box;
}

.program-date-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  min-width: 48px;
}

.program-date-day {
  font-family: 'Roboto', sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
}

.program-date-month {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-top: 2px;
  line-height: 1;
}

.program-date-year {
  font-size: 10px;
  color: #ffffff;
  opacity: 0.85;
  margin-top: 2px;
  line-height: 1;
}

.program-date-divider {
  border-right: 1.5px dashed rgba(255, 255, 255, 0.7);
  height: 100%;
  min-height: 48px;
  margin: 0 10px;
}

.program-date-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
  line-height: 1.25;
  overflow: hidden;
}

.program-date-time {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

.program-date-location {
  font-size: 11px;
  color: #ffffff;
  opacity: 0.9;
  margin-top: 5px;
}

.program-date-venue {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

/* Card Content & Action */
.program-card-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.program-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 8px;
}

.program-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 4px;
}

.program-more-text {
  font-size: 11.5px;
  font-weight: 500;
  color: #ffffff;
  opacity: 0.95;
  white-space: nowrap;
}

.program-info-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 2px;
  display: block;
}

/* VIEW ALL button */
.btn-programs-view-all {
  display: inline-block;
  border: 2px solid #ffffff;
  background: transparent;
  color: #ffffff;
  padding: 8px 38px;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-decoration: none;
  transition: all 0.25s ease;
  border-radius: 0;
}

.btn-programs-view-all:hover {
  background: #ffffff;
  color: var(--brown, #cc8900);
  text-decoration: none;
}

@media (max-width: 512px) {
  .home-page #bgbrown .box .title {
    font-size: 30px;
  }

  .program-date-box {
    flex: 0 0 56%;
    max-width: 56%;
    padding: 6px 8px;
  }

  .program-date-day {
    font-size: 34px;
  }

  .program-date-time {
    font-size: 12px;
  }

  .program-card-title {
    font-size: 13px;
  }
}

/* ---------- NEWS FRONT (SX MOVEMENT) ---------- */
#newsfront {
  background-color: ##d9f1d5;
  padding: 0px;
  background-image: url(../../images/bg2026.png);
  background-position: top left;
  background-size: cover;
  padding-bottom: 90px;
}

.movement-highlight-copy,
.news-card-link-wrap {
  color: inherit;
  text-decoration: none;
}

.movement-highlight-copy:hover,
.movement-highlight-copy:focus,
.news-card-link-wrap:hover,
.news-card-link-wrap:focus {
  color: inherit;
  text-decoration: none;
}

#newsfront .title {
  text-transform: uppercase;
}

.hightlightnews {
  padding-top: 30px;
  margin-bottom: 20px;
  margin-left: 15px;
  width: 100%;
  height: auto;
  display: block;
}

.leftline {
  border: 1px solid var(--darkblue);
  border-top: 0px;
  border-bottom: 0px;
  border-right: 0px;
  padding: 5px;
  padding-right: 10px;
  margin-left: 20px;
  margin-top: 10px;
}

.hightlightnewstab {
  background-color: var(--darkblue);
  margin-bottom: 30px;
  color: var(--white);
}

@media (max-width: 512px) {
  .hightlightnews {
    padding-top: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
  }
}

/* ---------- NEWS CARD ---------- */
.news-card {
  position: relative;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.09);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, opacity .3s ease;
  margin-bottom: 30px;
  min-height: 420px;
  padding-bottom: 50px;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
  border-color: rgba(0, 0, 0, 0.2);
}

.news-card-wrap {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.news-card-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform .4s ease;
}

.news-card:hover .news-card-wrap img {
  transform: scale(1.06);
}

.news-title {
  color: var(--darkblue);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 400;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  margin-top: 14px;
  margin-left: 20px;
  transition: gap .2s ease;
}

.news-card-link:hover {
  gap: 10px;
}

.camera-link {
  position: absolute;
  left: 20px;
  bottom: 14px;
  display: inline-block;
  line-height: 0;
}

.news-card .camera {
  width: 30px;
  margin: 0;
}

/* ---------- VIDEO MODAL ---------- */
#videoModal .modal-content {
  background: transparent;
  border: none;
  overflow: visible;
}

#videoModal .video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

#videoModal .video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.btn-close-video {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease;
}

.btn-close-video:hover {
  transform: scale(1.15);
}
