@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Display:wght@100..900&family=Syne:wght@400..800&display=swap');

/* ===========================
   STORY SECTION — SCOPED CSS
=========================== */

.story-section {
    width: 100%;
    padding: 100px 0;
}

.story-section .container {
    width: 90%;
    max-width: 1500px;
    margin: 0 auto;
}

/* ===========================
   HEADING
=========================== */

.story-section .heading {
    display: flex;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    width: 100%;
    margin: 0 0 24px 0;
    padding: 0;
}

.story-section .heading h1 {
    font-family: "Noto Serif Display", serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 34px;
    letter-spacing: 0;
    word-spacing: -1px;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ===========================
   STORY ROW
=========================== */

.story-section .story-row {
    display: grid;
    grid-template-columns: 1fr 360px 1fr;
    align-items: start;
    position: relative;
    padding: 24px 0;
}

.story-section .story-row::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #d8d8d8;
}

/* ===========================
   TITLE
=========================== */

.story-section .story-title {
    padding-right: 20px;
}

.story-section .story-title h2 {
    font-family: "Noto Serif Display", serif;
    font-size: 25px;
    font-weight: 600;
    line-height: 30px;
    margin: 0;
    padding: 0;
}

/* ===========================
   IMAGE
=========================== */

.story-section .story-image {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    height: 180px;
    overflow: visible;
}

.story-section .story-image img {
    width: 320px;
    height: 300px;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    transform: scale(.9);
    transition: .4s ease;
}

.story-section .story-row:hover .story-image img {
    opacity: 1;
    visibility: visible;
    transform: scale(1.05);
}

/* ===========================
   CONTENT
=========================== */

.story-section .story-content {
    margin-left: 20px;
    color: #5d5d5d;
}

.story-section .story-content p {
    font-family: "Syne", sans-serif;
    font-size: 14px;
    line-height: 1.9;
}

/* ===========================
   TABLET
=========================== */

@media (max-width: 1200px) {

    .story-section .story-row {
        grid-template-columns: 1fr 320px 1fr;
        gap: 40px;
    }

    .story-section .heading {
        justify-content: flex-start !important;
        align-items: flex-start !important;
    }

    .story-section .heading h1 {
        font-size: 30px;
        line-height: 34px;
        text-align: center !important;
    }

    .story-section .story-title h2 {
        font-size: 25px;
        line-height: 30px;
    }

    .story-section .story-image {
        height: auto;
    }

    .story-section .story-image img {
        width: 100%;
        max-width: 320px;
        height: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}

/* ===========================
   MOBILE
=========================== */

@media (max-width: 992px) {

    .story-section {
        padding: 60px 0;
    }

    .story-section .container {
        width: 92%;
    }

    .story-section .heading {
        display: block;
        margin: 0 0 24px 0;
        text-align: left !important;
    }

    .story-section .heading h1 {
        font-size: 30px;
        line-height: 34px;
        letter-spacing: 0;
        word-spacing: -1px;
        text-align: left !important;
    }

    .story-section .story-row {
        display: flex;
        flex-direction: column;
        padding: 20px 0;
    }

    .story-section .story-title {
        padding-right: 0;
        margin-bottom: 12px;
    }

    .story-section .story-title h2 {
        font-size: 25px;
        line-height: 30px;
    }

    .story-section .story-image {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }

    .story-section .story-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .story-section .story-content {
        margin-left: 0;
        margin-top: 0;
    }

    .story-section .story-content p {
        font-size: 15px;
        line-height: 1.8;
        margin: 0;
    }
}

/* ===========================
   SMALL MOBILE
=========================== */

@media (max-width: 576px) {

    .story-section .heading {
        margin-bottom: 24px;
        text-align: left !important;
    }

    .story-section .heading h1 {
        font-size: 30px;
        line-height: 34px;
        letter-spacing: 0;
        word-spacing: -1px;
        text-align: left !important;
    }

    .story-section .story-title h2 {
        font-size: 25px;
        line-height: 30px;
    }

    .story-section .story-image {
        margin-bottom: 8px;
    }

    .story-section .story-content p {
        font-size: 18px;
        line-height: 24px;
        font-family: "Syne", sans-serif;
    }
}