.menu-cta-btn a {
  background: #C8102E !important;
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
}
.menu-cta-btn a:hover {
  background: #A00D24 !important;
}
.custom-logo {
  max-width: 50px !important;
  height: auto !important;
}
.tw-divider span {
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: 3px !important;
}
.entry-hero-layout-default {
  background: #111 !important;
}
.entry-hero-layout-default .entry-title {
  color: #fff !important;
}
.site .entry-hero-container-inner,
.site .page-hero-section,
.entry-hero-layout-default {
  background: #111 !important;
}
.site .entry-hero-container-inner .entry-title,
.site .entry-hero-container-inner .kadence-breadcrumbs,
.site .page-hero-section .entry-title,
.entry-hero-layout-default .entry-title {
  color: #fff !important;
}
.site-header .primary-menu-container a,
.site-header .site-title a,
.site-header .navbar a {
  color: #444 !important;
}
.site-header .menu-cta-btn a,
.site-header .menu-cta-btn > a {
  background: #C8102E !important;
  color: #ffffff !important;
  padding: 8px 20px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
}
.primary-menu-container a[href="#search"] {
  cursor: pointer;
  font-size: 18px;
}
.search-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.85);
  z-index: 99999;
  justify-content: center;
  align-items: center;
}
.search-overlay.open {
  display: flex;
}
.search-overlay input {
  width: 90%;
  max-width: 600px;
  padding: 20px 24px;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  outline: none;
}
/* thethinkwise: Fix submenu font color */
.site-header .sub-menu li a,
.header-navigation .sub-menu li a,
.main-navigation .sub-menu li a {
    color: #FFFFFF !important;
}

/* Hover state - ใช้สีแดง brand */
.site-header .sub-menu li a:hover,
.header-navigation .sub-menu li a:hover,
.main-navigation .sub-menu li a:hover,
.site-header .sub-menu li.current-menu-item a,
.site-header .sub-menu li.current-menu-item a:hover {
    color: #C0292B !important;
}
/* ============================================================
   thethinkwise | Hotel Consulting
   Additional CSS — Appearance > Customize > Additional CSS
   วางทั้งหมดนี้ใน Additional CSS แล้ว Publish
   ============================================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,700&family=Sarabun:wght@400;600;700&family=Space+Mono:wght@400;700&display=swap');

/* ── ARTICLE WRAPPER ── */
.ttw-article {
  font-family: 'Sarabun', sans-serif;
  color: #111111;
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.85;
}

/* ── LEAD BLOCK (black intro box) ── */
.ttw-lead {
  background: #111111 !important;
  color: #ffffff !important;
  padding: 36px 40px !important;
  margin-bottom: 48px !important;
  position: relative !important;
}
.ttw-lead::before {
  content: '' !important;
  display: block !important;
  width: 40px !important;
  height: 4px !important;
  background: #C0292B !important;
  margin-bottom: 20px !important;
}
.ttw-lead p {
  font-size: 1.15em !important;
  font-weight: 400 !important;
  line-height: 1.9 !important;
  margin: 0 !important;
  color: #dddddd !important;
  background: transparent !important;
}
.ttw-lead strong {
  color: #ffffff !important;
  font-weight: 700 !important;
  background: transparent !important;
}

/* ── BODY TEXT ── */
.ttw-body {
  font-size: 1.05em !important;
  line-height: 1.9 !important;
  color: #333333 !important;
  margin-bottom: 16px !important;
}
.ttw-body strong {
  color: #111111 !important;
}

/* ── DIVIDER ── */
.ttw-divider {
  border: none !important;
  border-top: 1px solid #E0E0E0 !important;
  margin: 52px 0 !important;
}

/* ── TYPE CARD ── */
.ttw-type-card {
  margin-bottom: 56px !important;
}

/* Red label badge (TYPE 01–05) */
.ttw-type-label {
  font-family: 'Space Mono', monospace !important;
  font-size: 0.7em !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  background: #C0292B !important;
  display: inline-block !important;
  padding: 5px 14px !important;
  margin-bottom: 12px !important;
}

