/*
 * TCN newspaper UI — 2026-08-19
 * Isolated presentation layer. Remove the stylesheet link in main.tpl to rollback.
 */

:root {
  --tcn-brand: #d72924;
  --tcn-brand-dark: #b51f1b;
  --tcn-ink: #111111;
  --tcn-body: #222222;
  --tcn-muted: #5c5c5c;
  --tcn-line: #e6e6e6;
  --tcn-soft: #f4f4f4;
  --tcn-surface: #ffffff;
  --tcn-on-brand: #ffffff;
  --tcn-content: 1140px;
  --tcn-reading: 720px;
  --tcn-font: "Be Vietnam Pro", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --tcn-bar: 56px;
  --tcn-bar-mobile: 52px;
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  background: var(--tcn-surface);
  color: var(--tcn-body);
  font-family: var(--tcn-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--tcn-brand);
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--tcn-brand);
  outline-offset: 2px;
}

.tcn-skip {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 2000;
  padding: 8px 12px;
  background: var(--tcn-ink);
  color: #fff;
}

.tcn-skip:focus {
  top: 8px;
}

.container {
  width: 100%;
  max-width: var(--tcn-content);
}

.block-wrapper {
  padding: 20px 0;
}

.block-wrapper.mt-15 {
  margin-top: 0 !important;
}

/* Type */
.post-title,
.post-title a,
.entry-header .post-title,
.ts-title,
.ts-cat-title,
h1, h2, h3, h4 {
  color: var(--tcn-ink);
  font-family: var(--tcn-font);
  font-weight: 700;
  letter-spacing: -0.01em;
  overflow: visible;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
  max-height: none;
}

.post-title,
.post-title a {
  white-space: normal;
  text-overflow: clip;
}

.post-title a:hover {
  color: var(--tcn-brand);
}

.post-meta-info,
.post-meta-info a,
.post-meta-info li,
.post-date-info,
.post-date-info a {
  color: var(--tcn-muted);
  font-size: 13px;
  font-weight: 400;
  list-style: none !important;
}

.single-post .entry-header .post-meta-info,
.single-post .entry-header .post-meta-info li {
  list-style: none !important;
  padding-left: 0;
}

.post-cat,
a.post-cat,
.ts-orange-bg.post-cat,
.ts-purple-bg.post-cat,
.ts-blue-dark-bg.post-cat {
  display: inline-block;
  border-radius: 2px;
  background: var(--tcn-brand) !important;
  color: #fff !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 5px 7px;
  text-transform: uppercase;
}

/* ========== Masthead ========== */
.header-default,
.header-default.tcn-masthead {
  position: relative;
  z-index: 1000;
  margin: 0;
  background: #fff;
  border-bottom: 1px solid var(--tcn-line);
  box-shadow: none;
}

.tcn-utility {
  display: none;
  border-bottom: 1px solid var(--tcn-line);
  background: #fff;
}

.tcn-utility__inner {
  display: flex;
  min-height: 26px;
  align-items: center;
  justify-content: space-between;
}

