/* NẾP MIỀN TÂY — RESPONSIVE.CSS */
/* Chuẩn hóa breakpoint và cascade; không chứa base/desktop styles. */
/* Thứ tự: breakpoint lớn → nhỏ. */

@media (max-width: 1100px) {
.dieu-huong {
  gap: var(--space-1);
}

  .dieu-huong a {
  font-size: var(--text-ui);
}

  .chu-de-luoi,
  .bai-viet-luoi {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
}

@media (max-width: 1000px) {
.trai-nghiem-luoi {
    grid-template-columns: repeat(2,1fr);
  }

.agri-hero-content {
    padding-left: 35px;
  }

  .agri-hero-content h1 {
  font-size: 3.4375rem;
}

  .agri-nav {
    gap: 15px;
  }

  .agri-product-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .agri-heading {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 900px) {
.travel-header-inner {
    gap: 15px;
  }

  .travel-nav {
    gap: 13px;
  }

  .travel-nav a {
  font-size: var(--text-caption);
}

  .du-lich-anh-bia-noi-dung {
    padding-left: 40px;
  }

  .diem-den-bo-cuc {
    grid-template-columns: 1fr;
  }

  .du-lich-ban-do {
    max-width: 450px;
    width: 100%;
    margin: 20px auto 0;
  }

  .du-lich-dong-thoi-gian {
    grid-template-columns: repeat(3,1fr);
  }

  .du-lich-dong-thoi-gian::before {
    display: none;
  }

.rice-intro {
    grid-template-columns: 1fr;
  }

  .rice-features {
    grid-template-columns: repeat(4,1fr);
  }

  .rice-product-layout {
    grid-template-columns: 1fr;
  }

.le-hoi-chi-tiet-anh-bia-noi-dung {
    padding-left: 25px;
    padding-right: 25px;
  }

  .le-hoi-cau-chuyen {
    grid-template-columns: 1fr;
  }

  .festival-feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .festival-schedule {
    grid-template-columns: 1fr;
    gap: 25px;
  }

.nghe-thuat-luoi-the {
    grid-template-columns: repeat(2,1fr);
  }

  .history-story {
    grid-template-columns: 1fr;
  }

.quang-cao-ben {
  width: 100%;
  max-width: 18.75rem;
  height: auto;
  margin: 0 auto;
}

  .quang-cao-ben img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

.trang-chu-bo-cuc {
    grid-template-columns: 1fr;
  }
  section.top-ad {
    width: calc(100% - 30px);
  }

  .quang-cao-lien-ket {
  width: 100%;
  height: auto;
}

  .trang-chu-tin-noi-bat {
    width: calc(100% - 40px);
  }
  .trang-chu-tin-luoi {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  }
  .trang-chu-tin-phai {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
    margin-top: 10px;
  }
  .trang-chu-tin-giua {
    padding-right: 0;
  }
  .trang-chu-bai-phai:nth-child(odd) {
    padding-right: 10px;
  }
  .trang-chu-bai-phai:nth-child(even) {
    padding-left: 10px;
  }

.travel-day-inner, .le-hoi-bo-cuc {
  grid-template-columns: minmax(0, 1fr);
}

  /* Popup compact trên mobile/tablet; chiều cao cũng giới hạn kích thước khi xoay ngang. */
  .quang-cao-hop {
    width: min(100%, 440px, 96dvh);
    height: auto;
    aspect-ratio: 800 / 500;
    max-width: 440px;
    max-height: min(275px, 60dvh);
    border-radius: 10px;
  }


  .quang-cao-phu {
    padding: 12px;
  }

  .quang-cao-dem-nguoc {
    top: 8px;
    right: 8px;
    gap: 6px;
    padding: 5px 6px 5px 9px;
  }

  .quang-cao-thong-bao {
    font-size: var(--text-caption);
  }

  .quang-cao-vong-dem {
    width: 32px;
    height: 32px;
  }

  .quang-cao-tien-trinh {
    width: 32px;
    height: 32px;
  }

  .quang-cao-so {
    font-size: var(--text-caption);
  }

  .quang-cao-dong {
    top: 8px;
    right: 8px;
    width: 44px;
    height: 44px;
    font-size: 1.5625rem;
  }

  .quang-cao-anh {
    object-fit: contain;
  }

  /* Navigation luôn hiện sẵn và cuộn ngang khi tablet/điện thoại thiếu chỗ. */

.dau-trang-khung {
  padding: 0;
  grid-template-columns: minmax(0, 1fr);
}

  .thuong-hieu {
    min-width: 0;
    padding: 8px 14px;
  }

  .thuong-hieu small {
  display: block;
}

  .dieu-huong {
  display: flex;
  position: static;
  background: var(--paper);
  padding: 0 4px;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0;
  box-shadow: none;
  max-height: none;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
  .dieu-huong::-webkit-scrollbar {
    height: 3px;
  }
  .dieu-huong::-webkit-scrollbar-thumb {
    background: var(--line);
  }

  .dieu-huong a {
  width: auto;
  flex: 0 0 auto;
  padding: 10px;
  font-size: 0.8125rem;
  border-bottom: 0;
  border-radius: 0;
  min-height: 2.75rem;
}
  .le-hoi-xem-them {
    position: relative;
    top: auto;
    left: auto;
    width: fit-content;
    margin: 10px 14px;
    z-index: 2;
  }
  .le-hoi-nut-xem-them span {
    display: none;
  }

  .dieu-huong a:last-child {
    border-bottom: none;
  }

  .le-hoi-xem-them:focus-within .le-hoi-danh-sach-them {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

@media (max-width: 850px) {
.chi-tiet-anh-bia-noi-dung {
    padding-left: 30px;
  }

  .chi-tiet-anh-bia-noi-dung h1 {
  font-size: 2.875rem;
}

  .chi-tiet-bo-cuc {
    grid-template-columns: 1fr;
  }

  .chi-tiet-thanh-ben {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .the-ky-niem {
    grid-column: 1 / -1;
  }

.con-nguoi-chi-tiet-anh-bia,
  .con-nguoi-chi-tiet-anh-bia-noi-dung {
    min-height: 420px;
  }

  .con-nguoi-chi-tiet-noi-dung {
  padding: 0;
}

.con-nguoi-chi-tiet-anh-bia-noi-dung {
  padding: 60px 24px;
  padding-left: 30px;
  padding-right: 30px;
}

  .con-nguoi-chi-tiet-anh-bia-noi-dung h1 {
  font-size: 2.875rem;
}

  .people-detail-layout {
    grid-template-columns: 1fr;
  }

  .con-nguoi-chi-tiet-thanh-ben {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .people-memory-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 800px) {

  .anh-bia-noi-dung {
    padding: 45px 25px;
  }

  .grid,
  .detail {
    grid-template-columns: 1fr;
  }

  .chu-de-luoi,
  .bai-viet-luoi {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

  .podcast-khung {
    grid-template-columns: 1fr;
  }

  .podcast-anh-bia {
    min-height: 220px;
  }

  .thong-diep {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .chan-trang-luoi {
    grid-template-columns: 1fr 1fr;
  }

.podcast-trang {
    grid-template-columns: 1fr;
  }

  .podcast-thanh-ben {
    display: none;
  }

  .tap-dong {
    grid-template-columns: 110px 1fr 45px;
    gap: 12px;
  }

  .tap-anh-thu-nho {
    width: 110px;
    height: 85px;
  }

  .tap-chu h3 {
  font-size: var(--text-card);
}

  .tap-chu p {
  font-size: var(--text-description);
}

  .podcast-anh-bia-lon h1 {
  font-size: 2rem;
}

.tap-anh-bia {
    height: 300px;
  }

  .episode-hero-content {
    left: 25px;
    right: 20px;
    bottom: 25px;
  }

  .episode-hero-content h1 {
  font-size: 1.6875rem;
}

  .tap-luoi-noi-dung {
    grid-template-columns: 1fr;
  }

  .tap-thanh-ben {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

.le-hoi-dau-muc {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .le-hoi-the {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .le-hoi-noi-dung {
    padding: 25px;
  }

  .le-hoi-noi-dung h3 {
  font-size: 1.625rem;
}

.people-hero {
    min-height: 530px;
  }

  .people-hero-content {
    min-height: 530px;
    padding: 60px 22px;
  }

  .people-hero h1 {
  font-size: 3rem;
}

  .people-hero-quote {
  right: 22px;
  bottom: 35px;
  max-width: 145px;
  font-size: var(--text-caption);
}

  .people-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .people-heading > p {
    max-width: 500px;
  }

  .people-grid {
    grid-template-columns: 1fr 1fr;
  }

  .people-card,
  .people-card:nth-child(4),
  .people-card:nth-child(5) {
    grid-column: span 1;
  }

.lien-he-nhom {
    padding: 20px 15px 60px;
  }

  .lien-he-bo-cuc {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 10px;
  }

  .lien-he-duong-khung {
    display: none;
  }

  .lien-he-thanh-vien {
    position: static;
    width: 100%;
  }

  .lien-he-bieu-mau {
    position: static;
    width: 100%;
    transform: none;
    grid-column: 1 / -1;
    order: 3;
  }

.search-box {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .search-box input {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}

@media (max-width: 750px) {
.agri-hero {
    height: 500px;
  }

  .agri-hero-fade {
    background: linear-gradient(0deg,#faf8f0 0%,rgba(250,248,240,.93) 38%,rgba(250,248,240,.18) 78%,rgba(250,248,240,0) 100%);
  }

  .agri-hero-content {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    justify-content: end;
  }

  .agri-hero-content h1 {
  font-size: 2.8125rem;
}

  .agri-hero-content p {
  font-size: var(--text-description);
}

  .agri-highlights {
    grid-template-columns: 1fr 1fr;
    gap: 25px 0;
    padding: 30px 15px;
  }

  .agri-highlight {
    padding: 0 12px;
  }

  .agri-highlight:nth-child(2) {
    border-right: 0;
  }

  .agri-highlight:nth-child(3),
  .agri-highlight:nth-child(4) {
    padding-top: 18px;
  }

  .agri-products {
    padding: 30px 15px 45px;
  }

  .agri-heading h2 {
  font-size: 2.0625rem;
}

  .agri-product-grid {
    grid-template-columns: 1fr;
  }

  .agri-product-image {
    height: 195px;
  }

  .agri-story {
    margin: 0 15px 12px;
    padding: 28px 22px;
    grid-template-columns: 1fr;
    text-align: center;
    border-radius: 25px;
  }

  .agri-story-drawing {
  font-size: 3.25rem;
}

  .agri-story-text p {
  font-size: var(--text-card);
}

  .agri-story-button {
    width: 210px;
    margin: 0 auto;
  }
}

@media (max-width: 700px) {
.rice-hero {
    height: 500px;
  }

  .rice-hero-overlay {
    background: linear-gradient(0deg,#faf8f0 0%,rgba(250,248,240,.93) 38%,rgba(250,248,240,.2) 75%,rgba(250,248,240,0) 100%);
  }

  .rice-hero-content {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: end;
  }

  .rice-hero-content h1 {
  font-size: 3.4375rem;
}

  .rice-hero-content h2 {
  font-size: 1.5625rem;
}

  .rice-hero-count {
    right: 20px;
  }

  .rice-features {
    grid-template-columns: 1fr 1fr;
    gap: 20px 0;
  }

  .rice-feature:nth-child(3) {
    border-left: 0;
  }

  .rice-gallery {
    height: 360px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1.4fr 1fr 1fr;
  }

  .rice-gallery-main {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .rice-section-heading,
  .rice-products-heading {
    flex-direction: column;
    align-items: start;
    gap: 12px;
  }

  .rice-main-product {
    grid-template-columns: 1fr;
  }

  .rice-main-product-image {
    min-height: 190px;
  }

  .rice-quote-content {
    flex-direction: column;
    justify-content: center;
    align-items: start;
  }
}

@media (max-width: 650px) {
.travel-header-inner {
    min-height: 65px;
    padding: 0 15px;
  }

  .travel-logo strong {
  font-size: 1.25rem;
}

  .travel-logo small {
  font-size: var(--text-caption);
}

  .travel-nav {
    display: none;
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    padding: 8px 20px;
    background: #faf8f0;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .travel-nav.show {
    display: flex;
  }

  .travel-nav a {
    padding: 12px 5px;
  }

  .travel-nav a.active::after {
    display: none;
  }

  .travel-menu {
    display: block;
  }

  .travel-search {
    display: none;
  }

  .du-lich-anh-bia {
    height: 470px;
  }

  .du-lich-anh-bia-noi-dung {
    padding: 60px 25px;
  }

  .du-lich-anh-bia-noi-dung h1 {
  font-size: 2.6875rem;
}

  .du-lich-anh-bia-noi-dung p {
  max-width: 310px;
  font-size: var(--text-description);
}

  .travel-slide {
    right: 20px;
    bottom: 20px;
  }

  .du-lich-trai-nghiem,
  .du-lich-diem-den,
  .travel-day {
    padding-left: 20px;
    padding-right: 20px;
  }

  .travel-section-title {
    display: block;
  }

  .travel-section-title > p {
    margin-top: 15px;
  }

  .travel-section-title h2,
  .travel-day-title h2 {
  font-size: 2rem;
}

  .trai-nghiem-luoi {
    grid-template-columns: 1fr;
  }

  .trai-nghiem-the {
    height: 220px;
  }

  .diem-den-luoi {
    grid-template-columns: 1fr;
  }

  .diem-den-the {
    display: grid;
    grid-template-columns: 125px 1fr;
  }

  .diem-den-anh {
    height: 100%;
    min-height: 135px;
  }

  .du-lich-dong-thoi-gian {
    grid-template-columns: 1fr 1fr;
    gap: 25px 15px;
  }

  .du-lich-trich-dan {
    min-height: 330px;
    padding: 30px 25px;
  }

  .du-lich-trich-dan-noi-dung p {
  font-size: 1.3125rem;
}

  .travel-quote-button {
    left: 25px;
    right: auto;
    bottom: 30px;
  }

.du-lich-ban-do {
    height: 330px;
  }

.con-nguoi-chi-tiet-anh-bia,
  .con-nguoi-chi-tiet-anh-bia-noi-dung {
    min-height: 430px;
  }

  .con-nguoi-chi-tiet-anh-bia-noi-dung {
    padding: 55px 20px;
  }

  .con-nguoi-chi-tiet-anh-bia-noi-dung h1 {
  font-size: 2.6875rem;
  letter-spacing: -1px;
}

  .con-nguoi-chi-tiet-anh-bia-noi-dung p {
  font-size: var(--text-description);
}

  .con-nguoi-chi-tiet-noi-dung {
  padding: 0;
}

  .con-nguoi-chi-tiet-chinh h2 {
  font-size: 2.0625rem;
}

  .con-nguoi-chi-tiet-chinh p {
  font-size: var(--text-body);
  line-height: 1.8;
}

  .con-nguoi-chi-tiet-the {
    position: static;
  }

  .con-nguoi-chi-tiet-trich-dan {
  padding: 50px 22px;
  font-size: var(--text-card);
}

  .con-nguoi-chi-tiet-dieu-huong {
    padding: 24px 20px 30px;
  }

  .con-nguoi-chi-tiet-dieu-huong a {
  font-size: var(--text-caption);
}

  .le-hoi-xem-them {
    left: auto;
    top: auto;
  }

  .le-hoi-danh-sach-them {
    width: 235px;
  }
}

@media (max-width: 600px) {
  .logo-hinh-anh { width: min(297px, 55.8vw); }
  .tap-anh-bia {
    height: 200px;
  }

  .episode-hero-content h1 {
    font-size: 1.3125rem;
    line-height: 1.25;
  }

  .tap-trinh-phat {
    gap: 7px;
    padding: 10px;
  }

  .tap-trinh-phat .lui,
  .tap-trinh-phat .tien {
    display: none;
  }

  .tap-noi-dung-chinh {
    padding: 16px;
  }

  .tap-thanh-ben {
    display: flex;
  }

  .related-img {
    width: 110px;
  }

  .du-lich-trai-nghiem {
    padding: 20px 20px 20px;
  }

  .travel-section-title {
    display: block;
    margin-bottom: 14px;
  }

  .travel-section-title h2 {
    font-size: 1.375rem;
  }

  .travel-section-title > p {
    max-width: 100%;
    margin-top: 18px;
  }

  .trai-nghiem-luoi {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .trai-nghiem-the {
    height: auto;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
    overflow: visible;
  }

  .chi-tiet-anh-bia {
    height: 280px;
  }

  .chi-tiet-anh-bia-phu {
    background: linear-gradient(0deg,#faf8f0 0%,rgba(250,248,240,.86) 35%,rgba(250,248,240,.15) 75%);
  }

  .chi-tiet-anh-bia-noi-dung {
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: end;
  }

  .chi-tiet-anh-bia-noi-dung h1 {
    font-size: 1.625rem;
  }

  .chi-tiet-noi-dung-chinh {
    padding: 20px 14px 24px;
  }

  .chi-tiet-dac-diem {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .chi-tiet-dac-diem-muc {
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid #d8dfd4;
  }

  .chi-tiet-dac-diem-muc:last-child {
    border-bottom: 0;
  }

  .thu-vien-anh-chinh {
    height: 180px;
  }

  .thu-vien-anh-nho {
    grid-template-columns: repeat(5,1fr);
    gap: 5px;
  }

  .thu-vien-anh-nho-mot {
    height: 55px;
  }

  .chi-tiet-thanh-ben {
    display: flex;
  }

  .luoi-luu-y {
    grid-template-columns: 1fr 1fr;
  }

  .muc-luu-y-muc {
    margin-bottom: 20px;
  }

  .chi-tiet-trich-dan {
    padding: 20px 20px 20px 20px;
  }

  .chi-tiet-trich-dan p {
    font-size: var(--text-body);
  }

  .landscape-content {
    padding: 20px 20px;
  }

  .podcast-anh-bia-noi-dung {
    padding: 20px 20px;
  }

  .podcast-bieu-tuong {
    width: 58px;
    height: 58px;
    font-size: 1.6875rem;
    flex-shrink: 0;
  }

  .podcast-anh-bia-lon h1 {
    font-size: 1.625rem;
  }

  .podcast-anh-bia-lon p {
    font-size: var(--text-description);
  }

  .le-hoi-danh-sach {
    padding: 20px 14px;
  }

  .le-hoi-dau-muc h2 {
    font-size: 1.375rem;
  }

  .le-hoi-luoi {
    gap: 18px;
  }

  .le-hoi-the {
    grid-template-columns: 96px minmax(0, 1fr);
    border-radius: 4px;
    box-shadow: none;
  }

  .le-hoi-anh {
    min-height: 0;
    height: 100%;
  }

  .le-hoi-noi-dung {
    padding: 12px;
  }

  .le-hoi-noi-dung h3 {
    font-size: 1.0625rem;
    margin: 6px 0;
  }

  .le-hoi-noi-dung p {
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  .le-hoi-trich-dan {
    min-height: 180px;
  }

  .le-hoi-trich-dan-noi-dung {
    padding: 20px;
  }

  .le-hoi-trich-dan-noi-dung p {
    font-size: 1.375rem;
  }

  .le-hoi-chi-tiet-anh-bia {
    min-height: 300px;
  }

  .le-hoi-chi-tiet-anh-bia-phu {
    background: linear-gradient(180deg,rgba(0,72,49,.93),rgba(0,72,49,.55));
  }

  .le-hoi-chi-tiet-anh-bia-noi-dung {
    padding: 20px 14px;
  }

  .le-hoi-chi-tiet-anh-bia h1 {
    font-size: 1.625rem;
  }

  .le-hoi-chi-tiet-thong-tin {
    flex-direction: column;
    gap: 15px;
  }

  .le-hoi-cau-chuyen {
    padding: 20px 20px 20px;
  }

  .le-hoi-cau-chuyen-anh {
    min-height: 180px;
  }

  .le-hoi-cau-chuyen-noi-dung h2,
  .festival-section-heading h2,
  .festival-schedule-title h2 {
    font-size: 1.375rem;
  }

  .festival-features {
    padding: 20px 20px 20px;
  }

  .festival-feature-grid {
    grid-template-columns: 1fr;
  }

  .festival-schedule {
    padding: 20px 20px;
  }

  .festival-schedule-list {
    grid-template-columns: 1fr 1fr;
    row-gap: 25px;
  }

  .festival-detail-quote-content {
    padding: 20px 20px;
  }

  .festival-detail-quote-content p {
    font-size: 1.3125rem;
  }

  .festival-navigation {
    padding: 20px;
  }

  .le-hoi-xem-them {
    left: auto;
    top: auto;
  }

  .le-hoi-danh-sach-them {
    width: 230px;
  }

  .nghe-thuat-anh-bia {
    height: 180px;
  }

  .history-hero-content {
    width: calc(100% - 40px);
    padding-top: 55px;
  }

  .nghe-thuat-anh-bia h1 {
    font-size: 1.625rem;
  }

  .nghe-thuat-anh-bia p {
    font-size: var(--text-description);
  }

  .nghe-thuat-giai-doan {
    padding: 20px 14px;
  }

  .nghe-thuat-dau-muc h2 {
    font-size: 1.375rem;
  }

  .nghe-thuat-luoi-the {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .history-story {
    padding: 20px 20px;
    gap: 30px;
  }

  .history-story-image {
    height: 180px;
  }

  .history-story-content h2 {
    font-size: 1.375rem;
  }

  .history-quote {
  height: auto;
  min-height: 180px;
}

  .history-quote-content {
  padding: 20px 20px;
  height: auto;
}

  .history-quote-content p {
    font-size: 1.25rem;
  }

  .hinh-thanh-anh-bia {
  height: auto;
  min-height: 280px;
}

  .hinh-thanh-anh-bia-noi-dung {
  width: calc(100% - 40px);
  padding-top: 20px;
  padding-bottom: 20px;
}

  .hinh-thanh-anh-bia h1 {
    font-size: 1.625rem;
  }

  .hinh-thanh-anh-bia-noi-dung > p {
    font-size: var(--text-description);
  }

  .hinh-thanh-thong-tin {
    gap: 13px;
  }

  .hinh-thanh-thong-tin-ke {
    height: 30px;
  }

  .hinh-thanh-mo-dau,
  .hinh-thanh-dong-nghe-thuat {
    padding: 20px 20px;
  }

  .hinh-thanh-mo-dau h2,
  .hinh-thanh-dong-noi-dung h2 {
    font-size: 1.375rem;
  }

  .hinh-thanh-mo-dau-anh,
  .hinh-thanh-dong-anh {
    height: 180px;
  }

  .hinh-thanh-trich-dan {
  height: auto;
  min-height: 180px;
}

  .hinh-thanh-trich-dan-noi-dung {
    padding: 20px 20px;
  }

  .hinh-thanh-trich-dan-noi-dung p {
    font-size: 1.1875rem;
  }

  .hinh-thanh-dieu-huong {
    padding: 20px 20px;
  }

  .people-explore {
    padding: 20px 14px;
  }

  .people-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .people-card,
  .people-card:nth-child(4),
  .people-card:nth-child(5) {
    grid-column: 1;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    border-radius: 4px;
    box-shadow: none;
  }

  .people-card-image {
    height: 180px;
  }

  .people-hero-quote {
    display: none;
  }

  .footer-slogan {
    display: none;
  }

  .footer-social {
    gap: 9px;
  }

  .footer-social a {
    width: 42px;
    height: 42px;
  }

  .footer-social a svg {
    width: 20px;
    height: 20px;
  }

  .con-nguoi-chi-tiet-anh-bia {
    height: 280px;
  }

  .con-nguoi-chi-tiet-anh-bia-phu {
    background: linear-gradient(0deg,#faf8f0 0%,rgba(250,248,240,.88) 35%,rgba(250,248,240,.12) 75%);
  }

  .con-nguoi-chi-tiet-anh-bia-noi-dung {
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 280px;
  }

  .con-nguoi-chi-tiet-anh-bia-noi-dung h1 {
    font-size: 1.625rem;
    letter-spacing: 0;
  }

  .con-nguoi-chi-tiet-chinh {
    padding: 20px 14px 24px;
  }

  .con-nguoi-tinh-cach-luoi {
    grid-template-columns: 1fr;
  }

  .tinh-cach-muc {
    min-height: auto;
  }

  .con-nguoi-chi-tiet-anh {
    height: 180px;
  }

  .con-nguoi-chi-tiet-thanh-ben {
    display: flex;
  }

  .con-nguoi-chi-tiet-trich-dan {
    padding: 20px 20px 20px 20px;
  }

  .con-nguoi-chi-tiet-trich-dan p {
    font-size: var(--text-body);
  }

  .people-detail-bottom-content {
    padding: 20px 20px;
  }

  .quang-cao-hop {
  width: min(100%, 300px, 96dvh);
  height: auto;
  aspect-ratio: 800 / 500;
  max-width: 300px;
  max-height: min(200px, 60dvh);
  border-radius: 10px;
}

  .trang-chu-duong-ke {
    width: calc(100% - 30px);
    margin: 15px auto 25px;
  }

  .trang-chu-bo-cuc {
    width: calc(100% - 28px);
    gap: 20px;
    margin-bottom: 20px;
  }

  .thong-diep {
    width: calc(100% - 28px);
    min-height: 0;
    padding: 18px;
    margin-bottom: 24px;
    gap: 12px;
  }

  .trang-chu-tin-noi-bat {
    width: calc(100% - 28px);
    margin: 12px auto 24px;
  }

  .trang-chu-tin-dau-muc h2 {
    font-size: 1.25rem;
  }

  .trang-chu-tin-luoi {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .trang-chu-tin-trai,
  .trang-chu-tin-giua,
  .trang-chu-tin-phai {
    grid-column: 1;
  }

  .trang-chu-tin-giua {
    padding: 0 0 14px;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    order: -1;
  }

  .trang-chu-tin-giua-anh {
    height: 185px;
    margin-bottom: 10px;
  }

  .trang-chu-tin-giua-noi-dung h2 {
    font-size: 1.375rem;
    margin-bottom: 8px;
    line-height: 1.25;
  }

  .trang-chu-tin-phai {
    display: block;
  }

  .trang-chu-bai-phai:nth-child(odd),
  .trang-chu-bai-phai:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
  }

  :root {
    --font-ui: Arial, "Segoe UI", sans-serif;
    --font-heading: Arial, "Segoe UI", sans-serif;
    --font-reading: var(--font-ui);
    --text-body: 0.875rem;
    --text-description: 0.8125rem;
    --text-card: 1.0625rem;
    --text-caption: 0.75rem;
    --page-gutter: 0.875rem;
    --section-space: 1.25rem;
    --radius-card: 0.25rem;
    --shadow-card: none;
    --shadow-raised: none;
  }

  body {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  h1, h2, h3, h4 {
    font-style: normal;
    font-weight: 700;
    line-height: 1.3;
  }

  article p, .chi-tiet-muc p, .con-nguoi-chi-tiet-chinh p, .tap-noi-dung-chinh p, .rice-intro-text p, .hinh-thanh-mo-dau-noi-dung p, .hinh-thanh-dong-noi-dung p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .dau-trang-khung {
    min-height: 56px;
    padding: 0;
  }

  .thuong-hieu {
    padding: 6px 14px;
    gap: 6px;
  }

  .thuong-hieu strong {
    font-size: 1.4375rem;
  }

  .thuong-hieu small {
    font-size: 0.6875rem;
    margin-top: 2px;
  }

  .logo-bieu-tuong {
    font-size: 1.75rem;
  }

  .dieu-huong {
    padding: 0 4px;
    max-height: none;
  }

  .anh-bia {
    min-height: 0;
  }

  .anh-bia-noi-dung {
    padding: 16px 14px;
  }

  .anh-bia h1 {
    font-size: 1.75rem;
    font-style: normal;
    line-height: 1.15;
    margin: 6px 0;
  }

  .anh-bia h2 {
    font-size: 1.0625rem;
    margin: 6px 0;
  }

  .anh-bia p {
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  .anh-bia .nut {
    margin-top: 10px;
    padding: 6px 12px;
    font-size: 0.75rem;
    border-radius: 4px;
  }

  .subhero {
    height: auto;
    min-height: 150px;
  }

  .subhero div {
    padding: 20px 14px;
  }

  .subhero h1 {
    font-size: 1.625rem;
    font-style: normal;
    line-height: 1.2;
  }

  .subhero p {
    font-size: 0.8125rem;
    line-height: 1.45;
    margin-top: 8px;
  }

  .khung-noi-dung {
    padding: 20px 14px;
  }

  .tieu-de {
    margin-bottom: 16px;
  }

  .tieu-de h1, .dau-muc h2 {
    font-size: 1.25rem;
    font-style: normal;
  }

  .tieu-de p {
    font-size: 0.8125rem;
  }

  .dau-muc {
    margin-bottom: 12px;
    gap: 8px;
    flex-wrap: wrap;
  }

  .dau-muc a {
    font-size: 0.75rem;
  }

  .chu-de-luoi {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
  }

  .chu-de {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .chu-de-luoi .chu-de .img {
    width: 52px;
    height: 58px;
  }

  .chu-de .body {
    padding: 0;
  }

  .chu-de h3 {
    font-size: 0.9375rem;
    text-align: left;
    margin: 0 0 4px;
    font-weight: 700;
  }

  .chu-de p {
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .chu-de:hover, .card:hover {
    transform: none;
    box-shadow: none;
  }

  .chu-de:hover h3 {
    color: var(--green);
  }

  .grid, .bai-viet-luoi {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .grid > .card, .bai-viet-luoi > .card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
    padding: 0 0 12px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .grid > .card .img, .bai-viet-luoi > .card .img {
    height: 84px;
  }

  .grid > .card .body, .bai-viet-luoi > .card .body {
    padding: 0;
  }

  .body h3, .bai-viet .body h3 {
    font-size: 1.0625rem;
    margin: 0 0 6px;
    line-height: 1.3;
    font-weight: 700;
  }

  .body p, .bai-viet .body p {
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  .tag {
    font-size: 0.6875rem;
    padding: 2px 5px;
    border-radius: 3px;
  }

  .trang-chu-tin-dau-muc {
    margin-bottom: 12px;
    padding-bottom: 8px;
  }

  .trang-chu-tin-dau-muc a {
    font-size: 0.75rem;
  }

  .trang-chu-tin-luoi p {
    font-size: 0.8125rem;
    line-height: 1.5;
  }

  .trang-chu-bai-trai {
    padding-bottom: 12px;
    margin-bottom: 12px;
  }

  .trang-chu-bai-trai a {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
  }

  .trang-chu-bai-trai-anh {
    height: 74px;
    margin: 0;
  }

  .trang-chu-bai-noi-dung h3, .trang-chu-bai-phai-noi-dung h3 {
    font-size: 1.0625rem;
    line-height: 1.3;
  }

  .trang-chu-bai-phai a {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .trang-chu-bai-phai-anh {
    width: 92px;
    height: 70px;
  }

  .trang-chu-noi-dung-chinh .podcast {
    margin-bottom: 24px;
  }

  .trang-chu-noi-dung-chinh .khung-noi-dung {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .podcast-khung {
    grid-template-columns: minmax(0, 1fr);
  }

  .podcast-anh-bia {
    min-height: 0;
    height: 110px;
  }

  .podcast-thong-tin {
    padding: 12px;
  }

  .podcast-thong-tin h2 {
    font-size: 1.125rem;
    margin-bottom: 8px;
  }

  .podcast-thong-tin p {
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  .trinh-phat {
    gap: 6px;
    margin-top: 12px;
  }

  .trinh-phat .phat {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .trinh-phat .lui, .trinh-phat .tien {
    width: 44px;
    font-size: 0.6875rem;
  }

  .thong-diep p {
    font-size: 0.9375rem;
    line-height: 1.5;
  }

  .thong-diep .nut {
    margin-top: 0;
  }

  .chan-trang {
    padding: 24px 14px;
  }

  .chan-trang-luoi {
    gap: 18px;
  }

  .chan-trang h2 {
    font-size: 1.125rem;
  }

  .chan-trang h4 {
    font-size: 0.9375rem;
  }

  .chan-trang a, .chan-trang p {
    font-size: 0.8125rem;
    margin-bottom: 6px;
  }

  .ban-quyen {
    margin-top: 18px;
    padding-top: 12px;
    font-size: 0.75rem;
  }

  section.top-ad {
    width: calc(100% - 28px);
    max-width: 440px;
    margin: 0 auto 20px;
    padding: 0;
  }

  .le-hoi-quang-cao {
    position: static;
    width: 100%;
    max-width: 360px;
    margin: 12px auto 0;
  }

  .quang-cao-banner {
    min-height: 180px;
  }

  .quang-cao-noi-dung {
    padding: 14px;
  }

  .quang-cao-noi-dung h3 {
    font-size: 1.125rem;
    line-height: 1.3;
    margin: 6px 0;
  }

  .quang-cao-noi-dung p {
    font-size: 0.8125rem;
    margin-bottom: 10px;
  }

  .tap-dong {
    grid-template-columns: 76px minmax(0, 1fr) 44px;
    gap: 10px;
    padding: 12px 0;
  }

  .tap-anh-thu-nho {
    width: 76px;
    height: 62px;
  }

  .tap-chu h3 {
    font-size: 1rem;
    line-height: 1.35;
  }

  .tap-chu p, .tap-chu small {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .tap-trang {
    padding: 16px 14px;
  }

  .tap-khung {
    gap: 20px;
  }

  .episode-hero-content {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .tap-noi-dung-chinh h2 {
    font-size: 1.25rem;
  }

  .tap-noi-dung-chinh p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .chi-tiet-muc h2, .con-nguoi-chi-tiet-chinh h2 {
    font-size: 1.25rem;
    line-height: 1.3;
  }

  .con-nguoi-chi-tiet-anh-bia, .con-nguoi-chi-tiet-anh-bia-noi-dung {
    min-height: 280px;
  }

  .rice-hero, .agri-hero {
    height: 280px;
  }

  .rice-hero-content, .agri-hero-content {
    padding: 20px 14px;
  }

  .rice-hero-content h1, .agri-hero-content h1 {
    font-size: 1.625rem;
    line-height: 1.2;
  }

  .rice-hero-content h2 {
    font-size: 1.125rem;
  }

  .du-lich-anh-bia {
    height: 250px;
  }

  .du-lich-anh-bia-noi-dung {
    padding: 20px 14px;
  }

  .du-lich-anh-bia-noi-dung h1 {
    font-size: 1.625rem;
  }

  .du-lich-trai-nghiem, .du-lich-diem-den, .travel-day {
    padding: 20px 14px;
  }

  .travel-section-title h2, .travel-day-title h2 {
    font-size: 1.25rem;
  }

  .trai-nghiem-noi-dung {
    position: static;
    padding: 0;
    color: var(--text);
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .trai-nghiem-the h3 {
    font-size: 1rem;
    line-height: 1.25;
  }
  .trai-nghiem-anh {
    position: static;
    min-height: 84px;
    background-size: cover;
  }
  .trai-nghiem-the .experience-gradient {
    display: none;
  }
  .trai-nghiem-noi-dung h3 {
    order: -1;
    color: var(--text);
    padding: 0;
    margin: 0;
    font-size: 1.0625rem;
  }
  .trai-nghiem-noi-dung p {
    color: var(--muted);
    font-size: 0.8125rem;
    padding: 0;
  }
  .trai-nghiem-noi-dung > span {
    position: static;
    align-self: flex-end;
    color: var(--green);
    border-color: var(--line);
  }

  .diem-den-the {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .diem-den-anh {
    min-height: 100px;
  }

  .diem-den-noi-dung {
    padding: 10px;
  }

  .diem-den-noi-dung h3 {
    font-size: 1.0625rem;
  }

  .diem-den-noi-dung p {
    font-size: 0.8125rem;
  }

  .du-lich-dong-thoi-gian {
    gap: 16px 12px;
  }

  .du-lich-trich-dan {
    min-height: 200px;
    padding: 20px 14px;
  }

  .agri-highlights {
    padding: 20px 14px;
    gap: 16px 0;
  }

  .agri-products {
    padding: 20px 14px;
  }

  .agri-heading h2, .people-heading h2, .nghe-thuat-dau-muc h2, .le-hoi-dau-muc h2 {
    font-size: 1.25rem;
    font-style: normal;
  }

  .agri-heading {
    gap: 10px;
    margin-bottom: 16px;
  }

  .agri-product-grid {
    gap: 12px;
  }

  .agri-product-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    border-radius: 4px;
    box-shadow: none;
    border-bottom: 1px solid var(--line);
  }

  .agri-product-image {
    height: 100%;
    min-height: 92px;
  }

  .agri-product-content {
    padding: 10px;
  }

  .agri-product-title h3 {
    font-size: 1.0625rem;
    font-weight: 700;
  }

  .agri-product-content p {
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  .agri-story {
    padding: 18px 14px;
    border-radius: 4px;
    gap: 12px;
  }

  .agri-story-text p {
    font-size: 1rem;
  }

  .nghe-thuat-the {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    border-radius: 4px;
    box-shadow: none;
  }

  .nghe-thuat-anh-the {
    height: 100%;
    min-height: 88px;
  }

  .nghe-thuat-noi-dung-the {
    min-height: 0;
    padding: 12px;
  }

  .history-number {
    position: static;
    width: 24px;
    height: 24px;
    margin-bottom: 6px;
  }

  .nghe-thuat-the h3 {
    font-size: 1.0625rem;
    margin-bottom: 6px;
  }

  .nghe-thuat-the p {
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  .history-link {
    margin-top: 8px;
    font-size: 0.75rem;
  }

  .people-heading {
    gap: 12px;
    margin-bottom: 16px;
  }

  .people-card-image, .people-image-congdong, .people-image-trangphuc {
    height: 100%;
    min-height: 110px;
  }

  .people-card-content {
    min-height: 0;
    padding: 12px;
  }

  .people-card-icon {
    width: 26px;
    height: 26px;
    margin: 0 0 6px;
    font-size: 0.875rem;
  }

  .people-card h3 {
    font-size: 1.0625rem;
    font-style: normal;
    margin-bottom: 6px;
  }

  .people-card p {
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  .people-card-link {
    margin-top: 8px;
  }

  .lien-he-nhom {
    padding: 20px 14px 24px;
  }

  .lien-he-tieu-de {
    margin-bottom: 20px;
  }

  .lien-he-tieu-de h2 {
    font-size: 1.25rem;
  }

  .lien-he-thanh-vien img {
    width: 76px;
    height: 76px;
  }

  .lien-he-bieu-mau {
    padding: 16px;
    border-radius: 4px;
    box-shadow: none;
  }

  .lien-he-bieu-mau .form {
    padding: 12px;
    border-radius: 4px;
  }

  .form input, .form textarea {
    font-size: 0.875rem;
    padding: 10px 12px;
  }

}

/* Banner dọc nhỏ trên điện thoại, kể cả xoay ngang. */
@media (max-width: 600px), (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {

  .quang-cao-ben, aside.top-ad {
    width: 120px;
    max-width: 120px;
    height: auto;
    margin: 12px auto;
    padding: 0;
  }

  .quang-cao-ben img, aside.top-ad img {
    width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: contain;
  }
}

@media (max-width: 520px) {
.dau-trang-khung {
    padding: 0;
  }

  .khung-noi-dung {
    padding: 20px 14px;
  }

  .anh-bia-noi-dung {
    padding: 16px 14px;
  }

  .subhero h1 {
    font-size: 1.625rem;
  }

  .podcast-anh-bia {
    min-height: 0;
  }

  .chan-trang-luoi {
    grid-template-columns: 1fr;
  }

  .ban-quyen {
    flex-direction: column;
    gap: 5px;
  }
}

/* Đồng bộ khoảng đệm logo với trang chủ trên các trang con. */
.dau-trang-khung { min-height: 0; }
.thuong-hieu { padding: 0; }
@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;
  }
}

/* Reader features are scoped; desktop style.css and legacy HTML are untouched. */
.nmt-search-filters,.nmt-search-form { flex-wrap:wrap; gap:12px; align-items:center; }
.nmt-search-filters[hidden],.nmt-profile-menu [hidden] { display:none!important; }
.nmt-search-filters select,.nmt-search-form select { font:inherit; max-width:100%; }
.nmt-search-query { flex:1 1 240px; min-width:0; }
.nmt-search-submit { margin:0; }
.nmt-profile-menu[data-profile-state="error"] [data-profile-message] { order:-1; }
.dau-trang-khung > .nmt-nav-row { grid-column:1 / -1; grid-row:2; display:flex; align-items:center; gap:10px; min-width:0; width:100%; min-height:56px; padding-block:8px; box-sizing:border-box; border-top:1px solid var(--line); position:relative; }
.nmt-nav-row .dieu-huong { flex:1 1 auto; width:auto; min-width:0; overflow-x:auto; justify-content:flex-start; border-top:0; scrollbar-width:thin; }
.nmt-nav-row .dieu-huong a { flex:0 0 auto; padding:10px 8px; }
.nmt-nav-tools { flex:0 0 auto; display:flex; align-items:center; gap:8px; }
.nmt-nav-search { display:flex; align-items:center; width:clamp(135px,16vw,210px); min-width:0; box-sizing:border-box; border:1px solid var(--line); border-radius:6px; background:var(--paper); }
.nmt-nav-search input { width:100%; min-width:0; border:0; background:transparent; padding:7px 8px; font-size:12px; }
.nmt-nav-search button,.nmt-profile { border:0; background:transparent; color:var(--green); min-height:36px; height:36px; min-width:36px; cursor:pointer; }
.nmt-nav-search button { font-size:24px; line-height:1; }
.nmt-profile { display:grid; place-items:center; border:1px solid var(--line); border-radius:50%; }
.nmt-profile-menu { position:absolute; right:0; top:calc(100% + 4px); z-index:30; background:var(--paper); border:1px solid var(--line); border-radius:8px; box-shadow:var(--shadow-raised); padding:12px; width:220px; max-width:calc(100vw - 24px); display:grid; gap:8px; font-size:13px; overflow-wrap:anywhere; }
.nmt-profile-menu a,.nmt-profile-menu button { font:inherit; padding:8px; min-height:36px; color:var(--green); background:none; border:1px solid var(--line); border-radius:5px; text-align:left; cursor:pointer; }
.nmt-profile-menu[hidden],.le-hoi-danh-sach-them[hidden],.nmt-interactions button[hidden] { display:none!important; }
.nmt-interactions { max-width:900px; margin:28px auto; padding:20px; border-top:1px solid var(--line); color:var(--text); font-family:var(--font-ui); min-width:0; overflow-wrap:anywhere; }
.nmt-interactions h2 { margin:20px 0 12px; font-size:26px; }
.nmt-reactions { display:flex; gap:10px; flex-wrap:wrap; }
.nmt-interactions button { min-height:40px; padding:8px 14px; border:1px solid var(--line); border-radius:6px; background:var(--paper); color:var(--green); cursor:pointer; font-size:13px; }
.nmt-interactions button:disabled { cursor:default; opacity:.65; }

/* One responsive 1200×170 campaign banner below the site header. */
.nmt-gym-header-ad { position:relative; overflow:hidden; width:min(1200px,calc(100% - 64px)); margin:0 auto; line-height:0; }
.nmt-gym-header-ad img { display:block; width:100%; height:auto; aspect-ratio:1200 / 170; object-fit:contain; }
.nmt-header-ad { position:relative; overflow:hidden; width:min(1200px,calc(100% - 64px)); margin:16px auto 0; line-height:0; }
.nmt-header-ad img { display:block; width:100%; height:auto; aspect-ratio:1200 / 170; object-fit:contain; }
@media (max-width:900px) {
  .nmt-gym-header-ad,.nmt-header-ad { width:calc(100% - 40px); }
}
@media (max-width:640px) {
  .detail-page .nmt-gym-header-ad,.detail-page .nmt-header-ad { width:calc(100% - 32px); }
}
@media (max-width:600px) {
  .section-page .nmt-gym-header-ad,.section-page .nmt-header-ad { width:calc(100% - 32px); }
  .nmt-gym-header-ad { margin-bottom:0; }
  .nmt-header-ad { margin-top:10px; }
}
.nmt-comment-form { display:grid; gap:12px; max-width:650px; }
.nmt-comment-form label { display:grid; gap:4px; font-size:13px; }
.nmt-comment-form input,.nmt-comment-form textarea,.nmt-interactions [role=status] input { max-width:100%; width:100%; border:1px solid var(--line); border-radius:6px; background:var(--paper); padding:10px; font:inherit; color:var(--text); }
.nmt-comment-form input { min-width:0; }
.nmt-comment-form textarea { resize:vertical; }
.nmt-comment-form button { justify-self:start; background:var(--green); color:white; }
.nmt-comment { padding:16px 0; border-bottom:1px solid var(--line); }
.nmt-comment strong { font-size:14px; }
.nmt-comment time { display:block; font-size:11px; color:var(--muted); }
.nmt-comment p,.nmt-interactions [role=status] { white-space:pre-wrap; margin:8px 0; font-family:var(--font-ui); font-size:14px; line-height:1.7; color:inherit; }
.nmt-narration { width:100%; max-width:650px; margin:16px 0; padding:12px; border:1px solid var(--line); border-radius:8px; background:var(--paper); color:var(--text); font:13px var(--font-ui); box-sizing:border-box; }
.nmt-narration strong { display:block; margin-bottom:8px; font-size:13px; color:var(--green); }
.nmt-narration-after-hero { width:calc(100% - 32px); margin:16px auto; }
.nmt-narration audio { display:block; width:100%; height:40px; max-width:100%; }
.nmt-audio-settings { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:8px; flex-wrap:wrap; }
.nmt-narration select { font:inherit; color:inherit; background:var(--paper); border:1px solid var(--line); border-radius:4px; padding:4px; }
.nmt-narration p { font:12px var(--font-ui); color:var(--muted); margin-top:6px; }
@media(max-width:600px) {
  .nmt-nav-row { gap:6px!important; }
  .nmt-nav-tools { gap:5px; }
  .nmt-nav-search { width:132px; }
  .nmt-nav-row .dieu-huong { scrollbar-width:none; }
  .nmt-nav-row .dieu-huong a { font-size:12px; padding:10px 8px; }
  .nmt-interactions { padding:14px; margin:20px auto; }
  .nmt-interactions h2 { font-size:23px; }
}
