/* Style trang (bai viet, tag, hero...) - header xem header.css, footer xem footer.css */
main { padding: 1.5rem 0 3rem; }
.meta { color: #666; font-size: 0.9rem; }
.disease-list { list-style: none; padding: 0; }
.disease-list li {
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-start;
}
.disease-list img { border-radius: 4px; object-fit: cover; }
.disease-list a { color: var(--brand); font-weight: 600; text-decoration: none; font-size: 1.05rem; }
.disease-list a:hover { text-decoration: underline; }
.thumbnail { max-width: 100%; height: auto; border-radius: 4px; }
.content { margin-top: 1rem; }
.tag {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  font-size: 0.85rem;
  margin-right: 0.25rem;
  text-decoration: none;
  cursor: pointer;
}
a.tag:hover {
  background: var(--brand);
  color: #fff;
}
.comment { border-top: 1px solid #eee; padding: 0.75rem 0; }

/* ===== Tra cứu bệnh: công cụ full-width 3 bước (khác bố cục blog) ===== */
.lookup-hero {
  /* Dong bo tong lime cua header/hero/breadcrumb */
  background: linear-gradient(180deg, #f7fee7 0%, #fff 100%);
  border: 1px solid #d9f99d;
  box-shadow: 0 4px 20px rgba(77, 124, 15, .06);
  border-radius: 14px;
  padding: 1.9rem 1.75rem 1.75rem;
  text-align: center;
  margin-bottom: 2rem;
  margin-top: 2rem;
}
.lookup-hero h1 {
  font-size: 1.85rem;
  font-weight: 700;
  color: #1a2e05;
  margin: 0 0 .5rem;
}
.lookup-hero p {
  font-size: .95rem;
  color: #365314;
  margin: 0;
}
.lookup-search {
  display: flex;
  gap: .5rem;
  max-width: 560px;
  margin: 1.15rem auto 0;
}
.lookup-search input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: .7rem .95rem;
  font-size: .92rem;
  border: 1px solid #d9f99d;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.lookup-search input[type="search"]:focus {
  outline: 2px solid #4d7c0f;
  outline-offset: 1px;
}
.lookup-search button {
  padding: .7rem 1.4rem;
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
  background: #4d7c0f;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}
.lookup-search button:hover { background: #365314; }
/* Form tim kiem xuat hiện sau khi da chon cay (buoc 2) */
.lookup-search--inline { margin: 0; max-width: 560px; }
.lookup-search__reset {
  align-self: center;
  font-size: .85rem;
  font-weight: 600;
  color: #3f6212;
  text-decoration: underline;
  white-space: nowrap;
}
.lookup-search__reset:hover { color: #1a2e05; }
.lookup-empty--hint {
  font-size: .95rem;
  margin-top: -.5rem;
}

/* Trang cay trong (loc nhanh theo tag) */
.crop-hero__back {
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  color: #3f6212;
  text-decoration: none;
  margin-bottom: .6rem;
}
.crop-hero__back:hover { color: #1a2e05; text-decoration: underline; }
.lookup-hero .lookup-search--inline { margin: 1.15rem auto 0; }

/* Loc bat dong bo: panel mo di trong luc fetch */
#lookup-panel {
  transition: opacity .15s ease;
}
#lookup-panel.is-loading {
  opacity: .4;
  pointer-events: none;
}
/* Chuyen cay: toan bo khuc trang mo di trong luc fetch */
#crop-page {
  transition: opacity .15s ease;
}
#crop-page.is-loading {
  opacity: .4;
  pointer-events: none;
}
.lookup-block { margin-bottom: 2.1rem; }
.lookup-block__title {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ocean);
  margin: 0 0 1rem;
}
.lookup-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: .82rem;
  flex-shrink: 0;
}
.lookup-block__hint {
  font-size: .8rem;
  font-weight: 500;
  color: #8a9a90;
  margin-left: .15rem;
}
.lookup-results__count {
  margin-left: auto;
  font-size: .85rem;
  font-weight: 600;
  color: #667;
}

/* Bước 1: lưới cây trồng */
.lookup-crops {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: .75rem;
}
.lookup-crop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  padding: 1rem .6rem .85rem;
  background: #fff;
  border: 1px solid #e4ebe7;
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.lookup-crop:hover {
  border-color: var(--brand);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}
