/* This title rule is limited to the imported post body class. */
.ttt-northern-itinerary-imported .entry-header .entry-title,
.ttt-northern-itinerary-imported .wp-block-post-title { display: none; }
/* Taylor's Trailblazing Travels — Northern Thailand 7-Day Itinerary 2026 */
.ttt-route-guide,
.ttt-route-guide * {
  box-sizing: border-box;
}

.ttt-route-guide {
  --ttt-ink: #173f43;
  --ttt-body: #334e4b;
  --ttt-muted: #687a76;
  --ttt-teal: #0f6b68;
  --ttt-teal-dark: #084f4d;
  --ttt-teal-soft: #dff1eb;
  --ttt-terracotta: #c66849;
  --ttt-terracotta-dark: #9a472e;
  --ttt-terracotta-soft: #f8e1d8;
  --ttt-cream: #fff5e8;
  --ttt-peach: #fbe9dc;
  --ttt-green-soft: #e5f1e8;
  --ttt-gold: #d99b2b;
  --ttt-white: #ffffff;
  --ttt-border: #d9e1dd;
  --ttt-shadow: 0 20px 50px rgba(20, 61, 61, 0.10);
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(10px, 2.1vw, 26px);
  overflow-x: hidden;
  color: var(--ttt-body);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  background: #f7f8f6;
  border-radius: 30px;
}

.ttt-route-guide > * {
  min-width: 0;
}

.ttt-route-guide img,
.ttt-route-guide svg,
.ttt-route-guide video,
.ttt-route-guide canvas {
  display: block;
  width: 100%;
  max-width: 100% !important;
  height: auto;
}

.ttt-route-guide figure,
.ttt-route-guide picture {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.ttt-route-guide a {
  color: var(--ttt-teal-dark);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.ttt-route-guide a:hover,
.ttt-route-guide a:focus-visible {
  color: var(--ttt-terracotta-dark);
}

.ttt-route-guide h1,
.ttt-route-guide h2,
.ttt-route-guide h3,
.ttt-route-guide .ttt-display-title {
  margin: 0;
  color: var(--ttt-ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
  text-wrap: balance;
}

.ttt-route-guide h1,
.ttt-route-guide .ttt-display-title {
  max-width: 970px;
  color: #ffffff;
  font-size: clamp(2.1rem, 5.8vw, 4.55rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.42);
}

.ttt-route-guide h2 {
  font-size: clamp(1.65rem, 3.3vw, 2.45rem);
  letter-spacing: -0.02em;
}

.ttt-route-guide h3 {
  margin-top: 2rem;
  margin-bottom: 0.65rem;
  font-size: clamp(1.23rem, 2.2vw, 1.55rem);
}

.ttt-route-guide p {
  margin: 0 0 1.12rem;
}

.ttt-route-guide ul,
.ttt-route-guide ol {
  margin: 0.5rem 0 1.25rem;
  padding-left: 1.35rem;
}

.ttt-route-guide li {
  margin: 0.45rem 0;
}

.ttt-route-guide .ttt-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  min-height: clamp(510px, 67vw, 720px);
  overflow: hidden;
  border-radius: 24px;
  background: #0d343c;
  box-shadow: var(--ttt-shadow);
}

.ttt-route-guide .ttt-hero img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: 50% 50%;
  margin: 0 !important;
}

.ttt-route-guide .ttt-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 30, 36, 0.88) 0%, rgba(4, 30, 36, 0.70) 48%, rgba(4, 30, 36, 0.28) 78%, rgba(4, 30, 36, 0.48) 100%),
    linear-gradient(0deg, rgba(4, 27, 31, 0.84) 0%, transparent 58%);
}

.ttt-route-guide .ttt-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: inherit;
  max-width: 1010px;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 6vw, 78px);
}

