:root {
  --osm-navy: #0b3b6f;
  --osm-teal: #147676;
  --osm-orange: #f58220;
  --osm-ink: #122033;
  --osm-muted: #5e6b79;
  --osm-line: #dce5e9;
  --osm-soft: #eef6f7;
  --osm-white: #ffffff;
  --osm-radius: 16px;
  --osm-shadow: 0 16px 40px rgba(11, 59, 111, 0.12);
}

.osm-single-post,
.osm-single-post button,
.osm-single-post input {
  font-family: Inter, Arial, sans-serif;
}

.osm-single-post {
  color: var(--osm-ink);
  background: var(--osm-white);
}

.osm-shell {
  width: min(1500px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

/* HERO */

.osm-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  background:
    radial-gradient(
      circle at 18% 25%,
      rgba(20, 118, 118, 0.1),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      #f4f9fa 0%,
      #eaf3f6 100%
    );
}

.osm-hero::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -230px;
  width: 360px;
  height: 360px;
  border: 54px solid rgba(245, 130, 32, 0.1);
  border-radius: 50%;
}

.osm-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns:
    minmax(0, 0.94fr)
    minmax(0, 1.06fr);
  gap: 56px;
  align-items: center;
}

.osm-eyebrow,
.osm-eyebrow:hover {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--osm-teal);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.osm-hero__title {
  max-width: 680px;
  margin: 0;
  color: var(--osm-navy);
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.osm-hero__excerpt {
  max-width: 640px;
  margin: 24px 0 0;
  color: #425366;
  font-size: 18px;
  line-height: 1.7;
}

.osm-hero__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.osm-hero__labels li {
  margin: 0;
  padding: 8px 13px;
  border: 1px solid rgba(20, 118, 118, 0.24);
  border-radius: 999px;
  color: var(--osm-teal);
  background: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 700;
}

.osm-hero__media {
  min-width: 0;
}

.osm-hero__image,
.osm-hero__placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--osm-radius);
  box-shadow: var(--osm-shadow);
  object-fit: cover;
}

