/**
 * Smort Hero Block Styles
 */

.smort-hero {
  height: 100vh;
  max-height: 1000px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: var(--space-16);
}
.smort-hero.smort-hero-half {
  min-height: 65vh;
}

/* Gör hero-sektionen lägre för alla sidor utom startsidan */
body:not(.front-page) .smort-hero,
body:not(.front-page) .smort-hero.smort-hero-half {
  height: auto !important;
  min-height: 500px !important;
  max-height: 500px !important;
}

.smort-hero-image,
.smort-hero-video {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.smort-hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 10;
}

.smort-hero-inner {
  position: relative;
  z-index: 20;
}

.smort-hero-content {
  display: grid;
  grid-template-columns: 65% 35%;
  gap: var(--space-6);
  align-items: flex-end;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.smort-hero-left {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.smort-hero-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  align-items: flex-start;
}

.smort-hero-eyebrow {
  color: var(--color-text-light);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  opacity: 0.9;
  margin: 0;
}

.smort-hero-title {
  color: var(--color-text-light);
  font-family: var(--font-heading);
  font-size: var(--text-7xl);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin: 0;
  max-width: 800px;
}

.smort-hero-description {
  color: var(--color-text-light);
  font-size: var(--text-base);
  line-height: 1.6;
  max-width: 50ch;
  margin: 0px;
}

/* Responsive styles */
@media (width <= 1024px) {
  .smort-hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .smort-hero-title {
    font-size: 4rem;
  }

  .smort-hero-right {
    align-items: flex-start;
  }
}

@media (width <= 768px) {
  .smort-hero {
    padding-bottom: var(--space-12);
  }

  .smort-hero-content {
    gap: var(--space-6);
    padding-top: var(--space-6);
  }

  .smort-hero-title {
    font-size: 2.5rem;
  }

  .smort-hero-eyebrow {
    font-size: var(--text-xs);
  }

  .smort-hero-description {
    font-size: var(--text-sm);
  }
}
