/**
 * Hero section
 * Depends: design/tokens.css, design/buttons.css
 */

.hero {
  padding: var(--section-padding-y) var(--content-gutter);
  min-height: var(--section-min-screen);
  display: flex;
  align-items: center;
}

.hero__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 768px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
  }
}

.hero__title {
  margin: 0 0 var(--rhythm-h1-after);
}

.hero__subtitle {
  line-height: var(--site-line-height, var(--leading-relaxed));
  margin: 0;
}

.hero__subtitle a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.hero__subtitle strong,
.hero__subtitle b {
  font-weight: 700;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--rhythm-actions-before);
}

.hero__media {
  position: relative;
}

.hero__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-image, 0.5rem);
  object-fit: cover;
}

/* Exempel */
.hero {
  background-color: var(--color-bg-alt);
}

.hero__title {
  color: var(--color-dark);
}

.hero__subtitle {
  color: var(--color-text);
}
/* Exempel */
