/* home-v3.css — 首頁 v3（第 14 批，2026-11-19）：第一屏只留主標、副標、兩顆鈕；摘要與合作句移到頁尾上方細字；溫室入口卡。
   來源：team/homepage-redesign/redesign-v3.css（拿掉草稿橫幅；圖片改站內路徑）。只在首頁載入。 */

:root body { --nav-h: 64px; --prospectus: #534f4a; --prospectus-bg: #f4f1ea; }

/* 英雄區本體不再撐滿 70vh，底圖改放到第一屏舞台，後面區塊才接得上地圖與天氣 */
:root body #hero.hero {
  min-height: 0 !important;
  height: auto !important;
  display: block !important;
  justify-content: flex-start !important;
  padding-top: var(--nav-h) !important;
  background-image: none !important;
  background-color: transparent !important;
  overflow: visible;
  color: inherit;
}

:root body .hero-stage {
  position: relative;
  z-index: 0; /* 第 18 批：自成疊放層，影片（z-index:-2）與遮罩（-1）才會畫在本區底圖之上，不被底圖蓋住 */
  min-height: calc(100svh - var(--nav-h));
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  overflow: hidden;
  padding: 80px 0 56px;
  background-color: #14532d;
  background-image: url("/images/草莓地圖.jpg");
  background-image: image-set(
    url("/images/草莓地圖-843.webp") type("image/webp"),
    url("/images/草莓地圖.jpg") type("image/jpeg")
  );
  background-size: cover;
  background-position: center;
}

:root body .hero-stage .hero-video-wrapper,
:root body .hero-stage .hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

:root body .hero-stage .hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

:root body .hero-stage .hero-title {
  font-size: 40px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
  margin: 0 0 14px;
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

:root body .hero-lead {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  color: #fff !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .55);
  margin: 0 0 28px;
  max-width: 26em;
}
:root body .hero-lead .lead-n {
  font-weight: 800;
  font-size: 1.2em;
}

:root body .hero-stage .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}
:root body .hero-stage .hero-actions .btn {
  min-height: 44px;
  min-width: 44px;
  padding: 0 18px;
  font-weight: 800;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}
:root body .hero-stage .hero-main-cta {
  background: #15803d !important;
  border-color: #14532d !important;
  color: #fff !important;
}
:root body .hero-stage .hero-chat-cta {
  background: rgba(15, 23, 42, .35);
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, .7);
}

/* 從第一屏移出但仍留在 #hero 的原標語、舊按鈕、三張說明卡 */
:root body .hero-moved,
:root body .hero-highlights {
  background: #163322;
  color: #fff;
  position: relative;
  z-index: 1;
}
:root body .hero-moved { padding: 28px 16px 12px; }
:root body .hero-former-title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
}
:root body .hero-moved .hero-actions { margin-top: 8px; }
:root body .hero-highlights { padding-bottom: 32px; }

/* 公開說明書式細字：頁尾上方，可見、不收合、不 aria-hidden */
:root body .about-site.prospectus {
  padding: 20px 0 24px;
  background: var(--prospectus-bg);
  border-top: 1px solid #e4dfd4;
}
:root body .prospectus-inner { max-width: 42em; }
:root body .about-site.prospectus #about-site-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--prospectus);
  margin: 0 0 8px;
}
:root body .about-site.prospectus #site-summary,
:root body .about-site.prospectus .hero-summary,
:root body .about-site.prospectus .hero-operator {
  font-size: 12px;
  line-height: 1.6;
  color: var(--prospectus) !important;
  margin: 0 0 8px;
  text-shadow: none !important;
  opacity: 1;
  max-width: none;
}
:root body .about-site.prospectus .hero-operator { margin-bottom: 0; }
:root body .about-site.prospectus [data-bind] {
  font-weight: 700;
  background: none;
  border-radius: 0;
  padding: 0;
  color: inherit;
}

@media (min-width: 720px) {
  :root body .hero-stage .hero-title { font-size: 56px; }
  :root body .hero-lead { font-size: 18px; margin-bottom: 32px; max-width: none; }
  :root body .about-site.prospectus #about-site-title,
  :root body .about-site.prospectus #site-summary,
  :root body .about-site.prospectus .hero-summary,
  :root body .about-site.prospectus .hero-operator {
    font-size: 13px;
  }
}


/* 溫室入口：線上英雄區「看此刻的溫室」同一連結，放到地圖與天氣之間，不進第一屏 */
:root body #greenhouse-monitor {
  padding: 28px 0 8px;
  background: #f9fafb;
}
:root body #greenhouse-monitor .gh-monitor-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 20px 20px;
  background: #ffffff;
  border: 1px solid rgba(22, 163, 74, 0.28);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
:root body #greenhouse-monitor .gh-monitor-kicker {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #166534;
}
:root body #greenhouse-monitor #greenhouse-monitor-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #14532d;
  line-height: 1.25;
}
:root body #greenhouse-monitor #btnGreenhouseMonitor {
  min-height: 44px;
  min-width: 44px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  border-radius: 999px;
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
  box-shadow: 0 12px 30px rgba(22, 163, 74, 0.35);
}
@media (min-width: 720px) {
  :root body #greenhouse-monitor {
    padding: 36px 0 12px;
  }
  :root body #greenhouse-monitor .gh-monitor-card { padding: 24px 28px; }
  :root body #greenhouse-monitor #greenhouse-monitor-title { font-size: 26px; }
}
