.story-continuation-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2em;
    width: 100%;
    padding: 40px 20px;
    overflow-x: hidden;
}

.story-continuation-texts {
    display: grid;
    gap: 18px;
    justify-items: end;       
}

.sc__p {
    font-family: var(--first-family);
    font-weight: 600;
    font-size: 30px;
    line-height: 100%;
    letter-spacing: -0.02em;
    color: #010101;
    margin: 0;
    text-align: left;
}

.sc__p.text-reveal {
  position: relative;
}

.sc__p--1 {
  text-indent: 0;
  max-width: none;
}
.sc__p--2 {
  max-width: none;
}
.sc__p--3 {
  max-width: none;
}

.sc__p--1 .line:first-child {
  text-indent: 22ch;
}
.sc__p--1 .line {
  max-width: 64ch;
}
.sc__p--2 .line {
  max-width: 56ch;
}
.sc__p--3 .line {
  max-width: 48ch;
}

.story-continuation-figure {
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
}

.sc__img {
    display: block;
    width: 100%;
    max-width: 770px;
    height: auto;
    max-height: 1025px;
    object-fit: cover;
}


@media (max-width: 1200px) {

    .story-continuation-container {
        gap: 28px;
        padding: 36px 18px;
    }
}

@media (max-width: 992px) {
    .story-continuation-container {
        gap: 24px;
        padding: 32px 18px;
    }
}

@media (max-width: 768px) {
    .story-continuation-container {
        gap: 20px;
        padding: 28px 16px;
    }

    .story-continuation-texts {
        justify-items: start;
    }

    .sc__p {
        text-align: left;
        font-size: 15px;
    }

    .story-continuation-figure {
        order: 2;                 
    }
}

@media (max-width: 480px) {
    .sc__p {
        font-size: 18px;
        line-height: 150%;
        max-width: none;
        text-indent: inherit;
    }
}

.sc__p.text-reveal .line {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(to right, #010101 100%, transparent 0%);
    background-size: calc(var(--mask-width, 0%) + 1px) 100%;
    background-repeat: no-repeat;
    color: #aaa;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-size 0.8s ease;
}