.tcn-utility__tagline,
.tcn-utility__rss {
  margin: 0;
  color: var(--tcn-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tcn-utility__rss:hover {
  color: var(--tcn-brand);
}

.tcn-masthead__inner,
.header-default > .container,
.header-default .tcn-masthead__inner {
  padding-right: 16px;
  padding-left: 16px;
}

.header-default > .container > .row,
.tcn-masthead__inner {
  display: flex;
  margin: 0;
  align-items: center;
  min-height: var(--tcn-bar-mobile);
}

.header-default > .container > .row > .col-lg-2,
.header-default .header-nav-item {
  padding: 0;
}

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

.header-default .logo,
.tcn-brand {
  display: flex !important;
  flex: 0 0 auto;
  width: auto !important;
  height: var(--tcn-bar-mobile);
  margin: 0;
  align-items: center;
  background: transparent !important;
}

.header-default .logo a,
.tcn-brand a {
  display: inline-flex;
  height: var(--tcn-bar-mobile);
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--tcn-ink);
}

.header-default .logo img,
.tcn-brand__mark,
.header-default .mobile-logo img {
  display: block;
  width: 28px;
  height: 28px;
  padding: 4px;
  object-fit: contain;
  background: var(--tcn-brand);
}

.header-default .nav-menu,
.header-default .nav-menu > li,
.header-default .right-menu,
.header-default .right-menu > li {
  list-style: none !important;
  margin: 0;
  padding-left: 0;
}

.header-default .nav-header {
  position: relative;
}

.header-default .nav-toggle {
  position: absolute;
}

.tcn-brand__wordmark {
  color: var(--tcn-ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: none;
}

.header-default .ts-breaking-news,
.header-default .top-social,
.header-default .breaking-title {
  display: none !important;
}

.header-default .navigation,
.header-default .nav-header {
  min-height: var(--tcn-bar-mobile);
  height: var(--tcn-bar-mobile);
  background: #fff;
}

.header-default .mobile-logo,
.header-default .nav-brand.mobile-logo {
  display: none !important;
}

.header-default .nav-toggle {
  right: 8px;
  top: 0;
  width: 44px;
  height: var(--tcn-bar-mobile);
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.header-default .nav-toggle:before {
  width: 18px;
  height: 2px;
  margin-top: -6px;
  background: var(--tcn-ink);
  box-shadow: 0 6px 0 var(--tcn-ink), 0 12px 0 var(--tcn-ink);
}

.header-default .right-menu {
  position: absolute;
  top: 0;
  right: 52px;
  z-index: 2;
  height: var(--tcn-bar-mobile);
}

.header-default .right-menu > li > a,
.header-default .nav-search-button {
  display: grid;
  width: 44px;
  min-width: 44px;
  height: var(--tcn-bar-mobile);
  place-items: center;
  color: var(--tcn-ink);
  font-size: 18px;
  cursor: pointer;
}

.header-default .right-menu .menuto {
  display: none;
}

.header-default .nav-menus-wrapper {
  background: #fff !important;
  box-shadow: none;
}

.header-default .navigation-portrait .nav-menus-wrapper-close-button {
  color: var(--tcn-ink);
}

.header-default .navigation-portrait .right-menu {
  position: static;
  width: 100%;
  height: var(--tcn-bar-mobile);
  padding-right: 48px;
  background: var(--tcn-soft);
  border-color: var(--tcn-line);
}

.header-default .navigation-portrait .nav-menu {
  padding: 8px 0 20px;
}

.header-default .navigation-portrait .nav-menu > li {
  width: 100% !important;
  background: #fff !important;
  border-bottom: 1px solid var(--tcn-line);
}

.header-default .navigation-portrait .nav-menu > li > a {
  min-height: 48px;
  padding: 12px 20px;
  color: var(--tcn-ink) !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-transform: none;
}

.header-default .navigation-portrait .nav-menu > li > a:hover,
.header-default .navigation-portrait .nav-menu > li.active > a {
  background: #fff;
  color: var(--tcn-brand) !important;
}

.header-default .navigation-portrait .tcn-menu-home a {
  font-weight: 700;
}

.header-default .navigation-portrait .tcn-menu-home img {
  display: none;
}

.dark-overlay {
  z-index: 990;
  background: rgba(17, 17, 17, 0.5);
}

.nav-search-inner input {
  min-height: 48px;
  border-radius: 0;
  font-family: var(--tcn-font);
  font-size: 16px;
}

/* Section headings */
.ts-title-item {
  margin-bottom: 14px;
  border-bottom: 2px solid var(--tcn-ink);
}

.ts-title-item .ts-title,
.ts-title-item .ts-cat-title {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  text-transform: none;
}

.ts-title-item .ts-title span,
.ts-title-item .ts-cat-title span {
  padding: 0 0 6px;
  background: transparent !important;
}

.ts-title-item .ts-title span:after,
.ts-title-item .ts-cat-title span:after {
  display: none;
}

.topic-list {
  margin: 0 0 12px;
  padding: 0 0 8px;
  background: transparent !important;
  border: 0;
  border-bottom: 2px solid var(--tcn-ink);
  border-radius: 0;
  color: var(--tcn-ink) !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: left;
  text-transform: uppercase;
}

.ts-grid-box,
.widgets,
.category-post-style1 {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.right-sidebar .ts-grid-box,
.right-sidebar-1 .ts-grid-box,
.right-sidebar .widgets,
.right-sidebar-1 .widgets {
  padding: 0 0 20px;
  background: transparent;
}

.right-sidebar .item,
.right-sidebar-1 .item,
.widgets-populer-post .post-content.media {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--tcn-line);
}

.widgets-populer-post .sidebar-img {
  width: 88px;
  height: 62px;
  margin-right: 10px;
  object-fit: cover;
}

div.xedien {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

div.xedien .topic-list {
  background: transparent !important;
}

div.xedien h3.post-title a {
  color: var(--tcn-ink) !important;
  text-align: left;
}

/* Homepage lead */
.ts-post-style-2 {
  margin: 0;
}

.ts-post-style-2 > [class*="col-"] {
  padding: 0;
}

.tcn-lead,
.ts-post-style-2 .featured-post {
  min-height: 0 !important;
  aspect-ratio: auto;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.ts-post-style-2 .featured-post .item,
.tcn-lead .item {
  min-height: 0 !important;
  aspect-ratio: auto;
  background: none !important;
}

.ts-post-style-2 .featured-post:after,
.ts-post-style-2 .featured-post .item:after {
  display: none;
}

.tcn-lead__media,
.ts-post-style-2 .featured-post .tcn-lead__media {
  display: block;
  min-height: 180px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--tcn-soft);
}

.tcn-lead__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tcn-lead__body,
.ts-post-style-2 .featured-post .post-content,
.ts-post-style-2 .featured-post .overlay-post-content {
  position: static;
  padding: 12px 0 0;
}

.ts-post-style-2 .featured-post .post-title.md,
.tcn-lead .post-title.md {
  margin: 8px 0 0;
  font-size: clamp(22px, 5.4vw, 32px);
  line-height: 1.22;
}

.ts-post-style-2 .featured-post .post-title a,
.tcn-lead .post-title a {
  color: var(--tcn-ink);
  display: block;
}

.ts-list-post-box .item {
  margin: 0;
  box-shadow: none !important;
}

.ts-post-style-2 .ts-list-post-box .post-content {
  padding: 10px 0;
  border-bottom: 1px solid var(--tcn-line);
}

.ts-post-style-2 .ts-list-post-box .post-title,
.ts-post-style-2 .ts-list-post-box .post-title a {
  display: block;
  overflow: visible;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  -webkit-line-clamp: unset;
}

/* News feeds */
section.block-wrapper .post-list {
  padding: 0 !important;
  background: #fff;
}

.post-list > .row {
  display: flex;
  align-items: flex-start;
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--tcn-line);
}

.post-list > .row:first-child {
  padding-top: 0;
}

.post-list > .row > .col-md-4 {
  flex: 0 0 38%;
  width: 38% !important;
  max-width: 38%;
  padding: 0 12px 0 0 !important;
}

.post-list > .row > .col-md-8 {
  flex: 0 0 62%;
  width: 62% !important;
  max-width: 62%;
  padding: 0 !important;
}

.post-list .ts-post-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 0;
  border-radius: 0;
  background: var(--tcn-soft);
}

.post-list .ts-post-thumb picture,
.post-list .ts-post-thumb img {
  display: block;
  width: 100%;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover;
}

.post-list .post-title.md {
  margin: 0;
  font-size: 16px !important;
  line-height: 1.32 !important;
}

.post-list .post-content p {
  display: none;
  color: var(--tcn-muted);
}

/* Category */
.category-post-style1 {
  margin-bottom: 22px;
  padding: 0 !important;
  background: #fff !important;
}

.category-post-style1 > .row.mb-10 {
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--tcn-line);
}

.category-post-style1 > .row.mb-10 > [class*="col-"] {
  padding: 0;
}

.category-post-style1 > .row.mb-10 .ts-post-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0;
  background: var(--tcn-soft);
}

