/*
Theme Name: Kỹ Thuật Trồng Cây
Description: Giao diện KTTC chuyển sang WordPress, giữ bố cục và các công cụ tra cứu.
Version: 1.0.0
Text Domain: kttc
*/
body{margin:0}.kttc-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:28px}.kttc-results .card{padding:20px;border:1px solid #dce5d8;border-radius:16px;background:#fff}.kttc-results img{width:100%;height:180px;object-fit:cover;border-radius:10px}.kttc-results h2{font-size:1.2rem}.kttc-pagination{display:flex;gap:12px;margin-top:28px}.kttc-new-content{max-width:1100px;margin:auto}.kttc-new-content p{line-height:1.8}.admin-bar .site-header{top:32px}.kttc-loading-note{padding:12px;color:#40652a}.form-note.is-success{color:#226534}.form-note.is-error{color:#a52d2d}@media(max-width:900px){.kttc-results{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.kttc-results{grid-template-columns:1fr}.admin-bar .site-header{top:46px}}@media print{header,footer,.mobile-nav-drawer,.mobile-menu-overlay,#wpadminbar{display:none!important}}

/* Compatibility for the older article markup retained during the KTTC import. */
.seedling-article-layout > * {
  min-width: 0;
}
.phase-0-step-3-article .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--green);
  font-size: .9rem;
  font-weight: 700;
}
.seedling-article-toc {
  position: sticky;
  top: 105px;
  align-self: start;
  min-width: 0;
  max-width: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--ivory);
  box-shadow: 0 10px 24px rgba(30, 80, 45, .05);
}
.admin-bar .seedling-article-toc { top: 137px; }
.seedling-article-toc h2 {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 18px;
  line-height: 1.4;
}
.seedling-article-toc nav {
  display: grid;
  gap: 8px;
  max-height: min(65vh, 640px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.seedling-article-toc a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border-radius: 10px;
  background: #f1f8ee;
  color: var(--green);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.seedling-article-toc a > span:first-child {
  display: grid;
  place-items: center;
  min-height: 24px;
  border-radius: 50%;
  background: #e1efdc;
  font-size: .75rem;
}
.seedling-article-toc a:hover,
.seedling-article-toc a:focus-visible { background: #e2f0dc; }
@media (max-width: 900px) {
  .seedling-article-layout { grid-template-columns: minmax(0, 1fr); }
  .seedling-article-toc { position: static; }
  .seedling-article-toc nav { max-height: 320px; }
  .crop-alias-hero .hero-content { min-width: 0; max-width: 100%; }
  .crop-alias-hero .breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; }
}

@media (max-width: 900px) {
  .crop-alias-hero h1,
  .crop-alias-hero h1 [data-kttc-title] { white-space: normal !important; overflow-wrap: break-word; }
  .crop-alias-hero .hero-media img { display: block; width: 100%; max-width: 100%; height: 100%; object-fit: cover; }
}

/* Legacy article tables retain semantic rows and scroll inside their own frame. */
.article-content .table-scroll {
  width: 100%;
  max-width: 100%;
  margin: 24px 0 30px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ivory);
  box-shadow: 0 10px 24px rgba(30, 80, 45, .04);
}
.article-content .table-scroll table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: .95rem;
}
.article-content .table-scroll th,
.article-content .table-scroll td {
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.65;
}
.article-content .table-scroll th {
  background: #e8f5e8;
  color: var(--green);
  font-weight: 700;
}
.article-content .table-scroll tbody tr:nth-child(even) { background: #f5f9f1; }
.article-content .table-scroll tr > :last-child { border-right: 0; }
.article-content .table-scroll tbody tr:last-child > td { border-bottom: 0; }
@media (max-width: 600px) {
  .article-content .table-scroll th,
  .article-content .table-scroll td { padding: 11px 12px; font-size: .9rem; }
}

/* Center the KTTC desktop shell; keep existing tablet/mobile sizing. */
@media (min-width: 1051px) {
  :root { --site-container: 1450px; }
  #app {
    width: 100%;
    max-width: 1450px;
    margin-inline: auto;
  }
  .seedling-article-layout { padding-inline: 0 !important; }
  .site-footer-main,
  .site-footer-note,
  .site-footer-bottom {
    width: 100% !important;
    max-width: var(--site-container) !important;
  }
}

/* Post 768: full-bleed desktop featured image, fading into the title area. */
@media (min-width: 1051px) {
  body.postid-768 .durian-hero {
    position: relative;
    isolation: isolate;
    display: block;
    min-height: 560px;
    padding-block: 90px;
    overflow: hidden;
    background: var(--ivory);
  }
  body.postid-768 .durian-hero > .durian-hero-content {
    position: relative;
    z-index: 2;
    width: 65%;
    max-width: 900px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  body.postid-768 .durian-hero > .durian-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    min-height: 0;
    margin: 0 !important;
    border-radius: 0;
    box-shadow: none;
  }
  body.postid-768 .durian-hero-media img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center 47%;
  }
  body.postid-768 .durian-hero-media::before {
    background: linear-gradient(90deg,
      #fffdf7 0%,
      rgba(255,253,247,.99) 28%,
      rgba(255,253,247,.94) 45%,
      rgba(255,253,247,.76) 58%,
      rgba(255,253,247,.30) 73%,
      rgba(255,253,247,0) 90%);
  }
}

/* Keep the eight-step hierarchy clear in post 768 and its table of contents. */
body.postid-768 .article-content h3[id^="buoc-"] {
  margin-block: 30px 14px;
  color: var(--green);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.3;
}
body.postid-768 .article-content h4 {
  margin-block: 24px 10px;
  color: var(--green);
  font-size: 1.1rem;
  line-height: 1.4;
}
body.postid-768 .seedling-article-toc a.kttc-toc-substep {
  margin-left: 14px;
  font-size: .85rem;
}
body.postid-768 .seedling-article-toc a.kttc-toc-substep > span {
  min-width: 30px;
  width: auto;
}

