
.ahg-air-page {
  background: #faf8f1;
  color: #1f2937;
  min-height: 100vh;
}

.ahg-tool-shell,
.ahg-facts-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0;
}

.ahg-tool-hero {
  background: linear-gradient(135deg, #f0fdf4, #fffdf4);
  border-bottom: 1px solid rgba(47, 111, 78, 0.12);
}

.ahg-eyebrow,
.ahg-facts-eyebrow {
  color: #2f6f4e;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.ahg-tool-hero h1,
.ahg-facts-hero h1 {
  color: #17351f;
  margin: 0.2rem 0 0.75rem;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.ahg-tool-hero p,
.ahg-facts-subtitle {
  color: #52675a;
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 78ch;
}

.ahg-air-note {
  padding: 0.75rem 1rem;
  border-left: 4px solid #2f6f4e;
  background: rgba(255,255,255,0.72);
  border-radius: 0.75rem;
}

.ahg-tool-buttons,
.ahg-back-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.ahg-tool-button,
.ahg-plant-facts-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 999px;
  background: #17351f;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 950;
  padding: 0.72rem 1rem;
  border: 1px solid #17351f;
}

.ahg-tool-button.secondary {
  background: #ffffff;
  color: #17351f !important;
}

.ahg-air-grid,
.ahg-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 1rem;
}

.ahg-air-card,
.ahg-fact-panel,
.ahg-facts-image-card {
  background: #fff;
  border: 1px solid rgba(47, 111, 78, 0.14);
  border-radius: 1.25rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  padding: 1rem;
}

.ahg-air-card img,
.ahg-facts-image-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1rem;
  background: #f8fafc;
}

.ahg-air-card h3,
.ahg-fact-panel h2 {
  color: #17351f;
}

.ahg-air-badge-row,
.ahg-air-tags,
.ahg-fact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.6rem 0;
}

.ahg-air-badge-row span,
.ahg-air-tags span,
.ahg-fact-tag {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  background: #ecfccb;
  color: #365314;
  border: 1px solid #bef264;
  font-size: 0.76rem;
  font-weight: 950;
}

.ahg-facts-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.25rem;
  align-items: start;
}

.ahg-facts-image-fallback,
.ahg-type-icon {
  display: grid;
  place-items: center;
  min-height: 180px;
  border-radius: 1rem;
  background: linear-gradient(135deg, #17351f, #2f6f4e);
  color: white;
  font-size: 2.4rem;
  font-weight: 950;
}

.ahg-type-icon {
  min-height: 96px;
}

.ahg-fill-master__badge--air {
  background: #ecfeff;
  color: #155e75;
  border: 1px solid #67e8f9;
}

.ahg-fill-master button[data-filter="plant-type:air-purifying"] {
  background: #ffffff;
  color: #17351f;
  border-color: rgba(47, 111, 78, 0.22);
  box-shadow: none;
  font-weight: 850;
}

.ahg-fill-master button[data-filter="plant-type:air-purifying"][aria-pressed="true"] {
  background: #17351f;
  color: #ffffff;
  border-color: #17351f;
  box-shadow: 0 10px 22px rgba(23, 53, 31, 0.22);
  font-weight: 950;
}

@media (max-width: 780px) {
  .ahg-facts-hero {
    grid-template-columns: 1fr;
  }
}