.lookup-crop.is-active {
  border-color: var(--brand);
  background: var(--brand-100);
}
.lookup-crop__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--brand-100);
  overflow: hidden;
}
/* Anh cay that (co file) -> fill khung; placeholder van giu 42px trong */
.lookup-crop__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.lookup-crop.is-active .lookup-crop__thumb { background: #fff; }
.lookup-crop__thumb--all { color: var(--brand); }
.lookup-crop__name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--ocean);
}
.lookup-crop__count { font-size: .72rem; color: #7d8f85; }

/* Bước 2: chip triệu chứng */
.lookup-symptoms {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.lookup-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .38rem .85rem;
  font-size: .85rem;
  border: 1px solid #d7e4dc;
  border-radius: 99px;
  background: #fff;
  color: var(--ocean-mid);
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.lookup-chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.lookup-chip.is-active {
  background: var(--ocean);
  border-color: var(--ocean);
  color: #fff;
}
.lookup-chip__count {
  font-size: .7rem;
  font-weight: 700;
  opacity: .7;
}

/* Bước 3: lưới kết quả */
.lookup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.lookup-card {
  display: flex;
  gap: .9rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid #e4ebe7;
  border-radius: 12px;
  transition: box-shadow .15s, border-color .15s;
}
.lookup-card:hover {
  border-color: var(--brand);
  box-shadow: 0 5px 16px rgba(0, 0, 0, .07);
}
.lookup-card__thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-100);
  border-radius: 10px;
}
.lookup-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  flex: 1;
}
.lookup-card__body h3 {
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}
.lookup-card__body h3 a { color: var(--ocean); text-decoration: none; }
.lookup-card__body h3 a:hover { color: var(--brand); }
.lookup-card__pathogen {
  font-size: .76rem;
  color: #8a9a90;
  margin: 0;
}
.lookup-card__desc {
  font-size: .84rem;
  color: #556;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lookup-card__crops {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-top: .15rem;
}
.lookup-card__crops span {
  font-size: .7rem;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-100);
  padding: .1rem .5rem;
  border-radius: 99px;
}
.lookup-card__cta {
  margin-top: auto;
  padding-top: .35rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}
.lookup-card__cta:hover { text-decoration: underline; }
.lookup-empty {
  padding: 1.5rem;
  text-align: center;
  color: #667;
  background: #fff;
  border: 1px dashed #cfe0d6;
  border-radius: 12px;
}

/* Responsive tra cứu */
@media (max-width: 900px) {
  .lookup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .lookup-grid { grid-template-columns: 1fr; }
  .lookup-search { flex-direction: column; }
  .lookup-hero { padding: 1.4rem 1rem; }
  .lookup-results__count { margin-left: 0; width: 100%; }
}
/* ===== Hero Section (trang tĩnh) ===== */
main.page-main { padding-top: 0; }
main.page-main > .container { padding-top: 1.75rem; }

/* Noi dung trang tinh (TinyMCE HTML hoac text thuong) */
.page-detail { max-width: 780px; }
.page-detail h1 {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--ocean);
  line-height: 1.35;
  margin: 0 0 1rem;
}
.page-detail .content {
  color: #334;
  font-size: 1rem;
  line-height: 1.7;
}
.page-detail .content > *:first-child { margin-top: 0; }
.page-detail .content > *:last-child { margin-bottom: 0; }
.page-detail .content p { margin: 0 0 .9rem; }
.page-detail .content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ocean);
  margin: 1.5rem 0 .75rem;
  line-height: 1.35;
}
.page-detail .content h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ocean);
  margin: 1.35rem 0 .6rem;
  line-height: 1.4;
}
.page-detail .content ul,
.page-detail .content ol {
  margin: 0 0 .9rem;
  padding-left: 1.35rem;
}
.page-detail .content li { margin-bottom: .4rem; }
.page-detail .content li:last-child { margin-bottom: 0; }
.page-detail .content a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
}
.page-detail .content strong { color: var(--ocean); }
.page-detail .content hr {
  border: 0;
  border-top: 1px solid #e5ebe7;
  margin: 1.35rem 0;
}
.page-detail .content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
  border-radius: 10px;
}
.page-detail .content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.15rem;
  font-size: .93rem;
}
.page-detail .content th,
.page-detail .content td {
  border: 1px solid var(--brand-200);
  padding: .65rem .85rem;
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
}
.page-detail .content th {
  background: var(--brand-50);
  color: var(--ocean);
  font-weight: 700;
}
.page-detail .content .note {
  background: var(--brand-50);
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  padding: .95rem 1.15rem;
  margin: 1.15rem 0;
  font-size: .95rem;
}
.page-detail .content .note p { margin: 0; }
.page-detail .page-updated {
  margin: 1.5rem 0 0;
  padding-top: .85rem;
  border-top: 1px solid #e5ebe7;
  font-size: .85rem;
  color: #6b7c72;
}
.page-detail .page-updated time {
  font-weight: 700;
  color: var(--ocean, #1a2e05);
}
/* Ban do Google Maps nhung trong noi dung trang */
.page-detail .content .map-embed {
  margin: 1.15rem 0 .85rem;
  border: 1px solid var(--brand-200, #CDEBCF);
  border-radius: 12px;
  overflow: hidden;
  background: var(--brand-50, #F2F7F3);
  line-height: 0;
}
.page-detail .content .map-embed iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}
.page-detail .content .map-embed__link {
  margin: 0 0 1.15rem;
  font-size: .9rem;
}

/* So do dong quy trinh kiem chung */
.flow-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 1.15rem 0 1.35rem;
  padding: 0;
  list-style: none;
}
.flow-steps li {
  position: relative;
  flex: 1 1 165px;
  min-width: 0;
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
  border-radius: 12px;
  padding: .85rem .95rem .95rem 2.95rem;
  margin-bottom: 0;
}
.flow-steps .flow-num {
  position: absolute;
  left: .85rem;
  top: .9rem;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-steps li > strong {
  display: block;
  color: var(--ocean);
  font-size: .98rem;
  margin-bottom: .25rem;
  line-height: 1.35;
}
.flow-steps .flow-desc {
  font-size: .875rem;
  color: #3d5245;
  line-height: 1.55;
}
.flow-steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -18px;
  top: 1.55rem;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--brand-300);
  border-right: 2px solid var(--brand-300);
  transform: rotate(45deg);
}
@media (max-width: 640px) {
  .flow-steps { flex-direction: column; gap: 24px; }
  .flow-steps li:not(:last-child)::after {
    right: auto;
    left: 1.55rem;
    top: auto;
    bottom: -17px;
    transform: rotate(135deg);
  }
}