/* Consistent heading scale for the sample article. */
body.postid-768 .article-content h2,
body.postid-768 .article-content h3,
body.postid-768 .article-content h4 {
  color: var(--green);
  font-weight: 700 !important;
  line-height: 1.35 !important;
  scroll-margin-top: 112px;
}
body.postid-768 .article-content h2 {
  font-size: 32px !important;
  margin-block: 36px 16px;
}
body.postid-768 .article-content h3,
body.postid-768 .article-content h3[id^="buoc-"] {
  font-size: 24px !important;
  margin-block: 28px 12px;
}
body.postid-768 .article-content h4 {
  font-size: 19px !important;
  margin-block: 22px 10px;
}
@media (max-width: 760px) {
  body.postid-768 .article-content h2 { font-size: 26px !important; }
  body.postid-768 .article-content h3,
  body.postid-768 .article-content h3[id^="buoc-"] { font-size: 21px !important; }
  body.postid-768 .article-content h4 { font-size: 18px !important; }
  body.postid-768 .article-content :is(h2,h3,h4) { scroll-margin-top: 100px; }
}

/* Five durian articles: shared visual treatment with the approved sample. */
/* Post 768: full-bleed desktop featured image, fading into the title area. */
@media (min-width: 1051px) {
  body:is(.postid-769,.postid-770,.postid-771,.postid-772,.postid-773) .durian-hero {
    position: relative;
    isolation: isolate;
    display: block;
    min-height: 560px;
    padding-block: 90px;
    overflow: hidden;
    background: var(--ivory);
  }
  body:is(.postid-769,.postid-770,.postid-771,.postid-772,.postid-773) .durian-hero > .durian-hero-content {
    position: relative;
    z-index: 2;
    width: 65%;
    max-width: 900px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  body:is(.postid-769,.postid-770,.postid-771,.postid-772,.postid-773) .durian-hero > .durian-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    min-height: 0;
    margin: 0 !important;
    border-radius: 0;
    box-shadow: none;
  }
  body:is(.postid-769,.postid-770,.postid-771,.postid-772,.postid-773) .durian-hero-media img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center 47%;
  }
  body:is(.postid-769,.postid-770,.postid-771,.postid-772,.postid-773) .durian-hero-media::before {
    background: linear-gradient(90deg,
      #fffdf7 0%,
      rgba(255,253,247,.99) 28%,
      rgba(255,253,247,.94) 45%,
      rgba(255,253,247,.76) 58%,
      rgba(255,253,247,.30) 73%,
      rgba(255,253,247,0) 90%);
  }
}

/* Keep the eight-step hierarchy clear in post 768 and its table of contents. */
body:is(.postid-769,.postid-770,.postid-771,.postid-772,.postid-773) .article-content h3[id^="buoc-"] {
  margin-block: 30px 14px;
  color: var(--green);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.3;
}
body:is(.postid-769,.postid-770,.postid-771,.postid-772,.postid-773) .article-content h4 {
  margin-block: 24px 10px;
  color: var(--green);
  font-size: 1.1rem;
  line-height: 1.4;
}
body:is(.postid-769,.postid-770,.postid-771,.postid-772,.postid-773) .seedling-article-toc a.kttc-toc-substep {
  margin-left: 14px;
  font-size: .85rem;
}
body:is(.postid-769,.postid-770,.postid-771,.postid-772,.postid-773) .seedling-article-toc a.kttc-toc-substep > span {
  min-width: 30px;
  width: auto;
}

/* Consistent heading scale for the sample article. */
body:is(.postid-769,.postid-770,.postid-771,.postid-772,.postid-773) .article-content h2,
body:is(.postid-769,.postid-770,.postid-771,.postid-772,.postid-773) .article-content h3,
body:is(.postid-769,.postid-770,.postid-771,.postid-772,.postid-773) .article-content h4 {
  color: var(--green);
  font-weight: 700 !important;
  line-height: 1.35 !important;
  scroll-margin-top: 112px;
}
body:is(.postid-769,.postid-770,.postid-771,.postid-772,.postid-773) .article-content h2 {
  font-size: 32px !important;
  margin-block: 36px 16px;
}
body:is(.postid-769,.postid-770,.postid-771,.postid-772,.postid-773) .article-content h3,
body:is(.postid-769,.postid-770,.postid-771,.postid-772,.postid-773) .article-content h3[id^="buoc-"] {
  font-size: 24px !important;
  margin-block: 28px 12px;
}
body:is(.postid-769,.postid-770,.postid-771,.postid-772,.postid-773) .article-content h4 {
  font-size: 19px !important;
  margin-block: 22px 10px;
}
@media (max-width: 760px) {
  body:is(.postid-769,.postid-770,.postid-771,.postid-772,.postid-773) .article-content h2 { font-size: 26px !important; }
  body:is(.postid-769,.postid-770,.postid-771,.postid-772,.postid-773) .article-content h3,
  body:is(.postid-769,.postid-770,.postid-771,.postid-772,.postid-773) .article-content h3[id^="buoc-"] { font-size: 21px !important; }
  body:is(.postid-769,.postid-770,.postid-771,.postid-772,.postid-773) .article-content h4 { font-size: 18px !important; }
  body:is(.postid-769,.postid-770,.postid-771,.postid-772,.postid-773) .article-content :is(h2,h3,h4) { scroll-margin-top: 100px; }
}

