.story {
    width: 100%;
    min-height: 100vh;
    text-align: center;
    padding: 10rem 8rem;
    position: relative;
}

.story h2 {
    font-family: var(--great-vibes);
    font-size: var(--fontSize-heading-base);
    font-weight: 400;
}

.story .story-content {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.story .story-item {
    max-width: 54rem;
    width: 100%;
}

/* Item cerita yang memakai gambar: teks & foto berdampingan.
   Item ke-1, ke-3, ... foto di kanan; item ke-2, ke-4, ... otomatis foto di kiri.
   Untuk menambah gambar pada cerita lain cukup tambahkan class "story-item--media"
   dan <figure class="story-item-photo"> di dalam item-nya. */
.story .story-item--media {
    max-width: 64rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.story .story-item--media:nth-of-type(even) {
    flex-direction: row-reverse;
}

/* Item cerita yang gambarnya di bawah teks dan rata tengah (bukan kanan-kiri). */
.story .story-item--center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.story .story-item--center .story-item-photo {
    flex: 0 0 auto;
    width: 100%;
    max-width: 18rem;
}

.story .story-item-text {
    min-width: 0;
}

.story .story-item--media .story-item-text {
    flex: 1;
}

.story .story-item-photo {
    flex: 0 0 17rem;
    max-width: 100%;
    margin: 0;
    padding: 0.5rem;
    border: 2px solid var(--gold-color);
    border-radius: 1.2rem;
    background-color: rgba(244, 235, 221, 0.85);
    overflow: hidden;
}

.story .story-item-photo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0.8rem;
}

.story .story-item h3 {
    font-family: var(--great-vibes);
    font-size: 2rem;
    font-weight: 400;
}

.story .story-item span {
    display: block;
    margin: 0.3rem 0 0.6rem;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.story .story-item p {
    margin-top: 0.5rem;
}

