/* GreenhouseGearHQ layout (2026-10-16): header 1 hàng sáng, hero bài nổi bật, bước trồng. */
.lay-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ast-ink); font-family: var(--ast-heading-font); flex: none; }
.lay-logo__mark svg { width: 48px; height: 48px; display: block; }
.lay-logo__word { font-weight: 800; font-size: 1.6rem; letter-spacing: -.03em; line-height: 1; }
.lay-logo__word b { color: var(--ast-accent); }
.lay-logo--footer { color: #fff; }
.lay-logo--footer .lay-logo__word b { color: var(--ast-highlight); }

.lay-bar { background: #fff; box-shadow: 0 1px 0 var(--ast-line), 0 6px 20px rgba(16, 60, 64, .05); }
.lay-bar__row { display: flex; align-items: center; gap: 22px; min-height: 80px; }
.lay-bar__nav { background: transparent; color: var(--ast-ink); margin-left: auto; }
.lay-bar__nav .ast-nav__inner { display: flex; align-items: center; gap: 6px; }
.lay-bar__nav .ast-menu > li > a { font-size: .95rem; padding: .6em .8em; }
.lay-bar__nav .ast-menu > li > a:hover, .lay-bar__nav .current-menu-item > a { background: var(--ast-accent-soft); color: var(--ast-accent); }
.lay-bar__nav .ast-menu--right .menu-item:last-child > a { background: var(--ast-accent); color: #fff; }
/* 2026-10-19: 5 mục menu (thêm Indoor Growing) không vừa 1 dòng, mục cuối rớt dòng; hẹp thì menu xuống hàng riêng */
@media (min-width: 761px) {
  .lay-bar__nav .ast-menu { flex-wrap: nowrap; }
  .lay-bar__nav .ast-menu > li > a { white-space: nowrap; padding: .6em .6em; }
}
@media (min-width: 761px) and (max-width: 1240px) {
  .lay-bar__row { flex-wrap: wrap; row-gap: 0; min-height: 0; padding-top: 10px; }
  .lay-bar__find { margin-left: auto; }
  .lay-bar__nav { order: 5; flex-basis: 100%; margin-left: 0; border-top: 1px solid var(--ast-line); }
  .lay-bar__nav .ast-nav__inner { justify-content: space-between; padding: 4px 0; }
}
.lay-bar__find { position: relative; }
.lay-bar__find summary { list-style: none; cursor: pointer; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--ast-line); display: flex; align-items: center; justify-content: center; color: var(--ast-ink); }
.lay-bar__find summary::-webkit-details-marker { display: none; }
.lay-bar__find[open] summary { border-color: var(--ast-accent); color: var(--ast-accent); }
.lay-bar__search { position: absolute; right: 0; top: calc(100% + 10px); width: 320px; background: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, .12); z-index: 60; }
.lay-ghq .ast-topbar { background: var(--ast-accent-soft); }

.lay-h { margin: 0 0 .7em; font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
.lay-kicker { margin: 0 0 .8em; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ast-accent); }

.lay-split { padding: clamp(32px, 5vw, 64px) 0; background: linear-gradient(120deg, var(--ast-accent-soft) 0 45%, var(--ast-bg) 45%); }
.lay-split__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.lay-split__title { margin: 0 0 .4em; font-size: clamp(2rem, 1.5rem + 2.4vw, 3.2rem); }
.lay-split__title span { color: var(--ast-accent); }
.lay-split__text { color: var(--ast-muted); font-size: 1.08rem; margin: 0 0 1.4em; }
.lay-split__more { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ast-line); }
.lay-split__more li { border-bottom: 1px solid var(--ast-line); }
.lay-split__more a { display: block; padding: .7em 0 .7em 1.6em; position: relative; color: var(--ast-ink); text-decoration: none; font-weight: 600; }
.lay-split__more a::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 10px; height: 10px; border-radius: 0 50%; background: var(--ast-accent); }
.lay-split__more a:hover { color: var(--ast-accent); }
.lay-lead { display: block; position: relative; border-radius: 22px; overflow: hidden; text-decoration: none; color: #fff; box-shadow: 0 24px 50px rgba(16, 60, 64, .18); background: var(--ast-dark); }
.lay-lead__img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.lay-lead__body { display: block; padding: 18px 24px 22px; background: var(--ast-dark); }
.lay-lead__tag { display: inline-block; padding: .25em .7em; border-radius: 999px; background: var(--ast-highlight); color: var(--ast-dark); font-size: .75rem; font-weight: 800; margin-bottom: 10px; }
.lay-lead__title { display: block; font-family: var(--ast-heading-font); font-weight: 800; font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); line-height: 1.25; }
.lay-lead:hover .lay-lead__title { text-decoration: underline; }