body:is(.postid-769,.postid-770,.postid-771,.postid-772,.postid-773) .kttc-inline-figure{margin:28px 0;width:100%;}
body:is(.postid-769,.postid-770,.postid-771,.postid-772,.postid-773) .kttc-inline-figure img{display:block;max-width:100%;width:100%;height:auto;border-radius:14px;}
body:is(.postid-769,.postid-770,.postid-771,.postid-772,.postid-773) .kttc-inline-figure figcaption{font-size:14px;line-height:1.6;color:#596a55;margin-top:8px;}
body:is(.postid-769,.postid-770,.postid-771,.postid-772,.postid-773) .kttc-editorial-author{border-top:1px solid var(--line);padding-top:18px;margin-top:28px;}
body:is(.postid-769,.postid-770,.postid-771,.postid-772,.postid-773) .article-content :is(h2,h3,h4){overflow-wrap:break-word;}


/* Seven durian problem articles: shared visual treatment with the approved sample. */
/* Post 768: full-bleed desktop featured image, fading into the title area. */
@media (min-width: 1051px) {
  body:is(.postid-774,.postid-775,.postid-776,.postid-777,.postid-778,.postid-779,.postid-780) .durian-hero {
    position: relative;
    isolation: isolate;
    display: block;
    min-height: 560px;
    padding-block: 90px;
    overflow: hidden;
    background: var(--ivory);
  }
  body:is(.postid-774,.postid-775,.postid-776,.postid-777,.postid-778,.postid-779,.postid-780) .durian-hero > .durian-hero-content {
    position: relative;
    z-index: 2;
    width: 65%;
    max-width: 900px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  body:is(.postid-774,.postid-775,.postid-776,.postid-777,.postid-778,.postid-779,.postid-780) .durian-hero > .durian-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    min-height: 0;
    margin: 0 !important;
    border-radius: 0;
    box-shadow: none;
  }
  body:is(.postid-774,.postid-775,.postid-776,.postid-777,.postid-778,.postid-779,.postid-780) .durian-hero-media img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center 47%;
  }
  body:is(.postid-774,.postid-775,.postid-776,.postid-777,.postid-778,.postid-779,.postid-780) .durian-hero-media::before {
    background: linear-gradient(90deg,
      #fffdf7 0%,
      rgba(255,253,247,.99) 28%,
      rgba(255,253,247,.94) 45%,
      rgba(255,253,247,.76) 58%,
      rgba(255,253,247,.30) 73%,
      rgba(255,253,247,0) 90%);
  }
}

/* Keep the eight-step hierarchy clear in post 768 and its table of contents. */
body:is(.postid-774,.postid-775,.postid-776,.postid-777,.postid-778,.postid-779,.postid-780) .article-content h3[id^="buoc-"] {
  margin-block: 30px 14px;
  color: var(--green);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.3;
}
body:is(.postid-774,.postid-775,.postid-776,.postid-777,.postid-778,.postid-779,.postid-780) .article-content h4 {
  margin-block: 24px 10px;
  color: var(--green);
  font-size: 1.1rem;
  line-height: 1.4;
}
body:is(.postid-774,.postid-775,.postid-776,.postid-777,.postid-778,.postid-779,.postid-780) .seedling-article-toc a.kttc-toc-substep {
  margin-left: 14px;
  font-size: .85rem;
}
body:is(.postid-774,.postid-775,.postid-776,.postid-777,.postid-778,.postid-779,.postid-780) .seedling-article-toc a.kttc-toc-substep > span {
  min-width: 30px;
  width: auto;
}

/* Consistent heading scale for the sample article. */
body:is(.postid-774,.postid-775,.postid-776,.postid-777,.postid-778,.postid-779,.postid-780) .article-content h2,
body:is(.postid-774,.postid-775,.postid-776,.postid-777,.postid-778,.postid-779,.postid-780) .article-content h3,
body:is(.postid-774,.postid-775,.postid-776,.postid-777,.postid-778,.postid-779,.postid-780) .article-content h4 {
  color: var(--green);
  font-weight: 700 !important;
  line-height: 1.35 !important;
  scroll-margin-top: 112px;
}
body:is(.postid-774,.postid-775,.postid-776,.postid-777,.postid-778,.postid-779,.postid-780) .article-content h2 {
  font-size: 32px !important;
  margin-block: 36px 16px;
}
body:is(.postid-774,.postid-775,.postid-776,.postid-777,.postid-778,.postid-779,.postid-780) .article-content h3,
body:is(.postid-774,.postid-775,.postid-776,.postid-777,.postid-778,.postid-779,.postid-780) .article-content h3[id^="buoc-"] {
  font-size: 24px !important;
  margin-block: 28px 12px;
}
body:is(.postid-774,.postid-775,.postid-776,.postid-777,.postid-778,.postid-779,.postid-780) .article-content h4 {
  font-size: 19px !important;
  margin-block: 22px 10px;
}
@media (max-width: 760px) {
  body:is(.postid-774,.postid-775,.postid-776,.postid-777,.postid-778,.postid-779,.postid-780) .article-content h2 { font-size: 26px !important; }
  body:is(.postid-774,.postid-775,.postid-776,.postid-777,.postid-778,.postid-779,.postid-780) .article-content h3,
  body:is(.postid-774,.postid-775,.postid-776,.postid-777,.postid-778,.postid-779,.postid-780) .article-content h3[id^="buoc-"] { font-size: 21px !important; }
  body:is(.postid-774,.postid-775,.postid-776,.postid-777,.postid-778,.postid-779,.postid-780) .article-content h4 { font-size: 18px !important; }
  body:is(.postid-774,.postid-775,.postid-776,.postid-777,.postid-778,.postid-779,.postid-780) .article-content :is(h2,h3,h4) { scroll-margin-top: 100px; }
}

