/*
Theme Name: BKN News
Theme URI: https://example.com/bkn-news
Author: BKN News
Description: ธีมเว็บข่าวภาษาไทยแบบ responsive พร้อมหน้าแรก หมวดข่าว บทความ Sidebar เมนู และวิดเจ็ต
Version: 1.3.1
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: bkn-news
*/

:root {
  --bkn-green: #009e49;
  --bkn-green-dark: #007d39;
  --bkn-green-soft: #f5faf6;
  --bkn-ink: #161a17;
  --bkn-muted: #647067;
  --bkn-line: #dce5de;
  --bkn-surface: #ffffff;
  --bkn-page: #fcfdfc;
  --bkn-red: #d72828;
  --bkn-radius: 16px;
  --bkn-shadow: 0 12px 34px rgba(23, 45, 29, .08);
  --bkn-max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--bkn-ink);
  background: var(--bkn-page);
  font-family: "Be Vietnam Pro", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; background: var(--bkn-green-soft); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(0, 158, 73, .28);
  outline-offset: 3px;
}
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 16px; z-index: 999; transform: translateY(-160%); padding: 9px 16px; border-radius: 999px; color: #fff; background: var(--bkn-green); font-weight: 700; }
.skip-link:focus { transform: none; }
.container { width: min(calc(100% - 48px), var(--bkn-max)); margin-inline: auto; }
.site-main { min-height: 60vh; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--bkn-line); backdrop-filter: blur(16px); }
.header-main { height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.header-tools { display: flex; align-items: center; gap: 8px; }
.header-tools:last-child { justify-content: flex-end; }
.icon-button { width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0; border: 0; border-radius: 999px; color: var(--bkn-green); background: transparent; transition: .2s ease; }
.icon-button:hover { background: var(--bkn-green-soft); }
.site-branding { text-align: center; }
.site-title { display: inline-flex; align-items: center; gap: 8px; color: var(--bkn-green); font-size: clamp(23px, 3vw, 38px); font-weight: 800; line-height: 1; letter-spacing: -.03em; white-space: nowrap; }
.site-title .material-symbols-outlined { font-size: 1.2em; }
.subscribe-button { min-height: 42px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; color: #fff; background: var(--bkn-green); font-size: 14px; font-weight: 700; }
.subscribe-button:hover { background: var(--bkn-green-dark); }
.primary-nav { overflow-x: auto; border-top: 1px solid rgba(220,229,222,.75); scrollbar-width: none; }
.primary-nav::-webkit-scrollbar { display: none; }
.primary-menu { min-width: max-content; min-height: 46px; display: flex; align-items: stretch; gap: 2px; padding: 0; margin: 0; list-style: none; }
.primary-menu a { position: relative; display: flex; align-items: center; padding: 0 13px; border-radius: 9px; color: #3e4941; font-size: 14px; font-weight: 700; }
.primary-menu a:hover, .primary-menu .current-menu-item > a, .primary-menu .current-menu-ancestor > a { color: var(--bkn-green); background: var(--bkn-green-soft); }
.primary-menu .current-menu-item > a::after { content: ""; position: absolute; right: 13px; bottom: 0; left: 13px; height: 3px; border-radius: 3px 3px 0 0; background: var(--bkn-green); }

/* Drawer and search */
.site-overlay { position: fixed; inset: 0; z-index: 80; opacity: 0; visibility: hidden; background: rgba(13,25,16,.55); transition: .2s; }
.site-overlay.is-open { opacity: 1; visibility: visible; }
.mobile-drawer { position: fixed; inset: 0 auto 0 0; z-index: 90; width: min(390px, 88vw); padding: 22px; overflow-y: auto; background: #fff; box-shadow: 20px 0 50px rgba(0,0,0,.2); transform: translateX(-102%); transition: transform .28s ease; }
.mobile-drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--bkn-line); }
.drawer-title { color: var(--bkn-green); font-size: 24px; font-weight: 800; }
.drawer-menu { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; padding: 18px 0 0; margin: 0; list-style: none; }
.drawer-menu a { display: block; padding: 11px 12px; border-radius: 10px; font-weight: 700; }
.drawer-menu a:hover { color: var(--bkn-green); background: var(--bkn-green-soft); }
.search-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: start center; padding: 12vh 20px 20px; opacity: 0; visibility: hidden; background: rgba(13,25,16,.65); transition: .2s; }
.search-modal.is-open { opacity: 1; visibility: visible; }
.search-panel { width: min(720px, 100%); padding: 18px; border-radius: 20px; background: #fff; box-shadow: 0 26px 70px rgba(0,0,0,.25); }
.search-form { display: flex; gap: 10px; }
.search-field { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 1px solid var(--bkn-line); border-radius: 12px; }
.search-submit { width: 52px; height: 52px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 12px; color: #fff; background: var(--bkn-green); }
.search-hint { margin: 10px 3px 0; color: var(--bkn-muted); font-size: 13px; }

/* Home hero */
.home-hero { padding: 44px 0 54px; background: linear-gradient(180deg,#f8fbf9,#fcfdfc); }
.hero-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--bkn-green); font-weight: 800; }
.hero-title { max-width: 950px; margin: 0; font-size: clamp(36px, 5vw, 64px); line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.hero-grid { display: grid; grid-template-columns: minmax(0,2.1fr) minmax(320px,1fr); gap: 24px; margin-top: 30px; }
.lead-story { position: relative; min-height: 520px; overflow: hidden; border-radius: 22px; color: #fff; background: #203d29; box-shadow: 0 18px 45px rgba(19,37,25,.17); }
.lead-story img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; transition: transform .6s ease; }
.lead-story:hover img { transform: scale(1.035); }
.lead-overlay { position: absolute; inset: 0; background: linear-gradient(0deg,rgba(0,0,0,.86),rgba(0,0,0,.08) 70%); }
.lead-content { position: absolute; right: 0; bottom: 0; left: 0; padding: clamp(25px,4vw,44px); }
.news-label { display: inline-flex; align-items: center; min-height: 27px; padding: 2px 10px; border-radius: 999px; color: var(--bkn-green-dark); background: var(--bkn-green-soft); font-size: 12px; font-weight: 800; }
.news-label.breaking { color: #fff; background: var(--bkn-red); }
.lead-title { max-width: 900px; margin: 14px 0 8px; font-size: clamp(27px,3.2vw,43px); line-height: 1.28; text-wrap: balance; }
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--bkn-muted); font-size: 13px; }
.lead-story .story-meta { color: rgba(255,255,255,.82); }
.latest-panel { padding: 21px; border: 1px solid var(--bkn-line); border-radius: 22px; background: #fff; box-shadow: var(--bkn-shadow); }
.panel-head, .section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.panel-title { margin: 0; font-size: 22px; line-height: 1.3; }
.view-all { flex: 0 0 auto; color: var(--bkn-green); font-size: 13px; font-weight: 800; }
.latest-list { margin-top: 6px; }
.latest-item { display: grid; grid-template-columns: 116px 1fr; gap: 13px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--bkn-line); }
.latest-item:last-child { border: 0; }
.latest-thumb { height: 76px; overflow: hidden; border-radius: 10px; }
.latest-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.latest-item:hover img { transform: scale(1.06); }
.latest-item h3 { margin: 0; font-size: 14px; line-height: 1.5; display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.latest-item:hover h3 { color: var(--bkn-green); }
.empty-hero { min-height: 360px; display: grid; place-items: center; padding: 40px; text-align: center; }
.empty-hero p { max-width: 560px; color: var(--bkn-muted); }

/* News grids */
.content-layout { display: grid; grid-template-columns: minmax(0,8.35fr) minmax(315px,3.65fr); gap: 32px; align-items: start; padding-block: 56px; }
.content-column { min-width: 0; }
.section { margin-bottom: 52px; }
.section-head { position: relative; margin-bottom: 22px; padding-bottom: 14px; }
.section-head::after { content: ""; position: absolute; bottom: 0; left: 0; width: 58px; height: 4px; border-radius: 4px; background: var(--bkn-green); }
.section-title { margin: 0; font-size: clamp(25px,3vw,34px); line-height: 1.25; letter-spacing: -.02em; }
.news-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.news-card { overflow: hidden; border: 1px solid var(--bkn-line); border-radius: var(--bkn-radius); background: #fff; box-shadow: 0 4px 18px rgba(23,45,29,.04); transition: transform .25s,box-shadow .25s; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--bkn-shadow); }
.card-thumb { display: block; height: 224px; overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.news-card:hover .card-thumb img { transform: scale(1.045); }
.placeholder-thumb { width: 100%; height: 100%; display: grid; place-items: center; color: var(--bkn-green); background: linear-gradient(135deg,#e8f5ec,#cfe9d6); }
.placeholder-thumb .material-symbols-outlined { font-size: 56px; }
.card-body { padding: 19px; }
.card-title { margin: 9px 0 13px; font-size: 19px; line-height: 1.48; display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.card-title a:hover { color: var(--bkn-green); }
.compact-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px 16px; }
.compact-card { padding-bottom: 16px; border-bottom: 1px solid var(--bkn-line); }
.compact-card .card-thumb { height: 135px; border-radius: 12px; }
.compact-card .card-title { margin: 10px 0 8px; font-size: 14px; }

/* Sidebar */
.sidebar { position: sticky; top: 138px; display: grid; gap: 24px; }
.widget { overflow: hidden; padding: 21px; border: 1px solid var(--bkn-line); border-radius: var(--bkn-radius); background: #fff; box-shadow: 0 6px 22px rgba(23,45,29,.05); }
.widget-title { margin: -21px -21px 18px; padding: 16px 20px; color: #fff; background: var(--bkn-green); font-size: 20px; }
.widget ul { padding: 0; margin: 0; list-style: none; }
.widget li + li { border-top: 1px solid var(--bkn-line); }
.widget li a { display: block; padding: 11px 0; font-weight: 650; }
.widget li a:hover { color: var(--bkn-green); }
.trending-item { display: grid; grid-template-columns: 38px 1fr; gap: 11px; padding: 13px 0; }
.trend-number { color: #d8dfda; font-size: 36px; font-weight: 800; line-height: 1; }
.trending-item:hover .trend-number, .trending-item:hover h3 { color: var(--bkn-green); }
.trending-item h3 { margin: 0; font-size: 14px; line-height: 1.5; }
.newsletter-form { display: grid; gap: 10px; }
.newsletter-form input { height: 46px; min-width: 0; padding: 0 13px; border: 1px solid var(--bkn-line); border-radius: 10px; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border: 0; border-radius: 11px; color: #fff; background: var(--bkn-green); font-weight: 800; }
.button:hover { background: var(--bkn-green-dark); }

/* Archives and articles */
.archive-hero { padding: 44px 0 26px; background: linear-gradient(180deg,#f8fbf9,#fcfdfc); }
.archive-title { margin: 0; font-size: clamp(34px,5vw,54px); line-height: 1.15; letter-spacing: -.035em; }
.archive-description { max-width: 760px; margin: 10px 0 0; color: var(--bkn-muted); }
.pagination { margin-top: 34px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--bkn-line); border-radius: 10px; background: #fff; font-weight: 700; }
.page-numbers.current, .page-numbers:hover { color: #fff; border-color: var(--bkn-green); background: var(--bkn-green); }
.article-shell { width: min(calc(100% - 48px), 900px); margin: 48px auto 70px; }
.article-header { margin-bottom: 26px; }
.article-title { margin: 13px 0 14px; font-size: clamp(35px,5vw,58px); line-height: 1.2; letter-spacing: -.04em; text-wrap: balance; }
.article-featured { overflow: hidden; margin-bottom: 28px; border-radius: 20px; }
.article-featured img { width: 100%; max-height: 590px; object-fit: cover; }
.entry-content { font-size: 18px; line-height: 1.85; }
.entry-content > * { max-width: 760px; margin-inline: auto; }
.entry-content > .alignwide { max-width: 1100px; }
.entry-content h2, .entry-content h3 { margin-top: 1.8em; line-height: 1.35; }
.entry-content a { color: var(--bkn-green); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { padding: 18px 24px; border-left: 4px solid var(--bkn-green); background: var(--bkn-green-soft); }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.post-tags a { padding: 5px 11px; border-radius: 999px; color: var(--bkn-green-dark); background: var(--bkn-green-soft); font-size: 13px; font-weight: 700; }
.post-navigation { margin-top: 42px; padding-top: 25px; border-top: 1px solid var(--bkn-line); }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.post-navigation a { display: block; padding: 16px; border: 1px solid var(--bkn-line); border-radius: 12px; background: #fff; }
.post-navigation .nav-next { text-align: right; }
.not-found { min-height: 62vh; display: grid; place-items: center; padding: 60px 24px; text-align: center; }
.error-code { margin: 0; color: var(--bkn-green); font-size: clamp(90px,20vw,180px); line-height: .9; }

/* Footer */
.site-footer { padding: 48px 0 28px; border-top: 1px solid var(--bkn-line); background: #fff; }
.footer-brands { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding: 24px; border-radius: var(--bkn-radius); background: var(--bkn-green-soft); }
.footer-brand { font-size: 21px; font-weight: 800; }
.footer-brand span { color: var(--bkn-green); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 2fr 1fr; gap: 36px; padding: 38px 0; }
.footer-title { margin: 0 0 12px; font-size: 18px; }
.footer-menu { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px 18px; padding: 0; margin: 0; list-style: none; color: var(--bkn-muted); font-size: 14px; }
.footer-menu a:hover { color: var(--bkn-green); }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.social-links a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; color: #fff; background: #303732; }
.social-links a:hover { background: var(--bkn-green); }
.site-info { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid var(--bkn-line); color: var(--bkn-muted); font-size: 13px; }
.scroll-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 46px; height: 46px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 999px; color: #fff; background: var(--bkn-green); box-shadow: 0 8px 24px rgba(0,126,58,.28); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s; }
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: none; }

@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; }
  .latest-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1.5fr; }
  .footer-grid > :last-child { grid-column: 1/-1; }
}
@media (max-width: 767px) {
  .container { width: min(calc(100% - 32px), var(--bkn-max)); }
  .header-main { height: 62px; }
  .subscribe-button, .header-account { display: none; }
  .site-title { font-size: 21px; }
  .home-hero { padding: 30px 0 38px; }
  .hero-title { font-size: 34px; }
  .hero-grid { margin-top: 21px; gap: 16px; }
  .lead-story, .lead-story img { min-height: 410px; }
  .latest-list { grid-template-columns: 1fr; }
  .content-layout { padding-block: 40px; }
  .news-grid { gap: 16px; }
  .compact-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 12px; }
  .compact-card .card-thumb { height: 112px; }
  .sidebar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-brands { justify-content: flex-start; }
  .article-shell { width: min(calc(100% - 32px),900px); margin-top: 34px; }
  .entry-content { font-size: 17px; }
}
@media (max-width: 480px) {
  .site-title .material-symbols-outlined { display: none; }
  .lead-story, .lead-story img { min-height: 370px; }
  .lead-title { font-size: 24px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card { display: grid; grid-template-columns: 42% 58%; min-height: 150px; }
  .news-card .card-thumb { height: 100%; min-height: 150px; }
  .news-card .card-body { padding: 14px; }
  .news-card .card-title { font-size: 15px; }
  .news-card .story-meta { font-size: 11px; }
  .post-navigation .nav-links { grid-template-columns: 1fr; }
  .post-navigation .nav-next { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* v1.1.3: vertically center every navigation label on desktop and mobile. */
.primary-menu > li { display: flex; align-items: stretch; }
.primary-menu > li > a { min-height: 46px; line-height: 1.25; padding-top: 2px; padding-bottom: 2px; }
.site-title .material-symbols-outlined { font-variation-settings: "FILL" 0, "wght" 500; }
@media (max-width: 767px) {
  .primary-menu { min-height: 44px; }
  .primary-menu > li > a { min-height: 44px; padding-top: 2px; padding-bottom: 2px; }
}

/* v1.1.6: fuller footer, news banner slider, varied lower grid and article tools. */
.footer-grid { padding-inline: 18px; }
.footer-menu { padding-inline: 14px; }
.footer-menu li { padding-inline: 2px; }

.news-slider-section { padding: 0 0 10px; background: linear-gradient(180deg,#f8fbf9 0,#fcfdfc 100%); }
.news-slider { overflow: hidden; border-radius: 20px; background: #073d21; box-shadow: 0 16px 38px rgba(18,55,29,.14); }
.slider-top { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 8px 18px; color: #fff; background: var(--bkn-green); font-size: 14px; font-weight: 800; }
.slider-top > span { display: flex; align-items: center; gap: 9px; }
.live-dot { width: 9px; height: 9px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.18); }
.slider-controls { display: flex; gap: 7px; }
.slider-controls button { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; color: #fff; background: rgba(255,255,255,.12); }
.slider-controls button:hover { background: #fff; color: var(--bkn-green); }
.slider-stage { position: relative; min-height: 365px; }
.news-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: scale(1.015); transition: opacity .45s ease,transform .65s ease; }
.news-slide.is-active { opacity: 1; visibility: visible; transform: none; z-index: 1; }
.slide-image, .slide-image img, .slide-image .placeholder-thumb { width: 100%; height: 100%; min-height: 365px; }
.slide-image img { object-fit: cover; }
.slide-shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(0,0,0,.82),rgba(0,0,0,.25) 64%,rgba(0,0,0,.08)); }
.slide-copy { position: absolute; z-index: 2; top: 50%; left: clamp(24px,5vw,70px); width: min(690px,calc(100% - 48px)); transform: translateY(-50%); color: #fff; }
.slide-copy h2 { margin: 13px 0 10px; font-size: clamp(28px,4vw,48px); line-height: 1.2; letter-spacing: -.025em; text-wrap: balance; }
.slide-copy .story-meta { color: rgba(255,255,255,.82); }
.slider-dots { height: 30px; display: flex; align-items: center; justify-content: center; gap: 7px; background: #fff; }
.slider-dots span { width: 8px; height: 8px; border-radius: 99px; background: #c8d3ca; transition: .25s; }
.slider-dots span.is-active { width: 28px; background: var(--bkn-green); }

.mosaic-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.mosaic-grid .news-card { min-width: 0; }
.mosaic-grid .news-card:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic-grid .news-card:first-child .card-thumb { height: 360px; }
.mosaic-grid .news-card:not(:first-child) .card-thumb { height: 155px; }
.mosaic-grid .news-card:not(:first-child) .card-body { padding: 15px; }
.mosaic-grid .news-card:not(:first-child) .card-title { font-size: 15px; }
.lower-news-section { margin-bottom: 12px; }

.single-content-layout { grid-template-columns: minmax(0,8.35fr) minmax(315px,3.65fr); }
.single-content-layout .article-shell { width: 100%; margin: 0 0 38px; }
.single-content-layout .article-title { font-size: clamp(34px,4.5vw,56px); }
.single-content-layout .entry-content > * { max-width: 100%; }
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; padding: 13px; border: 1px solid var(--bkn-line); border-radius: 14px; background: #fff; }
.share-label { display: inline-flex; align-items: center; gap: 6px; margin-right: 4px; color: var(--bkn-muted); font-size: 13px; font-weight: 800; }
.share-label .material-symbols-outlined { font-size: 19px; }
.share-button { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 0 11px; border: 0; border-radius: 999px; color: #fff; font-size: 12px; font-weight: 800; }
.share-button.facebook { background: #1877f2; }
.share-button.x-share { background: #111; }
.share-button.line-share { background: #06c755; }
.share-button.copy-link { color: var(--bkn-green-dark); background: var(--bkn-green-soft); }
.share-button .material-symbols-outlined { font-size: 16px; }
.related-news { margin: 0 0 42px; }
.related-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 16px; }
.related-grid .compact-card { display: grid; grid-template-columns: 145px 1fr; gap: 13px; align-items: center; padding: 0 0 16px; }
.related-grid .compact-card .card-thumb { height: 105px; }
.related-grid .compact-card .card-title { margin-top: 0; }

@media (max-width: 1023px) {
  .single-content-layout { grid-template-columns: 1fr; }
  .single-content-layout .sidebar { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 767px) {
  .footer-grid, .footer-menu { padding-inline: 8px; }
  .slider-stage, .slide-image, .slide-image img, .slide-image .placeholder-thumb { min-height: 310px; }
  .slide-copy { left: 22px; width: calc(100% - 44px); }
  .slide-copy h2 { font-size: 27px; }
  .mosaic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .mosaic-grid .news-card:first-child { grid-column: 1/-1; grid-row: auto; }
  .mosaic-grid .news-card:first-child .card-thumb { height: 260px; }
  .single-content-layout .sidebar { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .mosaic-grid { grid-template-columns: 1fr; }
  .mosaic-grid .news-card, .mosaic-grid .news-card:first-child { display: grid; grid-template-columns: 42% 58%; min-height: 150px; }
  .mosaic-grid .news-card .card-thumb, .mosaic-grid .news-card:first-child .card-thumb, .mosaic-grid .news-card:not(:first-child) .card-thumb { height: 100%; min-height: 150px; }
  .related-grid .compact-card { grid-template-columns: 112px 1fr; }
  .share-label { width: 100%; }
}

/* v1.1.7: dense information header, compact sidebar, ad modules and scrolling archive rail. */
.header-main { grid-template-columns: minmax(260px,1fr) auto minmax(390px,1fr); min-height: 78px; height: auto; }
.header-left { justify-content: flex-start; }
.header-right { justify-content: flex-end; }
.header-date, .header-weather { min-width: 0; display: flex; align-items: center; gap: 8px; color: var(--bkn-muted); font-size: 11px; line-height: 1.25; white-space: nowrap; }
.header-date .material-symbols-outlined, .header-weather .material-symbols-outlined { color: var(--bkn-green); font-size: 25px; }
.header-date span:last-child, .header-weather span:last-child { display: grid; }
.header-date small, .header-weather small { color: #869188; font-size: 9px; font-weight: 700; }
.header-weather strong { color: var(--bkn-ink); font-size: 11px; }
.header-ad-slot { min-width: 112px; display: grid; padding: 7px 11px; border: 1px dashed var(--bkn-green); border-radius: 10px; color: var(--bkn-green-dark); background: var(--bkn-green-soft); line-height: 1.2; }
.header-ad-slot small { font-size: 8px; opacity: .75; }
.header-ad-slot strong { font-size: 10px; }

.compact-categories { padding-bottom: 12px; }
.compact-categories ul { margin-top: -7px; }
.compact-categories li + li { border-top: 1px solid var(--bkn-line); }
.compact-categories li a { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 13px; font-weight: 700; }
.compact-categories li a strong { min-width: 28px; padding: 2px 7px; border-radius: 999px; color: var(--bkn-green-dark); background: var(--bkn-green-soft); text-align: center; font-size: 11px; }
.sidebar-ad { min-height: 118px; display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: var(--bkn-radius); color: #fff; background: linear-gradient(135deg,#006d31,#12b958); box-shadow: var(--bkn-shadow); }
.sidebar-ad > .material-symbols-outlined { font-size: 42px; }
.sidebar-ad span:last-child { display: grid; }
.sidebar-ad small { opacity: .78; }
.sidebar-ad strong { font-size: 15px; line-height: 1.45; }

.content-ad-banner { min-height: 168px; display: flex; align-items: center; justify-content: space-between; gap: 28px; margin: 0 0 50px; padding: 28px 32px; overflow: hidden; border-radius: 20px; color: #fff; background: radial-gradient(circle at 80% 20%,rgba(126,252,154,.3),transparent 32%),linear-gradient(120deg,#053b20,#009e49); box-shadow: var(--bkn-shadow); }
.content-ad-banner h2 { max-width: 620px; margin: 5px 0; font-size: clamp(23px,3vw,34px); line-height: 1.25; }
.content-ad-banner p { margin: 0; opacity: .8; }
.content-ad-banner .ad-kicker { color: #7efc9a; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.content-ad-banner .button { flex: 0 0 auto; color: var(--bkn-green-dark); background: #fff; }

.archive-rail-section { margin-bottom: 20px; }
.rail-controls { display: flex; gap: 8px; }
.rail-controls button { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1px solid var(--bkn-line); border-radius: 999px; color: var(--bkn-green); background: #fff; }
.rail-controls button:hover { color: #fff; background: var(--bkn-green); }
.news-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px,31%); gap: 15px; overflow-x: auto; padding: 2px 2px 16px; scroll-snap-type: x mandatory; scrollbar-color: var(--bkn-green) var(--bkn-green-soft); }
.rail-card { scroll-snap-align: start; overflow: hidden; border: 1px solid var(--bkn-line); border-radius: 14px; background: #fff; box-shadow: 0 5px 18px rgba(23,45,29,.05); }
.rail-image { height: 145px; display: block; overflow: hidden; }
.rail-image img, .rail-image .placeholder-thumb { width: 100%; height: 100%; object-fit: cover; }
.rail-card > div { padding: 14px; }
.rail-card h3 { margin: 8px 0; font-size: 14px; line-height: 1.5; display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rail-card h3 a:hover { color: var(--bkn-green); }

.expanded-social { gap: 10px; }
.expanded-social a { width: 43px; height: 43px; font-family: Arial,sans-serif; font-weight: 900; }
.expanded-social .youtube { background: #ff0033; }
.expanded-social .facebook { background: #1877f2; font-size: 22px; }
.expanded-social .tiktok { background: #111; font-size: 21px; }
.expanded-social .line { background: #06c755; font-size: 9px; }
.expanded-social .rss { background: #f28c28; }
.social-caption { color: var(--bkn-muted); font-size: 11px; }
.footer-date { display: flex; align-items: center; gap: 7px; color: var(--bkn-green-dark); font-size: 13px; font-weight: 700; }
.footer-date .material-symbols-outlined { font-size: 20px; }

@media (max-width: 1199px) {
  .header-main { grid-template-columns: minmax(210px,1fr) auto minmax(260px,1fr); }
  .header-ad-slot, .header-account { display: none; }
}
@media (max-width: 1023px) {
  .header-main { grid-template-columns: 1fr auto 1fr; }
  .header-date small, .header-date span span, .header-weather small { display: none; }
  .header-weather strong { font-size: 0; }
  .header-weather strong::after { content: attr(data-temperature); font-size: 11px; }
  .news-rail { grid-auto-columns: minmax(250px,44%); }
}
@media (max-width: 767px) {
  .header-main { min-height: 64px; }
  .header-date, .header-weather, .header-ad-slot { display: none; }
  .content-ad-banner { align-items: flex-start; flex-direction: column; padding: 23px; }
  .news-rail { grid-auto-columns: minmax(245px,78%); }
}

/* v1.1.9: smaller left-aligned masthead and richer footer about panel. */
@media (min-width: 768px) {
  .header-main { grid-template-columns: auto auto minmax(0,1fr); min-height: 70px; gap: 16px; }
  .header-left { gap: 2px; }
  .header-right { min-width: 0; margin-left: auto; }
  .site-branding { text-align: left; }
  .site-title { font-size: clamp(21px,2vw,30px); }
  .site-title .material-symbols-outlined { font-size: 1em; }
  .header-date { font-size: 10px; }
  .header-date .material-symbols-outlined { font-size: 21px; }
  .header-date small { font-size: 8px; }
}
.footer-about-block { max-width: 340px; }
.footer-about-copy { margin: 0 0 16px; color: var(--bkn-muted); font-size: 13px; line-height: 1.75; }
.footer-points { display: grid; gap: 8px; margin-bottom: 15px; }
.footer-points > span { display: flex; align-items: center; gap: 7px; color: #425048; font-size: 12px; }
.footer-points .material-symbols-outlined { color: var(--bkn-green); font-size: 17px; }
.expanded-social a { width: 34px; height: 34px; }
.expanded-social .facebook { font-size: 18px; }
.expanded-social .tiktok { font-size: 17px; }
.expanded-social .line { font-size: 7px; }
.expanded-social .youtube { font-size: 12px; }
.expanded-social .rss .material-symbols-outlined { font-size: 18px; }
@media (max-width: 767px) {
  .site-title { font-size: 19px; }
  .site-title .material-symbols-outlined { font-size: 20px; }
  .footer-about-block { max-width: none; }
}

/* v1.2.0: nested news sections, compact masthead, two-column mobile feed and fuller footer. */
.header-main { grid-template-columns: auto minmax(0,auto) minmax(0,1fr); gap: 8px; }
.header-left { flex: 0 0 auto; }
.site-branding { display: flex; align-items: center; justify-content: flex-start; gap: 12px; min-width: 0; text-align: left; }
.site-branding .custom-logo-link { flex: 0 0 auto; }
.header-date { flex: 0 0 auto; }
.header-right { margin-left: auto; }

.primary-menu { width: 100%; justify-content: center; overflow: visible; }
.primary-menu > li { position: relative; }
.primary-menu > li > a { padding-inline: 9px; font-size: 12px; font-weight: 600; letter-spacing: 0; }
.primary-menu .menu-item-has-children > a::before { content: '⌄'; order: 2; margin-left: 4px; color: var(--bkn-green); font-size: 11px; }
.primary-menu .sub-menu { position: absolute; z-index: 70; top: calc(100% - 2px); left: 0; min-width: 190px; padding: 8px; margin: 0; opacity: 0; visibility: hidden; transform: translateY(7px); border: 1px solid var(--bkn-line); border-radius: 12px; background: #fff; box-shadow: 0 16px 38px rgba(16,45,25,.14); list-style: none; transition: .18s ease; }
.primary-menu .sub-menu li + li { border-top: 1px solid #eef2ef; }
.primary-menu .sub-menu a { min-height: 36px; padding: 8px 10px; border-radius: 7px; font-size: 12px; font-weight: 550; white-space: nowrap; }
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.drawer-menu .sub-menu { display: grid; gap: 2px; padding: 4px 0 8px 18px; margin: 0; list-style: none; }
.drawer-menu .sub-menu a { padding-block: 7px; color: var(--bkn-muted); font-size: 13px; }

.footer-brands { justify-content: space-around; }
.footer-brand { font-size: 17px; font-weight: 750; }
.footer-grid { grid-template-columns: 1.15fr 1.55fr 1.25fr; gap: 28px; }
.footer-connect { min-width: 0; }
.footer-contact-card { margin-top: 18px; padding: 17px; border: 1px solid #dbe9df; border-radius: 14px; background: linear-gradient(145deg,#f4faf6,#fff); }
.footer-contact-card .contact-kicker { color: var(--bkn-green); font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.footer-contact-card h3 { margin: 5px 0 6px; font-size: 15px; line-height: 1.35; }
.footer-contact-card p { margin: 0 0 11px; color: var(--bkn-muted); font-size: 11px; line-height: 1.65; }
.footer-contact-card a { display: inline-flex; align-items: center; gap: 5px; color: var(--bkn-green-dark); font-size: 12px; font-weight: 750; }
.footer-contact-card a .material-symbols-outlined { font-size: 16px; }
.footer-service { display: grid; gap: 6px; margin-top: 13px; color: var(--bkn-muted); font-size: 10px; }
.footer-service > span { display: flex; align-items: center; gap: 6px; }
.footer-service .material-symbols-outlined { color: var(--bkn-green); font-size: 15px; }

@media (max-width: 1199px) {
  .primary-menu > li > a { padding-inline: 7px; font-size: 11.5px; }
}
@media (max-width: 1023px) {
  .header-main { grid-template-columns: auto minmax(0,1fr) auto; }
  .site-branding { gap: 9px; }
  .primary-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-connect { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .header-main { min-height: 64px; height: auto; gap: 4px; }
  .header-left .icon-button { width: 34px; height: 34px; }
  .site-branding { gap: 6px; }
  .site-title { font-size: 17px; white-space: nowrap; }
  .site-title .material-symbols-outlined { display: inline-flex; font-size: 18px; }
  .header-date { display: flex; gap: 3px; color: var(--bkn-muted); font-size: 8px; line-height: 1.15; white-space: nowrap; }
  .header-date .material-symbols-outlined, .header-date small { display: none; }
  .header-right { gap: 0; }
  .header-weather, .header-ad-slot, .subscribe-button, .header-account { display: none; }
  .home-hero .latest-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .home-hero .latest-item { display: grid; grid-template-columns: 1fr; gap: 8px; align-content: start; padding: 0 0 11px; }
  .home-hero .latest-thumb { width: 100%; height: 104px; border-radius: 9px; }
  .home-hero .latest-item h3 { font-size: 13px; line-height: 1.35; }
  .home-hero .latest-item .story-meta { font-size: 9px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-connect { grid-column: auto; }
  .footer-brands { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .footer-brand { font-size: 15px; }
}
@media (max-width: 390px) {
  .container { width: min(calc(100% - 22px), var(--bkn-max)); }
  .site-title { font-size: 15px; }
  .header-date { font-size: 7px; }
  .header-right .icon-button { width: 32px; }
}
.footer-menu .sub-menu { display: none; }

/* v1.2.1: balanced navigation, clean white surfaces and repaired mobile/footer layout. */
:root { --bkn-green-soft: #f7f9f7; --bkn-page: #ffffff; --bkn-shadow: 0 12px 34px rgba(20,37,25,.10); }
body, .site-main, .home-hero, .news-slider-section, .archive-hero { background: #fff; }
img { background: #f6f7f6; }

.header-main { grid-template-columns: minmax(270px,1fr) auto minmax(270px,1fr); gap: 22px; min-height: 76px; }
.header-brand-group { min-width: 0; display: flex; align-items: center; justify-content: flex-start; gap: 5px; }
.header-brand-group > .icon-button { flex: 0 0 40px; }
.site-branding { min-width: 0; display: flex; align-items: center; }
.site-title { font-size: clamp(22px,2.1vw,31px); }
.header-info-center { display: flex; align-items: center; justify-content: center; gap: 14px; }
.header-info-center .header-date, .header-info-center .header-weather { font-size: 10px; }
.header-info-center .header-date .material-symbols-outlined, .header-info-center .header-weather .material-symbols-outlined { font-size: 21px; }
.header-info-center .header-ad-slot { min-width: 116px; }
.header-right { min-width: 0; justify-content: flex-end; margin-left: 0; }

.primary-nav { overflow: visible; background: #fff; }
.primary-nav > .container { width: min(calc(100% - 56px),1180px); }
.primary-menu { width: 100%; min-width: 0; min-height: 48px; justify-content: space-between; gap: 0; }
.primary-menu > li { flex: 0 1 auto; }
.primary-menu > li > a { min-height: 48px; padding-inline: 9px; font-size: 13.5px; font-weight: 650; letter-spacing: -.01em; white-space: nowrap; }
.primary-menu .sub-menu a { font-size: 13px; font-weight: 600; }

.home-hero { padding-top: 24px; }
.home-leaderboard { min-height: 82px; display: grid; grid-template-columns: minmax(250px,.9fr) minmax(300px,1.4fr) auto; align-items: center; gap: 28px; margin-bottom: 24px; padding: 16px 22px; border: 1px solid var(--bkn-line); border-radius: 14px; background: #fff; box-shadow: 0 8px 26px rgba(20,37,25,.07); }
.leaderboard-mark { display: flex; align-items: center; gap: 11px; }
.leaderboard-mark > .material-symbols-outlined { color: var(--bkn-green); font-size: 31px; }
.leaderboard-mark > span:last-child { display: grid; }
.leaderboard-mark small { color: var(--bkn-green); font-size: 9px; font-weight: 850; letter-spacing: .08em; }
.leaderboard-mark strong { font-size: 15px; line-height: 1.35; }
.home-leaderboard p { margin: 0; color: var(--bkn-muted); font-size: 12px; line-height: 1.6; }
.home-leaderboard > a { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 14px; border-radius: 999px; color: #fff; background: var(--bkn-green); font-size: 11px; font-weight: 800; white-space: nowrap; }
.home-leaderboard > a .material-symbols-outlined { font-size: 16px; }

.news-card, .latest-panel, .widget, .rail-card { background: #fff; box-shadow: 0 7px 24px rgba(20,37,25,.08); }
.article-shell { padding: clamp(24px,3vw,40px); border: 1px solid var(--bkn-line); border-radius: 20px; background: #fff; box-shadow: 0 10px 34px rgba(20,37,25,.09); }
.entry-content blockquote, .post-tags a, .share-button.copy-link { background: #f7f9f7; }

.footer-grid { grid-template-columns: minmax(0,1.1fr) minmax(0,1.35fr) minmax(0,1.1fr); gap: 24px; padding-inline: 8px; }
.footer-grid > * { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.footer-menu { grid-template-columns: repeat(2,minmax(0,1fr)); padding-inline: 4px; gap: 6px 12px; }
.footer-menu li, .footer-menu a { min-width: 0; }
.footer-connect, .footer-contact-card { width: 100%; max-width: 100%; }
.footer-contact-card p { overflow-wrap: anywhere; }
.footer-contact-card a { max-width: 100%; white-space: normal; }

.mobile-drawer .drawer-menu { display: block; padding-top: 10px; }
.mobile-drawer .drawer-menu > li { display: block; width: 100%; border-bottom: 1px solid #edf1ee; }
.mobile-drawer .drawer-menu > li > a { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 10px 6px; font-size: 15px; line-height: 1.3; }
.mobile-drawer .drawer-menu .menu-item-has-children > a::after { content: 'หมวดย่อย'; color: #8b958e; font-size: 9px; font-weight: 600; }
.mobile-drawer .drawer-menu .sub-menu { display: grid; grid-template-columns: 1fr; gap: 0; padding: 0 0 9px 16px; margin: 0; }
.mobile-drawer .drawer-menu .sub-menu li { border: 0; }
.mobile-drawer .drawer-menu .sub-menu a { min-height: 36px; padding: 7px 8px; font-size: 12.5px; font-weight: 550; }

@media (max-width: 1199px) {
  .header-main { grid-template-columns: minmax(245px,1fr) auto minmax(210px,1fr); gap: 14px; }
  .header-info-center { gap: 9px; }
  .header-info-center .header-ad-slot { display: none; }
  .primary-nav > .container { width: min(calc(100% - 32px),1100px); }
  .primary-menu > li > a { padding-inline: 7px; font-size: 12.5px; }
}
@media (max-width: 1023px) {
  .header-main { grid-template-columns: minmax(0,1fr) auto; }
  .header-info-center { display: none; }
  .primary-nav { display: none; }
  .home-leaderboard { grid-template-columns: 1fr auto; }
  .home-leaderboard p { display: none; }
  .footer-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .footer-connect { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .header-main { min-height: 62px; gap: 8px; }
  .header-brand-group { gap: 2px; }
  .site-title { font-size: 18px; }
  .site-title .material-symbols-outlined { display: inline-flex; font-size: 19px; }
  .mobile-drawer { width: min(340px,90vw); padding: 18px; }
  .drawer-title { font-size: 20px; }
  .home-hero { padding-top: 16px; }
  .home-leaderboard { min-height: 72px; grid-template-columns: 1fr; gap: 10px; padding: 14px 16px; }
  .home-leaderboard > a { display: none; }
  .leaderboard-mark strong { font-size: 13px; }
  .article-shell { width: 100%; padding: 21px 18px; margin-top: 20px; border-radius: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-connect { grid-column: auto; }
}

/* v1.2.2: compact footer, mobile category tabs and 2x2 related news. */
.footer-social-compact { gap: 6px; margin: 0 0 10px; }
.footer-social-compact a, .expanded-social.footer-social-compact a { width: 18px; height: 18px; }
.footer-social-compact .youtube { font-size: 7px; }
.footer-social-compact .facebook { font-size: 11px; }
.footer-social-compact .tiktok { font-size: 10px; }
.footer-social-compact .line { font-size: 4px; }
.footer-social-compact .rss .material-symbols-outlined { font-size: 11px; }
.footer-connect .footer-contact-card { margin-top: 8px; }

.mobile-category-tabs { display: none; border-bottom: 1px solid var(--bkn-line); background: #fff; }
.mobile-tabs-track { display: flex; gap: 6px; overflow-x: auto; padding: 8px 1px; scrollbar-width: none; scroll-snap-type: x proximity; }
.mobile-tabs-track::-webkit-scrollbar { display: none; }
.mobile-tabs-track a { flex: 0 0 auto; min-height: 27px; display: inline-flex; align-items: center; padding: 2px 10px; border: 1px solid #e2e8e3; border-radius: 999px; color: #59635c; background: #fff; font-size: 10px; font-weight: 650; line-height: 1; scroll-snap-align: start; }
.mobile-tabs-track a.is-current { color: #fff; border-color: var(--bkn-green); background: var(--bkn-green); }

@media (max-width: 767px) {
  .mobile-category-tabs { display: block; }
  .single-news-main .content-layout { padding-top: 20px; }
  .archive-hero { padding-top: 24px; }
  .single-content-layout .article-shell { box-shadow: 0 3px 12px rgba(20,37,25,.05); }
  .related-news { margin-inline: 0; }
  .related-news .section-head { margin-bottom: 14px; }
  .related-news .section-title { font-size: 21px; }
  .related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .related-grid .compact-card { display: block; min-width: 0; padding: 0 0 10px; overflow: hidden; border: 1px solid #e0e6e1; border-radius: 11px; background: #fff; box-shadow: 0 2px 8px rgba(20,37,25,.035); }
  .related-grid .compact-card .card-thumb { width: 100%; height: 105px; border-radius: 0; }
  .related-grid .compact-card > div { padding: 9px; }
  .related-grid .compact-card .news-label { min-height: 21px; padding-inline: 7px; font-size: 8px; }
  .related-grid .compact-card .card-title { margin: 7px 0 5px; font-size: 12px; line-height: 1.4; -webkit-line-clamp: 3; }
  .related-grid .compact-card .story-meta { gap: 3px; font-size: 8px; }
}

/* v1.2.3: dark balanced footer, sticky mobile tabs and colorful accents. */
:root { --bkn-gold: #f5c542; --bkn-blue: #1976d2; --bkn-orange: #ed7d31; }

.subscribe-button { color: #302500; background: var(--bkn-gold); box-shadow: 0 5px 14px rgba(205,155,0,.18); }
.subscribe-button:hover { color: #241b00; background: #ffda63; }
.view-all { color: var(--bkn-blue); }
.home-leaderboard > a { color: #302500; background: var(--bkn-gold); }
.home-leaderboard > a:hover { background: #ffda63; }
.content-ad-banner .button { color: #302500; background: var(--bkn-gold); }
.news-card:nth-child(3n+2) .news-label { color: #0d5fab; background: #edf6ff; }
.news-card:nth-child(3n) .news-label { color: #a64d12; background: #fff3e9; }
.section:nth-of-type(2n) .section-head::after { background: var(--bkn-gold); }
.section:nth-of-type(3n) .section-head::after { background: var(--bkn-blue); }
.card-title a:hover, .latest-item:nth-child(3n+2):hover h3 { color: var(--bkn-blue); }

.site-footer { color: #fff; border-top-color: #353b36; background: #252a26; }
.site-footer .footer-brands { border: 1px solid #3a413b; background: #303631; }
.site-footer .footer-brand { color: #fff; }
.site-footer .footer-brand span { color: #71d697; }
.site-footer .footer-grid { grid-template-columns: minmax(0,1.05fr) minmax(0,1.25fr) minmax(0,1.05fr); gap: clamp(28px,4vw,54px); padding-inline: clamp(28px,5vw,74px); }
.site-footer .footer-grid > * { min-width: 0; }
.site-footer .footer-about-block { width: 100%; max-width: 360px; margin-inline: auto; }
.site-footer .footer-about-copy, .site-footer .footer-menu, .site-footer .footer-points > span, .site-footer .social-caption { color: rgba(255,255,255,.72); }
.site-footer .footer-menu { width: min(100%,390px); margin-inline: auto; }
.site-footer .footer-menu a:hover { color: var(--bkn-gold); }
.site-footer .footer-date { color: #83dfa5; }
.site-footer .footer-contact-card { border-color: #485049; background: #303631; }
.site-footer .footer-contact-card .contact-kicker { color: var(--bkn-gold); }
.site-footer .footer-contact-card h3 { color: #fff; }
.site-footer .footer-contact-card p { color: rgba(255,255,255,.7); }
.site-footer .footer-contact-card a { color: #8edfaf; }
.site-footer .site-info { border-top-color: #414842; color: rgba(255,255,255,.62); }

.mobile-drawer { opacity: 0; visibility: hidden; box-shadow: none; }
.mobile-drawer.is-open { opacity: 1; visibility: visible; box-shadow: 20px 0 40px rgba(0,0,0,.16); }

@media (max-width: 1023px) {
  .site-footer .footer-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); padding-inline: clamp(20px,5vw,48px); }
  .site-footer .footer-connect { width: min(100%,520px); margin-inline: auto; }
}
@media (max-width: 767px) {
  .mobile-category-tabs { position: sticky; top: 62px; z-index: 58; box-shadow: 0 4px 12px rgba(20,37,25,.055); }
  .mobile-tabs-track { padding-block: 7px; }
  .mobile-tabs-track a { min-height: 25px; font-size: 9.5px; }
  .single-content-layout .article-shell { border-color: #e5e9e6; box-shadow: 0 2px 7px rgba(20,37,25,.025); }
  .site-footer .footer-grid { grid-template-columns: 1fr; padding-inline: 18px; }
  .site-footer .footer-about-block, .site-footer .footer-grid > nav, .site-footer .footer-connect { width: min(100%,350px); max-width: 350px; margin-inline: auto; }
  .site-footer .footer-menu { padding-inline: 10px; }
  .site-footer .footer-contact-card { box-shadow: none; }
}
body.admin-bar .mobile-category-tabs { top: 108px; }
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  body.admin-bar .mobile-category-tabs { top: 108px; }
}

/* v1.2.4: softer amber actions and full-width editorial mega menus. */
:root { --bkn-gold: #d9a62e; }
.subscribe-button, .home-leaderboard > a, .content-ad-banner .button { color: #2e250f; background: #d9a62e; box-shadow: 0 3px 8px rgba(117,82,0,.10); }
.subscribe-button:hover, .home-leaderboard > a:hover, .content-ad-banner .button:hover { color: #251d0b; background: #c49020; }

@media (min-width: 1024px) {
  .primary-nav > .container { position: relative; width: min(calc(100% - 48px),1280px); }
  .primary-menu { position: relative; }
  .primary-menu > li { position: static; }
  .primary-menu > li > a { padding-inline: 7px; font-size: 12.5px; }
  .primary-menu .sub-menu { top: 100%; right: 0; left: 0; width: 100%; min-width: 0; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px 12px; padding: 20px; border-top: 3px solid var(--bkn-green); border-radius: 0 0 16px 16px; background: #fff; box-shadow: 0 18px 42px rgba(16,45,25,.14); }
  .primary-menu .sub-menu li, .primary-menu .sub-menu li + li { min-width: 0; border: 0; }
  .primary-menu .sub-menu a { min-height: 44px; display: flex; align-items: center; padding: 9px 12px; border: 1px solid #e4eae5; border-radius: 10px; color: #344039; background: #fafcfb; font-size: 13px; font-weight: 650; white-space: normal; }
  .primary-menu .sub-menu a::before { content: '•'; margin-right: 7px; color: var(--bkn-green); font-size: 18px; line-height: 1; }
  .primary-menu .sub-menu a:hover { color: #0d5fab; border-color: #cfe0f2; background: #f1f7fd; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .primary-menu > li > a { padding-inline: 5px; font-size: 11.5px; }
  .primary-menu .sub-menu { grid-template-columns: repeat(4,minmax(0,1fr)); }
}

/* v1.2.5: taller nav, multicolor actions, smaller brand and premium moderated comments. */
.site-title { font-size: clamp(20px,1.8vw,27px); }
.site-title .material-symbols-outlined { font-size: 1.05em; }
.header-info-center { gap: 9px; }
.header-merit-button { min-height: 38px; display: inline-flex; align-items: center; gap: 5px; padding: 0 12px; border-radius: 999px; color: #fff; background: #d94242; font-size: 10px; font-weight: 800; white-space: nowrap; box-shadow: 0 4px 11px rgba(178,35,35,.14); }
.header-merit-button:hover { background: #bf3030; }
.header-merit-button .material-symbols-outlined { font-size: 16px; }
.subscribe-button { color: #fff; background: #1976d2; box-shadow: 0 4px 11px rgba(25,118,210,.14); }
.subscribe-button:hover { color: #fff; background: #0f63b7; }
.home-leaderboard > a { color: #2e250f; background: #d9a62e; }
.content-ad-banner .button { color: #fff; background: #099754; }
.content-ad-banner .button:hover { color: #fff; background: #067a43; }
.drawer-merit-link { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 14px; border-radius: 11px; color: #fff; background: #d94242; font-size: 13px; font-weight: 800; }
.drawer-merit-link .material-symbols-outlined { font-size: 18px; }

.primary-menu { min-height: 58px; }
.primary-menu > li > a { min-height: 58px; padding-inline: 8px; font-size: 13px; font-weight: 680; line-height: 1.35; }
@media (min-width: 1024px) and (max-width: 1199px) {
  .primary-menu > li > a { min-height: 56px; padding-inline: 5px; font-size: 11.7px; }
}
@media (max-width: 1199px) {
  .header-merit-button { padding-inline: 10px; }
}
@media (max-width: 1023px) {
  .header-merit-button { display: none; }
}
@media (max-width: 767px) {
  .site-title { font-size: 16.5px; }
}

.comments-area { margin-top: 32px; padding: clamp(22px,3vw,34px); border: 1px solid #dce6df; border-radius: 20px; background: linear-gradient(145deg,#fff,#f8fbf9); box-shadow: 0 8px 28px rgba(20,37,25,.055); }
.comments-head, .comment-form-heading { display: flex; align-items: center; gap: 11px; }
.comments-head { margin-bottom: 22px; padding-bottom: 17px; border-bottom: 1px solid var(--bkn-line); }
.comments-head > .material-symbols-outlined, .comment-form-heading > .material-symbols-outlined { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg,#007d45,#12a962); font-size: 22px; }
.comments-head span:not(.material-symbols-outlined) { color: var(--bkn-green); font-size: 10px; font-weight: 800; }
.comments-head h2, .comment-form-heading h2 { margin: 0; font-size: clamp(20px,2.5vw,27px); }
.comment-form-heading { margin-bottom: 15px; }
.comment-guidance, .comment-account { display: flex; align-items: flex-start; gap: 10px; padding: 13px 15px; border: 1px solid #dbe8df; border-radius: 12px; color: #526158; background: #f5faf7; font-size: 12px; line-height: 1.55; }
.comment-guidance .material-symbols-outlined, .comment-account .material-symbols-outlined { flex: 0 0 auto; color: var(--bkn-green); font-size: 20px; }
.comment-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 16px; }
.comment-form-heading, .comment-guidance, .comment-account, .comment-form-comment, .form-submit, .comment-notes { grid-column: 1 / -1; }
.comment-form p { margin: 0; }
.comment-form label { display: block; margin-bottom: 6px; color: #344039; font-size: 12px; font-weight: 750; }
.comment-form input, .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #cfdad2; border-radius: 11px; color: var(--bkn-ink); background: #fff; transition: border-color .2s,box-shadow .2s; }
.comment-form input { height: 46px; }
.comment-form textarea { min-height: 165px; resize: vertical; }
.comment-form input:focus, .comment-form textarea:focus { outline: 0; border-color: var(--bkn-green); box-shadow: 0 0 0 4px rgba(0,158,73,.10); }
.comment-submit-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border: 0; border-radius: 12px; color: #fff; background: linear-gradient(135deg,#007b43,#0ca85b); box-shadow: 0 8px 18px rgba(0,126,58,.16); font-size: 13px; font-weight: 850; }
.comment-submit-button:hover { transform: translateY(-1px); background: linear-gradient(135deg,#006638,#07974f); }
.comment-submit-button .material-symbols-outlined { font-size: 18px; }
.comment-list { padding-left: 24px; }
.comment-list .comment-body { margin-bottom: 14px; padding: 15px; border: 1px solid var(--bkn-line); border-radius: 13px; background: #fff; }
@media (max-width: 767px) {
  .comments-area { padding: 18px 15px; border-radius: 15px; box-shadow: 0 3px 12px rgba(20,37,25,.035); }
  .comment-form { grid-template-columns: 1fr; }
  .comment-form-author, .comment-form-email { grid-column: 1 / -1; }
  .comment-submit-button { width: 100%; }
}

/* v1.2.6: balanced masthead, donation dropdown and dimensional search controls. */
@media (min-width: 1200px) {
  .header-main { grid-template-columns: minmax(285px,1fr) minmax(530px,auto) minmax(285px,1fr); gap: 20px; }
  .header-info-center { width: 530px; justify-content: center; gap: 12px; }
  .header-right { min-width: 285px; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .header-main { grid-template-columns: minmax(220px,1fr) auto minmax(220px,1fr); gap: 13px; }
  .header-info-center { justify-content: center; gap: 9px; }
  .header-info-center .header-ad-slot { display: none; }
  .search-button-label { display: none; }
}

.header-date, .header-weather { padding: 5px 4px; }
.header-merit-menu { position: relative; flex: 0 0 auto; }
.header-merit-button { border: 0; }
.header-merit-button .merit-chevron { font-size: 15px; transition: transform .2s; }
.header-merit-menu.is-open .merit-chevron, .header-merit-menu:hover .merit-chevron { transform: rotate(180deg); }
.header-merit-dropdown { position: absolute; z-index: 85; top: calc(100% + 12px); right: 0; width: min(680px,90vw); padding: 18px; opacity: 0; visibility: hidden; transform: translateY(8px); border: 1px solid #dce5de; border-top: 3px solid #d94242; border-radius: 16px; background: #fff; box-shadow: 0 22px 55px rgba(18,35,23,.18); transition: .2s ease; }
.header-merit-menu:hover .header-merit-dropdown, .header-merit-menu:focus-within .header-merit-dropdown, .header-merit-menu.is-open .header-merit-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.merit-dropdown-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 13px; padding-bottom: 12px; border-bottom: 1px solid var(--bkn-line); }
.merit-dropdown-head > span, .merit-dropdown-head > a { display: flex; align-items: center; gap: 7px; }
.merit-dropdown-head > span .material-symbols-outlined { color: #d94242; }
.merit-dropdown-head > a { color: var(--bkn-blue); font-size: 11px; font-weight: 800; }
.merit-dropdown-head > a .material-symbols-outlined { font-size: 15px; }
.merit-dropdown-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.merit-dropdown-grid a { min-height: 43px; display: flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid #e4e9e5; border-radius: 10px; color: #37423b; background: #fafcfb; font-size: 12px; font-weight: 650; }
.merit-dropdown-grid a:hover { color: #a72b2b; border-color: #efcaca; background: #fff5f5; }
.merit-dropdown-grid .material-symbols-outlined { color: #d94242; font-size: 16px; }

.primary-menu { gap: 3px; }
.primary-menu > li > a { min-height: 60px; padding-inline: 9px; font-size: 14px; font-weight: 700; letter-spacing: .005em; line-height: 1.4; }
@media (min-width: 1024px) and (max-width: 1199px) {
  .primary-menu > li > a { min-height: 58px; padding-inline: 5px; font-size: 12.2px; }
}

.header-search-button { width: auto; min-width: 112px; height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 13px; border: 1px solid #d8e5dd; border-radius: 999px; color: #087b43; background: linear-gradient(145deg,#fff,#f3f8f5); box-shadow: 0 5px 15px rgba(15,67,35,.08),inset 0 1px 0 rgba(255,255,255,.9); }
.header-search-button:hover { color: #fff; border-color: #07844a; background: linear-gradient(135deg,#087b43,#0baa61); box-shadow: 0 8px 19px rgba(0,126,58,.18); }
.header-search-button .material-symbols-outlined { font-size: 20px; }
.search-button-label { font-size: 11px; font-weight: 800; white-space: nowrap; }
.search-modal { backdrop-filter: blur(9px); background: rgba(17,28,21,.58); }
.search-panel { position: relative; width: min(680px,100%); padding: 24px; border: 1px solid rgba(255,255,255,.75); border-radius: 24px; background: linear-gradient(145deg,#fff,#f5faf7); box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.search-panel-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 17px; }
.search-panel-heading > .material-symbols-outlined { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(135deg,#087b43,#1976d2); box-shadow: 0 8px 18px rgba(25,118,210,.16); }
.search-panel-heading > div { display: grid; }
.search-panel-heading strong { font-size: 18px; }
.search-panel-heading small { color: var(--bkn-muted); font-size: 11px; }
.search-panel .search-form { padding: 6px; border: 1px solid #d4dfd7; border-radius: 16px; background: #fff; box-shadow: inset 0 2px 7px rgba(20,37,25,.035); }
.search-panel .search-field { height: 48px; border: 0; background: transparent; }
.search-panel .search-field:focus { outline: 0; }
.search-panel .search-submit { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg,#087b43,#1976d2); box-shadow: 0 7px 16px rgba(25,118,210,.18); }
.search-hint { display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.search-hint .material-symbols-outlined { font-size: 17px; }

.drawer-merit-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; padding: 8px 0 4px; }
.drawer-merit-grid a { min-height: 34px; display: flex; align-items: center; padding: 6px 8px; border: 1px solid #e6ebe7; border-radius: 8px; color: #59645d; background: #fafcfb; font-size: 10px; font-weight: 600; }

@media (max-width: 1023px) {
  .header-merit-menu { display: none; }
}
@media (max-width: 767px) {
  .header-search-button { min-width: 38px; width: 38px; height: 38px; padding: 0; border-radius: 12px; }
  .search-button-label { display: none; }
  .search-panel { padding: 19px 15px; border-radius: 19px; }
  .search-panel-heading strong { font-size: 16px; }
  .search-panel-heading small { font-size: 10px; }
}

/* v1.2.7: comments directly after articles and softer action colors. */
.single-content-layout .article-shell { margin-bottom: 16px; }
.single-content-layout .comments-area { margin-top: 0; margin-bottom: 38px; }
.comment-submit-button { color: #2e250f; background: linear-gradient(135deg,#e1b33e,#d39b20); box-shadow: 0 8px 18px rgba(157,111,0,.14); }
.comment-submit-button:hover { color: #241b09; background: linear-gradient(135deg,#e9c35d,#c88f18); }
.header-merit-button, .drawer-merit-link { color: #fff; background: #e56f7f; box-shadow: 0 4px 11px rgba(176,70,86,.13); }
.header-merit-button:hover, .drawer-merit-link:hover { color: #fff; background: #d85b6d; }

/* v1.2.8: vivid share tools, dynamic video card and restructured editorial sections. */
.share-bar { gap: 9px; padding: 14px; border-color: #cfe1d5; background: linear-gradient(145deg,#fff,#f5faf7); box-shadow: 0 5px 16px rgba(20,37,25,.055); }
.share-label { min-height: 38px; display: inline-flex; align-items: center; gap: 7px; padding: 0 13px; margin-right: 3px; border-radius: 999px; color: #fff; background: linear-gradient(135deg,#007d45,#0aa75d); font-size: 13px; font-weight: 850; box-shadow: 0 6px 14px rgba(0,126,58,.16); }
.share-label .material-symbols-outlined { color: #fff; font-size: 21px; }
.share-button { min-height: 38px; padding-inline: 13px; box-shadow: 0 4px 10px rgba(20,37,25,.10); }
.share-button:hover { transform: translateY(-1px); filter: brightness(1.06); }
.share-button.gmail-share { background: #d64a3a; }
.share-button.whatsapp-share { background: #20ad5a; }
.share-button.gmail-share .material-symbols-outlined, .share-button.whatsapp-share .material-symbols-outlined { font-size: 16px; }
.share-bar-end { margin: 28px 0 4px; border-width: 2px; }

.hero-heading-row { display: grid; grid-template-columns: minmax(0,2.1fr) minmax(320px,1fr); gap: 24px; align-items: end; }
.hero-heading-copy { min-width: 0; }
.hero-video-box { position: relative; min-height: 126px; display: grid; grid-template-columns: 132px minmax(0,1fr); gap: 12px; padding: 12px; overflow: hidden; border: 1px solid var(--bkn-line); border-radius: 16px; background: #fff; box-shadow: 0 8px 25px rgba(20,37,25,.075); }
.hero-video-thumb { position: relative; min-height: 100px; overflow: hidden; border-radius: 11px; }
.hero-video-thumb img, .hero-video-thumb .placeholder-thumb { width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.22); }
.video-play .material-symbols-outlined { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 999px; background: #e23d48; box-shadow: 0 5px 13px rgba(145,20,30,.25); }
.hero-video-copy { min-width: 0; padding-right: 2px; }
.video-kicker { color: #d53542; font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.hero-video-copy h2, .hero-video-empty h2 { margin: 4px 0; font-size: 13px; line-height: 1.4; display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hero-video-copy h2 a:hover { color: var(--bkn-blue); }
.hero-video-copy .story-meta { font-size: 9px; }
.video-channel-links { position: absolute; right: 12px; bottom: 10px; display: flex; gap: 5px; }
.video-channel-links a { min-height: 22px; display: inline-flex; align-items: center; padding: 1px 7px; border-radius: 999px; color: #fff; font-size: 8px; font-weight: 800; }
.youtube-link { background: #e52531; }
.tiktok-link { background: #202320; }
.hero-video-empty { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; }
.hero-video-empty > .material-symbols-outlined { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(135deg,#e23d48,#7b2cbf); }

@media (max-width: 1023px) {
  .hero-heading-row { grid-template-columns: 1fr; gap: 16px; }
  .hero-video-box { width: 100%; }
}
@media (max-width: 767px) {
  .share-bar { gap: 7px; padding: 11px; }
  .share-label { width: 100%; justify-content: center; }
  .share-button { flex: 1 1 calc(33.333% - 7px); min-width: 88px; padding-inline: 8px; font-size: 10px; }
  .hero-video-box { grid-template-columns: 112px minmax(0,1fr); min-height: 114px; }
  .hero-video-thumb { min-height: 90px; }
}

/* v1.2.9: semantic submenu icons, consolidated sections and mobile share cleanup. */
@media (min-width: 1024px) {
  .primary-menu .sub-menu a::before { content: 'article'; width: 22px; flex: 0 0 22px; margin-right: 6px; color: var(--bkn-green); font-family: 'Material Symbols Outlined'; font-size: 20px; font-weight: 400; line-height: 1; font-variation-settings: 'FILL' 0,'wght' 500,'GRAD' 0,'opsz' 24; }
  .primary-menu .sub-menu a[href*="football"]::before { content: 'sports_soccer'; }
  .primary-menu .sub-menu a[href*="volleyball"]::before { content: 'sports_volleyball'; }
  .primary-menu .sub-menu a[href*="boxing"]::before, .primary-menu .sub-menu a[href*="muay-thai"]::before { content: 'sports_mma'; }
  .primary-menu .sub-menu a[href*="lumpinee"]::before { content: 'stadium'; }
  .primary-menu .sub-menu a[href*="sepak-takraw"]::before { content: 'sports_handball'; }
  .primary-menu .sub-menu a[href*="motorsport"]::before { content: 'sports_motorsports'; }
  .primary-menu .sub-menu a[href*="other-sports"]::before { content: 'emoji_events'; }
  .primary-menu .sub-menu a[href*="celebrity"]::before { content: 'star'; }
  .primary-menu .sub-menu a[href*="influencer"]::before { content: 'campaign'; }
  .primary-menu .sub-menu a[href*="artist"]::before { content: 'palette'; }
  .primary-menu .sub-menu a[href*="music"]::before { content: 'music_note'; }
  .primary-menu .sub-menu a[href*="science"]::before { content: 'science'; }
  .primary-menu .sub-menu a[href*="technology"]::before { content: 'memory'; }
  .primary-menu .sub-menu a[href*="lifestyle"]::before { content: 'self_improvement'; }
  .primary-menu .sub-menu a[href*="disease"]::before { content: 'medical_information'; }
  .primary-menu .sub-menu a[href*="health-care"]::before { content: 'health_and_safety'; }
  .primary-menu .sub-menu a[href*="child-health"]::before { content: 'child_care'; }
  .primary-menu .sub-menu a[href*="women-health"]::before { content: 'woman'; }
  .primary-menu .sub-menu a[href*="elderly-health"]::before { content: 'elderly'; }
  .primary-menu .sub-menu a[href*="side-income"]::before { content: 'payments'; }
}
@media (max-width: 767px) {
  .share-bar-top { display: none; }
}

/* v1.3.0: compact mobile accordions and video-first sidebar. */
.drawer-menu .drawer-merit-section { list-style: none; margin: 10px 0; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.drawer-merit-section .drawer-merit-link { width: 100%; border: 0; cursor: pointer; text-align: left; }
.drawer-merit-section .drawer-chevron { margin-left: auto; transition: transform .2s ease; }
.drawer-merit-section.submenu-open .drawer-chevron { transform: rotate(180deg); }
.drawer-merit-panel[hidden], .drawer-menu .sub-menu[hidden] { display: none !important; }
.drawer-merit-section.submenu-open .drawer-merit-panel { display: grid; }
.drawer-accordion-item { position: relative; }
.drawer-accordion-item > a { padding-right: 48px !important; }
.drawer-submenu-toggle { position: absolute; right: 4px; top: 6px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 10px; background: #f4f7f5; color: var(--green); cursor: pointer; }
.drawer-submenu-toggle .material-symbols-outlined { font-size: 21px; transition: transform .2s ease; }
.drawer-accordion-item.submenu-open > .drawer-submenu-toggle .material-symbols-outlined { transform: rotate(180deg); }
.drawer-accordion-item.submenu-open > .sub-menu { display: grid; }
.tiktok-news-widget { overflow: hidden; }
.tiktok-widget-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.tiktok-widget-heading > .material-symbols-outlined { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg,#111 25%,#25f4ee 26%,#fe2c55 78%); }
.tiktok-widget-heading small { color: var(--green); font-weight: 800; letter-spacing: .08em; }
.tiktok-widget-heading h2 { margin: 1px 0 0; font-size: 1.25rem; }
.tiktok-profile-card { position: relative; isolation: isolate; min-height: 430px; aspect-ratio: 9/16; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 28px 22px; border-radius: 22px; color: #fff; text-decoration: none; background: radial-gradient(circle at 76% 20%,rgba(37,244,238,.55),transparent 28%),radial-gradient(circle at 20% 70%,rgba(254,44,85,.6),transparent 30%),linear-gradient(155deg,#16181d,#030305 62%,#15151a); box-shadow: 0 18px 45px rgba(15,20,18,.18); }
.tiktok-profile-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 32%,rgba(0,0,0,.85)); }
.tiktok-profile-card strong { font-size: 1.08rem; }
.tiktok-profile-card small { margin-top: 7px; line-height: 1.6; color: rgba(255,255,255,.82); }
.tiktok-mark { position: absolute; top: 30px; left: 50%; transform: translateX(-50%); font-size: 5.5rem; font-weight: 900; text-shadow: -5px -2px #25f4ee,5px 2px #fe2c55; }
.tiktok-open-button { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 18px; padding: 11px 14px; border-radius: 999px; color: #111; background: #fff; font-weight: 800; }
.sidebar-section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sidebar-section-head a { color: var(--green); font-size: .86rem; font-weight: 800; text-decoration: none; }
.latest-sidebar-item { display: grid; grid-template-columns: 82px 1fr; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.latest-sidebar-item:last-child { border-bottom: 0; padding-bottom: 0; }
.latest-sidebar-thumb { height: 62px; display: grid; place-items: center; overflow: hidden; border-radius: 11px; color: var(--green); background: #eef5f1; }
.latest-sidebar-thumb img { width: 100%; height: 100%; object-fit: cover; }
.latest-sidebar-item strong { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: .92rem; line-height: 1.42; }
.latest-sidebar-item small { display: block; margin-top: 5px; color: var(--muted); font-size: .75rem; }
@media (max-width: 782px) {
  .drawer-menu > li > a { min-height: 46px; display: flex; align-items: center; }
  .drawer-menu .sub-menu { margin: 3px 0 8px; padding: 5px 8px 8px 18px; grid-template-columns: 1fr 1fr; gap: 4px 8px; }
  .drawer-menu .sub-menu a { min-height: 38px; display: flex; align-items: center; padding: 6px 8px; border-radius: 8px; background: #f8faf9; font-size: .82rem; }
  .drawer-merit-panel { grid-template-columns: 1fr 1fr; }
}
.drawer-accordion-item > a::after { display: none !important; }
