/*
 * Custom styles for the “Start Here” featured guides section on the home page.
 *
 * This file defines a responsive grid and card layout to showcase the two pillar
 * resources (QSBS & Section 1202 guide and Washington State Taxes guide). It
 * leverages the Bold theme’s spacing, color and typography variables for a
 * cohesive look and feel.
 */

.featured-guides {
  padding: calc(var(--base-spacing) * 6) 0;
  background-color: var(--background);
}

.featured-guides-title {
  font-size: 2rem;
  font-weight: var(--headings-weight);
  margin: 0 0 calc(var(--base-spacing) * 4);
  color: var(--foreground);
}

.featured-guides-grid {
  display: grid;
  gap: calc(var(--base-spacing) * 4);
}

@media only screen and (min-width: 45rem) {
  .featured-guides-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.featured-guide {
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: var(--base-border-radius);
  padding: calc(var(--base-spacing) * 4);
  background-color: var(--secondary-background, var(--background));
  box-shadow: var(--box-shadow, 0 1px 2px rgb(0 0 0 / 0.05));
}

.featured-guide h3 {
  margin: 0 0 calc(var(--base-spacing) * 2);
  font-size: 1.375rem;
  font-weight: var(--headings-weight);
  color: var(--foreground);
}

.featured-guide h3 a {
  color: inherit;
  text-decoration: none;
}

.featured-guide h3 a:hover {
  text-decoration: underline;
}

.featured-guide p {
  margin: 0 0 calc(var(--base-spacing) * 2);
  color: var(--light-text);
  line-height: 1.5;
}

.featured-guide-link {
  color: var(--accent-color, var(--accent));
  font-weight: 600;
  text-decoration: none;
}

.featured-guide-link:hover {
  text-decoration: underline;
}