/************************ Blog List ***************************/
.blog_opening_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.blog_opening {
    width: 550px;
    text-align: left;
}

.blog_opening h2 {
    text-align: left;
    margin-bottom: 0;
}

.blog_wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    z-index: 1;
}

/*********************** Blog ************************/
.blog_cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
}

.blog_card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: calc((100% - 60px) / 3);
    margin-right: 30px;
    background-color: var(--white);
    border: 2px solid var(--border-grey);
    padding: 15px;
    box-sizing: border-box;
    margin-top: 30px;
    transition: 0.2s all ease-in-out;
    cursor: pointer;
}

.blog_card:nth-of-type(3n) {
    margin-right: 0;
}

.blog_card .blog_image {
    aspect-ratio: 1;
    width: 100%;
    overflow: hidden;
}

.blog_card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    transition: 0.2s all ease-in-out;
}

.blog_card h3,
.blog_card p {
    margin: 0;
    transition: 0.2s all ease-in-out;
}

.blog_card h3 {
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--black);
}

.square_icon,
.blog_social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--gold);
    cursor: pointer;
    overflow: hidden;
}

.blog_social {
    display: flex;
    flex-wrap: wrap;
}

.blog_social a {
    margin-bottom: 0;
    background-color: var(--gold);
    color: var(--white);
    margin-right: 15px;
    margin-top: 20px;
}

.blog_social a:last-of-type {
    margin-right: 0;
}

.blog_opening .button {
    width: max-content;
    margin: 0 auto;
}

.blog_info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.blog_info i {
    width: 25px;
}

.blog_info .fa-bookmark {
    margin-left: 2px;
    margin-right: -2px;
}

.blog_info .fa-user {
    margin-left: 1px;
    margin-right: -1px;
}

.blog_info p {
    color: var(--black);
    margin-bottom: 0;
    font-weight: 500;
    width: 100%;
}

.blog_info p:first-of-type {
    color: var(--gold);
}

.blog_card:hover {
    transition: 0.2s all ease-in-out;
}

.blog_card:hover .blog_image img {
    transform: scale(1.06);
    transition: 0.2s all ease-in-out;
}

/************************ Tags ***************************/
#selected_tag_text {
    margin: 30px auto 60px;
    width: max-content;
    display: none;
    align-items: center;
}

#selected_tag_text h4 {
    width: max-content;
    margin: 0
}

#selected_tag {
    padding: 0 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: max-content;
    height: 46px !important;
    background-color: var(--light-blue);
    text-align: center;
    color: var(--white);
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px;
    text-decoration: none;
    border: none;
    outline: none;
    margin-left: 30px;
}

#selected_tag_text .button_2 {
    margin-left: 25px;
}

@media (max-width: 1050px) {
    #selected_tag_text {
        flex-direction: column;
        margin-bottom: 40px;
    }

    #selected_tag_text,
    #selected_tag_text h4 {
        width: 100%;
        text-align: center;
    }

    #selected_tag {
        margin-left: 0;
        margin-top: 20px;
    }

    #selected_tag_text .button_2 {
        margin-left: 0;
        margin-top: 25px;
    }
}

.tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    z-index: 3;
}

.tags .tag {
    padding: 5px 10px;
    background-color: var(--light-grey);
    color: var(--form-grey);
    margin-right: 15px;
    margin-top: 15px;
    transition: 0.2s all ease-in-out;
}

.tag:hover {
    background-color: var(--light-blue);
    color: var(--white);
    transition: 0.2s all ease-in-out;
}

.disabled:hover {
    background-color: var(--gold);
    transition: 0.2s all ease-in-out;
}

.tags .tag:last-of-type {
    margin-right: 0;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

.empty_state {
    text-align: center;
    display: none;
    margin-top: 50px;
}

.view_more_button {
    margin-top: 50px;
}

@media (max-width: 1350px) {
    .blog_opening {
        width: calc((100% - 30px) / 2);
    }

    .blog_card,
    .blog_card:nth-of-type(3n) {
        width: calc((100% - 30px) / 2);
        margin-right: 30px;
    }
    
    .blog_card:nth-of-type(2n) {
        margin-right: 0;
    }
}

@media (max-width: 1350px) {
    .blog_opening_wrapper {
        flex-direction: column;
    }

    .blog_opening,
    .blog_opening h2 {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 750px) {
    .blog_cards {
        flex-direction: column;
    }

    .blog_card,
    .blog_card:nth-of-type(3n) {
        width: 100%;
        margin-right: 0 !important;
    }
}

@media (max-width: 600px) {
    .blog_opening .button {
        width: 100%;
    }
}

/************************ Archive ***************************/
.blog_archive {
    margin-bottom: 96px;
}

.archive_item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
    padding: 15px;
    background-color: var(--white);
    border: 2px solid var(--border-grey);
    margin-top: 30px;
}

.archive_item h3 {
    padding-top: 5px;
    margin: -10px 0;
}

.archives_heading {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 0;
}

.archive_item .button {
    width: max-content !important;
}