#section-1 {
    position: relative;
}

#section-1 .content-container {
    position: relative;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

#section-1 h1 {
    text-transform: uppercase;
}

h1 h2 h3 h4 h5 {
    color: white;
}

#section-detail-2 .story-descrip h1 {
    font-size: 30px;
    font-family: "Gill-Sans-Medium";
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #212529;
}

.story-descrip h1,
.story-descrip h2,
.story-descrip h3,
.story-descrip h4,
.story-descrip h5 {
    color: #212529;
    font-size: 18px;
    font-family: unset !important;
    line-height: unset !important;
    letter-spacing: unset !important;
}

.stories-card .thumbnail-image {
    border-radius: 56px 0px 56px 0px;
    height: 290px;
    object-fit: cover;
}

.read-more-btn {
    border: 0;
    font-size: 0.9em;
    letter-spacing: 0.1em;
    font-family: "Gill-Sans-Medium";
    text-transform: capitalize;
    padding: 6px 12px;
    background-color: #a21717;
    border-radius: 16px 0px 16px 0px;
}

.height-content {
    height: 550px;
}

.read-more-btn a {
    color: #fff !important;
}

.paragraph-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
    text-overflow: ellipsis;
}

.title-words {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.font-red {
    color: #a21717;
}

.p-15 {
    font-size: 1.5rem;
}

.p-20 {
    font-size: 1.25rem;
}

h2 {
    font-size: 25px;
    font-family: "Gill-Sans-Medium";
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.column {
    padding: 0 5%;
    text-align: left;
    width: 50%;
}

.q-container {
    padding: 0 15vw;
    width: 100%;
}

#section-1 .column:nth-child(2) {
    margin-top: 40vh;
}

#section-1 .column h1 {
    font-family: "Gill-Sans";
    font-size: 25px;
    line-height: 150%;
    letter-spacing: unset;
}

#section-1 .column .description-container {
    color: #676767;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

#section-1 .column:nth-child(2) .bg-story {
    background-position: 69%;
}

/*story detail*/
#section-detail-title {
    margin-bottom: -15%;
    padding-bottom: 0vh;
}

#section-detail-title h1 {
    letter-spacing: 0.2em;
}

#section-detail {
    position: relative;
    background: #f5f5f5;
    border-top-left-radius: 300px;
    padding-top: 14vw;
    margin: 0 5rem;
    z-index: -1;
}

#section-detail-2 {
    background: #f5f5f5;
    margin: 0 5rem;
}

.intersection-bg {
    position: absolute;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 100%;
    width: 100%;
    top: -60%;
    left: 50%;
    transform: translate(-50%, 0);
}

#section-detail-2 .content-container p {
    font-family: "Gill-Sans";
    line-height: 150%;
    letter-spacing: 0.1em;
    color: #212529;
}

#section-detail-2 .content-container ol,
#section-detail-2 .content-container ul {
    font-family: "Gill-Sans";
    line-height: 150%;
    letter-spacing: 0.1em;
    color: #212529;
    font-size: 18px;
    padding-left: 3.5em;
}

/*top left*/
.bg-top-left {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-25%, -50%);
    z-index: 1;
}

.bg-top-left img {
    width: 50%;
}

/*center right*/
.bg-center-right {
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 999;
    transform: translate(66%, 20%) rotate(-302deg);
}

.bg-center-right img {
    width: 60%;
}

/*bottom left*/
.bg-bottom-left {
    position: absolute;
    bottom: 22%;
    left: 0;
    transform: translate(-63%, -11%) rotate(241deg);
    z-index: 1;
}

.bg-bottom-left img {
    width: 50%;
}

h4 {
    font-size: 1.75rem;
}

.link-click:hover {
    color: #007bff;
}

.stories-details-card {
    border-radius: 160px 0px 160px 0px;
    background-color: #f5f5f5;
}

.stories-details-card img{
    width: 100% !important;
}

.cover-img-details {
    width: 100%;
    height: 460px;
    overflow: hidden;
    object-fit: cover;
    border-radius: 160px 0px 160px 0px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.main-wrapper {
    padding-bottom: 8rem;
    padding-top: 7rem;
}

.padding-content {
    padding: 24px 32px !important;
}

.title-stories {
    color: #a21717 !important;
    font-size: 2.25rem !important;
}

@media (max-width: 650px) {
    .height-content {
        height: unset;
    }

    .title-stories {
        font-size: 1.5rem !important;
    }
}

@media screen and (min-width: 769px) {
    .columns:not(.q-desktop) {
        display: flex;
    }
    .column.q-1-2,
    .column.q-1-2-tablet {
        flex: none;
        width: 50%;
    }
}

@supports (-webkit-touch-callout: none) {
    /* CSS specific to iOS devices */
    .bg-story {
        position: relative;
        height: 80vh;
        width: 100%;
        background-attachment: unset;
        background-repeat: no-repeat;
        background-position: left;
        background-size: 100% auto;
    }
}

@supports not (-webkit-touch-callout: none) {
    /* CSS for other than iOS devices */
    .bg-story {
        position: relative;
        height: 80vh;
        width: 100%;
        background-repeat: no-repeat;
        background-position: left;
        background-size: 50% auto;
    }
}

@media only screen and (min-width: 768px) {
    .bg-story {
        background-attachment: fixed;
    }
}

@media (max-width: 768px) {
    .bg-story {
        z-index: 1;
        height: 40vh;
    }
}

@media (max-width: 768px) {
    .column {
        width: 100%;
    }
    .bg-story {
        background-size: 100% auto;
    }
    .q-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    #section-1 .column:nth-child(2),
    #section-1 .column {
        margin-top: 0vh !important;
    }
}

@media (max-width: 1500px) {
    #section-detail {
        padding-top: 11vw;
    }
}

@media (max-width: 1025px) {
    #section-detail {
        padding-top: 11vw;
        border-top-left-radius: 280px;
        border-top-right-radius: 280px;
    }

    #section-1 .column:nth-child(2) {
        margin-top: 20vh;
    }
}

@media (max-width: 767px) {
    #section-detail-title {
        padding-bottom: 0vh;
    }
    #section-detail {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        padding-top: 0;
        position: relative;
    }
    .intersection-bg {
        /* width: 90vw; */
        top: -50%;
    }

    .bg-top-left {
        transform: translate(-25%, -7%);
    }
}
