.story-wrapper {
    position: relative;
    border-radius: 10px;
    background: rgba(246, 243, 238, 0.01);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    /* bez border-a i bez onog duplog background-a */
    padding: 20px;
    height: auto;
    text-align: center;
}

.story-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 1px; /* debljina bordera */
    background: linear-gradient(225deg, rgba(187, 154, 112, 0.1), rgba(187, 154, 112, 1));
    -webkit-mask:
            linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    padding: 1px 1px 8px;
}

.story-wrapper .feature-image img {
    width: 100%;
    height: 370px;
    border-radius: 10px;
    object-fit: cover;
}

.story-info {
    padding: 0 20px 20px 20px;
    margin-top: 30px;
}

.story-date {
    font-size: 12px;
    line-height: 26px;
    color: rgba(19, 38, 52, .5);
    margin-bottom: 20px;
}

.story-info h3 {
    font-family: "Onest", sans-serif;
    font-size: 30px;
    line-height: 30px;
    font-weight: 500;
    color: var(--dark-blue);
    margin-bottom: 20px;
    text-transform: initial;
}

.story-info .excerpt {
    color: rgba(19, 38, 52, .5);
}

.left-arrow {
    left: -130px;
}

.right-arrow {
    right: -130px;
}

.stories-container {
    position: relative;
}

.stories-row {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 20px;
}

.story-wrapper {
    width: calc(33.33% - 20px);
}

.stories-container {
    max-width: 1540px;
    padding-inline: 20px;
    width: 100%;
    margin-inline: auto;
}

.stories-section {
    padding-block: 80px;
}

.stories-more-button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
}

.stories-row .outline-button {
    display: none;
}

@media(max-width: 991px) {
    .story-wrapper {
        width: calc(50% - 20px);
    }

    .stories-section {
        padding-block: 60px;
    }

    .stories-more-button {
        margin-top: 40px;
    }

    .story-wrapper .feature-image img {
        height: 295px;
    }


    .story-wrapper  {
        height: auto;
        display: flex;
        flex-direction: column;
    }


    .story-info {
        height: calc(100% - 295px);
    }

    .stories-row .outline-button {
        display: inline-block;
        margin-top: 40px;
    }
}


@media(max-width: 768px) {
    .story-wrapper {
        width: 100%;
    }
}

@media(max-width: 575px) {
    .stories-section {
        padding-block: 40px;
    }

    .stories-more-buuton {
        margin-top: 30px;
    }

    .story-wrapper:before {
        background: linear-gradient(180deg, rgba(187, 154, 112, 0.1), rgba(187, 154, 112, 1));
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
    }

    .story-info {
        margin-top: 20px;
        padding: 0 20px 0;
    }

    .story-date {
        margin-bottom: 10px;
    }

    .story-info h3 {
        font-size: 20px;
        line-height: 24px;
        letter-spacing: -1px;
    }

    .story-info .excerpt {
        display: none;
    }

    .story-wrapper .feature-image img {
        height: 185px
    }

    .story-info {
        height: calc(100% - 185px);
    }

    .stories-container {
        padding-inline: 10px;
    }

    .stories-row .outline-button {
        margin-top: 0;
    }

    .story-wrapper {
        padding-bottom: 30px;
    }
}