.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
.hero__text { flex: 1 1 55%; min-width: 0; }
.hero__title {
  margin: 0 0 0.75rem;
  font-size: 2.1rem;
  line-height: 1.25;
}
.hero__subtitle {
  margin: 0;
  font-size: 1.1rem;
  opacity: 0.92;
  max-width: 640px;
}
.hero__actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.hero__cta {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}
.hero__cta--primary { background: #fff; color: var(--brand); }
.hero__cta--primary:hover { background: var(--brand-light); }
.hero__cta--secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}
.hero__cta--secondary:hover { border-color: #fff; }

/* Nền ảnh + lớp phủ tối (inline --hero-overlay) */
.hero[style*="background-image"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, var(--hero-overlay, 0.45));
}
.hero--image_overlay:not([style*="background-image"]) {
  background-image: linear-gradient(135deg, var(--brand), var(--brand-mid));
}

/* Màu nền theo theme (khi không có ảnh) */
.hero--brand { background-color: #4d7c0f; }
.hero--dark { background-color: var(--brand-deep); }
.hero--light { background-color: var(--brand-soft); color: #222; }
.hero--light .hero__cta--primary { background: var(--brand); color: #fff; }
.hero--light .hero__cta--primary:hover { background: var(--brand-dark); }
.hero--light .hero__cta--secondary { color: var(--brand); border-color: var(--brand); }
.hero--light .hero__cta--secondary:hover { border-color: var(--brand-dark); }

/* Kiểu căn giữa */
.hero--centered .hero__inner {
  flex-direction: column;
  text-align: center;
}
.hero--centered .hero__subtitle { margin-left: auto; margin-right: auto; }
.hero--centered .hero__actions { justify-content: center; }
.hero--centered .hero__title { font-size: 2.4rem; }

/* Kiểu chia đôi: chữ trái - ảnh phải */
.hero--split .hero__media { flex: 1 1 40%; min-width: 0; }
.hero--split .hero__media img {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 8px;
}

/* Kiểu nền chuyển sắc */
.hero--gradient {
  background-image: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 60%, var(--brand-300) 100%);
}

/* Kiểu thanh gọn */
.hero--minimal .hero__inner { padding-top: 2rem; padding-bottom: 2rem; }
.hero--minimal .hero__title { font-size: 1.6rem; margin-bottom: 0.35rem; }
.hero--minimal .hero__subtitle { font-size: 1rem; }

@media (max-width: 720px) {
  .hero__inner { flex-direction: column; align-items: flex-start; padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .hero--centered .hero__inner { align-items: center; }
  .hero__title, .hero--centered .hero__title { font-size: 1.7rem; }
  .hero--split .hero__media { width: 100%; }
}

/* ===== Breadcrumb: điều hướng theo URL (Trang chủ > A > B) ===== */
/* Nền đậm hơn header (#ecfccb vs #f7fee7->#fafaf9) + viền dưới rõ
   để tách hẳn 2 dải màu */
.site-breadcrumb {
  background: #fff;
  border-bottom: 1px solid #bef264;
}
.site-breadcrumb__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  /* Chi dat padding doc - khong dung shorthand de khong an padding ngang cua .wrap */
  padding-top: .6rem;
  padding-bottom: .6rem;
  font-size: .8rem;
}
.site-breadcrumb__link {
  color: #3f6212;
  text-decoration: none;
}
.site-breadcrumb__link:hover {
  color: #1a2e05;
  text-decoration: underline;
}
.site-breadcrumb__sep { color: rgba(63, 98, 18, .45); }
.site-breadcrumb__current {
  color: #1a2e05;
  font-weight: 600;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Mobile/tablet: breadcrumb du padding ben, chu khong sat le trai */
@media (max-width: 700px) {
  .site-breadcrumb__inner {
    padding-left: 16px;
    padding-right: 16px;
    font-size: .76rem;
    gap: .3rem .35rem;
  }
  .site-breadcrumb__current {
    white-space: normal;
    word-break: break-word;
  }
}

/* ===== Blog: layout 2 cột (nội dung trái - quảng cáo phải) ===== */
.blog-page-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ocean);
  margin: 0 0 1.35rem;
}
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2rem;
  align-items: start;
}
.blog-section { margin-bottom: 2.25rem; }

