/* c-storyslides.css — copied from components/StorySlides/StorySlides.css
   The template shipped plain global CSS, so the class names here are already
   the ones the markup uses. */

.stories {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
}

.stories h1 {
  color: var(--base-100);
  text-transform: none;
  font-family: "Archivo";
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
}

.stories p {
  color: var(--base-100);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
}

.stories a {
  color: var(--base-100);
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Familjen Grotesk";
  font-size: 0.9rem;
  font-weight: 900;
  -webkit-font-smoothing: antialiased;
}

.stories .story-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100svh;
  overflow: hidden;
  opacity: 0.75;
}

.stories .img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.stories .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.stories .story-content {
  position: absolute;
  padding: 2rem 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stories .row {
  width: 100%;
}

.stories .indices {
  width: 100%;
  height: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.25em;
}

.stories .index {
  position: relative;
  width: 100%;
  height: 0.25rem;
  border-radius: 2rem;
  background: var(--base-100);
  overflow: hidden;
}

.stories .index-highlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--base-500);
  transform: scaleX(100%);
  will-change: transform;
}

.stories .profile {
  width: 100%;
  height: 60px;
  display: flex;
  gap: 1em;
  align-items: center;
}

.stories .profile-icon {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  overflow: hidden;
}

.stories .profile-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stories .profile-name {
  position: relative;
  width: 200px;
  height: 18px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.stories .title {
  margin-bottom: 2rem;
}

.stories .title-row {
  position: relative;
  width: 100%;
  height: 2.5rem;
  overflow: hidden;
}

.stories .title-row h1 {
  text-transform: uppercase;
  font-family: "Big Shoulders Display";
  font-weight: 900;
  line-height: 1;
}

.stories .link {
  position: relative;
  width: max-content;
  margin: 2rem 0;
  padding: 0.25rem 0;
}

.stories .title-row h1,
.stories .profile-name p {
  position: absolute;
  top: 0;
  will-change: transform;
}

.stories .stories-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.stories .stories-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.stories .stories-footer p {
  text-transform: uppercase;
  font-family: "Geist Mono";
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--base-100);
  letter-spacing: 0.1rem;
}

@media (max-width: 1000px) {
  .stories .story-content {
    width: 100%;
    padding: 1.25rem 1.25rem 5rem 1.25rem;
  }

  .stories .indices {
    margin-top: 10rem;
  }

  .stories h1 {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0;
  }

  .stories .title-row {
    height: 2rem;
  }
}