.osm-hero__placeholder {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(
      145deg,
      var(--osm-navy),
      var(--osm-teal)
    );
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* THREE-COLUMN CONTENT */

.osm-content-layout {
  display: grid;
  grid-template-columns:
    280px
    minmax(0, 1fr)
    320px;
  gap: 40px;
  align-items: start;
  padding-top: 64px;
  padding-bottom: 76px;
}

.osm-toc-column,
.osm-related-sidebar {
  min-width: 0;
  align-self: start;
}

/* TABLE OF CONTENTS */

.osm-toc {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow: hidden;
  border: 1px solid var(--osm-line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow:
    0 10px 28px rgba(11, 59, 111, 0.08);
}

.osm-toc__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 22px;
  border: 0;
  border-bottom: 1px solid var(--osm-line);
  color: var(--osm-navy);
  background: var(--osm-soft);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
  cursor: default;
}

.osm-toc__chevron {
  display: none;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease;
}

.osm-toc__body {
  max-height: calc(100vh - 190px);
  overflow-y: auto;
  padding: 15px 22px 20px;
  scrollbar-width: thin;
  scrollbar-color:
    rgba(20, 118, 118, 0.35)
    transparent;
}

.osm-toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.osm-toc__item {
  margin: 0;
}

.osm-toc__item a {
  display: block;
  padding: 9px 0;
  border-left: 2px solid transparent;
  color: #34475a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    padding 160ms ease;
}

.osm-toc__item--level-3 a {
  padding-left: 16px;
  color: #637181;
  font-size: 14px;
  font-weight: 500;
}

.osm-toc__item a:hover,
.osm-toc__item a.is-active {
  padding-left: 9px;
  border-left-color: var(--osm-orange);
  color: var(--osm-navy);
}

.osm-toc__item--level-3 a:hover,
.osm-toc__item--level-3 a.is-active {
  padding-left: 23px;
}

/* ARTICLE */

.osm-article-column {
  width: 100%;
  max-width: 820px;
  min-width: 0;
}

.osm-article-column--wide {
  grid-column: 1 / -1;
  max-width: 824px;
  margin-right: auto;
  margin-left: auto;
}

.osm-entry-content {
  color: #26384a;
  font-size: 17px;
  line-height: 1.78;
}

.osm-entry-content > :first-child {
  margin-top: 0;
}

.osm-entry-content p,
.osm-entry-content ul,
.osm-entry-content ol,
.osm-entry-content table,
.osm-entry-content figure,
.osm-entry-content blockquote {
  margin-bottom: 24px;
}

.osm-entry-content h2,
.osm-entry-content h3 {
  scroll-margin-top: 120px;
  color: var(--osm-navy);
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}

.osm-entry-content h2 {
  margin: 54px 0 18px;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.2;
}

.osm-entry-content h3 {
  margin: 36px 0 14px;
  font-size: 23px;
  line-height: 1.3;
}

.osm-entry-content a {
  color: var(--osm-teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.osm-entry-content img {
  height: auto;
  border-radius: 12px;
}

.osm-entry-content figure {
  max-width: 100%;
}

.osm-entry-content figcaption {
  margin-top: 9px;
  color: var(--osm-muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}

.osm-entry-content blockquote {
  margin-right: 0;
  margin-left: 0;
  padding: 24px 26px;
  border: 0;
  border-left: 4px solid var(--osm-orange);
  border-radius: 0 12px 12px 0;
  color: var(--osm-navy);
  background: var(--osm-soft);
  font-size: 18px;
}

.osm-entry-content table {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--osm-line);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  font-size: 15px;
}

.osm-entry-content th,
.osm-entry-content td {
  padding: 13px 15px;
  border: 0;
  border-bottom: 1px solid var(--osm-line);
  text-align: left;
  vertical-align: top;
}

.osm-entry-content th {
  color: var(--osm-white);
  background: var(--osm-navy);
}

.osm-entry-content tr:last-child td {
  border-bottom: 0;
}

.osm-entry-content tr:nth-child(even) td {
  background: #f7fafb;
}

/* ARTICLE CTA */

.osm-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  margin-top: 64px;
  padding: 34px 36px;
  border-radius: var(--osm-radius);
  color: var(--osm-white);
  background:
    linear-gradient(
      135deg,
      var(--osm-navy),
      #092e57
    );
  box-shadow: var(--osm-shadow);
}

.osm-cta__eyebrow {
  margin: 0 0 8px;
  color: #8ed4d1;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.osm-cta h2 {
  margin: 0;
  color: var(--osm-white);
  font-size: 29px;
}

.osm-cta p:not(.osm-cta__eyebrow) {
  max-width: 600px;
  margin: 11px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.osm-button,
.osm-button:hover {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  color: var(--osm-white);
  background: var(--osm-orange);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.osm-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 9px 22px rgba(245, 130, 32, 0.28);
}

/* RIGHT SIDEBAR */

.osm-related-sidebar {
  width: 100%;
  min-width: 0;
}

.osm-right-sidebar__sticky {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: 5px;
  scrollbar-width: thin;
  scrollbar-color:
    rgba(20, 118, 118, 0.35)
    transparent;
}

/* COMPANY CARD */

.osm-company-card {
  margin-bottom: 32px;
  padding: 25px;
  border: 1px solid var(--osm-line);
  border-top: 4px solid var(--osm-teal);
  border-radius: 14px;
  background: var(--osm-white);
  box-shadow:
    0 10px 28px rgba(11, 59, 111, 0.09);
}

.osm-company-card__logo {
  margin-bottom: 18px;
}

.osm-company-card__logo .custom-logo-link {
  display: inline-block;
}

.osm-company-card__logo img {
  width: auto;
  max-width: 150px;
  max-height: 54px;
}

.osm-company-card__eyebrow {
  margin: 0 0 8px;
  color: var(--osm-teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.osm-company-card h2 {
  margin: 0;
  color: var(--osm-navy);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.25;
}

.osm-company-card > p:not(
  .osm-company-card__eyebrow
) {
  margin: 14px 0;
  color: #526171;
  font-size: 14px;
  line-height: 1.65;
}

.osm-company-card ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.osm-company-card li {
  position: relative;
  margin: 0;
  padding: 6px 0 6px 22px;
  color: #34475a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.osm-company-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--osm-teal);
  font-weight: 800;
}

.osm-company-card__button {
  width: 100%;
}

/* RELATED ARTICLES */

.osm-related {
  padding: 0;
  background: transparent;
}

.osm-related-sidebar .osm-related {
  position: static;
}

.osm-related-sidebar .osm-related > .osm-shell {
  width: 100%;
  margin: 0;
}

.osm-section-heading {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--osm-teal);
}

.osm-section-heading p {
  margin: 0 0 7px;
  color: var(--osm-teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.osm-section-heading h2 {
  margin: 0;
  color: var(--osm-navy);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.2;
}

.osm-related__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.osm-related-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--osm-line);
  border-radius: 11px;
  background: var(--osm-white);
  box-shadow:
    0 8px 24px rgba(11, 59, 111, 0.07);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.osm-related-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 13px 30px rgba(11, 59, 111, 0.12);
}

.osm-related-card__media {
  display: grid;
  min-height: 104px;
  place-items: center;
  color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(
      145deg,
      var(--osm-navy),
      var(--osm-teal)
    );
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.osm-related-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.osm-related-card__body {
  padding: 13px;
}

.osm-related-card__category,
.osm-related-card__link {
  display: none;
}

.osm-related-card h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}

.osm-related-card h3 a {
  color: var(--osm-navy);
  text-decoration: none;
}

.osm-comments {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* SMALL DESKTOP AND LAPTOP */

@media (max-width: 1399px) {
  .osm-content-layout {
    grid-template-columns:
      260px
      minmax(0, 1fr);
  }

  .osm-related-sidebar {
    grid-column: 2;
  }

  .osm-right-sidebar__sticky {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .osm-company-card {
    max-width: 520px;
  }

  .osm-related-sidebar .osm-related {
    margin-top: 10px;
  }

  .osm-related__grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }

  .osm-related-card {
    display: block;
  }

  .osm-related-card__media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .osm-related-card__body {
    padding: 18px;
  }

  .osm-related-card__category {
    display: block;
    margin: 0 0 9px;
    color: var(--osm-teal);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }

  .osm-related-card h3 {
    font-size: 17px;
  }

  .osm-related-card__link {
    display: inline-flex;
    gap: 6px;
    margin-top: 14px;
    color: var(--osm-orange);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
  }
}

/* TABLET AND MOBILE */

@media (max-width: 849px) {
  .osm-hero {
    padding: 46px 0;
  }

  .osm-hero__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .osm-hero__title {
    font-size: clamp(32px, 7vw, 44px);
  }

  .osm-content-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 38px;
    padding-bottom: 56px;
  }

  .osm-related-sidebar {
    grid-column: auto;
  }

  .osm-toc {
    position: static;
    max-height: none;
  }

  .osm-toc__toggle {
    border-bottom: 0;
    cursor: pointer;
  }

  .osm-toc__chevron {
    display: block;
  }

  .osm-toc__toggle[aria-expanded="true"] {
    border-bottom: 1px solid var(--osm-line);
  }

  .osm-toc__toggle[aria-expanded="true"]
  .osm-toc__chevron {
    transform:
      rotate(225deg)
      translate(-2px, -2px);
  }

  .osm-toc__body {
    display: none;
    max-height: none;
  }

  .osm-toc__body.is-open {
    display: block;
  }

  .osm-article-column {
    max-width: none;
  }

  .osm-cta {
    grid-template-columns: 1fr;
  }

  .osm-related__grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

/* SMALL MOBILE */

@media (max-width: 549px) {
  .osm-shell {
    width: min(
      1500px,
      calc(100% - 28px)
    );
  }

  .osm-hero {
    padding: 36px 0 40px;
  }

  .osm-hero__grid {
    gap: 28px;
  }

  .osm-hero__title {
    font-size: 31px;
  }

  .osm-hero__excerpt {
    margin-top: 18px;
    font-size: 16px;
  }

  .osm-hero__labels {
    margin-top: 22px;
  }

  .osm-entry-content {
    font-size: 16px;
    line-height: 1.72;
  }

  .osm-entry-content h2 {
    margin-top: 44px;
    font-size: 27px;
  }

  .osm-entry-content h3 {
    font-size: 21px;
  }

  .osm-entry-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .osm-cta {
    margin-top: 48px;
    padding: 28px 24px;
  }

  .osm-cta h2 {
    font-size: 25px;
  }

  .osm-button {
    width: 100%;
  }

  .osm-related__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .osm-single-post *,
  .osm-single-post *::before,
  .osm-single-post *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
/* ==================================================
   OSM VIETNAM — WIDE EQUAL STICKY SIDEBARS
   ================================================== */

/* Tăng chiều rộng toàn bộ trang */

.osm-shell {
  width: calc(100% - 24px) !important;
  max-width: 1780px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

/* Hai cột bên bằng nhau */

.osm-content-layout {
  display: grid !important;
  grid-template-columns:
    minmax(300px, 340px)
    minmax(0, 1fr)
    minmax(300px, 340px) !important;
  gap: 32px !important;
  align-items: start !important;
}

/* Nội dung giữa sử dụng toàn bộ khoảng trống */

.osm-article-column {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

/* ==================================================
   STICKY TABLE OF CONTENTS
   ================================================== */

/*
 * Sticky phải đặt trên thẻ aside bên ngoài.
 * Đây là phần sửa lỗi quan trọng.
 */

.osm-toc-column {
  position: sticky !important;
  top: 100px !important;
  align-self: start !important;
  width: 100% !important;
  min-width: 0 !important;
  max-height: calc(100vh - 120px) !important;
}

/* Không đặt sticky lần thứ hai ở phần con */

.osm-toc {
  position: static !important;
  top: auto !important;
  width: 100% !important;
  max-height: calc(100vh - 120px) !important;
  overflow: hidden !important;
}

/* Tiêu đề TOC */

.osm-toc__toggle {
  width: 100% !important;
  padding: 20px 22px !important;
  color: #0b3b6f !important;
  background: #eef6f7 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

/* Danh sách TOC có thể cuộn riêng nếu quá dài */

.osm-toc__body {
  max-height: calc(100vh - 195px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 16px 22px 22px !important;
}

/* H2 trong TOC */

.osm-toc__item--level-2 > a {
  display: block !important;
  padding: 10px 0 !important;
  color: #21374c !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  line-height: 1.5 !important;
  text-align: left !important;
}

/* H3 trong TOC */

.osm-toc__item--level-3 > a {
  display: block !important;
  padding: 7px 0 7px 18px !important;
  color: #637181 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  text-align: left !important;
}

/* ==================================================
   STICKY RIGHT SIDEBAR
   ================================================== */

/*
 * Chuyển sticky lên thẻ aside bên ngoài,
 * giống cách xử lý cột TOC.
 */

.osm-related-sidebar {
  position: sticky !important;
  top: 100px !important;
  align-self: start !important;
  width: 100% !important;
  min-width: 0 !important;
  max-height: calc(100vh - 120px) !important;
}

/* Phần bên trong chỉ chịu trách nhiệm cuộn */

.osm-right-sidebar__sticky {
  position: static !important;
  top: auto !important;
  width: 100% !important;
  max-height: calc(100vh - 120px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 0 5px 5px 0 !important;
}

/* Card giới thiệu OSM */

.osm-company-card {
  width: 100% !important;
  margin: 0 0 28px !important;
  padding: 24px !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

.osm-company-card__logo {
  margin: 0 0 18px !important;
  text-align: left !important;
}

.osm-company-card__eyebrow {
  margin: 0 0 8px !important;
  text-align: left !important;
}

.osm-company-card h2 {
  margin: 0 !important;
  color: #0b3b6f !important;
  font-size: 23px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  text-align: left !important;
}

.osm-company-card > p:not(
  .osm-company-card__eyebrow
) {
  margin: 14px 0 !important;
  color: #526171 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  text-align: left !important;
}

.osm-company-card ul {
  width: 100% !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
  text-align: left !important;
}

.osm-company-card li {
  width: 100% !important;
  padding: 7px 0 7px 22px !important;
  box-sizing: border-box !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  text-align: left !important;
}

/* Nút vẫn căn chữ giữa */

.osm-company-card__button,
.osm-button {
  text-align: center !important;
}

/* ==================================================
   ALL ARTICLES FROM SAME CATEGORY
   ================================================== */

.osm-related-sidebar .osm-related {
  position: static !important;
  width: 100% !important;
  padding: 0 !important;
  background: transparent !important;
}

.osm-related-sidebar .osm-related > .osm-shell {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.osm-related-sidebar .osm-section-heading {
  width: 100% !important;
  margin: 0 0 18px !important;
  padding: 0 0 14px !important;
  border-bottom: 2px solid #147676 !important;
  text-align: left !important;
}

.osm-related-sidebar .osm-section-heading p {
  margin: 0 0 6px !important;
  text-align: left !important;
}

.osm-related-sidebar .osm-section-heading h2 {
  margin: 0 !important;
  color: #0b3b6f !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  text-align: left !important;
}

.osm-related-sidebar .osm-related__grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 14px !important;
  width: 100% !important;
}

/* Bài viết dạng ngang gọn trong sidebar */

.osm-related-sidebar .osm-related-card {
  display: grid !important;
  grid-template-columns:
    104px
    minmax(0, 1fr) !important;
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

.osm-related-sidebar .osm-related-card__media {
  width: 104px !important;
  min-height: 104px !important;
  aspect-ratio: auto !important;
}

.osm-related-sidebar .osm-related-card__body {
  width: 100% !important;
  min-width: 0 !important;
  padding: 13px !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

.osm-related-sidebar .osm-related-card h3 {
  margin: 0 !important;
  color: #0b3b6f !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  text-align: left !important;
}

.osm-related-sidebar .osm-related-card h3 a {
  display: block !important;
  color: #0b3b6f !important;
  text-align: left !important;
}

/* ==================================================
   CĂN TRÁI TOÀN BỘ NỘI DUNG
   ================================================== */

.osm-hero__copy,
.osm-hero__copy h1,
.osm-hero__copy p,
.osm-entry-content,
.osm-entry-content h2,
.osm-entry-content h3,
.osm-entry-content h4,
.osm-entry-content p,
.osm-entry-content li,
.osm-entry-content th,
.osm-entry-content td,
.osm-toc,
.osm-toc *,
.osm-company-card,
.osm-company-card *,
.osm-related-sidebar,
.osm-related-sidebar * {
  text-align: left !important;
}

/* Không cho paragraph bị căn đều hai lề */

.osm-entry-content p,
.osm-company-card p,
.osm-related-card p {
  word-spacing: normal !important;
  letter-spacing: normal !important;
  text-align: left !important;
}

/* Nút bấm giữ chữ ở giữa */

.osm-button,
.osm-button *,
.osm-company-card__button,
.osm-company-card__button * {
  text-align: center !important;
}

/* ==================================================
   RESPONSIVE
   ================================================== */

/* Laptop nhỏ: chuyển sidebar phải xuống dưới */

@media (max-width: 1299px) {
  .osm-content-layout {
    grid-template-columns:
      300px
      minmax(0, 1fr) !important;
  }

  .osm-related-sidebar {
    position: static !important;
    grid-column: 2 !important;
    max-height: none !important;
  }

  .osm-right-sidebar__sticky {
    max-height: none !important;
    overflow: visible !important;
    padding-right: 0 !important;
  }

  .osm-company-card {
    max-width: 540px !important;
  }

  .osm-related-sidebar .osm-related__grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr)) !important;
  }

  .osm-related-sidebar .osm-related-card {
    display: block !important;
  }

  .osm-related-sidebar .osm-related-card__media {
    width: 100% !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 10 !important;
  }

  .osm-related-sidebar .osm-related-card__body {
    padding: 18px !important;
  }

  .osm-related-sidebar .osm-related-card h3 {
    font-size: 17px !important;
  }
}

/* Tablet và mobile */

@media (max-width: 849px) {
  .osm-content-layout {
    grid-template-columns: 1fr !important;
  }

  .osm-toc-column {
    position: static !important;
    max-height: none !important;
  }

  .osm-toc {
    max-height: none !important;
  }

  .osm-related-sidebar {
    position: static !important;
    grid-column: auto !important;
    max-height: none !important;
  }

  .osm-right-sidebar__sticky {
    max-height: none !important;
    overflow: visible !important;
  }

  .osm-related-sidebar .osm-related__grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Mobile nhỏ */

@media (max-width: 549px) {
  .osm-shell {
    width: calc(100% - 24px) !important;
  }

  .osm-related-sidebar .osm-related__grid {
    grid-template-columns: 1fr !important;
  }
}
/* OSM Vietnam - Final Single Post adjustments */

html {
  scroll-padding-top: 150px;
}

/* Đẩy khu vực bài viết xuống thấp hơn */
.osm-content-layout {
  padding-top: 80px !important;
}

/* Giữ hai sidebar dưới header khi cuộn */
.osm-toc-column,
.osm-related-sidebar {
  top: 115px !important;
}

/* Có thêm thanh quản trị WordPress */
body.admin-bar .osm-toc-column,
body.admin-bar .osm-related-sidebar {
  top: 147px !important;
}

/* Không để tiêu đề bị header che khi bấm TOC */
.osm-entry-content h2,
.osm-entry-content h3 {
  scroll-margin-top: 150px !important;
}

/* Căn trái toàn bộ nội dung */
.osm-hero__content,
.osm-entry-content,
.osm-entry-content *,
.osm-toc,
.osm-toc *,
.osm-company-card,
.osm-company-card *,
.osm-related-sidebar,
.osm-related-sidebar *,
.osm-cta,
.osm-cta h2,
.osm-cta p {
  text-align: left !important;
  text-justify: auto !important;
  word-spacing: normal !important;
}

/* Chữ trong nút vẫn căn giữa */
.osm-button,
.osm-company-card__button,
.osm-cta .osm-button {
  text-align: center !important;
}

/* CTA cuối bài màu xanh teal */
.osm-cta {
  background: linear-gradient(
    135deg,
    #147676 0%,
    #0e5f5f 100%
  ) !important;
}