.ttt-route-guide .ttt-kicker,
.ttt-route-guide .ttt-label,
.ttt-route-guide .ttt-section-number,
.ttt-route-guide .ttt-card-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-family: Inter, ui-sans-serif, sans-serif;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.ttt-route-guide .ttt-kicker {
  margin-bottom: 18px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 107, 104, 0.78);
  backdrop-filter: blur(8px);
  font-size: 0.76rem;
}

.ttt-route-guide .ttt-hero-subtitle {
  max-width: 830px;
  margin: 19px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.02rem, 2vw, 1.32rem);
  line-height: 1.5;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.ttt-route-guide .ttt-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.ttt-route-guide .ttt-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(8, 40, 45, 0.68);
  font-size: 0.83rem;
  line-height: 1.2;
  backdrop-filter: blur(7px);
}

.ttt-route-guide .ttt-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #f5c86c;
}

.ttt-route-guide .ttt-opening-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
  margin: clamp(24px, 4vw, 48px) 0 20px;
}

.ttt-route-guide .ttt-opening-copy {
  padding: clamp(4px, 1vw, 10px);
  font-size: 1.04em;
}

.ttt-route-guide .ttt-opening-copy p:first-child::first-letter {
  float: left;
  margin: 0.08em 0.10em 0 0;
  color: var(--ttt-terracotta);
  font-family: Georgia, serif;
  font-size: 4.1em;
  font-weight: 700;
  line-height: 0.78;
}

.ttt-route-guide .ttt-quick-answer {
  position: sticky;
  top: 22px;
  padding: 25px;
  border: 1px solid #add5cb;
  border-radius: 22px;
  background: linear-gradient(145deg, #e5f4ef, #f5fbf8);
  box-shadow: 0 15px 38px rgba(15, 107, 104, 0.11);
}

.ttt-route-guide .ttt-label {
  margin-bottom: 13px;
  color: var(--ttt-teal-dark);
  font-size: 0.73rem;
}

.ttt-route-guide .ttt-quick-answer p {
  margin: 0;
  color: #214c49;
  font-size: 1.04rem;
  line-height: 1.62;
}

.ttt-route-guide .ttt-disclosure {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 22px 0 30px;
  padding: 14px 17px;
  border: 1px solid #e3d9ca;
  border-radius: 14px;
  color: #615f58;
  background: #fffaf3;
  font-size: 0.86rem;
  line-height: 1.55;
}

.ttt-route-guide .ttt-disclosure::before {
  content: "i";
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--ttt-terracotta);
  font-family: Georgia, serif;
  font-weight: 700;
}

.ttt-route-guide .ttt-guide-nav {
  margin: 28px 0;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid #edd5c1;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--ttt-cream), var(--ttt-peach));
  box-shadow: 0 16px 38px rgba(132, 84, 55, 0.08);
}

.ttt-route-guide .ttt-guide-nav-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
}

.ttt-route-guide .ttt-guide-nav-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 15px;
  color: #ffffff;
  background: var(--ttt-terracotta);
  transform: rotate(-3deg);
}

.ttt-route-guide .ttt-guide-nav-icon svg {
  width: 26px;
  height: 26px;
}

.ttt-route-guide .ttt-guide-nav h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.ttt-route-guide .ttt-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 18px;
}

.ttt-route-guide .ttt-nav-grid a {
  display: flex;
  gap: 10px;
  align-items: center;
	justify-content: flex-start;
  min-height: 52px;
  padding: 11px 13px;
  border: 1px solid rgba(170, 114, 74, 0.20);
  border-radius: 13px;
  color: #4d463d;
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.91rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}

.ttt-route-guide .ttt-nav-grid a::before {
  content: "↗";
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border-radius: 50%;
  color: var(--ttt-terracotta-dark);
  background: #f9d9c7;
  font-size: 0.75rem;
}

.ttt-route-guide .ttt-nav-grid a:hover,
.ttt-route-guide .ttt-nav-grid a:focus-visible {
  border-color: var(--ttt-terracotta);
  background: #ffffff;
  transform: translateY(-1px);
}

