/* ==========================================
   STORY SECTION
========================================== */

.story {
    position: relative;
    padding: 100px 20px;
    background: url(../media/background.jpg);
    z-index: 0;

}

.story::before {
    content: '';
    background: rgba(255, 255, 255, 0.767);
    position: absolute;
    inset: 0;
    z-index: 0;
}

.card-story {
    max-width: 750px;
    margin: auto;
    text-align: center;
    z-index: 2;
}

/* ==========================================
   TITLE
========================================== */


/* ==========================================
   COVER IMAGE
========================================== */

.story-cover {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* ==========================================
   STORY TITLE
========================================== */

.story-title {
    font-family: var(--heading-font);
    font-size: 26px;
    margin-bottom: 8px;
    color: var(--primary-color);
}

/* ==========================================
   TIMELINE DATE
========================================== */

.timeline {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
}

.timeline::after {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background: var(--secondary-color);
    margin: 10px auto 0;
    opacity: 0.6;
}

/* ==========================================
   CONTENT
========================================== */

.story-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-color);
    opacity: 0.85;
    margin-bottom: 60px;
    white-space: pre-line;
}

/* ==========================================
   MULTIPLE STORIES SEPARATOR
========================================== */

.card-story>*:not(:last-child) {
    margin-bottom: 30px;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 600px) {

    .story {
        padding: 80px 20px;
    }

    .story .section-title {
        font-size: 30px;
    }

    .story-title {
        font-size: 22px;
    }

    .story-content {
        font-size: 14px;
    }

}