    :root {
      --brand-red: #50ae64;
      --brand-red-dk: #50ae64;
      --brand-red-lt: #50ae64;
      --dark-nav: #1a1a1a;
      --dark-footer: #111111;
      --gray-bg: #f5f5f5;
      --gray-border: #e0e0e0;
      --text-main: #212121;
      --text-muted: #757575;
      --white: #ffffff;
      --success-soft: #e6faf7;
      --success-text: #0a6f64;
      --warning-soft: #fff1e5;
      --warning-text: #9b4c11;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: "Sarabun", sans-serif;
      background: var(--gray-bg);
      color: var(--text-main);
      font-size: 15px;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    a:hover {
      color: var(--brand-red);
    }

    .btn-danger,
    .btn-danger:hover,
    .btn-danger:focus,
    .btn-danger:active,
    .btn-outline-danger:hover,
    .btn-outline-danger:focus,
    .btn-outline-danger:active {
      background: var(--brand-red) !important;
      border-color: var(--brand-red) !important;
      color: #fff !important;
    }

    .btn-outline-danger {
      color: var(--brand-red) !important;
      border-color: var(--brand-red) !important;
    }

    .text-danger {
      color: var(--brand-red) !important;
    }

    .news-ticker {
      background: var(--brand-red);
      color: #fff;
      font-size: 13px;
      overflow: hidden;
      white-space: nowrap;
    }

    .ticker-label {
      background: var(--brand-red-dk);
      padding: 6px 14px;
      font-weight: 700;
      letter-spacing: .5px;
      flex-shrink: 0;
    }

    .ticker-wrapper {
      overflow: hidden;
      padding: 6px 0;
      flex: 1;
      cursor: pointer;
    }

    .ticker-wrapper:hover .ticker-track {
      animation-play-state: paused;
    }

    .ticker-track a {
      color: #fff;
      text-decoration: none;
    }

    .ticker-track a:hover {
      text-decoration: underline;
    }

    .ticker-track {
      display: inline-block;
      animation: ticker linear infinite;
      animation-duration: 35s;
      /* fallback — JS will override */
      padding-left: 100%;
    }

    @keyframes ticker {
      0% {
        transform: translateX(0);
      }

      100% {
        transform: translateX(-100%);
      }
    }

    .breaking-badge {
      background: var(--brand-red);
      color: #fff;
      font-size: 11px;
      font-weight: 800;
      padding: 2px 7px;
      border-radius: 3px;
      animation: pulse 1.5s infinite;
    }

    @keyframes pulse {

      0%,
      100% {
        opacity: 1;
      }

      50% {
        opacity: .6;
      }
    }

    .top-header {
      background: var(--white);
      background: linear-gradient(rgb(230, 230, 230) 0%, rgb(255, 255, 255) 15%, rgb(255, 255, 255) 100%);
      border-bottom: 1px solid var(--gray-border);
      padding: 10px 0;
    }

    .logo-text {
      display: inline-block;
      max-width: 420px;
      font-family: 'Kanit', sans-serif;
      font-size: 18px;
      font-weight: 300;
      line-height: 1.16;
      color: #363636;
      letter-spacing: -.4px;
    }

    .logo-text span {
      color: var(--dark-nav);
    }

    .brand-lockup {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
    }

    .brand-logo-link {
      display: inline-flex;
      flex: 0 0 auto;
      align-items: center;
    }

    .brand-logo {
      display: block;
      width: 90px;
      height: auto;
      object-fit: contain;
    }

    .brand-copy {
      min-width: 0;
    }

    .header-date {
      font-size: 13px;
      color: var(--text-muted);
    }

    .header-status {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 8px;
    }

    .social-icons a {
      color: var(--text-muted);
      font-size: 18px;
      margin-left: 10px;
      transition: color .2s;
    }

    .social-icons a:hover {
      color: var(--brand-red);
    }

    .live-tv-btn {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      min-height: 36px;
      padding: 7px 16px;
      border-radius: 6px;
      border: 1px solid rgba(220, 53, 69, .3);
      background: #fff;
      color: #c0392b;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: .02em;
      line-height: 1.2;
      text-decoration: none;
      cursor: pointer;
      transition: background .18s, border-color .18s, color .18s, box-shadow .18s;
      white-space: nowrap;
    }

    .live-tv-btn:hover {
      background: #fff5f5;
      border-color: rgba(220, 53, 69, .55);
      color: #a93226;
      text-decoration: none;
      box-shadow: 0 2px 8px rgba(220, 53, 69, .12);
    }

    .live-tv-btn.is-active {
      background: #fff5f5;
      border-color: rgba(220, 53, 69, .4);
      color: #c0392b;
      box-shadow: 0 0 0 3px rgba(220, 53, 69, .08);
    }

    .live-tv-btn .live-dot {
      display: inline-block;
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #e52d27;
      animation: livePulse 1.4s ease-in-out infinite;
      flex-shrink: 0;
    }

    @keyframes livePulse {

      0%,
      100% {
        opacity: 1;
        transform: scale(1);
      }

      50% {
        opacity: .4;
        transform: scale(.7);
      }
    }

    .radio-link {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      color: var(--text-muted);
      font-size: 13px;
      font-weight: 700;
      text-decoration: none;
      transition: color .2s;
    }

    .radio-link:hover {
      color: var(--brand-red);
    }

    .main-nav {
      background: var(--dark-nav);
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    .main-nav .navbar-brand {
      display: none;
      color: var(--brand-red) !important;
      font-weight: 800;
      font-size: 16px;
      line-height: 1.2;
      white-space: normal;
    }

    .main-nav .nav-link {
      color: rgba(255, 255, 255, .85) !important;
      font-weight: 600;
      font-size: 14px;
      padding: 12px 14px !important;
      border-bottom: 3px solid transparent;
      transition: all .2s;
    }

    .main-nav .nav-link:hover,
    .main-nav .nav-link.active {
      color: #fff !important;
      border-bottom-color: var(--brand-red);
    }

    .main-nav .dropdown-menu {
      background: var(--dark-nav);
      border: none;
      border-top: 3px solid var(--brand-red);
      border-radius: 0;
      min-width: 180px;
    }

    .main-nav .dropdown-item {
      color: rgba(255, 255, 255, .75);
      font-size: 14px;
      padding: 8px 16px;
    }

    .main-nav .dropdown-item:hover {
      background: var(--brand-red);
      color: #fff;
    }

    .main-nav .dropdown-item.active,
    .main-nav .dropdown-item:active {
      background: rgba(255, 255, 255, .14);
      color: #fff;
    }

    @media (min-width: 992px) {
      .main-nav .dropdown:hover>.dropdown-menu {
        display: block;
        margin-top: 0;
      }
    }

    .main-nav input.form-control {
      height: 31px;
    }

    .nav-search-form {
      display: flex;
      align-items: center;
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.18);
      border-radius: 999px;
      overflow: hidden;
      transition: border-color .2s, background .2s;
    }
    .nav-search-form:focus-within {
      background: rgba(255,255,255,.13);
      border-color: rgba(255,255,255,.38);
    }
    .nav-search-form input.nav-search-input {
      -webkit-appearance: none;
      appearance: none;
      background: transparent !important;
      border: none !important;
      box-shadow: none !important;
      color: #fff !important;
      font-size: 13px;
      font-family: "Sarabun", sans-serif;
      padding: 6px 10px 6px 14px;
      width: 170px;
      outline: none;
    }
    .nav-search-form input.nav-search-input::placeholder {
      color: rgba(255,255,255,.45);
    }
    .nav-search-form input.nav-search-input::-webkit-search-cancel-button {
      -webkit-appearance: none;
    }
    .nav-search-submit {
      background: none;
      border: none;
      color: rgba(255,255,255,.65);
      padding: 6px 13px 6px 4px;
      cursor: pointer;
      display: flex;
      align-items: center;
      font-size: 14px;
      transition: color .2s;
    }
    .nav-search-submit:hover {
      color: #fff;
    }

    .navbar-toggler {
      border-color: rgba(255, 255, 255, .3);
    }

    .navbar-toggler-icon {
      filter: invert(1);
    }

    .section-wrap {
      background: var(--white);
      border-radius: 6px;
      padding: 20px;
      margin-bottom: 24px;
    }

    .section-heading {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 16px;
    }

    .section-heading h2 {
      font-size: 20px;
      font-weight: 800;
      margin: 0;
      padding-left: 12px;
      border-left: 5px solid var(--brand-red);
    }

    .section-heading .view-all {
      margin-left: auto;
      font-size: 13px;
      color: var(--brand-red);
      font-weight: 600;
    }

    .section-heading .view-all:hover {
      text-decoration: underline;
    }

    .section-submeta {
      display: flex;
      flex-wrap: wrap;
      gap: 10px 16px;
      margin-top: 10px;
      font-size: 13px;
      color: var(--text-muted);
    }

    .section-note {
      margin: 0;
      font-size: 13px;
      color: var(--text-muted);
      font-weight: 600;
    }

    .category-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-left: auto;
    }

    .category-chip {
      border: 1px solid var(--gray-border);
      background: #fff;
      color: var(--text-muted);
      border-radius: 999px;
      padding: 8px 14px;
      font-size: 13px;
      font-weight: 700;
      line-height: 1.2;
      transition: all .2s ease;
    }

    .category-chip:hover,
    .category-chip.is-active {
      background: var(--brand-red);
      border-color: var(--brand-red);
      color: #fff;
    }

    .cover {
      position: relative;
      overflow: hidden;
      min-height: 220px;
    }

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

    .cover__placeholder {
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      width: 100%;
      height: 100%;
      min-height: inherit;
      padding: 22px;
      color: #fffaf3;
      background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .22), transparent 34%),
        linear-gradient(135deg, var(--cover-start), var(--cover-end));
    }

    .cover__placeholder::after {
      content: "";
      position: absolute;
      inset: 16px;
      border-radius: 7px;
      border: 1px solid rgba(255, 255, 255, .22);
      pointer-events: none;
    }

    .cover__label {
      font-size: .82rem;
      letter-spacing: .12em;
      text-transform: uppercase;
      opacity: .88;
    }

    .cover__title {
      width: min(260px, 100%);
      margin: 10px 0 0;
      font-size: clamp(1.2rem, 2vw, 1.9rem);
      font-weight: 700;
      line-height: 1.05;
    }

    .cover__corner {
      position: absolute;
      right: 18px;
      top: 18px;
      padding: 8px 10px;
      border-radius: 999px;
      background: rgba(255, 255, 255, .15);
      backdrop-filter: blur(10px);
      font-size: .8rem;
    }

    .hero-card {
      position: relative;
      border-radius: 6px;
      overflow: hidden;
      display: block;
      height: 100%;
      background: #ddd;
    }

    .hero-card .cover {
      width: 100%;
      height: 100%;
      min-height: 240px;
      aspect-ratio: 16 / 9;
    }

    .hero-card .cover__label,
    .hero-card .cover__title,
    .hero-card .cover__corner {
      display: none;
    }

    .hero-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(transparent, rgba(0, 0, 0, .85));
      padding: 30px 18px 18px;
    }

    .hero-overlay .badge-cat {
      background: var(--brand-red);
      color: #fff;
      font-size: 12px;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 3px;
      display: inline-block;
      margin-bottom: 8px;
    }

    .hero-overlay h3 {
      color: #fff;
      font-size: 18px;
      font-weight: 800;
      line-height: 1.45;
      margin: 0 0 8px;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .hero-overlay .meta {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
      color: rgba(255, 255, 255, .78);
    }

    .hero-stat-chip {
      position: absolute;
      top: 14px;
      right: 14px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 11px;
      border-radius: 999px;
      background: rgba(0, 0, 0, .45);
      color: #fff;
      font-size: 12px;
      font-weight: 700;
      backdrop-filter: blur(10px);
      box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
    }

    .hero-card--compact .hero-overlay {
      padding: 16px 14px 12px;
    }

    .hero-card--compact .hero-overlay h3 {
      font-size: 15px;
      -webkit-line-clamp: 2;
    }

    .hero-card--compact .hero-stat-chip {
      top: 10px;
      right: 10px;
      padding: 6px 9px;
      font-size: 11px;
    }

    .news-card {
      background: var(--white);
      border-radius: 6px;
      overflow: hidden;
      transition: box-shadow .2s;
      height: 100%;
    }

    .news-card:hover {
      box-shadow: 0 4px 20px rgba(0, 0, 0, .12);
    }

    .news-card .cover {
      width: 100%;
      min-height: unset;
      aspect-ratio: 16 / 9;
    }

    .news-card .cover__placeholder::after {
      inset: 12px;
      border-radius: 14px;
    }

    .news-card .card-body {
      padding: 14px;
    }

    .news-card .card-title {
      font-size: 15px;
      font-weight: 700;
      line-height: 1.5;
      margin-bottom: 8px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .news-card .card-text {
      font-size: 13px;
      color: var(--text-muted);
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      min-height: 38px;
    }

    .news-card .story-summary {
      margin: 0 0 8px;
      font-size: 13px;
      line-height: 1.6;
      color: var(--text-muted);
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .news-card .card-meta {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 10px;
      font-size: 12px;
      color: var(--text-muted);
    }

    .badge-cat {
      background: var(--brand-red);
      color: #fff;
      font-size: 11px;
      font-weight: 700;
      padding: 3px 8px;
      border-radius: 3px;
    }

    .list-news-item {
      display: flex;
      gap: 12px;
      padding: 12px 0;
      border-bottom: 1px solid var(--gray-border);
    }

    .list-news-item:last-child {
      border-bottom: none;
    }

    .list-news-item .cover {
      width: 90px;
      height: 64px;
      min-height: 64px;
      border-radius: 4px;
      flex-shrink: 0;
    }

    .list-news-item .cover__placeholder {
      padding: 0;
    }

    .list-news-item .cover__placeholder::after,
    .list-news-item .cover__label,
    .list-news-item .cover__title,
    .list-news-item .cover__corner {
      display: none;
    }

    .list-news-item .title {
      font-size: 14px;
      font-weight: 600;
      line-height: 1.45;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .list-news-item .meta {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
      color: var(--text-muted);
      margin-top: 4px;
    }

    .widget {
      background: var(--white);
      border-radius: 8px;
      overflow: hidden;
      margin-bottom: 20px;
    }

    .widget-header {
      background: var(--brand-red);
      color: #fff;
      font-weight: 800;
      font-size: 14px;
      letter-spacing: 0.04em;
      padding: 11px 16px;
      display: flex;
      align-items: center;
    }

    .widget-body {
      padding: 10px;
    }

    /* Spotlight Popular Widget */
    .spotlight-popular-widget {
      border: 1px solid #e8e8e8;
    }

    .spotlight-popular-widget .widget-header {
      background: #111;
      font-size: 13px;
      letter-spacing: 0.12em;
    }

    .spotlight-popular-tabs {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      background: #fafafa;
      border-bottom: 1px solid #e8e8e8;
    }

    .spotlight-popular-tabs .spotlight-popular-tab {
      border: none;
      border-bottom: 2px solid transparent;
      border-radius: 0;
      background-color: transparent;
      color: #999;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.1em;
      padding: 11px 6px 9px;
      text-align: center;
      transition: color 0.15s;
      cursor: pointer;
      outline: none;
      box-shadow: none;
    }

    .spotlight-popular-tabs .spotlight-popular-tab:hover,
    .spotlight-popular-tabs .spotlight-popular-tab:focus,
    .spotlight-popular-tabs .spotlight-popular-tab:focus-visible {
      color: #333;
      background-color: transparent;
      box-shadow: none;
      outline: none;
    }

    .spotlight-popular-tabs .spotlight-popular-tab.active,
    .spotlight-popular-tabs .spotlight-popular-tab.active:hover,
    .spotlight-popular-tabs .spotlight-popular-tab.active:focus,
    .spotlight-popular-tabs .spotlight-popular-tab.active:focus-visible {
      color: var(--brand-red);
      background-color: transparent;
      border-color: var(--brand-red);
      box-shadow: none;
      outline: none;
    }

    .spotlight-popular-widget .widget-body {
      padding: 4px 14px 2px;
      height: 415px;
      overflow: hidden;
    }

    .widget-empty {
      margin: 0;
      color: var(--text-muted);
      font-size: 13px;
      padding: 16px 0;
    }

    .popular-fallback-notice {
      margin: 6px 0 2px;
      font-size: 10px;
      font-weight: 800;
      letter-spacing: 0.1em;
      color: #bbb;
      text-transform: uppercase;
    }

    .price-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 0;
      border-bottom: 1px solid var(--gray-border);
      font-size: 14px;
    }

    .price-row:last-child {
      border-bottom: none;
    }

    .price-up {
      color: #2e7d32;
      font-weight: 700;
    }

    .price-down {
      color: var(--brand-red);
      font-weight: 700;
    }

    .popular-item {
      display: flex;
      gap: 12px;
      padding: 9px 8px;
      margin: 0 -8px;
      border-radius: 6px;
      border-bottom: 1px solid #e8e8e8;
      align-items: flex-start;
      transition: background-color 0.15s;
    }

    .popular-item:last-child {
      border-bottom: none;
    }

    .popular-item:hover {
      background-color: #f6f6f6;
    }

    .popular-num {
      display: none;
    }

    .popular-title {
      font-size: 13px;
      font-weight: 600;
      line-height: 1.5;
      min-height: 3em;
      color: #16181c;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      transition: color 0.15s;
    }

    .popular-title:hover {
      color: var(--brand-red);
      text-decoration: none;
    }

    .popular-meta {
      margin-top: 4px;
      font-size: 11px;
      color: #aaa;
      font-weight: 500;
    }

    .weather-card .widget-header {
      background: #43a047;
    }

    .weather-columns {
      display: flex;
      align-items: flex-start;
    }

    .weather-current-col {
      flex: 1;
      text-align: center;
    }

    .weather-icon-main {
      font-size: 48px;
    }

    .weather-forecast-col {
      padding-top: 4px;
    }

    .weather-forecast-row {
      display: flex;
      gap: 14px;
      text-align: center;
    }

    .weather-temp {
      font-size: 26px;
      font-weight: 800;
      color: #000000;
      line-height: 1;
    }

    .weather-city {
      font-size: 13px;
      font-weight: 600;
      color: var(--text-muted);
      margin-top: 2px;
    }

    .weather-desc {
      font-size: 12px;
      color: var(--text-muted);
    }

    .ad-banner {
      background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(255, 255, 255, .3);
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 1px;
      text-transform: uppercase;
    }

    .ad-banner.leaderboard {
      /* height: 90px; */
    }

    .ad-banner.rectangle {
      width: 100%;
      max-width: 100%;
      height: auto;
      aspect-ratio: 300 / 250;
    }

    .footer-top {
      background: var(--dark-nav);
      color: rgba(255, 255, 255, .8);
      padding: 40px 0 24px;
    }

    .footer-top input::placeholder {
      color: rgba(255, 255, 255, .65) !important;
    }

    .footer-logo {
      display: inline-block;
      max-width: 420px;
      font-family: 'Kanit', sans-serif;
      font-size: 22px;
      font-weight: 300;
      line-height: 1.12;
      color: rgba(255, 255, 255, .92);
      letter-spacing: -.4px;
      margin-bottom: 8px;
      text-decoration: none;
    }

    .footer-logo:hover {
      color: #fff;
    }

    .footer-logo span {
      color: #fff;
    }

    .footer-logo__sub {
      display: block;
      margin-top: 3px;
      color: rgba(255, 255, 255, .58);
      font-family: "Sarabun", sans-serif;
      font-size: 13px;
      font-weight: 400;
      letter-spacing: .2px;
    }

    .footer-top h6 {
      color: #fff;
      font-weight: 700;
      font-size: 14px;
      margin-bottom: 14px;
      padding-bottom: 8px;
      border-bottom: 2px solid var(--brand-red);
      display: inline-block;
    }

    .footer-links {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .footer-links li {
      margin-bottom: 8px;
    }

    .footer-links a {
      color: rgba(255, 255, 255, .65);
      font-size: 13px;
      transition: color .2s;
    }

    .footer-links a:hover {
      color: var(--brand-red);
    }

    .footer-social a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, .2);
      color: rgba(255, 255, 255, .7);
      font-size: 16px;
      margin-right: 8px;
      transition: all .2s;
    }

    .footer-social a:hover {
      background: var(--brand-red);
      border-color: var(--brand-red);
      color: #fff;
    }

    .footer-bottom {
      background: var(--dark-footer);
      color: rgba(255, 255, 255, .4);
      font-size: 12px;
      padding: 14px 0;
      text-align: center;
    }

    #emptyState h3 {
      font-size: 20px;
      font-weight: 800;
      margin-bottom: 10px;
    }

    #emptyState p {
      margin: 0;
      color: var(--text-muted);
      line-height: 1.7;
    }

    .form-control:focus {
      color: var(--bs-body-color);
      background-color: var(--bs-body-bg);
      border-color: #86b7fe;
      outline: 0;
      box-shadow: 0 0 0 .25rem rgba(0, 0, 0, 0);
    }

    .category-masthead {
      position: relative;
      overflow: hidden;
      background:
        linear-gradient(90deg, rgba(8, 13, 11, .92), rgba(8, 13, 11, .72)),
        linear-gradient(135deg, #15241a, #3f7f4b);
      color: #fff;
      min-height: 190px;
      display: flex;
      align-items: end;
    }

    .category-masthead.has-image {
      background:
        linear-gradient(90deg, rgba(8, 13, 11, .92), rgba(8, 13, 11, .66)),
        var(--masthead-image) center / cover no-repeat;
    }

    .category-masthead::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, .35));
      pointer-events: none;
    }

    .category-masthead__inner {
      position: relative;
      z-index: 1;
      padding: 52px 0 34px;
    }

    .category-masthead__eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 10px;
      color: rgba(255, 255, 255, .76);
      font-size: 13px;
      font-weight: 700;
    }

    .category-masthead__eyebrow::before {
      content: "";
      display: inline-block;
      width: 28px;
      height: 3px;
      border-radius: 99px;
      background: var(--brand-red);
    }

    .category-masthead h1 {
      margin: 0;
      font-size: 30px;
      font-weight: 800;
      line-height: 1.25;
    }

    .category-masthead p {
      max-width: 760px;
      margin: 10px 0 0;
      color: rgba(255, 255, 255, .78);
      line-height: 1.7;
      font-size: 14px;
    }

    .news-stage {
      background: #fff;
      padding: 34px 0 42px;
    }

    .news-stage--group {
      padding-top: 22px;
    }

    .news-container {
      max-width: 1120px;
    }

    .group-spotlight {
      display: block;
      margin-bottom: 26px;
    }

    .group-spotlight.has-sidebar {
      display: grid;
      grid-template-columns: minmax(0, 1.72fr) minmax(300px, .88fr);
      gap: 24px;
      align-items: start;
    }

    .group-spotlight__main,
    .group-spotlight__sidebar {
      min-width: 0;
    }

    .group-spotlight__secondary {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      margin-top: 12px;
    }

    .group-spotlight__secondary-item {
      min-width: 0;
    }

    .group-spotlight__secondary .hero-card {
      box-shadow: 0 10px 22px rgba(0, 0, 0, .08);
    }

    .group-spotlight__secondary .hero-card .cover {
      aspect-ratio: 16 / 9;
      min-height: unset;
    }

    .group-spotlight__sidebar {
      display: flex;
      flex-direction: column;
      gap: 0;
    }

    .hero-side-list--spotlight .hero-side-card:last-child {
      margin-bottom: 0;
      padding-bottom: 0;
      border-bottom: none;
    }

    .lead-layout.has-sidebar {
      display: grid;
      grid-template-columns: minmax(0, 1.85fr) minmax(320px, .95fr);
      gap: 28px;
      align-items: start;
      margin-bottom: 34px;
    }

    .lead-layout__main,
    .lead-layout__sidebar {
      min-width: 0;
    }

    .lead-layout__sidebar {
      display: flex;
      flex-direction: column;
      gap: 0;
    }

    .lead-layout {
      display: block;
      margin-bottom: 28px;
    }

    .hero-main-card {
      position: relative;
      display: block;
      aspect-ratio: 16 / 9;
      border-radius: 6px;
      overflow: hidden;
      background: #111;
      color: #fff;
      box-shadow: 0 14px 35px rgba(0, 0, 0, .12);
    }

    .hero-main-card img,
    .hero-placeholder {
      width: 100%;
      height: 100%;
      object-fit: cover; object-position: center;
      display: block;
      filter: saturate(.78) contrast(1.05);
    }

    .hero-placeholder {
      background: linear-gradient(135deg, #111, #35633d);
    }

    .hero-main-card::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(0, 0, 0, .86) 100%);
      pointer-events: none;
    }

    .hero-main-overlay {
      position: absolute;
      z-index: 1;
      left: 0;
      right: 0;
      bottom: 0;
      padding: 36px 34px 30px;
    }

    .hero-main-title {
      margin: 10px 0 8px;
      color: #fff;
      font-size: 28px;
      font-weight: 800;
      line-height: 1.36;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .hero-main-summary {
      margin: 0 0 10px;
      color: rgba(255, 255, 255, .78);
      font-size: 14px;
      line-height: 1.65;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .hero-main-meta,
    .hero-side-meta,
    .grid-card-meta {
      color: var(--text-muted);
      font-size: 12px;
      font-weight: 600;
    }

    .hero-main-meta {
      color: rgba(255, 255, 255, .72);
    }

    .hero-side-list {
      display: flex;
      flex-direction: column;
      gap: 0;
      min-width: 0;
    }

    .lead-layout__sidebar .hero-side-card:last-child {
      margin-bottom: 0;
    }

    .hero-side-card {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 132px;
      gap: 16px;
      padding: 0 0 18px;
      margin-bottom: 18px;
      border-bottom: 1px solid var(--gray-border);
      color: var(--text-main);
    }

    .hero-side-card:hover .hero-side-title,
    .grid-card:hover .grid-card-title {
      color: var(--brand-red);
    }

    .hero-side-img {
      grid-column: 2;
      grid-row: 1;
      width: 132px;
      aspect-ratio: 16 / 9;
      border-radius: 5px;
      overflow: hidden;
      background: #ddd;
    }

    .hero-side-img img,
    .grid-card-img img {
      width: 100%;
      height: 100%;
      object-fit: cover; object-position: center;
      display: block;
    }

    .hero-side-img .hero-placeholder {
      min-height: 0;
      height: 100%;
    }

    .hero-side-body {
      min-width: 0;
    }

    .hero-side-title {
      color: var(--text-main);
      font-size: 16px;
      font-weight: 800;
      line-height: 1.48;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
      transition: color .2s;
    }

    .news-section-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 18px;
      margin-bottom: 20px;
      padding-top: 4px;
    }

    .news-section-title {
      margin: 0;
      padding-left: 13px;
      border-left: 5px solid var(--brand-red);
      font-size: 22px;
      font-weight: 800;
      line-height: 1.25;
    }

    .news-section-note {
      margin: 7px 0 0;
      color: var(--text-muted);
      font-size: 13px;
      font-weight: 600;
    }

    .news-search-form {
      display: flex;
      width: min(360px, 100%);
      flex: 0 0 auto;
    }

    .news-search-form .form-control {
      border-radius: 999px 0 0 999px;
      border-color: var(--gray-border);
      min-height: 38px;
    }

    .news-search-form .btn {
      border-radius: 0 999px 999px 0;
      min-width: 46px;
    }

    .grid-card {
      display: grid;
      grid-template-columns: 150px minmax(0, 1fr);
      gap: 15px;
      min-height: 100%;
      color: var(--text-main);
    }

    .grid-card-img {
      width: 150px;
      aspect-ratio: 16 / 9;
      border-radius: 5px;
      overflow: hidden;
      background: #ddd;
    }

    .grid-card-img .hero-placeholder {
      min-height: 0;
      height: 100%;
    }

    .grid-card-body {
      min-width: 0;
      padding-bottom: 18px;
      border-bottom: 1px solid var(--gray-border);
    }

    .grid-card-title {
      color: var(--text-main);
      font-size: 16px;
      font-weight: 800;
      line-height: 1.48;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      transition: color .2s;
    }

    .grid-card-summary {
      margin-top: 5px;
      color: var(--text-muted);
      font-size: 13px;
      line-height: 1.55;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .grid-card-meta {
      margin-top: 8px;
    }

    .pagination-wrap .page-link {
      min-width: 38px;
      height: 38px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: none;
      border-radius: 50%;
      margin: 0 3px;
      color: var(--text-main);
      font-weight: 700;
      background: #f4f5f4;
    }

    .pagination-wrap .active .page-link,
    .pagination-wrap .page-link:hover {
      background: var(--brand-red);
      color: #fff;
    }

    .social-strip {
      margin-top: 38px;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }

    .social-strip a {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 46px;
      border-radius: 5px;
      background: #eef0ee;
      color: #1f1f1f;
      font-weight: 800;
      font-size: 14px;
    }

    .social-strip a:hover {
      background: var(--brand-red);
      color: #fff;
    }

    .empty-news {
      border: 1px solid var(--gray-border);
      border-radius: 6px;
      padding: 30px;
      text-align: center;
      color: var(--text-muted);
    }

    @media (max-width: 991px) {
      .header-status {
        align-items: flex-start;
      }

      .category-chips {
        margin-left: 0;
      }

      .lead-layout.has-sidebar {
        grid-template-columns: 1fr;
      }

      .group-spotlight.has-sidebar {
        grid-template-columns: 1fr;
      }

      .group-spotlight__secondary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }



      .social-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 767px) {
      .main-nav .navbar-brand {
        display: block;
      }

      .brand-lockup {
        gap: 10px;
      }

      .brand-logo {
        width: 64px;
      }

      .logo-text {
        font-size: 17px;
        max-width: 100%;
      }

      .footer-logo {
        font-size: 18px;
        max-width: 100%;
      }

      .hero-overlay h3 {
        font-size: 15px;
      }

      .section-heading {
        flex-direction: column;
        align-items: flex-start;
      }

      .category-chips {
        width: 100%;
      }

      .category-masthead {
        min-height: 150px;
      }

      .category-masthead__inner {
        padding: 34px 0 26px;
      }

      .category-masthead h1 {
        font-size: 24px;
      }

      .news-stage {
        padding-top: 22px;
      }

      .news-stage--group {
        padding-top: 14px;
      }



      .hero-main-overlay {
        padding: 28px 20px 20px;
      }

      .hero-main-title {
        font-size: 22px;
      }

      .hero-side-card,
      .grid-card {
        grid-template-columns: 116px minmax(0, 1fr);
      }

      .hero-side-img,
      .grid-card-img {
        grid-column: 1;
        width: 116px;
      }

      .hero-side-title,
      .grid-card-title {
        font-size: 15px;
      }

      .grid-card-summary,
      .hero-main-summary {
        display: none;
      }

      .news-section-head {
        display: block;
      }

      .news-search-form {
        margin-top: 14px;
        width: 100%;
      }

      .social-strip {
        grid-template-columns: 1fr;
      }
    }

    /* ── Home page components ──────────────────────────────────────────────── */

    /* News strip */
    .home-news-strip { margin-bottom: 0; }
    .news-strip-card { display: block; text-decoration: none; color: inherit; background: #fff; border-radius: 8px; overflow: hidden; height: 100%; border: 1px solid #e0e0e0; }
    .news-strip-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
    .news-strip-card .cover--strip { aspect-ratio: 16/9; /* height: 90px; */ }
    .news-strip-card .cover--strip img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
    .news-strip-body { padding: 8px; }
    .news-strip-title { font-size: .8rem; font-weight: 600; line-height: 1.4; margin: 4px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

    /* Featured news list */
    .featured-news-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .featured-list-item { display: flex; gap: 12px; text-decoration: none; color: inherit; padding: 8px; border-radius: 8px; background: #fff; border: 1px solid #e0e0e0; transition: background .15s; }
    .featured-list-item:hover { background: #f5f5f5; color: var(--brand-red); }
    .featured-list-img { flex-shrink: 0; width: 170px; aspect-ratio: 16/9; border-radius: 4px; overflow: hidden; }
    .featured-list-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
    .featured-list-img .hero-placeholder { width: 100%; height: 100%; }
    .featured-list-body { flex: 1; min-width: 0; }
    .featured-list-title { font-size: .88rem; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .featured-list-meta { font-size: .72rem; color: #757575; margin-top: 4px; }

    /* Live player */
    .live-player-wrap { background: #000; border-radius: 4px; overflow: hidden; aspect-ratio: 16/9; position: relative; }
    .live-player-video { width: 100%; height: 100%; display: block; }
    .live-player-label { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,.65); color: #fff; font-size: .78rem; padding: 6px 12px; }
    .live-badge { background: #e52d27; color: #fff; font-size: .6rem; padding: 2px 6px; border-radius: 4px; vertical-align: middle; margin-left: 6px; font-weight: 700; animation: pulse-badge 1.5s ease-in-out infinite; }
    .home-live-section { margin-top: 8px; }
    .live-showcase {
      position: relative;
      overflow: hidden;
      border-radius: 6px;
      padding: 28px;
      background: linear-gradient(135deg, #0f1923 0%, #182a3a 55%, #0f1923 100%);
      border-top: 3px solid var(--brand-red);
      box-shadow: 0 2px 20px rgba(0,0,0,.22);
    }
    .live-showcase__panel { height: 100%; position: relative; z-index: 1; }
    .live-showcase__panel--player { display: flex; flex-direction: column; gap: 16px; }
    .live-showcase__panel--schedule { display: flex; }
    .live-showcase__panel--schedule .live-schedule-mockup { flex: 1; margin-top: 0; }
    .live-showcase__intro { margin-bottom: 2px; }
    .live-showcase__eyebrow {
      margin: 0 0 8px;
      color: rgba(204, 239, 211, .92);
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: .12em;
      text-transform: uppercase;
    }
    .live-showcase__title {
      margin: 0;
      color: #fff;
      font-size: clamp(1.45rem, 2vw, 2rem);
      line-height: 1.18;
      font-weight: 800;
    }
    .live-showcase__summary {
      margin: 10px 0 0;
      max-width: 44rem;
      color: rgba(233, 240, 249, .78);
      font-size: .92rem;
      line-height: 1.6;
    }
    .live-showcase__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
    .live-showcase__cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      padding: 10px 18px;
      border-radius: 999px;
      background: #fff;
      color: #12263f;
      font-size: .82rem;
      font-weight: 700;
      letter-spacing: .01em;
      text-decoration: none;
      box-shadow: 0 10px 18px rgba(7, 18, 38, .18);
      transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
    }
    .live-showcase__cta:hover {
      color: #12263f;
      transform: translateY(-1px);
      box-shadow: 0 14px 24px rgba(7, 18, 38, .24);
      text-decoration: none;
    }
    .live-showcase__cta--ghost {
      background: rgba(255, 255, 255, .08);
      color: #fff;
      border: 1px solid rgba(255, 255, 255, .18);
      box-shadow: none;
    }
    .live-showcase__cta--ghost:hover {
      background: rgba(255, 255, 255, .14);
      color: #fff;
      box-shadow: none;
    }
    .live-player-wrap--showcase {
      border-radius: 8px;
      border: 1px solid rgba(255, 255, 255, .1);
      box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
    }
    .live-schedule-mockup { margin-top: 16px; border-radius: 6px; padding: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
    .live-schedule-mockup__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
    .live-schedule-mockup__eyebrow { margin: 0 0 4px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-red); }
    .live-schedule-mockup__title { margin: 0; font-size: .92rem; line-height: 1.4; color: rgba(255,255,255,.85); font-weight: 600; }
    .live-schedule-mockup__badge { display: none; }
    .live-schedule-mockup__list { display: grid; gap: 8px; max-height: 420px; overflow-y: hidden; scroll-behavior: smooth; }
    .live-schedule-mockup__scroll-controls { display: flex; justify-content: flex-end; gap: 6px; margin-bottom: 8px; }
    .live-schedule-mockup__scroll-btn { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.75); font-size: .8rem; cursor: pointer; transition: background .15s, color .15s; }
    .live-schedule-mockup__scroll-btn:hover { background: rgba(255,255,255,.16); color: #fff; }
    .live-schedule-mockup__scroll-btn:active { background: rgba(255,255,255,.22); }
    .live-schedule-mockup__item { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border-radius: 4px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); transition: background .2s, box-shadow .2s; }
    .live-schedule-mockup__item:hover { background: rgba(255,255,255,.08); }
    .live-schedule-mockup__item.is-live { background: rgba(80,174,100,.1); border-color: rgba(80,174,100,.28); border-left: 3px solid var(--brand-red); box-shadow: 0 4px 16px rgba(229,45,39,.15); }
    .live-schedule-mockup__item.is-past { opacity: .45; }
    .live-schedule-mockup__item.is-past:hover { opacity: .7; }
    .live-schedule-mockup__time { font-size: .75rem; font-weight: 600; color: rgba(255,255,255,.45); padding-top: 2px; }
    .live-schedule-mockup__item.is-live .live-schedule-mockup__time { color: rgba(255,255,255,.7); }
    .live-schedule-mockup__body { min-width: 0; }
    .live-schedule-mockup__state { display: inline-flex; align-items: center; margin-bottom: 5px; border-radius: 999px; background: rgba(229,45,39,.18); color: #f87171; font-size: .65rem; font-weight: 700; padding: 2px 8px; border: 1px solid rgba(229,45,39,.25); letter-spacing: .04em; text-transform: uppercase; }
    .live-schedule-mockup__state::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 5px; animation: pulse-dot 1.4s ease-in-out infinite; }
    .live-schedule-mockup__state.is-later { background: rgba(255,255,255,.06); color: rgba(255,255,255,.45); border-color: rgba(255,255,255,.1); }
    .live-schedule-mockup__state:empty { display: none; }
    .live-schedule-mockup__name { display: block; font-size: .9rem; line-height: 1.4; color: #fff; font-weight: 600; }
    .live-schedule-mockup__meta { margin: 4px 0 0; font-size: .75rem; line-height: 1.5; color: rgba(255,255,255,.45); }
    @keyframes pulse-badge { 0%,100% { opacity: 1; } 50% { opacity: .5; } }
    @keyframes pulse-dot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.7); } }

    @media (max-width: 991.98px) {
      .live-showcase { padding: 20px; }
      .live-schedule-mockup__list { margin-top: 0; }
    }

    @media (min-width: 992px) {
      .live-showcase__panel--schedule .live-schedule-mockup { margin-top: 36px; }
      .live-schedule-mockup__list { margin-top: 0; }
    }

    @media (max-width: 575.98px) {
      .live-showcase { padding: 16px; border-radius: 6px; }
      .live-schedule-mockup__head,
      .live-schedule-mockup__item { display: block; }
      .live-schedule-mockup__badge { margin-top: 8px; }
      .live-schedule-mockup__time { margin-bottom: 8px; }
      .live-showcase__actions { flex-direction: column; align-items: stretch; }
      .live-showcase__cta { width: 100%; }
      .featured-news-list { grid-template-columns: 1fr; }
      .featured-list-img { width: 120px; }
    }

    /* Dedicated live page */
    .live-page {
      min-height: 100vh;
      background:
        radial-gradient(circle at top, rgba(21, 60, 107, .12) 0%, transparent 28%),
        linear-gradient(180deg, #f3f7fb 0%, #eef3f8 48%, #f6f8fb 100%);
    }
    .live-page-hero {
      padding: 30px 0 16px;
      background:
        linear-gradient(180deg, #ffffff 0%, rgba(243, 247, 251, .92) 60%, rgba(243, 247, 251, 0) 100%);
      border-bottom: 1px solid rgba(0, 0, 0, .07);
    }
    .live-page__head {
      max-width: 54rem;
      margin-bottom: 22px;
    }
    .live-page__eyebrow {
      margin: 0 0 10px;
      color: var(--brand-red);
      font-size: .74rem;
      font-weight: 700;
      letter-spacing: .14em;
      text-transform: uppercase;
    }
    .live-page__title {
      font-family: "Kanit", sans-serif;
      margin: 0;
      color: #111;
      font-size: 1.75rem;
      line-height: 1.02;
      font-weight: 800;
      letter-spacing: -.02em;
    }
    .live-page__summary {
      margin: 14px 0 0;
      color: rgba(0, 0, 0, .55);
      font-size: 1rem;
      line-height: 1.7;
    }
    .live-showcase--page {
      box-shadow: 0 24px 48px rgba(7, 18, 38, .24);
    }
    .live-player-wrap--page {
      aspect-ratio: 16 / 9;
      background: #02070f;
    }
    /* Live page ("/web26/live/") schedule widget — intentionally separate from the
       homepage .live-schedule-mockup* classes/JS so layout tuning on one page
       (different column width/height, larger video) never affects the other. */
    .livepage-schedule { margin-top: 16px; border-radius: 6px; padding: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
    .livepage-schedule__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
    .livepage-schedule__eyebrow { margin: 0 0 4px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-red); }
    .livepage-schedule__title { margin: 0; font-size: .92rem; line-height: 1.4; color: rgba(255,255,255,.85); font-weight: 600; }
    .livepage-schedule__scroll-controls { display: flex; justify-content: flex-end; gap: 6px; margin-bottom: 8px; }
    .livepage-schedule__scroll-btn { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.75); font-size: .8rem; cursor: pointer; transition: background .15s, color .15s; }
    .livepage-schedule__scroll-btn:hover { background: rgba(255,255,255,.16); color: #fff; }
    .livepage-schedule__scroll-btn:active { background: rgba(255,255,255,.22); }
    .livepage-schedule__list { display: grid; gap: 8px; max-height: 560px; overflow-y: hidden; scroll-behavior: smooth; }
    .livepage-schedule__item { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border-radius: 4px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); transition: background .2s, box-shadow .2s; }
    .livepage-schedule__item:hover { background: rgba(255,255,255,.08); }
    .livepage-schedule__item.is-live { background: rgba(80,174,100,.1); border-color: rgba(80,174,100,.28); border-left: 3px solid var(--brand-red); box-shadow: 0 4px 16px rgba(229,45,39,.15); }
    .livepage-schedule__item.is-past { opacity: .45; }
    .livepage-schedule__item.is-past:hover { opacity: .7; }
    .livepage-schedule__time { font-size: .75rem; font-weight: 600; color: rgba(255,255,255,.45); padding-top: 2px; }
    .livepage-schedule__item.is-live .livepage-schedule__time { color: rgba(255,255,255,.7); }
    .livepage-schedule__body { min-width: 0; }
    .livepage-schedule__state { display: inline-flex; align-items: center; margin-bottom: 5px; border-radius: 999px; background: rgba(229,45,39,.18); color: #f87171; font-size: .65rem; font-weight: 700; padding: 2px 8px; border: 1px solid rgba(229,45,39,.25); letter-spacing: .04em; text-transform: uppercase; }
    .livepage-schedule__state::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 5px; animation: pulse-dot 1.4s ease-in-out infinite; }
    .livepage-schedule__state.is-next { background: rgba(80,174,100,.12); color: #6ee7a0; border-color: rgba(80,174,100,.22); }
    .livepage-schedule__state.is-next::before { animation: none; }
    .livepage-schedule__state.is-later { background: rgba(255,255,255,.06); color: rgba(255,255,255,.45); border-color: rgba(255,255,255,.1); }
    .livepage-schedule__name { display: block; font-size: .9rem; line-height: 1.4; color: #fff; font-weight: 600; }
    .livepage-schedule__meta { margin: 4px 0 0; font-size: .75rem; line-height: 1.5; color: rgba(255,255,255,.45); }

    @media (max-width: 991.98px) {
      .livepage-schedule__list { max-height: 420px; }
    }
    @media (max-width: 575.98px) {
      .livepage-schedule__head,
      .livepage-schedule__item { display: block; }
      .livepage-schedule__time { margin-bottom: 8px; }
    }
    .live-page__schedule-note {
      margin: 14px 0 0;
      color: rgba(0, 0, 0, .5);
      font-size: .8rem;
      line-height: 1.5;
    }
    .live-page__body {
      padding: 8px 0 42px;
    }
    .live-page__sidebar {
      display: grid;
      gap: 16px;
    }
    .live-note-card {
      border-radius: 20px;
      padding: 18px 18px 16px;
      background: #fff;
      border: 1px solid rgba(18, 38, 63, .08);
      box-shadow: 0 14px 32px rgba(18, 38, 63, .08);
    }
    .live-note-card__eyebrow {
      margin: 0 0 12px;
      color: #31587f;
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: .12em;
      text-transform: uppercase;
    }
    .live-note-card__body {
      margin: 0;
      color: #4e627a;
      font-size: .9rem;
      line-height: 1.6;
    }
    .live-note-list {
      margin: 0;
      padding-left: 18px;
      color: #31465e;
      display: grid;
      gap: 8px;
      font-size: .9rem;
      line-height: 1.55;
    }
    .live-quick-links {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
    }
    .live-quick-card {
      display: flex;
      flex-direction: column;
      gap: 12px;
      min-height: 100%;
      padding: 18px;
      border-radius: 18px;
      background: linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
      border: 1px solid rgba(18, 38, 63, .08);
      color: #15293f;
      text-decoration: none;
      box-shadow: 0 12px 24px rgba(18, 38, 63, .06);
      transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    }
    .live-quick-card:hover {
      color: #15293f;
      text-decoration: none;
      transform: translateY(-2px);
      border-color: rgba(53, 92, 133, .22);
      box-shadow: 0 18px 30px rgba(18, 38, 63, .10);
    }
    .live-quick-card__icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      border-radius: 14px;
      background: rgba(18, 38, 63, .08);
      color: #17395d;
      font-size: 1.2rem;
    }
    .live-quick-card__title {
      display: block;
      font-size: 1rem;
      line-height: 1.3;
    }
    .live-quick-card__body {
      display: block;
      color: #52687f;
      font-size: .86rem;
      line-height: 1.55;
    }
    .live-mini-list {
      display: grid;
      gap: 10px;
    }
    .live-mini-list__item {
      display: block;
      padding: 12px 14px;
      border-radius: 14px;
      background: #f7f9fc;
      color: #20364c;
      text-decoration: none;
      border: 1px solid rgba(18, 38, 63, .06);
      transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
    }
    .live-mini-list__item:hover {
      color: #20364c;
      text-decoration: none;
      background: #fff;
      border-color: rgba(53, 92, 133, .16);
      transform: translateY(-1px);
    }
    .live-mini-list__title {
      display: block;
      font-size: .9rem;
      font-weight: 700;
      line-height: 1.45;
    }
    .live-mini-list__meta {
      display: block;
      margin-top: 6px;
      color: #6d8094;
      font-size: .75rem;
    }

    @media (max-width: 991.98px) {
      .live-page-hero {
        padding-top: 24px;
      }
      .live-quick-links {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 575.98px) {
      .live-page__title {
      font-family: "Kanit", sans-serif;
        font-size: 1.9rem;
      }
      .live-note-card {
        border-radius: 16px;
        padding: 16px;
      }
      .live-quick-card {
        border-radius: 16px;
      }
    }

    /* Program card */
    .program-card { text-decoration: none; color: inherit; border-radius: 6px; overflow: hidden; background: #fff; border: none; box-shadow: 0 2px 10px rgba(0,0,0,.08); transition: all .3s ease; display: flex; flex-direction: column; }
    .program-card:hover { box-shadow: 0 10px 24px rgba(0,0,0,.15); transform: translateY(-3px); color: var(--brand-red); }
    .program-card .cover { aspect-ratio: 16/9; overflow: hidden; position: relative; min-height: unset; background: #f0f0f0; }
    .program-card .cover img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s ease; display: block; }
    .program-card:hover .cover img { transform: scale(1.05); }
    .program-card__title { font-size: .9rem; font-weight: 700; padding: 12px 16px; line-height: 1.45; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; display: block; color: #222; }

    /* Compact news list */
    .compact-news-item { display: flex; gap: 10px; text-decoration: none; color: inherit; padding: 8px 0; border-bottom: 1px solid #e0e0e0; transition: color .15s; }
    .compact-news-item:last-child { border-bottom: none; }
    .compact-news-item:hover { color: var(--brand-red); }
    .compact-news-img { flex-shrink: 0; width: 72px; height: 52px; border-radius: 4px; overflow: hidden; }
    .compact-news-img .cover--compact, .compact-news-img .cover { width: 100%; height: 100%; }
    .compact-news-img .cover--compact img, .compact-news-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
    .compact-news-body { flex: 1; min-width: 0; }
    .compact-news-title { font-size: .82rem; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 4px 0 0; }
    .compact-news-time { font-size: .72rem; color: #757575; }

    /* Home list items */
    .home-list-item { display: flex; align-items: flex-start; gap: 8px; padding: 7px 0; text-decoration: none; color: inherit; border-bottom: 1px solid #e0e0e0; transition: color .15s; }
    .home-list-item:last-child { border-bottom: none; }
    .home-list-item:hover { color: var(--brand-red); }
    .home-list-dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-red); margin-top: 5px; }
    .home-list-body { flex: 1; min-width: 0; }
    .home-list-title { font-size: .85rem; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .home-list-time { font-size: .72rem; color: #757575; }
    .small-title { font-size: .82rem !important; }

    /* Placeholder data widget */
    .placeholder-data { background: #fff; border-radius: 8px; border: 1px solid #e0e0e0; overflow: hidden; }
    .placeholder-data__head { background: var(--brand-red); color: #fff; padding: 8px 12px; font-size: .8rem; font-weight: 700; }
    .placeholder-data__body { padding: 8px; }

    /* Line banner */
    .line-banner-wrap { }
    .line-banner { display: flex; align-items: center; gap: 16px; background: #f0fff4; border: 1px solid #b7ebce; border-radius: 8px; padding: 14px 20px; }
    .line-banner > div { flex: 1; font-size: .9rem; line-height: 1.4; }
    .line-banner > div span { color: #06C755; font-weight: 700; }

    /* Ad banner variants */
    .ad-banner--half { height: 90px; display: flex; align-items: center; justify-content: center; }
    .ad-banner--tall { height: 200px; display: flex; align-items: center; justify-content: center; }

    /* Reserved ad-slot placeholder — hover (desktop) / always (touch) reveals contact */
    .ad-slot { cursor: pointer; text-align: center; line-height: 1.3; padding: 0 8px; }
    .ad-slot__contact { display: none; font-size: .85rem; }
    .ad-slot__link { color: #06C755; font-weight: 700; text-decoration: underline; }

    /* Keep the in-feed leaderboard ad visible across the empty main-column space (desktop 2-col layout only) */
    @media (min-width: 992px) {
      .home-ad-sticky { position: sticky; top: 70px; z-index: 2; }
    }

    /* Tag Hit — curated SEO tag box (home sports column) */
    .tag-hit-box { margin-top: 18px; padding: 18px 18px 20px; background: linear-gradient(180deg,#ffffff 0%,#fafbfa 100%); border: 1px solid #e8ebe8; border-radius: 6px;}
    .tag-hit-heading { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid #eef1ee; font-weight: 800; font-size: .98rem; letter-spacing: .2px; color: var(--text-main); }
    .tag-hit-heading .tag-hit-ico { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 9px; background: var(--brand-red); color: #fff; font-size: .9rem; font-weight: 800; font-style: normal; line-height: 1; }
    .tag-hit-chips { display: flex; flex-wrap: wrap; gap: 9px; }
    .tag-hit-chip { display: inline-flex; align-items: center; gap: 3px; padding: 7px 14px; background: #fff; border: 1px solid #e2e7e2; border-radius: 999px; font-size: .84rem; font-weight: 600; line-height: 1.3; color: #2f3a32; text-decoration: none; transition: transform .16s ease, background .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease; }
    .tag-hit-chip .tag-hit-hash { color: var(--brand-red); font-weight: 800; transition: color .16s ease; }
    .tag-hit-chip:hover { background: var(--brand-red); color: #fff; }
    .tag-hit-chip:hover .tag-hit-hash { color: #fff; }
    @media (hover: hover) {
      .ad-slot:hover .ad-slot__label { display: none; }
      .ad-slot:hover .ad-slot__contact { display: inline; }
    }
    @media (hover: none) {
      .ad-slot .ad-slot__label { display: none; }
      .ad-slot .ad-slot__contact { display: inline; }
    }

    /* Social banner */
    .social-banner { background: var(--dark-nav); border-radius: 8px; padding: 24px 20px; text-align: center; }
    .social-banner__head { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 14px; }
    .social-banner .footer-social { justify-content: center; }

    /* Home section wrapper */
    .home-page-wrap { padding-top: 12px; padding-bottom: 32px; }
    .home-section { }

    /* Cover size helpers */
    .cover--strip { display: block; }
    .cover--compact { display: block; }
    .home-extra-sections { padding-top: 8px; padding-bottom: 32px; }

    .carousel-bg { background-color: rgb(26 26 26) !important; border-radius: 0px; }
    #mainNav { font-family: "Kanit", sans-serif; }

    /* Full schedule page (/web26/schedule/) */
    .schedule-page__hero { padding: 28px 0 8px; }
    .schedule-page__eyebrow { margin: 0 0 8px; color: var(--brand-red); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
    .schedule-page__title { font-family: "Kanit", sans-serif; margin: 0; color: #111; font-size: 1.6rem; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
    .schedule-page__summary { margin: 12px 0 0; color: rgba(0,0,0,.55); font-size: .92rem; line-height: 1.6; max-width: 44rem; }
    .schedule-page__body { padding: 20px 0 42px; }
    .schedule-page__days { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
    .schedule-page__day-link { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--gray-border); color: var(--text-main); font-size: .85rem; font-weight: 600; text-decoration: none; transition: background .15s, border-color .15s, color .15s; }
    .schedule-page__day-link:hover { border-color: var(--brand-red); color: var(--brand-red); text-decoration: none; }
    .schedule-page__day-link.active { background: var(--brand-red); border-color: var(--brand-red); color: #fff; }
    .schedule-page__today-tag { font-size: .65rem; font-weight: 700; background: rgba(255,255,255,.25); border-radius: 999px; padding: 1px 6px; }
    .schedule-page__day-link:not(.active) .schedule-page__today-tag { background: rgba(80,174,100,.12); color: var(--brand-red); }
    .schedule-page__card { margin-bottom: 0; }
    .schedule-page__list { display: grid; }
    .schedule-page__row { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: start; padding: 14px 18px; border-bottom: 1px solid var(--gray-border); transition: background .15s; }
    .schedule-page__row:last-child { border-bottom: none; }
    .schedule-page__row:hover { background: var(--gray-bg); }
    .schedule-page__row.is-live { background: rgba(80,174,100,.08); border-left: 3px solid var(--brand-red); padding-left: 15px; }
    .schedule-page__row.is-past { opacity: .5; }
    .schedule-page__row.is-past:hover { opacity: .8; }
    .schedule-page__time { font-size: .82rem; font-weight: 700; color: var(--text-muted); padding-top: 2px; }
    .schedule-page__row.is-live .schedule-page__time { color: var(--text-main); }
    .schedule-page__row-body { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
    .schedule-page__state { display: inline-flex; align-items: center; border-radius: 999px; background: rgba(80,174,100,.12); color: var(--brand-red); font-size: .65rem; font-weight: 700; padding: 3px 9px; letter-spacing: .04em; text-transform: uppercase; }
    .schedule-page__state::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 5px; animation: pulse-dot 1.4s ease-in-out infinite; }
    .schedule-page__state.is-next { background: rgba(0,0,0,.05); color: var(--text-muted); }
    .schedule-page__state.is-next::before { animation: none; }
    .schedule-page__state.is-later { background: rgba(0,0,0,.04); color: #aaa; }
    .schedule-page__state.is-later::before { animation: none; }
    .schedule-page__name { flex-basis: 100%; font-size: .95rem; font-weight: 700; color: var(--text-main); }
    .schedule-page__tag { font-size: .72rem; color: var(--text-muted); background: var(--gray-bg); border-radius: 999px; padding: 2px 9px; }

    @media (max-width: 575.98px) {
      .schedule-page__row { grid-template-columns: 1fr; gap: 4px; }
      .schedule-page__time { padding-top: 0; }
    }
