/**
 * The World Ready — หน้าแรก Portal
 * โทนสดใส: deep blue · warm gold · soft sky glow
 */
html:has(body.twro-portal--home) {
  scroll-padding-top: 72px;
}

body.twro-portal--home {
  --twro-home-sticky-top: 72px;
  --twro-ink: #142238;
  --twro-ink2: #1c3050;
  --twro-ink3: #254060;
  --twro-cream: #ffffff;
  --twro-mute: #c5d0e0;
  --twro-line: rgba(255, 220, 150, 0.2);
  --twro-lime: #e8c05a;
  --twro-lime-bright: #ffe9a8;
  --twro-gold: #e8c05a;
  --twro-gold-light: #ffe9a8;
  --twro-coral: #ff8f7a;
  --twro-sky: #6ecfff;
  --twro-card-top: #2a4a72;
  --twro-card-bottom: #1e3558;
  --twro-shadow: 0 6px 24px rgba(8, 24, 48, 0.22);
  --twro-shadow-lg: 0 14px 40px rgba(8, 24, 48, 0.3);
  --twro-radius: 6px;
  --twro-display: 'Sarabun', 'Noto Sans Thai', system-ui, sans-serif;

  /* alias สำหรับ featured.php / summary CSS ที่ใช้ --gold-light */
  --lime: var(--twro-gold);
  --gold: var(--twro-gold-light);
  --gold-light: var(--twro-gold-light);
  --mute: var(--twro-mute);
  --line: var(--twro-line);
  --cream: var(--twro-cream);
  --coral: var(--twro-coral);

  background: linear-gradient(180deg, #183050 0%, #142238 55%, #101c30 100%);
  color: var(--twro-cream);
}

body.twro-portal--home::before {
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(130, 100, 220, 0.2), transparent 58%),
    radial-gradient(ellipse 55% 45% at 0% 12%, rgba(60, 150, 230, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(232, 192, 90, 0.12), transparent 60%),
    radial-gradient(ellipse 40% 35% at 75% 65%, rgba(110, 200, 255, 0.1), transparent 50%);
}

/* ---- home layout column (แนวเดียวกับ hero) ---- */
.portal-home-col {
  width: 100%;
  max-width: var(--twro-maxw, 1180px);
  margin: 0 auto;
  padding: 0 20px 8px;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .portal-home-col {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* ---- jump nav (desktop แนวนอน / mobile แนวตั้ง) ---- */
.portal-home-jump {
  display: none;
}

.portal-home-jump-rail {
  display: none;
}

@media (min-width: 1024px) {
  .portal-home-jump {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: var(--twro-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(160deg, rgba(42, 74, 114, 0.55), rgba(30, 53, 88, 0.72));
    box-shadow: var(--twro-shadow);
  }

  .portal-home-jump__label {
    flex-shrink: 0;
    font-size: 0.62rem;
    font-family: var(--twro-mono, 'JetBrains Mono', monospace);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--twro-gold-light);
  }

  .portal-home-jump__track {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding-bottom: 2px;
    min-width: 0;
    flex: 1 1 auto;
  }

  .portal-home-jump__track::-webkit-scrollbar {
    display: none;
  }

  .portal-home-jump__chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--twro-cream);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  }

  .portal-home-jump__chip:hover,
  .portal-home-jump__chip:focus-visible {
    border-color: rgba(232, 192, 90, 0.45);
    background: rgba(232, 192, 90, 0.12);
    color: var(--twro-gold-light);
    outline: none;
  }

  .portal-home-jump__chip.is-active {
    border-color: rgba(232, 192, 90, 0.55);
    background: rgba(232, 192, 90, 0.2);
    color: var(--twro-gold-light);
    font-weight: 700;
  }
}

@media (max-width: 1023px) {
  html:has(body.twro-portal--home) {
    scroll-padding-top: calc(var(--twro-home-sticky-top, 72px) + 12px);
  }

  body.twro-portal--home .portal-home-col {
    padding-right: 62px;
  }

  body.twro-portal--home #main-content {
    scroll-margin-top: var(--twro-home-sticky-top, 72px);
  }

  body.twro-portal--home [id^="home-"],
  body.twro-portal--home #faq,
  body.twro-portal--home #news-summaries {
    scroll-margin-top: calc(var(--twro-home-sticky-top, 72px) + 16px);
  }

  .portal-home-jump-rail {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 90;
    width: 58px;
    max-height: min(78vh, 560px);
    padding: 6px 0 4px;
    border-radius: 12px 0 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-right: none;
    background: rgba(20, 34, 56, 0.94);
    box-shadow: -6px 0 24px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .portal-home-jump-rail__label {
    flex-shrink: 0;
    margin: 0 0 4px;
    padding: 0 5px 4px;
    text-align: center;
    font-size: 0.58rem;
    font-family: var(--twro-mono, 'JetBrains Mono', monospace);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--twro-gold-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    writing-mode: horizontal-tb;
  }

  .portal-home-jump-rail__list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 2px 5px;
    scrollbar-width: none;
    flex: 1 1 auto;
    min-height: 0;
  }

  .portal-home-jump-rail__list::-webkit-scrollbar {
    display: none;
  }

  .portal-home-jump-rail__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 5px 4px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--twro-cream);
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  }

  .portal-home-jump-rail__text {
    display: block;
    font-size: 0.58rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    letter-spacing: 0;
    word-break: keep-all;
    overflow-wrap: anywhere;
    max-width: 100%;
  }

  .portal-home-jump-rail__btn--top {
    flex-shrink: 0;
    margin: 4px 5px 2px;
    border-color: rgba(232, 192, 90, 0.35);
    background: rgba(232, 192, 90, 0.1);
    color: var(--twro-gold-light);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .portal-home-jump-rail__btn.is-active {
    border-color: rgba(232, 192, 90, 0.55);
    background: rgba(232, 192, 90, 0.18);
    color: var(--twro-gold-light);
  }

  .portal-home-jump-rail__btn:active,
  .portal-home-jump-rail__btn:focus-visible {
    border-color: rgba(232, 192, 90, 0.45);
    background: rgba(232, 192, 90, 0.14);
    color: var(--twro-gold-light);
    outline: none;
  }

  .portal-home-jump-rail__btn--top:active,
  .portal-home-jump-rail__btn--top:focus-visible {
    border-color: rgba(232, 192, 90, 0.55);
    background: rgba(232, 192, 90, 0.2);
    color: #ffe9a8;
  }
}

html[data-twro-theme="light"] .portal-home-jump, html[data-twro-theme="read"] .portal-home-jump {
  border-color: rgba(15, 23, 42, 0.1);
  background: linear-gradient(160deg, #ffffff, #f8fafc);
}

html[data-twro-theme="light"] .portal-home-jump__chip, html[data-twro-theme="read"] .portal-home-jump__chip {
  border-color: rgba(15, 23, 42, 0.12);
  background: #fff;
  color: #1e293b;
}

html[data-twro-theme="light"] .portal-home-jump__chip:hover, html[data-twro-theme="read"] .portal-home-jump__chip:hover,
html[data-twro-theme="light"] .portal-home-jump__chip:focus-visible, html[data-twro-theme="read"] .portal-home-jump__chip:focus-visible {
  border-color: rgba(180, 83, 9, 0.35);
  background: rgba(251, 191, 36, 0.12);
  color: #92400e;
}

html[data-twro-theme="light"] .portal-home-jump__chip.is-active, html[data-twro-theme="read"] .portal-home-jump__chip.is-active {
  border-color: rgba(180, 83, 9, 0.45);
  background: rgba(251, 191, 36, 0.18);
  color: #92400e;
  font-weight: 700;
}

html[data-twro-theme="light"] .portal-home-jump-rail, html[data-twro-theme="read"] .portal-home-jump-rail {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: -4px 0 20px rgba(15, 23, 42, 0.1);
}

html[data-twro-theme="light"] .portal-home-jump-rail__label, html[data-twro-theme="read"] .portal-home-jump-rail__label {
  color: #b45309;
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

html[data-twro-theme="light"] .portal-home-jump-rail__btn, html[data-twro-theme="read"] .portal-home-jump-rail__btn {
  border-color: rgba(15, 23, 42, 0.1);
  background: #f8fafc;
  color: #1e293b;
}

html[data-twro-theme="light"] .portal-home-jump-rail__btn.is-active, html[data-twro-theme="read"] .portal-home-jump-rail__btn.is-active {
  border-color: rgba(180, 83, 9, 0.4);
  background: rgba(251, 191, 36, 0.16);
  color: #92400e;
}

html[data-twro-theme="light"] .portal-home-jump-rail__btn--top, html[data-twro-theme="read"] .portal-home-jump-rail__btn--top {
  border-color: rgba(180, 83, 9, 0.3);
  background: rgba(251, 191, 36, 0.12);
  color: #b45309;
}

/* flash เมื่อกดเมนูกระโดด — ให้รู้ว่าไปถึงแล้ว */
@keyframes twro-jump-flash {
  0% { box-shadow: 0 0 0 0 rgba(232, 192, 90, 0.55); }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.twro-jump-flash {
  animation: twro-jump-flash 1.1s ease-out;
  outline: 2px solid rgba(232, 192, 90, 0.65);
  outline-offset: 4px;
  border-radius: 12px;
}

@media (min-width: 1024px) {
  body.twro-portal--home [id^="home-"],
  body.twro-portal--home #faq,
  body.twro-portal--home #news-summaries {
    scroll-margin-top: calc(var(--twro-home-sticky-top, 72px) + 12px);
  }
}

/* ---- fresh rail (sidebar) ---- */
.portal-home-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.portal-home-main {
  order: 0;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  position: relative;
  isolation: isolate;
}

.portal-fresh-rail {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex-shrink: 0;
  box-sizing: border-box;
}

.portal-home-main .featured-section,
.portal-home-main .portal-news-summaries,
.portal-home-main .portal-articles-home,
.portal-home-main .portal-section {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .portal-home-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 28px 32px;
    overflow-x: clip;
  }

  .portal-home-main {
    flex: 1 1 0;
    min-width: 0;
    max-width: calc(100% - 312px);
  }

  .portal-fresh-rail {
    order: 1;
    flex: 0 0 280px;
    width: 280px;
    max-width: 280px;
    align-self: flex-start;
  }
}

.portal-fresh-widget {
  padding: 16px 18px;
  border-radius: var(--twro-radius);
  border: 1px solid var(--twro-line);
  background: linear-gradient(160deg, rgba(42, 74, 114, 0.92), rgba(30, 53, 88, 0.95));
  box-shadow: var(--twro-shadow);
}

.portal-fresh-widget__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 220, 150, 0.14);
}