/* Bộ lọc: sắp xếp mới/cũ + lọc theo thẻ */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1rem;
  margin: -.6rem 0 1.75rem;
}
.blog-filters__sort {
  display: inline-flex;
  border: 1px solid #dce8e1;
  border-radius: 99px;
  overflow: hidden;
  background: #fff;
}
.blog-filters__sort-link {
  padding: .38rem .95rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ocean-mid);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.blog-filters__sort-link:hover {
  background: var(--ocean-light);
}
.blog-filters__sort-link.is-active {
  background: var(--ocean);
  color: #fff;
}
.blog-filters__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
}
.blog-filters__label {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ocean);
  margin-right: .15rem;
}
.blog-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .28rem .7rem;
  font-size: .82rem;
  border: 1px solid #dce8e1;
  border-radius: 99px;
  background: #fff;
  color: var(--ocean-mid);
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.blog-filter-tag:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.blog-filter-tag.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.blog-filter-tag__count {
  font-size: .7rem;
  font-weight: 700;
  opacity: .75;
}
.blog-section__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ocean);
  margin: 0 0 1.1rem;
  padding-left: .65rem;
  border-left: 4px solid var(--brand);
}

/* Top 3 bài */
.blog-top__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.blog-top__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8f0e9;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.blog-top__card:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
.blog-top__thumb {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--brand-100);
}
.blog-top__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-top__body {
  padding: .7rem .85rem .85rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1;
}
.blog-top__body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-top__body h3 a { color: var(--ocean); text-decoration: none; }
.blog-top__body h3 a:hover { color: var(--brand); }
/* Meta dưới card top: đồng hồ + ngày, mắt + lượt xem */
.blog-meta {
  display: flex;
  align-items: center;
  gap: .85rem;
  font-size: .78rem;
  color: #8a9a90;
}
.blog-top__body .blog-meta { margin-top: auto; }
.blog-meta__item {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.blog-meta__icon {
  flex-shrink: 0;
  color: #9db0a5;
}

/* iPad / tablet: Top bai viet gon - anh ngang, chu nho, dam 3 card khong cao qua */
@media (max-width: 1440px) {
  .blog-top__grid {
    gap: .85rem;
  }
  .blog-top__thumb {
    aspect-ratio: 16 / 10;
  }
  .blog-top__body {
    padding: .55rem .7rem .65rem;
    gap: .25rem;
  }
  .blog-top__body h3 {
    font-size: .92rem;
    line-height: 1.35;
    -webkit-line-clamp: 2;
  }
  .blog-meta { font-size: .72rem; gap: .55rem; }
}
@media (min-width: 700px) and (max-width: 1100px) {
  /* iPad doc ~1024: van 3 cot manh chinh nhung card hep hon */
  .blog-top__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
  }
  .blog-top__thumb { aspect-ratio: 16 / 9; }
  .blog-top__body h3 { font-size: .86rem; -webkit-line-clamp: 2; }
  .blog-section { margin-bottom: 1.5rem; }
  .blog-section__title { font-size: 1.1rem; margin-bottom: .75rem; }
}
@media (max-width: 699px) {
  .blog-top__grid { gap: .75rem; }
  .blog-top__thumb { aspect-ratio: 16 / 9; }
  .blog-top__body h3 { font-size: .9rem; -webkit-line-clamp: 2; }
}

/* Nhãn danh mục */
.blog-chip {
  display: inline-block;
  width: fit-content;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--brand);
  background: var(--brand-100);
  padding: .15rem .55rem;
  border-radius: 99px;
}