/* H2 — Type Title */
.ttw-type-title {
  font-family: 'Sarabun', sans-serif !important;
  font-size: 1.65em !important;
  font-weight: 700 !important;
  color: #111111 !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.3 !important;
  background: transparent !important;
}
.ttw-type-title em {
  font-family: 'Playfair Display', serif !important;
  font-style: italic !important;
  color: #C0292B !important;
  font-size: 0.92em !important;
  background: transparent !important;
}

/* Type description */
.ttw-type-desc {
  font-size: 1.02em !important;
  color: #444444 !important;
  line-height: 1.88 !important;
  margin: 16px 0 20px !important;
}

/* H3 — Pattern label */
.ttw-subhead {
  font-family: 'Space Mono', monospace !important;
  font-size: 0.72em !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
  color: #888888 !important;
  margin: 24px 0 10px !important;
  background: transparent !important;
}

/* Pattern list */
.ttw-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 4px !important;
}
.ttw-list li {
  font-size: 0.98em !important;
  color: #444444 !important;
  line-height: 1.8 !important;
  padding: 9px 0 9px 20px !important;
  border-bottom: 1px solid #F0F0F0 !important;
  position: relative !important;
  background: transparent !important;
}
.ttw-list li::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 18px !important;
  width: 6px !important;
  height: 6px !important;
  background: #C0292B !important;
  border-radius: 50% !important;
}
.ttw-list li:last-child {
  border-bottom: none !important;
}

/* ── HOW TO HANDLE (black box) ── */
.ttw-handle-box {
  background: #111111 !important;
  color: #ffffff !important;
  padding: 24px 28px !important;
  margin-top: 20px !important;
}
.ttw-handle-label {
  font-family: 'Space Mono', monospace !important;
  font-size: 0.68em !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: #C0292B !important;
  display: block !important;
  margin-bottom: 10px !important;
  background: transparent !important;
}
.ttw-handle-box p {
  font-size: 0.97em !important;
  line-height: 1.85 !important;
  color: #cccccc !important;
  margin: 0 !important;
  background: transparent !important;
}
.ttw-handle-box p strong {
  color: #ffffff !important;
  background: transparent !important;
}

/* ── SUMMARY SECTION (off-white box) ── */
.ttw-summary-section {
  background: #F2F2F2 !important;
  padding: 40px !important;
  margin: 48px 0 !important;
  border-left: 5px solid #111111 !important;
}
.ttw-summary-section h2 {
  font-family: 'Sarabun', sans-serif !important;
  font-size: 1.4em !important;
  font-weight: 700 !important;
  color: #111111 !important;
  margin: 0 0 16px !important;
  background: transparent !important;
}
.ttw-summary-section p {
  font-size: 1.02em !important;
  color: #444444 !important;
  line-height: 1.9 !important;
  margin-bottom: 14px !important;
  background: transparent !important;
}
.ttw-summary-section p:last-child {
  margin-bottom: 0 !important;
}
.ttw-summary-section strong {
  color: #111111 !important;
  background: transparent !important;
}

/* ── TOOLKIT BLOCK (black box) ── */
.ttw-toolkit {
  background: #111111 !important;
  padding: 36px 40px !important;
  margin: 0 0 48px !important;
}
.ttw-toolkit-label {
  font-family: 'Space Mono', monospace !important;
  font-size: 0.68em !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: #C0292B !important;
  display: block !important;
  margin-bottom: 16px !important;
  background: transparent !important;
}
.ttw-toolkit-title {
  font-family: 'Sarabun', sans-serif !important;
  font-size: 1.15em !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 20px !important;
  background: transparent !important;
}
.ttw-toolkit-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.ttw-toolkit-list li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid #2a2a2a !important;
  font-size: 0.97em !important;
  color: #cccccc !important;
  line-height: 1.7 !important;
  background: transparent !important;
}
.ttw-toolkit-list li:last-child {
  border-bottom: none !important;
}
.ttw-toolkit-num {
  font-family: 'Space Mono', monospace !important;
  font-size: 0.72em !important;
  color: #C0292B !important;
  min-width: 24px !important;
  padding-top: 2px !important;
  font-weight: 700 !important;
  background: transparent !important;
}