.portal-fresh-widget__title {
  margin: 0;
  font-size: 0.72rem;
  font-family: var(--twro-mono, 'JetBrains Mono', monospace);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--twro-gold-light);
}

.portal-fresh-widget__more {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--twro-mute);
  text-decoration: none;
  white-space: nowrap;
}

.portal-fresh-widget__more:hover {
  color: var(--twro-gold-light);
}

.portal-fresh-widget__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.portal-fresh-link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 6px;
  margin: 0 -6px;
  border-radius: 4px;
  text-decoration: none;
  color: var(--twro-cream);
  transition: background 0.15s ease, color 0.15s ease;
}

.portal-fresh-link--thumb {
  align-items: center;
  gap: 10px;
}

.portal-fresh-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--twro-gold-light);
}

.portal-fresh-link__media {
  flex-shrink: 0;
  width: 72px;
  height: 48px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-fresh-link__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.2s ease;
}

.portal-fresh-link--thumb:hover .portal-fresh-link__media img {
  transform: scale(1.04);
}

.portal-fresh-link__chev {
  flex-shrink: 0;
  width: 14px;
  margin-top: 2px;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--twro-gold);
  opacity: 0.85;
}

.portal-fresh-link__text {
  flex: 1;
  min-width: 0;
}

.portal-fresh-link__kind {
  display: block;
  font-size: 0.65rem;
  font-family: var(--twro-mono, monospace);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--twro-sky);
  margin-bottom: 2px;
}

.portal-fresh-link__title {
  display: block;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.45;
}

.portal-fresh-link__badge {
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #142238;
  background: linear-gradient(135deg, var(--twro-gold), var(--twro-gold-light));
}

/* ---- breaking news bar ---- */
.portal-breaking {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0 0 12px;
  border-radius: var(--twro-radius);
  border: 1px solid var(--twro-line);
  background: linear-gradient(155deg, rgba(42, 74, 114, 0.95), rgba(30, 53, 88, 0.98));
  box-shadow: var(--twro-shadow);
  overflow: hidden;
}

.portal-breaking__label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  font-family: var(--twro-mono, 'JetBrains Mono', monospace);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #142238;
  background: linear-gradient(135deg, var(--twro-gold), var(--twro-gold-light));
}

.portal-breaking__track {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.portal-breaking__track::-webkit-scrollbar {
  display: none;
}

.portal-breaking__item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  max-width: min(100%, 420px);
  padding: 12px 16px;
  text-decoration: none;
  color: var(--twro-cream);
  border-right: 1px solid rgba(255, 220, 150, 0.1);
  transition: background 0.15s ease, color 0.15s ease;
}

.portal-breaking__item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--twro-gold-light);
}

.portal-breaking__badge {
  flex-shrink: 0;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #142238;
  background: var(--twro-gold-light);
}

.portal-breaking__title {
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portal-breaking__all {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--twro-gold-light);
  text-decoration: none;
  border-left: 1px solid rgba(255, 220, 150, 0.12);
  white-space: nowrap;
}

.portal-breaking__all:hover {
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 639px) {
  .portal-breaking__title {
    font-size: 0.9rem;
  }
}

/* ---- articles home ---- */
.portal-articles-home {
  margin-bottom: 28px;
}

.portal-articles-home .article-card-grid--home-unified {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.portal-articles-home .article-card:not(.article-card--sm) .article-card-cover {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--twro-ink3);
}

.portal-articles-home .article-card:not(.article-card--sm) .article-card-cover--default {
  object-fit: contain;
  padding: 12px;
  background: linear-gradient(160deg, var(--twro-ink3), var(--twro-ink2));
}

.portal-articles-home .article-card--sm {
  height: 100%;
}

/* การ์ดเล็กบนหน้าแรก — แนวตั้งเหมือนการ์ดใหญ่ (เลิกแยกครึ่งรูป/ครึ่งข้อความ) */
.portal-articles-home .article-card--sm__link {
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  height: 100%;
}

.portal-articles-home .article-card--sm__cover,
.portal-articles-home .article-card--sm__cover--empty {
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  align-self: auto;
}

.portal-articles-home .article-card--sm__cover--default {
  object-fit: contain;
  padding: 12px;
  background: linear-gradient(160deg, var(--twro-ink3), var(--twro-ink2));
}

.portal-articles-home .article-card--sm__body {
  border-left: none;
  border-top: 1px solid var(--twro-line, rgba(255, 255, 255, 0.1));
  padding: 14px 16px 16px;
  justify-content: flex-start;
}

.portal-articles-home .article-card--sm__title {
  -webkit-line-clamp: 3;
  font-size: 1rem;
  line-height: 1.45;
}

.portal-articles-home .article-card-grid--home {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portal-articles-home .article-card-grid--home-sm {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 999px) {
  .portal-articles-home .article-card-grid--home-unified,
  .portal-articles-home .article-card-grid--home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-articles-home .article-card-grid--home-sm {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .portal-articles-home .article-card-grid--home-unified {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }

  .portal-articles-home .article-card-grid--home {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }

  .portal-articles-home .article-card:not(.article-card--sm),
  .portal-articles-home .article-card--sm {
    flex: 0 0 86%;
    max-width: 320px;
    scroll-snap-align: start;
    height: auto;
  }

  .portal-articles-home .article-card:not(.article-card--sm) h3,
  .portal-articles-home .article-card--sm__title {
    font-size: 1rem;
    line-height: 1.45;
  }

  .portal-articles-home .article-card-grid--home-sm {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
  }
}

body.twro-portal--home .portal-section-all--cta {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(232, 192, 90, 0.35);
  background: rgba(232, 192, 90, 0.12);
  color: var(--twro-gold-light);
}

body.twro-portal--home .portal-section-all--cta:hover {
  background: rgba(232, 192, 90, 0.22);
  border-color: rgba(232, 192, 90, 0.5);
}

.portal-spotlight--equal .portal-spot-card {
  background: linear-gradient(155deg, var(--twro-card-top), var(--twro-card-bottom));
}

.portal-spotlight--equal.portal-spotlight--row .portal-spot-headline {
  font-size: inherit;
}

.portal-home-col > .portal-breaking,
.portal-home-col > .portal-home-layout,
.portal-home-col > .portal-hub-nav,
.portal-home-col > .portal-spotlight,
.portal-home-col > .portal-editor-pick,
.portal-home-col > .featured-section,
.portal-home-col > .portal-news-summaries,
.portal-home-col > .portal-quick,
.portal-home-col > .portal-map,
.portal-home-col > .portal-section,
.portal-home-col > .home-bottom,
.portal-home-col > .twro-ad {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

.portal-home-col .featured-section > .twro-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.portal-home-col .featured-grid {
  width: 100%;
  min-width: 0;
}

body.twro-portal--home .featured-grid--equal .feat-card {
  min-width: 0;
}

/* ---- header ---- */
body.twro-portal--home .twro-header {
  background: rgba(20, 34, 56, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--twro-line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.twro-portal--home .twro-brand {
  color: var(--twro-cream);
  letter-spacing: 0.12em;
}

body.twro-portal--home .twro-nav-toggle {
  background: var(--twro-ink3);
  color: var(--twro-cream);
  border-color: var(--twro-line);
  border-radius: var(--twro-radius);
}

body.twro-portal--home .twro-nav-toggle[aria-expanded="true"] {
  color: var(--twro-gold-light);
  border-color: rgba(232, 192, 90, 0.45);
}

body.twro-portal--home .twro-links {
  border-bottom-color: var(--twro-line);
  box-shadow: var(--twro-shadow-lg);
}

@media (max-width: 767px) {
  body.twro-portal--home .twro-links.is-open {
    background: var(--twro-nav-panel-bg);
  }
}

@media (min-width: 768px) {
  body.twro-portal--home .twro-links {
    background: rgba(22, 38, 62, 0.97);
  }
}

body.twro-portal--home .twro-links a {
  color: var(--twro-mute);
  border-radius: var(--twro-radius);
}

body.twro-portal--home .twro-links a:hover,
body.twro-portal--home .twro-links a.is-active {
  color: var(--twro-gold-light);
  background: rgba(232, 192, 90, 0.12);
}

@media (min-width: 900px) {
  body.twro-portal--home .twro-links a.is-active {
    border-color: rgba(232, 192, 90, 0.35);
    background: rgba(232, 192, 90, 0.1);
  }
}

/* ---- hero ---- */
.portal-hero-band {
  position: relative;
  padding: 0 0 4px;
  margin-bottom: 0;
  overflow: hidden;
}

.portal-hero-band__art {
  position: absolute;
  inset: 0;
  max-height: 200px;
  background:
    radial-gradient(circle at 85% 18%, rgba(140, 110, 230, 0.28) 0%, transparent 46%),
    radial-gradient(circle at 12% 55%, rgba(70, 160, 240, 0.22) 0%, transparent 48%),
    radial-gradient(circle at 50% 0%, rgba(255, 220, 140, 0.1) 0%, transparent 52%),
    linear-gradient(165deg, #24508a 0%, #1a3a68 42%, #142238 100%);
  pointer-events: none;
  z-index: 0;
}

.portal-hero-band__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400'%3E%3Ccircle cx='650' cy='80' r='280' fill='none' stroke='rgba(255,220,150,0.1)' stroke-width='1'/%3E%3Ccircle cx='120' cy='320' r='200' fill='none' stroke='rgba(110,200,255,0.08)' stroke-width='1'/%3E%3C/svg%3E") center / cover no-repeat;
  opacity: 0.7;
}

.portal-hero-band__inner {
  position: relative;
  z-index: 1;
  padding-top: 16px;
  padding-bottom: 10px;
}

body.twro-portal--home .portal-hero--slim {
  padding: 0;
}

body.twro-portal--home .portal-hero--slim .portal-hero-mark {
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
}

body.twro-portal--home .portal-hero--slim h1 {
  font-size: clamp(1.15rem, 4.8vw, 1.75rem);
  line-height: 1.25;
  margin: 0;
}

body.twro-portal--home .portal-hero--slim h1 span {
  display: block;
  margin-top: 2px;
  font-size: clamp(0.95rem, 3.6vw, 1.25rem);
  font-style: italic;
  font-weight: 500;
}

body.twro-portal--home .portal-hero--slim .portal-hero-tagline {
  margin: 6px auto 0;
  font-size: 0.78rem;
  line-height: 1.35;
  max-width: 520px;
}

@media (min-width: 768px) {
  body.twro-portal--home .portal-hero--slim h1 {
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  }

  body.twro-portal--home .portal-hero--slim h1 span {
    display: inline;
    margin-top: 0;
    margin-left: 0.35em;
    font-size: inherit;
  }

  body.twro-portal--home .portal-hero--slim .portal-hero-tagline {
    font-size: 0.82rem;
  }
}

body.twro-portal--home .portal-hero h1 {
  font-family: var(--twro-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-transform: none;
}

body.twro-portal--home .portal-hero h1 span {
  color: var(--twro-gold-light);
  font-style: italic;
}

body.twro-portal--home .portal-hero-tagline {
  color: #b8c8e0;
  font-weight: 400;
  letter-spacing: 0.02em;
}

body.twro-portal--home .portal-hero-mark {
  filter: drop-shadow(0 4px 22px rgba(232, 192, 90, 0.35));
}

body.twro-portal--home .portal-eyebrow {
  color: var(--twro-gold);
  letter-spacing: 0.28em;
}

body.twro-portal--home .portal-eyebrow::before {
  background: linear-gradient(90deg, var(--twro-gold), transparent);
  height: 1px;
}

/* ---- hub nav boxes ---- */
.portal-hub-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 28px;
  width: 100%;
}

.portal-hub-nav--row {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 0 0 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.portal-hub-nav--row::-webkit-scrollbar {
  display: none;
}

.portal-hub-nav--row .portal-hub-box {
  flex: 0 0 auto;
  width: min(42vw, 168px);
  min-height: 0;
  padding: 12px 14px;
  gap: 4px;
}

.portal-hub-nav--row .portal-hub-box__icon {
  font-size: 1.25rem;
}

.portal-hub-nav--row .portal-hub-box__label {
  font-size: 0.82rem;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .portal-hub-nav:not(.portal-hub-nav--row) {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
  }

  .portal-hub-nav--row .portal-hub-box {
    width: min(22%, 200px);
  }
}

.portal-hub-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px 18px;
  border-radius: var(--twro-radius);
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--twro-line);
  background: linear-gradient(145deg, var(--twro-card-top), var(--twro-card-bottom));
  box-shadow: var(--twro-shadow);
  transition: transform 0.25s ease, border-color 0.25s, box-shadow 0.25s;
  min-height: 124px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.portal-hub-box:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 192, 90, 0.45);
  box-shadow: var(--twro-shadow-lg);
}

.portal-hub-box.is-soon {
  opacity: 0.55;
}

.portal-hub-box.is-soon:hover {
  transform: none;
}

.portal-hub-box__icon {
  font-size: 1.5rem;
  line-height: 1;
}

.portal-hub-box__label {
  font-family: var(--twro-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
}

.portal-hub-box__desc {
  font-size: 0.72rem;
  color: var(--twro-mute);
  line-height: 1.5;
}

.portal-hub-box__badge {
  margin-top: auto;
  font-size: 0.6rem;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--twro-gold);
}

/* ---- spotlight ---- */
.portal-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: 0 0 32px;
  width: 100%;
}

.portal-spotlight--row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}

.portal-spotlight--row .portal-spot-card--compact {
  gap: 6px;
  padding: 14px 14px 12px;
  min-height: 0;
}

.portal-spotlight--row .portal-spot-headline {
  font-size: 0.95rem;
  line-height: 1.3;
}

.portal-spotlight--row .portal-spot-teaser {
  display: none;
}

.portal-spotlight--row .portal-spot-cta {
  font-size: 0.72rem;
  margin-top: 2px;
}

@media (min-width: 720px) {
  .portal-spotlight:not(.portal-spotlight--row) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .portal-spotlight--row .portal-spot-card--compact {
    padding: 16px 16px 14px;
  }

  .portal-spotlight--row .portal-spot-headline {
    font-size: 1.05rem;
  }

  .portal-spotlight--row .portal-spot-teaser {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.78rem;
    line-height: 1.4;
  }
}

.portal-spot-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px;
  border-radius: var(--twro-radius);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--twro-line);
  background: linear-gradient(155deg, var(--twro-card-top), var(--twro-card-bottom));
  box-shadow: var(--twro-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s, border-color 0.25s;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.portal-spot-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 220, 150, 0.55), transparent);
}

