/*********************** Map ************************/
.location_section {
    display: flex;
    position: relative;
}

#map-oxford-anchor {
    position: absolute;
    top: 0;
    margin-top: -106px;
}

.gfo_map {
    width: calc(100% - 520px);
    height: 100vh;
    position: fixed !important;
    right: 0;
    z-index: 50;
    margin: 20px 20px 20px 0;
    position: sticky !important;
    top: 106px;
    border-radius: 10px;
    box-sizing: border-box;
    width: calc(100% - 540px);
    height: calc(100vh - 126px);
}

.gfo_article_wrapper {
    display: flex;
    flex-direction: column;
    width: 520px;
    min-height: 100vh;
    overflow: scroll;
    padding: 20px;
    box-sizing: border-box;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.gfo_article_wrapper::-webkit-scrollbar {
    display: none;
}

.article {
    padding: 15px;
    border-radius: 10px;
    box-sizing: border-box;
    margin-bottom: 20px;
    background-color: var(--white);
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.14);
}

.article:last-of-type {
    margin-bottom: 0;
}

.thumbnail {
    width: 100%;
    height: 220px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.thumbnail .category_banner,
.thumbnail .sec_category_banner {
    position: absolute;
    background-color: var(--orange);
    padding: 10px 20px;
    top: 15px;
    right: 0;
    color: var(--white);
    font-weight: 500;
    border-radius: 5px 0 0 5px;
}

.thumbnail .sec_category_banner {
    background-color: var(--orange);
    top: 73px;
    right: 0;
}

.article_excerpt h3 {
    margin-top: 10px;
    margin-bottom: 0;
}

.article_excerpt p {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.article_excerpt i {
    display: flex;
    justify-content: start;
    width: 30px;
    margin-top: 4px;
}

.article_excerpt p span {
    width: calc(100% - 30px);
}

.article_excerpt p:last-of-type {
    margin-bottom: 0;
}

.article .button {
    width: calc((100% - 15px) / 2);
    margin-top: 20px;
}

.article .bronze {
    margin-left: 15px;
}

#reset_button {
    width: 100%;
}

.hide {
    display: none;
}

.view_more_button {
    width: calc(100% - 40px);
    margin: 0 auto 20px auto;
}

.cat_None,
.sec_cat_None {
    display: none;
}

@media (max-width: 950px) {
    .location_section {
        flex-direction: column-reverse;
    }

    .location_section .gfo_map {
        width: 100% !important;
        height: 360px !important;
        position: sticky !important;
        border-radius: 0;
        right: 0;
        top: 86px;
    }

    .gfo_article_wrapper {
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
        min-height: max-content;
    }

    #map-oxford-anchor {
        margin-top: -86px;
    }
}

@media (max-width: 600px) {
    .article .thumbnail {
        height: 180px;
    }

    .article .buttons_container {
        display: block;
    }

    .article .buttons_container .button {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }
}