/* ── CLOSING TEXT ── */
.ttw-closing {
  font-size: 1.04em !important;
  color: #444444 !important;
  line-height: 1.9 !important;
  margin-bottom: 40px !important;
}
.ttw-closing strong {
  color: #111111 !important;
}

/* ── ARTICLE FOOTER ── */
.ttw-article-footer {
  border-top: 1px solid #E0E0E0 !important;
  padding-top: 20px !important;
  margin-top: 40px !important;
}
.ttw-article-footer p {
  font-family: 'Space Mono', monospace !important;
  font-size: 0.72em !important;
  color: #999999 !important;
  letter-spacing: 0.5px !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}
.ttw-article-footer a {
  color: #C0292B !important;
  text-decoration: none !important;
}
/* ============================================================
   thethinkwise | OS&E + FF&E Article Styles
   Paste into: Appearance → Customize → Additional CSS
   Prefix: .ttw-osne-
   ============================================================ */

/* BASE ARTICLE WRAPPER */
.ttw-article {
  font-family: 'Sarabun', sans-serif;
  color: #111111;
  background: #ffffff;
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.75;
}

/* LEAD BLOCK */
.ttw-lead-block {
  background: #111111 !important;
  color: #ffffff !important;
  padding: 24px 28px;
  margin-bottom: 36px;
  border-left: 5px solid #C0292B;
}
.ttw-lead-block p {
  color: #ffffff !important;
  font-size: 17px;
  margin: 0;
}

/* TWO-COLUMN GRID */
.ttw-two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}
@media (max-width: 640px) {
  .ttw-two-col-grid {
    grid-template-columns: 1fr;
  }
}

/* BLACK BOXES */
.ttw-black-box {
  background: #111111 !important;
  color: #ffffff !important;
  padding: 20px 22px;
}
.ttw-black-box .ttw-box-label {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #C0292B !important;
  margin-bottom: 6px;
}
.ttw-black-box .ttw-box-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff !important;
  margin-bottom: 10px;
}
.ttw-black-box p {
  color: #ffffff !important;
  font-size: 14px;
  margin: 0 0 8px 0;
}
.ttw-black-box .ttw-box-note {
  font-size: 12px;
  color: #aaaaaa !important;
  border-top: 1px solid #333333;
  padding-top: 8px;
  margin-top: 8px;
}

/* CALLOUT BOX */
.ttw-callout-box {
  background: #F2F2F2 !important;
  border-left: 4px solid #C0292B;
  padding: 16px 20px;
  margin: 20px 0;
}
.ttw-callout-box p {
  margin: 0;
  font-size: 15px;
  color: #111111 !important;
}

/* STAT GRID */
.ttw-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}
@media (max-width: 640px) {
  .ttw-stat-grid {
    grid-template-columns: 1fr;
  }
}
.ttw-stat-card {
  background: #111111 !important;
  color: #ffffff !important;
  padding: 20px 16px;
  text-align: center;
}
.ttw-stat-card .ttw-stat-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #C0292B !important;
  margin-bottom: 8px;
}
.ttw-stat-card .ttw-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: #ffffff !important;
  line-height: 1;
  margin-bottom: 8px;
}
.ttw-stat-card .ttw-stat-desc {
  font-size: 12px;
  color: #cccccc !important;
  line-height: 1.4;
}

/* TOOL EMBED BLOCK */
.ttw-tool-embed-block {
  background: #C0292B !important;
  color: #ffffff !important;
  padding: 28px 32px;
  margin: 36px 0;
}
.ttw-tool-embed-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7) !important;
  margin-bottom: 8px;
}
.ttw-tool-embed-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: #ffffff !important;
  margin: 0 0 12px 0;
}
.ttw-tool-embed-block p {
  color: #ffffff !important;
  font-size: 15px;
  margin-bottom: 16px;
}
.ttw-tool-feature-list {
  list-style: none !important;
  padding: 0;
  margin: 0 0 20px 0;
}
.ttw-tool-feature-list li {
  color: #ffffff !important;
  font-size: 14px;
  padding: 4px 0;
}
.ttw-tool-cta-btn {
  display: inline-block;
  background: #ffffff !important;
  color: #C0292B !important;
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 24px;
  text-decoration: none !important;
  letter-spacing: 0.5px;
}
.ttw-tool-cta-btn:hover {
  background: #111111 !important;
  color: #ffffff !important;
}