.portal-spot-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--twro-shadow-lg);
  border-color: rgba(232, 192, 90, 0.4);
}

.portal-spot-card--primary {
  background:
    linear-gradient(135deg, rgba(100, 80, 200, 0.28) 0%, rgba(30, 53, 88, 0.95) 58%),
    linear-gradient(155deg, #315a8a, #1e3558);
}

.portal-spot-card--secondary {
  background:
    linear-gradient(135deg, rgba(255, 143, 122, 0.18) 0%, rgba(30, 53, 88, 0.95) 55%),
    linear-gradient(155deg, #2d5078, #1e3558);
}

.portal-spot-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--twro-gold-light);
  font-weight: 500;
}

.portal-spot-card--secondary .portal-spot-badge {
  color: var(--twro-coral);
}

.portal-spot-headline {
  font-family: var(--twro-display);
  font-size: 1.4rem;
  line-height: 1.25;
  font-weight: 600;
}

.portal-spot-teaser {
  font-size: 0.86rem;
  color: var(--twro-mute);
  line-height: 1.55;
}

.portal-spot-cta {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--twro-gold-light);
  margin-top: auto;
}

.portal-spot-card--secondary .portal-spot-cta {
  color: var(--twro-coral);
}

/* ---- alerts ---- */
body.twro-portal--home .twro-alert {
  background: var(--twro-ink2);
  color: var(--twro-cream);
  border: 1px solid var(--twro-line);
  box-shadow: var(--twro-shadow);
}

body.twro-portal--home .twro-alert .a-link {
  color: var(--twro-gold-light);
}

/* ---- featured ---- */
body.twro-portal--home .featured-section {
  padding: 8px 0 28px;
}

body.twro-portal--home .featured-head h2 {
  font-family: var(--twro-display);
  font-weight: 600;
}

body.twro-portal--home .featured-filters button {
  background: var(--twro-ink3);
  color: var(--twro-mute);
  border-radius: var(--twro-radius);
  box-shadow: none;
}

body.twro-portal--home .featured-filters button:hover,
body.twro-portal--home .featured-filters button.is-active {
  color: var(--twro-gold-light);
  border-color: rgba(232, 192, 90, 0.5);
  background: rgba(232, 192, 90, 0.14);
}

body.twro-portal--home .feat-card {
  background: linear-gradient(160deg, var(--twro-card-top), var(--twro-card-bottom));
  border-color: var(--twro-line);
  border-radius: var(--twro-radius);
  box-shadow: var(--twro-shadow);
}

body.twro-portal--home .feat-card::before {
  background: linear-gradient(to bottom, var(--twro-gold), var(--twro-gold-light));
}

body.twro-portal--home .feat-card:hover {
  border-color: rgba(232, 192, 90, 0.45);
  box-shadow: var(--twro-shadow-lg);
}

body.twro-portal--home .feat-card.is-pinned {
  background:
    linear-gradient(135deg, rgba(232, 192, 90, 0.16) 0%, rgba(30, 53, 88, 0.95) 55%),
    linear-gradient(160deg, var(--twro-card-top), var(--twro-card-bottom));
  border-color: rgba(232, 192, 90, 0.35);
}

body.twro-portal--home .feat-icon-wrap {
  background: rgba(232, 192, 90, 0.14);
  border-color: rgba(232, 192, 90, 0.28);
  border-radius: var(--twro-radius);
}

body.twro-portal--home .feat-card.is-pinned .feat-icon-wrap {
  background: rgba(232, 192, 90, 0.2);
  border-color: rgba(232, 192, 90, 0.38);
}

body.twro-portal--home .feat-title {
  font-family: var(--twro-display);
  font-weight: 600;
}

body.twro-portal--home .feat-cat.cat-wc,
body.twro-portal--home .feat-cat.cat-sch,
body.twro-portal--home .feat-cat.cat-leg,
body.twro-portal--home .feat-cat.cat-news,
body.twro-portal--home .feat-cat.cat-election {
  color: var(--twro-gold-light);
  border-color: rgba(232, 192, 90, 0.32);
  background: rgba(232, 192, 90, 0.12);
  border-radius: 4px;
}

body.twro-portal--home .feat-arrow,
body.twro-portal--home .feat-badge {
  color: var(--twro-gold);
}

/* ---- summarized news (home SEO) ---- */
body.twro-portal--home .portal-news-summaries {
  padding: 8px 0 28px;
}