.ttt-route-guide .ttt-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.ttt-route-guide .ttt-summary-card {
  min-width: 0;
  padding: 22px 19px;
  border: 1px solid var(--ttt-border);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(23, 63, 67, 0.07);
}

.ttt-route-guide .ttt-summary-card:nth-child(2n) {
  background: #fffbf6;
}

.ttt-route-guide .ttt-card-label {
  margin-bottom: 10px;
  color: var(--ttt-terracotta-dark);
  font-size: 0.68rem;
}

.ttt-route-guide .ttt-summary-card h3 {
  margin: 0 0 9px;
  font-size: 1.19rem;
}

.ttt-route-guide .ttt-summary-card p {
  margin: 0;
  color: var(--ttt-muted);
  font-size: 0.91rem;
  line-height: 1.55;
}

.ttt-route-guide .ttt-related {
  margin: 28px 0 38px;
  padding: clamp(22px, 3vw, 31px);
  border: 1px solid #c6ddcb;
  border-radius: 23px;
  background: var(--ttt-green-soft);
}

.ttt-route-guide .ttt-related h2 {
  margin-bottom: 15px;
  font-size: 1.55rem;
}

.ttt-route-guide .ttt-related-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.ttt-route-guide .ttt-related a {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid rgba(62, 111, 74, 0.2);
  border-radius: 13px;
  color: #2d5b3a;
  background: rgba(255, 255, 255, 0.68);
  font-size: 0.91rem;
  font-weight: 700;
  text-decoration: none;
}

.ttt-route-guide .ttt-section-card {
  position: relative;
  margin: 30px 0;
  padding: clamp(25px, 4vw, 45px);
  overflow: hidden;
  border: 1px solid var(--ttt-border);
  border-left: 7px solid var(--ttt-teal);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--ttt-shadow);
}

.ttt-route-guide .ttt-section-card.ttt-accent-terracotta {
  border-left-color: var(--ttt-terracotta);
}

.ttt-route-guide .ttt-section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  margin-bottom: 24px;
}

.ttt-route-guide .ttt-section-number {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: var(--ttt-teal);
  font-size: 0.77rem;
  box-shadow: 0 8px 20px rgba(15, 107, 104, 0.22);
}

.ttt-route-guide .ttt-accent-terracotta .ttt-section-number {
  background: var(--ttt-terracotta);
  box-shadow: 0 8px 20px rgba(198, 104, 73, 0.22);
}

.ttt-route-guide .ttt-section-intro {
  max-width: 830px;
  margin: -5px 0 25px;
  color: var(--ttt-muted);
  font-size: 1.04rem;
}

.ttt-route-guide .ttt-figure {
  margin: 27px 0 30px;
  border: 1px solid #d7dfdb;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(23, 63, 67, 0.08);
}

.ttt-route-guide .ttt-figure img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  border-radius: 19px 19px 0 0;
}