/* DATA TABLE */
.ttw-table-wrapper {
  overflow-x: auto;
  margin: 20px 0;
}
.ttw-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.ttw-data-table thead tr {
  background: #111111 !important;
  color: #ffffff !important;
}
.ttw-data-table thead th {
  padding: 12px 16px;
  text-align: left;
  color: #ffffff !important;
  font-weight: 600;
}
.ttw-data-table tbody tr {
  border-bottom: 1px solid #e0e0e0;
}
.ttw-data-table tbody tr:nth-child(even) {
  background: #F2F2F2 !important;
}
.ttw-data-table tbody td {
  padding: 10px 16px;
  color: #111111 !important;
}

/* KEY TAKEAWAY BLOCK */
.ttw-key-takeaway-block {
  background: #333333 !important;
  color: #ffffff !important;
  padding: 20px 24px;
  border-left: 5px solid #C0292B;
  margin: 28px 0;
}
.ttw-key-takeaway-block p {
  color: #ffffff !important;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

/* CONSULT CTA BLOCK */
.ttw-consult-cta-block {
  background: #111111 !important;
  margin: 40px 0 28px;
  padding: 0;
}
.ttw-consult-cta-inner {
  padding: 32px 36px;
}
.ttw-consult-cta-tag {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #C0292B !important;
  margin-bottom: 10px;
}
.ttw-consult-cta-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: #ffffff !important;
  margin: 0 0 12px 0;
}
.ttw-consult-cta-inner p {
  color: #cccccc !important;
  font-size: 15px;
  margin-bottom: 20px;
}
.ttw-consult-cta-btn {
  display: inline-block;
  background: #C0292B !important;
  color: #ffffff !important;
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 24px;
  text-decoration: none !important;
}
.ttw-consult-cta-btn:hover {
  background: #ffffff !important;
  color: #111111 !important;
}

/* ARTICLE FOOTER */
.ttw-article-footer {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: #999999;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-top: 1px solid #e0e0e0;
  padding-top: 16px;
  margin-top: 32px;
}