/* ---- Editor's Pick (ปักหมุด) ---- */
body.twro-portal--home .portal-editor-pick {
  margin: 0 0 24px;
  padding: 20px 20px 16px;
  border-radius: var(--twro-radius-lg, 16px);
  border: 1px solid rgba(232, 192, 90, 0.42);
  background:
    linear-gradient(135deg, rgba(232, 192, 90, 0.14) 0%, rgba(124, 58, 237, 0.08) 48%, rgba(18, 35, 54, 0.72) 100%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.twro-portal--home .portal-editor-pick__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

body.twro-portal--home .portal-editor-pick__eyebrow {
  font-family: var(--twro-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--twro-gold-light);
  margin-bottom: 4px;
}

body.twro-portal--home .portal-editor-pick__head h2 {
  font-family: var(--twro-display);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 600;
  color: var(--twro-cream);
  line-height: 1.2;
}

body.twro-portal--home .portal-editor-pick__sub {
  margin-top: 6px;
  font-size: 0.84rem;
  color: var(--twro-mute);
}

body.twro-portal--home .portal-editor-pick__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.twro-portal--home .portal-editor-pick__card {
  border-radius: var(--twro-radius);
  background: linear-gradient(155deg, rgba(36, 58, 88, 0.95), rgba(18, 32, 52, 0.98));
  border: 1px solid rgba(232, 192, 90, 0.18);
  border-left: 3px solid rgba(232, 192, 90, 0.55);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}

body.twro-portal--home .portal-editor-pick__card:hover {
  border-color: rgba(232, 192, 90, 0.45);
  border-left-color: var(--twro-gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

body.twro-portal--home .portal-editor-pick__link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  position: relative;
  z-index: 1;
}

body.twro-portal--home .portal-editor-pick__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

body.twro-portal--home .portal-editor-pick__badge {
  font-family: var(--twro-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 999px;
  color: #1a2332;
  background: linear-gradient(135deg, #f5d78e, #e8c05a);
  border: none;
}

body.twro-portal--home .portal-editor-pick__cat {
  font-family: var(--twro-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--twro-gold-light);
  border: 1px solid rgba(232, 192, 90, 0.28);
  background: rgba(232, 192, 90, 0.1);
}

body.twro-portal--home .portal-editor-pick__time {
  font-family: var(--twro-mono);
  font-size: 0.66rem;
  color: var(--twro-mute);
  margin-left: auto;
  opacity: 0.9;
}

body.twro-portal--home .portal-editor-pick__card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--twro-cream);
  margin: 0;
  transition: color 0.15s;
}

body.twro-portal--home .portal-editor-pick__card:hover h3 {
  color: #fff;
}

body.twro-portal--home .portal-editor-pick__excerpt {
  font-size: 0.84rem;
  line-height: 1.65;
  color: rgba(180, 198, 220, 0.92);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.twro-portal--home .portal-editor-pick__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

body.twro-portal--home .portal-editor-pick__source {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--twro-mono);
  font-size: 0.72rem;
  color: var(--twro-mute);
  min-width: 0;
}

body.twro-portal--home .portal-editor-pick__source-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 6px;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--twro-gold);
  background: rgba(232, 192, 90, 0.12);
  border: 1px solid rgba(232, 192, 90, 0.3);
}

body.twro-portal--home .portal-editor-pick__arrow {
  font-family: var(--twro-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--twro-gold);
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.15s;
}

body.twro-portal--home .portal-editor-pick__card:hover .portal-editor-pick__arrow {
  transform: translateX(3px);
}

body.twro-portal--home .portal-news-summaries .portal-section-head h2 {
  font-family: var(--twro-display);
  font-weight: 600;
}

body.twro-portal--home .portal-news-updated {
  font-family: var(--twro-mono);
  font-size: 0.72rem;
  color: var(--twro-mute);
  margin-top: 6px;
}

body.twro-portal--home .portal-news-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

body.twro-portal--home .portal-news-card {
  padding: 18px 20px;
  border-radius: var(--twro-radius);
  background: linear-gradient(160deg, var(--twro-card-top), var(--twro-card-bottom));
  border: 1px solid var(--twro-line);
  box-shadow: var(--twro-shadow);
}

body.twro-portal--home .portal-news-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

body.twro-portal--home .portal-news-cat {
  font-family: var(--twro-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--twro-gold-light);
  border: 1px solid rgba(232, 192, 90, 0.32);
  background: rgba(232, 192, 90, 0.12);
  text-decoration: none;
}

body.twro-portal--home .portal-news-time {
  font-family: var(--twro-mono);
  font-size: 0.68rem;
  color: var(--twro-mute);
}

body.twro-portal--home .portal-news-title {
  font-family: var(--twro-font);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 10px;
  color: var(--twro-cream);
}

body.twro-portal--home .portal-news-title a,
body.twro-portal--home .portal-news-title a:link,
body.twro-portal--home .portal-news-title a:visited {
  color: var(--twro-cream);
  text-decoration: none;
}

body.twro-portal--home .portal-news-title a:hover {
  color: var(--twro-gold-light);
}

body.twro-portal--home .portal-news-title .news-prefix {
  color: var(--twro-gold);
  margin-right: 4px;
}

body.twro-portal--home .portal-news-card-mid {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

body.twro-portal--home .portal-news-summary {
  flex: 1;
  min-width: 0;
  order: 1;
  margin: 0;
  padding: 12px 14px 12px 12px;
  border-left: 3px solid var(--twro-gold);
  background: rgba(232, 192, 90, 0.08);
  border-radius: 0 8px 8px 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--twro-cream);
}

body.twro-portal--home .portal-news-card-thumb {
  flex: 0 0 132px;
  width: 132px;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--twro-line);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  order: 2;
}

body.twro-portal--home .portal-news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s ease, transform 0.35s ease;
}

body.twro-portal--home .portal-news-card-thumb:hover img {
  opacity: 0.94;
  transform: scale(1.03);
}

@media (max-width: 640px) {
  body.twro-portal--home .portal-news-card-mid {
    flex-direction: column;
    align-items: stretch;
  }

  body.twro-portal--home .portal-news-card-thumb {
    width: 100%;
    flex: none;
    aspect-ratio: 16 / 9;
    max-height: 180px;
    order: -1;
  }

  body.twro-portal--home .portal-news-summary {
    order: 0;
  }
}

body.twro-portal--home .portal-news-summary .thai-summary-label {
  color: var(--twro-gold-light);
  display: block;
  margin: 0 0 6px;
}

body.twro-portal--home .portal-news-summary .thai-summary-body {
  display: block;
  line-height: 1.72;
}

body.twro-portal--home .portal-news-summary .thai-summary-body strong {
  color: var(--twro-gold-light);
}

body.twro-portal--home .portal-news-summary .thai-summary-body p {
  margin: 0 0 0.85em;
}

body.twro-portal--home .portal-news-summary .thai-summary-body ul,
body.twro-portal--home .portal-news-summary .thai-summary-body ol,
body.twro-portal--home .portal-news-summary .thai-summary-body ul.twro-summary-list {
  margin: 0.15em 0 1em;
  padding: 0.15em 0 0.15em 1.55em;
  list-style-position: outside;
}

body.twro-portal--home .portal-news-summary .thai-summary-body ul,
body.twro-portal--home .portal-news-summary .thai-summary-body ul.twro-summary-list {
  list-style: disc outside;
  list-style-type: disc;
}

body.twro-portal--home .portal-news-summary .thai-summary-body ol {
  list-style: decimal outside;
}

body.twro-portal--home .portal-news-summary .thai-summary-body li::marker {
  color: var(--twro-gold-light);
  font-size: 0.92em;
}

body.twro-portal--home .portal-news-summary .thai-summary-body li {
  margin-bottom: 0.55em;
  padding-left: 0.25em;
}

body.twro-portal--home .portal-news-summary .thai-summary-body li > p {
  margin: 0;
  display: inline;
}

body.twro-portal--home .portal-news-summary .thai-summary-body a {
  color: var(--twro-lime, #c8ff3d);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}

body.twro-portal--home .portal-news-summary .thai-summary-body a:hover {
  color: var(--twro-gold-light, #ffe9a8);
}

body.twro-portal--home .portal-news-summary .thai-summary-body p + ul,
body.twro-portal--home .portal-news-summary .thai-summary-body p + ol,
body.twro-portal--home .portal-news-summary .thai-summary-body p + ul.twro-summary-list {
  margin-top: 0.35em;
}

body.twro-portal--home .portal-news-summary .thai-summary-body ul + p,
body.twro-portal--home .portal-news-summary .thai-summary-body ol + p,
body.twro-portal--home .portal-news-summary .thai-summary-body ul.twro-summary-list + p {
  margin-top: 0.9em;
}

body.twro-portal--home .portal-news-summary .thai-summary-body q.twro-summary-quote {
  quotes: "\201C" "\201D" "\2018" "\2019";
  font-style: normal;
  font-weight: 600;
  color: var(--twro-gold-light);
  background: rgba(232, 192, 90, 0.14);
  padding: 0.1em 0.42em;
  border-radius: 5px;
  border-left: 2px solid rgba(232, 192, 90, 0.5);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

body.twro-portal--home .portal-news-summary .thai-summary-body q.twro-summary-quote strong {
  color: inherit;
  font-weight: 700;
}

body.twro-portal--home .portal-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--twro-mono);
  font-size: 0.68rem;
  color: var(--twro-mute);
}

body.twro-portal--home .portal-news-meta a,
body.twro-portal--home .portal-news-meta a:link,
body.twro-portal--home .portal-news-meta a:visited {
  color: var(--twro-gold);
  text-decoration: none;
}

body.twro-portal--home .portal-news-meta a.portal-news-source {
  font-weight: 600;
  border-bottom: 1px solid rgba(232, 192, 90, 0.35);
}

body.twro-portal--home .portal-news-meta a.portal-news-source:hover {
  color: var(--twro-gold-light);
  border-bottom-color: var(--twro-gold-light);
}

body.twro-portal--home .portal-news-meta a:hover {
  text-decoration: underline;
  color: var(--twro-gold-light);
}

/* legacy — ไม่ใช้แล้วใน editor-pick แต่คงไว้ที่อื่น */
body.twro-portal--home .portal-editor-pick__meta a.portal-editor-pick__source {
  color: var(--twro-gold-light);
  text-decoration: none;
  font-weight: 600;
}

body.twro-portal--home .portal-quick a {
  background: var(--twro-ink3);
  color: var(--twro-cream);
  border-color: var(--twro-line);
  border-radius: var(--twro-radius);
  box-shadow: none;
}

body.twro-portal--home .portal-quick a:hover {
  border-color: rgba(232, 192, 90, 0.45);
  box-shadow: var(--twro-shadow);
}

/* ---- map ---- */
body.twro-portal--home .portal-map {
  background: var(--twro-ink2);
  border-color: var(--twro-line);
  border-radius: var(--twro-radius);
  box-shadow: var(--twro-shadow);
}

body.twro-portal--home .portal-map [data-flow-map] {
  background: #12243c;
  border-radius: 4px;
}

body.twro-portal--home .portal-map [data-travel-map] {
  background: var(--twro-ink3);
  border-radius: 4px;
}

body.twro-portal--home .portal-map--travel .travel-map-panel {
  background: var(--twro-ink2);
}

body.twro-portal--home .portal-map-link span {
  color: var(--twro-gold-light);
}

/* ---- hub sections / cards ---- */
body.twro-portal--home .portal-section {
  padding: 32px 0 12px;
}

body.twro-portal--home .portal-section-head h2 {
  font-family: var(--twro-display);
  font-weight: 600;
}

body.twro-portal--home .portal-section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 20px;
}

body.twro-portal--home .portal-section-all {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--twro-gold-light);
  text-decoration: none;
}