/* Danh sách bài mới nhất */
.blog-list { list-style: none; padding: 0; margin: 0; }
.blog-list__item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e8f0e9;
}
.blog-list__item:first-child { padding-top: 0; }
.blog-list__item:last-child { border-bottom: 0; }
.blog-list__thumb {
  flex: 0 0 190px;
  width: 190px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--brand-100);
  display: block;
}
.blog-list__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-list__body { min-width: 0; display: flex; flex-direction: column; gap: .3rem; }
.blog-list__body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}
.blog-list__body h3 a { color: var(--ocean); text-decoration: none; }
.blog-list__body h3 a:hover { color: var(--brand); }
.blog-list__body p {
  font-size: .9rem;
  color: #556;
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-empty { color: #667; font-size: .9rem; }

/* Phân trang */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.blog-pagination__link {
  padding: .45rem .95rem;
  border: 1px solid #cfe0d6;
  border-radius: 8px;
  color: var(--ocean);
  text-decoration: none;
  font-size: .87rem;
  font-weight: 600;
}
.blog-pagination__link:hover { background: var(--brand-100); }
.blog-pagination__info { font-size: .85rem; color: #667; }

/* Phân loại bài viết */
.blog-cats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem 1.25rem;
}
.blog-cats__parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .55rem .75rem;
  background: #fff;
  border: 1px solid #e8f0e9;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ocean);
  font-weight: 600;
  font-size: .9rem;
}
.blog-cats__parent:hover { border-color: var(--brand); color: var(--brand); }
.blog-cats__sub {
  list-style: none;
  padding: .4rem 0 0 .9rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.blog-cats__sub a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .45rem .7rem;
  background: var(--brand-100);
  border-radius: 8px;
  text-decoration: none;
  color: #2c5c3f;
  font-size: .85rem;
}
.blog-cats__sub a:hover { color: var(--brand); text-decoration: underline; }
.blog-cats__count {
  font-size: .72rem;
  font-weight: 700;
  background: #fff;
  color: var(--brand);
  border-radius: 99px;
  padding: .05rem .5rem;
}
.blog-cats__parent .blog-cats__count { background: var(--brand-100); }

/* Cột phải: card quảng cáo hệ sinh thái */
.blog-aside { position: sticky; top: 7.5rem; }

/* ===== Component tái sử dụng: card quảng cáo hệ sinh thái ===== */
.eco-ads {
  background: #fff;
  border: 1px solid #e8f0e9;
  border-radius: 12px;
  padding: 1.15rem;
}
.eco-ads__title {
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ocean);
  margin: 0 0 .9rem;
}
.eco-ads__card {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid #eef3f0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: .9rem;
  transition: box-shadow .2s, border-color .2s;
}
.eco-ads__card:last-child { margin-bottom: 0; }
.eco-ads__card:hover { border-color: var(--brand); box-shadow: 0 4px 14px rgba(0, 0, 0, .07); }
.eco-ads__thumb {
  display: block;
  aspect-ratio: 600 / 199;
  overflow: hidden;
  background: var(--ocean-light);
}
.eco-ads__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.eco-ads__body {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: .7rem .8rem .85rem;
}
.eco-ads__name { font-size: .97rem; font-weight: 700; color: var(--ocean); }
.eco-ads__domain { font-size: .75rem; color: var(--brand); }
.eco-ads__desc {
  font-size: .83rem;
  color: #5b6b62;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.eco-ads__cta { font-size: .82rem; font-weight: 600; color: var(--brand); margin-top: .3rem; }

/* Responsive blog */
@media (max-width: 1040px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-aside { position: static; }
  /* Top bai van 3 cot (compact da set o tren) thay vi xuong 2 cot cao */
}

/* iPad / tablet: quang cao he sinh thai gon - luoi 2 cot, an mo ta dai */
@media (min-width: 700px) and (max-width: 1100px) {
  .blog-aside {
    order: 2;
    margin-top: .25rem;
  }
  .eco-ads {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    padding: .9rem 1rem 1rem;
  }
  .eco-ads__title {
    grid-column: 1 / -1;
    margin: 0 0 .15rem;
    font-size: .82rem;
  }
  .eco-ads__card {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .eco-ads__thumb { aspect-ratio: 16 / 7; }
  .eco-ads__body {
    padding: .5rem .65rem .6rem;
    gap: .15rem;
  }
  .eco-ads__name { font-size: .88rem; }
  .eco-ads__domain { font-size: .7rem; }
  /* An doan mo ta de giam chieu cao - giu ten + domain + CTA */
  .eco-ads__desc { display: none; }
  .eco-ads__cta { font-size: .78rem; margin-top: .15rem; }
}

/* Man rong hon iPad landscape nhung sidebar van hep: an mo ta, thu nho anh */
@media (min-width: 1101px) and (max-width: 1440px) {
  .blog-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 1.35rem;
  }
  .eco-ads { padding: .9rem; }
  .eco-ads__card { margin-bottom: .65rem; }
  .eco-ads__thumb { aspect-ratio: 16 / 8; }
  .eco-ads__body { padding: .5rem .6rem .6rem; gap: .15rem; }
  .eco-ads__name { font-size: .9rem; }
  .eco-ads__desc {
    -webkit-line-clamp: 2;
    font-size: .78rem;
  }
  .eco-ads__cta { font-size: .78rem; }
}

@media (max-width: 600px) {
  .blog-top__grid { grid-template-columns: 1fr; }
  .blog-list__item { flex-direction: column; }
  .blog-list__thumb { width: 100%; height: 180px; flex: none; }
  .blog-cats { grid-template-columns: 1fr; }
  /* Mobile be: quang cao 1 cot, van an mo ta */
  .eco-ads__desc { display: none; }
  .eco-ads__card { margin-bottom: .55rem; }
  .eco-ads__thumb { aspect-ratio: 16 / 7; }
}

/* ===== Post detail: nội dung + bình luận (trái) - quảng cáo (phải) ===== */
.blog-main .post-detail { margin-bottom: 2rem; }
.post-detail h1 {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--ocean);
  line-height: 1.35;
  margin: 0 0 1rem;
}
.post-detail .thumbnail {
  display: block;
  width: 100%;
  border-radius: 10px;
  margin: 0 0 1.25rem;
}
/* Ảnh trong nội dung: không được vượt cột (tránh tràn đè sang cột ads) */
.content figure {
  /* figure mặc định có margin 1em 40px của trình duyệt -> làm ảnh bị lệch phải */
  margin: 1.25rem 0;
  max-width: 100%;
}
.content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.25rem auto;
  border-radius: 10px;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.1rem;
  font-size: .85rem;
  color: #667;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eef2f0;
}
.post-meta__item {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.post-meta__icon {
  flex-shrink: 0;
  color: #9db0a5;
}
.post-meta__item--link {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
  background: var(--brand-100);
  padding: .2rem .65rem;
  border-radius: 99px;
}
.post-meta__item--link:hover { text-decoration: underline; }
.post-detail .tags { margin: 1.25rem 0 0; }

/* Nguon trich dan APA duoi noi dung bai viet */
.post-source {
  margin: 1.25rem 0 0;
  padding: .9rem 1rem;
  background: #f7fee7;
  border: 1px solid #d9f99d;
  border-radius: 10px;
}
.post-source__title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #3f6212;
  margin: 0 0 .45rem;
}
.post-source__citation {
  margin: 0 0 .5rem;
  font-size: .88rem;
  line-height: 1.55;
  color: #1a2e05;
}
.post-source__link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}
.post-source__link:hover { text-decoration: underline; }

