/* .news_archive_link_group a:hover {
    text-decoration: underline;
    color: <?php echo $link_color;
    ?>;
} */

.panel__news_archive {
    padding-top: 80px;
    padding-bottom: 120px;
}

.news_archive_post_container p {
    font-weight: 300;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0.3px;
}

.news_archive_post_container h2 {
    font-weight: 600;
    font-size: 32px;
    line-height: 42px;
    letter-spacing: 0.2px;
    margin-top: 0px;
    margin-bottom: 2rem;
}

.panel__news_archive .news_archive_link_row {
    font-weight: 700;
    font-size: 16px;
    line-height: 52px;
    letter-spacing: 0.2px;
}

.news_archive_link_row {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #E0E0E0;
    text-decoration: none !important;
    cursor: pointer;
}

.news_archive_link_row label {
    cursor: pointer;
}

.news_archive_link_group a {
    text-decoration: none !important;
}

.news_post {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05), 0 3px 6px rgba(0, 0, 0, 0.12);
    transition: 0.2s ease-in-out;
}

.news_post:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05), 0 6px 12px rgba(0, 0, 0, 0.12);
}

.news_post_image_thumb {
    width: 100%;
    aspect-ratio: 1400/690;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-color: #e9e9e9;
    border-radius: 7px 7px 0 0;
    border: 1px solid lightgrey;
}

.news_post_title {
    background-color: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 0 0 7px 7px;
    padding: 0px 12px 12px 20px;
}

.news_post_title__headline {
    margin-bottom: 30px;
    padding-top: 20px;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
}

.news_post_title h6 {
    color: #373F41;
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0.2px;
    padding-top: 20px;
    margin-top: 0px;
    margin-bottom: 30px;
}

.news_post_title span {
    background-color: #672567;
    padding: 5px 20px;
    border-radius: 20px;
    margin-top: 15px;
    font-weight: 500;
    transition: 0.3s;
}

.news_archive_cat_list p {
    font-weight: bold;
    margin-bottom: 10px;
}

.news_post_title a img {
    margin-left: 16px;
}

.news_post_button,
.post-grid-panel__load-more {
    width: fit-content;
    border-radius: 20px;
    margin-top: 15px;
    color: #fff;
    background-color: #929292;
    font-size: 16px;
}

.news_post_button:hover,
.post-grid-panel__load-more:hover {
    background-color: #B3985A;
    color: #fff !important;
}

.news_post_title img {
    display: none;
}

.news_archive_cat_list {
    font-size: 16px;
    line-height: 32px;
}

.panel__news_archive .pagination {
    text-align: center;
}

.panel__news_archive .pagination {
    margin-top: 30px;
    margin-bottom: 30px;
    font-weight: 600;
}

.panel__news_archive .pagination .prev {
    border: 1px solid #672567;
    padding: 10px 20px;
    margin-right: 6px;
    color: #672567;
    transition: 0.3s;
}

.panel__news_archive .pagination .prev:hover {
    background-color: #B3985A;
    color: #fff;
}

.panel__news_archive .pagination .next {
    border: 1px solid silver;
    padding: 10px 20px;
    color: #fff;
    background-color: #672567;
    margin-left: 6px;
    transition: 0.3s;
}

.panel__news_archive .pagination .next:hover {
    background-color: #B3985A;
    color: #fff;
}

.paginationDisabled {
    color: white !important;
    background-color: #e1e1e1 !important;
    border: 1px solid silver !important;
    opacity: 0.9 !important;
    cursor: not-allowed !important;
}

.news_archive_cat_list label {
    cursor: pointer;
}

.panel__news_archive #filterToggle {
    color: #08388d;
    margin-bottom: 20px;
    cursor: pointer;
}

.panel__news_archive #filterToggle svg {
    transform: none;
    fill: #08388d;
}

.panel__news_archive #filterToggle svg {
    height: 16px;
    width: 16px;
    vertical-align: text-top;
    margin-right: 7px;
    margin-top: 3px;
}

.panel__news_archive .toggleActive {
    color: #27aae2 !important;
}

.panel__news_archive .toggleActive svg {
    fill: #27aae2 !important;
}

.news_post {
    position: relative;
}

.news_post_button:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
}

.post-grid-panel__inner {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.post-grid-panel__load-more {
    margin: auto;
}

.post-grid-panel {
    display: flex;
    flex-flow: column;
    margin: 5rem auto;
    width: 90%;
}

.post-grid-panel__load-more {
    margin-top: 2rem;
    padding: 1rem 2rem;
    border-radius: 2rem;
}


@media only screen and (max-width: 768px) {
    .panel__news_archive .panel__wrapper {
        display: block;
    }

    .panel__news_archive .panel__wrapper>div {
        width: 100%;
        margin: 0;
    }

    .news_archive_link_group {
        padding-bottom: 30px;
    }

    .panel__news_archive {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .news_archive_tax_list {
        margin-bottom: 30px;
    }

    .news_archive_link_group {
        display: none;
    }

    .news_post {
        text-align: center;
    }

    .news_post_title {
        padding: 0px 20px 20px 20px;
    }

    .news_post_title__headline {
        font-size: 1.4rem;
    }

    .news_post_button {
        width: 100%;
        font-weight: bold;
    }
}


@media only screen and (min-width: 769px) and (max-width:1200px) {

    .panel__news_archive #filterToggle {
        display: none;
    }

    .panel__news_archive .panel__wrapper {
        display: flex;
    }

    .panel__news_archive .panel__wrapper>div {
        width: 70%;
        margin: 0;
    }

    .panel__news_archive .pagination {
        align-self: center;
        margin: auto;
        margin-top: 10%;
    }

    .pagination__buttons {
        margin-left: 5%;
        display: flex;
        flex-flow: column;
    }

    .panel__news_archive .prev,
    .panel__news_archive .next {
        margin: 10px 0 !important;
    }

    .news_archive_link_group {
        width: 25% !important;
        margin-right: 5%;
    }

    .news_archive_posts {
        display: flex;
        flex-flow: row wrap;
    }

    .news_post {
        width: 45%;
        margin-left: 2%;
        margin-right: 2%;
        text-align: center;
    }

    .news_post_button {
        width: 80%;
        align-self: center;
    }

    .panel__news_archive #filterToggle {
        display: none;
    }

    .news_archive_tax_list {
        margin-bottom: 50px;
    }
}

@media only screen and (min-width: 1201px) {

    .panel__news_archive #filterToggle {
        display: none;
    }

    .news_archive_post_container {
        padding-left: 70px;
    }

    .panel__news_archive .panel__wrapper {
        display: flex;
    }

    .panel__news_archive .panel__wrapper>div {
        margin: 0;
    }

    .panel__news_archive .pagination {
        margin: 30px auto;
    }

    .news_archive_link_group {
        width: 20%;
    }

    .news_archive_post_container {
        width: 80%;
    }

    .news_archive_posts {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .archive_controls {
        display: flex;
        flex-direction: row;
        justify-content: end;
    }

    .archive_controls>div {
        margin: 0;
    }

    .panel__news_archive #posts {
        display: block;
        position: relative;
        top: -250px;
        visibility: hidden;
    }

    .news_archive_tax_list {
        margin-bottom: 50px;
    }

    .news_post {
        width: 30%;
        margin: 0 10px 50px 10px;
    }

    .news_post_title {
        margin: 0;
    }

    .post-grid-panel {
        width: 80%;
    }

}