.category-post-style1 > .row.mb-10 .ts-post-thumb img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.category-post-style1 > .row.mb-10 .post-content {
  padding-top: 12px;
}

.category-post-style1 > .row.mb-10 .post-title.md {
  font-size: 24px;
  line-height: 1.22;
}

.category-post-style1 > .row:not(.mb-10) {
  display: block;
  margin: 0;
}

.category-post-style1 > .row:not(.mb-10) > .col-md-4 {
  width: 100% !important;
  max-width: none;
  padding: 0 !important;
}

.category-post-style1 > .row:not(.mb-10) .item {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 0 !important;
  padding: 12px 0;
  border-bottom: 1px solid var(--tcn-line);
}

.category-post-style1 > .row:not(.mb-10) .ts-post-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0;
  background: var(--tcn-soft);
}

.category-post-style1 > .row:not(.mb-10) .ts-post-thumb img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.category-post-style1 > .row:not(.mb-10) .post-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

/* Article */
.content-wrapper.single-post {
  padding: 0;
  background: #fff;
  border: 0;
  box-shadow: none;
}

.single-post .entry-header {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--tcn-line);
}

.single-post .entry-header .post-title.lg {
  display: block !important;
  margin: 0 0 12px;
  overflow: visible !important;
  font-size: clamp(26px, 6.4vw, 40px);
  font-weight: 700;
  line-height: 1.22;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
}