/* 6 bai lien quan duoi bai viet (cung danh muc / cung the) */
.post-related {
  margin: 1.75rem 0 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid #eef2f0;
}
.post-related__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ocean);
  margin: 0 0 1rem;
  padding-left: .65rem;
  border-left: 4px solid var(--brand);
}
.post-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.post-related__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e4ebe7;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .15s, border-color .15s;
}
.post-related__card:hover {
  border-color: var(--brand);
  box-shadow: 0 5px 16px rgba(0, 0, 0, .07);
}
.post-related__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--brand-100);
  overflow: hidden;
}
.post-related__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.post-related__body {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: .85rem .95rem 1rem;
  flex: 1;
  min-width: 0;
}
.post-related__category {
  align-self: flex-start;
  font-size: .7rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-100);
  padding: .12rem .55rem;
  border-radius: 99px;
  text-decoration: none;
}
.post-related__category:hover { text-decoration: underline; }
.post-related__body h3 {
  margin: 0;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.35;
}
.post-related__body h3 a {
  color: var(--ocean);
  text-decoration: none;
}
.post-related__body h3 a:hover { color: var(--brand); }
.post-related__excerpt {
  margin: 0;
  font-size: .82rem;
  color: #556;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-related__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: auto;
  padding-top: .45rem;
  font-size: .78rem;
  color: #8a9a90;
}
.post-related__cta {
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}
.post-related__cta:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .post-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .post-related__grid { grid-template-columns: 1fr; }
}