.lay-steps { padding: clamp(36px, 5vw, 64px) 0; }
.lay-steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.lay-step { position: relative; padding: 0 22px 0 0; }
.lay-step::after { content: ""; position: absolute; top: 22px; left: 56px; right: 10px; height: 2px; background: repeating-linear-gradient(90deg, var(--ast-accent) 0 8px, transparent 8px 14px); }
.lay-step:last-child::after { display: none; }
.lay-step__n { display: flex; width: 46px; height: 46px; border-radius: 50%; background: var(--ast-accent); color: #fff; font-weight: 800; font-size: 1.15rem; align-items: center; justify-content: center; margin-bottom: 14px; }
.lay-step__h { display: block; font-family: var(--ast-heading-font); font-weight: 800; font-size: 1.15rem; color: var(--ast-ink); text-decoration: none; }
.lay-step__h:hover { color: var(--ast-accent); }
.lay-step__cat { display: block; font-size: .8rem; color: var(--ast-muted); margin: 2px 0 10px; }
.lay-step ul { list-style: none; margin: 0; padding: 0; font-size: .93rem; }
.lay-step li { margin: .3em 0; }
.lay-step li a { text-decoration: none; }
.lay-step li a::before { content: "→ "; }

.lay-latest { padding: clamp(36px, 5vw, 64px) 0; background: var(--ast-soft); }
.lay-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 26px; }
.lay-grid3 .ast-card { background: #fff; border-radius: 16px; padding: 12px; box-shadow: 0 1px 0 var(--ast-line); }
.lay-grid3 .ast-card__body { padding: 12px 6px 6px; }

.lay-arch__lead { margin-bottom: 34px; }
.lay-big { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; background: var(--ast-accent-soft); border-radius: 20px; padding: 18px; }
.lay-big__img { display: block; border-radius: 14px; overflow: hidden; }
.lay-big__img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.lay-big__meta { font-size: .82rem; color: var(--ast-muted); }
.lay-big__meta a { font-weight: 700; text-decoration: none; }
.lay-big__title { margin: .25em 0 .4em; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.lay-big__title a { color: var(--ast-ink); text-decoration: none; }
.lay-big__excerpt { color: var(--ast-muted); margin: 0; }

/* bài viết: cột phụ bên trái */
.lay-ghq .ast-single { grid-template-columns: 260px minmax(0, var(--ast-content)); }
.lay-ghq .ast-single--notoc { grid-template-columns: minmax(0, var(--ast-content)); }
.lay-ghq .ast-single__side { order: -1; }
.lay-ghq .ast-article__title { border-left: 6px solid var(--ast-accent); padding-left: 16px; }

@media (max-width: 1080px) {
  .lay-bar__nav .ast-menu > li > a { padding: .6em .55em; font-size: .9rem; }
  .lay-steps__list { grid-template-columns: 1fr 1fr; gap: 30px 0; }
  .lay-step:nth-child(2)::after { display: none; }
}
@media (max-width: 960px) {
  .lay-ghq .ast-single { grid-template-columns: minmax(0, var(--ast-content)); }
  .lay-ghq .ast-single__side { order: 0; }
}
@media (max-width: 860px) {
  .lay-split { background: var(--ast-accent-soft); }
  .lay-split__grid { grid-template-columns: 1fr; gap: 28px; }
  .lay-grid3 { grid-template-columns: 1fr 1fr; }
  .lay-big { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 760px) {
  .lay-bar { position: relative; }
  .lay-bar__row { min-height: 64px; gap: 10px; flex-wrap: wrap; }
  .lay-logo { min-width: 0; margin-right: auto; }
  .lay-logo__mark svg { width: 38px; height: 38px; }
  .lay-logo__word { font-size: 1.25rem; }
  .lay-bar__nav { order: 5; flex-basis: 100%; margin: 0 -16px; background: var(--ast-dark); color: #fff; }
  .lay-bar__nav.is-open { display: block; }
  .lay-bar__nav .ast-nav__inner { flex-direction: column; align-items: stretch; padding: 8px 16px 14px; }
  .lay-bar__nav .ast-menu > li > a:hover { color: #fff; }
  .lay-bar__search { width: calc(100vw - 32px); right: -52px; }
  .lay-steps__list { grid-template-columns: 1fr; }
  .lay-step::after { display: none; }
  .lay-grid3 { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .lay-logo__word { font-size: 1.1rem; }
  .lay-logo__mark svg { width: 32px; height: 32px; }
}

/* ===== Bài viết (2026-10-16): đầu bài chia đôi, thẻ bo tròn viền trên xanh ===== */
.lay-phead { background: linear-gradient(180deg, var(--ast-accent-soft), var(--ast-bg)); padding: 28px 0 34px; }
.lay-phead__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.lay-phead .ast-article__head { margin: 0; }
.lay-phead__img { margin: 0; }
.lay-phead__img img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: 0 20px 44px rgba(16, 60, 64, .16); }
.lay-ghq .ast-single { padding-top: 34px; }
.lay-ghq .affshelf-card { border: 0; border-top: 6px solid var(--ast-accent); border-radius: 18px; background: #fff; box-shadow: 0 6px 24px rgba(16, 60, 64, .08); padding: 1.4em; }
.lay-ghq .affshelf-card__n { top: -1.1em; left: auto; right: 1.2em; min-width: 2.4em; height: 2.4em; line-height: 2.4em; font-size: 1rem; background: var(--ast-highlight); color: var(--ast-dark); }
.lay-ghq .affshelf-btn, .lay-ghq .affshelf-compare__buy { border-radius: 999px; }
.lay-ghq .affshelf-pc__pros { background: #E8F4EE; border-radius: 14px; }
.lay-ghq .affshelf-pc__cons { background: #FBEDEA; border-radius: 14px; }
.lay-ghq .affshelf-tab { border: 1px solid var(--ast-line); border-radius: 12px; padding: 0 1em; margin: .5em 0; background: var(--ast-bg); }
.lay-ghq .affshelf-tab > summary { padding: .7em 0; color: var(--ast-accent); font-weight: 700; }
.lay-ghq .affshelf-compare, .lay-ghq .ast-table-scroll { border-radius: 16px; overflow: hidden; border: 1px solid var(--ast-line); }
.lay-ghq .affshelf-compare thead th, .lay-ghq .ast-content table thead th { background: var(--ast-accent); color: #fff; }
.lay-ghq .ast-content > h2 { display: flex; align-items: center; gap: 12px; }
.lay-ghq .ast-content > h2::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 0 50%; background: var(--ast-accent); }
.lay-ghq .lay-latest { margin-top: 20px; }
@media (max-width: 860px) {
  .lay-phead__grid { grid-template-columns: 1fr; gap: 20px; }
}