.ttw-article { font-family: 'Sarabun', sans-serif; color: #111111; line-height: 1.75; max-width: 760px; margin: 0 auto; }
.ttw-article h2 { font-size: 1.75rem; font-weight: 700; color: #111111; margin: 2.5rem 0 1rem; border-bottom: 2px solid #111111; padding-bottom: 0.5rem; }
.ttw-article h3 { font-size: 1.25rem; font-weight: 700; color: #111111; margin: 2rem 0 0.75rem; }
.ttw-article p { margin: 0 0 1.25rem; font-size: 1.05rem; }
.ttw-article ul, .ttw-article ol { margin: 0 0 1.5rem 1.25rem; padding-left: 1rem; }
.ttw-article li { margin-bottom: 0.5rem; }
.ttw-article strong { color: #111111; font-weight: 700; }
.ttw-tag { display: inline-block; background: #C0292B; color: #FFFFFF !important; font-family: 'Space Mono', monospace; font-size: 0.75rem; letter-spacing: 0.1em; padding: 6px 14px; text-transform: uppercase; margin-bottom: 1rem; }
.ttw-box-red { background: #C0292B; color: #FFFFFF; padding: 1.5rem 1.75rem; margin: 1.75rem 0; border-radius: 2px; }
.ttw-box-red * { color: #FFFFFF !important; }
.ttw-box-black { background: #111111; color: #FFFFFF; padding: 1.5rem 1.75rem; margin: 1.75rem 0; border-radius: 2px; }
.ttw-box-black * { color: #FFFFFF !important; }
.ttw-box-grey { background: #333333; color: #FFFFFF; padding: 1.5rem 1.75rem; margin: 1.75rem 0; border-radius: 2px; }
.ttw-box-grey * { color: #FFFFFF !important; }
.ttw-step { background: #F2F2F2; padding: 1.5rem 1.75rem; margin: 1.5rem 0; border-left: 4px solid #C0292B; }
.ttw-step-num { font-family: 'Space Mono', monospace; font-size: 0.8rem; letter-spacing: 0.15em; color: #C0292B; text-transform: uppercase; margin-bottom: 0.5rem; }
.ttw-step h3 { margin-top: 0; }
.ttw-prompt-tag { display: inline-block; background: #111111; color: #FFFFFF; font-family: 'Space Mono', monospace; font-size: 0.7rem; padding: 3px 8px; letter-spacing: 0.05em; margin: 0 4px 4px 0; }
.ttw-cta { background: #111111; color: #FFFFFF; text-align: center; padding: 2.5rem 1.75rem; margin: 3rem 0 2rem; }
.ttw-cta * { color: #FFFFFF !important; }
.ttw-cta a { display: inline-block; background: #C0292B; color: #FFFFFF !important; padding: 14px 32px; text-decoration: none; font-family: 'Space Mono', monospace; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; margin-top: 1rem; }
.ttw-brand-line { font-family: 'Space Mono', monospace; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: #333333; text-align: center; margin: 3rem 0 1rem; padding-top: 2rem; border-top: 1px solid #F2F2F2; }
/* ============================================================
   thethinkwise HOMEPAGE v2 — added 20 Jul 2026
   All rules scoped under .ttw-page so they cannot affect any
   other page/post on the site. Only 2 lines below are global
   by necessity (html scroll-behavior, body margin reset) —
   both are standard, low-risk resets.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@400;600;700;800&family=Space+Mono:wght@400;700&display=swap');
html { scroll-behavior: smooth; }
body { margin: 0; }
.ttw-page { background: #FFFFFF; color: #111111; font-family: 'Sarabun', system-ui, -apple-system, sans-serif; font-size: 16px; line-height: 1.6; }
.ttw-page * { box-sizing: border-box; }
.ttw-page img { max-width: 100%; }
.ttw-page a { color: #111111; transition: color 160ms cubic-bezier(.2,0,.2,1), background 160ms cubic-bezier(.2,0,.2,1), border-color 160ms cubic-bezier(.2,0,.2,1); }
.ttw-page a:hover { color: #C0292B; }
.ttw-page .ttw-container { max-width: 1200px; margin: 0 auto; padding-left: clamp(16px, 4vw, 24px); padding-right: clamp(16px, 4vw, 24px); }
.ttw-page .ttw-section { padding-top: clamp(56px, 8vw, 88px); padding-bottom: clamp(56px, 8vw, 88px); }
.ttw-page .ttw-mono { font-family: 'Space Mono', ui-monospace, monospace; }
.ttw-page .ttw-label { font-family: 'Space Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: 0.12em; color: #808080; margin-bottom: 12px; }
.ttw-page .ttw-h2 { font-weight: 700; font-size: clamp(24px, 4vw, 32px); line-height: 1.3; margin: 0 0 8px; }
.ttw-page .ttw-sub { font-size: 16px; color: #333333; margin: 0; max-width: 620px; text-wrap: pretty; }
.ttw-page .ttw-tag { display: inline-block; font-family: 'Space Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: 0.12em; padding: 3px 10px; white-space: nowrap; }
.ttw-page .ttw-tag-red { background: #C0292B; color: #FFFFFF; }
.ttw-page .ttw-tag-black { background: #111111; color: #FFFFFF; }
.ttw-page .ttw-tag-grey { background: #333333; color: #FFFFFF; }
.ttw-page .ttw-tag-outline-white { border: 1px solid #FFFFFF; color: #FFFFFF; }
.ttw-page .ttw-btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 16px; padding: 14px 28px; white-space: nowrap; border: 1px solid transparent; }
.ttw-page .ttw-btn-red { background: #C0292B; color: #FFFFFF; }
.ttw-page a.ttw-btn-red:hover { background: #A81F21; color: #FFFFFF; }
.ttw-page .ttw-btn-black { background: #111111; color: #FFFFFF; }
.ttw-page a.ttw-btn-black:hover { background: #C0292B; color: #FFFFFF; }
.ttw-page .ttw-btn-outline { background: #FFFFFF; color: #111111; border: 1px solid #111111; }
.ttw-page a.ttw-btn-outline:hover { background: #111111; color: #FFFFFF; }
.ttw-page .ttw-btn-white { background: #FFFFFF; color: #111111; }
.ttw-page a.ttw-btn-white:hover { background: #111111; color: #FFFFFF; }
.ttw-page .ttw-btn-outline-white { border: 1px solid #FFFFFF; color: #FFFFFF; }
.ttw-page a.ttw-btn-outline-white:hover { background: #FFFFFF; color: #111111; }
.ttw-page .ttw-btn-line { background: #06C755; color: #FFFFFF; }
.ttw-page a.ttw-btn-line:hover { background: #05B34C; color: #FFFFFF; }
.ttw-page .ttw-btn-sm { font-size: 14px; padding: 10px 20px; }
/* Nav */
.ttw-page .ttw-nav { position: sticky; top: 0; z-index: 100; background: #FFFFFF; border-bottom: 1px solid #111111; }
.ttw-page .ttw-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.ttw-page .ttw-wordmark { text-decoration: none; display: flex; align-items: baseline; gap: 10px; }
.ttw-page .ttw-wordmark:hover { color: #111111; }
.ttw-page .ttw-nav-links { display: flex; align-items: center; gap: 24px; }
.ttw-page .ttw-nav-links a { text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.ttw-page .ttw-burger { display: none; border: 1px solid #111111; padding: 8px 14px; font-family: 'Space Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: 0.12em; cursor: pointer; user-select: none; }
.ttw-page #ttw-menu { display: none; }
.ttw-page .ttw-mobile-menu { display: none; flex-direction: column; border-top: 1px solid #E0E0E0; padding: 8px clamp(16px, 4vw, 24px) 20px; }
.ttw-page .ttw-mobile-menu a { text-decoration: none; font-weight: 600; font-size: 16px; padding: 12px 0; border-bottom: 1px solid #E0E0E0; }
.ttw-page .ttw-mobile-menu a.ttw-btn-black { text-align: center; border-bottom: none; margin-top: 16px; padding: 12px 20px; }
@media (max-width: 900px) {
  .ttw-page .ttw-nav-links { display: none; }
  .ttw-page .ttw-burger { display: block; }
  .ttw-page #ttw-menu:checked ~ .ttw-mobile-menu { display: flex; }
}
/* Grids & cards */
.ttw-page .ttw-grid-featured { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; margin-bottom: 16px; }
.ttw-page .ttw-grid-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.ttw-page .ttw-grid-topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.ttw-page .ttw-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.ttw-page .ttw-card { text-decoration: none; display: flex; flex-direction: column; gap: 8px; border: 1px solid #111111; background: #FFFFFF; padding: 24px; color: #111111; }
.ttw-page a.ttw-card:hover { border-color: #C0292B; color: #111111; }
.ttw-page .ttw-card-lg { gap: 12px; padding: clamp(24px, 4vw, 32px); }
.ttw-page .ttw-card-dark { text-decoration: none; display: flex; flex-direction: column; gap: 8px; border: 1px solid #333333; padding: 20px; color: #FFFFFF; }
.ttw-page a.ttw-card-dark:hover { border-color: #C0292B; color: #FFFFFF; }
.ttw-page .ttw-tool-featured { text-decoration: none; display: flex; flex-direction: column; gap: 12px; background: #FFFFFF; color: #111111; padding: clamp(24px, 4vw, 32px); border: 1px solid #FFFFFF; }
.ttw-page a.ttw-tool-featured:hover { border-color: #C0292B; color: #111111; }
.ttw-page .ttw-num { font-family: 'Space Mono', ui-monospace, monospace; font-size: 13px; color: #808080; }
.ttw-page .ttw-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ttw-page .ttw-card-title { font-weight: 700; font-size: 18px; line-height: 1.35; }
.ttw-page .ttw-card-title-lg { font-weight: 700; font-size: 22px; line-height: 1.3; margin: 0; }
.ttw-page .ttw-card-desc { font-size: 15px; line-height: 1.6; color: #333333; margin: 0; text-wrap: pretty; }
.ttw-page .ttw-card-desc-dark { font-size: 14px; line-height: 1.5; color: #E0E0E0; margin: 0; text-wrap: pretty; }
.ttw-page .ttw-card-link { font-weight: 600; font-size: 14px; margin-top: auto; padding-top: 8px; }
.ttw-page .ttw-card-link-mono { font-family: 'Space Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: 0.12em; margin-top: auto; padding-top: 8px; }
.ttw-page .ttw-meta { font-family: 'Space Mono', ui-monospace, monospace; font-size: 12px; color: #808080; }
.ttw-page .ttw-text-link { font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 2px solid #111111; padding-bottom: 2px; white-space: nowrap; }
/* Services */
.ttw-page .ttw-service-row { text-decoration: none; display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; padding: 24px 8px; border-bottom: 1px solid #E0E0E0; color: #111111; }
.ttw-page a.ttw-service-row:hover { background: #F2F2F2; color: #111111; }
@media (max-width: 620px) { .ttw-service-row { grid-template-columns: 32px 1fr; } .ttw-service-row .ttw-tag { display: none; } }
/* Chips / stats */
.ttw-page .ttw-chip { border: 1px solid #111111; font-family: 'Space Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: 0.08em; padding: 4px 10px; white-space: nowrap; }
.ttw-page .ttw-stat-val { font-family: 'Space Mono', ui-monospace, monospace; font-weight: 700; font-size: 24px; }
.ttw-page .ttw-stat-label { font-family: 'Space Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: 0.12em; color: #808080; }
.ttw-page .ttw-metric-val { font-family: 'Space Mono', ui-monospace, monospace; font-weight: 700; font-size: clamp(32px, 5vw, 44px); line-height: 1.1; }
.ttw-page .ttw-metric-label { font-family: 'Space Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: 0.12em; color: #F2F2F2; }
.ttw-page .ttw-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
/* ============================================================
   thethinkwise HOMEPAGE — hide Kadence's real header/footer
   Covers BOTH cases so no further edit is needed later:
   - body.page-id-14740 : matches while testing on the draft
   - body.home           : matches automatically once this content
                            is on whichever page is set as the real
                            homepage in Settings → Reading (works
                            even if that page's ID is different)
   Every other page on the site keeps the normal Kadence
   header/footer untouched.
   ============================================================ */
body.page-id-14740 .site-header,
body.page-id-14740 .site-footer,
body.home .site-header,
body.home .site-footer {
  display: none !important;
}
/* ============================================================
   thethinkwise — sitewide fix for Kadence's real menu
   Applies to EVERY page except Home (Home uses its own .ttw-nav
   and has the real .site-header hidden already).
   Fixes: menu text wrapping to 2 lines, wrong font.
   ============================================================ */
.site-header .primary-menu-container a {
  white-space: nowrap;
  font-family: 'Sarabun', sans-serif;
}
/* ============================================================
   thethinkwise HOMEPAGE — fix wordmark & MENU button wrapping
   on narrow mobile screens (e.g. iPhone). Both were shrinking
   under flex and wrapping mid-word ("thethinkwis" + "e",
   "MEN" + "U"). Force them to stay on one line and never shrink.
   ============================================================ */
.ttw-page .ttw-wordmark,
.ttw-page .ttw-wordmark span,
.ttw-page .ttw-burger {
  white-space: nowrap;
  flex-shrink: 0;
}
/* ============================================================
   Weekly Brief POST TEMPLATE — fix "thethinkwise" masthead
   wrapping on narrow mobile screens. Applies sitewide, so this
   retroactively fixes every past Weekly Brief post AND all
   future ones using the same .ttw-hero / .ttw-wordmark-row
   markup — no need to touch the weekly production template.
   ============================================================ */
.ttw-wordmark-row h1,
.ttw-wordmark-row {
  white-space: nowrap;
  flex-shrink: 0;
}