/* Chia sẻ bài viết */
.post-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid #eef2f0;
}
.post-share__label {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ocean);
  margin-right: .25rem;
}
.post-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #dce8e1;
  background: #fff;
  color: var(--ocean-mid);
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.post-share__btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}
.post-share__btn--fb:hover { background: #1877f2; border-color: #1877f2; }
.post-share__btn--ig:hover { background: #e1306c; border-color: #e1306c; }
.post-share__btn--x:hover { background: #000; border-color: #000; }
.post-share__btn--reddit:hover { background: #ff4500; border-color: #ff4500; }
.post-share__btn--li:hover { background: #0a66c2; border-color: #0a66c2; }
.post-share__btn--wa:hover { background: #25d366; border-color: #25d366; }
.post-share__btn--tg:hover { background: #229ed9; border-color: #229ed9; }
.post-share__toast {
  font-size: .78rem;
  font-weight: 600;
  color: #1c7a3f;
  background: var(--brand-100);
  border-radius: 99px;
  padding: .3rem .7rem;
}
.post-share__toast[hidden] { display: none; }

/* Bình luận */
.comments h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ocean);
  margin: 0 0 1rem;
  padding-left: .65rem;
  border-left: 4px solid var(--brand);
}

/* ===== Chi tiết bệnh (tra-cuu-benh/<slug>/) ===== */
.disease-hero {
  background: linear-gradient(180deg, #f7fee7 0%, #fff 100%);
  border: 1px solid #d9f99d;
  box-shadow: 0 4px 20px rgba(77, 124, 15, .06);
  border-radius: 14px;
  padding: 1.35rem 1.5rem 1.5rem;
  margin: 1.5rem 0 1.5rem;
}
.disease-hero__back {
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  color: #3f6212;
  text-decoration: none;
  margin-bottom: .9rem;
}
.disease-hero__back:hover { color: #1a2e05; text-decoration: underline; }
.disease-hero__grid {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1.35rem;
  align-items: start;
}
.disease-hero__media {
  width: 160px;
  height: 160px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e4ebe7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.disease-hero__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.disease-hero__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--brand-100);
}
.disease-hero__label {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--brand);
  background: var(--brand-100);
  padding: .18rem .6rem;
  border-radius: 99px;
  margin: 0 0 .45rem;
}
.disease-hero__body h1 {
  font-size: 1.7rem;
  font-weight: 700;
  color: #1a2e05;
  line-height: 1.25;
  margin: 0 0 .65rem;
}
.disease-hero__pathogen {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  font-size: .95rem;
  color: #365314;
  margin: 0 0 .85rem;
}
.disease-hero__pathogen svg {
  flex-shrink: 0;
  margin-top: .15rem;
  color: var(--brand);
}
.disease-hero__crops {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  margin-bottom: .7rem;
  font-size: .85rem;
  color: #556;
}
.disease-hero__crops-label { font-weight: 600; color: var(--ocean-mid); }
.disease-chip {
  display: inline-flex;
  padding: .28rem .75rem;
  font-size: .82rem;
  font-weight: 600;
  color: #fff;
  background: var(--ocean);
  border-radius: 99px;
  text-decoration: none;
}
.disease-chip:hover { background: var(--brand); }
.disease-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.disease-tag {
  display: inline-flex;
  padding: .28rem .7rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--brand);
  background: #fff;
  border: 1px solid #d9f99d;
  border-radius: 99px;
  text-decoration: none;
}
.disease-tag:hover {
  border-color: var(--brand);
  background: var(--brand-100);
}

/* Lưới 2 cột: noi dung trai + quang cao phai (giong blog) */
.disease-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}
.disease-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.disease-section {
  background: #fff;
  border: 1px solid #e4ebe7;
  border-radius: 14px;
  padding: 1.15rem 1.25rem 1.25rem;
}
.disease-section--prevent {
  border-color: #cdebcf;
  background: linear-gradient(180deg, #f7fee7 0%, #fff 70%);
}
.disease-section--tip {
  border-color: #d9f99d;
  background: linear-gradient(180deg, #f7fee7 0%, #fff 80%);
}
.disease-section__title {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ocean);
  margin: 0 0 .9rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid #eef2f0;
}
.disease-section--prevent .disease-section__title,
.disease-section--tip .disease-section__title { border-bottom-color: #d9f99d; }
.disease-section__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--brand-100);
  color: var(--brand);
  flex-shrink: 0;
}
.disease-section__body p,
.disease-section__body-text {
  margin: 0 0 .75rem;
  color: #334;
  font-size: .95rem;
  line-height: 1.65;
}
.disease-section__body p:last-child { margin-bottom: 0; }
/* Noi dung HTML tu TinyMCE trong Mo ta / Biện phap phong tru */
.disease-prose { color: #334; font-size: .95rem; line-height: 1.65; }
.disease-prose > *:first-child { margin-top: 0; }
.disease-prose > *:last-child { margin-bottom: 0; }
.disease-prose p { margin: 0 0 .75rem; }
.disease-prose ul,
.disease-prose ol {
  margin: 0 0 .75rem;
  padding-left: 1.25rem;
}
.disease-prose li { margin-bottom: .35rem; }
.disease-prose li:last-child { margin-bottom: 0; }
.disease-prose a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
}
.disease-prose img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: .75rem auto;
  border-radius: 8px;
}
.disease-prose strong { color: var(--ocean); }
.disease-prose h3 {
  margin: 1.25rem 0 .5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ocean, #1e3a5f);
  border-left: 3px solid var(--brand, #84cc16);
  padding-left: .55rem;
}
.disease-prose h3:first-child { margin-top: 0; }
.disease-prose h4 {
  margin: 1rem 0 .4rem;
  font-size: .95rem;
  font-weight: 700;
  color: #445;
}
.disease-prose blockquote {
  margin: 0 0 .75rem;
  padding: .55rem .85rem;
  border-left: 3px solid var(--brand, #84cc16);
  background: #f6fef4;
  border-radius: 0 6px 6px 0;
  color: #445;
  font-size: .92rem;
}
.disease-prose--prevent li::marker { color: var(--brand); }

/* Nguon trich dan (APA) duoi Bien phap phong tru */
.disease-section--source {
  border-color: #e4ebe7;
  background: #fff;
}
.disease-source__citation {
  margin: 0 0 .65rem;
  font-size: .92rem;
  line-height: 1.6;
  color: #334;
}
.disease-source__link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .84rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}
.disease-source__link:hover { text-decoration: underline; }

/* Ghi nhan chinh sua: thoi diem cap nhat + ghi chu (chinh sach Dinh chinh - Cai chinh) */
.disease-section--revision {
  border-color: #e4ebe7;
  background: #fff;
}
.disease-revision__time {
  margin: 0 0 .65rem;
  font-size: .92rem;
  line-height: 1.6;
  color: #334;
}
.disease-revision__time time {
  font-weight: 700;
  color: var(--ocean, #1a2e05);
}
.disease-revision__note {
  margin: 0 0 .75rem;
  padding: .65rem .85rem;
  font-size: .9rem;
  line-height: 1.6;
  color: #334;
  background: var(--brand-soft, #F2F7F3);
  border: 1px solid var(--brand-200, #CDEBCF);
  border-radius: 8px;
}
.disease-revision__note p { margin: 0 0 .5rem; }
.disease-revision__note p:last-child { margin: 0; }
.disease-section__body-text a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}
.disease-section__body-text a:hover { text-decoration: underline; }
.disease-section__note {
  margin: .85rem 0 0;
  padding: .6rem .75rem;
  font-size: .82rem;
  line-height: 1.5;
  color: #365314;
  background: rgba(255, 255, 255, .75);
  border: 1px dashed #cdebcf;
  border-radius: 8px;
}
.disease-section__btn {
  display: inline-flex;
  align-items: center;
  padding: .55rem 1rem;
  font-size: .84rem;
  font-weight: 700;
  color: #fff;
  background: #4d7c0f;
  border-radius: 10px;
  text-decoration: none;
  transition: background .15s;
}
.disease-section__btn:hover { background: #365314; }

.disease-symptom-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .5rem;
}
.disease-symptom-list__item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .65rem .8rem;
  background: var(--brand-soft);
  border: 1px solid #eef6ea;
  border-radius: 10px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ocean);
}
.disease-symptom-list__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  flex-shrink: 0;
  margin-top: .05rem;
}

.disease-prevent-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.disease-prevent-list__item {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .95rem;
  color: #243;
  line-height: 1.55;
}
.disease-prevent-list__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .1rem;
}

.disease-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.2rem;
  background: var(--ocean);
  color: #fff;
  border-radius: 14px;
}
.disease-cta__text strong {
  display: block;
  font-size: .98rem;
  margin-bottom: .15rem;
}
.disease-cta__text p {
  margin: 0;
  font-size: .85rem;
  opacity: .9;
}
.disease-cta__btn {
  display: inline-flex;
  align-items: center;
  padding: .65rem 1.15rem;
  font-size: .88rem;
  font-weight: 700;
  color: var(--ocean);
  background: #fff;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.disease-cta__btn:hover {
  background: var(--brand-300);
  color: var(--ocean);
}