body:is(.postid-774,.postid-775,.postid-776,.postid-777,.postid-778,.postid-779,.postid-780) .kttc-inline-figure{margin:28px 0;width:100%;}
body:is(.postid-774,.postid-775,.postid-776,.postid-777,.postid-778,.postid-779,.postid-780) .kttc-inline-figure img{display:block;max-width:100%;width:100%;height:auto;border-radius:14px;}
body:is(.postid-774,.postid-775,.postid-776,.postid-777,.postid-778,.postid-779,.postid-780) .kttc-inline-figure figcaption{font-size:14px;line-height:1.6;color:#596a55;margin-top:8px;}
body:is(.postid-774,.postid-775,.postid-776,.postid-777,.postid-778,.postid-779,.postid-780) .kttc-editorial-author{border-top:1px solid var(--line);padding-top:18px;margin-top:28px;}
body:is(.postid-774,.postid-775,.postid-776,.postid-777,.postid-778,.postid-779,.postid-780) .article-content :is(h2,h3,h4){overflow-wrap:break-word;}


/* Rice and bell-pepper reviewed articles: shared visual treatment with the approved sample. */
/* Post 768: full-bleed desktop featured image, fading into the title area. */
@media (min-width: 1051px) {
  body:is(.postid-723,.postid-724,.postid-725,.postid-726,.postid-727,.postid-728,.postid-729,.postid-730,.postid-731,.postid-733,.postid-734) .durian-hero {
    position: relative;
    isolation: isolate;
    display: block;
    min-height: 560px;
    padding-block: 90px;
    overflow: hidden;
    background: var(--ivory);
  }
  body:is(.postid-723,.postid-724,.postid-725,.postid-726,.postid-727,.postid-728,.postid-729,.postid-730,.postid-731,.postid-733,.postid-734) .durian-hero > .durian-hero-content {
    position: relative;
    z-index: 2;
    width: 65%;
    max-width: 900px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  body:is(.postid-723,.postid-724,.postid-725,.postid-726,.postid-727,.postid-728,.postid-729,.postid-730,.postid-731,.postid-733,.postid-734) .durian-hero > .durian-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    min-height: 0;
    margin: 0 !important;
    border-radius: 0;
    box-shadow: none;
  }
  body:is(.postid-723,.postid-724,.postid-725,.postid-726,.postid-727,.postid-728,.postid-729,.postid-730,.postid-731,.postid-733,.postid-734) .durian-hero-media img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center 47%;
  }
  body:is(.postid-723,.postid-724,.postid-725,.postid-726,.postid-727,.postid-728,.postid-729,.postid-730,.postid-731,.postid-733,.postid-734) .durian-hero-media::before {
    background: linear-gradient(90deg,
      #fffdf7 0%,
      rgba(255,253,247,.99) 28%,
      rgba(255,253,247,.94) 45%,
      rgba(255,253,247,.76) 58%,
      rgba(255,253,247,.30) 73%,
      rgba(255,253,247,0) 90%);
  }
}

/* Keep the eight-step hierarchy clear in post 768 and its table of contents. */
body:is(.postid-723,.postid-724,.postid-725,.postid-726,.postid-727,.postid-728,.postid-729,.postid-730,.postid-731,.postid-733,.postid-734) .article-content h3[id^="buoc-"] {
  margin-block: 30px 14px;
  color: var(--green);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.3;
}
body:is(.postid-723,.postid-724,.postid-725,.postid-726,.postid-727,.postid-728,.postid-729,.postid-730,.postid-731,.postid-733,.postid-734) .article-content h4 {
  margin-block: 24px 10px;
  color: var(--green);
  font-size: 1.1rem;
  line-height: 1.4;
}
body:is(.postid-723,.postid-724,.postid-725,.postid-726,.postid-727,.postid-728,.postid-729,.postid-730,.postid-731,.postid-733,.postid-734) .seedling-article-toc a.kttc-toc-substep {
  margin-left: 14px;
  font-size: .85rem;
}
body:is(.postid-723,.postid-724,.postid-725,.postid-726,.postid-727,.postid-728,.postid-729,.postid-730,.postid-731,.postid-733,.postid-734) .seedling-article-toc a.kttc-toc-substep > span {
  min-width: 30px;
  width: auto;
}

/* Consistent heading scale for the sample article. */
body:is(.postid-723,.postid-724,.postid-725,.postid-726,.postid-727,.postid-728,.postid-729,.postid-730,.postid-731,.postid-733,.postid-734) .article-content h2,
body:is(.postid-723,.postid-724,.postid-725,.postid-726,.postid-727,.postid-728,.postid-729,.postid-730,.postid-731,.postid-733,.postid-734) .article-content h3,
body:is(.postid-723,.postid-724,.postid-725,.postid-726,.postid-727,.postid-728,.postid-729,.postid-730,.postid-731,.postid-733,.postid-734) .article-content h4 {
  color: var(--green);
  font-weight: 700 !important;
  line-height: 1.35 !important;
  scroll-margin-top: 112px;
}
body:is(.postid-723,.postid-724,.postid-725,.postid-726,.postid-727,.postid-728,.postid-729,.postid-730,.postid-731,.postid-733,.postid-734) .article-content h2 {
  font-size: 32px !important;
  margin-block: 36px 16px;
}
body:is(.postid-723,.postid-724,.postid-725,.postid-726,.postid-727,.postid-728,.postid-729,.postid-730,.postid-731,.postid-733,.postid-734) .article-content h3,
body:is(.postid-723,.postid-724,.postid-725,.postid-726,.postid-727,.postid-728,.postid-729,.postid-730,.postid-731,.postid-733,.postid-734) .article-content h3[id^="buoc-"] {
  font-size: 24px !important;
  margin-block: 28px 12px;
}
body:is(.postid-723,.postid-724,.postid-725,.postid-726,.postid-727,.postid-728,.postid-729,.postid-730,.postid-731,.postid-733,.postid-734) .article-content h4 {
  font-size: 19px !important;
  margin-block: 22px 10px;
}
@media (max-width: 760px) {
  body:is(.postid-723,.postid-724,.postid-725,.postid-726,.postid-727,.postid-728,.postid-729,.postid-730,.postid-731,.postid-733,.postid-734) .article-content h2 { font-size: 26px !important; }
  body:is(.postid-723,.postid-724,.postid-725,.postid-726,.postid-727,.postid-728,.postid-729,.postid-730,.postid-731,.postid-733,.postid-734) .article-content h3,
  body:is(.postid-723,.postid-724,.postid-725,.postid-726,.postid-727,.postid-728,.postid-729,.postid-730,.postid-731,.postid-733,.postid-734) .article-content h3[id^="buoc-"] { font-size: 21px !important; }
  body:is(.postid-723,.postid-724,.postid-725,.postid-726,.postid-727,.postid-728,.postid-729,.postid-730,.postid-731,.postid-733,.postid-734) .article-content h4 { font-size: 18px !important; }
  body:is(.postid-723,.postid-724,.postid-725,.postid-726,.postid-727,.postid-728,.postid-729,.postid-730,.postid-731,.postid-733,.postid-734) .article-content :is(h2,h3,h4) { scroll-margin-top: 100px; }
}

