:root {
  --tl-blue: #0878e8;
  --tl-messenger: #0a66ff;
  --tl-ink: #102a30;
  --tl-muted: #5c7075;
  --tl-brand: #075b66;
  --tl-line: #dbe7e5;
  --tl-surface: #ffffff;
  --tl-soft: #edf6f5;
  --tl-shadow: 0 18px 48px rgba(6, 42, 50, 0.2);
}

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-wrap: break-word;
}

img,
video,
iframe,
table {
  max-width: 100%;
}

button,
a,
summary,
input {
  -webkit-tap-highlight-color: transparent;
}

.tl-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.tl-site-search-button {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--tl-line);
  border-radius: 50%;
  background: #fff;
  color: var(--tl-brand);
  box-shadow: 0 7px 20px rgba(6, 42, 50, 0.08);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tl-site-search-button:hover {
  transform: translateY(-1px);
  border-color: #8ebbb7;
  box-shadow: 0 10px 25px rgba(6, 42, 50, 0.13);
}

.tl-site-search-button:focus-visible,
.tl-mobile-contact a:focus-visible,
.tl-search-dialog button:focus-visible,
.tl-search-dialog a:focus-visible,
.tl-search-dialog input:focus-visible,
.content-finder__open:focus-visible {
  outline: 3px solid rgba(8, 120, 232, 0.35);
  outline-offset: 3px;
}

.tl-site-search-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.tl-mobile-contact {
  display: none;
}

.tl-search-dialog {
  width: min(720px, calc(100% - 24px));
  max-width: 720px;
  max-height: min(760px, calc(100dvh - 24px));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: var(--tl-surface);
  color: var(--tl-ink);
  box-shadow: 0 30px 90px rgba(0, 23, 30, 0.34);
}

.tl-search-dialog[open] {
  display: flex;
  flex-direction: column;
}

.tl-search-dialog::backdrop {
  background: rgba(2, 24, 29, 0.72);
  backdrop-filter: blur(5px);
}

.tl-search-dialog__header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 24px 16px;
}

.tl-search-dialog__header > div {
  min-width: 0;
  flex: 1;
}

.tl-search-dialog__eyebrow {
  display: block;
  margin-bottom: 4px;
  color: #d86f0c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tl-search-dialog h2 {
  margin: 0;
  font-size: clamp(23px, 4vw, 31px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.tl-search-dialog__close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--tl-line);
  border-radius: 50%;
  background: #fff;
  color: var(--tl-ink);
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.tl-search-dialog__form {
  padding: 0 24px;
}

.tl-search-input-wrap {
  min-height: 58px;
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 11px;
  padding: 0 16px;
  border: 2px solid #b8d4d1;
  border-radius: 15px;
  background: #fff;
}

.tl-search-input-wrap:focus-within {
  border-color: var(--tl-brand);
  box-shadow: 0 0 0 4px rgba(7, 91, 102, 0.1);
}

.tl-search-input-wrap svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--tl-brand);
  stroke-width: 2;
}

.tl-search-input-wrap input {
  width: 100%;
  min-width: 0;
  height: 54px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--tl-ink);
  font: inherit;
  font-size: 16px;
}

.tl-search-categories {
  display: flex;
  gap: 8px;
  padding: 14px 24px 13px;
  overflow-x: auto;
  scrollbar-width: thin;
  overscroll-behavior-inline: contain;
}

.tl-search-categories button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid var(--tl-line);
  border-radius: 999px;
  background: #fff;
  color: var(--tl-muted);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.tl-search-categories button[aria-pressed="true"] {
  border-color: var(--tl-brand);
  background: var(--tl-brand);
  color: #fff;
}

.tl-search-status {
  margin: 0;
  padding: 0 24px 10px;
  color: var(--tl-muted);
  font-size: 12px;
}