/* Quang cao phai (reuse eco-ads) */
.disease-aside {
  position: sticky;
  top: 1rem;
}

/* 6 benh lien quan duoi noi dung */
.disease-related {
  margin-bottom: 2.25rem;
  padding-top: .35rem;
}
.disease-related__title {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  flex-wrap: wrap;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ocean);
  margin: 0 0 1rem;
  padding-left: .65rem;
  border-left: 4px solid var(--brand);
}
.disease-related__hint {
  font-size: .85rem;
  font-weight: 600;
  color: #7d8f85;
}
.disease-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.disease-related__card {
  display: flex;
  gap: .9rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid #e4ebe7;
  border-radius: 12px;
  transition: box-shadow .15s, border-color .15s;
}
.disease-related__card:hover {
  border-color: var(--brand);
  box-shadow: 0 5px 16px rgba(0, 0, 0, .07);
}
.disease-related__thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-100);
  border-radius: 10px;
  overflow: hidden;
}
.disease-related__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.disease-related__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  flex: 1;
}
.disease-related__body h3 {
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}
.disease-related__body h3 a { color: var(--ocean); text-decoration: none; }
.disease-related__body h3 a:hover { color: var(--brand); }
.disease-related__pathogen {
  font-size: .76rem;
  color: #8a9a90;
  margin: 0;
}
.disease-related__desc {
  font-size: .84rem;
  color: #556;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.disease-related__cta {
  margin-top: auto;
  padding-top: .35rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}
.disease-related__cta:hover { text-decoration: underline; }

@media (max-width: 1040px) {
  .disease-layout { grid-template-columns: 1fr; }
  .disease-aside { position: static; }
  .disease-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .disease-hero { padding: 1.1rem 1rem 1.15rem; }
  .disease-hero__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .disease-hero__media {
    width: 100%;
    height: 200px;
  }
  .disease-hero__body h1 { font-size: 1.35rem; }
  .disease-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .disease-cta__btn { justify-content: center; }
  .disease-related__grid { grid-template-columns: 1fr; }
}