body.twro-portal--home .portal-section-all:hover {
  text-decoration: underline;
}

body.twro-portal--home .portal-topic-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--twro-gold);
}

body.twro-portal--home .portal-card {
  background: linear-gradient(160deg, var(--twro-card-top), var(--twro-card-bottom));
  border-color: var(--twro-line);
  border-radius: var(--twro-radius);
  box-shadow: var(--twro-shadow);
}

body.twro-portal--home .portal-card.is-live:hover {
  border-color: rgba(232, 192, 90, 0.42);
  box-shadow: var(--twro-shadow-lg);
}

body.twro-portal--home .portal-card-eyebrow {
  color: var(--twro-gold);
}

body.twro-portal--home .portal-card-title {
  font-family: var(--twro-display);
  font-weight: 600;
}

body.twro-portal--home .portal-card.is-live .portal-card-badge {
  background: rgba(232, 192, 90, 0.14);
  color: var(--twro-gold-light);
  border-color: rgba(232, 192, 90, 0.32);
  border-radius: 4px;
}

body.twro-portal--home .portal-card--coral .portal-card-eyebrow {
  color: var(--twro-coral);
}

body.twro-portal--home .portal-section--soon .portal-card {
  opacity: 0.5;
}

/* ---- FAQ & related ---- */
body.twro-portal--home .home-bottom {
  padding: 16px 0 32px;
}

body.twro-portal--home .home-bottom .twro-faq {
  margin: 0 0 20px;
}

body.twro-portal--home .home-bottom .twro-faq h2 {
  font-family: var(--twro-display);
  font-weight: 600;
}

body.twro-portal--home .twro-faq-item {
  background: var(--twro-ink2) !important;
  border-color: var(--twro-line) !important;
  border-radius: var(--twro-radius) !important;
}

body.twro-portal--home .twro-faq-item summary::after {
  color: var(--twro-gold) !important;
}

body.twro-portal--home .twro-related--inline {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

body.twro-portal--home .twro-related a {
  border-radius: var(--twro-radius);
  border-color: var(--twro-line);
  background: var(--twro-ink3);
}

body.twro-portal--home .twro-related a:hover {
  border-color: rgba(232, 192, 90, 0.45);
  color: var(--twro-gold-light);
}

/* ---- footer ---- */
body.twro-portal--home .twro-footer {
  background: rgba(16, 28, 48, 0.95);
  border-top: 1px solid var(--twro-line);
}

body.twro-portal--home .twro-legal a:hover {
  color: var(--twro-gold-light);
}

body.twro-portal--home .twro-tag {
  background: var(--twro-ink3);
  color: var(--twro-gold-light);
  border-color: rgba(232, 192, 90, 0.28);
  border-radius: 4px;
}

body.twro-portal--home .twro-tag:hover {
  background: rgba(232, 192, 90, 0.16);
  border-color: rgba(232, 192, 90, 0.45);
}

body.twro-portal--home .twro-tags-copy {
  color: var(--twro-gold-light);
  border-color: rgba(232, 192, 90, 0.38);
  background: rgba(232, 192, 90, 0.1);
  border-radius: var(--twro-radius);
}

/* Light/Read: footer เป็นพื้นอ่อน — เลิกใช้ mute สีเข้มบนพื้น footer ดำ */
html[data-twro-theme="light"] body.twro-portal--home .twro-footer,
html[data-twro-theme="read"] body.twro-portal--home .twro-footer {
  background: #ffffff;
  border-top: 1px solid var(--twro-line);
  color: var(--twro-mute);
}

html[data-twro-theme="light"] body.twro-portal--home .twro-legal a,
html[data-twro-theme="read"] body.twro-portal--home .twro-legal a {
  color: #334155;
}

html[data-twro-theme="light"] body.twro-portal--home .twro-legal a:hover,
html[data-twro-theme="read"] body.twro-portal--home .twro-legal a:hover {
  color: var(--twro-gold-light);
}

html[data-twro-theme="light"] body.twro-portal--home .twro-footer-note,
html[data-twro-theme="read"] body.twro-portal--home .twro-footer-note {
  color: #334155;
}

html[data-twro-theme="light"] body.twro-portal--home .twro-footer-copy,
html[data-twro-theme="read"] body.twro-portal--home .twro-footer-copy {
  color: #64748b;
  opacity: 1;
}

html[data-twro-theme="light"] body.twro-portal--home .twro-tag,
html[data-twro-theme="read"] body.twro-portal--home .twro-tag {
  background: #f1f5f9;
  color: #9a3412;
  border-color: rgba(154, 52, 18, 0.28);
}

html[data-twro-theme="light"] body.twro-portal--home .twro-tag:hover,
html[data-twro-theme="read"] body.twro-portal--home .twro-tag:hover {
  background: rgba(154, 52, 18, 0.08);
  border-color: rgba(154, 52, 18, 0.4);
}

html[data-twro-theme="light"] body.twro-portal--home .twro-tags-copy,
html[data-twro-theme="read"] body.twro-portal--home .twro-tags-copy {
  color: #9a3412;
  background: rgba(154, 52, 18, 0.08);
  border-color: rgba(154, 52, 18, 0.32);
}

html[data-twro-theme="light"] body.twro-portal--home .portal-section-all--cta,
html[data-twro-theme="read"] body.twro-portal--home .portal-section-all--cta {
  color: #3f6212;
  border-color: rgba(63, 98, 18, 0.35);
  background: rgba(63, 98, 18, 0.08);
}

html[data-twro-theme="light"] body.twro-portal--home .portal-section-all--cta:hover,
html[data-twro-theme="read"] body.twro-portal--home .portal-section-all--cta:hover {
  background: rgba(63, 98, 18, 0.14);
  border-color: rgba(63, 98, 18, 0.5);
}

body.twro-portal--home .portal-hero--compact .portal-stats {
  display: none;
}

body.twro-portal--home .portal-quick {
  margin-bottom: 24px;
  justify-content: flex-start;
}

body.twro-portal--home .portal-map {
  margin-bottom: 24px;
}

body.twro-portal--home .portal-hero-band__inner.twro-wrap {
  width: 100%;
  max-width: var(--twro-maxw, 1180px);
}

/* ========== Dark theme — ตัวอักษรขาวชัด (กันกลืนพื้น + :visited) ========== */
html:not([data-twro-theme]) body.twro-portal--home,
html[data-twro-theme="dark"] body.twro-portal--home {
  --twro-cream: #ffffff;
  --twro-text: #ffffff;
  --twro-mute: #c5d0e0;
  --twro-gold: #e8c05a;
  --twro-gold-light: #ffe9a8;
  --cream: #ffffff;
  --gold-light: #ffe9a8;
  color: #ffffff;
}

html:not([data-twro-theme]) body.twro-portal--home .portal-news-title,
html[data-twro-theme="dark"] body.twro-portal--home .portal-news-title,
html:not([data-twro-theme]) body.twro-portal--home .portal-news-title a,
html:not([data-twro-theme]) body.twro-portal--home .portal-news-title a:link,
html:not([data-twro-theme]) body.twro-portal--home .portal-news-title a:visited,
html[data-twro-theme="dark"] body.twro-portal--home .portal-news-title a,
html[data-twro-theme="dark"] body.twro-portal--home .portal-news-title a:link,
html[data-twro-theme="dark"] body.twro-portal--home .portal-news-title a:visited {
  color: #ffffff !important;
}

html:not([data-twro-theme]) body.twro-portal--home .portal-news-title a:hover,
html[data-twro-theme="dark"] body.twro-portal--home .portal-news-title a:hover {
  color: #ffe9a8 !important;
}

html:not([data-twro-theme]) body.twro-portal--home .portal-news-title .news-prefix,
html[data-twro-theme="dark"] body.twro-portal--home .portal-news-title .news-prefix {
  color: #e8c05a !important;
}

html:not([data-twro-theme]) body.twro-portal--home .portal-news-summary,
html:not([data-twro-theme]) body.twro-portal--home .portal-news-summary p,
html[data-twro-theme="dark"] body.twro-portal--home .portal-news-summary,
html[data-twro-theme="dark"] body.twro-portal--home .portal-news-summary p {
  color: #ffffff !important;
}

html:not([data-twro-theme]) body.twro-portal--home .portal-news-meta a,
html:not([data-twro-theme]) body.twro-portal--home .portal-news-meta a:visited,
html[data-twro-theme="dark"] body.twro-portal--home .portal-news-meta a,
html[data-twro-theme="dark"] body.twro-portal--home .portal-news-meta a:visited {
  color: #ffe9a8 !important;
}

html:not([data-twro-theme]) body.twro-portal--home .portal-news-meta a:hover,
html[data-twro-theme="dark"] body.twro-portal--home .portal-news-meta a:hover {
  color: #ffffff !important;
}

html:not([data-twro-theme]) body.twro-portal--home .portal-editor-pick__card h3,
html[data-twro-theme="dark"] body.twro-portal--home .portal-editor-pick__card h3 {
  color: #ffffff !important;
}

html:not([data-twro-theme]) body.twro-portal--home .portal-editor-pick__card:hover h3,
html[data-twro-theme="dark"] body.twro-portal--home .portal-editor-pick__card:hover h3 {
  color: #ffe9a8 !important;
}

html:not([data-twro-theme]) body.twro-portal--home .portal-fresh-link,
html:not([data-twro-theme]) body.twro-portal--home .portal-fresh-link:visited,
html[data-twro-theme="dark"] body.twro-portal--home .portal-fresh-link,
html[data-twro-theme="dark"] body.twro-portal--home .portal-fresh-link:visited {
  color: #ffffff !important;
}

html:not([data-twro-theme]) body.twro-portal--home .portal-fresh-link:hover,
html[data-twro-theme="dark"] body.twro-portal--home .portal-fresh-link:hover {
  color: #ffe9a8 !important;
}

/* ========== Light theme — หน้าแรก (ไม่ให้สี dark/light ซ้อนกัน) ========== */
html[data-twro-theme="light"] body.twro-portal--home, html[data-twro-theme="read"] body.twro-portal--home {
  --twro-ink: #f1f5f9;
  --twro-ink2: #ffffff;
  --twro-ink3: #e8edf4;
  --twro-cream: #1e293b;
  --twro-mute: #334155;
  --twro-line: rgba(15, 23, 42, 0.1);
  /* เข้มขึ้นเล็กน้อยให้ผ่าน contrast ≥ 4.5 บนพื้นอ่อน */
  --twro-lime: #3f6212;
  --twro-lime-bright: #4d7c0f;
  --twro-gold: #92400e;
  --twro-gold-light: #9a3412;
  --twro-coral: #b91c1c;
  --twro-sky: #0369a1;
  --twro-card-top: #ffffff;
  --twro-card-bottom: #f8fafc;
  --twro-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  --twro-shadow-lg: 0 8px 24px rgba(15, 23, 42, 0.1);
  --lime: var(--twro-lime);
  --gold: var(--twro-gold);
  --gold-light: var(--twro-gold-light);
  --cream: var(--twro-cream);
  --mute: var(--twro-mute);
  background: #f1f5f9;
  color: #1e293b;
}

html[data-twro-theme="light"] body.twro-portal--home::before, html[data-twro-theme="read"] body.twro-portal--home::before {
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(202, 138, 4, 0.07), transparent 58%),
    radial-gradient(ellipse 55% 45% at 0% 12%, rgba(3, 105, 161, 0.05), transparent 55%);
}