.single-post .entry-header .post-meta-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 0;
  padding: 0;
}

.single-post .entry-content {
  color: var(--tcn-body);
  font-size: 18px;
  line-height: 1.75;
}

.single-post .entry-content > p,
.single-post .entry-content > h2,
.single-post .entry-content > h3,
.single-post .entry-content > h4,
.single-post .entry-content > ul,
.single-post .entry-content > ol,
.single-post .entry-content > blockquote {
  max-width: var(--tcn-reading);
}

.single-post .entry-content p {
  margin-bottom: 1.25em;
}

.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4,
.entry-content h2,
.entry-content h3 {
  margin: 1.4em 0 0.55em;
  color: var(--tcn-ink) !important;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  text-transform: none !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: var(--tcn-ink) !important;
  border-bottom: 0 !important;
}

.single-post .entry-content h2,
.entry-content h2 { font-size: 26px; }

.single-post .entry-content h3,
.entry-content h3 { font-size: 21px; }

.single-post .entry-content img,
.entry-content img {
  display: block;
  max-width: 100% !important;
  height: auto !important;
  margin: 8px auto 12px;
  border-radius: 0;
  background: var(--tcn-soft);
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

.single-post .entry-content iframe,
.single-post .entry-content video {
  width: 100%;
  border: 0;
}

.single-post .entry-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.single-post .entry-content blockquote {
  margin-left: 0;
  padding: 12px 16px;
  background: var(--tcn-soft);
  border-left: 3px solid var(--tcn-brand);
  border-radius: 0;
}

.single-post .entry-content a {
  color: var(--tcn-brand);
  text-decoration: underline;
}

.entry-content ol a,
div.entry-content ol li {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.entry-content ol a:before,
div.entry-content ol li:before {
  display: none !important;
}

div.entry-content ol {
  list-style: decimal !important;
  padding-left: 1.4em;
}

div.entry-content ol li {
  margin-bottom: 0.6em;
  list-style: inherit !important;
}

.mce-toc {
  float: none;
  max-width: var(--tcn-reading);
  margin: 0 0 20px;
  padding: 16px;
  background: var(--tcn-soft);
  border: 1px solid var(--tcn-line);
  box-shadow: none;
  cursor: pointer;
}

.mce-toc:before {
  display: none;
}

.post-navigation {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--tcn-line);
}

.post-navigation .post-previous,
.post-navigation .post-next {
  float: none !important;
  width: 100% !important;
  padding: 12px 0;
  background: transparent;
  border-radius: 0;
}

.post-navigation a p {
  margin: 4px 0 0;
  color: var(--tcn-ink);
  font-size: 15px;
  line-height: 1.4;
}

.author-box {
  border: 1px solid var(--tcn-line);
  border-radius: 0;
}

.box-tinlienquanv2 {
  background: #fff;
  border: 1px solid var(--tcn-line);
  border-radius: 0;
}

.nav-button-dieuhuong {
  display: none !important;
}

/* Footer */
.ts-footer,
.copyright-section {
  background: #fff;
  border-top: 1px solid var(--tcn-line);
  color: var(--tcn-muted);
}

.ts-footer {
  padding: 28px 0 12px;
}

.ts-footer .footer-logo img {
  width: 36px;
  height: 36px;
  object-fit: cover;
}

.ts-footer .copyright-text p,
.copyright-section .copyright-text p,
.copyright-section .footer-menu a {
  color: var(--tcn-muted);
  font-size: 13px;
  line-height: 1.55;
}

section.block-wrapper.section-bg,
section.block-wrapper[style*="background: #000"],
section.block-wrapper[style*="background:#000"] {
  background: #fff !important;
  color: var(--tcn-ink);
}

section.block-wrapper.section-bg .ts-cat-title,
section.block-wrapper.section-bg .ts-title {
  color: var(--tcn-ink);
}

/* EV overlay cards become photo + caption */
.ts-overlay-item .ts-overlay-style .item,
.ts-grid-style-2 .ts-overlay-style .item {
  border-radius: 0;
}

/* Below tablet: hide desktop lead ad */
@media (max-width: 991.98px) {
  .header-default {
    overflow: hidden;
  }

  .header-default > .container > .row > .col-lg-2 {
    display: flex !important;
    flex: 1 1 auto;
    width: auto !important;
    max-width: none;
    padding: 0;
  }

  .header-default .header-nav-item {
    flex: 0 0 96px;
    width: 96px !important;
    max-width: 96px;
  }

  .header-default .nav-menus-wrapper {
    display: block !important;
    position: static;
    width: auto !important;
    background: transparent !important;
    box-shadow: none;
  }

  .header-default .nav-menu {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1100;
    width: min(88vw, 360px);
    padding: 56px 0 24px;
    overflow: auto;
    background: #fff;
    box-shadow: 16px 0 40px rgba(0, 0, 0, 0.18);
  }

  .header-default .nav-menus-wrapper-open .nav-menu {
    display: block !important;
  }

  section.block-wrapper.mt-15 {
    padding-top: 14px;
    padding-bottom: 14px;
    background: #fff !important;
  }

  section.block-wrapper.mt-15 .ts-grid-item.mb-20 {
    margin-bottom: 0 !important;
  }

  section.block-wrapper.mt-15 > .container > .row > .col-lg-3 {
    display: none;
  }

  .ts-post-style-2 .featured-post {
    margin-bottom: 0;
  }

  .ts-post-style-2 > .col-lg-4 {
    margin-top: 8px;
  }
}

@media (min-width: 768px) {
  .block-wrapper {
    padding: 24px 0;
  }

  .post-list > .row > .col-md-4 {
    flex-basis: 32%;
    width: 32% !important;
    max-width: 32%;
    padding-right: 16px !important;
  }

  .post-list > .row > .col-md-8 {
    flex-basis: 68%;
    width: 68% !important;
    max-width: 68%;
  }

  .post-list .post-title.md {
    font-size: 20px !important;
    line-height: 1.28 !important;
  }

  .post-list .post-content p {
    display: block !important;
    margin: 6px 0 0;
    font-size: 15px;
    line-height: 1.5;
  }

  .category-post-style1 > .row:not(.mb-10) {
    display: flex;
    margin: 0 -10px;
  }

  .category-post-style1 > .row:not(.mb-10) > .col-md-4 {
    width: 33.333% !important;
    padding: 0 10px !important;
  }

  .category-post-style1 > .row:not(.mb-10) .item {
    display: block;
    border: 0;
    padding: 0;
  }

  .category-post-style1 > .row:not(.mb-10) .post-content {
    padding-top: 10px;
  }

  .post-navigation {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .tcn-utility {
    display: block;
  }

  .header-default {
    padding-top: 0;
    background: #fff;
  }

  .header-default > .container,
  .tcn-masthead__inner.container {
    padding-right: 15px;
    padding-left: 15px;
  }

  .header-default > .container > .row,
  .tcn-masthead__inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    min-height: var(--tcn-bar);
  }

  .header-default > .container > .row > .col-lg-2,
  .header-default .logo {
    display: flex;
    flex: 0 0 220px;
    max-width: 220px;
    width: 220px;
    height: var(--tcn-bar);
    align-items: center;
  }

  .header-default .logo a {
    height: var(--tcn-bar);
  }

  .header-default .logo img,
  .tcn-brand__mark {
    width: 36px;
    height: 36px;
  }

  .tcn-brand__wordmark {
    font-size: 18px;
  }

  .header-default .header-nav-item {
    flex: 1 1 auto;
    width: calc(100% - 220px) !important;
    max-width: none;
  }

  .header-default .navigation,
  .header-default .nav-header,
  .header-default .nav-menus-wrapper,
  .header-default .nav-menu,
  .header-default .nav-menu > li,
  .header-default .right-menu {
    min-height: var(--tcn-bar);
    height: var(--tcn-bar);
    background: #fff;
  }

  .header-default .nav-header {
    display: none;
  }

  .header-default .mobile-logo {
    display: none !important;
  }

  .header-default .nav-menus-wrapper {
    position: relative;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-end;
    box-shadow: none;
  }

  .header-default .nav-menu {
    display: flex;
    flex: 1 1 auto;
    order: 1;
    justify-content: flex-end;
  }

  .header-default .nav-menu > li > a {
    display: flex;
    min-height: var(--tcn-bar);
    padding: 0 11px;
    align-items: center;
    color: var(--tcn-ink);
    font-size: 14px;
    font-weight: 600;
    line-height: var(--tcn-bar);
    border-bottom: 2px solid transparent;
  }

  .header-default .nav-menu > li > a:hover,
  .header-default .nav-menu > li.active > a {
    background: transparent;
    color: var(--tcn-brand);
    border-bottom-color: var(--tcn-brand);
  }

  .header-default .tcn-menu-home {
    display: none;
  }

  .header-default .right-menu {
    position: static;
    order: 2;
    margin-left: 8px;
  }

  .header-default .right-menu > li > a,
  .header-default .nav-search-button,
  .header-default .nav-search {
    width: 44px;
    height: var(--tcn-bar);
    background: transparent !important;
    border: 0 !important;
    color: var(--tcn-ink) !important;
    box-shadow: none;
  }

  .header-default .ts-menu-sticky.sticky {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1001;
    width: 100%;
    max-width: none;
    min-height: var(--tcn-bar);
    height: var(--tcn-bar);
    margin: 0;
    background: #fff;
    border-bottom: 1px solid var(--tcn-line);
    box-shadow: none;
  }

  .header-default .ts-menu-sticky.sticky.fade_down_effect {
    animation: none;
  }

  .header-default .ts-menu-sticky.sticky .nav-menus-wrapper {
    width: calc(100% - 32px);
    max-width: var(--tcn-content);
    margin: 0 auto;
  }

  .header-default .ts-menu-sticky.sticky .nav-menu,
  .header-default .ts-menu-sticky.sticky .nav-menu > li,
  .header-default .ts-menu-sticky.sticky .right-menu,
  .header-default .ts-menu-sticky.sticky .nav-menu > li > a,
  .header-default .ts-menu-sticky.sticky .right-menu > li > a,
  .header-default .ts-menu-sticky.sticky .nav-search-button {
    height: var(--tcn-bar);
    min-height: var(--tcn-bar);
    line-height: var(--tcn-bar);
  }

  .header-default .ts-menu-sticky.sticky .tcn-menu-home {
    display: flex;
    width: auto;
    height: var(--tcn-bar);
    background: transparent;
  }

  .header-default .ts-menu-sticky.sticky .tcn-menu-home > a {
    display: flex;
    width: auto;
    height: var(--tcn-bar);
    padding: 0 10px 0 0;
    align-items: center;
    background: transparent;
    color: var(--tcn-ink);
    font-weight: 700;
  }

  .header-default .ts-menu-sticky.sticky .tcn-menu-home img {
    display: none;
  }

  section.block-wrapper.mt-15 {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .ts-post-style-2 > .col-lg-8 {
    padding-right: 24px;
  }

  .ts-post-style-2 > .col-lg-4 {
    padding-left: 8px;
    border-left: 1px solid var(--tcn-line);
  }

  .ts-post-style-2 .ts-list-post-box .post-content {
    display: flex;
    min-height: 0;
    padding: 9px 0 9px 12px;
    align-items: center;
  }

  .ts-post-style-2 .ts-list-post-box .post-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
  }

  section.block-wrapper.mt-15 .ts-grid-item.mb-20 {
    margin-bottom: 0 !important;
  }

  section.block-wrapper.mt-15 > .container > .row > .col-lg-3 .post-list-item picture {
    display: flex;
    height: auto;
    align-items: flex-start;
    justify-content: center;
  }

  section.block-wrapper.mt-15 > .container > .row > .col-lg-3 .post-list-item img {
    display: block;
    width: 100% !important;
    max-width: 100%;
    max-height: none;
    margin: 0 auto;
    object-fit: contain;
  }

  .category-post-style1 > .row.mb-10 {
    display: flex;
    align-items: center;
  }

  .category-post-style1 > .row.mb-10 > .col-lg-7 {
    padding-right: 24px;
  }

  .category-post-style1 > .row.mb-10 .post-content {
    padding-top: 0;
  }

  .single-post .entry-header .post-title.lg {
    font-size: 40px;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding-right: 16px;
    padding-left: 16px;
  }

  .header-default > .container {
    padding-right: 12px;
    padding-left: 12px;
  }

  .single-post .entry-content {
    font-size: 17px;
    line-height: 1.7;
  }

  .single-post .entry-content h2,
  .entry-content h2 { font-size: 22px; }

  .single-post .entry-content h3,
  .entry-content h3 { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
