/*!
Theme Name: Sunflower II
Theme URI: 
Author: UTA
Author URI: 
Description: Sunflower II
Version: 1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: UTA
Tags: custom-background, custom-logo, custom-content, custom-menu, featured-images

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

.post-date {
    background: #005C38;
    color: #fff;
    padding: 10px;
    margin-left: 15px;
    /* padding-right: 20px;
    padding-left: 50px; */
    position: relative;
    width: 100px;
    z-index: 1;
    /* clip-path: polygon(0% 0%, 85% 0%, 100% 50%, 85% 100%, 0% 100%); */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.full-width-post .post-date {
    position: absolute;
    top: -50px;
}

.post-date .date-day {
    font-size: 3.125rem;
    line-height: 3.125rem;
    font-weight: bold;
}

.post-date .date-month-year {
    font-size: 0.875rem;
}

.postbox__wrapper .post-card {
    position: relative;
    margin-top: 30px;
    background-color: rgba(0, 92, 56, 0.08);
}

.postbox__wrapper .post-card .img-container {
	overflow: hidden
}

.postbox__wrapper .post-card img {
    width: 100%;
    height: auto;
}

.postbox__wrapper .post-card:hover img{
    transform: scale(1.1)
}

.post-info-text {
    padding: 15px;
}

.post-button {
    display: block;
    font-weight: 500;
    margin: 10px 0;
    background-color: transparent;
    border: 1px solid #005C38;
    color: #005C38;
    text-align: center;
    padding: 8px 8px;
    text-decoration: none;
    transition: all 0.3s;
    border-radius: 0;
    max-width: 150px;
}

.postbox__wrapper .post-card:hover {
    transition: background-color 0.5s ease;
    background-color: rgba(0, 92, 56, 1);
}

.postbox__wrapper .post-card:hover .card-title {
    color: white;
}

.postbox__wrapper .post-card:hover .post-button{
    transition: background-color 0.5s ease;
    background: #D2AA31;
    color: #fff;
}

.postbox__wrapper .post-card:hover .post-date{
    transition: background-color 0.5s ease;
    background: white;
    color: rgba(0, 92, 56, 1);
}

.pagination-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.pagination-wrap .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border: 1px solid #005C38;
    color: #005C38;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.pagination-wrap .page-numbers:hover {
    background-color: #005C38;
    color: #fff;
}

.pagination-wrap .current {
    background-color: #005C38;
    color: #fff;
    font-weight: bold;
}

.pagination-wrap .next,
.pagination-wrap .prev {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    background-color: #005C38;
    /* opacity: 0.7;  */
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.pagination-wrap .next:hover,
.pagination-wrap .prev:hover {
    background-color: #005C38;
}

.category-filter a {
    font-weight: 700;
    font-size: 1.25rem;
    border: none;
}

.category-filter a:hover,
.category-filter a.active {
    color: white;
    background-color:#005C38;
}