.ttt-route-guide .ttt-figure figcaption {
  padding: 13px 17px 15px;
  color: var(--ttt-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.ttt-route-guide .ttt-table-scroll {
  width: 100%;
  max-width: 100%;
  margin: 23px 0 28px;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid #cddbd7;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 11px 30px rgba(23, 63, 67, 0.07);
  -webkit-overflow-scrolling: touch;
}

.ttt-route-guide table {
  width: 100%;
  min-width: 690px;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  color: #344e4b;
  font-size: 0.89rem;
  line-height: 1.48;
}

.ttt-route-guide th,
.ttt-route-guide td {
  padding: 14px 15px;
  vertical-align: top;
  text-align: left;
  overflow-wrap: normal;
  word-break: normal;
}

.ttt-route-guide th {
  color: #ffffff;
  background: linear-gradient(135deg, var(--ttt-teal-dark), var(--ttt-teal));
  font-weight: 800;
}

.ttt-route-guide th:first-child {
  border-top-left-radius: 17px;
}

.ttt-route-guide th:last-child {
  border-top-right-radius: 17px;
}

.ttt-route-guide td {
  border-top: 1px solid #e3e9e6;
  background: #ffffff;
}

.ttt-route-guide tbody tr:hover td {
  background: #f7fbf9;
}

.ttt-route-guide .ttt-table-note {
  margin: -15px 0 26px;
  color: var(--ttt-muted);
  font-size: 0.81rem;
}

.ttt-route-guide .ttt-callout {
  margin: 22px 0;
  padding: 20px 21px;
  border: 1px solid #bcdcd4;
  border-left: 5px solid var(--ttt-teal);
  border-radius: 16px;
  background: #eef8f4;
}

.ttt-route-guide .ttt-callout.ttt-warning {
  border-color: #ebc0ad;
  border-left-color: var(--ttt-terracotta);
  background: #fdf0ea;
}

.ttt-route-guide .ttt-callout.ttt-booking {
  border-color: #e8ce8e;
  border-left-color: var(--ttt-gold);
  background: #fff8df;
}

.ttt-route-guide .ttt-callout.ttt-source-note {
  border-color: #d3d7e8;
  border-left-color: #7563a1;
  background: #f4f2fa;
}

.ttt-route-guide .ttt-callout .ttt-label {
  margin-bottom: 8px;
}

.ttt-route-guide .ttt-callout p:last-child,
.ttt-route-guide .ttt-callout ul:last-child {
  margin-bottom: 0;
}

.ttt-route-guide .ttt-pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.ttt-route-guide .ttt-pros,
.ttt-route-guide .ttt-cons {
  padding: 22px;
  border-radius: 18px;
}

.ttt-route-guide .ttt-pros {
  border: 1px solid #b9d9c2;
  background: #ecf7ef;
}

.ttt-route-guide .ttt-cons {
  border: 1px solid #ebc2b3;
  background: #fdf0ea;
}

.ttt-route-guide .ttt-pros h3,
.ttt-route-guide .ttt-cons h3 {
  margin-top: 0;
}

.ttt-route-guide .ttt-affiliate-panel {
  display: grid;
grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 20px;
  align-items: center;
  margin: 25px 0;
  padding: 22px;
  border: 1px solid #d6c9ea;
  border-radius: 18px;
  background: linear-gradient(135deg, #f5f1fb, #ffffff);
}

.ttt-route-guide .ttt-affiliate-panel h3 {
  margin-top: 0;
}

.ttt-route-guide .ttt-affiliate-panel p {
  margin-bottom: 0;
}

.ttt-route-guide .ttt-button,
.ttt-route-guide a.ttt-button {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: var(--ttt-teal);
  box-shadow: 0 9px 22px rgba(15, 107, 104, 0.2);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}

.ttt-route-guide .ttt-button:hover,
.ttt-route-guide .ttt-button:focus-visible {
  color: #ffffff;
  background: var(--ttt-teal-dark);
  transform: translateY(-1px);
}

.ttt-route-guide .ttt-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.ttt-route-guide .ttt-product-card {
  padding: 20px;
  border: 1px solid #ded5e9;
  border-radius: 17px;
  background: #faf8fd;
}

.ttt-route-guide .ttt-product-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.ttt-route-guide .ttt-product-card p {
  color: var(--ttt-muted);
  font-size: 0.88rem;
}

.ttt-route-guide .ttt-product-card a {
  font-weight: 800;
}

.ttt-route-guide .ttt-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ttt-route-guide .ttt-faq-item {
  min-width: 0;
  padding: 21px;
  border: 1px solid var(--ttt-border);
  border-radius: 18px;
  background: #fbfcfb;
}

.ttt-route-guide .ttt-faq-item h3 {
  margin: 0 0 10px;
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 1.03rem;
  line-height: 1.42;
}

.ttt-route-guide .ttt-faq-item p {
  margin: 0;
  color: #4d625f;
  font-size: 0.91rem;
}

.ttt-route-guide .ttt-source-list {
  margin: 20px 0 0;
  padding-left: 1.35rem;
}

.ttt-route-guide .ttt-source-list li {
  margin: 0.7rem 0;
  padding-left: 0.2rem;
  color: var(--ttt-muted);
  font-size: 0.87rem;
}

.ttt-route-guide .ttt-source-list a {
  font-weight: 700;
}

.ttt-route-guide .ttt-image-credit {
  margin: 30px 4px 16px;
  padding: 17px 19px;
  border-radius: 14px;
  color: #5b6764;
  background: #f0f2ef;
  font-size: 0.84rem;
}

.ttt-route-guide .ttt-author-box {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin: 18px 0 5px;
  padding: clamp(23px, 4vw, 36px);
  border-radius: 23px;
  color: #ffffff;
  background: linear-gradient(135deg, #123e43, #0f6b68);
  box-shadow: var(--ttt-shadow);
}

.ttt-route-guide .ttt-author-mark {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  color: #123e43;
  background: #f6d297;
  font-family: Georgia, serif;
  font-size: 1.65rem;
  font-weight: 700;
}

.ttt-route-guide .ttt-author-box h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 1.55rem;
}

.ttt-route-guide .ttt-author-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.93rem;
}

.ttt-route-guide .ttt-back-top {
  display: flex;
  justify-content: center;
  margin: 28px 0 4px;
}

.ttt-route-guide .ttt-back-top a {
  display: inline-flex;
  padding: 10px 15px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--ttt-ink);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.ttt-route-guide sup a {
  font-size: 0.75em;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 920px) {
  .ttt-route-guide .ttt-opening-grid {
    grid-template-columns: 1fr;
  }
  .ttt-route-guide .ttt-quick-answer {
    position: static;
  }
  .ttt-route-guide .ttt-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ttt-route-guide .ttt-nav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ttt-route-guide .ttt-product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .ttt-route-guide {
    padding: 8px;
    border-radius: 17px;
    font-size: 16px;
  }
  .ttt-route-guide .ttt-hero {
    min-height: 610px;
    border-radius: 18px;
  }
  .ttt-route-guide .ttt-hero img {
    object-position: 62% 50%;
  }
  .ttt-route-guide .ttt-hero-content {
    padding: 25px 20px 34px;
  }
  .ttt-route-guide h1,
  .ttt-route-guide .ttt-display-title {
    font-size: clamp(2rem, 11.5vw, 3.15rem);
  }
  .ttt-route-guide .ttt-opening-copy p:first-child::first-letter {
    float: none;
    margin: 0;
    font-size: inherit;
    line-height: inherit;
  }
  .ttt-route-guide .ttt-nav-grid,
  .ttt-route-guide .ttt-summary-grid,
  .ttt-route-guide .ttt-related-links,
  .ttt-route-guide .ttt-pros-cons,
  .ttt-route-guide .ttt-faq-grid {
    grid-template-columns: 1fr;
  }
  .ttt-route-guide .ttt-section-card {
    padding: 23px 18px;
    border-left-width: 5px;
    border-radius: 18px;
  }
  .ttt-route-guide .ttt-section-head {
    grid-template-columns: 39px minmax(0, 1fr);
    gap: 11px;
  }
  .ttt-route-guide .ttt-section-number {
    width: 39px;
    height: 39px;
    border-radius: 12px;
  }
  .ttt-route-guide .ttt-affiliate-panel {
    grid-template-columns: 1fr;
  }
  .ttt-route-guide .ttt-author-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .ttt-route-guide .ttt-author-mark {
    margin: 0 auto;
  }
  .ttt-route-guide table {
    min-width: 720px;
    font-size: 0.84rem;
  }
  .ttt-route-guide th,
  .ttt-route-guide td {
    padding: 12px 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ttt-route-guide *,
  .ttt-route-guide *::before,
  .ttt-route-guide *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}


.ttt-route-guide .ttt-fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
  margin: 0 0 24px;
}
.ttt-route-guide .ttt-fact {
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid #d9e1dd;
  border-radius: 14px;
  background: #f8fbfa;
  color: #3e5653;
  font-size: 0.88rem;
  line-height: 1.45;
}
.ttt-route-guide .ttt-fact-label {
  display: block;
  margin-bottom: 5px;
  color: var(--ttt-terracotta-dark);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ttt-route-guide .ttt-mini-top {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 15px;
  border-top: 1px solid #edf0ee;
}
.ttt-route-guide .ttt-mini-top a {
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}
.ttt-route-guide .ttt-button-stack {
  display: grid;
  gap: 9px;
  min-width: min(300px, 100%);
}
.ttt-route-guide .ttt-button-secondary,
.ttt-route-guide a.ttt-button-secondary {
  color: var(--ttt-teal-dark);
  background: #ffffff;
  border: 1px solid #9ccbc3;
  box-shadow: none;
}
.ttt-route-guide .ttt-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin: 20px 0;
}
.ttt-route-guide caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.ttt-route-guide .ttt-numbered-list li::marker {
  color: var(--ttt-terracotta-dark);
  font-weight: 800;
}
.ttt-route-guide .ttt-hero,
.ttt-route-guide .ttt-hero img,
.ttt-route-guide .ttt-figure,
.ttt-route-guide .ttt-figure img {
  max-inline-size: 100% !important;
}
.ttt-route-guide img {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
@media (max-width: 920px) {
  .ttt-route-guide .ttt-fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .ttt-route-guide .ttt-fact-grid { grid-template-columns: 1fr; }
  .ttt-route-guide .ttt-inline-actions { display: grid; }
  .ttt-route-guide .ttt-inline-actions .ttt-button { width: 100%; }
}

body.ttt-northern-thailand-7-day-itinerary-2026-imported .entry-title, body.ttt-northern-thailand-7-day-itinerary-2026-imported .post-title, body.ttt-northern-thailand-7-day-itinerary-2026-imported header.entry-header > h1 { display:none !important; }

/* Route article additions and strict WordPress width safeguards */
.ttt-route-guide,
.ttt-route-guide *,
.ttt-route-guide *::before,
.ttt-route-guide *::after { box-sizing: border-box; }

.ttt-route-guide {
  display: block;
  inline-size: 100% !important;
  width: 100% !important;
  max-inline-size: 1180px !important;
  max-width: 1180px !important;
  min-inline-size: 0 !important;
  margin-inline: auto !important;
  overflow-x: hidden !important;
}

.ttt-route-guide > *,
.ttt-route-guide .ttt-hero,
.ttt-route-guide .ttt-opening-grid,
.ttt-route-guide .ttt-guide-nav,
.ttt-route-guide .ttt-summary-grid,
.ttt-route-guide .ttt-related,
.ttt-route-guide .ttt-section-card,
.ttt-route-guide .ttt-figure,
.ttt-route-guide .ttt-table-scroll {
  inline-size: 100%;
  max-inline-size: 100%;
  min-inline-size: 0;
}

.ttt-route-guide img,
.ttt-route-guide picture,
.ttt-route-guide video,
.ttt-route-guide svg,
.ttt-route-guide canvas {
  display: block;
  inline-size: auto;
  width: auto;
  max-inline-size: 100% !important;
  max-width: 100% !important;
  block-size: auto;
  height: auto;
}

.ttt-route-guide .ttt-hero img,
.ttt-route-guide .ttt-figure img {
  inline-size: 100% !important;
  width: 100% !important;
  max-inline-size: 100% !important;
  max-width: 100% !important;
  block-size: auto;
  height: auto !important;
  margin-inline: 0 !important;
  transform: none !important;
}

.ttt-route-guide .ttt-hero img {
  position: absolute;
  inset: 0;
  block-size: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.ttt-route-guide .ttt-byline-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 18px 0 0;
  padding: 11px 16px;
  border: 1px solid #dbe7e2;
  border-radius: 999px;
  color: #385e5b;
  background: #f7fbf9;
  font-size: 0.9rem;
  text-align: center;
}

.ttt-route-guide .ttt-byline-strip::before {
  content: "✦";
  color: var(--ttt-terracotta);
}

.ttt-route-guide .ttt-decision-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.ttt-route-guide .ttt-decision {
  padding: 18px;
  border: 1px solid #dce7e3;
  border-radius: 17px;
  background: #fbfdfc;
}

.ttt-route-guide .ttt-decision h3 { margin-top: 0; }
.ttt-route-guide .ttt-price-date { color: #637574; font-size: 0.86rem; }
.ttt-route-guide .ttt-source-list li { overflow-wrap: anywhere; }
.ttt-route-guide .ttt-button { text-align: center; }

.ttt-route-guide .ttt-table-scroll {
  overflow-x: auto !important;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.ttt-route-guide .ttt-table-scroll table {
  width: max(760px, 100%);
  max-width: none;
}

.ttt-route-guide .ttt-table-scroll::-webkit-scrollbar { height: 10px; }
.ttt-route-guide .ttt-table-scroll::-webkit-scrollbar-thumb { background: #83aaa4; border-radius: 999px; }

body.ttt-northern-thailand-7-day-itinerary-2026-imported .entry-content,
body.ttt-northern-thailand-7-day-itinerary-2026-imported .post-content,
body.ttt-northern-thailand-7-day-itinerary-2026-imported main article .entry-content {
  inline-size: min(100%, 1180px) !important;
  max-inline-size: 1180px !important;
  margin-inline: auto !important;
  overflow-x: clip;
}

@media (max-width: 900px) {
  .ttt-route-guide .ttt-decision-row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .ttt-route-guide { border-radius: 0; }
  .ttt-route-guide .ttt-byline-strip { border-radius: 16px; }
  .ttt-route-guide .ttt-table-scroll table { width: 760px; }
}

/* Additional width protection for WordPress themes that apply global image rules. */
body.ttt-northern-thailand-7-day-itinerary-2026-imported .ttt-route-guide,
body.ttt-northern-thailand-7-day-itinerary-2026-imported .ttt-route-guide .ttt-hero,
body.ttt-northern-thailand-7-day-itinerary-2026-imported .ttt-route-guide .ttt-figure {
  inline-size: min(100%, 1180px);
  max-inline-size: 100%;
}
body.ttt-northern-thailand-7-day-itinerary-2026-imported .ttt-route-guide img {
  max-inline-size: 100% !important;
  max-width: 100% !important;
  margin-inline: 0 !important;
}
.ttt-route-guide .ttt-ref { font-size: .82em; text-decoration: none; vertical-align: super; }
/* Extra containment for themes that apply full-bleed or transformed media rules. */
.ttt-route-guide {
  inline-size: 100% !important;
  max-inline-size: min(1180px, 100%) !important;
  margin-inline: auto !important;
  overflow-x: clip !important;
}
.ttt-route-guide .ttt-hero,
.ttt-route-guide .ttt-figure,
.ttt-route-guide figure,
.ttt-route-guide picture {
  inline-size: 100% !important;
  max-inline-size: 100% !important;
  margin-inline: 0 !important;
  transform: none !important;
}
.ttt-route-guide img {
  max-inline-size: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: none !important;
}
.ttt-route-guide .ttt-hero img {
  left: 0 !important;
  right: auto !important;
  inline-size: 100% !important;
  max-inline-size: 100% !important;
}
.ttt-route-guide .ttt-table-scroll {
  contain: inline-size;
  max-inline-size: 100% !important;
}

.ttt-route-guide .ttt-author-box a { color: #ffffff !important; text-decoration-color: rgba(255,255,255,.72); }
.ttt-route-guide .ttt-author-box a:hover, .ttt-route-guide .ttt-author-box a:focus-visible { color: #f6d297 !important; }

/* Keep navigation numbers together */
.ttt-route-guide .ttt-nav-grid > a > span {
    display: block !important;
    flex: none !important;
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    white-space: pre !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    text-wrap: nowrap !important;
    writing-mode: horizontal-tb !important;
}