/* SpeeGo Elementor compat — CURATED (tay, khong tu sinh). Load SAU wp-elementor-compat.css. */
/* 1. Ton trong hidden giong UA: Elementor author-origin display de mat hidden. */
body:not(.elementor-editor-active) .elementor [hidden] {
  display: none !important;
}
/* 2. Cookie banner: ref (vercel production) khong hien — an de parity.
   Mo lai khi can bang cach xoa rule nay. */
body:not(.elementor-editor-active) .elementor .speego-cookie-consent,
.speego-cookie-consent {
  display: none !important;
}
/* 3. Wrapper widgets trong suot: de text ke thua color/font tu theme ancestors
   (mac dinh widget dat navy/Inter se chan inheritance -> chu an tren nen navy). */
/* 3. Wrapper widgets trong suot: de text ke thua color/font tu theme ancestors
   (mac dinh widget dat navy/Inter se chan inheritance -> chu an tren nen navy). */
body:not(.elementor-editor-active) .elementor .elementor-widget-text-editor,
body:not(.elementor-editor-active) .elementor .elementor-widget-html {
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
  line-height: inherit;
}
/* 4. Knowledge topic cards: links bi migrate thanh button-widget + text trung.
   Tra lai intrinsic sizing nhu ref (badge pill, bullet, plain links). */
body:not(.elementor-editor-active) .elementor .topic-card-header > .topic-card-title {
  flex: 0 1 auto;
  min-width: 0;
}
body:not(.elementor-editor-active) .elementor .topic-card-badge {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none;
  display: block;
  white-space: nowrap;
}
body:not(.elementor-editor-active) .elementor .topic-card-badge div {
  display: contents;
}
body:not(.elementor-editor-active) .elementor .topic-card-badge p {
  margin: 0;
  display: inline;
  font-size: inherit;
  line-height: inherit;
}
/* An P trung lap khi da co link that (article item + footer more-link). */
body:not(.elementor-editor-active) .elementor .topic-article-item:has(> .topic-article-link) > .elementor-widget-text-editor,
body:not(.elementor-editor-active) .elementor .topic-card-footer > .elementor-widget-text-editor {
  display: none;
}
/* Tra button-widget ve dang text link nhu ref. */
body:not(.elementor-editor-active) .elementor .topic-article-item .topic-article-link {
  flex: 1 1 auto;
  min-width: 0;
}
body:not(.elementor-editor-active) .elementor .topic-article-item a.elementor-button-link,
body:not(.elementor-editor-active) .elementor .topic-card-footer a.elementor-button-link {
  display: block;
  width: auto;
  padding: 0 !important;
  margin: 0;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  white-space: nowrap;
}
body:not(.elementor-editor-active) .elementor .topic-article-item a.elementor-button-link {
  font-size: 14.08px;
  line-height: 20.416px;
}
body:not(.elementor-editor-active) .elementor .topic-card-footer a.elementor-button-link {
  display: inline-flex;
  font-size: 14.72px;
  line-height: 23.552px;
}
body:not(.elementor-editor-active) .elementor .topic-article-item .elementor-button-content-wrapper,
body:not(.elementor-editor-active) .elementor .topic-card-footer .elementor-button-content-wrapper,
body:not(.elementor-editor-active) .elementor .topic-article-item .elementor-button-text,
body:not(.elementor-editor-active) .elementor .topic-card-footer .elementor-button-text {
  display: contents;
}
/* 5. Hero knowledge: tra margins. Tag wrapper (DIV.e-con trung class
   voi SPAN that) doi thanh contents — ap dung moi noi. */
body:not(.elementor-editor-active) .elementor div.section-tag.e-con {
  display: contents;
}
body:not(.elementor-editor-active) .elementor div.section-tag.e-con p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}
body:not(.elementor-editor-active) .elementor div.section-tag.e-con .elementor-widget-text-editor {
  font-size: inherit;
  line-height: inherit;
}
body:not(.elementor-editor-active) .elementor div.section-tag.e-con > * {
  display: inline-block;
  width: 100%;
  margin-bottom: 8px;
}
body:not(.elementor-editor-active) .elementor .knowledge-hero-title {
  margin-bottom: 20px;
}
/* 11. Section title wrappers: bo margin-top 50px la cua Elementor (ref H2 margT 0). */
body:not(.elementor-editor-active) .elementor div.section-title {
  margin-top: 0 !important;
}
body:not(.elementor-editor-active) .elementor .knowledge-hero > .container > div:last-child {
  margin-bottom: 17.6px;
}
/* 6. Disabled article items: tra ve 1 dong + bullet xam.
   (List giu flex column gap:12 nhu ref — khong doi sang block.) */
body:not(.elementor-editor-active) .elementor .topic-article-disabled {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 !important;
}
body:not(.elementor-editor-active) .elementor .topic-article-disabled p {
  margin: 0;
  font-size: 14.08px;
  line-height: 20.416px;
  white-space: nowrap;
}
body:not(.elementor-editor-active) .elementor .topic-article-disabled p::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #cbd5e1;
  margin-right: 10px;
  vertical-align: 1px;
}
body:not(.elementor-editor-active) .elementor .topic-article-item .topic-article-link a::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f26522;
  margin-right: 10px;
  vertical-align: 1px;
}
/* 8. Dest cards: A la flex column space-between nhu ref. */
body:not(.elementor-editor-active) .elementor a.dest-card-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
body:not(.elementor-editor-active) .elementor .rate-table-footnote,
body:not(.elementor-editor-active) .elementor .route-rate-section .rate-table-card + div {
  margin-top: 14px;
  margin-bottom: 17.6px;
}
/* 9. Step-8 cards: P plain ke thua fs/lh, bo margins. */
body:not(.elementor-editor-active) .elementor .step-8-item p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}
body:not(.elementor-editor-active) .elementor .process-8steps-grid {
  padding: 0 !important;
}
/* 10. CTA band section padding nhu ref (desktop). */
@media (min-width: 1025px) {
  body:not(.elementor-editor-active) .elementor .cta-form-band-section {
    padding-top: 32.4px !important;
    padding-bottom: 32.4px !important;
  }
}
/* 7. Rate table (logistics): cot name co dinh 220, desc flex grow, action intrinsic. */
body:not(.elementor-editor-active) .elementor .rate-table-row {
  display: flex;
  align-items: center;
}
body:not(.elementor-editor-active) .elementor .rate-table-row > .rate-col-name {
  flex: 0 0 220px !important;
  min-width: 220px;
  max-width: 220px;
  padding: 0 !important;
}
body:not(.elementor-editor-active) .elementor .rate-table-row > .rate-col-desc {
  flex: 1 1 auto !important;
  min-width: 0;
  padding: 0 !important;
}
body:not(.elementor-editor-active) .elementor .rate-col-name p,
body:not(.elementor-editor-active) .elementor .rate-col-desc p {
  margin: 0;
}
body:not(.elementor-editor-active) .elementor .dest-cards-grid > div {
  display: contents;
}
body:not(.elementor-editor-active) .elementor .rate-table-row > .rate-col-action {
  flex: 0 0 auto !important;
  min-width: 0;
}
body:not(.elementor-editor-active) .elementor .rate-col-action a {
  display: inline-block;
  padding: 0 !important;
  margin: 0;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  white-space: nowrap;
}