.tl-search-results {
  min-height: 190px;
  padding: 0 24px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.tl-search-results__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tl-search-result {
  min-width: 0;
  display: block;
  padding: 16px;
  border: 1px solid var(--tl-line);
  border-radius: 15px;
  background: #fff;
  color: var(--tl-ink);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.tl-search-result:hover {
  transform: translateY(-1px);
  border-color: #8ebbb7;
  box-shadow: 0 10px 24px rgba(6, 42, 50, 0.08);
}

.tl-search-result small,
.tl-search-result strong,
.tl-search-result span {
  display: block;
}

.tl-search-result small {
  color: #d86f0c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tl-search-result strong {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.42;
}

.tl-search-result span {
  margin-top: 7px;
  color: var(--tl-muted);
  font-size: 12px;
  line-height: 1.5;
}

.tl-search-empty {
  padding: 28px 18px;
  border: 1px dashed #a9c3bf;
  border-radius: 15px;
  background: var(--tl-soft);
  text-align: center;
}

.tl-search-empty strong,
.tl-search-empty span {
  display: block;
}

.tl-search-empty span {
  margin-top: 6px;
  color: var(--tl-muted);
  font-size: 13px;
}

.tl-search-open {
  overflow: hidden;
}

.content-finder {
  padding: 52px 0;
  border-bottom: 1px solid #dbe7e5;
  background: linear-gradient(135deg, #edf6f5, #fff8ef);
}

.content-finder__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: center;
}

.content-finder h2 {
  margin: 5px 0 10px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.content-finder p:not(.eyebrow) {
  margin: 0;
  color: var(--tl-muted);
}

.content-finder__open {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border: 2px solid #b8d4d1;
  border-radius: 15px;
  background: #fff;
  color: var(--tl-muted);
  font: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(6, 42, 50, 0.07);
}

.content-finder__open svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--tl-brand);
  stroke-width: 2;
}

.content-finder__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.content-finder__links a {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--tl-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--tl-brand);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 900px) {
  .content-finder__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 767px) {
  html.tl-mobile-ux-ready body {
    padding-bottom: 0 !important;
  }

  h1,
  h2,
  h3,
  p,
  li,
  a {
    overflow-wrap: anywhere;
  }

  .main-nav a,
  details > summary {
    min-height: 44px;
  }

  .site-header .header-inner,
  .site-header {
    max-width: 100%;
  }

  .site-header .back-link {
    font-size: 11px;
  }

  html.tl-mobile-ux-ready .mobile-contact,
  html.tl-mobile-ux-ready .article-contact {
    display: none !important;
  }

  .site-footer {
    padding-bottom: calc(150px + env(safe-area-inset-bottom)) !important;
  }

  .tl-mobile-contact {
    position: fixed;
    z-index: 90;
    right: max(14px, env(safe-area-inset-right));
    bottom: calc(15px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    gap: 11px;
    pointer-events: none;
  }

  .tl-mobile-contact a {
    position: relative;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.96);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(0, 29, 43, 0.28);
    pointer-events: auto;
    transform: translateZ(0);
  }

  .tl-mobile-contact__zalo {
    background: var(--tl-blue);
  }

  .tl-mobile-contact__zalo b {
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  .tl-mobile-contact__messenger {
    background: linear-gradient(145deg, #00b2ff, #0a66ff 52%, #a033ff);
  }

  .tl-mobile-contact__messenger svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
  }

  .tl-mobile-contact a:active {
    transform: scale(0.94);
  }

  .tl-search-dialog {
    width: calc(100% - 18px);
    max-height: calc(100dvh - 18px);
    border-radius: 19px;
  }

  .tl-search-dialog__header {
    padding: 20px 18px 13px;
  }

  .tl-search-dialog__form {
    padding: 0 18px;
  }

  .tl-search-categories {
    padding: 13px 18px 11px;
  }

  .tl-search-status {
    padding: 0 18px 9px;
  }

  .tl-search-results {
    padding: 0 18px calc(18px + env(safe-area-inset-bottom));
  }

  .tl-search-results__grid {
    grid-template-columns: 1fr;
  }

  .content-finder {
    padding: 42px 0;
  }

  .content-finder__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .content-finder__links a {
    justify-content: center;
    padding-inline: 8px;
    text-align: center;
  }
}

@media (max-width: 390px) {
  .site-header .back-link {
    display: none;
  }

  .tl-mobile-contact {
    right: max(10px, env(safe-area-inset-right));
    gap: 9px;
  }

  .tl-mobile-contact a {
    width: 52px;
    height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tl-site-search-button,
  .tl-search-result,
  .tl-mobile-contact a {
    transition: none !important;
  }
}

@media print {
  .tl-site-search-button,
  .tl-mobile-contact,
  .tl-search-dialog,
  .content-finder__open {
    display: none !important;
  }
}