html[data-twro-theme="light"] body.twro-portal--home .twro-header, html[data-twro-theme="read"] body.twro-portal--home .twro-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--twro-line);
  box-shadow: none;
}

@media (min-width: 768px) {
  html[data-twro-theme="light"] body.twro-portal--home .twro-links, html[data-twro-theme="read"] body.twro-portal--home .twro-links {
    background: transparent;
  }
}

@media (max-width: 767px) {
  html[data-twro-theme="light"] body.twro-portal--home .twro-links.is-open, html[data-twro-theme="read"] body.twro-portal--home .twro-links.is-open {
    background: var(--twro-nav-panel-bg);
  }
}

html[data-twro-theme="light"] body.twro-portal--home .twro-links a.is-active, html[data-twro-theme="read"] body.twro-portal--home .twro-links a.is-active {
  border-color: rgba(146, 96, 10, 0.22);
  background: rgba(202, 138, 4, 0.1);
  color: var(--twro-gold-light);
}

html[data-twro-theme="light"] body.twro-portal--home .portal-hero-tagline, html[data-twro-theme="read"] body.twro-portal--home .portal-hero-tagline {
  color: var(--twro-mute);
}

html[data-twro-theme="light"] .portal-hero-band__art, html[data-twro-theme="read"] .portal-hero-band__art {
  background:
    radial-gradient(circle at 85% 18%, rgba(202, 138, 4, 0.1) 0%, transparent 46%),
    radial-gradient(circle at 12% 55%, rgba(3, 105, 161, 0.08) 0%, transparent 48%),
    linear-gradient(165deg, #e8eef6 0%, #f1f5f9 50%, #f8fafc 100%);
}

html[data-twro-theme="light"] .portal-hero-band__art::after, html[data-twro-theme="read"] .portal-hero-band__art::after {
  opacity: 0.25;
}

html[data-twro-theme="light"] body.twro-portal--home .twro-alert, html[data-twro-theme="read"] body.twro-portal--home .twro-alert {
  background: #fff;
  border-color: var(--twro-line);
  box-shadow: var(--twro-shadow);
}

html[data-twro-theme="light"] body.twro-portal--home .twro-alert .a-link, html[data-twro-theme="read"] body.twro-portal--home .twro-alert .a-link {
  color: var(--twro-gold-light);
}

html[data-twro-theme="light"] .portal-hub-box, html[data-twro-theme="read"] .portal-hub-box {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border-color: var(--twro-line);
}

html[data-twro-theme="light"] .portal-hub-box:hover, html[data-twro-theme="read"] .portal-hub-box:hover {
  border-color: rgba(146, 96, 10, 0.28);
  box-shadow: var(--twro-shadow-lg);
}

html[data-twro-theme="light"] .portal-spot-card, html[data-twro-theme="read"] .portal-spot-card {
  background: linear-gradient(155deg, #ffffff, #f8fafc);
  border-color: var(--twro-line);
}

html[data-twro-theme="light"] .portal-spot-card::before, html[data-twro-theme="read"] .portal-spot-card::before {
  background: linear-gradient(90deg, transparent, rgba(202, 138, 4, 0.3), transparent);
}

html[data-twro-theme="light"] .portal-spot-card--primary, html[data-twro-theme="read"] .portal-spot-card--primary {
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.09) 0%, #f8fafc 58%),
    linear-gradient(155deg, #ffffff, #f1f5f9);
}

html[data-twro-theme="light"] .portal-spot-card--secondary, html[data-twro-theme="read"] .portal-spot-card--secondary {
  background:
    linear-gradient(135deg, rgba(239, 68, 68, 0.07) 0%, #f8fafc 55%),
    linear-gradient(155deg, #ffffff, #f1f5f9);
}

html[data-twro-theme="light"] .portal-spot-headline, html[data-twro-theme="read"] .portal-spot-headline {
  color: var(--twro-cream);
}

html[data-twro-theme="light"] .portal-spot-badge, html[data-twro-theme="read"] .portal-spot-badge {
  color: var(--twro-gold-light);
}

html[data-twro-theme="light"] .portal-spot-card--secondary .portal-spot-badge, html[data-twro-theme="read"] .portal-spot-card--secondary .portal-spot-badge {
  color: var(--twro-coral);
}

html[data-twro-theme="light"] .portal-spot-cta, html[data-twro-theme="read"] .portal-spot-cta {
  color: var(--twro-gold-light);
}

html[data-twro-theme="light"] .portal-spot-card--secondary .portal-spot-cta, html[data-twro-theme="read"] .portal-spot-card--secondary .portal-spot-cta {
  color: var(--twro-coral);
}

html[data-twro-theme="light"] body.twro-portal--home .feat-card, html[data-twro-theme="read"] body.twro-portal--home .feat-card {
  background: linear-gradient(160deg, #ffffff, #f8fafc);
}

html[data-twro-theme="light"] body.twro-portal--home .feat-card.is-pinned, html[data-twro-theme="read"] body.twro-portal--home .feat-card.is-pinned {
  background:
    linear-gradient(135deg, rgba(202, 138, 4, 0.1) 0%, #f8fafc 55%),
    linear-gradient(160deg, #ffffff, #f1f5f9);
}

html[data-twro-theme="light"] body.twro-portal--home .featured-filters button, html[data-twro-theme="read"] body.twro-portal--home .featured-filters button {
  background: #fff;
  border: 1px solid var(--twro-line);
}

html[data-twro-theme="light"] body.twro-portal--home .portal-news-card, html[data-twro-theme="read"] body.twro-portal--home .portal-news-card {
  background: #fff;
  border: 1px solid var(--twro-line);
}

html[data-twro-theme="light"] body.twro-portal--home .portal-quick a, html[data-twro-theme="read"] body.twro-portal--home .portal-quick a {
  background: #fff;
  border-color: var(--twro-line);
  color: var(--twro-cream);
}

html[data-twro-theme="light"] body.twro-portal--home .portal-card, html[data-twro-theme="read"] body.twro-portal--home .portal-card {
  background: #fff;
  border-color: var(--twro-line);
}

html[data-twro-theme="light"] body.twro-portal--home .portal-map, html[data-twro-theme="read"] body.twro-portal--home .portal-map {
  background: #fff;
  border-color: var(--twro-line);
}

html[data-twro-theme="light"] body.twro-portal--home .portal-map [data-flow-map], html[data-twro-theme="read"] body.twro-portal--home .portal-map [data-flow-map] {
  background: #f1f5f9;
}

html[data-twro-theme="light"] body.twro-portal--home .portal-map [data-travel-map], html[data-twro-theme="read"] body.twro-portal--home .portal-map [data-travel-map] {
  background: transparent;
}

/* ข่าวสรุป + ลิงก์ — contrast ชัดขึ้น */
html[data-twro-theme="light"] body.twro-portal--home .portal-eyebrow, html[data-twro-theme="read"] body.twro-portal--home .portal-eyebrow {
  color: var(--twro-gold-light);
}

html[data-twro-theme="light"] body.twro-portal--home .portal-section-all, html[data-twro-theme="read"] body.twro-portal--home .portal-section-all {
  color: var(--twro-lime);
}

html[data-twro-theme="light"] body.twro-portal--home .portal-news-cat, html[data-twro-theme="read"] body.twro-portal--home .portal-news-cat {
  color: #92400e;
  border-color: rgba(180, 83, 9, 0.28);
  background: rgba(251, 191, 36, 0.15);
}

html[data-twro-theme="light"] body.twro-portal--home .portal-news-title a,
html[data-twro-theme="light"] body.twro-portal--home .portal-news-title a:link,
html[data-twro-theme="light"] body.twro-portal--home .portal-news-title a:visited,
html[data-twro-theme="read"] body.twro-portal--home .portal-news-title a,
html[data-twro-theme="read"] body.twro-portal--home .portal-news-title a:link,
html[data-twro-theme="read"] body.twro-portal--home .portal-news-title a:visited {
  color: #0f172a !important;
}

html[data-twro-theme="light"] body.twro-portal--home .portal-news-title a:hover,
html[data-twro-theme="read"] body.twro-portal--home .portal-news-title a:hover {
  color: #3f5c1f !important;
}

html[data-twro-theme="light"] body.twro-portal--home .portal-news-title .news-prefix, html[data-twro-theme="read"] body.twro-portal--home .portal-news-title .news-prefix {
  color: var(--twro-gold-light);
}

html[data-twro-theme="light"] body.twro-portal--home .portal-news-summary, html[data-twro-theme="read"] body.twro-portal--home .portal-news-summary {
  background: #fffbeb;
  border-left-color: #d97706;
  color: #1e293b !important;
}

html[data-twro-theme="light"] body.twro-portal--home .portal-news-summary p,
html[data-twro-theme="light"] body.twro-portal--home .portal-news-summary .thai-summary-body,
html[data-twro-theme="light"] body.twro-portal--home .portal-news-summary .thai-summary-body p {
  color: #1e293b !important;
}

html[data-twro-theme="light"] body.twro-portal--home .portal-news-summary .thai-summary-label, html[data-twro-theme="read"] body.twro-portal--home .portal-news-summary .thai-summary-label,
html[data-twro-theme="light"] body.twro-portal--home .portal-news-summary .thai-summary-body strong, html[data-twro-theme="read"] body.twro-portal--home .portal-news-summary .thai-summary-body strong {
  color: #b45309 !important;
}

html[data-twro-theme="light"] body.twro-portal--home .portal-news-summary .thai-summary-body li::marker, html[data-twro-theme="read"] body.twro-portal--home .portal-news-summary .thai-summary-body li::marker {
  color: #d97706;
}

html[data-twro-theme="light"] body.twro-portal--home .portal-news-summary .thai-summary-body q.twro-summary-quote, html[data-twro-theme="read"] body.twro-portal--home .portal-news-summary .thai-summary-body q.twro-summary-quote {
  color: #92400e;
  background: rgba(251, 191, 36, 0.28);
  border-left-color: #d97706;
}

html[data-twro-theme="light"] body.twro-portal--home .portal-news-meta a, html[data-twro-theme="read"] body.twro-portal--home .portal-news-meta a {
  color: #3f6212 !important;
  font-weight: 600;
}

html[data-twro-theme="light"] body.twro-portal--home .news-share, html[data-twro-theme="read"] body.twro-portal--home .news-share {
  border-top-color: var(--twro-line);
}

html[data-twro-theme="light"] body.twro-portal--home .portal-editor-pick, html[data-twro-theme="read"] body.twro-portal--home .portal-editor-pick {
  border-color: rgba(202, 138, 4, 0.35);
  background:
    linear-gradient(135deg, rgba(251, 191, 36, 0.12) 0%, rgba(124, 58, 237, 0.05) 50%, #f8fafc 100%);
}

html[data-twro-theme="light"] body.twro-portal--home .portal-editor-pick__card, html[data-twro-theme="read"] body.twro-portal--home .portal-editor-pick__card {
  background: linear-gradient(155deg, #ffffff, #f1f5f9);
  border-color: var(--twro-line);
  border-left-color: #d97706;
}

html[data-twro-theme="light"] body.twro-portal--home .portal-editor-pick__card h3, html[data-twro-theme="read"] body.twro-portal--home .portal-editor-pick__card h3 {
  color: var(--twro-cream);
}

html[data-twro-theme="light"] body.twro-portal--home .portal-editor-pick__excerpt, html[data-twro-theme="read"] body.twro-portal--home .portal-editor-pick__excerpt {
  color: #64748b;
}

html[data-twro-theme="light"] body.twro-portal--home .portal-editor-pick__cat, html[data-twro-theme="read"] body.twro-portal--home .portal-editor-pick__cat {
  color: #92400e;
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(202, 138, 4, 0.28);
}

html[data-twro-theme="light"] body.twro-portal--home .portal-editor-pick__foot, html[data-twro-theme="read"] body.twro-portal--home .portal-editor-pick__foot {
  border-top-color: var(--twro-line);
}

html[data-twro-theme="light"] body.twro-portal--home .portal-editor-pick__source-mark, html[data-twro-theme="read"] body.twro-portal--home .portal-editor-pick__source-mark {
  color: #b45309;
  background: rgba(251, 191, 36, 0.15);
  border-color: rgba(202, 138, 4, 0.3);
}

html[data-twro-theme="light"] body.twro-portal--home .portal-fresh-widget, html[data-twro-theme="read"] body.twro-portal--home .portal-fresh-widget {
  background: #fff;
  border-color: var(--twro-line);
}

html[data-twro-theme="light"] body.twro-portal--home .portal-fresh-widget__head, html[data-twro-theme="read"] body.twro-portal--home .portal-fresh-widget__head {
  border-bottom-color: var(--twro-line);
}

html[data-twro-theme="light"] body.twro-portal--home .portal-fresh-link, html[data-twro-theme="read"] body.twro-portal--home .portal-fresh-link {
  color: var(--twro-cream);
}

html[data-twro-theme="light"] body.twro-portal--home .portal-fresh-link:hover, html[data-twro-theme="read"] body.twro-portal--home .portal-fresh-link:hover {
  background: rgba(15, 23, 42, 0.04);
  color: #b45309;
}

html[data-twro-theme="light"] body.twro-portal--home .portal-fresh-link__chev, html[data-twro-theme="read"] body.twro-portal--home .portal-fresh-link__chev {
  color: #d97706;
}

html[data-twro-theme="light"] body.twro-portal--home .portal-fresh-link__media,
html[data-twro-theme="read"] body.twro-portal--home .portal-fresh-link__media {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-twro-theme="light"] body.twro-portal--home .portal-fresh-widget__more, html[data-twro-theme="read"] body.twro-portal--home .portal-fresh-widget__more {
  color: #64748b;
}

html[data-twro-theme="light"] body.twro-portal--home .portal-fresh-widget__more:hover, html[data-twro-theme="read"] body.twro-portal--home .portal-fresh-widget__more:hover {
  color: #b45309;
}

html[data-twro-theme="light"] body.twro-portal--home .portal-breaking, html[data-twro-theme="read"] body.twro-portal--home .portal-breaking {
  background: #fff;
  border-color: var(--twro-line);
}

html[data-twro-theme="light"] body.twro-portal--home .portal-breaking__item, html[data-twro-theme="read"] body.twro-portal--home .portal-breaking__item {
  color: var(--twro-cream);
  border-right-color: var(--twro-line);
}

html[data-twro-theme="light"] body.twro-portal--home .portal-breaking__item:hover, html[data-twro-theme="read"] body.twro-portal--home .portal-breaking__item:hover {
  background: rgba(15, 23, 42, 0.04);
  color: #b45309;
}

html[data-twro-theme="light"] body.twro-portal--home .portal-breaking__all, html[data-twro-theme="read"] body.twro-portal--home .portal-breaking__all {
  border-left-color: var(--twro-line);
  color: #b45309;
}

html[data-twro-theme="light"] body.twro-portal--home .portal-breaking__label,
html[data-twro-theme="light"] body.twro-portal--home .portal-fresh-link__badge {
  background: #b45309;
  color: #fff;
}

html[data-twro-theme="light"] body.twro-portal--home .portal-breaking__badge {
  background: #b45309;
  color: #fff;
}

/* กันหัวข้อหายตอน hover (เดิมเป็น #fff บนพื้นขาว) */
html[data-twro-theme="light"] body.twro-portal--home .portal-editor-pick__card:hover h3,
html[data-twro-theme="read"] body.twro-portal--home .portal-editor-pick__card:hover h3 {
  color: var(--twro-lime);
}

/* ========== Read — NEWS12 Magazine (ขาว · แถบสี · หัวข่าวเด่น) ========== */
html[data-twro-theme="read"] body.twro-portal--home {
  --twro-ink: #ffffff;
  --twro-ink2: #ffffff;
  --twro-ink3: #f3f4f6;
  --twro-cream: #111111;
  --twro-mute: #666666;
  --twro-line: #e5e5e5;
  --twro-lime: #2e7d32;
  --twro-lime-bright: #388e3c;
  --twro-gold: #111111;
  --twro-gold-light: #333333;
  --twro-coral: #c62828;
  --twro-sky: #1565c0;
  --twro-card-top: #ffffff;
  --twro-card-bottom: #ffffff;
  --twro-shadow: none;
  --twro-shadow-lg: none;
  --twro-mag-yellow: #ffc107;
  --twro-mag-green: #43a047;
  --twro-mag-accent: #b45309;
  --twro-mag-black: #111111;
  --lime: var(--twro-lime);
  --gold: var(--twro-gold);
  --gold-light: var(--twro-gold-light);
  --cream: var(--twro-cream);
  --mute: var(--twro-mute);
  background: #ffffff;
  color: #111111;
  font-family: 'Sarabun', 'Noto Sans Thai', system-ui, sans-serif;
}

html[data-twro-theme="read"] body.twro-portal--home::before {
  display: none;
}

html[data-twro-theme="read"] body.twro-portal--home .twro-header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  box-shadow: none;
}

html[data-twro-theme="read"] body.twro-portal--home .twro-brand,
html[data-twro-theme="read"] body.twro-portal--home .twro-links a {
  color: #111111;
}

html[data-twro-theme="read"] body.twro-portal--home .twro-links a.is-active {
  color: #111111;
  border-bottom: 2px solid #1565c0;
}

/* ---- Section tabs แบบ DON'T MISS / LIFESTYLE NEWS ---- */
html[data-twro-theme="read"] body.twro-portal--home .portal-section-head--mag,
html[data-twro-theme="read"] body.twro-portal--home .portal-news-summaries .portal-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 18px;
  padding: 0 0 0;
  border-bottom: 2px solid #111111;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-news-summaries .portal-eyebrow {
  display: none;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-news-summaries .portal-section-head h2 {
  display: inline-block;
  margin: 0;
  padding: 9px 16px;
  font-family: var(--twro-font);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111111;
  background: var(--twro-mag-yellow);
  border: none;
  border-bottom: none;
  line-height: 1.2;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-news-updated {
  display: none;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-section-all {
  color: #111111;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  padding-bottom: 10px;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-section-all:hover {
  color: #1565c0;
}

/* Featured = แถบเขียว */
html[data-twro-theme="read"] body.twro-portal--home .featured-head {
  border-bottom: 2px solid #111111;
  margin-bottom: 18px;
  padding-bottom: 0;
}

html[data-twro-theme="read"] body.twro-portal--home .featured-head .portal-eyebrow {
  display: none;
}

html[data-twro-theme="read"] body.twro-portal--home .featured-head h2 {
  display: inline-block;
  margin: 0;
  padding: 9px 16px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--twro-mag-green);
  font-family: var(--twro-font);
}

html[data-twro-theme="read"] body.twro-portal--home .featured-head p {
  display: none;
}

html[data-twro-theme="read"] body.twro-portal--home .featured-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 10px 0 0;
  padding: 0 0 10px;
}

html[data-twro-theme="read"] body.twro-portal--home .featured-filters button {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  font-size: 0.78rem;
  color: #666;
  box-shadow: none;
}

html[data-twro-theme="read"] body.twro-portal--home .featured-filters button.is-active,
html[data-twro-theme="read"] body.twro-portal--home .featured-filters button:hover {
  color: #111;
  font-weight: 700;
  background: transparent;
  border: none;
}

/* ---- รายการข่าวสรุป (home-news) แบบ magazine ---- */
html[data-twro-theme="read"] body.twro-portal--home .home-news-list {
  border-top: none;
}

html[data-twro-theme="read"] body.twro-portal--home .home-news-item {
  padding: 22px 0 24px;
  border-bottom: 1px solid #e5e5e5;
}

html[data-twro-theme="read"] body.twro-portal--home .home-news-item:first-child {
  padding-top: 8px;
}

html[data-twro-theme="read"] body.twro-portal--home .home-news-item:first-child .home-news-title {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  max-width: 40rem;
}

html[data-twro-theme="read"] body.twro-portal--home .home-news-item:first-child .home-news-excerpt {
  font-size: 0.98rem;
  color: #444;
  max-width: 38rem;
}

html[data-twro-theme="read"] body.twro-portal--home .home-news-cat {
  color: #fff !important;
  background: #111111;
  border: none !important;
  border-radius: 0;
  padding: 3px 9px;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

html[data-twro-theme="read"] body.twro-portal--home .home-news-time {
  color: #888;
  font-size: 0.72rem;
}

html[data-twro-theme="read"] body.twro-portal--home .home-news-title,
html[data-twro-theme="read"] body.twro-portal--home .home-news-title:link,
html[data-twro-theme="read"] body.twro-portal--home .home-news-title:visited {
  color: #111111 !important;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}

html[data-twro-theme="read"] body.twro-portal--home .home-news-title:hover {
  color: #1565c0 !important;
}

html[data-twro-theme="read"] body.twro-portal--home .home-news-excerpt {
  color: #555 !important;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

html[data-twro-theme="read"] body.twro-portal--home .home-news-excerpt p {
  color: inherit !important;
  margin: 0;
}

html[data-twro-theme="read"] body.twro-portal--home .home-news-source {
  color: #111 !important;
  font-weight: 700;
}

html[data-twro-theme="read"] body.twro-portal--home .home-news-links a,
html[data-twro-theme="read"] body.twro-portal--home .home-news-links a:visited {
  color: #444 !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

html[data-twro-theme="read"] body.twro-portal--home .home-news-links a:hover {
  color: #1565c0 !important;
}

html[data-twro-theme="read"] body.twro-portal--home .home-news-more a {
  color: #111 !important;
  border: 1px solid #111 !important;
  border-radius: 0;
  background: #fff;
}

html[data-twro-theme="read"] body.twro-portal--home .home-news-more a:hover {
  background: #111;
  color: #fff !important;
}

/* ---- portal-news-card (หน้าอื่นที่ใช้การ์ดเดิม) ---- */
html[data-twro-theme="read"] body.twro-portal--home .portal-news-list {
  gap: 0;
  margin-top: 12px;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-news-card {
  padding: 24px 0;
  border: none;
  border-bottom: 1px solid #e5e5e5;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-news-cat {
  color: #fff;
  background: #111;
  border: none;
  border-radius: 0;
  padding: 3px 9px;
  font-size: 0.62rem;
  text-transform: uppercase;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-news-title a,
html[data-twro-theme="read"] body.twro-portal--home .portal-news-title a:link,
html[data-twro-theme="read"] body.twro-portal--home .portal-news-title a:visited {
  color: #111 !important;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-news-title a:hover {
  color: #1565c0 !important;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-news-summary {
  background: #f7f7f7;
  border-left: 3px solid #111;
  border-radius: 0;
  color: #333 !important;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-news-summary p,
html[data-twro-theme="read"] body.twro-portal--home .portal-news-summary .thai-summary-body,
html[data-twro-theme="read"] body.twro-portal--home .portal-news-summary .thai-summary-body p {
  color: #333 !important;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-news-meta a,
html[data-twro-theme="read"] body.twro-portal--home .portal-news-meta a:visited {
  color: #111 !important;
  font-weight: 600;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-news-card-thumb {
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #e5e5e5;
}

html[data-twro-theme="read"] body.twro-portal--home .news-share--home .news-share-btn {
  color: #111 !important;
  border-color: #ccc !important;
  border-radius: 0;
}

/* ---- Sidebar: STAY CONNECTED / MOST POPULAR style ---- */
html[data-twro-theme="read"] body.twro-portal--home .portal-editor-pick {
  margin: 0 0 24px;
  padding: 0;
  border: 1px solid #e5e5e5;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-editor-pick__head {
  margin: 0;
  padding: 11px 14px;
  background: #111111;
  align-items: center;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-editor-pick__eyebrow {
  color: #ffc107;
  margin-bottom: 0;
  font-size: 0.65rem;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-editor-pick__head h2 {
  display: block;
  width: 100%;
  padding: 0;
  background: transparent;
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--twro-font);
}

html[data-twro-theme="read"] body.twro-portal--home .portal-editor-pick__sub {
  display: none;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-editor-pick__list {
  gap: 0;
  padding: 0 14px;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-editor-pick__card {
  margin: 0;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid #e5e5e5;
  border-radius: 0;
  border-left: none;
  background: transparent;
  box-shadow: none;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-editor-pick__card:last-child {
  border-bottom: none;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-editor-pick__card:hover {
  background: transparent;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-editor-pick__card h3 {
  color: #111 !important;
  font-size: 0.95rem;
  font-weight: 700;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-editor-pick__card:hover h3 {
  color: #1565c0 !important;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-editor-pick__excerpt {
  color: #666;
  font-size: 0.82rem;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-editor-pick__badge {
  background: var(--twro-mag-accent);
  color: #fff;
  border: none;
  border-radius: 0;
  font-size: 0.6rem;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-editor-pick__cat {
  color: #fff;
  background: #111;
  border: none;
  border-radius: 0;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-editor-pick__foot {
  border-top-color: #e5e5e5;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-editor-pick__source-mark {
  color: #111;
  background: #f0f0f0;
  border-color: #e5e5e5;
  border-radius: 0;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-editor-pick__arrow {
  color: #111;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-fresh-widget {
  padding: 0;
  border: 1px solid #e5e5e5;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-fresh-widget__head {
  margin: 0;
  padding: 11px 14px;
  background: #111111;
  border-bottom: none;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-fresh-widget__title {
  color: #fff;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-fresh-widget__more {
  color: #ccc;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-fresh-widget__more:hover {
  color: #fff;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-fresh-widget__list {
  padding: 4px 12px 12px;
  gap: 0;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-fresh-link,
html[data-twro-theme="read"] body.twro-portal--home .portal-fresh-link:visited {
  padding: 12px 4px;
  margin: 0;
  border-radius: 0;
  border-bottom: 1px solid #f0f0f0;
  color: #111 !important;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-fresh-link:last-child {
  border-bottom: none;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-fresh-link:hover {
  background: #fafafa;
  color: #1565c0 !important;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-fresh-link__chev {
  color: #999;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-fresh-link__media {
  border-radius: 0;
  border-color: #ddd;
  background: #f5f5f5;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-fresh-link__kind {
  color: #888;
  font-size: 0.62rem;
  text-transform: uppercase;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-fresh-link__badge {
  border-radius: 0;
  background: var(--twro-mag-accent);
  color: #fff;
}

/* ---- Cards / jump / breaking ---- */
html[data-twro-theme="read"] body.twro-portal--home .portal-hub-box,
html[data-twro-theme="read"] body.twro-portal--home .portal-spot-card,
html[data-twro-theme="read"] body.twro-portal--home .feat-card,
html[data-twro-theme="read"] body.twro-portal--home .portal-card,
html[data-twro-theme="read"] body.twro-portal--home .portal-quick a {
  border-radius: 0;
  box-shadow: none;
  background: #fff;
  border: 1px solid #e5e5e5;
}

html[data-twro-theme="read"] body.twro-portal--home .feat-card .feat-title {
  color: #111;
  font-weight: 700;
}

html[data-twro-theme="read"] body.twro-portal--home .feat-card .feat-cat {
  border-radius: 0;
  background: #111;
  color: #fff;
  border: none;
}

html[data-twro-theme="read"] body.twro-portal--home .feat-card.is-pinned {
  background: #fff;
  border-color: #111;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-breaking {
  border-radius: 0;
  background: #fff;
  border: 1px solid #e5e5e5;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-breaking__label,
html[data-twro-theme="read"] body.twro-portal--home .portal-breaking__badge {
  background: var(--twro-mag-accent);
  color: #fff;
  border-radius: 0;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-home-jump__chip,
html[data-twro-theme="read"] body.twro-portal--home .portal-home-jump-rail__btn {
  border-radius: 0;
  background: #fff;
  border: 1px solid #e5e5e5;
  color: #111;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-home-jump__chip.is-active,
html[data-twro-theme="read"] body.twro-portal--home .portal-home-jump-rail__btn.is-active {
  background: #111;
  color: #fff;
  border-color: #111;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-hero h1,
html[data-twro-theme="read"] body.twro-portal--home .portal-hero-tagline {
  color: #111;
}

html[data-twro-theme="read"] body.twro-portal--home .portal-hero-band__art {
  background: linear-gradient(180deg, #f7f7f7 0%, #fff 100%);
}

html[data-twro-theme="read"] body.twro-portal--home .portal-spot-badge {
  background: #111;
  color: #fff;
  border-radius: 0;
}
