/* Homepage-only styles for Green Basket (style ID cabb50) */

.cabb50-home .cabb50-hero {
  padding-top: 14px;
}

.cabb50-home .cabb50-hero h1 {
  max-width: 15ch;
}

.cabb50-home .cabb50-hero-aside {
  position: relative;
  padding-left: 22px;
}
.cabb50-home .cabb50-hero-aside::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), rgba(194,69,155,0));
}

/* Grid section: 3 x 2 bento */
.cabb50-home .cabb50-grid .cabb50-card:nth-child(1) {
  grid-column: span 2;
  grid-row: span 1;
}
.cabb50-home .cabb50-grid .cabb50-card:nth-child(1) h3 {
  font-size: 27px;
  max-width: 24ch;
}
.cabb50-home .cabb50-grid .cabb50-card:nth-child(1) p {
  font-size: 15.5px;
  max-width: 52ch;
}

/* Compare table: monospace, tighter */
.cabb50-home .cabb50-compare table th:first-child,
.cabb50-home .cabb50-compare table td:first-child {
  font-weight: 600;
  white-space: nowrap;
}

/* Section numbering accent */
.cabb50-home .cabb50-section:nth-of-type(even) .cabb50-sec-num {
  color: #8fd8b0;
}

/* Newsletter block emphasis */
.cabb50-home .cabb50-newsletter {
  border-left: 2px solid var(--accent);
}

.cabb50-home .cabb50-tags {
  max-width: 100%;
}

@media (max-width: 1080px) {
  .cabb50-home .cabb50-grid .cabb50-card:nth-child(1) {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .cabb50-home .cabb50-grid .cabb50-card:nth-child(1) {
    grid-column: span 1;
  }
  .cabb50-home .cabb50-hero h1 { max-width: none; }
}