body:is(.postid-723,.postid-724,.postid-725,.postid-726,.postid-727,.postid-728,.postid-729,.postid-730,.postid-731,.postid-733,.postid-734) .kttc-inline-figure{margin:28px 0;width:100%;}
body:is(.postid-723,.postid-724,.postid-725,.postid-726,.postid-727,.postid-728,.postid-729,.postid-730,.postid-731,.postid-733,.postid-734) .kttc-inline-figure img{display:block;max-width:100%;width:100%;height:auto;border-radius:14px;}
body:is(.postid-723,.postid-724,.postid-725,.postid-726,.postid-727,.postid-728,.postid-729,.postid-730,.postid-731,.postid-733,.postid-734) .kttc-inline-figure figcaption{font-size:14px;line-height:1.6;color:#596a55;margin-top:8px;}
body:is(.postid-723,.postid-724,.postid-725,.postid-726,.postid-727,.postid-728,.postid-729,.postid-730,.postid-731,.postid-733,.postid-734) .kttc-editorial-author{border-top:1px solid var(--line);padding-top:18px;margin-top:28px;}
body:is(.postid-723,.postid-724,.postid-725,.postid-726,.postid-727,.postid-728,.postid-729,.postid-730,.postid-731,.postid-733,.postid-734) .article-content :is(h2,h3,h4){overflow-wrap:break-word;}

body:is(.postid-723,.postid-733) .solution-section .container{max-width:1450px;}

/* Scoped topic directories: readable spacing and responsive link cards. */
body:is(.postid-723,.postid-733) .durian-hero .breadcrumb{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:24px;color:#2e6c3e;font-weight:700;}
body:is(.postid-723,.postid-733) .solution-section{padding:48px 0;}
body:is(.postid-723,.postid-733) .solution-section .container{width:calc(100% - 64px);max-width:1386px;margin-inline:auto;}
body:is(.postid-723,.postid-733) .solution-section.soft{background:#eef5e8;}
body:is(.postid-723,.postid-733) .solution-section h2{margin:0 0 24px;color:#2e6c3e;font-size:clamp(26px,2.2vw,36px);line-height:1.25;}
body:is(.postid-723,.postid-733) .solution-section>.container>p{max-width:980px;margin:0;font-size:18px;line-height:1.7;}
body:is(.postid-723,.postid-733) .solution-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
body:is(.postid-723,.postid-733) .solution-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}
body:is(.postid-723,.postid-733) .solution-card{display:flex;flex-direction:column;gap:14px;min-width:0;padding:26px;background:#fffef9;border:1px solid #dce6d4;border-radius:16px;color:inherit;text-decoration:none;box-shadow:0 5px 16px rgb(35 61 32 / 4%);}
body:is(.postid-723,.postid-733) .solution-card h3{margin:0;color:#2e6c3e;font-size:21px;line-height:1.4;}
body:is(.postid-723,.postid-733) .solution-card p{margin:0;font-size:16px;line-height:1.65;}
body:is(.postid-723,.postid-733) .solution-card .text-link{margin-top:auto;padding-top:8px;color:#2e6c3e;font-size:15px;font-weight:700;}
body:is(.postid-723,.postid-733) .solution-card:hover{border-color:#78a06b;box-shadow:0 8px 24px rgb(35 61 32 / 10%);}
body:is(.postid-723,.postid-733) .solution-card:focus-visible{outline:3px solid #2e6c3e;outline-offset:3px;}
body:is(.postid-723,.postid-733) main>.section:last-child{padding-inline:32px;}
@media(max-width:1050px){body:is(.postid-723,.postid-733) .solution-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:640px){body:is(.postid-723,.postid-733) .solution-section{padding:32px 0;}body:is(.postid-723,.postid-733) .solution-section .container{width:calc(100% - 32px);}body:is(.postid-723,.postid-733) .solution-grid,body:is(.postid-723,.postid-733) .solution-grid.two{grid-template-columns:1fr;gap:16px;}body:is(.postid-723,.postid-733) .solution-card{padding:22px;}body:is(.postid-723,.postid-733) main>.section:last-child{padding-inline:16px;}}


/* Bell pepper growth-stage articles: shared visual treatment with the approved sample. */
/* Bell pepper: full-bleed desktop featured image, fading into the title area. */
@media (min-width: 1051px) {
  body:is(.postid-736,.postid-737,.postid-738,.postid-739,.postid-740) .durian-hero {
    position: relative;
    isolation: isolate;
    display: block;
    min-height: 560px;
    padding-block: 90px;
    overflow: hidden;
    background: var(--ivory);
  }
  body:is(.postid-736,.postid-737,.postid-738,.postid-739,.postid-740) .durian-hero > .durian-hero-content {
    position: relative;
    z-index: 2;
    width: 65%;
    max-width: 900px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  body:is(.postid-736,.postid-737,.postid-738,.postid-739,.postid-740) .durian-hero > .durian-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    min-height: 0;
    margin: 0 !important;
    border-radius: 0;
    box-shadow: none;
  }
  body:is(.postid-736,.postid-737,.postid-738,.postid-739,.postid-740) .durian-hero-media img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center 47%;
  }
  body:is(.postid-736,.postid-737,.postid-738,.postid-739,.postid-740) .durian-hero-media::before {
    background: linear-gradient(90deg,
      #fffdf7 0%,
      rgba(255,253,247,.99) 28%,
      rgba(255,253,247,.94) 45%,
      rgba(255,253,247,.76) 58%,
      rgba(255,253,247,.30) 73%,
      rgba(255,253,247,0) 90%);
  }
}

/* Keep the twelve-step hierarchy clear and its table of contents. */
body:is(.postid-736,.postid-737,.postid-738,.postid-739,.postid-740) .article-content h3[id^="buoc-"] {
  margin-block: 30px 14px;
  color: var(--green);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.3;
}
body:is(.postid-736,.postid-737,.postid-738,.postid-739,.postid-740) .article-content h4 {
  margin-block: 24px 10px;
  color: var(--green);
  font-size: 1.1rem;
  line-height: 1.4;
}
body:is(.postid-736,.postid-737,.postid-738,.postid-739,.postid-740) .seedling-article-toc a.kttc-toc-substep {
  margin-left: 14px;
  font-size: .85rem;
}
body:is(.postid-736,.postid-737,.postid-738,.postid-739,.postid-740) .seedling-article-toc a.kttc-toc-substep > span {
  min-width: 30px;
  width: auto;
}

/* Consistent heading scale for the five bell-pepper articles. */
body:is(.postid-736,.postid-737,.postid-738,.postid-739,.postid-740) .article-content h2,
body:is(.postid-736,.postid-737,.postid-738,.postid-739,.postid-740) .article-content h3,
body:is(.postid-736,.postid-737,.postid-738,.postid-739,.postid-740) .article-content h4 {
  color: var(--green);
  font-weight: 700 !important;
  line-height: 1.35 !important;
  scroll-margin-top: 112px;
}
body:is(.postid-736,.postid-737,.postid-738,.postid-739,.postid-740) .article-content h2 {
  font-size: 32px !important;
  margin-block: 36px 16px;
}
body:is(.postid-736,.postid-737,.postid-738,.postid-739,.postid-740) .article-content h3,
body:is(.postid-736,.postid-737,.postid-738,.postid-739,.postid-740) .article-content h3[id^="buoc-"] {
  font-size: 24px !important;
  margin-block: 28px 12px;
}
body:is(.postid-736,.postid-737,.postid-738,.postid-739,.postid-740) .article-content h4 {
  font-size: 19px !important;
  margin-block: 22px 10px;
}
@media (max-width: 760px) {
  body:is(.postid-736,.postid-737,.postid-738,.postid-739,.postid-740) .article-content h2 { font-size: 26px !important; }
  body:is(.postid-736,.postid-737,.postid-738,.postid-739,.postid-740) .article-content h3,
  body:is(.postid-736,.postid-737,.postid-738,.postid-739,.postid-740) .article-content h3[id^="buoc-"] { font-size: 21px !important; }
  body:is(.postid-736,.postid-737,.postid-738,.postid-739,.postid-740) .article-content h4 { font-size: 18px !important; }
  body:is(.postid-736,.postid-737,.postid-738,.postid-739,.postid-740) .article-content :is(h2,h3,h4) { scroll-margin-top: 100px; }
}

body:is(.postid-736,.postid-737,.postid-738,.postid-739,.postid-740) .kttc-inline-figure{margin:28px 0;width:100%;}
body:is(.postid-736,.postid-737,.postid-738,.postid-739,.postid-740) .kttc-inline-figure img{display:block;max-width:100%;width:100%;height:auto;border-radius:14px;}
body:is(.postid-736,.postid-737,.postid-738,.postid-739,.postid-740) .kttc-inline-figure figcaption{font-size:14px;line-height:1.6;color:#596a55;margin-top:8px;}
body:is(.postid-736,.postid-737,.postid-738,.postid-739,.postid-740) .kttc-editorial-author{border-top:1px solid var(--line);padding-top:18px;margin-top:28px;}
body:is(.postid-736,.postid-737,.postid-738,.postid-739,.postid-740) .article-content :is(h2,h3,h4){overflow-wrap:break-word;}



/* Homepage responsive QC: 320px phones through desktop, 2026-10-05. */
body.home .hero .hero-copy { min-width: 0; }
body.home .hero h1,
body.home .hero h1 [data-kttc-title] {
  white-space: normal !important;
  overflow-wrap: break-word;
}
body.home :is(.choice-grid,.home-knowledge-grid,.hero-metrics) > * { min-width: 0; }
body.home :is(a,button,input,summary):focus-visible {
  outline: 3px solid #8a5a3c;
  outline-offset: 3px;
}
body.home #solution-finder { scroll-margin-top: 88px; }
body.home.mobile-menu-is-open .header-inner .mobile-menu-button {
  visibility: hidden;
  pointer-events: none;
}
@media (max-width: 900px) {
  body.home .mobile-header-search input { font-size: 16px !important; }
  body.home :is(.mobile-menu-close,.mobile-crop-filter,[data-action="select-mobile-need-goal"],[data-action="edit-finder-step"]) {
    min-height: 44px !important;
    min-width: 44px !important;
  }
}
@media (min-width: 601px) and (max-width: 900px) {
  body.home .finder .mobile-crop-list {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
}
@media (min-width: 761px) and (max-width: 1050px) {
  body.home .hero {
    min-height: 540px !important;
    padding-block: 56px !important;
  }
  body.home .finder-stepper {
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  }
  body.home .finder-stepper-item { min-width: 0; }
  body.home .home-knowledge-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 16px !important;
  }
  body.home .knowledge-home .home-knowledge-card {
    min-height: 196px;
    grid-template-columns: 40px minmax(0,1fr);
    padding: 18px;
  }
}
@media (min-width: 901px) and (max-width: 1050px) {
  body.home .finder .choice-grid.crops {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  }
}

/* Homepage banner spans the viewport; text and lower sections keep the 1450px grid. */
@media (min-width: 1051px) {
  body.home #app,
  body.home main {
    width: 100%;
    max-width: none;
  }
  body.home main > .hero {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: max(24px, calc((100% - 1402px) / 2)) !important;
  }
  body.home main > .hero .hero-copy {
    width: 100%;
    max-width: 1402px !important;
    margin-inline: auto !important;
  }
  body.home main > :not(.hero),
  body.home .site-header,
  body.home .site-footer {
    width: 100%;
    max-width: 1450px;
    margin-inline: auto;
  }
}

/* WordPress article feed above the homepage knowledge library. */
body.home .kttc-home-news { background: var(--ivory); }
body.home .kttc-news-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
body.home .kttc-news-heading .section-heading { margin: 0; max-width: 780px; }
body.home .kttc-news-heading .section-heading > p:last-child { margin-bottom: 0; }
body.home .kttc-news-all { flex-shrink: 0; min-height: 46px; }
body.home .kttc-news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
body.home .kttc-news-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(30,70,40,.05);
}
body.home .kttc-news-card:hover { border-color: var(--green); }
body.home .kttc-news-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
body.home .kttc-news-link:focus-visible { outline-offset: -4px; }
body.home .kttc-news-media { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--soft-green); }
body.home .kttc-news-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.home .kttc-news-placeholder { display: grid; place-items: center; height: 100%; color: var(--green); }
body.home .kttc-news-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px; min-width: 0; }
body.home .kttc-news-topic { color: var(--green); background: var(--soft-green); border-radius: 20px; padding: 5px 10px; font-size: 12px; font-weight: 600; line-height: 1.4; }
body.home .kttc-news-copy h3 { margin: 0; color: var(--green); font-size: 20px; font-weight: 700; line-height: 1.4; overflow-wrap: break-word; }
body.home .kttc-news-copy > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
body.home .kttc-news-read { margin-top: auto; color: var(--green); font-size: 14px; font-weight: 700; line-height: 1.5; }
@media (min-width: 601px) and (max-width: 1050px) {
  body.home .kttc-news-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
  body.home .kttc-news-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
}
@media (max-width: 600px) {
  body.home .kttc-news-heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 24px; }
  body.home .kttc-news-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  body.home .kttc-news-link { display: grid; grid-template-columns: 112px minmax(0,1fr); }
  body.home .kttc-news-media { height: 100%; aspect-ratio: auto; min-height: 150px; }
  body.home .kttc-news-copy { padding: 14px; gap: 8px; }
  body.home .kttc-news-copy h3 { font-size: 16px; line-height: 1.45; }
  body.home .kttc-news-copy > p { display: none; }
  body.home .kttc-news-topic { font-size: 11px; padding: 4px 8px; }
}
@media (max-width: 359px) {
  body.home .kttc-news-link { grid-template-columns: 92px minmax(0,1fr); }
  body.home .kttc-news-copy { padding: 12px; }
}

/* Realistic 3D library illustrations, scoped to the KTTC homepage. */
body.home .knowledge-home .home-knowledge-card {
  grid-template-columns: 88px minmax(0, 1fr);
  column-gap: 16px;
}
body.home .knowledge-home .home-knowledge-icon {
  width: 88px;
  height: 88px;
  min-width: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  grid-row: 1;
  align-self: start;
}
body.home .knowledge-home .home-knowledge-icon::before,
body.home .knowledge-home .home-knowledge-icon::after { content: none; display: none; }
body.home .knowledge-home .home-knowledge-icon img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}
body.home .knowledge-home .home-knowledge-chips { grid-column: 1 / -1; }
@media (min-width: 761px) and (max-width: 1050px) {
  body.home .knowledge-home .home-knowledge-card { grid-template-columns: 72px minmax(0, 1fr); column-gap: 12px; }
  body.home .knowledge-home .home-knowledge-icon { width: 72px; height: 72px; }
}
@media (max-width: 760px) {
  body.home .knowledge-home .home-knowledge-card { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  body.home .knowledge-home .home-knowledge-icon { width: 64px !important; height: 64px !important; grid-row: auto; }
}

/* Crop menu QC: visible keyboard focus, Escape dismissal and shared mobile controls. */
body.kttc-crop-page main [class*="-related-section"] { scroll-margin-top: 110px; }
body.kttc-crop-page main [class*="-related-section"] img:is([src*="/Anh-san-pham/"],[src$="/og-image.png"]) {
 object-fit: contain !important;
 background: #fff;
}
.crop-nav-item.kttc-menu-dismissed > .crop-menu-dropdown { display: none !important; }
.crop-nav-item:focus-within > .crop-menu-dropdown { transition: none; }
.crop-menu-tabs:has(#crop-menu-tab-industrial:focus-visible) label[for="crop-menu-tab-industrial"],
.crop-menu-tabs:has(#crop-menu-tab-fruit:focus-visible) label[for="crop-menu-tab-fruit"],
.crop-menu-tabs:has(#crop-menu-tab-greenhouse:focus-visible) label[for="crop-menu-tab-greenhouse"],
.crop-menu-tabs:has(#crop-menu-tab-staple:focus-visible) label[for="crop-menu-tab-staple"],
.crop-menu-tabs:has(#crop-menu-tab-flowers:focus-visible) label[for="crop-menu-tab-flowers"],
.crop-menu-plant-card:focus-visible {
 outline: 3px solid #8a5a3c;
 outline-offset: 2px;
}
body.mobile-menu-is-open .header-inner .mobile-menu-button { visibility: hidden; pointer-events: none; }
@media (max-width: 900px) {
 .mobile-header-search input { font-size: 16px !important; }
 .mobile-nav-drawer :is(summary,.mobile-menu-close) { min-height: 44px; }
}

/* Knowledge-library QC: long titles, tablet contents navigation and menu keyboard use. */
body.kttc-library-page main h1,
body.kttc-library-page main h1 span {
 white-space: normal !important;
 overflow-wrap: break-word;
 max-width: 100%;
 min-width: 0;
}
body.kttc-library-page main [class*="-related-section"] { scroll-margin-top: 110px; }
/* Keep the semantic table available when no mobile card alternative was rendered. */
body .article-table-wrap:not(:has(.article-table-mobile-list)) {
 overflow-x: auto !important; max-width: 100%;
 border: 1px solid rgba(34,107,63,.16) !important;
 border-radius: 14px !important; background: #fffdf7 !important;
}
body .article-table-wrap:not(:has(.article-table-mobile-list)) table { display: table !important; }
body .article-table-wrap:focus-visible { outline: 3px solid #8a5a3c; outline-offset: 3px; }
@media (max-width: 760px) {
 body .article-table-wrap:not(:has(.article-table-mobile-list))::before {
  content: "Cuộn ngang để xem đầy đủ bảng"; display: block; width: fit-content;
  position: sticky; left: 0; padding: 10px 12px; color: #2f6b3f; font-size: 13px;
 }
}
/* These imported topic headers use hero-copy without a photographic backdrop. */
body.kttc-library-page main > .hero-panel {
 display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
 align-items: center; gap: 40px; width: 100%; max-width: 1300px;
 margin-inline: auto; padding: 64px 24px;
 background: linear-gradient(105deg,#fffdf7,#edf6e8 75%,#dff2ea);
}
body.kttc-library-page .hero-panel .hero-copy { min-width: 0; max-width: 100%; }
body.kttc-library-page .hero-panel h1 {
 color: #2f6b3f !important; font-size: clamp(2rem,4.4vw,4rem) !important;
 line-height: 1.08 !important; text-shadow: none !important;
}
body.kttc-library-page .hero-panel .hero-copy p { color: #596b5d !important; font-weight: 400; text-shadow: none; }
body.kttc-library-page .hero-panel .hero-copy .eyebrow { color: #2f6b3f !important; font-weight: 800; }
body.kttc-library-page .hero-panel .hero-illustration { width: 100%; max-width: 520px; margin: 0; justify-self: end; }
body.kttc-library-page .hero-panel .hero-illustration img { display: block; width: 100%; max-width: 520px !important; height: auto; aspect-ratio: 8 / 5; object-fit: contain; border-radius: 16px; }
@media (max-width: 760px) {
 body.kttc-library-page main > .hero-panel { grid-template-columns: minmax(0,1fr); gap: 24px; padding: 36px 16px; }
 body.kttc-library-page .hero-panel .hero-illustration { max-width: 360px; justify-self: center; }
}
.knowledge-nav-item.kttc-menu-dismissed > .knowledge-menu-dropdown { display: none !important; }
.knowledge-nav-item:focus-within > .knowledge-menu-dropdown { transition: none; }
.knowledge-menu-dropdown a:focus-visible { outline: 3px solid #8a5a3c; outline-offset: 2px; }
@media (min-width: 761px) and (max-width: 1180px) {
 body.kttc-library-page main:has(.nitrogen-foundation-sidebar) > .mobile-article-toc {
  display: block !important;
  padding: 16px 24px 0;
  background: #f6fbf2;
 }
 body.kttc-library-page .mobile-article-toc details {
  border: 1px solid rgba(34,107,63,.16);
  border-radius: 14px;
  background: #fffdf7;
 }
 body.kttc-library-page .mobile-article-toc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 50px; padding: 13px 15px; color: var(--green); font-weight: 800; cursor: pointer; list-style: none;
 }
 body.kttc-library-page .mobile-article-toc summary::-webkit-details-marker { display: none; }
 body.kttc-library-page .mobile-article-toc nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; padding: 0 12px 14px; }
 body.kttc-library-page .mobile-article-toc a { display: block; padding: 12px; border-radius: 11px; background: #f1f8ee; color: var(--green); font-weight: 700; line-height: 1.4; }
}

/* Remaining-page QC: manageable catalogs and keyboard-accessible pagination. */
.kttc-catalog-count{color:#526858;margin:0 0 22px;font-size:16px}
#kttc-catalog-list{scroll-margin-top:120px}
.kttc-catalog-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;margin-top:32px}
.kttc-catalog-pagination a,.kttc-catalog-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 12px;border:1px solid #bfd3bd;border-radius:10px;background:#fff;color:#285e37;text-decoration:none}
.kttc-catalog-pagination [aria-current=page]{background:#286b3c;color:#fff;border-color:#286b3c;font-weight:700}
.kttc-catalog-pagination a:hover{background:#e6f2e3}.kttc-catalog-pagination a:focus-visible{outline:3px solid #286b3c;outline-offset:3px}
.kttc-catalog-pagination .pagination-gap{border:0;background:transparent;min-width:16px;padding:0}
.kttc-video-pending{font-size:14px;line-height:1.4;padding:8px 12px;border-radius:20px;background:#f7faf2;color:#35553c;font-weight:600}

#kttc-catalog-list .article-card-with-thumb{display:flex;flex-direction:column;overflow:hidden}
#kttc-catalog-list .article-thumb{width:100%;height:auto;min-height:0;aspect-ratio:16/9;flex:none}
#kttc-catalog-list .article-thumb img{width:100%;height:100%;object-fit:cover}
#kttc-catalog-list .article-card-copy{padding:24px;display:flex;flex-direction:column;flex:1}
#kttc-catalog-list .article-card-copy>.text-link{margin-top:auto}
#kttc-catalog-list .article-card-copy p{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.legal-section>.legal-card{padding:clamp(20px,3vw,44px)}

/* Do not let imported HTML height attributes stretch product packshots. */
.product-profile-main>img{height:auto!important;aspect-ratio:1/1!important;object-fit:contain!important;align-self:center}
#product-detail-content{scroll-margin-top:110px}
